Commit Graph

118 Commits

Author SHA1 Message Date
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 43eb2a5b9d
[security] sanitize the xml (#6595)
* Update call_center_queue_edit.php

* fix typo

* Update call_flow_edit.php

* Update conference_center_edit.php

* Update conference_edit.php

* Update destination_edit.php

* Update fax.php

* Update ivr_menu_edit.php

* Update ring_group_edit.php

* Update app_defaults.php

* Update ivr_menu_copy.php

* Update destination_imports.php

* Update app_defaults.php
2023-03-30 12:46:36 -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
FusionPBX f5afe618e1
Set ring_group_enabled default to false 2023-02-10 09:58:03 -07:00
FusionPBX 9c19eff170
Add toggle ring group enabled 2023-02-10 09:43:14 -07:00
fusionate b393089769
Ring Group - Edit: Set value to FALSE when Destination switch is off. 2023-01-23 22:44:57 +00:00
fusionate df6bc02489
Ring Groups: Enhance Destination Enabled Switch 2023-01-21 01:30:34 +00:00
K-Flagman 581c919132
Add iphone style toggle to enable/disable ring groups destinations #6394 (#6395)
* Add iphone style toggle for destinations in ring groups

* Add iphone style toggle for destinations in ring groups

* only select enabled destination when make ring group calls

* add destination_enable filed in table v_ring_group_destinations schema

* Change destination_enabled value on to true.

* Update app_config.php

* Change destination_enabled from on to true

* Change destination_enabled to boolean

* Delete fix.css

* Will style this

* Update template.php

Co-authored-by: flagman <flagman@flagman.com>
Co-authored-by: FusionPBX <markjcrane@gmail.com>
Co-authored-by: K-flagman <43560934+kapetrosyan@users.noreply.github.com>
2023-01-20 18:25:13 -07:00
markjcrane d50bcb476a Replace root.php 2022-10-10 16:35:14 -06:00
markjcrane 4ca524b443 Add destination_delay_max and destination_timeout_max 2022-01-31 15:25:50 -07:00
FusionPBX 0a8c6f01fb
Increase the number used in the ring group destination delay and timeout. 2022-01-14 10:35:06 -07:00
demonspork 5a39dbf68e Prevent Users without permission from clobbering ring_group_caller_id_name and number
Bring the ring_group_caller_id_name and number fields and permissions in line with the prefix permissions so that users without permission don't overwrite those those fields by hitting save.
2020-12-02 20:00:55 -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
FusionPBX d51008d3e7
Remove the deprecated save_dialplan_xml function. 2020-08-14 00:32:32 -06:00
FusionPBX 87497721c6
Default the ring_group_call_timeout to 30 seconds. 2020-06-15 13:38:53 -06:00
FusionPBX dc137edabe
Rename message-timeout-action to message-timeout_action 2020-06-15 13:26:02 -06:00
FusionPBX 62c1161328
Require the ring group call timeout. 2020-06-15 13:20:55 -06:00
Nate e58f488677 Ring Group - Edit: RG Forward permission adjustment. 2020-05-06 11:34:08 -06:00
Nate 4dc6ae0afe Ring Groups: Fix Missed Call notification form fields. 2020-04-13 10:06:06 -06:00
FusionPBX d5bc6b7f45
Update ring_group_edit.php 2020-04-10 22:35:08 -06:00
Nate c77485c380 Ring Groups: Modal integration. 2020-03-26 14:12:07 -06:00
Nate 029c7174b4 Multiple - Add IDs to common/default action buttons. 2020-03-05 00:05:45 -07:00
Nate 8cf57f30be Multiple - Edit: Minor mods. 2020-03-03 19:59:41 -07:00
Nate e5e2e6a3c4 Ring Groups: Edit - Add bulk delete of Destinations, dynamic Delete button action, Copy function. Remove deprecated Destination delete script. 2020-02-28 09:29:12 -07:00
FusionPBX bf344f690f Update ring_group_edit.php 2020-02-07 12:03:09 -07:00
Nate 67f9be4c4a Streams - Edit: Button updates. 2020-02-05 20:23:30 -07:00
Nate 00b5ca6742 Ring Group - Edit: Button updates. 2020-02-05 20:18:32 -07:00
Nate 7b514d342c Ring Groups: Add window titles. 2020-01-06 11:55:40 -07:00
Nate b993ab8197 Ring Groups: Include dialplan in list view actions (doh). 2019-11-30 10:02:53 -07:00
FusionPBX 222e8ad37f Update ring_group_edit.php 2019-11-26 21:49:27 -07:00
FusionPBX 78ed9ca3bc Update ring_group_edit.php 2019-10-28 11:17:46 -06:00
FusionPBX aca93b0721 Update ring_group_edit.php 2019-10-25 19:21:54 -06:00
FusionPBX 5524ed94c7 Update ring_group_edit.php 2019-10-02 13:56:35 -06:00
FusionPBX 0b66435338 Update ring_group_edit.php 2019-10-02 13:12:04 -06:00
FusionPBX b9246dc903 Update ring_group_edit.php 2019-10-02 12:19:36 -06:00
Nate f50e99b02a Ring Groups: Token integration. 2019-09-19 07:34:03 -06:00
Nate 31e370d0b2 Ring Groups: Fix CID Name/Number Prefix. 2019-09-16 09:53:11 -06:00
FusionPBX 9fa9e30833 Fix the ring group message for add or update. 2019-09-05 07:45:02 -06:00
FusionPBX 8f20a59225 Update ring_group_edit.php 2019-08-14 02:01:18 -06:00
Nate 927458933e Ring Groups: Database class integration. 2019-08-13 04:48:28 -06:00
FusionPBX 015144bdd2 Update ring_group_edit.php 2019-08-06 19:50:44 -06:00
FusionPBX c7aab4f7f7 Update ring_group_edit.php 2019-07-13 09:31:54 -06:00
FusionPBX bacdd643cf Update ring_group_edit.php 2018-11-14 00:25:14 -06:00
FusionPBX 6ae151f026 Update ring_group_edit.php 2018-11-03 13:10:53 -06:00
FusionPBX 4c1f70a082 Update ring_group_edit.php 2018-11-03 11:28:41 -06:00
FusionPBX 3de2eacb27 Update ring_group_edit.php 2018-10-15 09:49:35 -06:00
AlexanderDCrane 71669f970b Update ring_group_edit.php (#3386) 2018-08-31 13:37:23 -06:00
markjcrane a72f1d6266 Change messages class to message 2018-08-31 03:09:01 +00:00
FusionPBX bef3444158 Update ring_group_edit.php 2018-06-12 17:30:12 -06:00