97 Commits

Author SHA1 Message Date
markjcrane
b0eabca1f6 Update check permisisons 2025-11-02 00:22:57 -06:00
FusionPBX
d1baf05891 Remove redundant database instances (#7535) 2025-10-01 08:56:06 -06:00
FusionPBX
7f9064fadb Update boolean toggle and the database boolean type (#7522)
* Change the data type to boolean

* Use boolean values in SQL and Conditional Statements

* Schema Data Types: Drop views so that alter tables statements complete

* Update settings.php

* Add extension for call_screen_enabled

* Gateway handle boolean
Add the boolean toggle
- distinct_to
- caller_id_in_from
- supress_cng
- extension_in_contact
- contact_in_ping

* Update gateways.php

* Update voicemail_edit.php

* Replace the ${caller_id_name} with the extensions caller id name

* Phrase - Edit: Update slide toggle with new select beneath.

* Update the input toggle style

* Set the input_toggle_style_switch as boolean

* Update the input toggle style

* Theme: Adjust CSS to wrap description text on form fields.

* Add domain_uuid and domain_name to the SQL SELECT

* Unset the parameters to fix the next query

* Gateway: Integrate new slide toggle switch.

* Dashboard: Update the input toggle style (#7499)

* Dashboard: Update the input toggle style

* Update dashboard_widget_edit.php

* Update dashboard_edit.php

* Inbound Route - Add: Integrate new slide toggle switch and boolean.

* User Settings: Integrate new slide toggle switch.

* Call Block Edit: Update the input toggle style (#7500)

* Bridge Edit: Update the input toggle style (#7501)

* Update phrases.php

* Update domain_edit.php

* Domain Settings Edit: Update the input toggle style

* User Edit: Update the input toggle style

* Update install.php

* Remove fields marked as deprecated

* Use boolean in the select statement

* Streams: New slide toggle and boolean.

* Streams: Remove unnecessary default.

* Queues (FIFO): New slide toggle.

* Call Detail Records: Update the input toggle style (#7503)

* Call Detail Records: Update the input toggle style

* Update xml_cdr_extension_summary.php

* Update xml_cdr_extension_summary.php

* Update xml_cdr_extension_summary.php

* Call Centers: Update the input toggle style (#7502)

* Call Centers: Update the input toggle style

* Update call_center_agent_edit.php

* Conference Centers: Update the input toggle style (#7506)

* Conference Centers: Update the input toggle style

* Update app_config.php

* Update conference_center_edit.php

* Use boolean data type (#7505)

* Call Flow Edit: Update the input toggle style (#7504)

* Devices: Update the input toggle style

* IVR Menus: New slide toggle.

* IVR Menu: Remove deprected file.

* SIP Profile - Edit: New slide toggle.

* Device Profiles: Update the input toggle style

* Ring Groups - List: Fix syntax.

* Theme: Fire onchange event when switching slide toggle control.

* Device Vendors: Update the input toggle style

* Update enabled boolean

* Update device_edit.php

* Ring Groups: New slide toggle.

* Update domain_edit.php

* Email Templates: Update the input toggle style

* Header: Correct default value on input toggle style.

* Default/Domain/User Settings: Adjust Select option label for better clarity.

* Use true boolean types for switch theme toggle or drop-down box (#7507)

* Groups: Update the input toggle style

* Conference Controls: Update the input toggle style (#7509)

* Conference Controls: Update the input toggle style

* Update conference_control_edit.php

* Update conference_control_details.php

* Update conference_control_detail_edit.php

* Conferences: Update the input toggle style (#7511)

* Use true boolean types for switch theme toggle or drop-down box (#7513)

* Dialplans: Update the input toggle style
Also updated outbound route add

* Ring Group: Only adjust ring group forward destination top margin when slide toggle enabled.

* Default/Domain/User Settings - List: Adjust for new 'Select Box' label on input_toggle_style value.

* Use true boolean types for switch theme toggle or drop-down box (#7514)

* Call Forward / Follow Me: Minor javascript adjustments to mirror previous behavior.

* Ring Groups [Dashboard]: New slide toggle.

* Get the contacts details with a seperate SQL Query

* Remove debug info

* Destinations: Update the input toggle style

* Conference Profiles: Update the input toggle style (#7515)

* Conference Profiles: Update the input toggle style

* Update conference_profiles.php

* Update conference_profile_params.php

* Update conference_profile_param_edit.php

* Update conference_profile_edit.php

* Extensions: Update the input toggle style

* Contacts: Update the input toggle style (#7517)

* Contacts: Update the input toggle style

* Update contact_address_edit.php

* Update contact_attachment_edit.php

* Update contact_edit.php

* Update contact_email_edit.php

* Update contact_phone_edit.php

* Update contact_relation_edit.php

* Update contact_setting_edit.php

* Update contact_url_edit.php

* Update contacts.php

* Voicemails: New slide toggle.

* Voicemail Greeting: New slide toggle.

* Modules: New slide toggle.

* Recordings: New slide toggle

* Variables: New slide toggle.

* Time Conditions: New slide toggle.

* Extensions - List: Remove invalid column name.

* Extension Settings: New slide toggle.

* Number Translations: New slide toggle and boolean.

* Sofia global settings: Update the input toggle style

* Update alter table convert to boolean

* Fix contact relation search (#7518)

* Sip Profile Edit: Fix setting enabled labels (#7519)

* Sip Profile Edit: Fix setting enabled labels

* Update sip_profile_edit.php

* Update dialplan_edit.php (#7520)

* Update SQL queries to use true/false for contact primary settings (#7521)

* Update SQL queries to use true/false for contact primary settings

* Update contacts_vcard.php

* Update email.php

* Update totp.php

* Update contact_url_edit.php

* Update contact_email_edit.php

* Update contact_address_edit.php

* Update contact_attachment_edit.php

* Update contact_phone_edit.php

* Add a database views method

* Add database view groups

* Add database users view

* Add database call_recordings view

* Update users.php

* Add  database view call block

* Update schema to use the database views method

* Update conference.conf.lua boolean

* Update directory.lua boolean

* Update callcenter.conf.lua agent_status boolean

* Update sofia.conf.lua boolean

* Update number translations lua boolean

* Update directory.lua boolean

* Update group_call.lua fix the cache

* Update reverse-auth-lookup.lua boolean

* Update directory.lua boolean

* Use concat instead of ||

* Update index.lua

---------

Co-authored-by: fusionate <nate@fusionpbx.com>
Co-authored-by: Alex <alex@fusionpbx.com>
Co-authored-by: frytimo <tim@fusionpbx.com>
2025-09-20 18:42:05 -06:00
FusionPBX
c3952028b1 Use the settings get method for the buttons 2025-04-14 10:36:21 -06:00
FusionPBX
de10ea2a4a Use settings get method for list_row_edit_button 2025-04-14 09:36:05 -06:00
fusionate
a482326930 Default/Domain/User Settings - List & Edit: Do not mask new input_text_font_password setting. 2025-03-18 18:04:49 -06:00
Alex
5ff0af430f Fix domain settings content cards (#7298) 2025-03-10 11:34:31 -06:00
frytimo
d529021b3f Use boolean setting as true boolean (#7284)
* use boolean setting as true boolean

* Update settings class to use the php filter_var function for boolean
Using the built-in filter type for boolean seems like a better option as they are faster, already hardened, and more widely tested.
I found this better method used originally by Mark J. Crane in 2022 in the content.php page so I included it here.

* Update settings class to use the php filter_var function for boolean
Using the built-in filter type for boolean seems like a better option as they are faster, already hardened, and more widely tested.
I found this better method used originally by Mark J. Crane in 2022 in the content.php page so I included it here.
2025-03-04 11:25:47 -07:00
Alex
305f585b17 Add missing counter divs (#7277)
* Add counter div to voicemail messages and domain settings

* Update domain_settings.php

* Update menu_item_list.php

* Update domain_settings.php

* Update voicemail_messages.php
2025-02-25 16:24:16 -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
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
cd2d2cf632 Default Settings - List: Mask *_key subcategory values. 2024-03-29 10:19:05 -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
4783d2dbcc Domain Settings: Updates for PHP 8.1 2023-06-06 21:44:42 +00:00
FusionPBX
0a37d8c8d5 Code in domain_settings evolving 2023-05-13 11:28:12 -06:00
fusionate
4a67359a78 Domain Settings: Implement ability to Duplicate settings. 2023-04-27 21:04:35 +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
markjcrane
d50bcb476a Replace root.php 2022-10-10 16:35:14 -06:00
fusionate
b5c073383e Theme: Side Menu - Setting to control submenu close behavior. 2022-02-11 20:45:33 -07:00
demonspork
30844d90aa Add Domain and Global buttons on the respective settings pages for easy navigation 2021-03-26 16:52:05 -05:00
fusionate
aa413b74b2 Default/Domain/User Settings: Implement select boxes for Destinations setting options. 2020-12-28 16:12:16 -07: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
11416d89a4 Make domain settings independent. 2020-07-28 21:18:01 -06:00
FusionPBX
f0383e491a Use multiple lines for column names. 2020-07-06 10:33:52 -06:00
FusionPBX
8543b89456 Update the SQL statement add cast domain_setting_enabled as text. 2020-07-05 17:26:12 -06:00
Nate
d05429ad4e Theme: Header Bar updates. 2020-05-27 23:02:13 -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
f8c74e6586 Multiple: Add IDs to common/default action buttons. 2020-03-05 10:01:09 -07:00
Nate
0cc208bb03 Domains - Edit: Sticky Domain Settings action bar. 2020-02-12 11:59:29 -07:00
Nate
ec7bac0144 Domain/Default Settings: Adjust column heading. 2020-01-07 11:12:49 -07:00
Nate
76df82d1bf Domain Settings: Remove old code. 2019-12-30 12:33:07 -07:00
Nate
b371b57465 Domain Settings: List view updates, move actions to class. 2019-12-30 12:14:57 -07:00
chansizzle
f56cc8dd0a Update domain_settings.php (#4964) 2019-12-18 20:14:55 -07:00
Nate
9961ebb148 Domain Settings: Add Reload button. 2019-12-11 16:40:38 -07:00
Nate
bc5b0d0ebc Default/Domain Settings: Fix a few issues. 2019-11-27 11:03:54 -07:00
Nate
86a6f21b4c Domain Settings: Remove current domain from Copy select options. 2019-10-16 22:22:34 -06:00
Nate
5f4b55b88a Domain Settings: Add ability to Copy to Default Settings. 2019-10-16 22:16:52 -06:00
Nate
2678eb0bb1 Bridges: Misc updates, integrate Button class. 2019-10-12 01:12:59 -06:00
Nate
8a1b4f4fa2 Domain Settings: Ensure redirect if none checked on copy/toggle/delete. 2019-10-09 17:22:28 -06:00
Nate
b8e8e61126 Domain Settings: Integrate copy and toggle functions. 2019-10-09 15:52:53 -06:00
Nate
5e61dbc459 Default/Domain Settings: Fix Category names. 2019-10-08 10:10:19 -06:00
chansizzle
516d98a4fc Update domain_settings.php (#4662) 2019-09-26 09:32:12 -06:00
Nate
1edd5b03c8 Restore Check-All checkbox functionality on Default/Domain Settings. 2019-08-21 13:54:42 -06:00