Commit Graph

54 Commits

Author SHA1 Message Date
Arthur Kushman c78b3ef786 Code formatting changes (#3363)
Code formatting improvements submitted by @arthurkushman.
2018-03-22 10:55:13 -06:00
Samuel Georges 9cadea9b19 Code doc improvements 2017-07-27 17:35:14 +10:00
Samuel Georges 0a2b343047 Simplify system events
This pipes all event calls through a new EventEmitter trait, which substitutes the October Rain event emitter trait. The view event has been moved to this trait also.
Pass some variables by reference to allow multi-extension.
Fixes #2420
2016-12-10 09:02:06 +11:00
Samuel Georges 55848e400c Empty CMS section when only manage_themes permission granted
Fixes #2425
2016-10-29 10:23:50 +11:00
Szabó Gergő d7f1d523f0 Translate some strings (#2395)
* Translate some strings
2016-10-11 08:29:26 +11:00
Samuel Georges 83a541f819 Minor code consistency 2016-07-27 17:21:38 +10:00
Samuel Georges 3ab90da6b5 Take data from form widget first, then request
URL -> Url
2016-07-27 17:17:22 +10:00
Hernawan Fa'iz Abdillah 6bb5926e19 Add newline conversion to code data section too 2016-06-02 05:52:49 +10:00
Samuel Georges 83ebd24bcc Side panel should be fixed by default 2016-05-18 05:01:19 +10:00
Samuel Georges 0d3566e3f6 We should purge the attributes before saving
This will allow the components to be removed
Fixes #2007
2016-05-15 16:47:10 +10:00
Pásztor Gábor 40269cb6e2 Clean up 2016-03-29 14:55:25 +02: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 1bc647f978 Decouple Asset object
Add extensible to ComponentPartial
2016-03-12 10:17:07 +11:00
Samuel Georges 70882a0e33 Minor revert from previous 2 commits 2015-09-26 08:01:08 +10:00
Szabó Gergő 5a39058b56 Translate the "CMS" string and minor cleanup 2015-09-21 21:09:07 +02:00
Samuel Georges c87b075440 CMS Controller now supports form widgets that use AJAX (Yay!) 2015-06-24 17:37:33 +10:00
Pásztor Gábor 12bfc52941 Emmet support for Codeeditor 2015-02-18 20:54:36 +01:00
Samuel Georges f2460cb7b8 Fixes issue where snippet data (viewBag) is not saved
^- when there are no components used on the partial
+ Minor lang fix
2015-02-14 17:27:27 +11:00
Samuel Georges 9d649ebb1e Remove deprecated path symbols 2015-02-07 16:20:34 +11:00
Samuel Georges b1b700368f Radical reorg of some classes 2015-01-28 11:49:54 +11:00
alekseybobkov c26545913c Improvements in the table widget, added new events to the CMS core, form styling, added support for the Table widget in in the CMS area. 2015-01-07 22:21:52 -08:00
alekseybobkov ba32d9a1bf Merge branch 'develop' into viewbag-unification 2014-11-11 11:43:12 -08:00
Sam Georges 98e100b377 Refs #729 - Fixes CMS permissions, should not show "pages" content by default 2014-11-09 12:35:10 +11:00
alekseybobkov 802f96f10e Refactoring of the view bag support code 2014-11-03 20:50:18 -08:00
Sam Georges c83797231d Subsequent expressions are on a new line (see developer guide > PSR exceptions) 2014-11-01 12:00:45 +11:00
alekseybobkov 9a05a408c9 Added support for components in partials 2014-10-29 22:12:42 -07:00
Stefan Talen 347dff7e75 Merge branch 'develop' of https://github.com/octobercms/october into feature/PSR-2
Conflicts:
	modules/backend/behaviors/RelationController.php
	modules/backend/classes/WidgetManager.php
	modules/cms/classes/CmsCompoundObject.php
	modules/cms/twig/Extension.php
	modules/cms/twig/PlaceholderNode.php
	modules/cms/widgets/TemplateList.php
2014-10-18 11:07:17 +02:00
Sam Georges ed552f1591 Minor code clean 2014-10-18 15:52:44 +11:00
Stefan Talen 06890d711a Merge branch 'develop' of https://github.com/octobercms/october into feature/PSR-2
Conflicts:
	modules/backend/behaviors/UserPreferencesModel.php
	modules/cms/classes/Controller.php
	modules/system/classes/CombineAssets.php
2014-10-16 18:44:18 +02:00
Sam Georges 9f5646d273 BackendSettings -> BrandSettings
pageTitle is now translated at the end of the line
Fixed unit tests so they pass
SettingsModels are now cached
2014-10-15 19:53:44 +11:00
Stefan Talen e9ce6f5d54 Updating modules/cms/controllers 2014-10-11 01:27:52 +02:00
alekseybobkov 6b42055184 Fixes in the rich editor, improved the content block rendering code, minor fixes in the popover and form styling. 2014-09-27 23:28:38 -07:00
alekseybobkov df55946b61 Merge branch 'misc-tmp' into develop 2014-09-03 20:01:17 -07:00
alekseybobkov 9572c17253 Minor changes in the back-end UI. The front-end router now triggers an event allowing to override the default routes. The CMS back-end UI now supports view bags in content files. 2014-09-03 19:58:21 -07:00
Sam Georges 8c07bfea15 Tokens expand when holding CTRL and double clicking (Yay!) 2014-08-30 16:21:16 +10:00
Sam Georges 357475c992 Token Breaker -> Token Expander, Add token expander to CMS editor 2014-08-30 16:05:19 +10:00
Sam Georges e55d4f9ea0 Performance improvement: CMS was passing all assets with each AJAX call
Add token breaker plugin to CMS page
2014-08-30 15:04:15 +10:00
Sam Georges d2e2e1ffff Local events also don't need prefixes 2014-08-19 21:34:59 +10:00
Sam Georges 7bd967cff5 Fix cms.template.save event, should always pass the primary object as the first/second parameter.
This may be a breaking change for some, sorry about that.
2014-08-19 21:33:03 +10:00
Sam Georges 6388ecef52 private -> protected 2014-08-01 13:58:59 +10:00
Sam Georges e6379ea21d Fixes bug when deleting cms templates 2014-07-25 18:11:16 +10:00
Sam Georges 86daf9f308 Add event emitter to backend controllers
Minor tidy up
2014-07-15 08:14:59 +10:00
Jmeyering 142c7f40ca Also adding in local events as per developer documentation 2014-07-14 12:15:23 +00:00
Jmeyering 7d1fe7833f One More naming issue 2014-07-14 07:09:01 -05:00
Jmeyering e9c3474c92 Fix Naming
Updates to correct naming issue
2014-07-14 07:07:43 -05:00
Jmeyering 5604a095fc fire events on template updates 2014-07-14 02:42:30 +00:00
alekseybobkov aee0777032 Display a correct CMS object name in the page title. Fixes #28. Fixes #354. 2014-06-26 15:29:38 +11:00
Sam Georges 82f586c0d1 Asset maker functions (addJs, addCss, addRss) now use an optional build code, either *core* or a plugin code. 2014-05-24 16:35:54 +10:00
Sam Georges c593123700 Components can now be dragged on to a page or layout 2014-05-24 15:18:59 +10:00
Sam Georges 193ffade54 Minor 2014-05-20 10:25:04 +10:00