Commit Graph

26 Commits

Author SHA1 Message Date
FusionPBX
3c170f8597 Check all active modules with one event socket request
This makes the modules page lighter on resources and load much faster.
2023-09-28 10:48:36 -06:00
fusionate
d9d17a6917 Misc: Remove parameters from event_socket_create() calls. 2023-09-20 18:43:17 +00:00
FusionPBX
f7b1ad53cd is_writable prevents an error writing to the file if its not writable 2023-07-16 00:44:18 -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
3f94d93411 Modules: Updates for PHP 8.1 2023-06-09 17:51:01 +00:00
fusionate
9122baa9d7 Modules [Class]: Updates for PHP 8.1 2023-05-17 20:35:45 +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
5ed64d2be4 Prevent an error message if the directory doesn't exist. 2022-09-12 11:41:03 -06:00
Nate
bec5c647c9 List View: Updates to action classes. 2019-11-30 15:18:48 -07:00
Nate
cd8e150947 Update modules.php 2019-11-29 15:19:37 -07:00
Nate
cedfb1ad9e Phrases: List view updates. Minor Adjustments: IVR Menus, Modules, Number Translations. 2019-11-26 16:05:39 -07:00
Nate
62386072d9 Modules: Adjust delete method in class. 2019-11-26 13:59:04 -07:00
Nate
c34fbe9b4e Modules: List view updates. 2019-11-26 13:50:24 -07:00
FusionPBX
12a3ca6877 Update modules.php 2019-09-03 08:03:26 -06:00
Nate
836fb87136 Misc Classes: Database class integration. 2019-09-02 15:57:18 -06:00
markjcrane
60555da7ee Add module order for modules that are already in the database without an order set. 2016-05-26 12:46:07 -06:00
markjcrane
c92606353e Remove save_module_xml() function and move it it into the modules class as the xml method. Eventual goal move everything out of switch.php. 2016-05-26 11:21:37 -06:00
markjcrane
db697b8342 Adjust the order of the modules. 2016-05-26 11:01:03 -06:00
markjcrane
4c4a1bd15e Start using the module order. 2016-05-26 10:31:59 -06:00
FusionPBX
fb745afbb2 Update modules.php
Set a default order when adding the modules.
2016-05-24 23:42:05 -06:00
FusionPBX
6c8aa675a2 Merge pull request #1468 from mafoo/WhitespaceClean-app/batch_1
WhitespaceClean-app/batch_1
2016-03-11 13:35:41 -07:00
mafoo
3b438926b6 WhitespaceClean-app/batch_1
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 11:56:29 +00:00
mafoo
8612897a03 added mod_translate to the modules list 2016-03-09 17:46:20 +00:00
Mark Crane
e3dd425f8f Change the class name from switch_modules to modules. 2014-11-23 09:45:10 +00:00
Mark Crane
ea52b98700 Move modules class from fusionpbx/resources/clasess to the app/modules/resources/classes directory. 2014-11-23 09:35:15 +00:00