Commit Graph

108 Commits

Author SHA1 Message Date
c5318a2e99 Added new namespaces as described in Issue #37. The following namespaces are used:
\FuzeWorks for Core classes
\Controller for controller classes
\Model for model classes
\Module for modules

Also did the following changes:
- DatabaseModel now loads the database module as a dependency
- DatabaseModel is no longer abstract because of ModelServer
- Implemented a new mechanism for model types in the name of a ModelServer. This interface requires a Model Type Server to return a Model parent class based on a given type
- Added a backtrace to the logger class for easy and fast debugging

And that was it for this commit
2015-04-29 17:18:33 +02:00
7a5ac7cfad Fix for #31. Low priority for Sections. 2015-04-29 16:15:50 +02:00
ed8aff38e7 Merge branch 'master' into 'master'
Did the MVC Rewrite. Each component now has events. Fixes #9 , #10 , #20

Fixes and completes the MV rewrite. Besides that it fixes #26 from the pragmatic rewrites.

See merge request !12
2015-04-29 13:50:01 +02:00
156f4a3460 Did the MVC Rewrite. Each component now has events. Fixes #9 , #10 , #20 2015-04-29 13:46:33 +02:00
b644641dbe Merge branch 'master' into 'master'
Sections are now dynamic and modules can now be disabled

Fix for #24 and #29

See merge request !11
2015-04-29 13:01:36 +02:00
54c81f769a Fixed #24. Sections are now dynamic and modules can now be disabled 2015-04-29 12:20:39 +02:00
f6a282d38f Merge branch 'master' into 'master'
Fixes for #23 and #28

Fixes all associated bugs. Might set the project on fire, but I don't care

See merge request !10
2015-04-22 12:26:13 +02:00
ba84fa5cef Messages when a module is already loaded, and loaded modules get correctly registered 2015-04-22 12:16:14 +02:00
e877d103c8 Implemented renewed modloading, so that modules do not get loaded multiple times 2015-04-22 12:11:28 +02:00
8c1a7afda5 Fix for #28 and #23. This patch removes the mod and event registers so that modules can now be loaded dynamicly instead of using a global configuration file. 2015-04-22 11:31:29 +02:00
7809a4efd5 Merge branch 'master' into 'master'
Events for Views and Models

Implemented events to load the correct view and model

Also did some bugfixes

See merge request !9
2015-03-20 13:35:31 +01:00
71547eec26 Bugfix where sections does not load correct viewdir and modeldir. 2015-03-20 11:41:09 +01:00
9b3bf5fc20 Moved Modules to a new directory, makes more sense. Also started adding events for the renewed sections, see #19 and #18 2015-03-20 10:20:30 +01:00
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