FusionPBX
6b063f2c28
Replace the DOCUMENT_ROOT and PROJECT_ROOT variables
...
Use the __DIR__ constant and dirname as needed
2025-12-08 14:12:19 -07:00
FusionPBX
2023e40d99
Cache key add hostname prefix
2025-10-15 21:39:03 -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
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
Alex
1e96df6e95
Change $setting to $settings ( #7318 )
...
* Change $setting to $settings
* Update app_defaults.php
* Update fax_queue.php
* Update xml_cdr.php
* Update email_queue.php
* Update transcribe.php
* Update send.php
* Update fax_queue.php
* Update fax_send.php
* Update app_defaults.php
* Update email_queue.php
* Update app_defaults.php
* Update app_defaults.php
* Update app_defaults.php
* Update app_defaults.php
* Update app_defaults.php
* Update app_defaults.php
* Update app_defaults.php
* Update app_defaults.php
* Update app_defaults.php
* Update app_defaults.php
* Update app_defaults.php
2025-03-14 16:19:49 -06:00
FusionPBX
cd8d5302ac
Fix temporary permissions
2024-11-29 13:57:01 -07:00
FusionPBX
cd1cc70044
Remove redundant database objects
...
This reduces database connections and improves performance.
2024-08-05 14:22:17 -06: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
bf47bbcc47
Event Socket settings auto defaults or custom using config.conf
2023-09-16 15:07:41 -06:00
FusionPBX
c6d966395e
Use settings class for app_defaults.php
2023-09-16 00:22:12 -06:00
markjcrane
a9bd6cbc9a
Update the to point to app/switch/resources/conf
2023-06-26 13:37:08 -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
FusionPBX
18430f2abe
Change Access Control from domains to providers.
2023-04-21 17:43:34 -06:00
FusionPBX
121ffe5d3f
Remove access_control_nodes node_domain
...
This is handled automatically to make it easier and prevent mistakes
2023-04-21 09:55:04 -06:00
FusionPBX
2a2069fe9e
Use is_array around foreach
2022-10-12 14:59:13 -06:00
FusionPBX
1466659fe6
Change domains ACL to providers for new installs.
2022-08-06 17:13:38 -06:00
FusionPBX
e1449e5cd3
Change default from allow to deny for the LAN rfc198 ACL
2022-08-04 15:02:41 -06:00
FusionPBX
5a11c55553
Remove orphaned access control nodes
2022-07-27 13:28:52 -06:00
FusionPBX
8020dec237
Update app_defaults.php
2022-01-27 08:52:02 -07:00
FusionPBX
1c6a4769a3
Change lan to rfc1918
2022-01-27 08:40:08 -07:00
FusionPBX
67be72b452
Database save method set to false. ( #6215 )
...
* When database save set to false for app_defaults.php
2021-12-24 12:42:16 -07:00
Nate
c660b27096
Misc: Database class integration.
2019-08-28 21:02:08 -06:00
Nate
12d7ceb397
Database class integration.
2019-07-29 09:26:52 -06:00
FusionPBX
fae000d7b6
Update app_defaults.php
2017-01-10 00:00:07 -07:00
FusionPBX
c5ad50b9bb
Update app_defaults.php
...
Check to see if the file exists before renaming it.
2017-01-09 23:26:54 -07:00
markjcrane
104d0a8584
Fix the access control list.
2016-04-29 17:01:04 -06:00
Harry G. Coin
cc553a70c5
Cleanups.
...
Remove default 192.168.42.42/32 allow.
Restore missing app/fax/resources/functions/parse_attachments.php to satisfy pre-existing include
Fix so sql in voicemail app works if var undefined. Warning: don't know if non Mariadb's like cast(...) .
Cleanup close in event socket.
2016-04-25 22:16:19 -05:00
markjcrane
a62123c3e3
Add the lan acl as a default again.
2016-04-19 00:21:52 -06:00
markjcrane
1476757605
Remove the lan access control list as its not needed by default.
2016-04-06 00:14:53 -06:00
markjcrane
4757d0e9d6
Add ability to the acl.conf.xml to read a description attribute.
2016-02-14 03:09:55 -07:00
markjcrane
29ee23b2d6
Add lan example to access controls.
2015-08-25 15:01:50 -06:00
markjcrane
387e9c0287
Make sure access controls is not empty.
2015-08-25 14:52:19 -06:00
markjcrane
dfd10e38e9
Fix a quote mismatch.
2015-08-20 09:23:53 -06:00
markjcrane
1ff1e38844
Fix the path problems for the reading the acl.conf.xml.
2015-08-20 09:06:45 -06:00
markjcrane
7759f63c9d
Add the Access Controls as the new interface for ACL Lists.
2015-08-12 23:09:07 -06:00