Commit Graph

46 Commits

Author SHA1 Message Date
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
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
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
Nathan van der Werf fbca3bea92 Remove redundant variables 2018-08-15 19:23:12 +02:00
Nathan van der Werf 3a918ad200 Remove "null" assignments 2018-08-15 18:33:24 +02:00
Samuel Georges fb2aa1730c Fixes security issue
Refs #3604
2018-06-22 22:57:38 +10:00
Samuel Georges 5ea79489af pluck -> value
This is an odd one from Laravel, pluck is now value and lists is now pluck. We'll need a release note about this one.
2017-05-12 07:19:06 +10:00
Quezler cc17b679f1 Code dusting (#2826)
Code cleaning according to PSR-2 w/ exemptions (mostly dust).
2017-04-24 21:38:19 +10:00
Samuel Georges e54cf7133b Improve some inline docs in preparation for API docs 2017-03-14 19:36:17 +11:00
Samuel Georges e2a5d54393 Revise #2426 - Rename preview to previewImage
This is an exotic feature so don't include in the form fields
2017-01-29 09:13:01 +11:00
Szabó Gergő 78d7436460 Set the path of theme preview image manually 2016-10-17 13:51:09 +02:00
Samuel Georges 6ca828a1fa Always return an active theme and data 2016-06-16 08:01:34 +10:00
Samuel Georges 27dc84c59b ThemeData can now pass variables to the combiner
Add support for fileuploads to ThemeData
Fixes #1539
2016-06-02 05:23:05 +10:00
Samuel Georges 74a6a71bcb Parameters -> Parameter
(Models should be singular)
2016-05-31 08:17:48 +10:00
Samuel Georges adbde0ad09 If the cache should fail, don't bring down the whole app 2016-04-27 05:44:32 +10:00
Samuel Georges b534006f35 DbDongle -> App::hasDatabase 2016-04-16 07:44:18 +10: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 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 dcc63baffd Theme -> Datasource 2016-03-17 19:22:37 +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 52ea4a73c8 Performance improvements, rename scopes to standard 2015-07-21 20:46:35 +10:00
Samuel Georges 7ca6602c08 Minor 2015-04-15 19:43:05 +10:00
Samuel Georges 77d3ab8b67 Finish basic theme utilities: properties, import/export, duplicate, delete 2015-03-16 19:00:39 +11:00
Samuel Georges 9b8e1ce3c1 Improve theme list to allow editing properties 2015-03-14 18:09:54 +11:00
Samuel Georges 7145aac457 Prepare for CDN, config rename cms.plugins|themes|uploadsDir -> cms.plugins|themes|uploadsPath
Deprecate data-trigger-type on triggerapi
Fixes ref to Util class
2015-02-17 20:58:38 +11:00
Samuel Georges 899100919d Rewrite all implementations of remember() on models 2015-02-04 19:52:59 +11:00
Samuel Georges b1b700368f Radical reorg of some classes 2015-01-28 11:49:54 +11:00
Samuel Georges 2533b4ab4d ThemeData now applies default values, Theme object will proxy to ThemeData 2014-12-05 16:45:20 +11:00
Samuel Georges 70eb7eaf51 Adds Theme customization feature
Adds reset button to settings pages
authorUrl -> homepage
2014-12-04 16:49:52 +11:00
Samuel Georges 001e86456d Fixes #788 - Fall back to config theme when db theme fails. 2014-11-23 03:40:04 +11:00
Samuel Georges f351697c48 Streamline Theme object API (::load should be static as in CmsObject) 2014-11-19 17:45:57 +11:00
Stefan Talen 202e8869b1 Updating modules/cms/classes 2014-10-11 01:22:03 +02:00
Sam Georges 1c4706bbbb Fixes unit tests so they pass 2014-10-09 18:08:28 +11:00
alekseybobkov a9e2e2d80f Improvements in the CMS objects and back-end UI. 2014-09-18 20:34:24 -07:00
Sam Georges e85cbf80c5 Fixes unit tests 2014-07-29 13:14:54 +10:00
Sam Georges 5d832a2f7b Fixes #461 2014-07-25 14:21:13 +10:00
Sam Georges 0dabaf67c1 Files should not appear as themes 2014-07-24 19:16:17 +10:00
Sam Georges 15b93c7b03 Rewind DI to prevent double up bug 2014-07-19 16:09:44 +10:00
Sam Georges a43f4f6b51 Use Parameters model instead of raw DB 2014-07-19 16:07:32 +10:00
alekseybobkov c324c80969 Added the theme selector 2014-07-19 13:05:50 +11:00
Sam Georges fc25d67230 Fix docblock 2014-06-25 19:04:34 +10:00
Sam Georges 5eff2fb396 Tidy up code 2014-06-25 19:03:46 +10:00
flynsarmy 0e8c0de21f Add Theme::exists(), Fix getPath() 2014-06-25 13:47:16 +10:00
Pascal Borreli 459c8e0cfa Fixed typos 2014-05-17 18:08:01 +02:00
Sam Georges 71a5dd67ab Welcome to the world, October :-) 2014-05-14 23:24:20 +10:00