Commit Graph

67 Commits

Author SHA1 Message Date
frytimo 08001488f4
Allow namespace in auto loader (#7307)
* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove closing tag

* remove invalid method params

* remove closing tag

* remove closing tag

* Update auto_loader to load each class file in the project
Update the auto_loader class to use an include statement on each file in the project to load the class within the file. This will allow mismatched names within the file to be loaded and mapped according to the declaration instead of the filename. The class is then checked against the parsed classes from the PHP engine so that namespaces are available and mapped to the file they were declared in. An update was also made to the search algorithm used to find a file that was not already loaded by collapsing the array to have only valid matches to increase performance on a cache miss. Logging within the auto_loader has been moved to a function.
Multiple files were modified to allow the include statement. When the class has the `if(class_exists())` statement, the auto_loader is called to check for the class. This caused an infinite loop scenario so all wrappers have been removed. The auto_loader will now break the loop by directly modifying the internal classes array instead of trying to restart with the 'reload_classes' method.

- APCu is used to cache classes so any loading of the classes is done only once. To clear the APCu cache, restart php-fpm or call the auto_loader::clear_cache() function.
- Cache file is used when APCu is not available. To clear the cache remove it from the tmp folder or call the auto_loader::clear_cache() function.
- All classes must no longer have a class_exists wrapper to benefit from the performance boost.
- Classes should not be directly included when the auto_loader is used.

* remove include statement of class file

* Update destinations.php
2025-03-12 13:55:47 -06:00
FusionPBX de516ed210
Minor version update 5.4.2 2025-03-01 20:59:48 -07:00
FusionPBX 3ab848e8c0
Minor version update 5.4.1 2025-01-29 22:26:47 -07:00
FusionPBX cd8d5302ac
Fix temporary permissions 2024-11-29 13:57:01 -07:00
FusionPBX 34b8679917
Update the version 5.4.0
This version change seperates it from the current release version.
2024-10-29 15:19:49 -06:00
FusionPBX 9a24c9fa42
Update version to 5.3.3
Major version update. A new branch 5.3 branch created from this point.
2024-09-16 21:44:20 -06:00
NorwayFun aabc2f33a8
Localization: Add full support for Georgian language (#7110)
* Translating apps to Georgian

* Translating apps to Georgian

* Translating more apps to Georgian

* Translating more apps to Georgian

* Translating more apps to Georgian

* Translating more apps to Georgian

* Translating more apps to Georgian

* Translating theme to Georgian

* Translating core to Georgian

* Translating core to Georgian

* Translating core to Georgian by Marie

* Translating core to Georgian

* Translating resources to Georgian by Marie

* Translating core to Georgian

* fix app_languages.php
2024-08-28 09:59:02 -06:00
FusionPBX cd1cc70044
Remove redundant database objects
This reduces database connections and improves performance.
2024-08-05 14:22:17 -06:00
FusionPBX 390bc61cf6
Update the version to 5.3.2 2024-07-25 03:36:33 -06:00
FusionPBX 0f284c7a98
Minor version update 5.3.1 2024-05-30 21:29:13 -06:00
FusionPBX e3733381eb
Update the version of the Master Branch
This is not a release yet it's a version for the Master Branch. We are doing this to separate it from the current release.
2024-03-01 18:35:27 -07:00
FusionPBX 8b90eee5a3
Major version update release 5.2.0 2024-01-24 13:11:53 -07:00
FusionPBX d0c3840a18
Minor version update 5.1.5 2023-12-29 10:03:04 -07:00
FusionPBX 4ecae0bc15
Minor version update 5.1.4 2023-12-18 16:12:40 -07:00
FusionPBX 4c60313ed7
Remove deprecated fields id and v_id 2023-12-04 13:27:20 -07:00
FusionPBX bc5d938434
Minor version update 5.1.3 2023-10-24 17:09:07 -06:00
FusionPBX 3eb37e473e
Update the version to 5.1.2 2023-09-28 15:04:55 -06:00
FusionPBX 879eb67a8a
Minor version update 5.1.1 2023-08-30 18:47:45 -06:00
FusionPBX 31ae516a49
FusionPBX 5.1.0 full release 2023-07-15 19:07:35 -06:00
FusionPBX a034fbe08b
Update the version to 5.1.0 RC2 2023-06-27 11:26:48 -06:00
markjcrane 6d7e125743 Fix all PHP 8.1 messages for upgrade.php 2023-05-17 10:07:49 -06:00
FusionPBX b3a0d67ac9
FusionPBX version 5.1.0 RC1 2023-04-26 22:45:01 -06:00
FusionPBX e710c20a0d
Minor version update to 5.0.10 2023-03-30 09:34:24 -06:00
FusionPBX eb828db2d7
Minor version update to 5.0.9 2023-02-21 15:17:33 -07:00
FusionPBX 14e752197e
Minor version change to 5.0.8 2023-01-23 13:48:34 -07:00
FusionPBX ba9548c196
Minor version update to 5.0.7 2022-12-29 11:21:58 -07:00
FusionPBX cb7881ce02
Minor version update to 5.0.6 2022-11-28 14:31:13 -07:00
FusionPBX 3859f72c5a
Minor version increment to 5.0.5 2022-10-26 10:01:44 -06:00
FusionPBX e06a7d4fef
Minor version update to 5.0.4 2022-09-30 11:28:28 -06:00
FusionPBX 6f2a8df168
Update FusionPBX version only when changed. 2022-09-22 11:23:51 -06:00
FusionPBX 27041e63e6
Only update version if it has changed 2022-09-22 10:15:49 -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 347e02e273
Update software.php 2022-08-25 15:24:14 -06:00
FusionPBX 287e8c07b6
Minor version update 5.0.2 2022-07-27 12:29:55 -06:00
FusionPBX 6c0f167733
Minor version 5.0.1
Updating because of a bug fix.
2022-04-27 23:48:11 -06:00
FusionPBX 55925326f8
Major version update FusionPBX 5.0.0. 2022-04-27 16:27:55 -06:00
FusionPBX 7ef28525c8
Update app_defaults.php 2021-12-24 12:44:19 -07:00
FusionPBX 4852db3870
Minor version update 4.5.32 2021-12-15 16:02:59 -07:00
FusionPBX 65b3cc0e32
Minor version update to 4.5.31 2021-11-17 20:04:19 -07:00
FusionPBX a83abc96d1
Minor version update 4.5.30 2021-10-28 09:50:06 -06:00
FusionPBX 2e151f352c
Minor version update to 4.5.29 2021-10-05 15:34:04 -06:00
FusionPBX 6fdf9dcca0
Minor version update 4.5.28 2021-08-26 10:05:58 -06:00
FusionPBX 3f56bbd92f
Minor version update to 4.5.27. 2021-07-28 11:46:57 -06:00
FusionPBX bb4dc3501e
FusionPBX minor version update 4.5.26 2021-06-23 15:05:29 -06:00
markjcrane 29c9a59023 FusionPBX minor version update 4.5.25 2021-05-27 02:33:06 -06:00
FusionPBX 138e3baa31
Minor version update 4.5.24 2021-04-28 14:59:02 -06:00
FusionPBX 414954ff22
Version update to 4.5.23. 2021-03-25 00:52:56 -06:00
FusionPBX 094188fd76
Minor version change from 4.5.21 to 4.5.22. 2021-02-25 10:16:23 -07:00
FusionPBX 07a62697e2
Minor version update to 4.5.21. 2021-01-28 17:35:46 -07:00
Len 5b3a247fc1
Version 4.5.20 2020-11-19 10:19:04 -05:00