frytimo
bbe7b9e9b7
Documentation, format class, no modification. ( #7628 )
2025-11-18 18:49:39 -07:00
markjcrane
2264bca3ef
Update assigned authentication template values
2025-11-13 09:45:55 -07:00
markjcrane
bf5bb4f642
Fix multiple PHP warnings
2025-11-01 19:58:21 -06:00
frytimo
e0f7e38e84
Fix missing CSS class for open_id banners and more PHP warnings ( #7575 )
...
* Fix PHP 8.4 warnings
Strings are no longer allowed to be defaulted to null without the null declaration
* Fix missing css class for open_id banners
2025-10-16 12:08:19 -06:00
fusionate
3699980419
Authentication - Database: Fix user contact query.
2025-09-26 14:46:22 -06:00
FusionPBX
7f9064fadb
Update boolean toggle and the database boolean type ( #7522 )
...
* Change the data type to boolean
* Use boolean values in SQL and Conditional Statements
* Schema Data Types: Drop views so that alter tables statements complete
* Update settings.php
* Add extension for call_screen_enabled
* Gateway handle boolean
Add the boolean toggle
- distinct_to
- caller_id_in_from
- supress_cng
- extension_in_contact
- contact_in_ping
* Update gateways.php
* Update voicemail_edit.php
* Replace the ${caller_id_name} with the extensions caller id name
* Phrase - Edit: Update slide toggle with new select beneath.
* Update the input toggle style
* Set the input_toggle_style_switch as boolean
* Update the input toggle style
* Theme: Adjust CSS to wrap description text on form fields.
* Add domain_uuid and domain_name to the SQL SELECT
* Unset the parameters to fix the next query
* Gateway: Integrate new slide toggle switch.
* Dashboard: Update the input toggle style (#7499 )
* Dashboard: Update the input toggle style
* Update dashboard_widget_edit.php
* Update dashboard_edit.php
* Inbound Route - Add: Integrate new slide toggle switch and boolean.
* User Settings: Integrate new slide toggle switch.
* Call Block Edit: Update the input toggle style (#7500 )
* Bridge Edit: Update the input toggle style (#7501 )
* Update phrases.php
* Update domain_edit.php
* Domain Settings Edit: Update the input toggle style
* User Edit: Update the input toggle style
* Update install.php
* Remove fields marked as deprecated
* Use boolean in the select statement
* Streams: New slide toggle and boolean.
* Streams: Remove unnecessary default.
* Queues (FIFO): New slide toggle.
* Call Detail Records: Update the input toggle style (#7503 )
* Call Detail Records: Update the input toggle style
* Update xml_cdr_extension_summary.php
* Update xml_cdr_extension_summary.php
* Update xml_cdr_extension_summary.php
* Call Centers: Update the input toggle style (#7502 )
* Call Centers: Update the input toggle style
* Update call_center_agent_edit.php
* Conference Centers: Update the input toggle style (#7506 )
* Conference Centers: Update the input toggle style
* Update app_config.php
* Update conference_center_edit.php
* Use boolean data type (#7505 )
* Call Flow Edit: Update the input toggle style (#7504 )
* Devices: Update the input toggle style
* IVR Menus: New slide toggle.
* IVR Menu: Remove deprected file.
* SIP Profile - Edit: New slide toggle.
* Device Profiles: Update the input toggle style
* Ring Groups - List: Fix syntax.
* Theme: Fire onchange event when switching slide toggle control.
* Device Vendors: Update the input toggle style
* Update enabled boolean
* Update device_edit.php
* Ring Groups: New slide toggle.
* Update domain_edit.php
* Email Templates: Update the input toggle style
* Header: Correct default value on input toggle style.
* Default/Domain/User Settings: Adjust Select option label for better clarity.
* Use true boolean types for switch theme toggle or drop-down box (#7507 )
* Groups: Update the input toggle style
* Conference Controls: Update the input toggle style (#7509 )
* Conference Controls: Update the input toggle style
* Update conference_control_edit.php
* Update conference_control_details.php
* Update conference_control_detail_edit.php
* Conferences: Update the input toggle style (#7511 )
* Use true boolean types for switch theme toggle or drop-down box (#7513 )
* Dialplans: Update the input toggle style
Also updated outbound route add
* Ring Group: Only adjust ring group forward destination top margin when slide toggle enabled.
* Default/Domain/User Settings - List: Adjust for new 'Select Box' label on input_toggle_style value.
* Use true boolean types for switch theme toggle or drop-down box (#7514 )
* Call Forward / Follow Me: Minor javascript adjustments to mirror previous behavior.
* Ring Groups [Dashboard]: New slide toggle.
* Get the contacts details with a seperate SQL Query
* Remove debug info
* Destinations: Update the input toggle style
* Conference Profiles: Update the input toggle style (#7515 )
* Conference Profiles: Update the input toggle style
* Update conference_profiles.php
* Update conference_profile_params.php
* Update conference_profile_param_edit.php
* Update conference_profile_edit.php
* Extensions: Update the input toggle style
* Contacts: Update the input toggle style (#7517 )
* Contacts: Update the input toggle style
* 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_relation_edit.php
* Update contact_setting_edit.php
* Update contact_url_edit.php
* Update contacts.php
* Voicemails: New slide toggle.
* Voicemail Greeting: New slide toggle.
* Modules: New slide toggle.
* Recordings: New slide toggle
* Variables: New slide toggle.
* Time Conditions: New slide toggle.
* Extensions - List: Remove invalid column name.
* Extension Settings: New slide toggle.
* Number Translations: New slide toggle and boolean.
* Sofia global settings: Update the input toggle style
* Update alter table convert to boolean
* Fix contact relation search (#7518 )
* Sip Profile Edit: Fix setting enabled labels (#7519 )
* Sip Profile Edit: Fix setting enabled labels
* Update sip_profile_edit.php
* Update dialplan_edit.php (#7520 )
* Update SQL queries to use true/false for contact primary settings (#7521 )
* Update SQL queries to use true/false for contact primary settings
* Update contacts_vcard.php
* Update email.php
* Update totp.php
* Update contact_url_edit.php
* Update contact_email_edit.php
* Update contact_address_edit.php
* Update contact_attachment_edit.php
* Update contact_phone_edit.php
* Add a database views method
* Add database view groups
* Add database users view
* Add database call_recordings view
* Update users.php
* Add database view call block
* Update schema to use the database views method
* Update conference.conf.lua boolean
* Update directory.lua boolean
* Update callcenter.conf.lua agent_status boolean
* Update sofia.conf.lua boolean
* Update number translations lua boolean
* Update directory.lua boolean
* Update group_call.lua fix the cache
* Update reverse-auth-lookup.lua boolean
* Update directory.lua boolean
* Use concat instead of ||
* Update index.lua
---------
Co-authored-by: fusionate <nate@fusionpbx.com >
Co-authored-by: Alex <alex@fusionpbx.com >
Co-authored-by: frytimo <tim@fusionpbx.com >
2025-09-20 18:42:05 -06:00
frytimo
e7393cc7c0
New Feature OpenID Connect ( #7355 )
...
* Refactor authentication to allow for OpenID Connect
The authentication class has been refactored to separate the `validate` function for the method `create_user_session`. This is needed for the OpenID Connect module to authenticate a user without going through the process of all authentication plugins. Only the function `check_user_cidr` has been rewritten to use a single loop instead of a double-loop.
Due to the fact that create_user_function is public, the $result associative array is checked to ensure the required fields are present and the UUID fields are valid UUIDs. Further checking could be done against the database to ensure the UUIDs exist but this has been suppressed at this time because database queries would be required.
* Database class modified to allow for login banners for OpenID Connect
The database class is responsible for creating the view for login. The OpenID application required banners to be present so that any OpenID Connect authentication mechanism could be used. Each banner displayed has the properties of: name, image, alt, and url. The name is the class name of the authentication plugin. This will match the action in the URL. The image is the image banner used for the login. The alt is the alternate text used for screen readers. Each authenticator is responsible for providing each of the field values.
* Added PHPDocs for the check_cidr function
* Add backwards compatibility for PHP versions below 8
* Remove get_banner_alt
* Update check_cidr to allow cidr array
* Update authentication.php
* Update functions.php
* Update authentication.php
2025-04-17 13:48:16 -06:00
FusionPBX
3f186d90cc
Fix the forget password feature
2025-01-16 21:49:56 -07:00
Alex
f0bc1cfe33
Update contacts path ( #7192 )
...
* Update contacts path
* Update menu.php
* Update contact_edit.php
* Update contact_relation_edit.php
* Update config.php
* Update authentication.php
* Update database.php
* Update totp.php
* Update email.php
2024-12-06 11:55:41 -07:00
FusionPBX
cd8d5302ac
Fix temporary permissions
2024-11-29 13:57:01 -07:00
FusionPBX
fc4f75f30c
User logs fix failed
2024-10-10 16:21:03 -06:00
fusionate
ae15319487
Body Header User Image and Menu, Domain Selector, Contact Attachment improvements.
2024-09-28 16:37:36 -06:00
FusionPBX
e86ec20547
Update background_video
...
- Uses type array
- Use the first item in the array
2024-09-10 04:03:44 -06:00
frytimo
9f6d828799
pass objects to authentication plugins when possible ( #7123 )
...
* pass objects to authentication plugins when possible
Pass the settings and authentication objects to the plugins to re-use existing objects
* Update authentication.php
2024-09-06 18:20:26 -06:00
FusionPBX
8cc646aece
Add login option for domain name for text input or select
...
Restoring a feature we had in previous versions.
Not a commonly used feature
2024-08-19 18:57:05 -06:00
FusionPBX
71334c9655
Removed session server temp directory
...
This session variables is no longer used
2024-06-26 07:48:41 -06:00
FusionPBX
efce99375b
Template engine use sys_get_temp_dir
...
Used to get the operating system temp directory.
2024-06-26 07:28:37 -06:00
FusionPBX
02db089d8f
New setting background_video
2024-06-18 09:32:19 -06:00
frytimo
6fd5d7cda4
Fix user_email missing from object properties ( #6929 )
2024-03-28 22:10:36 -06:00
markjcrane
cd91040eb5
Prevent edge case PHP 8.1 warnings for domain_uuid and domain_name
2023-07-22 14:21:11 -06:00
markjcrane
4951647225
Add user_type is null for better backwarads compatibility
2023-07-14 12:38:45 -06:00
markjcrane
52c0b3955f
Disable authentication if the user type is set to virtual.
2023-07-13 18:30:29 -06:00
fusionate
c143b9fe83
Authentication - Database: Resolve PHP 8.1 warning when using API Key login.
2023-06-28 20:54:34 +00:00
fusionate
d24acf66bf
Authentication: Updates to improve order compatibility.
2023-06-27 02:32:11 +00:00
fusionate
2e2bd53170
Authentication: Additional improvements to order execution and invalid creds.
2023-06-25 01:11:49 +00:00
fusionate
b23a18fdf1
Authentication: Minor improvements in bad username handling, effort to integrate messages.
2023-06-24 22:40:44 +00:00
fusionate
aa7def54a6
Authentication - Fix MFA when all methods are enabled.
2023-06-24 21:18:39 +00:00
fusionate
3021f59431
Login: Restore authentication failed message.
2023-06-17 23:16:39 +00:00
markjcrane
f506b00b57
PHP 8.2 Deprecated dynamic properties
2023-06-12 21:27:23 -06:00
FusionPBX
d9946b0207
Refine the authentication database class
2023-05-12 19:31:26 -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
cb32d58f21
Add project_path and login_destination_url
2023-05-10 23:08:57 -06:00
FusionPBX
9902e823b9
Use empty function for the request username and key
2023-05-10 21:53:39 -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
eeef486384
Allow login with email authentication
2023-05-06 14:43:20 -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
FusionPBX
6f489f0cf3
Remove unset removes the session settings
2023-04-18 11:28:24 -06:00
FusionPBX
e336cb6999
Remove destination url
2023-04-18 09:40:33 -06:00
FusionPBX
1cebbb7c45
If set use the SESSION username
2023-04-17 22:15:02 -06:00
markjcrane
00801b5b04
Add mutli-factor authentication.
2023-04-16 01:10:39 -06:00
FusionPBX
c0e0cd3101
Update database.php
...
Add domain_uuid to the SQL select statement.
2020-10-27 15:50:24 -06:00
FusionPBX
1b0d8ceb41
Update database.php
...
Get the domain name from the database.
2020-10-26 19:22:46 -06:00
FusionPBX
8443350604
Update database.php
2020-03-06 01:09:12 -07:00
FusionPBX
40ed806b3b
Update database.php
2019-09-18 20:39:28 -06:00
FusionPBX
e1d5b87843
Update database.php
2019-09-18 20:09:11 -06:00
Nate
836fb87136
Misc Classes: Database class integration.
2019-09-02 15:57:18 -06:00
FusionPBX
7d80afbdb0
Update database.php
2019-08-15 01:54:50 -06:00
FusionPBX
6d8fa9acb4
Update database.php
2019-07-29 10:33:55 -06:00
FusionPBX
71a4afeae5
Update database.php
2019-05-14 11:08:01 -06:00