38 Commits

Author SHA1 Message Date
Dan Harrin
9521dd795c Minor Formatting Corrections in Usage Comments (#4541)
Credit to @DanHarrin
2019-08-15 09:14:54 -06:00
Nathan van der Werf
0947406343 Remove senseless proxy functions 2018-08-15 18:35:15 +02:00
Luke Towers
5185ca075b Add the cms.object.listInTheme event (#3076)
Inspired by #3075. Provides a cms.object.listInTheme event to modify the results returned by that method.
2017-09-02 19:51:56 -06:00
Samuel Georges
462c9cd4e8 Introduce theme logging + log settings
CmsObject changes can now be tracked (disabled by default)
Request logging is now disabled by default (security vector)
2017-02-08 05:44:04 +11:00
Samuel Georges
f68eb3f20f Move halcyon registration to model boot
Attempt to fix issue where service provider looks at system_preferences database table that doesn't exist yet as part of the boot() method
Fixes #1897
2016-04-04 18:37:56 +10:00
Samuel Georges
ca3e13ed33 Fixes issue related to PHP 5.5.12
For some reason the closure did not like static calls inside, bye bye array_map(...)
2016-04-02 17:39:23 +11:00
Pásztor Gábor
9f3fcf27ed Update AssetsList 2016-03-30 18:17:18 +02:00
Pásztor Gábor
87a5ff339e Fix error in Maintenance Settings 2016-03-28 15:41:47 +02:00
Samuel Georges
86d4ae491e Minor 2016-03-25 18:42:39 +11:00
Samuel Georges
6e7fa7de88 Allow CmsObjects to define their own Twig cache key 2016-03-21 13:42:03 +11:00
Samuel Georges
4922d6d284 Retain previous listInTheme cache functionality 2016-03-20 16:04:27 +11:00
Samuel Georges
c244aef2f8 Clean up 2016-03-18 19:54:27 +11:00
Samuel Georges
045d186960 Finishing porting old functionality
- Add validation to Cms Objects
- Add local viewBag logic
- Implement new initCacheItem process
- Implement getter for viewBag/settings properties
2016-03-17 19:25:50 +11:00
Samuel Georges
24a620e890 Convert CmsObject and CmsCompoundObject to use Halcyon
getFullPath -> getFilePath
2016-03-12 15:32:16 +11:00
Samuel Georges
c34f72b821 Decouple ComponentPartial from CmsObject 2016-03-09 21:01:57 +11:00
Samuel Georges
07132ffbd6 Returns original setter functionality
To protected things like $this->page->title = "foo";
Template -> Bracket
2016-03-05 10:49:24 +11:00
Samuel Georges
94c6ef4da0 Let Cms Objects use behaviors 2016-03-02 18:13:00 +11:00
Samuel Georges
ecb54ff92c Rollback #1672 2016-01-02 13:40:32 +11:00
DQ Sully
2fae5a30b9 Fix Twig Caching
When October would load a file from its changed source, Twig would not see the message until it had gone. See Cms\Classes\Loader->isFresh. This meant a template would not update unless you deleted the Twig cache, or that template's TTL expired. Fix: add another variable (freshness) that would only change after being observed, and accurately reflected if a template's source had been modified
2015-12-28 10:09:15 -07:00
Daniel Müller
01c63d6e32 fixed some PHPDocs
removed my prior changes to the code behaviour

removed errorous PHPDocs

fixed some PHPDocs

removed my prior changes to the code behaviour

removed errorous PHPDocs
2015-12-12 11:34:27 +11:00
Samuel Georges
91d3d4dbde Swap FileHelper methods for new Ini parser 2015-10-03 07:30:11 +10:00
Samuel Georges
b1b700368f Radical reorg of some classes 2015-01-28 11:49:54 +11:00
Samuel Georges
88ac73d221 Throw AppExceptions so they are not logged 2014-12-05 08:46:57 +11:00
Sam Georges
c83797231d Subsequent expressions are on a new line (see developer guide > PSR exceptions) 2014-11-01 12:00:45 +11:00
Stefan Talen
202e8869b1 Updating modules/cms/classes 2014-10-11 01:22:03 +02:00
alekseybobkov
a9e2e2d80f Improvements in the CMS objects and back-end UI. 2014-09-18 20:34:24 -07:00
Sam Georges
8b7bbd1062 Add 'partial' type to list columns. 2014-08-01 10:42:14 +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
Sam Georges
9b542efe6f Add complex page link handling to ComponentBase 2014-05-25 00:57:10 +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
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
7d468475c0 Better logging 2014-05-19 18:18:02 +10:00
Pascal Borreli
459c8e0cfa Fixed typos 2014-05-17 18:08:01 +02:00
Sam Georges
5bf215e648 Fixes unit test (stat failure) 2014-05-15 16:53:06 +10:00
Sam Georges
71a5dd67ab Welcome to the world, October :-) 2014-05-14 23:24:20 +10:00