markjcrane
323d318141
Update boolean toggle
...
- When 2 equals it evaluates null as false and then false is selected.
2025-11-19 15:26:40 -07:00
frytimo
adfc4cc469
Create more documentation ( #7627 )
...
* Documentation, format class, no modification.
2025-11-18 18:33:07 -07:00
Alex
987c6f7cb8
Prevent more PHP warnings ( #7609 )
...
* Prevent more PHP warnings
* Update call_broadcast_edit.php
* Update call_center_agent_edit.php
* Update call_flow_edit.php
* Update call_center_queue_edit.php
* Update conference_center_edit.php
* Update conference_room_edit.php
* Update conference_control_detail_edit.php
* Update conference_control_edit.php
* Update conference_profile_edit.php
* Update conference_edit.php
* Update conference_profile_param_edit.php
* Update destination_edit.php
* Update device_edit.php
* Update dialplan_inbound_add.php
* Update dialplan_outbound_add.php
* Update dialplan_add.php
* Update dialplan_edit.php
* Update event_guard_logs.php
* Update extension_setting_edit.php
* Update extension_edit.php
* Update fax_edit.php
* Update fifo_edit.php
* Update ivr_menu_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 xml_cdr_search.php
* Update dashboard_widget_edit.php
* Update domain_edit.php
* Update group_edit.php
* Update user_edit.php
* Update gateway_edit.php
2025-11-13 08:37:51 -07:00
FusionPBX
745d998252
Using for loop no longer need the $i++
2025-11-03 12:28:27 -07:00
markjcrane
8588abc563
Remove permissions that are no longer needed
2025-11-02 00:24:01 -06:00
markjcrane
b0eabca1f6
Update check permisisons
2025-11-02 00:22:57 -06:00
markjcrane
1271063b00
Fix dialplans update $app_uuid handling in dialplan edit and database arrays
2025-10-31 15:49:43 -06:00
markjcrane
22e99a26c3
Define the maximum dialplan order number
...
Maximum order set to 300 to prevent loops with call-forward-all
2025-10-31 15:00:58 -06:00
FusionPBX
76e2e7d3b7
Remove database app_name and app_uuid ( #7562 )
...
- Remove database app_name, app_uuid
- This is handled automatically by the database class
- Remove redundant database::new()
2025-10-09 17:54:05 -06:00
FusionPBX
0a136e41f0
Update the dialplan destination boolean toggle
2025-09-24 16:40:38 -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
fusionate
d387c51aa7
Dialplan - Edit: Apply slide toggle option to Continue field.
2025-08-21 13:24:04 -06:00
FusionPBX
c3952028b1
Use the settings get method for the buttons
2025-04-14 10:36:21 -06:00
fusionate
102b9ee9cb
Dialplan - Edit: Fix card.
2024-09-11 18:08:31 -06:00
FusionPBX
2182ebd0b4
Added the content card div
2024-09-05 23:37:34 -06:00
frytimo
41eb7ac8d3
Fix empty line printing on console ( #6956 )
...
* fix empty line printing on console
2024-04-23 08:53:14 -06:00
frytimo
4fbd767c05
Fix bug where a dialplan detail item was deleted but still shows in the XML dialplan ( #6875 )
...
* Fix bug where a dialplan detail item was deleted but still shows in the
XML dialplan.
* Update dialplan_edit.php
2024-02-02 09:17:00 -07:00
frytimo
3a4c2f72e2
Event socket bug fix and more docs ( #6823 )
...
* Add documentation to methods. Use is_resource for added type detection
* Allow connect to specify timeout in microseconds with default 30,000
* Update calling mechanism for event sockets
* Update project for new singleton event sockets
* remove unused variable
* catch errors on closing the socket
2023-12-02 17:16:18 -07:00
FusionPBX
5712df1118
Update dialplan_edit.php
...
Fix the indentation and use not empty.
2023-11-03 13:34:45 -06:00
FusionPBX
fa123ff069
Build dialplan xml from the array. More efficient to save data and xml in one step.
2023-11-03 02:18:57 -06:00
fusionate
d9d17a6917
Misc: Remove parameters from event_socket_create() calls.
2023-09-20 18:43:17 +00:00
Anthony
8c8ef2c309
Fixed Warnings ( #6768 )
...
* Update device_edit.php
* Update dialplan_edit.php
* Update app_languages.php
2023-07-06 14:51:02 -06:00
fusionate
142b6dd323
Dialplan - Edit: Clean up.
2023-06-15 23:59:06 +00:00
fusionate
09ef6074a7
Dialplan - Edit: Integrate new Enabled toggle, PHP 8.1 updates.
2023-06-15 23:43:39 +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
072d351b8c
Dialplan - Edit: Update for PHP 8.1
2023-06-01 20:35:53 +00:00
fusionate
c9122ded11
Dialplan - Edit: Updates for PHP 8.1
2023-05-20 23:58:01 +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
FusionPBX
114fe7252c
Replace root.php with config.conf
2022-10-10 13:19:40 -06:00
frytimo
ba3b60b07b
Move database methods to static and document database class ( #6474 )
...
* Add new static method to created newly connected database object
* Document database class and clean up and document some of the methods.
This removes the methods that should not be in each instance and places
them in the single instance class as to occupy less resources and be
able to create database objects more efficiently.
* More docs & removed the ability to set any value within the object.
Co-authored-by: Tim Fry <tim@voipstratus.com >
2022-09-17 15:44:21 -06:00
FusionPBX
829f8a35d6
Change the order of the conditions to a-z and add call_direction.
2022-05-03 18:16:08 -06:00
FusionPBX
38dea5f699
Prevent application duplicates and update the applications array. ( #6173 )
...
* Prevent application duplicates and filter the applications before the content.
* Don't allow the new spawn commands as they are as dangerous as system commands.
* Update dialplan_valid false to include bg_spawn, spawn and spawn_stream.
2021-12-05 14:52:36 -07:00
FusionPBX
322bbd4c20
Use column names in the SQL Query.
2021-01-20 10:46:00 -07:00
FusionPBX
7d3e754812
Set the dialplan_detail_enabled default value to true.
2021-01-19 22:18:40 -07:00
FusionPBX
e64c70ff9d
Add ability to use the dialplan_detail_enabled field.
2021-01-19 18:56:51 -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
agree
9708c482fe
Update dialplan_edit.php
2020-11-05 17:56:17 -05:00
Greenbea
6770d15b3c
Fix cache delete for global dialplans
2020-11-05 11:29:41 -05:00
FusionPBX
35d8e048cb
Remove save_dialplan_xml function.
2020-08-14 00:09:09 -06:00
Nate
6fe2eedee9
Dialplans - Edit: Retain Domain if Admin editing record.
2020-03-30 11:59:32 -06:00
Nate
20166c4280
Dialplans: Modal integration.
2020-03-26 09:06:12 -06:00
Nate
029c7174b4
Multiple - Add IDs to common/default action buttons.
2020-03-05 00:05:45 -07:00
Nate
a2694e18a5
Dialplans - Edit: Wider Group and Order input fields.
2020-03-04 10:33:32 -07:00
Nate
8cf57f30be
Multiple - Edit: Minor mods.
2020-03-03 19:59:41 -07:00
Nate
cf00766088
Dialplans - Edit: Add select-all checkbox for bulk delete of Details.
2020-02-28 06:26:58 -07:00
Nate
12d7d62bc5
Dialplans - Edit: Use class method for Copy - fixes missing app_uuid bug.
2020-02-27 14:35:34 -07:00
Nate
f5bf44758b
Dialplans - Edit: Permission adjustments.
2020-02-27 14:06:07 -07:00
Nate
4ea158cf3c
Update dialplan_edit.php
2020-02-27 13:45:36 -07:00
Nate
05212dc713
Dialplans - Edit: Integrate checkboxes on Details for bulk delete on Save (uses token). Add delete button with dynamic action.
2020-02-27 13:41:13 -07:00
FusionPBX
2be2246574
Update dialplan_edit.php
2020-01-18 13:03:43 -07:00