2989 Commits

Author SHA1 Message Date
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
484579ac40 Sreamline events in richeditor
Add nwe event for visual mode (when visual mode is activated from code mode)
Always use spaces in redactor
2016-03-23 20:10: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
e9c7e6b9d1 No it is not safe to share the alias and field name...
The field name could be nested, for example: user[data]
Using this as an alias is user[data]::onDoSomething
Resulting in an invalid AJAX handler name
2016-03-17 19:50:34 +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
beb851bf5c Add viewBag tests, this is core functionality now 2016-03-17 19:21:41 +11:00
Samuel Georges
8e3ff0c700 Update tests with minor API changes for Halcyon implementation 2016-03-17 07:58:42 +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
a6b007e55c Rejigg the config so backendUri is more prominent 2016-03-09 20:48:18 +11:00
Samuel Georges
3db2809fc4 Register Halcyon Service Provider 2016-03-07 18:46:45 +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
alekseybobkov
aaff88b8c2 Reduced base border radius 2016-03-02 21:40:33 -08:00
alekseybobkov
9956870c38 Minor update in the top menu styles 2016-03-02 21:34:39 -08:00
Samuel Georges
090b39bdc5 Fixes font size on collapse button 2016-03-02 18:22:49 +11:00
Samuel Georges
94c6ef4da0 Let Cms Objects use behaviors 2016-03-02 18:13:00 +11:00
Samuel Georges
27d32d35ea Allow vertical scroll to act as horizontal
Not everyone has a trackpad and can scroll horizontally, so vertical scroll can substitute here
2016-03-02 18:06:46 +11:00
Samuel Georges
852785960b Tweak main menu to behave more like tiles 2016-03-02 18:05:52 +11:00
Samuel Georges
9c59dd58d3 Trial tooltip nav, recompile assets 2016-03-01 08:59:20 +11:00
Samuel Georges
7c6e3b1360 Remove old code 2016-03-01 07:54:05 +11:00
Samuel Georges
6d60d486a9 Fixes responsive nav taking up more room than it should 2016-03-01 07:42:02 +11:00
Samuel Georges
1241f584d0 Merge remote-tracking branch 'remotes/origin/stable' into ui 2016-03-01 07:02:07 +11:00
Samuel Georges
3a483c4129 Rollback "fix" color button close in modal
Not enough information on why this is needed, it causes component close icon to appear black
2016-02-29 18:12:27 +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
74ec5517d8 Missing comma , 2016-02-27 15:03:25 +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
brenodouglas
54ecc0c91a Add in install self-update for composer
Add composer self-update in before scripts
Refs #1788
2016-02-27 14:20:28 +11:00
brenodouglas
2caf2d6f84 Modify in less file icon close 2016-02-27 14:20:00 +11:00
brenodouglas
74953e3499 Install packages of plugins in composer.json using composer-merge-plugin
Refs #1788
2016-02-27 14:19:58 +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
breno
cc45c499ed fix color button close in modal 2016-02-27 14:18:21 +11:00
sNuuFix
a724a3aeb2 Fixed framework extra stylesheets for validator.w3.org HTML5 validation. 2016-02-27 14:13:20 +11:00