Commit Graph

262 Commits

Author SHA1 Message Date
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
89ccdb24ba Fixed multiple bugs relating the database system.
Debugging now actually works in the Database Driver,
2017-07-14 16:05:52 +02:00
092d8dffa0 Merge branch 'Issue_#115' into 'master'
Fixed issue #115

See merge request !55
2017-04-06 16:32:31 +02:00
74dacf1aa6 Fixed issue #115 2017-04-06 16:26:31 +02:00
775c410db3 Merge branch '114-ignore-shutdown-warning' into 'master'
Update Logger.php to only show error 500 pages upon shutdown error.

See merge request !54
2017-04-05 22:49:27 +02:00
f38e6e3c40 Update Logger.php to only show error 500 pages upon shutdown error. 2017-04-05 22:37:54 +02:00
85b11b082d Merge branch 'master' into 'master'
1.0.1 Release

The release of 1.01

Development of 1.02 will now commence.

See merge request !53
2016-08-07 13:47:09 +02:00
3d4d4d56e2 Updated GitAttributes to only export necessary files. 2016-08-07 13:24:45 +02:00
7590e5bd6f Updated license headers of all updated files. 2016-08-07 13:22:08 +02:00
6f5378e43a Fixed #112.
Output is no longer sent to browser during unit testing.
2016-08-07 13:21:37 +02:00
87364d762d Fixed #113.
All exceptions have unit tests and some critical errors have been fixed.
2016-08-07 13:06:57 +02:00
158092d811 Fixed #110.
Critical errors are shown by Tracy and are now on top.
2016-08-07 13:03:07 +02:00
dbdeddd1f8 Merge branch '105-tracy-debugger-bar-not-loading' into 'master'
The Last Merge for 1.0.0

This will be the last merge request with actual functional changes before 1.0.0.

After this a last MR will follow which sets every license header right and prepares for release.

> Closes #108 

See merge request !52
2016-07-23 17:26:37 +02:00
b205111e61 Changed license headers and version information.
Version 1.0.0 is now described.
2016-07-23 17:06:19 +02:00
ab64607f19 Removed database file 2016-07-23 16:58:11 +02:00
cf7ec423a2 Disabled Modules system by default.
It is not stable, it will not be stable in a long while. For now it is deprecated. A newer better system shall replace it in the future.
2016-07-23 16:53:47 +02:00
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
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
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
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
8aac7fc3bb Merge branch '86-renewed-models-system' into 'master'
Resolve "Renewed Models System"

Closes #86

