Commit Graph

3024 Commits

Author SHA1 Message Date
Samuel Georges a035acdc2c Tidy up some logic, restore firstRowTitles setting
Refs #1856
2016-03-26 14:10:05 +11:00
Jérémy Gaulin 2a60e34558 Import options to configure the CSV reader + patch to prevent unfriendly error to be thrown due to bad import source file encoding (on AJAX request) 2016-03-26 12:54:13 +11:00
Samuel Georges 1785c6c0d8 pikaday -> datepicker 2016-03-26 12:53:45 +11:00
Samuel Georges 8e14b9b649 Recompile assets 2016-03-26 12:40:55 +11:00
Jérémy GAULIN f836b43bb3 Pikaday translation 2016-03-26 12:39:57 +11:00
Samuel Georges 90ccef9b11 Minor 2016-03-26 12:39:34 +11:00
Samuel Georges 86d4ae491e Minor 2016-03-25 18:42:39 +11:00
Samuel Georges 2a7dbdd74a Merge branch 'stable' into ui
Conflicts:
	modules/cms/classes/CmsObject.php
	modules/cms/widgets/MediaManager.php
2016-03-25 18:42:13 +11:00
Samuel Georges 4ddc8055c6 Merge branch 'develop' into stable 2016-03-25 18:39:16 +11:00
Samuel Georges 0aef151d9a Add showSearch option to dropdown
This is a highly specific option, so we shouldn't add it to the FormField class itself
2016-03-25 18:21:58 +11:00
Samuel Georges 5789d0242f Fixes single image uploader breaking with comment
Comment appears to the right of the uploader, should be under it
2016-03-25 18:21:21 +11:00
Samuel Georges 23f4d40ef2 Merge common functionality in to FormModelWidget 2016-03-25 18:01:58 +11:00
Samuel Georges f45692ce84 (Minor) Fixes test 2016-03-25 17:34:16 +11:00
Samuel Georges 7b32f33d9d Update to resizer class
Refs #1694
2016-03-25 17:31:22 +11:00
Samuel Georges 767ce5f2e7 Throw an exception when the file_data is missing from the request
Fixes #1712
2016-03-25 16:11:01 +11:00
Samuel Georges a585fe3316 Share pivot|list title logic
We already had a key for this... spooky!
Refs #1755
2016-03-25 14:24:38 +11:00
Samuel Georges e19ae42e45 (Rollback) Keep instances to themselves 2016-03-25 14:17:13 +11:00
Samuel Georges 762c5e754b Switch the manage popup title according to the button pressed
Fixes #1755
2016-03-25 14:03:11 +11:00
Samuel Georges 4fe6cc6509 Adds a clearInternalCache method to SettingsModels
Fixes #1815
2016-03-25 12:44:42 +11:00
Samuel Georges 0950959904 Do not show disabled plugins in the update list
Fixes #1716
2016-03-25 12:37:15 +11:00
Samuel Georges 010cd403f5 Detail column now supports lengthy updates
Fixes #1816
2016-03-25 10:59:17 +11:00
Samuel Georges 3cac52afd4 Default is null, not false 2016-03-25 10:42:14 +11:00
Samuel Georges f1aa720086 Create a safe mode to disable code field in the CMS
Fixes #1756
2016-03-25 10:05:04 +11:00
Samuel Georges 680887f452 Fixes component access issue 2016-03-25 09:56:36 +11: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 484579ac40 Sreamline events in richeditor
Add nwe event for visual mode (when visual mode is activated from code mode)
Always use spaces in redactor
2016-03-23 20:10: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 2a3a63857c text/javascript is obsolete. Fixes #1847 2016-03-21 19:13:01 +11:00
Samuel Georges 31f74adb70 suppressDirectories -> ignoreDirectories
Add support for wildcards in ignoreDirectories
2016-03-21 17:19:38 +11:00
Samuel Georges 6e7fa7de88 Allow CmsObjects to define their own Twig cache key 2016-03-21 13:42:03 +11:00
Samuel Georges 4922d6d284 Retain previous listInTheme cache functionality 2016-03-20 16:04:27 +11:00
Samuel Georges fad028bc40 Add local cmsObject.fillViewBagArray event
Tidy up some inline docs
2016-03-19 13:22:08 +11:00
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 e9c7e6b9d1 No it is not safe to share the alias and field name...
The field name could be nested, for example: user[data]
Using this as an alias is user[data]::onDoSomething
Resulting in an invalid AJAX handler name
2016-03-17 19:50:34 +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 beb851bf5c Add viewBag tests, this is core functionality now 2016-03-17 19:21:41 +11:00
Samuel Georges 8e3ff0c700 Update tests with minor API changes for Halcyon implementation 2016-03-17 07:58:42 +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 076f5199af Merge pull request #1832 from scottbedard/patch-2
Add ctrl+click support for rowlinks
2016-03-12 10:58:11 +11:00
Samuel Georges 2d42089fdd Merge pull request #1835 from alvaro-canepa/patch-1
Fix date to 2016
2016-03-12 10:57:42 +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 a6b007e55c Rejigg the config so backendUri is more prominent 2016-03-09 20:48:18 +11:00
Alvaro Cánepa 4f6d7d69a4 Fix date to 2016 2016-03-08 07:14:58 -03:00