672 Commits

Author SHA1 Message Date
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
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
Szabó Gergő
d84a9e4b4a Minor bugfix 2015-12-11 22:11:37 +01:00
Szabó Gergő
e781240cc6 Update the Hungarian translation 2015-12-05 11:49:19 +01:00
Samuel Georges
8d7c90bebf Merge pull request #1489 from Flynsarmy/filterByFolder
Show matching folders when filtering CMS objects. Ref #1466
2015-12-05 08:24:13 +11:00
Lucas Martín
d33c555933 Update validation.php
Add more translations to spanish and format correction

Update lang.php

Add more translations to spanish and format correction

Create client.php

Add file with translations to spanish

Update lang.php

Add more translations and format correction

Update lang.php

Add more translations to spanish and correct format
2015-11-28 16:23:26 +11:00
Samuel Georges
5e5e99cd46 Make it easier to pick the component name from the error 2015-11-01 13:16:43 +11:00
Denis Malinochkin
f5dd39e1a2 update Russian language to build 305 2015-10-17 18:12:14 +03:00
Samuel Georges
3b4ee3340e * Build 305
Fix bug when property values are array
2015-10-17 14:52:50 +11:00
Joel E. Svensson
707c925b02 Even more translations
Added translation for "Properties"

Added translation for "Invalid security token"

Fixed spelling of "log in"

Fixed spelling of "access log"
2015-10-17 12:48:49 +11:00
Samuel Georges
5c294b78bd Add support to extend query on 'nested' sortMode - refs #1519
Recompile assets, minor cleanup
2015-10-17 12:44:16 +11:00
Samuel Georges
6203970122 Progress bar should turn red on error - refs #1518
Tidy up progress bar control, streamline brand colours
2015-10-17 12:17:10 +11:00
Samuel Georges
c4e88d2e21 Merge pull request #1518 from firoxer/develop
Display media manager upload errors more clearly
2015-10-17 11:50:56 +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
Oliver Vartiainen
9f2e50c4eb Display media manager upload errors more clearly
* Differentiate between successful and failed uploads
* Add a function for updating upload bar status
* Add a new upload error text

Fixes #1349
2015-10-14 21:06:17 +03: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
1774f12e65 Minor styling fix 2015-10-07 07:22:16 +11:00
flynsarmy
3e37c9307f Show matching folders when filtering CMS objects. Ref #1466 2015-10-05 12:12:11 +10:00
Samuel Georges
99fcdaaadb Merge pull request #1488 from vojtasvoboda/feature/duplicate-array-keys
Remove duplicate array keys
2015-10-05 08:45:48 +11:00
Samuel Georges
399fd70cba Merge pull request #1486 from sajjad-ser/master
Update Persian language
2015-10-05 08:44:43 +11:00
Samuel Georges
16ca5b4ffc Merge pull request #1474 from adrenth/develop
Fix undefined variable $filePath
2015-10-05 08:43:31 +11:00
Vojta Svoboda
3ea76dd817 Remove duplicate array keys 2015-10-04 22:09:57 +02:00
Sajjad
19adf61c5e Update Persian language 2015-10-03 12:36:57 +03:30
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
Alwin Drenth
21680f60f9 Updated Dutch language for CMS 2015-09-29 22:04:14 +02:00
Samuel Georges
6b3d82d10f Merge pull request #1464 from Flynsarmy/useFileFacade
Use correct folder permissions in ThemeImport/Export
2015-09-28 07:51:00 +10:00