Commit Graph
100 Commits
Author SHA1 Message Date
markjcrane 2afda399e6 IVR Menu code changes for PHP 8.1 2023-05-16 22:55:19 -06:00
markjcrane 10c39f9bcb Code cleanup to solve a few minor issues 2023-05-16 16:14:39 -06:00
markjcrane 155f15a407 Fix CDR paging and minor code changes 2023-05-16 10:07:32 -06:00
markjcrane 7aac235f14 Check if the digit isset and not an empty string. 2023-05-16 00:48:26 -06:00
markjcrane 3cf0334686 Check if the sounds directory exists 2023-05-16 00:36:27 -06:00
markjcrane 6fa40778f7 Need to use empty persistformvar 2023-05-16 00:08:07 -06:00
markjcrane 93b8c4a4f8 Update IVR Menu Edit 2023-05-15 23:51:18 -06:00
markjcrane 74b3ce154c Update file.php minor code improvements 2023-05-15 23:17:37 -06:00
markjcrane 0c585bcb07 IVR Menu fix some errors and prevent some warnings 2023-05-15 23:11:23 -06:00
markjcrane 78bb6ec80c Fix PHP 8.1 ringback errors 2023-05-15 22:53:00 -06:00
markjcrane c5f7e61c82 Update group files prevent null errors. 2023-05-15 22:38:46 -06:00
FusionPBX b8d03a0384 Add absolute_codec_string PCMU,PCMA 2023-05-15 12:11:40 -06:00
FusionPBX 200bd891f3 Update css.php fixed menu_main_background_color_hover 2023-05-13 22:42:43 -06:00
FusionPBX 64c159931c Update database.php strlen replace with isset
Used isset instead of empty because empty treats a numeric value of 0 as empty.
2023-05-13 22:13:40 -06:00
FusionPBX 714add73fb Update css.php favor empty function 2023-05-13 21:28:54 -06:00
FusionPBX 8a449172a0 Update gateway_edit.php 2023-05-13 20:52:18 -06:00
FusionPBX 059aea351e Update gateway_edit.php for PHP 8.1 2023-05-13 20:50:06 -06:00
FusionPBX ce4de56b7c Update gateways.php 2023-05-13 20:46:18 -06:00
FusionPBX 2e270b07f0 Update gateway_edit.php for PHP 8.1 2023-05-13 20:43:39 -06:00
FusionPBX aa52764215 Update gateways.php for PHP 8.1 2023-05-13 20:42:16 -06:00
FusionPBX 67e2d731b5 Update persist_form_var.php 2023-05-13 20:39:46 -06:00
FusionPBX a94c465759 Update gateways.php for php 8.1 2023-05-13 20:23:10 -06:00
FusionPBX 5755ae3f48 Update schema.php for PHP 8.1 2023-05-13 17:31:27 -06:00
FusionPBX 5a82d31502 Update user_setting_edit.php for PHP 8.1 2023-05-13 17:21:54 -06:00
FusionPBX ab2bd0ef5e Update footer.php use the empty function 2023-05-13 17:20:17 -06:00
FusionPBX 01c3ed5c48 Update user_imports.php for php 8.1 2023-05-13 17:02:48 -06:00
FusionPBX 04dc606831 Update user_settings.php 2023-05-13 14:05:41 -06:00
FusionPBX 0035a93d60 Update users.php for PHP 8.1 2023-05-13 13:55:08 -06:00
FusionPBX 445b63ec3a Update dialplan.php to prevent PHP 8.1 warnings 2023-05-13 12:55:33 -06:00
FusionPBX c63ab15768 Update app_defaults.php 2023-05-13 12:40:14 -06:00
FusionPBX 7a8b2b7d79 Update database.php prevent more php 8.1 warnings. 2023-05-13 12:35:17 -06:00
FusionPBX 0162ac42d8 Update domain_json prevent warnings for PHP 8.1 2023-05-13 12:33:21 -06:00
FusionPBX e7ed4fe568 Update domain_setting_edit with improved syntax 2023-05-13 12:13:38 -06:00
FusionPBX 0a37d8c8d5 Code in domain_settings evolving 2023-05-13 11:28:12 -06:00
FusionPBX f6a48235d2 Update domains for 8.1 support 2023-05-12 23:42:41 -06:00
FusionPBX ca43df30f2 Default Settings updated for PHP 8.1 2023-05-12 23:27:19 -06:00
FusionPBX c1a979a643 dialplan: update for php 8.1 2023-05-12 21:21:32 -06:00
FusionPBX ff2c52eda8 Update domains.php 2023-05-12 20:32:44 -06:00
FusionPBX a4fddc7897 Update authentication.php 2023-05-12 20:30:17 -06:00
FusionPBX 44a46d491b Use !empty in the if statement 2023-05-12 20:24:39 -06:00
FusionPBX e9839e3b30 Refine the authentication ldap class 2023-05-12 19:34:05 -06:00
FusionPBX cd27922ce6 Refine the authentication email class 2023-05-12 19:33:14 -06:00
FusionPBX d9946b0207 Refine the authentication database class 2023-05-12 19:31:26 -06:00
FusionPBX ebf552e448 Refinements for the authentication class 2023-05-12 19:30:29 -06:00
FusionPBX 5c34c991cf Update pdo.php 2023-05-12 18:34:54 -06:00
FusionPBX d10e8bfdd4 Update authentication.php 2023-05-12 17:03:02 -06:00
FusionPBX 3185ed5a92 PHP 8.1 changes 2023-05-12 16:57:07 -06:00
FusionPBX a2bb8e5f90 Limit subquery to one result
This prevent a cardinality error.
2023-05-12 16:22:50 -06:00
FusionPBX 590faa4e83 Set the export_format
To prevent null and prevent unintended behavior set an empty string to as the default export format.
2023-05-12 14:30:16 -06:00
FusionPBX 4f60390b34 Check if the tables_exists 2023-05-11 22:33:08 -06:00
FusionPBX 48fb933266 Remove static and use this. 2023-05-11 19:58:09 -06:00
FusionPBX 40d9121c8f Convenient debug info for testing 2023-05-11 19:55:37 -06:00
FusionPBX ffd9a2c4b5 [bug fix] get the domain from the username (#6691)
* [bug fix] get the domain from the username

When the URL domain doesn't match the user's domain

Authentication can use domain from the username.

username:
user@domain
2023-05-11 18:58:22 -06:00
FusionPBX a9baddb6e0 prevent domain_uuid nil error
If the domain_uuid is null then use a random uuid to prevent an error and allow domain_uuid is null SQL to still run
2023-05-11 13:23:13 -06:00
FusionPBX 2a3d9e8e3d Fix the a mistake in the en-us translation 2023-05-11 11:51:55 -06:00
FusionPBX 5dae7314a1 Add project_path and login_destination_url 2023-05-10 23:11:36 -06:00
FusionPBX 663bcf929e Add project_path and login_destination_url 2023-05-10 23:10:44 -06:00
FusionPBX cc77a060e1 Add project_path and login_destination_url 2023-05-10 23:09:43 -06:00
FusionPBX cb32d58f21 Add project_path and login_destination_url 2023-05-10 23:08:57 -06:00
FusionPBX 5cac8f61e7 Use empty and isset 2023-05-10 22:30:42 -06:00
FusionPBX eccae62149 Replace is_array with !empty 2023-05-10 22:25:10 -06:00
FusionPBX 020b1414aa Use empty instead of is_array 2023-05-10 22:22:21 -06:00
FusionPBX 6f554eefa8 Use empty instead of strlen or is_array 2023-05-10 22:18:42 -06:00
FusionPBX 442147391c Change the and to an or and add an isset 2023-05-10 22:11:01 -06:00
FusionPBX b86cd20e8e Use isset instead of is_uuid 2023-05-10 22:01:12 -06:00
FusionPBX a9fbb07a55 Use isset and empty 2023-05-10 21:58:00 -06:00
FusionPBX 9902e823b9 Use empty function for the request username and key 2023-05-10 21:53:39 -06:00
FusionPBX 15e11da84b Redirect to login
login.php has been deprecated.
2023-05-09 22:27:09 -06:00
FusionPBX 2d3f623174 Update for PHP 8.1 2023-05-09 18:50:06 -06:00
FusionPBX c57fa0fc39 Update for PHP 8.1 2023-05-09 18:39:24 -06:00
FusionPBX 32672b7472 Update for PHP 8.1 2023-05-09 17:11:55 -06:00
FusionPBX 821720db1d Update for PHP 8.1 2023-05-09 17:06:19 -06:00
FusionPBX 55dc76f099 Provide default values 2023-05-09 11:36:39 -06:00
FusionPBX b732c0afe9 [Bug] value of 0 treated as empty
When empty is used its treating 0 as an empty value and then the value is set to null.  Will work on the changes further to prevent this problem.
2023-05-09 11:14:41 -06:00
FusionPBX 13d73a33e2 If the group is null set to 0 2023-05-09 09:50:16 -06:00
FusionPBX 43d33fb121 Remove smarty php cache 2023-05-09 09:13:40 -06:00
FusionPBX bc0c2ea588 $db variable needed by schema class 2023-05-09 08:39:42 -06:00
FusionPBX 89af27e94e Update button.php 2023-05-08 23:03:00 -06:00
FusionPBX 06bbdec276 Update for PHP 8.1 2023-05-08 22:55:00 -06:00
FusionPBX 9e4e8558e5 Remove debug 2023-05-08 22:30:39 -06:00
FusionPBX fd0615587e Update require.php 2023-05-08 19:02:58 -06:00
FusionPBX 0413b998e8 Ensure PROJECT_ROOT is defined 2023-05-08 18:50:32 -06:00
FusionPBX edb12399ce Add not empty debug 2023-05-08 17:21:52 -06:00
FusionPBX 26e3a0881d Error reporting for user hide deprecated 2023-05-08 15:07:59 -06:00
FusionPBX a1cea6bf56 Set dialplan_continue false 2023-05-08 14:36:35 -06:00
FusionPBX 46e3c9dc48 Upgrade: Fix PHP 8.x issue 2023-05-08 14:22:48 -06:00
FusionPBX 2c9f6a157a Enable database authentication by default
If no authentication settings are enabled it also defaults to database authentication.
2023-05-08 12:10:44 -06:00
markjcrane 423606631b Update version of smarty to 4.3.1 2023-05-08 09:50:42 -06:00
FusionPBX b9670cf385 Correct the dialplan detail order
The difference between a 1 and a 0 can sometimes be amazing.
2023-05-06 21:00:48 -06:00
FusionPBX eb84bf476b Add hangup_after_bridge and continue_on_fail
Add both of these variables when using destination bridge application.
2023-05-06 20:38:01 -06:00
FusionPBX d9cc3314d3 Add favicon (#6671)
* Add favicon

* Update totp_secret.htm

* Update totp.htm

* Update login.htm

* Update email.htm

* Update totp.php

* Update ldap.php

* Update email.php

* Update database.php
2023-05-06 18:31:48 -06:00
FusionPBX a866875383 Allow login with email authentication 2023-05-06 14:45:25 -06:00
FusionPBX 3aa5024cb2 Allow login with email authentication 2023-05-06 14:44:30 -06:00
FusionPBX eeef486384 Allow login with email authentication 2023-05-06 14:43:20 -06:00
FusionPBX 0757c79271 Allow login with user email. 2023-05-06 14:40:21 -06:00
FusionPBX 2bc91f2612 Auto create TOTP secret (#6670)
* Auto create TOTP secret

Auto create TOTP secret after successful database authentication when the TOTP secret has not been set.
2023-05-06 12:24:26 -06:00
FusionPBX 0038395009 If numeric then don't need to escape
Numeric should be safe as a pass thru.
2023-05-05 13:23:44 -06:00
FusionPBX b40005c11e Account for numbers 2023-05-05 13:18:15 -06:00
FusionPBX ebbb2f1a72 Add additional languages 2023-05-03 22:50:18 -06:00
FusionPBX 93d1e1259a Call broadcast minor update 1.1 2023-05-03 17:42:55 -06:00