Commit Graph

704 Commits

Author SHA1 Message Date
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
Samuel Georges 94c6ef4da0 Let Cms Objects use behaviors 2016-03-02 18:13:00 +11: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 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
sNuuFix a724a3aeb2 Fixed framework extra stylesheets for validator.w3.org HTML5 validation. 2016-02-27 14:13:20 +11:00
Samuel Georges fbed1dd2ed Merge pull request #1799 from mcustiel/feature-component-autowiring
Added the ability to inject dependencies into components
2016-02-27 14:09:14 +11:00
alekseybobkov 6ed4bd5ef6 Updates in the UI 2016-02-22 21:52:23 -08:00
Samuel Georges ff52ad6595 Remove Illuminate references 2016-02-23 13:46:57 +11:00
Mariano Custiel c94706ed05 Added the ability to create instances of components from factories to allow injection of dependencies in components
Fixed descriptions

Added missing new lines at the end of fixture components

Fixed problem with include path

Fixed code as suggested. Now everything is solved through app::make

Removed tests that are not needed anymore since last changes
2016-02-22 09:44:14 +01:00
alekseybobkov a943708b99 UI updates 2016-02-19 22:12:41 -08:00
Samuel Georges c7530eece9 Merge pull request #1781 from sajjad-ser/master
Fix Some Typo
2016-02-20 10:17:01 +11:00
Samuel Georges 9b06549a13 Merge pull request #1783 from iBourgeois/master
Update AssetList.php
2016-02-20 10:15:13 +11:00
Derek Bourgeois 4797364a04 Update AssetList.php
Allow .otf and .woff2 font formats by default. These file types are included in popular packages such as Bootstrap and Font Awesome.
2016-02-15 10:37:56 -05:00
saman3230 21574edf01 FIX typo 2016-02-15 17:21:16 +03:30
Mahmut Namli 6391e9b323 Added new translation strings 2016-02-13 16:44:43 +11:00
Samuel Georges 2c9e61e182 Minor typo - Fixes #1735 2016-02-13 15:55:02 +11:00
Samuel Georges 5e6fc130bb Merge pull request #1732 from sajjad-ser/master
Update persian language
2016-02-13 15:52:39 +11:00
Samuel Georges 337cf36150 Access variables as variables, not methods
Fixes #1721
Really not sure why viewBag is using the __call() magic method to access properties. Switched to using __get() + __isset() to keep everything in black and white. If this turns out to be a mistake, roll it back and ensure the reason is documented accordingly.
2016-02-13 15:26:52 +11:00
Samuel Georges 97daebfa9e Use BadMethodCallException for graceful failure (Twig only)
Fixes #1571
This also fixes method inheritance for behaviors by using parent::__call() to look for any methods provided by extensions, catches the exception, then continues with BAU
2016-02-13 15:23:53 +11:00
Samuel Georges acfb35cbed Merge branch 'develop' into stable 2016-02-10 20:03:51 +11:00
Samuel Georges 03e7c19a5d Fixes issue where twig passed null
Minor update to dropdown docs
2016-02-09 17:58:37 +11:00
Sajjad d2619b6ba4 Update persian language 2016-01-28 18:00:07 +03:30
Jens Herlevsen 2350e30853 Make default 404 page use 404 status code 2016-01-24 19:04:22 +01:00
Joel E. Svensson ed583491e0 Fixes #1681
Added a customzied slug-function to MediaManager which supports @-signs
2016-01-23 20:36:05 +01:00
Samuel Georges af4f42e208 Add 503 header when maintenance mode enabled.
Fixes #1655
2016-01-21 20:16:53 +11:00
Samuel Georges d34350a7b1 Merge branch 'develop' into stable 2016-01-16 10:20:21 +11:00
Alwin Drenth 94cbe93e8c Update Dutch language 2016-01-16 10:18:20 +11:00
Joshua Wilson d0b250c8f7 Flash twig node now displays all messages of all types.
Fixes #1225
2016-01-12 16:51:58 -05:00
Samuel Georges b5aef97133 Alt fix for #1680 2016-01-04 17:49:11 +11:00
Samuel Georges 1d2929e2f0 Update composer refs 2016-01-02 18:44:59 +11:00
Samuel Georges 5a70cec7a2 Improved fix for #1672 2016-01-02 13:41:57 +11:00
Samuel Georges ecb54ff92c Rollback #1672 2016-01-02 13:40:32 +11:00
Samuel Georges f39340fc1c Merge pull request #1672 from dqsully/dqdevelop
Fix twig caching
2016-01-02 12:36:10 +11:00
Dave Shoreman 66413ea50b Fix permissions required for theme settings 2015-12-31 11:32:25 +00: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
Samuel Georges 0164324e63 Merge pull request #1657 from gergo85/patch-1
Improve the multilingual support
2015-12-19 14:13:58 +11:00
Szabó Gergő 12465f4f86 Improve the multilingual support 2015-12-14 18:21:56 +01:00
Samuel Georges 1643cf69b9 Merge pull request #1650 from gergo85/master
Update the Hungarian translation
2015-12-12 11:41:43 +11: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