Commit Graph

496 Commits

Author SHA1 Message Date
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
markjcrane eafa89a624 Fixed require unique username globally or per domain 2023-05-24 10:13: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 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
FusionPBX 01c3ed5c48
Update user_imports.php for php 8.1 2023-05-13 17:02:48 -06:00
FusionPBX 0035a93d60
Update users.php for PHP 8.1 2023-05-13 13:55:08 -06:00
fusionate 2bcfaf27f2
User - Edit: Updates for PHP 8.1 2023-05-13 04:55:04 +00:00
Ben 42936ca6fa
added translations (#6686) 2023-05-09 14:48:00 -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
Anthony 1c6c542d15
Update app_languages.php (#6676)
* Update app_languages.php

* Update app_languages.php
2023-05-08 16:30:50 -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
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
FusionPBX 4051b1d4e0
Add additional translations 2023-05-01 21:05:56 -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
FusionPBX 5cfdccdc2a
[bug] base32 encoded TOTP secret
Some applications rejected the TOTP secret. Use the Base2n class to create a better base32 encoded TOTP secret.
2023-04-27 01:14:06 -06:00
FusionPBX c270aed781
Add language values for user totp 2023-04-23 01:38:17 -06:00
FusionPBX 0295c17393
Add field user_totp_secret 2023-04-23 01:28:45 -06:00
FusionPBX e405e375f6
Add totp and enhance api key 2023-04-23 01:26:51 -06:00
trideeindhoven fba26b3f84
Better NL translations (#6590)
Co-authored-by: Jeroen Hermans <jeroen@perfectvoip.nl>
2023-03-28 10:24:11 -06:00
FusionPBX b449bef03e
Use preg_replace instead of escape (#6575)
Escape broke auto matching fields use preg_replace instead.
2023-03-10 09:54:49 -07:00
Alex 7326cb845a
Set default for enabled (#6556)
* Set default for enabled

* Update conference_profile_edit.php

* Update call_block_edit.php

* Update conference_control_edit.php

* Update conference_control_detail_edit.php

* Update conference_profile_edit.php

* Update conference_profile_param_edit.php

* Update conference_edit.php

* Update destination_edit.php

* Update device_edit.php

* Update device_profile_edit.php

* Update device_vendor_edit.php

* Update email_template_edit.php

* Update extension_edit.php

* Update module_edit.php

* Update phrase_edit.php

* Update ring_group_edit.php

* Update sip_profile_edit.php

* Update stream_edit.php

* Update time_condition_edit.php

* Update var_edit.php

* Update voicemail_edit.php

* Update call_block_edit.php

* Update default_setting_edit.php

* Update domain_setting_edit.php

* Update domain_edit.php

* Update user_edit.php

* Update bridge_edit.php

* Update sip_profile_edit.php

* Update sofia_global_setting_edit.php

* Update call_flow_edit.php

* Update email_template_edit.php

* Update call_flow_edit.php

* Update bridge_edit.php

* Update email_template_edit.php

* Update sip_profile_edit.php

* Update sofia_global_setting_edit.php

* Update bridge_edit.php

* Update call_flow_edit.php

* Update conference_control_edit.php

* Update sip_profile_edit.php

* Update stream_edit.php

* Update default_setting_edit.php

* Update email_template_edit.php

* Update extension_setting_edit.php

* Update default_setting_edit.php

* Update dashboard_edit.php

* Update dashboard_edit.php

* Update default_setting_edit.php
2023-02-17 14:21:41 -07:00
agree 4c29c3c4cf
[security] import pages xss prevention (#6553) 2023-02-14 15:34:53 -07:00
Alex a229d1e46c
Add enabled toggle to more pages and bug fix (#6552)
* Add enabled toggle to more pages and bug fix

* Add device profile enable toggle

* fixed enable on bridge_edit.php

* Fixed enable on call_block_edit.php

* Fixed enable on call_flow_edit.php

* Fixed enable on conference_center_edit.php

* Add conference room enabled toggle

* Fixed enable on conference_control_detail_edit.php

* Fixed enable on conference_control_edit.php

* Fixed enable on conference_profile_edit.php

* Add conference profile param enabled toggle

* Fixed enable on conference_edit.php

* Fixed enabled on device_edit.php

* Fixed enable on extension_edit.php

* Fixed enable on gateway_edit.php

* Fixed enable on number_translation_edit.php

* Fixed enable on phrase_edit.php

* Fixed enable on ring_group_edit.php

* Fixed enable on sip_profile_edit.php

* Fixed enable on stream_edit.php

* Fixed enable on time_condition_edit.php

* Fixed enable on var_edit.php

* Fixed enable on voicemail_edit.php

* Fixed enable on user_edit.php

* Fixed enable on user_setting_edit.php

* Update user_edit.php

* Update bridge_edit.php

* Update call_flow_edit.php

* Update conference_control_edit.php

* Update stream_edit.php

* Fixed enable on default_setting_edit.php

* Fixed enable on domain_edit.php

* Fixed enable on email_template_edit.php

* Fixed enable on module_edit.php
2023-02-14 11:19:02 -07:00
FusionPBX 2055aff48a
Add user enabled toggle. 2023-02-10 09:20:10 -07:00
fusionate dc1307028a
Default/Domain/User Settings: Implement select field for input_toggle_style options. 2023-01-23 19:31:18 +00:00
FusionPBX 433918a151
Special characters not required by default.
Long enough password special characters can be optional
2022-12-07 00:46:02 -07:00
FusionPBX b241b921fa
Create user_json.php 2022-11-07 08:57:01 -07:00
markjcrane d50bcb476a Replace root.php 2022-10-10 16:35:14 -06:00
markjcrane eb5c25aa35 Add insert_date, insert_user, update_date, update_user to all tables 2022-09-18 00:54:37 -06:00
AlexC fbcd8242c4
Add max_retry and find_time default settings (#6352) 2022-04-26 10:16:51 -06:00
nyash 0bc048a634
Add/edit some polish translations (#6327)
* Add/edit some polish translations

* Minor touches to polish translations
2022-03-26 14:30:02 -06:00
KRooney d2e61e351c
Update app_menu.php (#6275) 2022-01-30 21:05:01 -07:00
KRooney 3fb85b3fd5
Update app_menu.php (#6274) 2022-01-30 21:03:54 -07:00
KRooney 66bb5d6877
Update app_languages.php (#6272) 2022-01-30 21:01:00 -07:00
KRooney 73f13ef005
Update app_languages.php (#6203) 2022-01-17 21:08:32 -07:00
AlexC 2a74114cf2
Copy, toggle and delete buttons visible when checkbox is selected (#6242)
* Update bridges.php

* Update call_block.php

* Update call_center_queues.php

* Update call_center_agents.php

* Update call_broadcast.php

* Update call_flows.php

* Update call_recordings.php

* Update conference_centers.php

* Update conference_rooms.php

* Update conference_controls.php

* Update conference_profiles.php

* Update conferences.php

* Update contacts.php

* Update fax.php

* Update ivr_menus.php

* Update music_on_hold.php

* Update phrases.php

* Update recordings.php

* Update streams.php

* Update voicemails.php

* Update devices.php

* Update device_vendors.php

* Update device_vendor_functions.php

* Update extensions.php

* Update gateways.php

* Update dialplans.php

* Update destinations.php

* Update email_templates.php

* Update modules.php

* Update sip_profiles.php

* Update vars.php

* Update databases.php

* Update users.php

* Update default_settings.php

* Update domains.php

* Update groups.php

* Update menu.php
2022-01-13 11:37:59 -07:00
Anthony 1db3e5ba14
Removed Search Reset (#6241)
* Update default_settings.php

* Update devices.php

* Update extensions.php

* Update gateways.php

* Update users.php

* Update destinations.php

* Update dialplans.php

* Update bridges.php

* Update call_block.php

* Update call_broadcast.php

* Update call_flows.php

* Update call_forward.php

* Update call_recordings.php

* Update conference_centers.php

* Update conference_controls.php

* Update conference_profiles.php

* Update conferences.php

* Update contacts.php

* Update fax.php

* Update ivr_menus.php

* Update phrases.php

* Update recordings.php

* Update ring_groups.php

* Update time_conditions.php

* Update voicemails.php

* Update call_center_queues.php

* Update email_logs.php

* Update registrations.php

* Update user_logs.php

* Update access_controls.php

* Update domains.php

* Update email_templates.php

* Update groups.php

* Update menu.php

* Update number_translations.php

* Update sip_profiles.php

* Update database_transactions.php

* Update vars.php

* Update dashboard.php
2022-01-12 16:00:01 -07:00
FusionPBX f56132e1a6
Update app_defaults.php 2021-12-24 12:37:19 -07:00
FusionPBX e701c9c261
Only show the contact details if they are in the view. 2021-10-06 11:04:49 -06:00
FusionPBX 30285d1bbf
Changes groups to group_names. 2021-07-10 00:53:50 -06:00
FusionPBX b6ff967923
Add group_uuids and change groups to group_names 2021-07-10 00:52:47 -06:00
konradSC 8767a28f69
Bug fix for api_key
If someone without the api_key permissions modified a user, it would wipe out the api_key value.
2021-01-07 08:43:58 -05:00
fusionate aa413b74b2 Default/Domain/User Settings: Implement select boxes for Destinations setting options. 2020-12-28 16:12:16 -07:00
FusionPBX 704a1eb5e5
Update user_edit.php
Use the proper permission user_group_delete.
2020-11-03 13:49:43 -07:00