Commit Graph

57 Commits

Author SHA1 Message Date
FusionPBX 8b7bd29456
Fix temporary permissions 2024-11-29 14:06:08 -07:00
markjcrane 26530d6fe0 Fix end of file line only use one line feed at the end of the file 2024-09-19 16:44:08 -06:00
frytimo 2cbb4dbc31
remove instances where a pointer is used in a foreach loop for value (#7108) 2024-08-22 12:41:10 -06:00
FusionPBX a5d44ae44b
Use the database more efficiently 2024-07-26 17:04:02 -06:00
markjcrane 025f243bac Prevent PHP 8.1 warnings 2023-07-13 17:00:47 -06:00
fusionate 603199f1d4
Extension [Class]: Updates for PHP 8.1 2023-05-17 07:02:26 +00:00
fusionate 4c50b6e83a
Extension [Class]: Updates for PHP 8.1 2023-05-17 05:25:48 +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
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 dd106a6871
Replace event_socket_mkdir with php mkdir. (#6170) 2021-12-02 19:03:55 -07:00
fusionate 229bc0ca4e Extensions - Delete: Restore concurrent deletion of voicemail box. 2020-11-30 14:17:30 -07:00
fusionate c67c8cd4c2 Destination Select - Dynamic: Clear session array on add/toggle/delete of a destination type record. 2020-11-30 14:15:57 -07:00
Nate 8a6ba1fda2 Extensions: Option to delete voicemail when deleting extensions. 2020-02-18 07:44:01 -07:00
Nate a6b06ee8a9 Call Forward/Follow Me/DND: Update classes. 2019-11-30 21:42:15 -07:00
Nate bec5c647c9 List View: Updates to action classes. 2019-11-30 15:18:48 -07:00
Nate 0e56d1b7e5 Extensions: List view updates. 2019-11-18 13:31:06 -07:00
Nate 836fb87136 Misc Classes: Database class integration. 2019-09-02 15:57:18 -06:00
FusionPBX 72cdefba59 Update extension.php 2016-11-29 11:51:33 -07:00
FusionPBX fe49484055 Update extension.php
Improve the extension->exists method.
2016-11-29 11:38:00 -07:00
FusionPBX f65903e75e Update extension.php
Update the function exists method.
2016-11-29 11:04:00 -07:00
FusionPBX 9cac833ee3 Update extension.php
Remove the extra exists method added a few hours ago.
2016-11-24 11:03:13 -07:00
jebsolutions 9626f23072 prevent cloning duplicate extensions (master #1821) (#2033)
* prevent cloning duplicate extensions

app/extensions/app_languages.php
+ add duplicate extension error prompt

app/extensions/extension_copy.php
+ add check to see if duplicate extension exists

app/extensions/resources/classes/extension.php
+ add function to check if extension exists

* fix typo

* Update app_languages.php

* Update extension_copy.php

* Update extension.php

* Update extension_copy.php

Use the global app_languages.php message-duplicate translation.

* Update extension_copy.php

* Update extension.php
2016-11-24 00:23:44 -07:00
FusionPBX 5fe295a818 Update extension.php
Add exists method to the extension class.
2016-11-05 22:32:20 -06:00
FusionPBX bd15a0a52d Update extension.php 2016-10-18 00:18:32 -06:00
FusionPBX 9ddd8f81dc Update extension.php
Merged pull request 1607 manually.
2016-08-25 15:59:32 -06:00
markjcrane bd23c78670 Use FreeSWITCH to run mkdir so it inherits its own user and group permissions. 2016-06-28 15:18:40 -06:00
Mafoo 71525c26b0 I got the permissions wrong (#1616)
it should have been in octal mod (leading 0)
also updated the fax application as it needs the stickygid too
2016-05-26 05:55:46 -06:00
Mafoo 86c4742347 Added sticky GID permissions (#1615) 2016-05-25 21:51:41 -06:00
markjcrane 471da2bca0 Add (!class_exists('extension')) 2016-04-28 16:57:42 -06:00
blackc2004 52bd6a1029 Update extension.php 2015-12-09 14:04:26 -08:00
blackc2004 cdb016277d Update extension.php 2015-10-29 12:24:55 -07:00
FusionPBX e6a85e776b Merge pull request #1018 from moteus/number_alias_as_vm_id
Change. Use number_alias as voicemail_id.
2015-08-11 20:43:20 -06:00
Alexey Melnichuk e89a499b2c Change. Use number_alias as voicemail_id. 2015-07-02 18:49:58 +04:00
Alexey Melnichuk 9097861e30 Change. Does not use `default` dialplan/directory.
I think it more consistent that it allows edit domain in single place.
Also on my Windows machine while installing all users/context creates not in `default` directory.
And I have problem because remove users did not work, `default.xml` file contain `$${v_domain}` variables.
2015-07-02 13:14:35 +04:00
Mark Crane 35ad4784dd Add call_timout to the extension xml files. 2015-05-05 07:45:05 +00:00
Nate Jones 71a861580c Voicemail: Added additional options for email notification (attach vm, download link, auto-play listen link). Also cleaned up email templates a little. 2015-02-24 08:09:01 +00:00
Mark Crane ba54bce345 Remove the a1 hash which breaks integration with Asterisk. a1 hash was also undermined by reverse authentication. 2014-12-09 09:45:14 +00:00
Mark Crane 14babb88ed Set extension variables for forward all, busy, no answer, and do not disturb. 2014-12-03 08:05:41 +00:00
Mark Crane b4c32e7fc4 Remove the closing multi-line comment 2014-10-11 07:26:59 +00:00
Mark Crane 58fe5d54a7 Add the menu_item_group_uuid primary key when adding a group to the menu 2014-10-11 07:16:04 +00:00
Mark Crane 110ae90cae Add reverse authentication required for the provision and reboot options on the status -> registrations. 2014-09-17 17:04:41 +00:00
Mark Crane 0c58eaa56d Add domain_name to the extension xml file 2014-08-03 10:48:45 +00:00
Mark Crane 3df14551c0 A1 Hash the extension and voicemail passwords'; 2014-07-18 04:12:06 +00:00
Mark Crane 7e423aab8b Fix extension writing to xml files when number alias is not used 2014-05-28 03:19:51 +00:00
Mark Crane ac47cc2828 Add ability to configure the extension directory xml to provide the option to use freeswitch voicemail 2014-05-25 01:43:47 +00:00
Mark Crane 52b946f575 Add emergency caller id name to the extension xml and to xml handler. 2014-05-01 04:59:33 +00:00
Mark Crane 83b35342a3 add a way to customize the default dial string for follow me 2014-04-30 09:30:09 +00:00
Mark Crane a1fb17656c add a way to customize the default dial string for an extension 2014-04-30 09:13:22 +00:00
Mark Crane 989c8943cb Add user_record variable to the extension/user XML. 2014-04-03 17:35:18 +00:00
Mark Crane 8ebfbdba15 Voicemail information should only be saved in the voicemail table. 2013-09-28 20:55:25 +00:00