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
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
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
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
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
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
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
Jens Herlevsen
2350e30853
Make default 404 page use 404 status code
2016-01-24 19:04:22 +01:00
Samuel Georges
af4f42e208
Add 503 header when maintenance mode enabled.
...
Fixes #1655
2016-01-21 20:16:53 +11:00
Samuel Georges
b5aef97133
Alt fix for #1680
2016-01-04 17:49:11 +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
Joel E. Svensson
8f1e2ff8a3
Files in the media library can now contain two dots
2015-12-06 18:55:51 +01:00
Samuel Georges
5e5e99cd46
Make it easier to pick the component name from the error
2015-11-01 13:16:43 +11:00
Samuel Georges
3b4ee3340e
* Build 305
...
Fix bug when property values are array
2015-10-17 14:52:50 +11:00
Vojta Svoboda
16eb704793
Add missing PHPDoc @return tag
2015-10-17 09:17:37 +11:00
alekseybobkov
a5b217ff0b
Merge branch 'develop' into builder-ui
...
Conflicts:
modules/backend/widgets/table/assets/js/build-min.js
modules/backend/widgets/table/assets/js/table.js
2015-10-15 17:32:19 -07:00
alekseybobkov
e26271bc01
Minor fix in Inspector styles. Minor fix in the component helper.
2015-10-15 17:10:56 -07:00
Samuel Georges
84a95af93b
whereComponent doesn't rely on the component object
2015-10-09 05:32:24 +11:00
Samuel Georges
3531793ca3
Add where and whereComponent to CMS objects
2015-10-08 07:28:20 +11:00
Samuel Georges
1847018b99
Switch to October flavored INI
2015-10-03 08:52:52 +10:00
Samuel Georges
91d3d4dbde
Swap FileHelper methods for new Ini parser
2015-10-03 07:30:11 +10:00
Samuel Georges
8ed6a3cc51
Fixes exception ref
2015-10-03 07:29:08 +10:00
Samuel Georges
c30851d684
Remove dead ns ref
2015-09-30 20:54:00 +10:00
Samuel Georges
2ecf2db311
Remove dependency on IntlDateFormatter
2015-09-30 20:52:31 +10:00
Samuel Georges
8d11fe1257
Minor touch up to #1462
2015-09-26 08:51:13 +10:00
Samuel Georges
25f59a3b27
Merge pull request #1462 from dshoreman/localised-dates
...
Localise last modified date for mediaManager items
2015-09-26 08:47:41 +10:00
Dave Shoreman
faf682e30e
Localise last modified date for mediaManager items
...
Updates the string version of the date to use PHP's IntlDateFormatter
which gives us translated dates in the appropriate format, based on
the user's locale set in backend preferences.
If ever there's a case where locale wasn't set or didn't match anything,
it would default to the system locale.
2015-09-24 19:11:32 +01:00
flynsarmy
6e85290c9e
Allow \ character in Page URLs. Fixes #1441
2015-09-22 10:38:35 +10:00
Samuel Georges
51c7878e8f
Fixes rendering 2 shared component partials nukes context
2015-08-30 11:56:44 +10:00
Samuel Georges
2c5f9eba6b
Write tests that verify the truth of #1373
2015-08-15 13:39:44 +10:00