Commit Graph

23210 Commits

Author SHA1 Message Date
FusionPBX
ec852b10f8 Rewrite the outbound_route_to_bridge function
- Make the outbound_routes array more intuitive
- Fix the toll_allow filtering to use the correct outbound route
2025-10-10 01:00:52 -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
d59eab1f94 Update user_profile.php
Unset $parameters array
2025-10-09 17:01:16 -06:00
FusionPBX
fd8dbce64c Update user_profile.php 2025-10-09 16:57:32 -06:00
frytimo
1b7d320f93 Remove logging in the class as the parent class now handles it (#7561)
* Remove logging in the class as the parent class now handles it

* Remove logging in the class as the parent class now handles it
2025-10-09 16:45:58 -06:00
Alex
4959f6a1e7 Update dashboard.php (#7560) 2025-10-09 16:09:18 -06:00
fusionate
1fae31ea86 User Profile: Include some additional form fields from associated contact record. 2025-10-09 14:15:04 -06:00
frytimo
019dca3596 Add helper functions to parent service class. (#7550)
* Add helper functions to parent service class.
Removed existing functions from base_websocket_system class.

* Update service.php
2025-10-09 12:53:45 -06:00
FusionPBX
76c2ccbf29 Update app_config.php
- Use the correct name
- Update the description
2025-10-09 11:15:05 -06:00
FusionPBX
d86989decb Fix auto daylight savings settings use stop instead of end 2025-10-09 09:30:02 -06:00
Alex
e90d47c6e7 Fix dashboard copy button (#7557) 2025-10-08 16:51:26 -06:00
FusionPBX
3ec8053909 Update app_defaults.php 2025-10-08 16:07:50 -06:00
FusionPBX
72ee1a91cf Provision settings for templates use type text
The configuration template is an XML string or other type of config file that is delivered to the endpoint as a string.
2025-10-08 16:02:11 -06:00
FusionPBX
a4d632b3df Default sip_profile_enabled to true 2025-10-08 13:59:59 -06:00
frytimo
4aa8fe8a47 Fix missing profiles on a new install (#7551) 2025-10-08 12:08:14 -06:00
FusionPBX
55a9e58dcf Fix follow me
Cast to a string and evaluating conditions as 'true' or 'false' is the most effective approach for Lua.
2025-10-06 16:21:58 -06:00
FusionPBX
2d2f18d001 Update fax send to use empty 2025-10-06 13:34:33 -06:00
FusionPBX
ad7aad3818 Update database.php 2025-10-06 12:53:47 -06:00
fusionate
ef79a896cb Upgrade - Menu: Add missing global $database variable. 2025-10-06 11:02:54 -06:00
FusionPBX
db6fb3ca43 Fix handling for a boolean value 2025-10-06 10:40:37 -06:00
FusionPBX
fee6134d34 Update child data change detection and message code 2025-10-04 12:45:26 -06:00
FusionPBX
d329a18ee1 Update database.php 2025-10-04 12:24:17 -06:00
Alex
abcd983503 Contact Edit: Fix primary setting default values (#7549)
* Contact Edit: Fix primary setting default values

* 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_setting_edit.php

* Update contact_url_edit.php

* Update contact_edit.php
2025-10-03 16:36:43 -06:00
FusionPBX
31fef269e4 Use gettype on the values
- Add boolean handing to ifelse string
- Use trim only when the variable type is string

Add params for :child_key_name, :parent_key_value
- These were strictly sanitized
- Updated to not appear unsafe

Remove database method: add, and update
- Replaced by the save method several years ago
2025-10-03 16:29:43 -06:00
Alex
e53199fd28 Add HttpOnly, Secure, and Samesite session settings to config.conf (#7547)
* Add HttpOnly, Secure, and Samesite session settings to config.conf

* Update upgrade_menu.php

* Update upgrade.php

* Update upgrade.php

* Update install.php
2025-10-03 16:06:47 -06:00
Alex
f97e08d418 Email Template Edit: Fix enabled default value (#7546) 2025-10-03 15:57:13 -06:00
Alex
3a0c26d694 Devices: Fix default values (#7545)
* Devices: Fix default values

* Update device_profile_edit.php

* Update device_vendor_edit.php

* Update device_vendor_function_edit.php

* Email Template Edit: Fix enabled default value

* Update email_template_edit.php

* Update email_template_edit.php
2025-10-03 15:56:41 -06:00
Alex
57f6927119 IVR Menu Edit: Fix default values (#7544)
* IVR Menu Edit: Fix default values

* Update ivr_menu_edit.php
2025-10-03 15:55:49 -06:00
FusionPBX
7005e1a612 Update ivr_menu_edit.php 2025-10-03 14:57:44 -06:00
FusionPBX
e82a21ba11 Update child validate changes
- Include value trim
2025-10-03 14:02:54 -06:00
FusionPBX
b5f40571a9 IVR Menu order select improve selected
- Update the HTML select to use non-leading 0's. 
- Example in the value replace 000 with 0.
2025-10-03 13:33:04 -06:00
FusionPBX
f7e23476ba Normalize the user data to match the database
- Used to check if the data has changed
- Only update modified data
- Added the following
   - normalize null
   - normalize numeric
   - normalize string
   - normalize boolean (updated)
2025-10-03 11:59:46 -06:00
FusionPBX
dae3262851 Update database handling for app_name and app_uuid
If app_name is not found, then try the singular form of the class name
2025-10-03 10:19:34 -06:00
Alex
175037d268 Call Centers: Fix default values (#7543)
* Call Centers: Fix default values

* Update call_center_agent_edit.php
2025-10-03 09:56:08 -06:00
Alex
e8717e4ac7 Gateway Edit: Fix default values (#7542) 2025-10-03 09:35:23 -06:00
frytimo
871e5c0f9e Initial Commit (#7541) 2025-10-03 09:17:11 -06:00
frytimo
2494fe7f5e Revert using this keyword in static function (#7540) 2025-10-03 09:15:22 -06:00
FusionPBX
965a26ba38 Fix the static database_maintenance method 2025-10-01 20:49:07 -06:00
FusionPBX
e0763d190e Update xml_cdr.php 2025-10-01 20:28:16 -06:00
FusionPBX
5f061b47ae Update xml_cdr service database connection handling 2025-10-01 20:20:03 -06:00
frytimo
644030652d Only check database connection when cdr files exist (#7539) 2025-10-01 18:53:15 -06:00
FusionPBX
d49b393d11 Add global $database inside the function 2025-10-01 12:13:22 -06:00
Alex
3bf031b6f5 Dashboard: Adjust icon widget clickable area (#7536)
* Dashboard: Adjust icon widget clickable area

* Update domains.php

* Update registrations.php
2025-10-01 10:25:04 -06:00
FusionPBX
d1baf05891 Remove redundant database instances (#7535) 2025-10-01 08:56:06 -06:00
FusionPBX
6fcd0e83c1 Update database.php 2025-10-01 08:26:34 -06:00
FusionPBX
2fe8b65988 Define app_name and app_uuid as constants (#7534)
* Set a constant on each class for app_name and app_uuid
* Update the database class to use the app_uuid and app_name
* Update the classes to use the database::new()
* Remove the instances of 'new database'
2025-09-30 21:37:09 -06:00
FusionPBX
6485b18822 Update app_config.php 2025-09-30 18:11:36 -06:00
FusionPBX
6fdc95664c Allow ring group to use extension 0 2025-09-30 13:40:39 -06:00
Alex
c7851bedf2 Update event guard widget config (#7533)
* Update event guard widget config

* Update config.php
2025-09-30 11:59:26 -06:00
FusionPBX
2096a42b0b Add provider_uuid 2025-09-30 10:34:40 -06:00