e30d4ad366
Fixed bug where controller was not changed after a routerCallViewEvent
...
Router::defaultCallable did not change the controller in the view upon a change in the RouterCallViewEvent.
This has been remedied by adding a check and performing the change when that check results in a discrepency.
2020-05-12 13:10:50 +02:00
cd1e19e784
Merge branch 'development' into 'master'
...
Release version 1.2.0
Closes #5 , #3 , and #4
See merge request fuzeworks/MVCR!4
2019-09-21 14:53:54 +00:00
479c714dee
Merge branch 'master' into 'development'
...
# Conflicts:
# .gitlab-ci.yml
# composer.json
# src/FuzeWorks/Controller.php
# src/FuzeWorks/Event/RouterLoadViewAndControllerEvent.php
# src/FuzeWorks/Model.php
# src/FuzeWorks/Router.php
# src/FuzeWorks/View.php
# src/FuzeWorks/Views.php
# test/mcr/RouterTest.php
# test/phpunit.xml
2019-09-21 14:50:26 +00:00
fdf998c37b
Release version 1.2.0
2019-09-21 16:37:21 +02:00
06fc770a37
Release version 1.2.0-RC5
2019-09-18 00:02:18 +02:00
32a0e83e40
Merge branch 'development' into 'development'
...
Implemented the usage of multiple viewMethods.
See merge request fuzeworks/MVCR!3
2019-09-17 20:19:52 +00:00
ed90b3badb
Implemented the usage of multiple viewMethods.
...
- This change allows the developer to sort methods with the usual Priority. The first valid method found shall be used.
- Dependency for implementing methods in a REST API.
2019-09-17 17:24:12 +02:00
ea0cf92d74
Merge branch 'holiday-branch' into 'development'
...
Release 1.2.0-RC4
See merge request fuzeworks/MVCR!2
2019-08-21 17:02:16 +00:00
c7600ffcd7
Release 1.2.0-RC4
2019-08-21 18:57:40 +02:00
af476c6f3e
Updated some comments to reflect its functionality better
2019-07-22 11:46:43 +02:00
f15c971ace
Release 1.2.0-RC3
2019-03-04 21:42:35 +01:00
f49c5dd882
Implemented changes requested by FuzeWorks\Application
...
- Added Priorities to the routes array. Routes can now be saved with priorities, making higher priority routes load before lower priorities
- Fixed bug where callable is not reset upon attempting routing a new route after another was not satisfied
2019-03-04 21:33:38 +01:00
be414aa2cd
Implemented RouterCallViewEvent
...
This event gets called right before defaultCallable() invokes the requested method on the requested view. This allows other classes to intervene when required. Currently used by the WebComponent to suppress CSRF Exceptions.
2019-03-01 11:07:24 +01:00
f6baf1142c
Made all properties of the Model, View and Controller protected.
...
These should not be accessible from outside these types of objects. Also made FuzeWorks core a requirement and not a dev-requirement.
2019-03-01 11:04:12 +01:00
4384ee23b1
Release release candidate 2 (In coordination with other FuzeWorks projects)
2019-02-11 19:56:25 +01:00
5b66dd5f29
Changed which properties Models, Views and Controllers contain.
...
They no longer share the Factory.
Fixes #5
2019-02-11 19:47:24 +01:00
d8acd801d2
Implemented routerLoadCallableEvent
...
Fixes #3
2019-02-11 19:31:49 +01:00
3613a04f49
Implemented unit tests for Router.
...
Fixes #4
2019-02-11 19:23:45 +01:00
d87da7eaf4
Merge branch 'development' into 'master'
...
Created MVCR Framework
Closes #1 and #2
See merge request fuzeworks/MVCR!1
2019-02-01 11:14:26 +00:00
393bd70d8a
Created MVCR Framework
2019-02-01 11:14:26 +00:00
3edbe99f35
Added placeholder file for temp directory, otherwise unit testing doesn't work.
2019-02-01 12:02:15 +01:00
593be6b5d0
Implemented minor documentation and continuous integration
2019-02-01 11:57:41 +01:00
0d867c7371
Created MVCR Framework
...
Implemented MVCR Framework
2019-02-01 00:55:49 +01:00
5a184fbf8c
Initial commit
2019-02-01 00:38:11 +01:00