Commit Graph

32 Commits

Author SHA1 Message Date
Abel Hoogeveen ccb0564a14 Fixed Logger::exceptionHandler() expecting Exception classes while Throwable classes could also be expected. (#12)
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details
- Amended Logger
- Added unit tests for bug
- Added PHP8.1 to CI testing

Reviewed-on: #12
2022-02-20 12:11:58 +00:00
Abel Hoogeveen 44ae26404c
Fixed bug where FuzeWorks exceptionHandler only accepted FuzeWork exceptions.
continuous-integration/drone/push Build is passing Details
- Should release 1.3.1.
2021-11-29 21:28:14 +01:00
Abel Hoogeveen 440964b375
Resolved problems brought up by PhpStorm.
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
Includes problems such as:
- Grammar errors
- Type, argument and return declarations
- Redundant argument removal
2021-11-24 18:56:36 +01:00
Abel Hoogeveen d4bf138533
Release version 1.2.3, changing the boot order. 2020-05-13 19:03:39 +02:00
Abel Hoogeveen 6f2e941eb1
Changed Configurator boot process.
- Components are now initialized before deferredComponentClasses are called. This ensures that components are properly prepared to be called.
- Directories are now added to components before components are initialized.

The following order has thus been established:
3.1 Load Components
3.1.1 setInstance of component
3.1.2 run onCreateContainer()
3.2 Add directories by category
3.3 each component init()
3.4 deferComponentClass invoke

See document on FuzeWorks boot order.
2020-02-20 12:43:40 +01:00
Abel Hoogeveen 8b01dd2f84 Implemented three requested features.
- FuzeWorks\Core now manages autoloading of classes for Plugins. Plugins no longer need to implement this themselves. Autoloading for libraries to be added soon.
- FuzeWorks\Factory::getInstance('') now returns a requested component. No arguments will result in the Factory being returned. This should simplify invoking components. cloneInstance() replaces old functionality.
- FuzeWorks\Logger can now properly write logs to file. It's unknown how this issue wasn't discovered before.
2019-07-22 19:48:13 +02:00
Abel Hoogeveen 68c2aaa210
Implemented all changes requested by FuzeWorks\Application.
- Implemented a exception and error handler which other methods register to. These are executed in the order provided by the Priority class
- Logger now uses the $isEnabled property to determine if it is enabled. $print_to_screen now has its own methods.
- Plugins now use a 'plugin.pluginName.php' file by default
-
2019-03-04 21:18:08 +01:00
Abel Hoogeveen 5a6b52f93d
Implemented changes requested by WebComponent 2019-02-09 20:25:49 +01:00
Abel Hoogeveen d670e9676b
Implemented all changes as proposed by the inspection report. 2019-01-21 20:44:53 +01:00
Abel Hoogeveen e10d84b65d
Implemented @covers in all unit tests. Code coverage now shows better what is actually covered and what is not. 2019-01-21 20:34:45 +01:00
Abel Hoogeveen 8fc17c2a91
Added marginal logger changes 2019-01-17 14:14:31 +01:00
Abel Hoogeveen 3154718f94
Implemented multiple requests. Mostly rewritten the Logger to be more compatible with Plugins and Components. 2019-01-16 23:07:09 +01:00
Abel Hoogeveen 0c569a9eb1
Updated copyright notice to 2019 2019-01-10 23:59:00 +01:00
Abel Hoogeveen 4086af2040
Updated directory consistency and notice in copyright. 2018-12-13 23:45:55 +01:00
Abel Hoogeveen 3a52828ae4
Implemented a proper error_logger. 2018-11-16 23:34:32 +01:00
Abel Hoogeveen dbc7e202e5 Release 1.2.0 BETA 2018-10-07 21:02:18 +00:00
Abel Hoogeveen 16738cf72c Fixed bugs and implemented the plugin system. See issue #122 for more information. 2018-02-20 21:57:12 +01:00
Abel Hoogeveen a2de80ae53 Implemented listener parameters. It is now possible to send fixed parameters to a listener upon creation. 2018-01-16 19:40:24 +01:00
Abel Hoogeveen 9b923bdd20 Fixed issue #117. Also made changes related to events. 2018-01-16 19:37:47 +01:00
Abel Hoogeveen f5a4c9b7f4 Removed void return type, since this is not officially supported. 2017-12-22 00:06:01 +01:00
Abel Hoogeveen 3907ecc780 Implemented PHP7 type hinting accross the Core of FuzeWorks. 2017-12-21 22:18:23 +01:00
Abel Hoogeveen e017f5648e Implemented GitTracyBridge, showing Git branch in the development Bar. 2017-09-14 18:15:09 +02:00
Abel Hoogeveen 457987e2f1 Rewritten the Layout system to use 'layout.' files instead of 'view.' files.
- All systems have been rewritten to use this new scheme.
2017-09-14 14:45:02 +02:00
Abel Hoogeveen d086923f83 Modernized the framework to work with PHP 7.1.
- Events have been moved and are now loaded through autoloading.
- FuzeWorks\Configurator now supports a setDebugEmail() method which will pass an email address to Tracy.
- The FuzeWorks Module system has been removed
- FuzeWorks\Layout is no longer a static class
- Fixed multiple bugs where paths were case-sensitive and did not work under Linux
- Latte engine is now able to return layouts and not only view them
2017-07-14 16:11:35 +02:00
Abel Hoogeveen f38e6e3c40 Update Logger.php to only show error 500 pages upon shutdown error. 2017-04-05 22:37:54 +02:00
Abel Hoogeveen 6f5378e43a Fixed #112.
Output is no longer sent to browser during unit testing.
2016-08-07 13:21:37 +02:00
Abel Hoogeveen b205111e61 Changed license headers and version information.
Version 1.0.0 is now described.
2016-07-23 17:06:19 +02:00
Abel Hoogeveen 23f56b524a Implemented Unit tests for Logger class.
Changed a few other classes since some unused functionality was removed.
2016-07-23 16:32:11 +02:00
Abel Hoogeveen 1106f49f35 Stopped Exception and Error handler in FuzeWorks when using Tracy.
Now fatal errors and exceptions are handled by Tracy
2016-07-23 02:53:01 +02:00
Abel Hoogeveen 7b406d864d Implemented a new bar object which contains the FuzeWorks Logger.
This way the logger is not shown prominently on the screen anymore.
2016-07-22 14:14:22 +02:00
Abel Hoogeveen 099409bc1f Changed the location where Tracy is loaded.
By using the Configurator, Tracy will be loaded before FuzeWorks solving the issue.
2016-07-19 18:42:05 +02:00
Abel Hoogeveen 320edec16b Implemented a PSR-4 compliant scheme.
FuzeWorks can now be properly loaded by Composer, without any lost functionality.
2016-07-11 12:44:13 +02:00