137 Commits

Author SHA1 Message Date
Luke Towers
a7bbfe2d9d Split out last modified button into it's own partial 2018-11-30 15:33:53 -06:00
Luke Towers
80b5c41825 Improve compatibility with RainLab.Pages 2018-11-23 14:41:18 -06:00
Luke Towers
a4f5e1b96e Finished initial implementation of Commit / Reset buttons 2018-11-23 13:35:51 -06:00
Luke Towers
878bb890b9 Passed the buck to the AutoDatasource to implement pushToSource and removeFromSource, added type hinting to AutoDatasource parameters 2018-11-23 11:28:34 -06:00
Luke Towers
7ebd8b9ffc Implement canCommitTemplate and canResetTemplate checks, added UX for commit / reset buttons (load indicator & success flash messages) 2018-11-23 11:07:36 -06:00
Luke Towers
7809f9ada5 Added a Theme::databaseLayerEnabled method to make checking for the db layer easier 2018-11-22 13:41:11 -06:00
Luke Towers
0a8450b21c Added base structure of the Commit & Reset buttons, NOTE: Have not actually implemented the logic for them yet, just added the initial shells / UI for them. 2018-11-22 13:34:19 -06:00
Christian
5d6354ba88 Fixes from #3880 (#3885)
Fixes #3880. Credit to @Teranode & @gergo85.
2018-10-22 15:30:44 -06:00
Szabó Gergő
9522deff4e Add filters to log pages (#3815)
Credit to @gergo85. Thanks to @petehalverson for octodock to test this with
2018-10-16 09:09:41 -06:00
Szabó Gergő
3ac740d2c3 Add last modified date to Pages, Partials, Layouts and Content (#3865)
Credit to @gergo85. Thanks to @petehalverson for Octodock to test it.
2018-10-16 09:06:43 -06:00
Luke Towers
10aa5a6296 Documented cms.template.processTwigContent 2018-10-11 19:28:17 -06:00
Luke Towers
69d22518c6 Documented internal events
cms.template.save
cms.template.delete
cms.template.processSettingsAfterLoad
cms.template.processSettingsBeforeLoad
2018-10-11 19:19:12 -06:00
Szabó Gergő
ef32d45cd4 Change the delete buttons style to danger (#3852)
Credit to @gergo85
2018-10-10 08:40:03 -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 742a5f415bc45819b11c77402efc114fa2f4451e.
2018-08-24 19:40:40 +02:00
Samuel Georges
8383466508 Introduce events for extending Theme configuration 2018-08-21 13:18:22 +10:00
Nathan van der Werf
0716101bc8 Merge unset statements 2018-08-15 19:26:49 +02:00
Nathan van der Werf
fbca3bea92 Remove redundant variables 2018-08-15 19:23:12 +02:00
Nathan van der Werf
02bd38cfb1 Merge if constructs 2018-08-15 18:45:37 +02:00
Nathan van der Werf
742a5f415b Remove unused imports 2018-08-15 18:27:36 +02:00
Arthur Kushman
c78b3ef786 Code formatting changes (#3363)
Code formatting improvements submitted by @arthurkushman.
2018-03-22 10:55:13 -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
Luke Towers
f850b5d7ca Removes unnecessary blocking head placeholders. Refs: https://github.com/rainlab/pages-plugin/issues/239 2017-11-15 20:26:48 -06:00
Luke Towers
4203e65549 Deprecated Cms\Controllers\Media in favour of the backend one. Fixed other references to moved pieces of the Media Manager. Finally a proper fix for https://github.com/octobercms/october/pull/2604 2017-10-08 23:12:04 -06:00
Luke Towers
7fd81c4c2a Initial work on moving media controller to the backend 2017-09-27 22:40:39 -06:00
Samuel Georges
9cadea9b19 Code doc improvements 2017-07-27 17:35:14 +10:00
Samuel Georges
5078578a04 Rollback 205f02b44ad3d7b43e370b430b9cb8fc570ea392
This keeps it as generic copypasta
With or without this, an unauthorized page is shown if the user has no permission
2017-07-22 09:46:55 +10:00
Luke Towers
205f02b44a Improve unauthorized redirection trigger case 2017-07-21 14:47:18 -06:00
Luke Towers
151ed057e8 Improve support for #2985
Improves support for editing theme options by enabling the currently active theme's customizations to be saved without a dirname in the URL.
2017-07-21 14:45:51 -06:00
Samuel Georges
7a7a1186d6 Clean up imports 2017-07-21 15:42:49 +10:00
Samuel Georges
3f40a6dbaf Refactor solution from #2985 2017-07-21 15:38:53 +10:00
Luke Towers
647a656f67 Add more granular permissions for editing themes (#2985)
* Add more granular permissions for editing themes
* Fix component token parser exception message
2017-07-21 14:29:30 +10:00
Samuel Georges
e2781c5fdf URL -> Url 2017-06-02 23:34:50 +10:00
Samuel Georges
52367d0b06 Merge pull request #2849 from gergo85/develop
Improve translations
2017-05-03 20:08:57 +10:00
Szabó Gergő
a57e0e3080 Replace the str_replace function 2017-04-28 14:20:16 +02:00
Szabó Gergő
58dfaf395e Improve translations 2017-04-28 09:01:21 +02:00
Quezler
cc17b679f1 Code dusting (#2826)
Code cleaning according to PSR-2 w/ exemptions (mostly dust).
2017-04-24 21:38:19 +10:00
Szabó Gergő
83b8f48b6f Translate the "by" word 2017-04-19 10:35:22 +02:00
Samuel Georges
462c9cd4e8 Introduce theme logging + log settings
CmsObject changes can now be tracked (disabled by default)
Request logging is now disabled by default (security vector)
2017-02-08 05:44:04 +11:00
Samuel Georges
f67c38b303 Spacing adjustments 2017-01-14 06:02:07 +11:00
Aleksey Bobkov
6e54433bc1 Implemented page sorting by title, URL and file name in the CMS back-end. Closes #84 2017-01-12 20:13:32 -08: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
8a7f762c71 Restyle system status report widget
Fixes styling on popover-danger and popover-head with customization
2016-05-28 06:49:59 +10:00