Commit Graph

55 Commits

Author SHA1 Message Date
FusionPBX
9c34236d1a Update the version to 5.4.4 2025-07-15 01:50:41 -06:00
FusionPBX
f2054fa490 Minor version update 5.4.3 2025-05-28 19:54:36 -06:00
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
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
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
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
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
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
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
Len
3e4348bf33 Version 4.5.19 2020-10-28 13:07:24 -04:00
Len
bfccd8170a Update software.php (#5485) 2020-09-24 10:55:22 -06:00
Len
94b9c33211 Update software.php (#5424) 2020-08-27 10:20:52 -06:00
Len
8427d22939 Update version to 4.5.16 (#5371) 2020-07-30 10:24:35 -06:00
FusionPBX
c020592f0c Update version to 4.5.15 2020-06-29 08:59:49 -06:00
Luis Daniel Lucio Quiroz
b65c8cd68b $this is a syntax error when using static classes (#5264) 2020-06-06 09:11:35 -06:00
FusionPBX
c71ea42041 Minor version update to 4.5.14 2020-05-28 10:14:09 -06:00