See merge request !51
2016-07-19 16:38:04 +02:00
07976216ba Implemented renewed model system.
Resolves #86
2016-07-19 16:31:06 +02:00
49cd813cde Merge pull request #1 from abelhooge/master
Add Travis CI
2016-07-18 22:33:16 +02:00
350e76fcad Add Travis CI (#1)
* Add Travis CI
2016-07-18 22:28:18 +02:00
7531751348 Merge branch '97-make-namespaces-and-classes-psr4-compatible' into 'master'
Implemented a PSR-4 compliant scheme.

##### FuzeWorks can now be properly loaded by Composer, without any lost functionality.

> Closes #97

See merge request !50
2016-07-11 13:06:54 +02:00
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
c4b2291556 Merge branch '100-make-fuzeworks-composer-compatible' into 'master'
Resolve "Make FuzeWorks Composer Compatible"

###### We want to make FuzeWorks Composer compatible so FuzeWorks can be loaded as a dependency. 

This will allow us to load FuzeWorks/Core into FuzeWorks/Application, and possibly use FuzeWorks in other projects as well.

FuzeWorks will need to be trimmed down a lot, and directories should be determined in a different way. All tasks are still to be determined and put in here as a list.

> Closes #100

See merge request !49
2016-07-09 13:17:46 +02:00
d4b4dd5ff2 Added temp directory for unit tests.
Hopefully this resolves all problems in Gitlab
2016-07-09 13:11:57 +02:00
729ccac707 Logger is now fully functional. 2016-07-09 13:00:56 +02:00
7a3bd64fb5 Finished the basic configurator.
Documentation has been added and a tempDir is passed to the core.

An extra exception has been added.
2016-07-09 12:00:59 +02:00
ed93cc3442 Implemented temporal directories.
Cache should now be written to pre-defined directories.
2016-07-09 11:39:36 +02:00
7fc7d63179 Implemented renewed unit tests.
These now work in the new construction
2016-07-07 18:29:26 +02:00
b0f73d5537 Changed all directory pointers in FuzeWorks to use the directories defined in FuzeWorks\Core.
The index file has been removed as well. This file has been replaced with the FuzeWorks\Configurator class. The configurator prepares FuzeWorks and loads it when requested. This allows for more flexible startups.
2016-07-07 17:48:09 +02:00
5d19a1c4dc Removed support for PHP5.4 and 5.5.
This is no longer necessary as FuzeWorks simply doesn't support it anymore.
2016-07-07 13:54:52 +02:00
9b054276c1 Made JSON valid.
Sorry for the inconvencience
2016-07-07 13:50:42 +02:00
6304c84fb7 Added Application folder to gitattributes.
This should soon be removed, but is necessary in this development phase.
2016-07-07 13:49:22 +02:00
c51fc93fb2 Implemented the renewed composer.json and gitattributes for a composer release.
This should allow us to create the project soon in packagist.
2016-07-07 13:47:53 +02:00
2cfb926965 Merge branch 'master' into 'master'
Implemented Nette/Latte engine.

This Engine allows for really neat ways to handle templates. It is an optional dependency which will be installed if composer is used.

See merge request !48
2016-07-07 13:20:36 +02:00
955715c79b Implemented Nette/Latte engine.
This Engine allows for really neat ways to handle templates. It is an optional dependency which will be installed if composer is used.
2016-07-07 13:07:06 +02:00
625e7ffa2b Merge branch '98-implement-hybrid-router' into 'master'
Implemented renewed Routing and Output system.

Everything is in accordance with issue #89 and #90.

> Closes #89 

> Closes #90

> Closes #98 

See merge request !47
2016-06-26 16:41:10 +02:00
c0d9781f6f Fixed issue #98.
Apparantly a failing libraryPaths array can cause things to go really weird.

> Closes #98
2016-06-08 15:19:58 +02:00
440ead5784 Implemented Tracy/Debugger from the Nette framework.
This debugger allows for advanced debugging for both development and production environments.
This did however require the implementation of an ENVIRONMENT constant. This has been put in the index file. If no constant is set it will be set by the core class and the default is PRODUCTION.
Chances are that the location for this constant will move in the future.

There is also a proper way now that fatal errors will lead to a 500 error on the screen. This is either done by Tracy or FuzeWorks, depending on if Tracy is available.
2016-06-08 14:57:41 +02:00
525e77203d Implemented DB Caching 2016-06-07 17:47:35 +02:00
a2bd137386 Added documentation to the Router class. 2016-06-07 16:23:44 +02:00
7aff99c701 Implemented a few unit tests for the new classes. 2016-06-07 15:52:02 +02:00
8298975c98 Implemented renewed Routing and Output system.
Everything is in accordance with issue #89 and #90.
2016-06-07 15:12:35 +02:00
121a6d4735 Merge branch '96-code-coverage-in-gitlab-ci' into 'master'
Resolve "Code Coverage in Gitlab CI"

### Code Coverage is fully functional

Closes #96

See merge request !46
2016-06-04 16:27:41 +02:00
5cb64e95c2 Merge branch '96-code-coverage-in-gitlab-ci' into '96-code-coverage-in-gitlab-ci'
Implemented xdebug in Gitlab CI and added code coverage systems

###### Code Coverage should now work properly.

> Closes #96 


See merge request !45
2016-06-04 16:22:38 +02:00
01491b7f65 Implemented xdebug in Gitlab CI and added code coverage systems
Code Coverage should now work properly.
2016-06-04 16:17:21 +02:00
0ed6d8dd30 Merge branch '77-unit-tests-for-the-core' into 'master'
Core Unit Tests

The first tests have been added: 
- Layout
- Core
- Events
- Helpers
- Factory
- Config
- Libraries

Please wait until more of the list is handled. 

Some of the events mentioned in #77 are fixed. However not all of them are done yet.

> Closes #84

> Closes #88

> Closes #93

See merge request !44
2016-06-04 14:10:01 +02:00