Samuel Georges
a0ec7652f8
Remove stub method
...
This is a very old stub method included to point out an override is available, in the process it prevents the viewBag property from being populated by the underlying CmsCompoundObject base class, thereby preventing anyone from extending the Layout or Page with custom form fields.
Refs #3769
2018-10-01 10:29:03 +10:00
Alexander Shapoval
709790a05d
Added method getLayout() to Controller ( #3765 )
...
Credit to @ebashu-on-holidays
2018-09-09 18:55:10 -06:00
Samuel Georges
4ec3b525e0
Fixes event implementation
...
The array_merge approach will only shallow merge the arrays preventing a second event from contributing form fields properly. Passing by reference is the logical thing to do here.
2018-09-06 17:08:05 +10:00
Szabó Gergő
82b45268c7
Change the lang code in the html templates ( #3754 )
...
Credit to @gergo85
2018-09-04 11:54:26 -06:00
Samuel Georges
38cea8d037
Annotate class methods
2018-08-30 13:50:15 +10:00
Nathan van der Werf
8fd16d4db6
Merge branch 'develop' into feature/cleanup
...
# Conflicts:
# modules/backend/formwidgets/FileUpload.php
2018-08-24 19:52:54 +02:00
Nathan van der Werf
0f0d108da0
Remove unused imports
2018-08-24 19:51:59 +02:00
Nathan van der Werf
66fa03f17e
Revert "Remove unused imports"
...
This reverts commit 742a5f415b .
2018-08-24 19:40:40 +02:00
Samuel Georges
eb2419cc74
Typo
2018-08-21 13:28:12 +10:00
Samuel Georges
8383466508
Introduce events for extending Theme configuration
2018-08-21 13:18:22 +10:00
Luke Towers
1032fd0cc1
Added more inline API event docs:
...
Added docs for:
cms.component.beforeRunAjaxHandler
cms.component.runAjaxHandler
Improved docs for:
cms.ajax.beforeRunHandler
2018-08-18 09:05:38 -06:00
Nathan van der Werf
4142c9c9e6
Modify sorting icon from "desc" to "asc" ( #3705 )
...
Credit to @nathan-van-der-werf
2018-08-17 15:12:41 -06:00
SeriousKen
5707508dbc
Update ThemeLog when file name is changed ( #3696 )
...
Credit to @SeriousKen
2018-08-17 10:25:18 -06:00
Maria Vilaró
5c72ad1474
Add translations for Catalan ( #3694 )
...
Credit to @mariavilaro.
2018-08-16 08:14:26 -06:00
Nathan van der Werf
0716101bc8
Merge unset statements
2018-08-15 19:26:49 +02:00
Nathan van der Werf
8b6f11e6ac
Extract child instructions
2018-08-15 19:25:42 +02:00
Nathan van der Werf
fbca3bea92
Remove redundant variables
2018-08-15 19:23:12 +02:00
Nathan van der Werf
2cdbb37a36
Remove duplicate array keys in language files
2018-08-15 19:18:26 +02:00
Nathan van der Werf
62c59a4903
Refactor ternary operators to null coalescing operators
2018-08-15 19:15:13 +02:00
Nathan van der Werf
a3d7a028b4
Replace is_null with "=== null" comparison
2018-08-15 18:54:46 +02:00
Nathan van der Werf
77b6f07291
Modify conditions to use elvis operators
2018-08-15 18:53:11 +02:00
Nathan van der Werf
bc17975634
Remove alias functions
2018-08-15 18:51:25 +02:00
Nathan van der Werf
123145fd54
Remove unnecessary parentheses
2018-08-15 18:49:52 +02:00
Nathan van der Werf
a075be206b
Replace class references with "self"
2018-08-15 18:47:06 +02:00
Nathan van der Werf
02bd38cfb1
Merge if constructs
2018-08-15 18:45:37 +02:00
Nathan van der Werf
0947406343
Remove senseless proxy functions
2018-08-15 18:35:15 +02:00
Nathan van der Werf
3a918ad200
Remove "null" assignments
2018-08-15 18:33:24 +02:00
Nathan van der Werf
742a5f415b
Remove unused imports
2018-08-15 18:27:36 +02:00
vosco88
7e6800ea6e
Added Slovak translations ( #3671 )
...
Credit to @vosco88.
2018-08-05 18:16:27 -06:00
Jim Cottrell
bfee483805
Adds support for minifying framework assets ( #3240 )
...
Fixes #2753 . Credit to @jimcottrell
2018-07-05 17:57:17 -04:00
Samuel Georges
fb2aa1730c
Fixes security issue
...
Refs #3604
2018-06-22 22:57:38 +10:00
whsol
15cdf6e71f
Make code parser data cache key configurable ( #3373 )
...
Credit to @whsol
2018-06-05 10:10:35 -06:00
QuangTrọngOnline
3ef571da3c
Added Vietnamese translation ( #3514 )
...
Credit to @quangtrongonline.
2018-04-24 11:41:01 -06:00
Luke Towers
92e346296e
Added cms.ajax.beforeRunHandler event
2018-04-19 10:26:50 -06:00
Luke Towers
4f7a08954d
Updating links in composer files
2018-04-16 02:33:08 -06:00
Luke Towers
df5b2afc06
Re-add Backend facade
2018-03-24 09:19:30 -06:00
Arthur Kushman
c78b3ef786
Code formatting changes ( #3363 )
...
Code formatting improvements submitted by @arthurkushman.
2018-03-22 10:55:13 -06:00
Mohamed Ali Behiry
e3635b80e7
Added partial Arabic translation ( #3296 )
...
Credit to @mabehiry
2018-03-20 13:20:09 -06:00
Miro Rauhala
610452078d
Update Finnish translations ( #3460 )
...
Credit to @mirorauhala
2018-03-19 15:36:53 -06:00
CaptainTF
7a6f1d3c85
Improved Simplified Chinese (zh-CN) translation ( #3447 )
...
Credit to @CaptainTF
2018-03-12 23:26:34 -06:00
interworks-morr
0206a6811f
Improve cache reliability ( #3421 )
...
Reported and fixed by @interworks-morr:
"Occasionally with certain IIS setups, the file will contain an out-of-date class name. This patch will verify the class name from the file before returning, and clear the cache if invalid."
2018-03-02 20:00:05 -06:00
Alexander Shapoval
7552464779
Updated Russian Translations ( #3414 )
...
Credit to @PopcornPHP
2018-02-25 21:25:12 -06:00
Sajjad Servatjoo
708b1e3a75
Update Persian Language ( #3396 )
...
Credit to @sajjad-ser
2018-02-13 10:55:06 -06:00
Matteo
678916854e
Add config to enable Twig strict_variables ( #3370 )
...
Adds the cms.enableTwigStrictVariables config option to enable strict_variables in Twig for debugging purposes. See https://twig.symfony.com/doc/2.x/api.html#environment-options . Credit to @matteotrubini
2018-01-26 10:59:45 -06:00
Arthur Kushman
bbc33710c1
>= PHP7.0 refactoring ( #3343 )
...
* Fix loosly comparison to strict + argument types and return types for >=7.0
* Change hard-coded strings to ::class,
* Fix unit-tests failures - some relative to 7.0 phpunit env deployment
* Fix exception string + format return types
* Change string representation of new classes in traceLog to ::class
Credit to @arthurkushman
2018-01-12 00:23:20 -06:00
viamage
7ffb79a5fd
Fix typo ( #3326 )
...
Fixed typo, added CmsCompoundObject::getComponentProperties method test. Credit to @viamage
2017-12-27 13:31:34 -06:00
Miro Rauhala
d54c3b18e9
Initialize missing variable ( #3318 )
...
Fixes #3317 . Credit to @mirorauhala
2017-12-21 16:06:56 -06:00
Miro Rauhala
1d3828c36e
Bring Finnish language up to date ( #3316 )
...
Credit to @mirorauhala
2017-12-21 11:16:01 -06:00
Samuel Georges
9f1fe611e4
File cleaned up as part of review
2017-11-25 21:17:07 +11:00
Samuel Georges
0a428423af
Twig partial() function should not throw exception
...
This allows checking if a partial exists
2017-11-19 14:58:47 +11:00