FusionPBX
d1baf05891
Remove redundant database instances ( #7535 )
2025-10-01 08:56:06 -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
fusionate
108693ef01
Extensions - List, Edit, Copy, Delete, Toggle: Maintain list sorting and page state.
2025-09-02 12:46:22 -06:00
FusionPBX
038ed4ded3
Update extensions.php
2025-09-01 21:07:58 -06:00
FusionPBX
cf89f91d69
Fix the query string in the order by
2025-09-01 21:02:03 -06:00
FusionPBX
ccb4b2a5bf
Use the settings class get method
2025-08-26 13:02:14 -06:00
FusionPBX
c3952028b1
Use the settings get method for the buttons
2025-04-14 10:36:21 -06:00
FusionPBX
b7e24103bf
Use the sessions get method to get rows_per_page
2025-04-14 09:27:06 -06:00
frytimo
d529021b3f
Use boolean setting as true boolean ( #7284 )
...
* use boolean setting as true boolean
* Update settings class to use the php filter_var function for boolean
Using the built-in filter type for boolean seems like a better option as they are faster, already hardened, and more widely tested.
I found this better method used originally by Mark J. Crane in 2022 in the content.php page so I included it here.
* Update settings class to use the php filter_var function for boolean
Using the built-in filter type for boolean seems like a better option as they are faster, already hardened, and more widely tested.
I found this better method used originally by Mark J. Crane in 2022 in the content.php page so I included it here.
2025-03-04 11:25:47 -07:00
Alex
8cfc221da4
Redirect to the correct domain if using show all ( #7265 )
...
* Redirect to the correct domain if using show all
* Update bridges.php
* Update call_recordings.php
* Update conference_controls.php
* Update conference_profile_params.php
* Update conference_profiles.php
* Update email_queue.php
* Update event_guard_logs.php
* Update fax_queue.php
* Update user_settings.php
* Update require.php
2025-02-20 16:30:09 -07:00
Alex
b43bcb9a13
Added the heading counter div ( #7124 )
2024-09-06 16:43:42 -06:00
FusionPBX
2182ebd0b4
Added the content card div
2024-09-05 23:37:34 -06:00
FusionPBX
b7b3073d58
Device lines for the current domain
2024-08-14 22:34:39 -06:00
fusionate
37af618998
Extension - List: Show registration status icon (when permitted).
2024-08-12 12:15:40 -06:00
FusionPBX
a5d44ae44b
Use the database more efficiently
2024-07-26 17:04:02 -06:00
FusionPBX
0a4e227706
Update extensions.php
...
Remove user_context from v_devices as its redundant when the domain_uuid is also used.
2024-05-13 14:32:13 -06:00
frytimo
41eb7ac8d3
Fix empty line printing on console ( #6956 )
...
* fix empty line printing on console
2024-04-23 08:53:14 -06:00
FusionPBX
6b9a530cf2
[Bug Fix] Extensions correct the template
...
Needed to add a few more items to the where clause to get the correct templates.
- domain_uuid
- server_address
2024-01-03 10:41:06 -07:00
FusionPBX
79817dc205
Add device template and outbound number columns
...
New Permissions
- extension_device_address
- extension_device_template
Add column Outbound Number for the outbound caller ID number
2023-12-16 13:08:34 -07:00
FusionPBX
38786cacbe
Integrate device address in the extensions SQL query.
2023-12-16 11:56:30 -07:00
K-Flagman
fbb2af9bad
Device address in extensions list ( #6811 )
...
* Update app_config.php
adding permissions for showing MAC address in the extension list
* Update extensions.php
Adding a new column with MAC address info if it exists for the extension.
* Renamed the permission to access of extension address
* Fixed fields where we used deprecated "device mac address"
Also added support for "show all" button (load device list for current domain or get all devices)
2023-12-16 11:15:22 -07:00
fusionate
0e9fd9aaa6
Extensions - List: Minor adjustment to order by, remove deprecated method of natural_sort() integration.
2023-10-19 18:55:19 +00:00
FusionPBX
28fa49a84a
Hide extension import button
2023-09-21 16:34:23 -06:00
fusionate
f88af8b502
Extensions - List: Hide Call Group if no permission to view.
2023-07-31 22:37:37 +00:00
markjcrane
fcda82136f
Fix contact import and extension import button
2023-06-20 08:11:07 -06:00
frytimo
d7bbcd89f5
Use magic constant dir ( #6711 )
...
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__
* use magic constant __DIR__ to load only functions.php
* replace spaces with tab character
* update dirname command to use levels instead of nesting
* use magic constant __DIR__
* update dirname command to use levels instead of nesting
* Update access_control_edit.php
* Update access_control_import.php
* Update access_controls.php
* Update dnd.php
* Update access_controls_reload.php
* Update call_center_agents.php
* Update call_center_agents.php
* Update fax_queue.php
* Update login.php
* Update pdo.php
* Update pdo_vm.php
* Update switch.php
* Update index.php
* Update css.php
* Update v_mailto.php
* Update fax_to_email.php
---------
Co-authored-by: FusionPBX <markjcrane@gmail.com >
2023-06-15 11:28:23 -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
markjcrane
9e5dec8113
Add some minor fixes
2023-05-24 15:39:10 -06:00
fusionate
c6eba58cf7
Extensions - List: Updates for PHP 8.1
2023-05-17 05:26:08 +00: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
93ec88629b
Replace root.php
2022-10-10 17:28:02 -06: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
demonspork
15894f4e17
Fixed Issue with extension limits preventing Extension Search
...
Extension searches would fail if an extension limit was set. This is because the unset($parameters) that was used at the end of the query that counts the extensions is also unsetting the "search" parameter that was set previously. I moved the //get total extension count for domain query to happen before the search parameter is added to fix it.
2020-11-19 17:18:51 -06:00
FusionPBX
e9584fe09c
Add permission_exists outbound_caller_id_name to hide column if user is does not have the permission.
2020-07-07 11:04:17 -06:00
Nate
6d451e311b
Extensions - List: Fix Registered state and count when Show All enabled.
2020-04-13 11:39:13 -06:00
Nate
5b5effe58f
Extensions - List: Update to use reworked modal.
2020-03-25 16:52:30 -06:00
Nate
3b9a3b5e68
Extensions: Use default cancel button icon.
2020-03-05 09:44:43 -07:00
Nate
029c7174b4
Multiple - Add IDs to common/default action buttons.
2020-03-05 00:05:45 -07:00
Nate
e869d1ba38
Extensions - Edit: Remove deprecated javascript.
2020-03-04 17:56:06 -07:00
Nate
8a6ba1fda2
Extensions: Option to delete voicemail when deleting extensions.
2020-02-18 07:44:01 -07:00
Nate
aa593c03fc
List Views: Minor adjustments to code.
2019-11-30 14:18:00 -07:00
Nate
bfb17507f1
List Views: Simplify action handling.
2019-11-30 11:12:41 -07:00
Nate
0e56d1b7e5
Extensions: List view updates.
2019-11-18 13:31:06 -07:00
Nate
e85b12be57
Update extensions.php
2019-11-02 21:12:12 -06:00
chansizzle
2ad1e94563
Update extensions.php ( #4682 )
2019-09-27 15:52:14 -06:00
Nate
abc4d01bac
Extensions: Retain current list page through edit, (single) delete, and back operations.
2019-09-10 18:07:49 -06:00
Nate
8a6eecd20a
Extensions: Fix paging.
2019-09-10 12:54:06 -06:00
Nate
86c32484ea
Extensions: Add natural sorting for PostgreSQL (Upgrade > App Defaults to create required function).
2019-09-09 08:21:58 -06:00
FusionPBX
d5ef375a35
Update extensions.php
2019-09-04 23:15:10 -06:00