Commit Graph

137 Commits

Author SHA1 Message Date
Sam Georges 7cd80f8a59 Throw an error when the active theme is not found 2014-07-23 11:33:19 +10:00
Sam Georges bbbe11c174 Fixes empty pages from routing as home (/) 2014-07-23 08:35:53 +10:00
Sam Georges bef95920e2 YAML fields should be camel for PHP friendliness 2014-07-19 16:19:07 +10:00
Sam Georges 3c11249bef Add notes to changelog, controllers should use plural naming 2014-07-19 16:14:46 +10:00
Sam Georges 15b93c7b03 Rewind DI to prevent double up bug 2014-07-19 16:09:44 +10:00
Sam Georges a43f4f6b51 Use Parameters model instead of raw DB 2014-07-19 16:07:32 +10:00
Sam Georges 04888b2b93 Minor 2014-07-19 15:54:09 +10:00
Sam Georges c3cef219fa Bug fixes to settings page ordering 2014-07-19 15:51:43 +10:00
alekseybobkov bdf48611dd Minor 2014-07-19 13:13:35 +11:00
alekseybobkov fa0ebd3405 Merge branch 'themes' into develop 2014-07-19 13:06:32 +11:00
alekseybobkov c324c80969 Added the theme selector 2014-07-19 13:05:50 +11:00
Sam Georges 05842b6cad Fixes #444 2014-07-18 22:47:36 +10:00
Sam Georges 3c7c87b338 Fixes #254 add Laravel helper functions to Twig environment 2014-07-16 10:30:39 +10:00
Sam Georges 86daf9f308 Add event emitter to backend controllers
Minor tidy up
2014-07-15 08:14:59 +10:00
Samuel Georges 8897c077f6 Merge pull request #426 from Jmeyering/develop
fire events on template updates
2014-07-15 08:00:04 +10:00
Jmeyering 142c7f40ca Also adding in local events as per developer documentation 2014-07-14 12:15:23 +00:00
Jmeyering 7d1fe7833f One More naming issue 2014-07-14 07:09:01 -05:00
Jmeyering e9c3474c92 Fix Naming
Updates to correct naming issue
2014-07-14 07:07:43 -05:00
Sam Georges 63b98f56c5 Allow routing to nothing without looking up from the Request object 2014-07-14 19:06:23 +10:00
Jmeyering 5604a095fc fire events on template updates 2014-07-14 02:42:30 +00:00
Sam Georges 8f9887ba91 Minor style fix to assetlist checkboxes 2014-07-14 10:59:30 +10:00
Sam Georges 04bbad320f Fixes #347, Fixes #401 - Allow user routes to be registered before the CMS 2014-07-12 13:16:16 +10:00
Sam Georges acce6eb902 Add utility function to Page cms object 2014-07-11 18:50:29 +10:00
Samuel Georges 7ee2d36f6c Merge pull request #407 from Aveltras/master
Created cms french translation file
2014-07-09 07:44:20 +10:00
alekseybobkov 9c4567fc0b Do not call the layout's onInit() method if there is no layout. 2014-07-09 00:11:59 +11:00
Aveltras de2d47ff5c Created cms french translation file 2014-07-07 21:24:54 +02:00
Sam Georges bab2f5c61c Typo 2014-07-07 17:40:00 +10:00
Sam Georges fdac3416e1 Added new layout and page method `onInit()` called after components are initialized and before AJAX requests are processed. 2014-07-07 17:39:22 +10:00
Sam Georges 7ecf361eb3 Fixes validation of requested partial names VS. partial names on file system 2014-07-06 12:42:08 +10:00
Sam Georges bc42080e72 Refs #387 2014-07-04 20:08:38 +10:00
Sam Georges d912b73aab Clean up event parameters to dev standards 2014-07-04 19:14:14 +10:00
alekseybobkov 7056397036 Implemented the hidden page flag. Closes #34. Closes #88. 2014-07-03 17:40:44 +11:00
Sam Georges 1728f148a3 Fixes #361 - Assets paths fail on subfolders 2014-06-29 09:34:49 +10:00
Sam Georges 5c005f79d0 System Twig environment is now extended by plugins
Move the markup manager to system
2014-06-28 21:23:13 +10:00
Sam Georges 7802213bcc Fixes #55 - Assets are now referenced correctly as Assets instead of URLs 2014-06-26 17:29:07 +10:00
Sam Georges 9d2d9b621f Create a System Twig extension, for shared features 2014-06-26 17:29:03 +10:00
alekseybobkov 5488429fe4 Fixed the unknown component caching problem. Added the unknown component handling to the back-end. AJAX request can now be stopped with preventing default action in the oc.beforeRequest event. Fixes #46. 2014-06-26 17:09:25 +11:00
alekseybobkov aee0777032 Display a correct CMS object name in the page title. Fixes #28. Fixes #354. 2014-06-26 15:29:38 +11:00
Sam Georges fc25d67230 Fix docblock 2014-06-25 19:04:34 +10:00
Sam Georges 5eff2fb396 Tidy up code 2014-06-25 19:03:46 +10:00
Samuel Georges 460039cb57 Merge pull request #351 from Flynsarmy/themeFixes
Add Theme::exists(), Fix getPath()
2014-06-25 19:00:43 +10:00
flynsarmy 0e8c0de21f Add Theme::exists(), Fix getPath() 2014-06-25 13:47:16 +10:00
Sam Georges f4adaf245b Cause a scene when Twig extensions fail, instead of failing silently 2014-06-24 20:48:03 +10:00
Sam Georges ddfab72ecc Make {{ this.controller }} available 2014-06-24 20:47:30 +10:00
Sam Georges eccf96222d Components now support a shared /components/partials directory used as a fallback when a partial is not found. 2014-06-24 16:08:02 +10:00
Sam Georges 070667ebe0 Improve CMS Exception handler.
Previously Twig syntax errors inside a component partial would show the incorrect file and line number. This is fixed.
Also simplified the approach so the stack trace is not hidden inside a closure.
2014-06-24 14:58:46 +10:00
Sam Georges 751e529141 Widgets no longer need to pass their config via options:
Update CHANGELOG.md
2014-06-20 22:00:23 +10:00
Samuel Georges b5d9916acd Merge pull request #332 from sl1nk3/develop
Minify less files output if enabled
2014-06-20 20:19:54 +10:00
sl1nk3 e2b11591af Minify less files output if enabled 2014-06-20 05:25:10 -04:00
Sam Georges dc9acd472a Fixes #328 - Move Twig init to Controller constructor 2014-06-20 15:37:19 +10:00