Commit Graph

295 Commits

Author SHA1 Message Date
ab1ee28e40 Started implementing Continuous Integration 2015-03-18 19:37:35 +01:00
3c47d5a515 Merge branch 'master' into 'master'
Fixing module double loading

Fix for #21

See merge request !8
2015-03-17 11:33:34 +01:00
91740236e7 Fix for #21 2015-03-17 11:32:28 +01:00
230be3fe60 Merge branch 'Issue_#9;_Recreate_Models' into 'master'
Issue #9; recreate models

This merge request solves #9.

Please evaluate under specific testing, a few errors might be prone.

See merge request !7
2015-03-16 13:34:18 +01:00
9ce89a180e It is now possible to have multiple types of models.
Just add one call to a model like "$this->setType('techfuze/databasemodel', 'DatabaseModel');" and you load a FuzeWorks2 esque SQL model
2015-03-16 13:29:03 +01:00
453afc0b31 Started working on new Abstract for models which allows the use of multiple types of models 2015-03-16 12:38:46 +01:00
227d75c9f4 Merge branch 'master' into 'master'
Bugfixes and such

Bugfixes for #16

Please merge without asking questions

See merge request !6
2015-03-16 10:37:46 +01:00
5ceaa4868b Merge branch 'master' into Issue_#9;_Recreate_Models 2015-03-15 12:47:49 +01:00
883b45fac7 Bugfix the sections module not being able to load module sections 2015-03-15 11:23:56 +01:00
771727ca48 Bugfixes for module loading 2015-03-14 17:03:15 +01:00
b93dfb7d9c Merge branch 'Issue_#16,_Module_name_integration' into 'master'
Issue #16, module name integration

Merges for base development

See merge request !1
2015-03-14 16:14:38 +01:00
2a0da07924 Merge branch 'Issue_#16,_Module_name_integration' into 'master'
Issue #16, module name integration

Fixes FuzeWorks/Core/#16

See merge request !5
2015-03-14 16:11:12 +01:00
2398cf7352 Merge branch 'master' into Issue_#16,_Module_name_integration 2015-03-14 16:06:44 +01:00
b636e90462 Added a logger entry 2015-03-14 16:05:07 +01:00
44ae54445e Added a very basic system to disabled modules using $enabled = false; in the moduleInfo.php 2015-03-14 16:03:38 +01:00
892068d583 Implemented versions 2015-03-14 16:02:18 +01:00
68c68cf91c Added a mod register which allows the system to load advanced modules. This allows for the future build of module versions, prevention of module name conflicts and much more. 2015-03-14 15:46:05 +01:00
f6f72cc09d Added the possibility to retrieve a mod and not add them to the mod register 2015-03-07 13:53:10 +01:00
28b6094d83 Merge branch 'master' into 'master'
Various Bugfixes

Made it possible to add and remove sections and added a CoreStartEvent.

Removed support for JSON config files

See merge request !4
2015-03-04 08:47:51 +01:00
409702e037 Implemented Section Editor and Documentation. Also removed useless line in config class 2015-02-26 15:45:15 +01:00
865c3a7bec Added core Start Event for complete control over the FuzeWorks start proces 2015-02-26 14:09:41 +01:00
e3ab0da0cc Started working on Model Type loading based on Events 2015-02-26 14:09:08 +01:00
e7fdee40d5 Merge branch 'master' into 'master'
Sections

Implemented sections and various fixes on the router

See merge request !3
2015-02-24 15:30:41 +01:00
8a320bbe3e When a page is not found, from now on the router sends the function in the parameters so the not_found function can handle dynamic requests 2015-02-24 14:54:34 +01:00
455dbd0c97 Router bugfix. Better checking wether or not the event has parameters 2015-02-24 14:33:09 +01:00
f894727e40 Changed the way sections work. From now on it is a separate module called by events. The router has been made far more efficient 2015-02-24 14:19:57 +01:00
3c54281092 Implemented Controller sections. This way modules can be loaded as controllers allowing for seperation of code. 2015-02-24 12:51:53 +01:00
9c249e0370 Merge branch 'master' into 'master'
New Features and Core Improvements

The following features have been added:

- Writable PHP Config files
- An EventRegister, which allows modules to be loaded at certain events
- Implemented module dependencies
- More PHP Documentation
- Smarty event, allowing plugin registration from other modules
- Various Bugfixes

See merge request !2
2015-02-23 22:13:57 +01:00
bedec427db Minor updates to default template 2015-02-23 21:54:00 +01:00
15610d13ff Fixed the default eventregister config 2015-02-23 20:51:04 +01:00
4343e773af Added EventRegister. This allows the framework to determine what modules should be loaded at an event. This way classes only get loaded at the right time 2015-02-23 20:27:26 +01:00
8eb292def5 Added check for empty configs 2015-02-23 20:26:26 +01:00
9d3c32d716 Fixed some documentation errors 2015-02-23 19:37:19 +01:00
1e96bfc894 Added documentation and removed cluttering 2015-02-23 19:35:21 +01:00
9edf81085a Updated the config class. JSON support has been removed and a PHP config file writer has been implemented. 2015-02-23 19:30:13 +01:00
1e5ec4297a Added a Smarty Load event so that plugins can register once Smarty Loads 2015-02-23 17:05:38 +01:00
a01967f205 Added a dependency system, where modules can load dependencies before they start by adding the dependencies to the moduleinfo 2015-02-23 12:46:06 +01:00
afcd561253 Changed the logger shutdown function to a better name 2015-02-23 12:45:32 +01:00
64f516c20f Merge branch 'master' into 'master'
Event Class logging

The event class logging started to become really big so I removed some repeating patterns.
It should be better now.

See merge request !1
2015-02-11 15:07:47 +01:00
3ab8692a5e Made the Event logger a little less cluttered 2015-02-11 15:03:20 +01:00
4d8b8d5233 Implemented new Event System. Listeners are no longer classes but now are simply callback functions. Also there is now a priority system which decides in which order events are executed.
The core can also not be loaded more then once. A check has been built in. The Model abstract is from now on a system module. No longer a core process.
2015-02-11 14:23:27 +01:00
0b1980c32c Decreased Framework loading time by letting Smarty not load directly after Framework launch 2015-02-10 21:35:45 +01:00
4c7d3b6d56 New Router algorithm implemented (Old FuzeWorks3 code, without subnamespaces) 2015-02-10 21:27:27 +01:00
69998316be Moved router to Modules. Router is no longer a Core class. 2015-02-10 21:04:31 +01:00
22d835257e Initial Commit, merge of MicroCore and FuzeWorks3 2015-02-08 17:29:39 +01:00