Commit Graph

254 Commits

Author SHA1 Message Date
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
5df6b733d0 Implemented many unit tests.
The following tests for classes have been implemented:
- Security
- Input
- Encryption Library
- Utf8

A mocking autoloader has been added (but is not yet configured correctly)
2016-06-02 23:57:23 +02:00
96ca890656 Finished the Library system
All unit tests have also been implemented.
Many bugs have been smashed with the mighty hammer.
2016-06-02 20:13:08 +02:00
ae94dca984 Removed deprecated methods from Factory.
All classes that use this have been changed.
2016-06-02 20:12:22 +02:00
da1752dd5f Zip class now only uses the Factory class.
The logger is loaded through the Factory class.
2016-06-02 19:15:46 +02:00
c97c7f8aab Config documentation now has @throws statements 2016-06-02 19:15:18 +02:00
ef82ea3463 Added new test for Config.
The test checks if instances from Config->getConfig() are the same.
2016-06-02 15:44:32 +02:00
53f597f947 Implemented a new system for Logging templates.
This allows the user to install new Logging templates that run in specific circumstances. By default the FuzeWorks default (as you already know it) template is installed, and a CLI one.

Closes #88
2016-06-02 15:19:31 +02:00
c0bba7915f Updated PHPUnit to a newer version. 2016-06-02 14:08:48 +02:00