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
Samuel Georges
8dd2e97cf7
~1.0 -> dev-develop
2016-04-01 14:07:43 +11:00
Samuel Georges
b51b5a112e
dev-stable -> ~1.0
2016-04-01 12:52:11 +11:00
Pásztor Gábor
9f3fcf27ed
Update AssetsList
2016-03-30 18:17:18 +02:00
Pásztor Gábor
40269cb6e2
Clean up
2016-03-29 14:55:25 +02:00
Samuel Georges
5a9d62d54a
Merge pull request #1882 from gpasztor87/patch-1
...
Clean up
2016-03-29 23:08:47 +11:00
Pásztor Gábor
324875f768
Clean up
2016-03-28 15:47:29 +02:00
Pásztor Gábor
87a5ff339e
Fix error in Maintenance Settings
2016-03-28 15:41:47 +02:00
Samuel Georges
90ccef9b11
Minor
2016-03-26 12:39:34 +11:00
Samuel Georges
86d4ae491e
Minor
2016-03-25 18:42:39 +11:00
Samuel Georges
2a7dbdd74a
Merge branch 'stable' into ui
...
Conflicts:
modules/cms/classes/CmsObject.php
modules/cms/widgets/MediaManager.php
2016-03-25 18:42:13 +11:00
Samuel Georges
4ddc8055c6
Merge branch 'develop' into stable
2016-03-25 18:39:16 +11:00
Samuel Georges
7b32f33d9d
Update to resizer class
...
Refs #1694
2016-03-25 17:31:22 +11:00
Samuel Georges
767ce5f2e7
Throw an exception when the file_data is missing from the request
...
Fixes #1712
2016-03-25 16:11:01 +11:00
Samuel Georges
3cac52afd4
Default is null, not false
2016-03-25 10:42:14 +11:00
Samuel Georges
f1aa720086
Create a safe mode to disable code field in the CMS
...
Fixes #1756
2016-03-25 10:05:04 +11:00
Samuel Georges
680887f452
Fixes component access issue
2016-03-25 09:56:36 +11:00
Samuel Georges
7c08b10fa2
Add cms.theme.setActiveTheme event
...
Bring other event names in to line with convention
Complete getConfigArray method
2016-03-23 20:11:55 +11:00
Samuel Georges
0b74734fae
Make room to load theme options from files
...
For example:
form: path/to/fields.yaml
2016-03-22 20:03:00 +11:00
Samuel Georges
31f74adb70
suppressDirectories -> ignoreDirectories
...
Add support for wildcards in ignoreDirectories
2016-03-21 17:19:38 +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
fad028bc40
Add local cmsObject.fillViewBagArray event
...
Tidy up some inline docs
2016-03-19 13:22:08 +11:00
Samuel Georges
792b7fed2a
Fixes CmsException on bad INI
...
No need for Cms SectionParser.php anymore
2016-03-19 10:30:42 +11:00
Samuel Georges
c244aef2f8
Clean up
2016-03-18 19:54:27 +11:00
Samuel Georges
7f209d2df9
Bring Asset in line with inTheme
2016-03-17 19:28:29 +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
dcc63baffd
Theme -> Datasource
2016-03-17 19:22:37 +11:00
Samuel Georges
864d38b77e
Why are these static?
...
...seriously, why are they static?
2016-03-12 15:49:37 +11:00
Samuel Georges
24a620e890
Convert CmsObject and CmsCompoundObject to use Halcyon
...
getFullPath -> getFilePath
2016-03-12 15:32:16 +11:00
Samuel Georges
855a97b35e
Set the default theme as part of the boot process
...
Themes can also register themselves gracefully with Halycon after loading
2016-03-12 12:14:19 +11:00
Samuel Georges
1bc647f978
Decouple Asset object
...
Add extensible to ComponentPartial
2016-03-12 10:17:07 +11:00
Samuel Georges
c34f72b821
Decouple ComponentPartial from CmsObject
2016-03-09 21:01:57 +11:00
Samuel Georges
d65bc5c2ad
Introduce a CmsObject interface
...
This will be useful to decouple ComponentPartial and Asset objects from their Halcyon counterparts
An Asset is technically not a template, it may be hosted via a CDN or others
A ComponentPartial is also different, it is read only and doesn't require caching
2016-03-09 20:51:04 +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
Pásztor Gábor
ed1c84b8b1
PHPDoc fixes.
2016-03-04 16:50:58 +01:00
alekseybobkov
27c7f4d0b8
Fixes a bug with inserting Media objects to the rich editor in Safari. Closes #1733
2016-03-02 21:10:27 -08:00
Samuel Georges
94c6ef4da0
Let Cms Objects use behaviors
2016-03-02 18:13:00 +11:00
alekseybobkov
387c75c5cd
Fixed a bug where changing a letter case in a folder name in Media Manager deletes the folder. Added ability to move files and folders to the root directory in Media Manager. Fixed a bug where numeric folder names are displayed incorrectly in the folder path in Media Manager. Fixes #1765 , fixes #1173 , fixes #1085 .
2016-02-29 21:50:07 -08:00
Samuel Georges
1241f584d0
Merge remote-tracking branch 'remotes/origin/stable' into ui
2016-03-01 07:02:07 +11:00
Samuel Georges
fd16f38b11
Implement file definitions (extensions + ignore files)
...
Block "unsafe" extensions from being uploaded to the Media manager
Fixes #1801
2016-02-29 18:12:26 +11:00
alekseybobkov
00ced6c79f
UI update
2016-02-28 19:52:21 -08:00
Samuel Georges
136ec18084
This allows AJAX to function on maintenance and 404 pages
2016-02-27 22:39:26 +11:00
Samuel Georges
63451aab50
Fixes validatePath for Windows
...
(DIRECTORY_SEPARATOR is normalized in code above)
2016-02-27 15:04:07 +11:00
Samuel Georges
d76863a3ec
Merge branch 'develop' into stable
...
Conflicts:
composer.json
2016-02-27 14:55:52 +11:00
Samuel Georges
8e9ae8e53e
Clean up from #1631
...
- Files in the media library can now contain two dots
- Retina Images Support
2016-02-27 14:49:38 +11:00
Samuel Georges
423360b2d2
Merge pull request #1631 from JoelESvensson/develop
...
Files in the media library can now contain two dots
2016-02-27 14:36:38 +11:00
Samuel Georges
b88e78ffb4
Minor
2016-02-27 14:22:56 +11:00
Breno Douglas Araujo Souza
ec03b7b2f8
Access paramater in onStart method in the partial
...
Variables passed in parameter partils not accessed in onStart method in the partial.
With merged vars before render partial, stays like this::
```php
function onStart() {
$this['param'];
}
```
2016-02-27 14:18:22 +11:00