frytimo
d7bbcd89f5
Use magic constant dir ( #6711 )
...
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__ to load only functions.php
* replace spaces with tab character
* update dirname command to use levels instead of nesting
* use magic constant __DIR__
* update dirname command to use levels instead of nesting
* Update access_control_edit.php
* Update access_control_import.php
* Update access_controls.php
* Update dnd.php
* Update access_controls_reload.php
* Update call_center_agents.php
* Update call_center_agents.php
* Update fax_queue.php
* Update login.php
* Update pdo.php
* Update pdo_vm.php
* Update switch.php
* Update index.php
* Update css.php
* Update v_mailto.php
* Update fax_to_email.php
---------
Co-authored-by: FusionPBX <markjcrane@gmail.com>
2023-06-15 11:28:23 -06:00
fusionate
6b07e8d168
Phrases: Updates for PHP 8.1
2023-06-08 19:51:18 +00:00
fusionate
d327d569f5
Misc: Updates for PHP 8.1 (?: to ??)
2023-06-06 22:05:05 +00:00
Alex
fb8d0e2983
fix bugs in php 8.1 changes ( #6744 )
...
* Update voicemail_greetings.php
* Update recordings.php
* Update recording_edit.php
* Update phrases.php
* Update phrase_edit.php
* Update music_on_hold_edit.php
* Update fax_queue.php
* Update extensions.php
* Update email_templates.php
* Update email_queue_edit.php
* Update dialplan_inbound_add.php
* Update device_profiles.php
* Update device_profile_copy.php
* Update contact_address_edit.php
* Update call_recordings.php
* Update call_center_agent_edit.php
* Update call_center_agents.php
* Update call_center_queues.php
* Update call_block.php
* Update menu_edit.php
* Update default_setting_edit.php
* Update database_edit.php
2023-06-05 12:41:28 -06:00
Anthony
9c650a29b1
Fixed Errors for Phrases, Recordings, Operator Panel and Music on Hold. ( #6735 )
2023-06-01 15:21:29 -06:00
frytimo
fef8165be2
Frytimo pr patches for php8.1 ( #6630 )
...
* Passing null to parameter #2 ($string) of type string is deprecated
* Passing null to parameter #1 ($string) of type string is deprecated
* php 8.1 fixes
* php 8.1 fixes - replace strlen($var) > 0 with !empty($var)
* php 8.1 fixes - replace ${var} with {$var}
* php 8.1 fixes - replace ${var} with {$var}
* php 8.1 fixes - replace ${var} with {$var}
* php 8.1 fixes - replace ${var} with {$var}
* php 8.1 fixes - strlower with null
* php 8.1 fixes - strreplace with null
* php 8.1 fixes - passing null to base64_decode
* php 8.1 fixes - check for false and check for null on $this->dir
* php 8.1 fixes - remove assignment of $db variable to modules object
* php 8.1 fixes - avoid sending null to substr
* php 8.1 fixes - change ${var} to {$var}
* php 8.1 fixes - check for null before preg_replace
* php 8.1 fixes - remove setting db variable on domains object
* php 8.1 fixes - set empty string if $row['domain_setting_subcategory'] is null
* php 8.1 fixes - set empty string if $_REQUEST['show'] is not available
* php 8.1 fixes
* php 8.1 fixes - correct $_POST checking syntax
* php 8.1 fixes - correct $_POST variables
* php 8.1 fixes
* Use brackets consistently
* Update user_setting_edit.php
* Change to not empty
* Update device.php
* Update text.php
---------
Co-authored-by: Tim Fry <tim@voipstratus.com>
Co-authored-by: FusionPBX <markjcrane@gmail.com>
2023-05-05 10:46:37 -06:00
Alex
7326cb845a
Set default for enabled ( #6556 )
...
* Set default for enabled
* Update conference_profile_edit.php
* Update call_block_edit.php
* Update conference_control_edit.php
* Update conference_control_detail_edit.php
* Update conference_profile_edit.php
* Update conference_profile_param_edit.php
* Update conference_edit.php
* Update destination_edit.php
* Update device_edit.php
* Update device_profile_edit.php
* Update device_vendor_edit.php
* Update email_template_edit.php
* Update extension_edit.php
* Update module_edit.php
* Update phrase_edit.php
* Update ring_group_edit.php
* Update sip_profile_edit.php
* Update stream_edit.php
* Update time_condition_edit.php
* Update var_edit.php
* Update voicemail_edit.php
* Update call_block_edit.php
* Update default_setting_edit.php
* Update domain_setting_edit.php
* Update domain_edit.php
* Update user_edit.php
* Update bridge_edit.php
* Update sip_profile_edit.php
* Update sofia_global_setting_edit.php
* Update call_flow_edit.php
* Update email_template_edit.php
* Update call_flow_edit.php
* Update bridge_edit.php
* Update email_template_edit.php
* Update sip_profile_edit.php
* Update sofia_global_setting_edit.php
* Update bridge_edit.php
* Update call_flow_edit.php
* Update conference_control_edit.php
* Update sip_profile_edit.php
* Update stream_edit.php
* Update default_setting_edit.php
* Update email_template_edit.php
* Update extension_setting_edit.php
* Update default_setting_edit.php
* Update dashboard_edit.php
* Update dashboard_edit.php
* Update default_setting_edit.php
2023-02-17 14:21:41 -07:00
Alex
a229d1e46c
Add enabled toggle to more pages and bug fix ( #6552 )
...
* Add enabled toggle to more pages and bug fix
* Add device profile enable toggle
* fixed enable on bridge_edit.php
* Fixed enable on call_block_edit.php
* Fixed enable on call_flow_edit.php
* Fixed enable on conference_center_edit.php
* Add conference room enabled toggle
* Fixed enable on conference_control_detail_edit.php
* Fixed enable on conference_control_edit.php
* Fixed enable on conference_profile_edit.php
* Add conference profile param enabled toggle
* Fixed enable on conference_edit.php
* Fixed enabled on device_edit.php
* Fixed enable on extension_edit.php
* Fixed enable on gateway_edit.php
* Fixed enable on number_translation_edit.php
* Fixed enable on phrase_edit.php
* Fixed enable on ring_group_edit.php
* Fixed enable on sip_profile_edit.php
* Fixed enable on stream_edit.php
* Fixed enable on time_condition_edit.php
* Fixed enable on var_edit.php
* Fixed enable on voicemail_edit.php
* Fixed enable on user_edit.php
* Fixed enable on user_setting_edit.php
* Update user_edit.php
* Update bridge_edit.php
* Update call_flow_edit.php
* Update conference_control_edit.php
* Update stream_edit.php
* Fixed enable on default_setting_edit.php
* Fixed enable on domain_edit.php
* Fixed enable on email_template_edit.php
* Fixed enable on module_edit.php
2023-02-14 11:19:02 -07:00
Alex
129d173624
Add enable toggle to more pages ( #6549 )
...
* Add bridge enabled toggle
* Update call_block_edit.php
* Add call flows enabled toggle
* Add conference center enabled toggle
* Add conference control detail enabled toggle
* Add conference control enabled toggle
* Add conference enabled toggle
* Add phrase enabled toggle
* Add stream enabled toggle
* Add voicemail enabled toggle
* Add destination enabled toggle
* Add time condition enabled toggle
* Add default settings enabled toggle
* Add domain enabled toggle
* Add email template enabled toggle
* Add module enabled toggle
* Add number translation enabled toggle
* Add sip profile enabled toggle
* Add switch var enabled toggle
2023-02-13 18:02:01 -07:00
markjcrane
d50bcb476a
Replace root.php
2022-10-10 16:35:14 -06:00
FusionPBX
61bc654f61
Update phrase_edit.php
2021-03-10 00:01:18 -07:00
Andrew Querol
ea0823ea4d
Do not load base64 data into phrase edit.
...
This will fix unnecessary memory usage/latency in this application when dealing with base64 recordings.
2021-03-09 16:15:01 -06:00
fusionate
c67c8cd4c2
Destination Select - Dynamic: Clear session array on add/toggle/delete of a destination type record.
2020-11-30 14:15:57 -07:00
agree
71854ba40e
Phrases: Remove unused code ( #5335 )
...
* Remove unncessery code
* remove unnecessary code
* Update phrases.php
2020-07-06 18:21:56 -06:00
agree
2371f0e64d
Phrases add permission ( #5258 )
...
* Update app_config.php
* Update phrase_edit.php
2020-05-08 22:11:48 -06:00
Nate
f129b210f8
Phrases: Modal integration.
2020-03-26 13:45:34 -06:00
agree
62a4b3ac27
Update phrase_edit.php ( #5181 )
2020-03-12 10:41:10 -06:00
Nate
029c7174b4
Multiple - Add IDs to common/default action buttons.
2020-03-05 00:05:45 -07:00
Nate
dc3c36846e
SIP Profiles - Edit: Add bulk delete of Domains and Settings, dynamic delete button action. Remove deprecated Domain and Setting delete scripts.
2020-03-04 11:24:58 -07:00
Nate
82893cbd57
Phrases - Edit: Add bulk delete of Details, dynamic delete button action. Remove deprecated Detail delete script.
2020-03-04 07:45:40 -07:00
Nate
bbfbc43330
Voicemail - Edit: Button updates.
2020-02-07 06:52:58 -07:00
Nate
780c72448b
Phrases - Edit: Button updates.
2020-02-05 19:48:43 -07:00
Nate
10c9fa6e06
Phrases: Token integration.
2019-09-19 06:45:47 -06:00
Nate
95bc79c039
Recordings: Add data size when displaying base64 recordings, other misc minor issues. Phrases: Removed escaping on Recording options in select.
2019-09-10 07:59:37 -06:00
Nate
14ac4ab07c
Phrases: Database class integration.
2019-08-12 04:34:48 -06:00
jpattWPC
3a6dcdd340
Allow Phrases to be used in IVRs ( #4263 )
...
With the current implementation, Phrases cannot be used in IVRs as streamfile.lua prevents keypresses from being passed back to the IVR. This fix makes a small change to the way phrases are stored and allows streamfile to be run without blocking IVR keypresses.
2019-06-05 21:12:13 -06:00
FusionPBX
ca6996fa16
Update phrase_edit.php
2019-02-05 18:37:52 -07:00
FusionPBX
a37e2a8b71
Update phrase_edit.php
2019-02-05 10:40:51 -07:00
FusionPBX
1613627a78
Update phrase_edit.php
2019-02-05 10:37:30 -07:00
markjcrane
a72f1d6266
Change messages class to message
2018-08-31 03:09:01 +00:00
AlexanderDCrane
a6773807fd
Update phrase_edit.php ( #3179 )
2018-06-13 00:13:12 -06:00
AlexanderDCrane
538beb172c
Escape user data on phrase_edit.php ( #3102 )
2018-06-09 11:56:43 -06:00
Mafoo
3cab4401cf
Enhance - More messages::add updates ( #2662 )
...
convert more messages over to messsagse::add
2017-06-09 20:13:40 -06:00
FusionPBX
897b3e6bc9
Update phrase_edit.php
2016-08-13 14:09:02 -06:00
FusionPBX
4f9ef37b71
Update phrase_edit.php
2016-08-13 13:28:44 -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
dd53b79396
Update phrase_edit.php
...
Remove phrase_xml better there is a better way to do this.
2016-07-24 00:12:00 -06:00
FusionPBX
35c94dbb4a
Update phrase_edit.php
...
Another change needed for global phrases.
2016-07-23 13:39:30 -06:00
FusionPBX
7cd3e54f04
Update phrase_edit.php
...
Add domain select list to phrase_edit.php
2016-07-23 00:14:04 -06: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
Nate Jones
1c02e1fa39
Phrases: Remove phrase from memcache if phrase detail deleted (no, really).
2015-04-28 19:28:16 +00:00
Nate Jones
04c9e31f63
Phrases: Include full path for recordings (not sounds), when not using base64.
2015-04-28 19:06:27 +00:00
Nate Jones
ddee7be012
Phrases: App Defaults now converts phrases between base64 compatible and back, enhanced interface with better js manipulation, easily add pauses to a phrase.
...
Note: Currently DTMF tones are not recognized during phrase playback in IVR (rrrrr!).
2015-04-28 09:54:02 +00:00
Nate Jones
4428984028
Phrases: Add support for using base64 recordings. Already existing phrases don't yet convert.
2015-04-26 00:19:02 +00:00
Nate Jones
c03bcd76bb
Conference Center: Add ability to use a Phrase for the Greeting, resolving Issue 921 and Issue 818.
2015-04-17 18:41:31 +00:00
Mark Crane
44a6022516
Flush memcache when changing phrases.
2015-03-10 00:47:42 +00:00
Nate Jones
74e9407bfb
Phrases: Prevent empty Structure entry from being created on save.
2015-02-25 23:38:20 +00:00
Mark Crane
086e2540ee
Set play file as the default by removing the empty select option.
2015-02-15 17:46:07 +00:00
Mark Crane
00604a8fb0
Fix the play option in phrases.
2015-02-15 17:35:05 +00:00
Nate Jones
ded7cb3266
Visual adjustments.
2015-02-15 11:57:14 +00:00