Commit Graph

23448 Commits

Author SHA1 Message Date
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
frytimo
8a8e7be579 Fix pid detection in service class (#7532)
Fixed process id not detected

Process Signals are not using numbers instead of their constant. PHP-FPM does not pre-declare the constants.
2025-09-30 08:38:32 -06:00
FusionPBX
2cec85d49e Use the session domain_uuid 2025-09-29 21:31:22 -06:00
FusionPBX
f0b4450ee2 Update dialplan.php 2025-09-29 13:00:50 -06:00
FusionPBX
7bcbba3bc1 Fix the sql for feature event notify lua 2025-09-29 10:26:43 -06:00
fusionate
82200cfd75 Language: Include Georgian code, better detection of labels. 2025-09-27 10:58:10 -06:00
FusionPBX
3105a9e63d Update call_forward.php 2025-09-26 21:06:06 -06:00
FusionPBX
f4c6dfa0f4 Add device vendor keys for Poly 2025-09-26 17:00:44 -06:00
fusionate
3699980419 Authentication - Database: Fix user contact query. 2025-09-26 14:46:22 -06:00
FusionPBX
eed724d4fb Set call screen, call forward and follow me to default to false 2025-09-26 14:19:41 -06:00
FusionPBX
9bc6e15549 Update dynamic device key labels 2025-09-25 22:53:26 -06:00
FusionPBX
4ef34b8790 Fix the do not disturb feature code 2025-09-24 17:57:13 -06:00
FusionPBX
72844479b7 Update ring group call screen call forward, follow me boolean toggle 2025-09-24 17:00:33 -06:00