Commit Graph

765 Commits

Author SHA1 Message Date
FusionPBX 2866580c7c
Add new permission and translation 2023-12-16 13:12:23 -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
FusionPBX 4c60313ed7
Remove deprecated fields id and v_id 2023-12-04 13:27:20 -07:00
frytimo 3a4c2f72e2
Event socket bug fix and more docs (#6823)
* Add documentation to methods. Use is_resource for added type detection

* Allow connect to specify timeout in microseconds with default 30,000

* Update calling mechanism for event sockets

* Update project for new singleton event sockets

* remove unused variable

* catch errors on closing the socket
2023-12-02 17:16:18 -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
fusionate f1ab4c365e
Destination/Action Select: Implement natural sorting for multiple apps. 2023-10-19 18:02:00 +00:00
FusionPBX d5f39cf0b2
Call Flow Summary add name, application, link, and a new summary style. Controlled by summary_style setting. 2023-10-12 23:58:11 -06:00
OskarFranck 0773a346c2
Bulk changes of Swedish translations (#6807)
authored-by: oskfra <oskar.franck@bahnhof.net>
2023-09-28 09:32:34 -06:00
FusionPBX 28fa49a84a
Hide extension import button 2023-09-21 16:34:23 -06:00
fusionate d9d17a6917
Misc: Remove parameters from event_socket_create() calls. 2023-09-20 18:43:17 +00:00
FusionPBX c6d966395e
Use settings class for app_defaults.php 2023-09-16 00:22:12 -06:00
fusionate f88af8b502
Extensions - List: Hide Call Group if no permission to view. 2023-07-31 22:37:37 +00:00
FusionPBX 4e861b0dcb
Hide device information If the extension type is virtual 2023-07-13 21:40:43 -06:00
markjcrane d3aed6707e Update the extension_type when the value is null 2023-07-13 18:29:12 -06:00
markjcrane e06c8ea208 Add extension_type options: default, virtual 2023-07-13 17:11:07 -06:00
markjcrane 025f243bac Prevent PHP 8.1 warnings 2023-07-13 17:00:47 -06:00
FusionPBX 8841e28f32
Default setting catetogies should use an underscore rather than a space 2023-07-13 08:17:44 -06:00
FusionPBX 999858e01c
Remove formatting for the device_address 2023-07-03 12:04:19 -06:00
markjcrane d7b3e25cd4 Allow case insensitive UUID 2023-07-03 08:33:34 -06:00
fusionate 85ed88878d
Extension - Edit: Add option to generate Device Address UUID, respecting device limits (if any). 2023-06-30 22:40:17 +00:00
fusionate ffbd2996f1
Extension - Edit: Format display of device address in Provisioning select box. 2023-06-30 21:49:44 +00:00
FusionPBX 6fa3dcdb53
Fix a spelling mistake for empty 2023-06-30 14:26:36 -06:00
FusionPBX 1ecd3c7be9
Remove to allow more flexibility on the device_address 2023-06-30 14:23:19 -06:00
markjcrane 53779d50d3 Change device_mac_address to device_address 2023-06-29 23:40:11 -06:00
FusionPBX 54beb80b32
Update extension_edit.php
Fix outbound caller ID name select.
Additional PHP 8.1 updates
2023-06-29 09:32:43 -06:00
fusionate 7c85bc95f6
Extension - Edit: Update for PHP 8.1 2023-06-22 18:35:59 +00:00
markjcrane fcda82136f Fix contact import and extension import button 2023-06-20 08:11:07 -06:00
FusionPBX 094a0f4388
Only set the device_vendor when the value is not empty 2023-06-16 13:02:47 -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
markjcrane f506b00b57 PHP 8.2 Deprecated dynamic properties 2023-06-12 21:27:23 -06: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 5d9c8ad770
Extension - Edit: Update for PHP 8.1 2023-06-12 23:04:33 +00:00
fusionate 03d446ec0d
Extension - Edit: Updates for PHP 8.1 2023-06-09 18:40:15 +00: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
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
fusionate 980286a2e3
Extension - Edit: Update for PHP 8.1 2023-05-29 20:07:53 +00:00
markjcrane 9e5dec8113 Add some minor fixes 2023-05-24 15:39:10 -06:00
Alex 05063e35d2
Update translations (#6694)
* Update app_languages.php
2023-05-18 15:36:17 -06:00
markjcrane 9a97c44952 Fix the provision template list 2023-05-18 01:42:48 -06:00
fusionate 74959e69c7
Extension - Import: Updates for PHP 8.1 2023-05-17 21:42:32 +00:00
fusionate 766cf7ef66
Extensions - Export: Updates for PHP 8.1 2023-05-17 21:06:22 +00:00
fusionate 6816921f47
Extension - Edit: Updates for PHP 8.1 2023-05-17 07:02:45 +00:00
fusionate 603199f1d4
Extension [Class]: Updates for PHP 8.1 2023-05-17 07:02:26 +00:00
fusionate c6eba58cf7
Extensions - List: Updates for PHP 8.1 2023-05-17 05:26:08 +00:00
fusionate 4c50b6e83a
Extension [Class]: Updates for PHP 8.1 2023-05-17 05:25:48 +00:00
Alex ac38507462
Update translations (#6682)
* Update translations

* Update app_menu.php

* Update app_languages.php
2023-05-10 18:20:44 -06:00
fusionate dae1cc9909
Dashboard - Caller ID: Updates for PHP 8.1 2023-05-10 23:27:52 +00:00
Alex 3e0ec8b752
Add missing translations (#6673) 2023-05-09 11:39:02 -06:00
Alex 10a2d87ee6
Add missing translations (#6662)
* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php

* Update app_languages.php
2023-05-05 15:22:22 -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 381b3bdd9f Add menu translations 2023-05-02 20:30:13 -06:00
markjcrane 41e87e7f01 Add additional languages 2023-05-02 20:22:44 -06:00
Harry Foster 83af204be1
Honor the default settings for password complexity and strength when copying extensions (#6632) 2023-04-28 11:21:35 -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
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
FusionPBX d8a45a5872
Add variable ${caller_id_name} 2023-03-09 18:39:58 -07:00
fusionate 2c76741976
Dashboard - Caller ID: Rework style to match other widgets. 2023-02-20 19:49:32 +00: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
Alex 2acda5ea06
Add dashboard, device, extension, and gateway enabled toggle (#6548)
* Update system_counts.php

* Update call_forward.php

* Add dashboard widget enabled toggle

* Add device enabled toggle

* Add extension enabled toggle

* Add gateway enabled toggle

* Update extension_edit.php

* Update extension_edit.php

* Update device_edit.php

* Update gateway_edit.php
2023-02-10 11:14:43 -07:00
fusionate 46854d4025
Voicemail - Edit: Renenable Listen Link option in select, like Extension edit page. 2023-02-06 23:24:49 +00:00
fusionate 87716d051d
Extension - Edit: Clarify more descriptions. 2023-01-28 21:38:46 +00:00
fusionate 4ba6148f57
Extension - Edit: Add clarity to Max Registrations and Limit Max descriptions. 2023-01-28 21:31:00 +00:00
fusionate 4b7bac9ba1
Extension - Edit: Remove extra line breaks. 2023-01-28 21:18:01 +00:00
demonspork 7e58f6d773
Fix edge case permissions problem with extension_advanced (#6512)
* Fix edge case permissions problem with extension_advanced
2022-12-31 11:57:41 -07:00
FusionPBX 88bc541d0d
Create database object if not set. (#6492)
* Create database object if not set.
2022-11-08 09:40:12 -07:00
frytimo 4a8e148ccf
remove is_numeric check for voicemail id (#6484)
Co-authored-by: Tim Fry <tim@voipstratus.com>
2022-10-11 21:32:32 -06:00
FusionPBX 93ec88629b
Replace root.php 2022-10-10 17:28:02 -06: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
frytimo e88176c755
voicemail boxes can now be text or numeric (#6467) 2022-09-07 16:37:02 -06:00
FusionPBX e0866eba32
Force the value to lower case for enabled. 2022-06-06 18:04:06 -06:00
FusionPBX 93c7714148
Add new permission voicemail_file (#6403)
* Add new permission voicemail_file

* Update app_config.php

* Update voicemail_edit.php
2022-06-01 10:48:33 -06:00
FusionPBX 83eaee56a2
number_alias permission removed from superadmin group.
Not providing permissions to this by default to discourage using it. However anyone can assign the permission to any groups of their choice.
2022-05-31 09:42:26 -06:00
FusionPBX eee7786529
Remove some code redundancy. 2022-05-02 08:27:15 -06:00
FusionPBX 16b8d5e172
Update extension_edit.php 2022-05-02 08:17:53 -06:00
Joseph f080a39053
Fix voicemail transcriptions not being pushed (#6339)
* Fix voicemail transcriptions not being pushed

When creating a new extension, under the Voicemail tab, Transcribe is empty. This was causing users to not receive VM transcriptions. Adding the above code will push transcribe = true or false (depending on the value in default settings) after creating a new extension.
2022-05-02 08:06:21 -06:00
FusionPBX 8e530abb0d
Add voicemail_transcription_enabled to extension_edit.php (#6265)
* Rename permission to voicemail_transcription_enabled

* Update voicemail_edit.php

* Add voicemail_transcription_enabled

* Update app_languages.php

* Update voicemail_edit.php
2022-01-29 02:28:07 -07:00
FusionPBX e0e6a529ec
Only use the transcription_enabled_default on add. 2022-01-28 08:54:37 -07:00
FusionPBX ecdbc1b8be
Set the extension dial_string to null when the value is user_busy. 2022-01-27 00:08:41 -07:00
AlexC 78c5666aff
Fixed dashboard layout bugs (#6263)
* Fixed dashboard layout bugs

* Update domain_limits.php

* Update missed_calls.php

* Update recent_calls.php

* Update voicemails.php

* Update system_counts.php

* Update system_cpu_status.php

* Update system_status.php

* Update caller_id.php
2022-01-25 11:03:37 -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 67be72b452
Database save method set to false. (#6215)
* When database save set to false for app_defaults.php
2021-12-24 12:42:16 -07:00
FusionPBX 27540bb42c
Fix the display_name 2021-12-15 19:36:05 -07:00
FusionPBX a80a22f797
Default the device line label to the extension number 2021-12-15 15:06:13 -07:00
FusionPBX 2db571f2fc
Correct the name dislplay_label to label. 2021-12-15 15:02:17 -07:00
FusionPBX b2c8f976a7
Add line_label and line_display_name default settings. (#6195)
* Update app_config.php

* Add device line_label and line_dislplay_name.
2021-12-15 14:39:34 -07:00
FusionPBX dd106a6871
Replace event_socket_mkdir with php mkdir. (#6170) 2021-12-02 19:03:55 -07:00
FusionPBX 6782195989
Update extension_edit.php 2021-11-30 14:20:25 -07:00
FusionPBX 4dff27a076
When adding an extension make the voicemail directory. 2021-11-23 10:09:08 -07:00
FusionPBX 4f6c7f5d5e
Fix the path in the link. 2021-11-17 08:02:48 -07:00
demonspork 36cb791e0b
Add Permission to set Empty emergency Number (#5944)
* Add Permission to set empty emergency Number
2021-11-16 13:42:31 -07:00
FusionPBX 1b7785c8ab
Update extension caller_id so it would work better with the dashboard 2021-11-11 14:05:22 -07:00