fusionate
d0481896ba
Destinations [Class]: Updates for PHP 8.1
2023-05-22 23:05:44 +00:00
fusionate
a707462979
Destinations - Import: Updates for PHP 8.1
2023-05-22 23:05:25 +00:00
fusionate
9abea834b5
Destinations - Export: Updates for PHP 8.1
2023-05-22 23:05:10 +00:00
fusionate
d0b6874f23
Destination - Edit: Updates for PHP 8.1
2023-05-22 23:04:46 +00:00
FusionPBX
e7730e9e69
Prevent overwriting variables
2023-05-21 16:52:14 -06:00
FusionPBX
e0d8574410
Destinations - change negative condition to a positive one.
...
Usually best use positive conditions rather as they are easier to follow.
2023-05-21 16:19:54 -06:00
markjcrane
f1ac3d92dd
Destinations more minor changes
2023-05-17 16:32:05 -06:00
markjcrane
10a4ceae65
Default destination type to inbound. Use is_array where it is required
2023-05-17 16:03:36 -06:00
markjcrane
af8a6991b1
Initialize the array if its empty
2023-05-17 14:18:46 -06:00
markjcrane
7d18e3eedc
Destinations update for PHP 8.1
2023-05-17 11:31:53 -06:00
markjcrane
6d7e125743
Fix all PHP 8.1 messages for upgrade.php
2023-05-17 10:07:49 -06:00
markjcrane
2afda399e6
IVR Menu code changes for PHP 8.1
2023-05-16 22:55:19 -06:00
Alex
a46c5dbfc9
Update translations ( #6688 )
...
* Update app_languages.php
2023-05-12 15:14:59 -06:00
Alex
3e0ec8b752
Add missing translations ( #6673 )
2023-05-09 11:39:02 -06:00
FusionPBX
eb84bf476b
Add hangup_after_bridge and continue_on_fail
...
Add both of these variables when using destination bridge application.
2023-05-06 20:38:01 -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
FusionPBX
5a3b35cb83
Add additional languages ( #6654 )
2023-05-02 16:12:06 -06:00
FusionPBX
66322d63d9
Update app_languages.php
2023-04-30 00:10:36 -06:00
FusionPBX
a384772c07
Update app_languages.php
2023-04-30 00:08:33 -06:00
FusionPBX
5b9e9f54a8
Add missing languages
2023-04-29 23:51:25 -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
dbeb793710
Get the destination_number when needed
...
If the user doesn't have permission to set the destination_number then get it from the database
2023-04-10 12:09:14 -06:00
FusionPBX
e2c22776ce
Country code note required but highly recommended
2023-04-03 09:44:08 -06:00
FusionPBX
4dbee9b596
Fix bridge statements from recent change
...
Example bridge statement broken by the sanitize
before
sofia/internal/$1${regex(${sofia_contact(101@dev.local )}|^[^@]+(.*)|%1)}
after
sofia/internal/1{regex({sofia_contact(101@dev.local )}|^[^@]+(.*)|%1)}
2023-03-31 19:00:23 -06:00
FusionPBX
eac6f09832
Update how dialplan_detail_type is sanitized
...
These detail types are safe: ${sip_to_user} and ${sip_req_user}
2023-03-31 13:34:22 -06:00
FusionPBX
08fce99db7
Allow sip_to_user and sip_req_user
2023-03-31 11:10:58 -06:00
Alex
43eb2a5b9d
[security] sanitize the xml ( #6595 )
...
* Update call_center_queue_edit.php
* fix typo
* Update call_flow_edit.php
* Update conference_center_edit.php
* Update conference_edit.php
* Update destination_edit.php
* Update fax.php
* Update ivr_menu_edit.php
* Update ring_group_edit.php
* Update app_defaults.php
* Update ivr_menu_copy.php
* Update destination_imports.php
* Update app_defaults.php
2023-03-30 12:46:36 -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
3247357c5d
Remove action == add
2023-03-22 10:01:43 -06:00
FusionPBX
26b0988075
destination_country_code is required
2023-03-22 09:53:28 -06:00
FusionPBX
42ca53567d
Re-enable the other destinations
...
Permission re-added as its used for the destination select list.
2023-03-20 10:33:54 -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
129d173624
Add enable toggle to more pages ( #6549 )
...
* Add bridge enabled toggle
* Update call_block_edit.php
* Add call flows enabled toggle
* Add conference center enabled toggle
* Add conference control detail enabled toggle
* Add conference control enabled toggle
* Add conference enabled toggle
* Add phrase enabled toggle
* Add stream enabled toggle
* Add voicemail enabled toggle
* Add destination enabled toggle
* Add time condition enabled toggle
* Add default settings enabled toggle
* Add domain enabled toggle
* Add email template enabled toggle
* Add module enabled toggle
* Add number translation enabled toggle
* Add sip profile enabled toggle
* Add switch var enabled toggle
2023-02-13 18:02:01 -07:00
FusionPBX
acf3781bd3
Use the destination_prefix permission
2022-11-01 12:07:56 -06:00
FusionPBX
5a71e16f15
Use the config.conf file
2022-10-22 23:45:59 -06:00
FusionPBX
598eb4ab31
Wrap is_array arround foreach
2022-10-13 08:43:32 -06:00
markjcrane
d50bcb476a
Replace root.php
2022-10-10 16:35:14 -06:00
FusionPBX
93dd8bda71
Change variabale name from action to destination_action.
...
Resolves a conflict with another variable called action.
2022-09-30 16:18:39 -06:00
FusionPBX
884e90ac39
Comment out the database response.
2022-09-18 04:48:17 -06:00
markjcrane
eb5c25aa35
Add insert_date, insert_user, update_date, update_user to all tables
2022-09-18 00:54:37 -06:00
FusionPBX
b17748dc1e
Use loop only if destination_actions is an array
2022-09-11 10:22:23 -06:00
FusionPBX
c12cd0d296
Unset destination_app and destination_data
...
This fixes a bug where a blank empty value shows the previous value.
2022-09-07 16:33:10 -06:00
FusionPBX
8f8e0795ff
Add label-file_name
2022-09-06 17:16:40 -06:00
FusionPBX
aa2d0eb477
Show the file name on the second page of the import.
2022-09-06 17:15:35 -06:00
FusionPBX
6bed337061
Chunk the work into batches of a 1000 numbers at a time.
...
This is useful for customers with over 1000 destination numbers. Will work from command line with any number of destination numbers.
2022-09-01 11:11:13 -06:00
FusionPBX
d62f360f77
Delete the cache in e.164 format.
2022-08-24 16:53:31 -06:00