Commit Graph

213 Commits

Author SHA1 Message Date
markjcrane a72f1d6266 Change messages class to message 2018-08-31 03:09:01 +00:00
FusionPBX 965e4f1252 Delete ivr_menu_options.php 2018-06-30 18:29:00 -06:00
FusionPBX cdeb4cfc4c Update ivr_menu_edit.php 2018-06-30 18:11:41 -06:00
FusionPBX 7ab30d8f7e Update ivr_menus.php 2018-06-30 17:32:08 -06:00
AlexanderDCrane 92dee0668c Escape user data on ivr_menu_edit.php (#3100) 2018-06-09 11:55:41 -06:00
FusionPBX 480e75efab Update ivr_menus.php 2018-06-05 12:13:48 -06:00
emaktech 62a5c942b3 Update ivr_menu_edit.php (#3075) 2018-05-31 16:49:17 -06:00
FusionPBX f498ce0841 Update ivr_menu_delete.php 2018-03-21 01:12:37 -06:00
FusionPBX 5c1b08bd84 Update ivr_menu_option_delete.php 2018-03-21 00:38:51 -06:00
FusionPBX 4e81d35937 Update app_menu.php 2018-03-01 21:56:19 -07:00
Mafoo 4d60f4f6d5 Enhance [master] - Italian Translations (#2989)
* Reinstate comments detected by text class

* Updated Italian Translations
2018-02-12 10:50:47 -07:00
FusionPBX c90a6cae1b Update ivr_menu_edit.php 2017-10-31 11:38:15 -06:00
Christian Bergamaschi 9f228ef8c5 Italian translation added (#2852) 2017-09-21 09:06:26 -06:00
Mafoo 05f76b0556 Pass on languages before importing updates (#2849)
put language files into consistent state in preparation of a import
2017-09-19 09:48:40 -06:00
FusionPBX eacd7c29c9 Update ivr_menu_edit.php
Make the ivr_menu_language optional as it can be set before reaching the IVR Menu.
2017-07-24 23:47:17 -06:00
FusionPBX f4725e1278 Update app_config.php 2017-07-24 20:06:30 -06:00
FusionPBX 1e0413b968 Update ivr_menu_edit.php 2017-07-18 14:26:46 -06:00
emaktech cf1128f023 Add IVR language option (master) (#2744)
* Add available translations for new language option

* Add language option to IVR menu editing page

Adds the option to define language on the IVR edit page. This is needed because when a phrase is selected in a language other than the default language, Freeswitch fails to load the file.
2017-07-18 14:23:12 -06:00
FusionPBX 97f5d6c5ae Update ivr_menu_edit.php 2017-06-22 09:20:40 -06:00
Mafoo 1c58c1c1f9 Enhance-master-translation autofill (#2681)
Autofill all language files for pt de and es
2017-06-12 22:14:11 -07:00
Mafoo 3cab4401cf Enhance - More messages::add updates (#2662)
convert more messages over to messsagse::add
2017-06-09 20:13:40 -06:00
Mafoo f0feb25016 Enhance - Convert more messages (#2646)
convert more messages to messages class
skipped dashboard messages due to them relying on $_SESSION['message']
to know if there has already been a change
2017-06-08 09:39:04 -06:00
Mafoo b98f9cb120 Enhance - app_config.php cleanup for apps (#2633)
make spacing and layout consistent
add all missing language tags
fill missing en-us descriptions
convert to $x$y$z usage for array filling
add a default version number
this is a by hand update
2017-06-03 09:00:20 -06:00
Mafoo 8709d01fb0 BugFix [master] language update (#2628)
Imported Found language ro as ro-ro Romanian (tested by reverse translation)
Add placeholders for all found languages
Add new missing flags
Enhancements to text class
* improved sort to keep language-* tags organized at the top
* if a language is missing a name tag, add it
* changed organizer to not add a final \n
* corrected some indenting
* added detect_all_languages that attempts to find any languages that haven't been defined in resources/app_languages.php
* added language_totals, this is used by the optional languages application to calculate how complete a language is
2017-06-02 13:24:12 -06:00
Mafoo 4ae8b418d4 BugFix [master] - Convert all menus to 2-2 format (#2627)
convert all app_menu.php files to have all placeholders and languages and use 2-2 format for languages
update app_defaults to convert any items found using legacy values in user_setings, domain_settings and default_settings
2017-06-02 12:17:50 -06:00
The-Operator a8dbc5fa93 Update German and Austrian translations (#2595) 2017-05-23 02:15:49 -06:00
Mafoo f44aee3bf8 Enhance - Convert all languages to 2-2 digit (#2581)
Convert all languages to use the en-us style codes
Where an installation is using a 2 digit code, use the legacy map to find
the mapped language and provide that text correctly
Have escape_str strip \' before converting or we end up with a double
encode
Update organzie_languages to understand how to convert legacy languages
automatically
updated flags
2017-05-13 13:13:38 -06:00
Mafoo 0302d8085c reworked text class to gather the languages on construction (more efficient) (#2576)
organize_languages will now use an internal function to escape values as fusion's check_str would not be appropriate
enabled two missing flags
organize on remaining app_languages.php and add missing 'he'
2017-05-12 08:44:53 -06:00
FusionPBX 58a17e089f Update app_config.php 2017-04-29 23:04:52 -06:00
The-Operator d05ace4995 Updates to German and Austrian translations (#2549)
Updates and error corrections
2017-04-27 15:19:36 -06:00
The-Operator 32c1522cbb Add/Update German and Austrian translations (#2542)
Updated remaining app_languages.php files and all app_config.php and app_menu.php files where necessary.
2017-04-26 23:41:55 -06:00
Vladimir 30055465b7 Adding ru-ru locales (#2530)
* Translation of the menu (sent by Victor Kraft)

* ACL translate

* Backup translated

* App Fax translated (sent by Victor Kraft)

* App Adminer trnslated

* Resources translated (sent by Victor Kraft)

* App SIP Profiles translated

* ru-ru

* Call Block added

* ru-ru

* Update app_menu.php

* voicemails/app_languages.php locales ru-ru

voicemails/app_languages.php locales ru-ru

* app/vars/app_languages.php locales ru-ru

app/vars/app_languages.php locales ru-ru

* core: apps, authentication, databases, default_settings translate

* app/traffic_graph/app_languages.php adding locales ru-ru

app/traffic_graph/app_languages.php adding locales ru-ru

* app/time_conditions/app_languages.php adding locales ru-ru

app/time_conditions/app_languages.php adding locales ru-ru

* /app/system/app_languages.php adding locales ru-ru

/app/system/app_languages.php adding locales ru-ru

* /app/sip_status/app_languages.php adding locales ru-ru

* /app/settings/app_languages.php adding locales ru-ru

* /app/services/app_languages.php adding locales ru-ru

* /app/ring_groups/app_languages.php adding locales ru-ru

* /app/registrations/app_languages.php adding locales ru-ru

* /app/recordings/app_languages.php adding locales ru-ru

* /app/provision/app_menu.php adding locales ru-ru

* /app/pin_numbers/app_languages.php adding locales ru-ru

* Update app_languages.php

* /app/phrases/app_languages.php adding locales ru-ru

* /app/operator_panel/app_languages.php adding locales ru-ru

* core/groups translated

* /app/music_on_hold/app_languages.php adding locales ru-ru

* core/install translated

* core/menu translated

* /app/modules/app_languages.php adding locales ru-ru

* /app/meetings/app_menu.php adding locales ru-ru

* /app/log_viewer/app_languages.php adding locales ru-ru

* /app/ivr_menus/app_languages.php adding locales ru-ru

* /app/gateways/app_languages.php  adding locales ru-ru

* /app/fifo_list/app_languages.php adding locales ru-ru

* core/notifications translated

* /app/fifo/app_languages.php adding locales ru-ru

* core/upgrade translated

* Update app_config.php

* core/user_settings translated

* Update app_languages.php

* Update app_menu.php

* Update app_languages.php

* core/users translated

* call_block translate fix

* Call Broadcast added

* call_block выклюено fix

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* themes translated

* /app/extensions/app_languages.php for locale ru-ru

* /app/exec/app_languages.php add locale ru-ru

* Update app_languages.php

* Update app_menu.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_menu.php

* add locales ru-ru /core/install/app_menu.php

* /app/emails/app_languages.php add locales ru-ru

* /app/edit/app_languages.php add locales ru-ru

* /app/dialplan_outbound/app_languages.php add lacales ru-ru

* app/devices translated

* /app/dialplan_inbound/app_languages.php add locales ru-ru

* call_center_active + call_centers

* /app/dialplan/app_languages.php add locales ru-ru

* /app/destinations/app_languages.php add locales ru-ru

* /app/database_transactions/app_languages.php add locales ru-ru

* /app/contacts/app_languages.php addlocales ru-ru

* Update app_languages.php

* Update app_languages.php

* /app/contacts/app_languages.php add locales ru-ru

* /app/conferences/app_languages.php add locales ru-ru

* /app/conference_profiles/app_languages.php add locales ru-ru

* /app/destinations/app_languages.php add locales ru-ru

* /app/destinations/app_languages.php add locales ru-ru

* /app/conferences/app_languages.php add locales ru-ru

* app/calls_active translated

* app/click_to_call translated

* app/calls_active label-opt fix transtation

* translated

* translated

* translate

* /app/voicemails/app_config.php addlocales ru-ru

* /app/voicemail_greetings/app_config.php add locales ru-ru

* /app/vars/app_config.php add locales ru-ru

* /app/traffic_graph/app_config.php add locales ru-ru

* /app/tones/app_config.php add locales ru-ru

* /app/time_conditions/app_config.php add locales ru-ru

* /app/tftp/app_config.php add locales ru-ru

* /app/system/app_config.php add locales ru-ru

* /app/sip_status/app_config.php addlocales ru-ru

* app/devices translated ru-ru

* app/devices translated ru-ru

* /core/menu/app_languages.php add locales ru-ru

* /app/contacts/app_languages.php add locales ru-ru

* /app/conferences/app_languages.php add locales ru-ru

* /app/voicemails/app_languages.php add locales ru-ru

* /app/conference_centers/app_languages.php add locales ru-ru

* /app/ring_groups/app_languages.php add locales ru-ru

* /app/ivr_menus/app_languages.php add locales ru-ru

* /app/xml_cdr/app_languages.php add locales ru-ru

* /resources/app_languages.php add locales ru-ru

* /app/conference_centers/app_languages.php add locales ru-ru

* call_flows

* /app/call_broadcast/app_languages.php add locales ru-ru

* /app/call_block/app_languages.php add locales ru-ru

* /app/call_block/app_languages.php add locales ru-ru

* /app/call_block/app_languages.php add locales ru-ru

* By now

* calls

* /app/call_flows/app_languages.php add locales ru-ru

* /app/system/app_languages.php add locales ru-ru

* /app/exec/app_languages.php add locales ru-ru

* /app/vars/app_menu.php add locales ru-ru

* /app/backup/app_languages.php add locales ru-ru

* /app/ring_groups/app_languages.php add locales ru-ru

* /app/calls/app_languages.php add locales ru-ru

* /app/call_centers/app_languages.php add locales ru-ru

* /app/call_broadcast/app_languages.php add locales ru-ru

* app/fax fix translate label-fax_send_channels

* /app/extensions/app_languages.php add locales ru-ru

* /app/xml_cdr/app_languages.php add locales ru-ru

* /app/ring_groups/app_languages.php add locales ru-ru

* /app/contacts/app_languages.php add locales ru-ru

* Fix default language select

* /app/contacts/app_languages.php add locales ru-ru

* Fix translations in app edit, extensions, fifo, gateways, music_on_hold, services, time_conditions, xml_cdr

* Replaced "звонки" to "вызовы" and fix sorting in menu for "Конференции"

* More replace "звонк"

* Fix translate

* app/xml_cdr replace translate for label-start_range, label-end_range

* app/xml_cdr replace translate label-destination, description_search and description-4

* Corrections

* Repalce "Порядковый номер" to "Приоритет"

* app/operator_panel replace translation label-call_group
2017-04-24 16:37:00 -06:00
The-Operator 7ff174075a Add/Update German and Austrian translations (#2483)
Updates to the following apps:
call_broadcast
call_flows
devices
dialplan_inbound
dialplan_outbound
edit
emails
exec
extensions
fax
fifo
fifo_list
gateways
ivr_menus
2017-04-08 09:35:29 -06:00
FusionPBX 0013273d57 Update 2017-02-15 21:06:59 -07:00
FusionPBX a988626f12 Update ivr_menu_edit.php
Add a missing $ in the IVR menu dialplan.
2017-02-15 08:20:41 -07:00
FusionPBX f46643b9fa Update app_config.php 2017-01-12 22:39:43 -07:00
FusionPBX 1435ab44a1 Update app_defaults.php 2017-01-12 22:38:31 -07:00
FusionPBX adb8d185fb Update app_config.php 2017-01-12 22:36:17 -07:00
FusionPBX c0781ef8fa Update ivr_menu_edit.php 2017-01-12 02:57:27 -07:00
FusionPBX 57d38a3225 Update app_defaults.php 2017-01-12 02:48:22 -07:00
FusionPBX c9125d3d4f Create app_defaults.php 2017-01-12 02:44:56 -07:00
FusionPBX daaf6169c8 Update app_config.php 2017-01-12 00:56:51 -07:00
Alexey Melnichuk 4cf1d7e9b7 Fix. Use `Ivr Menu/application` settings to switch IVR engine. (#2219) 2016-12-01 11:51:55 -07:00
FusionPBX 6b841bca1a Update ivr_menu_copy.php 2016-10-23 10:44:35 -06:00
FusionPBX 20a9384433 Update ivr_menu_copy.php 2016-10-22 23:51:12 -06:00
FusionPBX 3c33b7b151 Update ivr_menu.php 2016-10-22 23:03:16 -06:00
FusionPBX 1fed20775f Update ivr_menu_edit.php 2016-10-21 10:20:44 -06:00
FusionPBX de53439487 Update ivr_menu_edit.php 2016-10-18 09:07:04 -06:00
FusionPBX 38d954e88b Update ivr_menu_edit.php
Fix the recent change to IVR Menu dialplan to fix the IVR Menu exit app.
2016-10-03 22:15:46 -06:00
FusionPBX a8f6f7f697 Update ivr_menu_copy.php 2016-10-02 16:31:44 -06:00
FusionPBX 9bdc6ee758 Update ivr_menu_edit.php
Fix a problem when adding a new IVR Menu.
2016-10-02 15:33:17 -06:00
FusionPBX fa12a0f25d Update ivr_menu_edit.php 2016-10-02 01:05:40 -06:00
FusionPBX df1ec02c7a Update ivr_menus.php
Try again
2016-10-01 19:22:51 -06:00
FusionPBX a4cb38c0c7 Update ivr_menus.php
Completely rewrote ivr_menus.php and added a new search tool like other pages.
2016-10-01 19:21:03 -06:00
FusionPBX 1e63d3e72c Update ivr_menu_edit.php 2016-10-01 19:17:07 -06:00
FusionPBX ab74f7b849 Update ivr_menu_edit.php
This file has been completely rewritten includes the new search tool as used in other files.
2016-10-01 19:02:44 -06:00
FusionPBX 96b9eaab17 Update ivr_menu.php 2016-09-29 14:43:21 -06:00
FusionPBX f6efae3830 Update ivr_menu.php
IVR Menu - Add temporary permissions for adding or editing the dialplan.
2016-09-12 15:50:58 -06:00
FusionPBX 99d8cb1a69 Update ivr_menu_edit.php
Allow users in the superadmin group to set option destinations that are numeric and the ivr menu syntax will be added automatically.
2016-09-02 09:05:39 -06:00
FusionPBX f561fe53ab Update ivr_menu_edit.php
Make ivr_menu_edit.php more efficient.
2016-08-13 18:47:36 -06:00
FusionPBX decc0e9628 Update ivr_menu_edit.php 2016-08-13 14:28:26 -06:00
FusionPBX 9f98540455 Update ivr_menu_edit.php
Improve the layout for the IVR Menu edit description.
2016-08-04 17:43:35 -06:00
FusionPBX 67b22a9a8b Update ivr_menu_edit.php
Use only the space needed to display the IVR Menu options.
2016-08-04 17:34:00 -06:00
FusionPBX 9706786070 Update ivr_menu_edit.php
Make the IVR Menu long and short greeting editable for a user in the superadmin group.
2016-08-04 17:21:04 -06:00
markjcrane f5959516ed Update recur_sounds_dir to return an array rather than using a global variable. 2016-08-04 09:49:57 -06:00
FusionPBX 0ba42a5c07 Update ivr_menu.php
The Dialplan needs the ivr_menu_uuid and the IVR Menu needs the dialplan_uuid. This fixes a new IVR Menu dialplan so it points to the ivr_menu_uuid.
2016-07-22 12:28:17 -06:00
FusionPBX 110022a14f Update ivr_menu_edit.php
Add an empty option for long greeting so it doesn't select option say: automatically.
2016-07-22 12:14:30 -06:00
FusionPBX e2ffd261a5 Update ivr_menu_edit.php
Fix the phrases list for IVR Menu edit greetings.
2016-07-19 20:08:19 -06:00
FusionPBX ffc2bca89b Delete ivr_menu_option_edit.php
ivr_menu_edit.php now allows editing all options at once so ivr_menu_option_edit.php is no longer needed.
2016-07-14 09:54:16 -06:00
FusionPBX db4c91779d Update ivr_menu_edit.php
Use the right variable for the ivr_menu_options array.
2016-07-14 01:56:43 -06:00
FusionPBX d8c2f11ad4 Update ivr_menu_edit.php
When adding an IVR menu allow adding multiple IVR options.
2016-07-14 01:37:26 -06:00
FusionPBX 21ff75fc8f Update ivr_menus.php
Add indentation, and improve the code in ivr_menus.php.
2016-07-14 01:16:07 -06:00
FusionPBX 752a55d9b7 Update ivr_menu.php
Update the ivr_menu class to use the orm class this simplifies and reduces the size of the code.
2016-07-14 01:13:02 -06:00
FusionPBX 34ae1fbe64 Update ivr_menu_edit.php
Simplify ivr_menu_edit.php and remove the edit option link as it is no longer needed.
2016-07-14 01:11:17 -06:00
FusionPBX c8a4a346ec Update ivr_menu_edit.php
Improve the indentation and some progress to separate getting the data from displaying it.
2016-07-11 17:06:32 -06:00
FusionPBX 82a59f1810 Update ivr_menu_edit.php
Change the ivr_menu_ringback to default back to the original default of music on hold.
2016-06-19 09:39:47 -06:00
Mafoo d663891bd8 Enhance Ringback (#1590)
created new class to look after generating the list of ringbacks
available
adjusted MOH class so legacy method is still possible (just not recommend) and utilizes optgroups as well
converted ring_groups and ivr_menus to use new method
added translations
implemented list_recordings in switch_recordings class
2016-06-08 07:21:45 -06:00
markjcrane 37e46ed2c9 After making changes to the IVR Menu flush memcache for the IVR. 2016-05-03 23:09:18 -06:00
markjcrane c3b12c217d Cleanup the indentation ... tabs and whitespace after the last pull request. 2016-04-28 16:56:44 -06:00
Harry G. Coin f02028629a fixes so cli installs/upgrades work.
Also another step along the way allowing freeswitch to run -u -g freeswitch and fusionpbx to run -u -g www-data
2016-04-25 21:26:26 -05:00
markjcrane f55c0c9ee3 Fix IVR Menu say and tone for long greeting. 2016-04-06 01:38:30 -06:00
markjcrane da0e54da44 Change some IVR Menu defaults as 0 is unlimited and 1 continues to the exit on the first error. 2016-03-29 21:10:43 -06:00
reliberate 5974b686e9 Apps: Integrate ability to set paging via a Default/Domain/User Setting (domain > paging > numeric). 2016-03-28 23:02:11 -06:00
markjcrane ca3615466e Hide the IVR sub menus until they are ready. 2016-03-19 21:18:07 -06:00
markjcrane 0fcdca1db7 Correct the syntax for the app destinations array. 2016-03-19 19:59:52 -06:00
markjcrane e17c11f754 Update the IVR Menu class to make dialplan more modular. Add option for LUA or application IVR. 2016-03-19 19:06:06 -06:00
FusionPBX 6c8aa675a2 Merge pull request #1468 from mafoo/WhitespaceClean-app/batch_1
WhitespaceClean-app/batch_1
2016-03-11 13:35:41 -07:00
mafoo 3b438926b6 WhitespaceClean-app/batch_1
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 11:56:29 +00:00
mafoo 77c72c8d7c BugFix-Translation-True_False
fixed various uses of ucwords() to render true/false to use
$text[label-*] instead
2016-03-11 11:34:52 +00:00
markjcrane af18c963c0 Rename .project.ROOT to project_root.php this conforms better with current file naming standards. 2016-02-22 14:01:18 -07:00
mafoo b231e0ff84 made it possible to find phrases
fixed string replace not taking out spaces aswell
2016-02-04 16:19:27 +00:00
mafoo 90e9b0a149 Corrected selected statements 2016-02-03 17:32:07 +00:00
FusionPBX aacaaeb4f0 Merge pull request #1425 from mafoo/BugFix-Phrases
Fix for phrases are actually phrase_uuid not phrase_name.domain_uuid
2016-02-03 08:17:26 -07:00
mafoo 22fe132900 Fix for phrases are actually phrase_uuid not phrase_name.domain_uuid 2016-02-03 15:08:28 +00:00
Alexey Melnichuk f91735367e Fix. Save instead of empty value path to recordings for some sound options. 2016-02-03 10:28:12 +03:00
Mafoo 56b34c34ca changed throw Exception to die
nothing ever eval runs the root.php so changed to die to cause a immediate report of error and stop code processing.
2016-01-20 11:30:31 +00:00
Mafoo 87dbd6b428 Added check for if .project.ROOT is missing
If a installation is missing the .project.ROOT previously it would just use the last search path as the project root (wrong) this will cause a Exception should it be unable to find it
2016-01-18 09:38:16 +00:00
Matthew Vale 6999198492 added logic in cli mode to chdir to the correct directory first
the webserver would normally do this for us, but we need to do it
2016-01-14 16:25:05 +00:00
Matthew Vale a41e89af76 Added full logic to support cli as well 2016-01-13 17:38:54 +00:00
Matthew Vale 0176d30312 change to use '/' instead of DIRECTOR_SEPERATOR 2016-01-12 14:47:50 +00:00
Matthew Vale e6ad46cfbf Rollout of root.php 2016-01-12 13:55:39 +00:00
markjcrane 5daf58be72 Using phrase uuid instead of the phrase name reason is this prevents the phrase from breaking when the phrase name is changed. 2016-01-04 17:16:14 -07:00
Matthew Vale f5bfeffe18 First pass on app/* 2015-12-10 10:12:41 +00:00
markjcrane 98777ef728 Remove code that was commented out a while ago. 2015-12-08 22:15:21 -07:00
markjcrane cde9debb29 After removing domain name from the default recordings dir path need to add the domain name every where the recordings directory is currently used. 2015-12-06 13:37:35 -07:00
markjcrane 3839f2d337 Comment out the sounds in ivr menu edit use the phrases or recordings instead. 2015-08-07 14:38:33 -05:00
markjcrane dbbecaf2ef Increase the memory efficiency and page load time for IVR Menu edit. 2015-08-07 14:34:58 -05:00
markjcrane ea13640bbf Remove and extra line and add creation of the object. 2015-08-07 14:25:49 -05:00
markjcrane 2f40dfac97 Add the missing echo. 2015-08-07 13:39:25 -05:00
markjcrane 28ad9a34af Use the new destinations php class for ivr menu and destinations. 2015-08-07 13:13:55 -05:00
markjcrane 752c54d05c Escape the $ in the domain_uuid variable. 2015-08-05 18:17:39 -05:00
markjcrane bcf1363277 Add destination details to several app_config.php files. 2015-08-04 14:52:10 -06:00
markjcrane 7aa6574c0e To be more consistent with naming convention rename app/ivr_menu to app/ivr_menus. 2015-08-03 09:43:15 -06:00