9127b440a5
Added the event_layoutLoadViewEventTest unit test.
2015-10-12 16:45:56 +01:00
102b35a96b
Implemented unit tests for the layout manager.
2015-10-12 16:28:38 +01:00
b8058572d3
Temporarily removed Users module until issues are resolved.
2015-10-12 14:22:56 +01:00
9d665e2ae1
Many Misc jobs:
...
- Modules can now be loaded using routes by adding a routes[] array to the moduleInfo.php. When it matches, the module gets loaded, and a route() function in the main class gets called. (Fixes #79 )
- Composer can now load from a different file
- License headers have been added to all core files (Fixes #66 )
- Table model has been renamed to sqltable. Interpret model has been removed
- layoutLoadViewEvent added
- Controllers now extend the \FuzeWorks\ControllerAbstract class
- Controllers are now in the \Application\Controller namespace
- Models are now in the \Application\Model namespace
- Events are now in the \FuzeWorks\Event namespace
- Moved some classes in a different namespace for a better overview
- Events can now properly load function listeners (fixes #81 )
- Documentation added to more classes. (Partially fixes #58 )
- Added replace() command to DatabaseUtils Abstract Model
- Added more unit tests for router, query and events
2015-10-11 19:14:49 +01:00
d982534cf0
Started working on new systems. Continue on new development environment.
2015-09-12 19:52:04 +02:00
5093f98c4b
Started working on renewed Unit Tests.
2015-09-06 15:42:57 +02:00
68b3b402e7
Made the core of FuzeWorks static.
...
Resolves #74
More tests are needed in order to prove functioning of renewed core
2015-09-05 21:47:35 +02:00
d2ec5b0c2a
Moved internal modules to the new module namespace.
...
Most of them have an alias starting with techfuze/ for backwards compatibility until #74 has been resolved.
Resolves #68
2015-09-05 19:06:19 +02:00
064adfe1c2
Moved internal 404 error template to PHP engine
2015-09-05 19:04:21 +02:00
654d873ba9
Moved the techfuze/sessions module to core/users.
...
Has an alias techfuze/sessions for backwards compatibility. Will be removed when #74 has been resolved.
Partially resolves #68
2015-09-05 19:03:45 +02:00
67ccc602e3
Added Exceptions for other Core classes
2015-09-05 18:58:10 +02:00
e8cdda7960
Events no longer get loaded of aliased modules. This is to prevent multiple events from being called on the same object
2015-09-05 18:57:55 +02:00
5512bc1821
Config file ORM for issue #70
...
Solves #70
2015-09-05 18:53:13 +02:00
aa7bd856f2
Added the ability to add module aliases.
...
Setting a alias can be done by adding the aliases array to the moduleInfo.php and setting the names in there.
An example can be found in the example module.
2015-08-29 21:07:17 +02:00
fe4fe7e688
Changed the default page into a PHP template.
2015-08-29 20:34:38 +02:00
30f700a727
Implemented the fully renewed Layout Manager.
...
Now based on a new database schema, working with events and many more abilities.
An expansion with a built in login page might be possible.
2015-08-29 20:30:52 +02:00
714ac95ef8
Changed the nginx directives file and readded build.xml
2015-08-29 17:44:59 +02:00
f73f638b2b
Placed the License header in most files and implemented PHPDoc where needed.
...
Also removed useless whitespaces.
2015-08-29 17:43:13 +02:00
56b8f56ab3
The Sections module has been removed because it is no longer required.
2015-08-29 17:37:25 +02:00
4a0620c2e1
Implemented a small Init class that gets loaded at the defaultCallable.
...
You can use this class to do some actions at the start of every page. Usefull for authentication and other things.
2015-08-29 17:35:39 +02:00
bbd8823901
Implemented a renewed Layout system.
...
The layout system now uses so called TemplateEngines. A Template Engine is an engine that implements \FuzeWorks\TemplateEngine, and is a standardized way of parsing template files.
3 template engines are present by default: PHP Parser, JSON parser and the Smarty Template engine.
Based on the file extension the manager should be able to decide which engine to use. New engines can be added by using $this->layout->registerEngine();. This function should be called on the layoutLoadEngineEvent.
Also Smarty has been removed from the system and is now a composer dependency.
2015-08-29 17:33:06 +02:00
bb66e6eb92
Added the ability to enable and disable composer loading
2015-08-29 17:26:47 +02:00
85c9efba7b
Started implementing the renewed permission and session system
...
Fixes Issue #57
2015-08-26 21:15:10 +02:00
cc31f2d1c6
Implemented PHPMailer and a small wrapper. It is possible to use PHPMailer without the wrapper.
2015-08-26 16:53:13 +02:00
2ec5e8bafd
Added more documentation
2015-08-26 12:29:20 +02:00
d27af90a8f
The module config (config.module.php) of a module is now available through $this->cfg
2015-08-02 18:40:00 +02:00
02b3438623
Removed build.xml since it is no longer needed with Gitlab CI
2015-07-28 21:58:02 +02:00
338d0d2a43
Implemented the ability to disable core modules.
...
Using the config.core.php, you can choose what modules should run in FuzeWorks
2015-07-28 13:09:47 +02:00
b2aea986c3
Implementation of Composer. Now fully works
2015-07-28 12:08:35 +02:00
4f0f3e74d5
Fixed issues where the database is not properly loaded.
2015-07-28 12:06:40 +02:00
ebd81b9fce
Fixed critical bug where databases can not be used due to inheritance issue. Please refer later
2015-07-07 23:11:56 +02:00
d9001d5f9e
Removed Fuze References. Fixes #56
2015-07-07 17:27:46 +02:00
73208b9542
Added the Nginx directives used by the framework
2015-07-07 15:54:01 +02:00
a688821c65
Implemented the API interface. Can now be used by direct dependency insertion
2015-07-07 14:09:38 +02:00
00eff0480e
Prepare for multiple types of Template Engines
2015-07-07 13:59:36 +02:00
4dce5516bb
Added version information
2015-05-27 21:57:45 +02:00
67d1e6c295
Removed obsolete coverage report
2015-05-19 20:44:30 +02:00
f65635d8cb
Fix for namespace clash with sections
2015-05-17 19:03:37 +02:00
a3007668ba
Updated the Sections module to the renewed FuzeWorks standard. Modules are now responsible on their own to handle controller loading.
...
Fixes #54 and offers a new solution for #52
2015-05-17 18:46:33 +02:00
b86c26243d
Misc bug fixes
2015-05-14 17:45:25 +02:00
cda60c264e
Removed advanced controller abstract, it's just a wrapper now
2015-05-14 17:45:11 +02:00
bf67daf181
Merge branch 'Issue_#59' into 'master'
...
Added Joins to the QueryBuilder
Fixes Issue #59
See merge request !26
2015-05-14 13:32:55 +02:00
bdf6b0244c
Added Joins to the QueryBuilder
2015-05-14 13:30:40 +02:00
32b534d59a
Merge branch 'ffnmaster/core-Renewed_Modules'
...
Conflicts:
Core/System/class.core.php
2015-05-14 13:01:03 +02:00
71c9904746
The big great rewrite of modules. Hope it will merge well
2015-05-14 12:43:11 +02:00
51a2d47525
Merge branch 'Issue_#46' into 'master'
...
QueryBuilder and new Model system
Implemented the new QueryBuilder and Model system.
Please applaud
See merge request !24
2015-05-06 21:42:13 +02:00
26d06947ad
Added new QueryTest for the newly made QueryBuilder
2015-05-06 21:38:31 +02:00
aab34844ee
Implemented renewed querybuilder and a better databasemodel. Database utilities can from now on be added to this module.
...
Fixes #46
2015-05-06 21:25:57 +02:00
019ab4f2fa
Merge branch 'Issue_#47' into 'master'
...
Fix for Issue #47
Fix for #47
See merge request !23
2015-05-06 19:53:49 +02:00
c046b0867b
Fix for Issue #47
2015-05-06 19:52:52 +02:00