Commit Graph

38 Commits

Author SHA1 Message Date
f19255f6f3 Implemented some basics of the admin module. Development underway 2016-01-23 14:09:23 +01:00
84b3154ea2 Implemented some changes to the SQL Model 2016-01-23 14:08:29 +01:00
a9212d9709 Mailer now checks whether the class it needs is loaded. If not an exception is thrown saying that composer should be installed. 2016-01-17 14:43:33 +01:00
81b86c61c9 Implemented static methods for Modules.
Modules can now call default static methods by implementing the \FuzeWorks\Module trait.
The database also closes connection upon coreShutdownEvent
2016-01-17 14:42:39 +01:00
a184d43c9e Implemented module advertisements.
A module advertises it has certain data, identified by a key. The moment a module gets loaded that listens for that key, it will get send this data.
Using this technique it is possible to load certain predefined data into modules, without loading the actual module. This data is prone to future caching as well.
2016-01-16 21:21:11 +01:00
c2a9cf5ee8 Fixed spelling mistakes in documentation 2016-01-13 13:09:12 +01:00
b89f4e1fdd Removed references to time before Static Core 2016-01-13 12:30:02 +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
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
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
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
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
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
4f0f3e74d5 Fixed issues where the database is not properly loaded. 2015-07-28 12:06:40 +02:00
a688821c65 Implemented the API interface. Can now be used by direct dependency insertion 2015-07-07 14:09:38 +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
bdf6b0244c Added Joins to the QueryBuilder 2015-05-14 13:30:40 +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
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
7d732790d2 Fix for issue #51. Tighter checks on input 2015-05-06 18:26:19 +02:00
dd93772704 Router and Logger merge with GF, and many more CI Tests 2015-05-03 22:50:36 +02:00
c86822f99b Added multiple tests and started real continuous integration 2015-05-01 22:47:11 +02:00
630e207efc Removed FUZEPATH and FUZESYSPATH since it actually is pretty stupid 2015-05-01 20:53:23 +02:00
b10561df6d Updated the database to a higher standard according to issue #33 and #32
Also moved the NotifierEvent into another file, the event abstract and gave the interpret model a namespace.
2015-04-30 21:19:07 +02:00
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
156f4a3460 Did the MVC Rewrite. Each component now has events. Fixes #9 , #10 , #20 2015-04-29 13:46:33 +02:00
54c81f769a Fixed #24. Sections are now dynamic and modules can now be disabled 2015-04-29 12:20:39 +02: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