Denis Malinochkin
ab7e1cfd8a
ru_lang
2014-08-02 12:49:01 +04:00
Sam Georges
56d0c3351b
private -> protected
2014-08-01 14:54:16 +10:00
Sam Georges
6388ecef52
private -> protected
2014-08-01 13:58:59 +10:00
Sam Georges
8b7bbd1062
Add 'partial' type to list columns.
2014-08-01 10:42:14 +10:00
Sam Georges
fb788c9c0a
Make request and access log work
2014-07-30 17:33:26 +10:00
Sam Georges
93590fb272
TraceLog -> EventLog
...
Cms\ErrorLog -> System\RequestLog
Set up some basic language keys
2014-07-30 17:19:51 +10:00
Sam Georges
b280802644
Refs #383 - Set up basic models for logging
2014-07-29 20:07:20 +10:00
Sam Georges
200615f310
CMS Render partial now supports not throwing an exception.
...
Components without default partials do not throw errors when used on the page, they simply fail gracefully.
2014-07-29 13:52:01 +10:00
Sam Georges
e85cbf80c5
Fixes unit tests
2014-07-29 13:14:54 +10:00
Graham Campbell
be7f36b31b
Composer fixes
2014-07-28 23:55:46 +01:00
alekseybobkov
12c73b457b
Merge branch 'ux' into develop
2014-07-27 15:07:41 +11:00
Sam Georges
12f9c88345
Add hook for renderContent
...
Fix priority of local<->global events
2014-07-27 12:22:50 +10:00
alekseybobkov
241e174ab4
Merge branch 'develop' into ux
2014-07-27 11:11:56 +11:00
Sam Georges
e6379ea21d
Fixes bug when deleting cms templates
2014-07-25 18:11:16 +10:00
alekseybobkov
1085d20f8c
Merge branch 'develop' into ux
2014-07-25 16:19:11 +11:00
Sam Georges
5d832a2f7b
Fixes #461
2014-07-25 14:21:13 +10:00
alekseybobkov
5882082291
Merge branch 'develop' into ux
2014-07-25 15:15:48 +11:00
Sam Georges
f8f4579f16
Show more detailed errors when custom error page is not enabled
2014-07-24 21:06:33 +10:00
Sam Georges
0dabaf67c1
Files should not appear as themes
2014-07-24 19:16:17 +10:00
alekseybobkov
f7dcf8ebb0
Files added
2014-07-24 15:24:39 +11:00
alekseybobkov
98eb3e2e84
System page navigation improvements, not finished
2014-07-24 15:19:00 +11:00
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
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
Sam Georges
976b364720
Generate the unique ID for the {% component %} tag only
2014-05-24 19:41:29 +10:00
Sam Georges
9e2a76d821
Add core build tag to core assets
2014-05-24 16:57:38 +10:00
Sam Georges
bd5e169ac1
Removing a component now removes the standard {% component %} tag
2014-05-24 16:48:36 +10:00
Sam Georges
82f586c0d1
Asset maker functions (addJs, addCss, addRss) now use an optional build code, either *core* or a plugin code.
2014-05-24 16:35:54 +10:00
Sam Georges
431285c4d4
Make the component placeholder 50% opaque
...
Disable dragging on attached components
2014-05-24 15:55:25 +10:00
Sam Georges
c593123700
Components can now be dragged on to a page or layout
2014-05-24 15:18:59 +10:00
Sam Georges
a747b18f0e
Still allow newQuery() on Cms objects
2014-05-24 13:50:52 +10:00
Sam Georges
cd58891723
Tidy up CmsObject query implementation to reduce overhead
2014-05-24 13:47:34 +10:00
Sam Georges
c97e352ea2
Fixes #206
2014-05-24 13:27:26 +10:00
Sam Georges
d616d3ae8b
Class `CmsPropertyHelper` has been deprecated
...
Cms Objects now support basic queries that return a collection
2014-05-23 19:36:22 +10:00
Sam Georges
34cef2ab46
Fixes #197 - Subfolder duplicated in Controller asset path
2014-05-22 20:29:28 +10:00
Sam Georges
6788a32e8c
Components have a new override method `onRender()` called before a component is rendered.
...
The `{% component %} tag now supports passing parameters that override the component properties when they are rendered.
Calling `addJs()` and `addCss()` in components without a starting slash (/) will now reference the component directory, instead of the theme.
2014-05-22 20:27:44 +10:00
Sam Georges
d0a1cc87fb
Fixes #194 In MarkupManager filters and functions are backwards
2014-05-22 07:57:36 +10:00
Sam Georges
193ffade54
Minor
2014-05-20 10:25:04 +10:00
Samuel Georges
e96a4c684f
Merge pull request #180 from Jmeyering/master
...
Allow converting of r/n to /n when editing files in October backend
2014-05-20 10:22:41 +10:00
Samuel Georges
5511100c6d
Merge pull request #175 from erJasp/master
...
Only change "modified" counter on successful save
2014-05-20 09:48:12 +10:00
Jmeyering
56a6eb0283
More extraneous spaces plus nailed a syntax error
2014-05-19 13:03:16 -05:00
Jmeyering
9994f62382
Removing extraneous spaces from this code
2014-05-19 13:02:25 -05:00
Jmeyering
03c99bbac0
Allow
2014-05-19 12:58:35 -05:00
Jasper
c7537339da
Only change "modified" counter on successful save
...
The modified counter in the CMS module (the red box in the sidebar)
always changes when saving, even when an error is returned.
This fix will only change the "modified" counter in the CMS module on a
successful change.
2014-05-19 16:31:07 +02:00
Sam Georges
7d468475c0
Better logging
2014-05-19 18:18:02 +10:00
eZees
6e488cc2cb
Update Russian language files
...
Full translation of the language files into Russian.
2014-05-18 04:38:43 +04:00
Sam Georges
bfb5099910
Typo
2014-05-18 09:20:14 +10:00
Pascal Borreli
459c8e0cfa
Fixed typos
2014-05-17 18:08:01 +02:00
Hirohisa Kawase
8c26202957
Added Japanese language files for backend/cms/system modules.
2014-05-17 22:16:35 +09:00
Samuel Georges
7e2015cb31
Merge pull request #138 from pariz/feature.lang
...
Swedish translations
2014-05-17 12:54:19 +10:00
Sam Georges
b19052906d
Fixes broken icon refs
2014-05-17 00:08:59 +10:00
Pär Karlsson
f80ccf23ab
Swedish translations
2014-05-16 15:13:33 +02:00
Sam Georges
d6b0927758
Fixes icon on exception and error pages
2014-05-16 20:57:33 +10:00
Sam Georges
0d903c5b78
Fixes bug where incorrect header being sent on CSS
...
This will require a cache clear (Software udpate, or, php artisan cache:clear)
2014-05-16 15:01:31 +10:00
Sam Georges
0185244710
Drop the file extension from the combiner URL
...
This causes too many issues with Nginx and php server instances.
2014-05-16 14:29:25 +10:00
Sam Georges
12a80cae9c
Add new keys to other languages (needs further translation)
2014-05-16 11:29:44 +10:00
Samuel Georges
eb3e8df7be
Merge pull request #113 from marcus-herrmann/master
...
Added German language files
2014-05-16 11:14:42 +10:00
Samuel Georges
f02b541d2f
Merge pull request #111 from erJasp/master
...
Moved hard-coded text to language file (backend)
2014-05-16 11:06:57 +10:00
Samuel Georges
bd7eaf8f12
Merge pull request #96 from pariz/master
...
Swedish language files for backend, cms and system, as well as one typo if in an english language file
2014-05-16 10:07:06 +10:00
Samuel Georges
49321abdb8
Merge pull request #85 from emir/master
...
Added Turkish language files
2014-05-16 10:05:16 +10:00
Jasper
8d82727310
Updated CMS language support
...
Moved hard-coded text in "cms" to the language files (English and
Dutch). And some minor changes.
2014-05-16 01:04:40 +02:00
mhe
80d41c4e4d
Add further translation files
2014-05-15 20:25:55 +02:00
Pär Karlsson
2883fa6b6a
Fixed typo in english language file
2014-05-15 15:18:07 +02:00
Pär Karlsson
f4bf9e192f
Added swedish language support
2014-05-15 15:17:41 +02:00
Emir Karşıyakalı
c6df6f897b
Added Turkish language files
2014-05-15 13:31:17 +03:00
Sam Georges
5bf215e648
Fixes unit test (stat failure)
2014-05-15 16:53:06 +10:00
Sam Georges
fd5d176f60
Tighten up events
2014-05-15 16:22:22 +10:00
Jasper
b4ec8d2297
Added Dutch ("Nederlands") language files
2014-05-15 00:14:30 +02:00
Sam Georges
64f3a87e01
Fixes bug where invalid partial tag throws off the scent with its own problems
2014-05-15 01:31:41 +10:00
Sam Georges
71a5dd67ab
Welcome to the world, October :-)
2014-05-14 23:24:20 +10:00
Sam Georges
273d9a2865
Add branch aliases
2014-05-09 11:45:37 +10:00
Samuel Georges
bf64309000
Update composer.json
2014-05-08 22:28:15 +10:00
Samuel Georges
2fe103dca5
Update composer.json
2014-05-08 21:27:39 +10:00
Sam Georges
4bd853b2df
Add stub files to prepare for composerfication
2014-05-07 17:52:13 +10:00