Commit Graph

100 Commits

Author SHA1 Message Date
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
Samuel Georges ad3e742bb5 Merge pull request #322 from niclasleonbock/master
Update DocBlock/function header for __set and __isset
2014-06-18 09:48:53 +10:00
Niclas Leon Bock 727973bda3 Update CodeBase.php 2014-06-18 00:19:09 +02:00
Niclas Leon Bock 291153ed44 Update DocBlock/function header for __set and __isset 2014-06-18 00:14:23 +02:00
Samuel Georges d6a4a6221a Merge pull request #321 from niclasleonbock/master
Fix variable name in isset magic method
2014-06-18 07:43:41 +10:00
Niclas Leon Bock 9c5abfb3f1 Fix variable name in isset magic method 2014-06-17 23:36:12 +02:00
Sam Georges 28701f9a3b Backend and frontend controllers now return a Response object and support setting the status code 2014-06-17 21:00:26 +10:00
Sam Georges 041c6e408f Simplify logic, test + cert 2014-06-17 20:11:31 +10:00
Sam Georges 4c31211153 Allow Cms Controller to set status code 2014-06-17 20:05:40 +10:00
Louis Matthijssen 0ce75c412a Use 404 status code for custom 404 page
Fixes #275 and #291.
2014-06-16 18:17:20 +02:00
Samuel Georges 0b8c8a0c0f Merge pull request #306 from Naxiz/fix-279
Add 'manage partials' and fix my settings
2014-06-16 21:12:17 +10:00
Louis Matthijssen 692b7d8cf8 Add 'manage partials' and fix my settings
Fixes #279.
2014-06-16 13:04:50 +02:00
Sam Georges 8113371dac Establish the router earlier so we can create page URLs 2014-06-16 17:59:47 +10:00
Louis Matthijssen be00834d80 Rewind RecursiveIteratorIterator before use
Fixes #268 and #288.

More info: https://bugs.php.net/bug.php?id=62914

>As a reminder, all iterators have been designed in a way that you need to call rewind before using.
2014-06-15 16:27:15 +02:00
Samuel Georges 322833c78b Merge pull request #283 from mrmlnc/master
Russian language and translation keys
2014-06-15 12:05:09 +10:00
Samuel Georges d53ae0fb68 Merge pull request #281 from octodevel/master
Updated pt-br language
2014-06-15 12:04:36 +10:00
Sam Georges 30d29eb5f7 Minor 2014-06-13 20:09:06 +10:00
eZees f130dac22c Russian language and translation keys 2014-06-12 11:57:27 +04:00
Sam Georges fbe23091b6 Component properties can now be translated 2014-06-12 15:53:15 +10:00
Octo Devel 6095934f81 Updated and revised all pt-br translation lines. 2014-06-11 23:11:31 -03:00
Octo Devel 4e410927ea Added pt-br language 2014-06-09 18:50:35 -03:00
Sam Georges 2b820a20d6 Convert all boolean table columnns to use is_ prefix
Add email template/layout system
2014-06-06 21:39:20 +10:00
Sam Georges f44b203e44 Removing plugins can now be purged from the db, orphaned plugins are visible, don't concat single list relations, add more events to Cms controller. 2014-06-05 18:52:53 +10:00
Sam Georges 435b6d30f9 Me again 2014-05-30 22:12:35 +10:00
Sam Georges c74ff59d29 Forgot my hat 2014-05-30 22:05:00 +10:00
Sam Georges 2bc02a7488 Fixes #191 2014-05-30 21:50:28 +10:00
Sam Georges 394075041c Add better exception handling for non existent components 2014-05-30 21:25:23 +10:00
Sam Georges 8cc6c6839a Fixes #209 2014-05-27 13:18:21 +10:00
Sam Georges 0f082bd160 Comment out code until determined if it is needed 2014-05-27 13:14:02 +10:00
Sam Georges 9b542efe6f Add complex page link handling to ComponentBase 2014-05-25 00:57:10 +10:00
Sam Georges 8ec4cd6ea3 Add method for looking up other page component properties (getOtherPageComponent) 2014-05-25 00:55:53 +10:00
Sam Georges a89eda62cf Add notes 2014-05-24 22:03:20 +10:00
Sam Georges e2fa45e264 Adds new override for components, onInit() 2014-05-24 21:59:30 +10:00
Sam Georges 4951393986 Fixes bug in propertyOrParam() 2014-05-24 21:26:48 +10:00
Sam Georges 05afe91820 Easier access to page object thru components ($this->page->title) 2014-05-24 21:08:33 +10:00
Sam Georges a1d44408b8 Added new method `addComponent()` to Cms Controller 2014-05-24 20:30:22 +10:00
Sam Georges 0697584108 Fixes bug where droppable colour sticks 2014-05-24 20:15:31 +10:00
Sam Georges da7515e230 Components can now be dragged to the component list area (if visible) 2014-05-24 20:05:37 +10:00