Commit Graph

135 Commits

Author SHA1 Message Date
FusionPBX cd8d5302ac
Fix temporary permissions 2024-11-29 13:57:01 -07:00
fusionate bf7526f0ef
Multiple Apps: Integrate content cards. 2024-09-04 17:51:23 -06:00
FusionPBX e0ed81a5ba
Re-use the Database connection 2024-08-29 03:35:38 -06:00
fusionate 6627e40e76
Default/Domain/User Settings: New setting setting_value_input_type to control Value input field type. 2023-08-04 22:38:41 +00:00
fusionate 4641c3d295
Default Settings - Edit: Updates for PHP 8.1 2023-06-23 16:25:05 +00:00
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
Alex 25b24d68bd
Fixed more php 8.1 errors (#6754)
* Update default_setting_edit.php

* Update default_settings_reload.php

* Update modules.php

* Update access_controls_reload.php

* Update call_recordings.php

* Update fax.php

* Update extension_edit.php

* Update extension_imports.php

* Update destination_imports.php

* Update dialplan_outbound_add.php

* Update dialplan_inbound_add.php

* Update voicemail_imports.php

* Update contact_import.php
2023-06-12 17:06:56 -06:00
fusionate fa93b4e7f5
Misc: Updates for PHP 8.1 2023-06-09 17:29:33 +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
Alex 3112c9ae18
php 8.1 changes (#6721)
* Update call_flows.php

* Update call_flow_edit.php

* Update call_forward.php

* Update call_forward_edit.php

* Update call_recordings.php

* Update conference_centers.php

* Update default_settings.php

* Update default_setting_edit.php

* Update access_controls.php

* Update number_translations.php

* Update number_translation_edit.php

* Update setting_edit.php

* Update bridges.php

* Update bridge_edit.php

* Update call_broadcast_edit.php

* Update call_broadcast.php

* Update call_block.php

* Update call_broadcast_edit.php

* Update call_center_agent_edit.php

* Update call_center_agent_status.php

* Update call_recordings.php
2023-05-26 11:48:39 -06:00
markjcrane 7d2b43dc15 More PHP 8.1 changes 2023-05-25 10:34:48 -06:00
Alex caea15af15
php 8.1 changes (#6718)
* Update database_edit.php

* Update databases.php

* Update default_setting_edit.php

* Update email_templates.php
2023-05-25 10:18:46 -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
fusionate 9714da4309
Default/Domain/User Settings: Offer select for boolean values. 2023-03-27 17:10:10 +00: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
fusionate 6bc1e53244
Default Settings - Copy: Move function to list view and use copy method in class. 2023-01-31 01:41:43 +00:00
fusionate 5b3cd98a29
Default Setting - Edit: Add Clone button to duplicate setting. 2023-01-29 07:37:38 +00:00
fusionate 107b8a48f2
Voicemail: Default/Domain Settings to control CID Number and Date & Time playback/order. 2023-01-27 22:17:51 +00:00
fusionate c4b8c7add1
Default/Domain/User Settings - Edit: Change Type field to select box. 2023-01-27 21:50:43 +00:00
fusionate dc1307028a
Default/Domain/User Settings: Implement select field for input_toggle_style options. 2023-01-23 19:31:18 +00:00
FusionPBX a44ca60441
Category and Search pass-through (#6511)
* Update default_settings.php

* Update default_setting_edit.php
2022-12-20 14:12:47 -07:00
markjcrane d50bcb476a Replace root.php 2022-10-10 16:35:14 -06:00
fusionate be408c6461
Theme: Side Menu - Setting to control submenu close behavior. 2022-02-11 20:44:24 -07:00
AlexC 2cf8e375a1
Update default_settings.php (#6308)
* Update default_settings.php

* Update default_setting_edit.php
2022-02-11 16:33:26 -07:00
markjcrane 9bb7b4e607 Security update for /core/default_settings 2021-07-24 17:41:40 -06:00
FusionPBX 05e151822a
Change the input text type description into a textarea so the description shows in a more convenient container. 2021-02-26 10:17:16 -07:00
fusionate aa413b74b2 Default/Domain/User Settings: Implement select boxes for Destinations setting options. 2020-12-28 16:12:16 -07:00
demonspork 80fa9cfe7d Fix displaying array order for settings of type array
the *_setting_order was missing from the SELECT queries for all 3 places I could find that use this mechanism. The device settings don't seem to use it.
2020-10-19 18:46:38 -05:00
Nate 06f79d79e7 Users: Add setting to require username format be an email address or not. 2020-10-16 11:48:07 -06:00
agree 289e73543b
Fix dialplan_mode caching (#5428) 2020-08-28 10:34:56 -06:00
FusionPBX 9ff9346cc4
Update default_setting_edit.php 2020-07-05 19:28:49 -06:00
Nate 485d8681ca Settings - Edit: Adjust Description field width. 2020-06-02 09:18:11 -06:00
Nate d05429ad4e Theme: Header Bar updates. 2020-05-27 23:02:13 -06:00
Nate 6f33204316 Theme: Side Menu updates. 2020-05-27 21:24:07 -06:00
Nate 4a986730eb Theme: Side Menu updates. 2020-05-25 18:38:52 -06:00
Nate 6f829ea6cf Theme: Side Menu updates. 2020-05-23 18:57:17 -06:00
Nate f5bfc2199a Theme: Side Menu default state controls. 2020-05-20 21:24:19 -06:00
Nate f8c74e6586 Multiple: Add IDs to common/default action buttons. 2020-03-05 10:01:09 -07:00
Nate 791c2be200 Default Settings - Edit: Revise and simplify javascript. 2020-03-04 18:01:52 -07:00
FusionPBX b16c4d578c Update default_setting_edit.php 2020-02-27 21:59:49 -07:00
FusionPBX 4ffbceeb93 Update default_setting_edit.php 2020-02-27 21:55:49 -07:00
Nate 41b17c2717 Default Settings: Button & minor updates. 2020-02-10 08:07:06 -07:00
Nate bc5b0d0ebc Default/Domain Settings: Fix a few issues. 2019-11-27 11:03:54 -07:00
Nate 2678eb0bb1 Bridges: Misc updates, integrate Button class. 2019-10-12 01:12:59 -06:00
Nate 7314fafb55 Default Settings: Token integration. 2019-09-19 07:50:43 -06:00
Nate 733ba98dc6 Update to Bootstrap v4.3.1, jQuery 3.4.1. Adjustments to support updates. 2019-08-20 18:15:50 -06:00
Nate 1c0901c756 Misc: Default Setting Edit 2019-07-10 08:42:45 -06:00
Nate 77b85a3f9c Database class integration. Modify database class singular() method to support table names ending in 'ses', such as v_databases. 2019-07-09 20:06:17 -06:00