Commit Graph

2168 Commits

Author SHA1 Message Date
fusionate 19bb912d27
Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2023-06-12 23:07:04 +00:00
Alex 25b24d68bd
Fixed more php 8.1 errors (#6754)
* Update default_setting_edit.php

* Update default_settings_reload.php

* Update modules.php

* Update access_controls_reload.php

* Update call_recordings.php

* Update fax.php

* Update extension_edit.php

* Update extension_imports.php

* Update destination_imports.php

* Update dialplan_outbound_add.php

* Update dialplan_inbound_add.php

* Update voicemail_imports.php

* Update contact_import.php
2023-06-12 17:06:56 -06:00
fusionate 364f2582a3
User - Edit: Create socket to update user state even if user status empty. 2023-06-12 23:06:55 +00:00
markjcrane 6e7d274c5a Remove debug for authentication class. The validation method returns enough details. 2023-06-12 16:27:47 -06:00
fusionate fa93b4e7f5
Misc: Updates for PHP 8.1 2023-06-09 17:29:33 +00:00
fusionate 992a7e6f62
Menu Item - List: Updates for PHP 8.1 2023-06-06 22:26:58 +00:00
fusionate 16aa7f8d3a
Menu - Edit: Updates for PHP 8.1 2023-06-06 22:26:35 +00:00
fusionate 72bb8904be
Group - Edit: Updates for PHP 8.1 2023-06-06 22:12:42 +00:00
fusionate d327d569f5
Misc: Updates for PHP 8.1 (?: to ??) 2023-06-06 22:05:05 +00:00
fusionate 4e77106a4c
Default Settings: Updates for PHP 8.1 2023-06-06 21:45:02 +00:00
fusionate 4783d2dbcc
Domain Settings: Updates for PHP 8.1 2023-06-06 21:44:42 +00:00
fusionate c7e567b2d2
Domain - Edit: Updates for PHP 8.1 2023-06-06 21:44:10 +00:00
fusionate 3fddd36858
Databases: Updates for PHP 8.1 2023-06-06 21:19:23 +00:00
FusionPBX 3b7020be21
Update domain_settings.php make sure checked is not empty. 2023-06-05 17:46:27 -06:00
FusionPBX 21f2a922d7
Prevent additional PHP 8.1 errors
Make sure $record['checked'] is not empty
2023-06-05 17:44:06 -06:00
Alex fb8d0e2983
fix bugs in php 8.1 changes (#6744)
* Update voicemail_greetings.php

* Update recordings.php

* Update recording_edit.php

* Update phrases.php

* Update phrase_edit.php

* Update music_on_hold_edit.php

* Update fax_queue.php

* Update extensions.php

* Update email_templates.php

* Update email_queue_edit.php

* Update dialplan_inbound_add.php

* Update device_profiles.php

* Update device_profile_copy.php

* Update contact_address_edit.php

* Update call_recordings.php

* Update call_center_agent_edit.php

* Update call_center_agents.php

* Update call_center_queues.php

* Update call_block.php

* Update menu_edit.php

* Update default_setting_edit.php

* Update database_edit.php
2023-06-05 12:41:28 -06:00
fusionate 59a07e9cc7
Default Settings: Updates for PHP 8.1 2023-06-04 01:50:00 +00:00
fusionate 8965f68c8d
Permission Defaults: Updates for PHP 8.1 2023-06-04 01:49:32 +00:00
Alex 93f85e6ea4
php 8.1 changes (#6741)
* Update dashboard_edit.php

* Update dashboard_edit.php

* Update dialplan_inbound_add.php

* Update dialplan_outbound_add.php

* Update dialplan_inbound_add.php

* Update modules.php

* Update sip_profile_edit.php
2023-06-02 17:01:15 -06:00
Alex 75da594fea
extension_settings and domains php 8.1 changes (#6737)
* Update extension_settings.php

* Update extension_setting_edit.php

* Update extension_edit.php

* Update domain_edit.php

* Update domain_json.php

* Update extension_setting_edit.php
2023-06-02 12:43:35 -06:00
FusionPBX 237b11705a
Set empty default setting enabled to false by default 2023-06-02 10:03:48 -06:00
FusionPBX 488b199950
Update user_logs.php for PHP 8.1 2023-05-29 14:31:10 -06:00
fusionate 140e726414
User Logs - List: Updates for PHP 8.1 2023-05-29 20:05:49 +00:00
markjcrane 81f6294a9b When adding a record hide the members and permissions buttons 2023-05-27 12:26:48 -06:00
markjcrane 8eb36dc7c2 Clear the group_array between iterations 2023-05-27 12:16:42 -06:00
markjcrane c679165016 Menu: PHP 8.1 updates 2023-05-27 12:00:02 -06:00
Alex 3112c9ae18
php 8.1 changes (#6721)
* Update call_flows.php

* Update call_flow_edit.php

* Update call_forward.php

* Update call_forward_edit.php

* Update call_recordings.php

* Update conference_centers.php

* Update default_settings.php

* Update default_setting_edit.php

* Update access_controls.php

* Update number_translations.php

* Update number_translation_edit.php

* Update setting_edit.php

* Update bridges.php

* Update bridge_edit.php

* Update call_broadcast_edit.php

* Update call_broadcast.php

* Update call_block.php

* Update call_broadcast_edit.php

* Update call_center_agent_edit.php

* Update call_center_agent_status.php

* Update call_recordings.php
2023-05-26 11:48:39 -06:00
fusionate 5677ddfa8a
Domains: Updates for PHP 8.1 2023-05-25 22:43:34 +00:00
Alex 5bb29763ad
php 8.1 changes (#6719)
* Update email_template_edit.php

* Update menu.php

* Update menu_edit.php

* Update number_translations.php

* Update number_translations.php

* Update email_templates.php

* Update email_templates.php

* Update setting_edit.php

* Update call_block.php

* Update call_block_edit.php

* Update email_template_edit.php

* Update call_block.php
2023-05-25 12:38:32 -06:00
markjcrane 7d2b43dc15 More PHP 8.1 changes 2023-05-25 10:34:48 -06:00
Alex caea15af15
php 8.1 changes (#6718)
* Update database_edit.php

* Update databases.php

* Update default_setting_edit.php

* Update email_templates.php
2023-05-25 10:18:46 -06:00
markjcrane 65bc00535f Use empty and not empty 2023-05-24 17:42:37 -06:00
Luis Daniel Lucio Quiroz af101bcd7b
Fixes PHP fatal error when editing users (#6700)
* Update user_edit.php

Some PHP implementations return a fatal error when in_array() has the second parameter null.

 $_SESSION['authentication']['methods']  is null by default on new installations.
2023-05-24 17:27:06 -06:00
jrmcclean 3b8b771c92
Update install.php (#6699)
* Changed If statement to Switch Case. 
* Added Win option
* Created new Var $php_dir and $cache_location
2023-05-24 17:21:42 -06:00
markjcrane 843b9b4377 Use conditions with empty and not empty 2023-05-24 15:44:54 -06:00
markjcrane eafa89a624 Fixed require unique username globally or per domain 2023-05-24 10:13:49 -06:00
fusionate cc5b2ba554
Group Permissions: Fix search, filter after submit and PHP 8.1 updates. 2023-05-23 18:53:50 +00:00
markjcrane c045bb4705 Add a new fax user group 2023-05-22 10:45:01 -06:00
Anthony 672dc9fa4d
Corrected translations (#6705)
* Update app_languages.php
2023-05-19 14:52:45 -06:00
Ben 9a44cd409e
fixed a few translations (#6703) 2023-05-19 10:36:17 -06:00
Ben d900a7cffc
corrected translations (#6698) 2023-05-18 15:37:22 -06:00
Anthony 60adb692ec
Corrected translations & added missing translations in core/app_languages.php (#6701)
* Update app_languages.php
2023-05-18 15:36:59 -06:00
fusionate f8a3d95e83
Upgrade [CLI]: Fix minor language file issue. 2023-05-18 20:25:18 +00:00
fusionate c3018b6ae2
Upgrade (CLI): Update for PHP 8.1 2023-05-17 20:43:17 +00:00
fusionate 4bac37850a
Upgrade (GUI): Updates for PHP 8.1 2023-05-17 20:37:17 +00:00
markjcrane 6d7e125743 Fix all PHP 8.1 messages for upgrade.php 2023-05-17 10:07:49 -06:00
fusionate 31f4368851
User - Edit: Updates for PHP 8.1 2023-05-17 05:10:15 +00:00
fusionate 8bd20b97cd
Users [Class]: Updates for PHP 8.1 2023-05-17 04:51:41 +00:00
fusionate d6306c7efd
User Settings - Edit: Updates for PHP 8.1 2023-05-17 04:44:43 +00:00
fusionate 1faddafbe1
User Settings [Class]: Updates for PHP 8.1 2023-05-17 04:44:19 +00:00
fusionate ea0c03c3ea
User - Edit: Clean up. 2023-05-17 04:43:23 +00:00
fusionate c2776e993f
User - Edit: Fix duplicate Language records and Time Zone being deleted. Also updates for PHP 8.1. 2023-05-17 04:05:52 +00:00
fusionate 9465e36b37
Dashboard - Edit: Updates for PHP 8.1 2023-05-17 00:00:40 +00:00
fusionate f74db00fb1
Dashboard - Edit: Updates for PHP 8.1 2023-05-16 20:51:02 +00:00
fusionate ab29d70f40
Dashboard - Updates for PHP 8.1 2023-05-16 18:55:10 +00:00
fusionate 3dc38973e1
Authentication [Class] - Updates for PHP 8.1 2023-05-16 18:54:11 +00:00
fusionate a87ae4794e
Permission [Class] - Updates for PHP 8.1 2023-05-16 18:41:34 +00:00
jonathanblack1000 70067117f5
Fix time zone setting for domain (#6695)
* Fix time zone setting for domain

Recent updates broke time zone setting for domain settings
2023-05-16 12:40:30 -06:00
markjcrane c5f7e61c82 Update group files prevent null errors. 2023-05-15 22:38:46 -06:00
FusionPBX 5a82d31502
Update user_setting_edit.php for PHP 8.1 2023-05-13 17:21:54 -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 c63ab15768
Update app_defaults.php 2023-05-13 12:40:14 -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
fusionate 2bcfaf27f2
User - Edit: Updates for PHP 8.1 2023-05-13 04:55:04 +00:00
fusionate 2fbd1b238d
Dashboard: Updates for PHP 8.1 2023-05-13 04:51:15 +00:00
FusionPBX a4fddc7897
Update authentication.php 2023-05-12 20:30:17 -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 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
Anthony 237603dad0
Update app_languages.php (#6693) 2023-05-12 15:33:39 -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
Anthony ad06162b29
Update app_languages.php (#6690) 2023-05-11 19:13:55 -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
fusionate 1986dc1ae7
Dashboard: Updates for PHP 8.1 2023-05-12 00:44:44 +00:00
Anthony beac6eedeb
Update app_languages.php (#6689)
* Update app_languages.php
2023-05-11 16:14:05 -06:00
FusionPBX 2a3d9e8e3d
Fix the a mistake in the en-us translation 2023-05-11 11:51:55 -06:00
fusionate 5badf55c3c
Authentication [Class]: Updates for PHP 8.1 2023-05-11 13:40:17 +00: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 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
fusionate f5a508ed0b
Dashboard: Updates for PHP 8.1 2023-05-10 23:23:15 +00:00
fusionate 198ee84d9a
Dashboard: Updates for PHP 8.1 2023-05-10 22:23:22 +00:00
Ben 5811b3d377
Added traslations (#6685) 2023-05-09 14:48:32 -06:00
Ben 42936ca6fa
added translations (#6686) 2023-05-09 14:48:00 -06:00
Ben f28fa76890
added traslation for ro-ro and a few minor corrections (#6684) 2023-05-09 14:47:12 -06:00
Anthony 3404a997ac
Updating core/users/app_languages.php (#6683)
* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php
2023-05-09 13:19:10 -06:00
Ben 017c58e44c
added ro-ro translations (#6680) 2023-05-09 11:51:22 -06:00
Ben 0ed58954e3
Updated translations (#6681) 2023-05-09 11:50:58 -06:00
Alex 3e0ec8b752
Add missing translations (#6673) 2023-05-09 11:39:02 -06:00
FusionPBX 43d33fb121
Remove smarty php cache 2023-05-09 09:13:40 -06:00
Ben 0880485e73
added translation (#6678) 2023-05-09 08:44:41 -06:00
Ben 651c8ba971
updated translations (#6679) 2023-05-08 19:11:11 -06:00
Anthony 1c6c542d15
Update app_languages.php (#6676)
* Update app_languages.php

* Update app_languages.php
2023-05-08 16:30:50 -06:00
Ben e69a509b9d
Added translations (#6677) 2023-05-08 16:30:15 -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
Anthony cb30f00513
Update app_languages.php (#6674) 2023-05-08 11:52:46 -06:00
Anthony 600c2b3a7e
Update app_languages.php (#6675) 2023-05-08 11:52:20 -06:00
fusionate 28e6cb9b48
Upgrade: Fix PHP 8.x issue on str_replace function in app_defaults.php. 2023-05-08 13:24:29 +00: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
Anthony fddafec0b6
Update app_languages.php (#6667) 2023-05-05 16:01:00 -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
Ben 9119a1bd65
Added languages and translations Turkish, Greek, English-GB (#6650)
* Added languages and translations Turkish, Greek, English-GB
2023-05-03 13:50:53 -06:00
frytimo a258a067a5
restore any missing default groups when permissions are restored (#6657) 2023-05-03 11:35:59 -06:00
Ben a802e275f6
Addedlanguages and translations for Turkish, German-CH (#6651)
Co-authored-by: FusionPBX <markjcrane@gmail.com>
2023-05-03 11:27:35 -06:00
Ben 719163331a
added German-ch and Turkish language and translations (#6652)
Co-authored-by: FusionPBX <markjcrane@gmail.com>
2023-05-03 11:13:35 -06:00
frytimo 1c6c903709
Frytimo pr fix headers already sent (#6655)
* remove space causing headers already sent

* remove space causing headers already sent
2023-05-03 11:10:17 -06:00
markjcrane 1513bd3301 Add Chinese, Korean, and Japanese translations 2023-05-03 10:36:25 -06:00
markjcrane 28fe89066e Add Chinese, Korean, and Japanese translations 2023-05-02 22:05:16 -06:00
markjcrane 41e87e7f01 Add additional languages 2023-05-02 20:22:44 -06:00
Ben 2d592027fb
Added Turkish and Greman-ch language (#6653) 2023-05-02 16:11:19 -06:00
Ben 4c01af52f0
Added Greek and Turkish language and translations (#6649) 2023-05-02 12:05:56 -06:00
FusionPBX f313d06bdd
Add additional translations 2023-05-01 21:25:25 -06:00
FusionPBX f12384b282
Add additional translations 2023-05-01 21:16:25 -06:00
FusionPBX 4051b1d4e0
Add additional translations 2023-05-01 21:05:56 -06:00
FusionPBX ad6c7415a6
Add additional languages 2023-05-01 21:03:56 -06:00
FusionPBX dc7d596ace
Add additional translations 2023-05-01 21:02:16 -06:00
FusionPBX 915b8d3fe6
Minor update to be more consistent 2023-05-01 20:57:21 -06:00
FusionPBX afe9a412c6
Add additional languages 2023-05-01 20:54:22 -06:00
FusionPBX bc4ed0c8c1
Add additional languages 2023-05-01 20:51:40 -06:00
FusionPBX 30758cfd4c
Add missing languages 2023-05-01 20:48:35 -06:00
Ben 793940f525
added translations (#6644) 2023-04-28 17:20:59 -06:00
Ben de791a2201
Added translations (#6641) 2023-04-28 16:10:31 -06:00
Ben c253e8e975
added translations (#6642) 2023-04-28 16:10:03 -06:00
Ben f4e9069cec
added translations (#6643) 2023-04-28 16:09:44 -06:00
Ben 18ff648488
Added translations and Greek (#6638) 2023-04-28 12:03:32 -06:00
Ben 6d05163a21
Added translations and Greek (#6639) 2023-04-28 12:03:06 -06:00
Ben 3210441627
Added traslations and Greek (#6637) 2023-04-28 11:19:38 -06:00
Ben a86ef65e76
added translations (#6636) 2023-04-28 11:19:08 -06:00
Ben 0b3cc45032
Filled in traslations (#6634) 2023-04-28 11:17:29 -06:00
frytimo 69bd42af05
remove unneeded destruct methods as GC has higher performance (#6631)
Co-authored-by: Tim Fry <tim@voipstratus.com>
2023-04-27 20:18:53 -06:00
fusionate 4a67359a78
Domain Settings: Implement ability to Duplicate settings. 2023-04-27 21:04:35 +00:00
fusionate 3711bf3664
Default Settings: Minor adjustment to Copy domain select box default. 2023-04-27 21:02:26 +00:00