Commit Graph

102 Commits

Author SHA1 Message Date
fusionate 7276160030
Time Conditions - Edit: Updates for PHP 8.1 2023-05-24 00:28:55 +00: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
FusionPBX bb3b813ce4
Update year range to include years passed
This is needed so that if going back to an old time condition see the year it previously had. This provides opportunity to update or remove the old time condition. This provides time to remove the old setting and not confuse it with new years.
2023-01-09 16:49:18 -07:00
markjcrane d50bcb476a Replace root.php 2022-10-10 16:35:14 -06:00
FusionPBX 8bdfcb935b
Time condition set to default false.
The add was setting condition to dialplan_continue false and update set to true. This changes makes it consistent as both add and update will set dialplan_continue to false.
2022-09-28 12:00:31 -06:00
FusionPBX 6c50deee2c
Time condition exclude invalid presets with incorrect json syntax to make it more resilient. 2021-01-26 11:53:44 -07:00
fusionate 60151739be Time Conditions: Minor adjustment. 2021-01-04 18:09:07 -07:00
fusionate 7f08b92631 Time Conditions: Bug fixes. 2021-01-04 17:41:33 -07:00
fusionate e9a6449b07 Time Conditions: Fix dynamic Destination Other > Hangup option. 2020-12-11 16:36:51 -07:00
fusionate 5c8201ec0d Time Conditions: Resolve issue with dynamic Destination select not loading for Presets. 2020-12-08 14:29:32 -07: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 26a316a295
Update time_condition_edit.php
Change session context to domain_name.
2020-10-22 02:35:09 -06:00
FusionPBX 3c0fcdc8f9
Remove the deprecated save_dialplan_xml function. 2020-08-14 00:32:06 -06:00
agree 7fc8b79894
Update time_condition_edit.php (#5265) 2020-05-11 17:17:09 -06:00
Nate e8494facee Multiple: Add IDs to form tags, remove empty action attributes. 2020-03-05 10:02:25 -07:00
Nate 029c7174b4 Multiple - Add IDs to common/default action buttons. 2020-03-05 00:05:45 -07:00
Nate 9e107e9c54 Time Conditions: Revert commit ccd5a11d90. 2020-02-28 11:23:31 -07:00
Nate 9171de9edc Time Conditions - Edit: Validate arrays to mitigate warnings. 2020-02-27 14:59:48 -07:00
Nate bcbafe4c36 Time Conditions - Edit: Permission adjustment. 2020-02-27 14:06:34 -07:00
FusionPBX 02df856142 Update time_condition_edit.php 2020-02-07 20:27:29 -07:00
Nate 3e65078dc4 Time Conditions - Edit: Button updates. 2020-02-07 06:36:31 -07:00
Nate 4dfba370e1 Time Conditions: Add window title. 2020-01-06 11:59:04 -07:00
chansizzle 691930a4d3 Update time_condition_edit.php (#4941) 2019-12-28 12:31:32 -07:00
FusionPBX d295ae0ad5 Update time_condition_edit.php 2019-11-25 15:32:00 -07:00
FusionPBX 22b8a07b4c Update time_condition_edit.php 2019-11-18 21:15:04 -07:00
Nate a6d67add56 Time Conditions: Token integration. 2019-09-19 07:39:16 -06:00
FusionPBX 4a854e9e56 Update time_condition_edit.php 2019-08-27 23:59:35 -06:00
Nate 6e813908fc Update date/time picker to latest version, restoring functionality. 2019-08-22 11:04:03 -06:00
Nate 1178da59d9 Time Conditions: Database class integration. 2019-08-14 09:06:02 -06:00
FusionPBX 0939b3e9fe Update time_condition_edit.php 2019-06-06 11:40:44 -06:00
FusionPBX 24e985fdec Update time_condition_edit.php 2019-02-23 17:41:56 -07:00
markjcrane a72f1d6266 Change messages class to message 2018-08-31 03:09:01 +00:00
AlexanderDCrane 45c4b5661d Update time_condition_edit.php (#3308) 2018-08-27 20:36:45 -06:00
FusionPBX c351c0b18f Update time_condition_edit.php 2017-12-17 02:43:42 -07:00
FusionPBX 5aaac846cd Update time_condition_edit.php 2017-09-24 10:12:58 -06:00
FusionPBX fb468b8f62 Update time_condition_edit.php 2017-07-04 12:22:50 -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
FusionPBX 2c25c3e341 Update time_condition_edit.php
Work on the indentation and update the dialplan xml.
2017-02-27 22:25:55 -07:00
FusionPBX a6612c1e25 Update time_condition_edit.php 2017-02-04 18:02:27 -07:00
FusionPBX 01991d69aa Update time_condition_edit.php 2016-10-22 23:24:28 -06:00
FusionPBX 7c40f2c86d Update time_condition_edit.php 2016-10-14 08:21:45 -06:00
FusionPBX aab24688f3 Update time_condition_edit.php
Time condition time-of-day use 1 minute increments this solves multiple problems and more flexible for minutes 0 - 59.
2016-09-13 19:17:19 -06:00
FusionPBX 039370b2b8 Update time_condition_edit.php 2016-08-29 20:56:00 -06:00
FusionPBX 35a2cd13ae Update time_condition_edit.php
Complete global time conditions.
2016-08-17 15:54:16 -06:00
FusionPBX 081e26abc0 Update time_condition_edit.php
Fix the global label for time conditions.
2016-08-17 15:30:23 -06:00
FusionPBX 5dc0d55100 Update time_condition_edit.php 2016-08-17 15:14:56 -06:00
SJS87 38b504a6e5 Update to time_condition_edit.php (#1803)
When using 'time-of-day' it's not currently possible to specify a range which will finish at the end of the day.

This is a minor adjustment to allow the 'time-of-day' range to finish at 23:59.
2016-08-11 10:04:53 -06:00