Commit Graph

39 Commits

Author SHA1 Message Date
fusionate 42c96239c8
Theme: Set select password fields to monospace font when revealed. New input_text_font_password setting to control default font. 2025-03-18 17:55:41 -06:00
frytimo d919a3cc1b
Add the apcu caching ability for performance (#7276)
* add the apcu caching ability for performance
When the PHP extension APCu is loaded, the settings class and the auto_loader will cache their results across requests in RAM. For more information about the APCu extension visit the PHP page: https://www.php.net/apcu

* use global instead of default terminology
2025-02-25 17:21:41 -07:00
FusionPBX cd8d5302ac
Fix temporary permissions 2024-11-29 13:57:01 -07:00
FusionPBX 2182ebd0b4
Added the content card div 2024-09-05 23:37:34 -06:00
FusionPBX 9347d682bf
Update user settings
Re-use the database connection
2024-08-29 03:10:28 -06:00
frytimo 2cbb4dbc31
remove instances where a pointer is used in a foreach loop for value (#7108) 2024-08-22 12:41:10 -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
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 d6306c7efd
User Settings - Edit: Updates for PHP 8.1 2023-05-17 04:44:43 +00:00
FusionPBX 5a82d31502
Update user_setting_edit.php for PHP 8.1 2023-05-13 17:21:54 -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 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 1ad7f84011
Add user setting enabled toggle 2023-02-10 09:35:01 -07: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
markjcrane d50bcb476a Replace root.php 2022-10-10 16:35:14 -06:00
fusionate 676d3010e9
Theme: Side Menu - Setting to control submenu close behavior. 2022-02-11 20:46:15 -07:00
FusionPBX f89327a9fc
Modify description input from text to textarea 2021-03-31 09:35:59 -06: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
FusionPBX 36292f5881
Forgot to remove this before committing it. 2020-07-05 20:53:05 -06:00
FusionPBX 9780547fb5
Add sql column names and cast user_setting_enabled as text 2020-07-05 20:49:32 -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 97eec1da04 Template, Core Apps: Update to new modal. 2020-03-25 16:48:12 -06:00
Nate 3af6d3fad2 User Settings - Edit: Revise and simplify javascript. 2020-03-04 18:03:20 -07:00
Nate 5b7d327189 User & User Settings: List view and button updates. 2020-01-07 11:11:50 -07:00
Nate a70bd20e0d User Settings: Token integration. 2019-09-19 08:12:24 -06:00
Nate 3f943df8d5 Update user_setting_edit.php 2019-09-07 20:14:48 -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 cf4bc6a64e Database class integration. 2019-07-19 15:05:18 -06:00
FusionPBX 700e8996a2 Update user_setting_edit.php 2019-05-20 08:37:03 -06:00
Mark J Crane baaa6d382a move user_settings files 2019-05-20 14:06:29 +00:00