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
f730fc85e1
Fix import statement
2018-11-22 16:54:35 -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
Luke Towers
1920d5b4b6
Fix bug where updating records that didn't exist in the DB yet would cause both the original and new records to display
2018-11-22 12:04:41 -06:00
Luke Towers
38fe4af1e6
Fixed minor oversight in delete() method on AutoDatasource
2018-11-15 15:14:05 -06:00
Luke Towers
45bd2654fc
Added Meta CmsObject, fixed bug in AutoDatasource
2018-11-14 16:52:46 -06:00
Luke Towers
e622defed1
Initial implementation of insert() and update() on the AutoDatasource
2018-11-06 16:00:27 -06:00
Luke Towers
e5518e0976
Update AutoDatasource->getAvailablePaths implementation to match updated interface
2018-11-06 14:48:47 -06:00
Luke Towers
0efae6dc33
AutoDatasource deletions now occur only on first datasource
2018-11-06 14:38:19 -06:00
Luke Towers
4887519e27
AutoDatasource bug fixes and performance improvements
...
Properly remove deleted paths from results returned by AutoDatasource->select() and utilize the cache exclusively when only selecting the fileName column preventing calls to the source datasources.
2018-11-06 14:22:05 -06:00
Luke Towers
65e0c9d7b6
Add initial support for deleted paths
2018-11-05 16:02:12 -06:00
Luke Towers
32c7891942
Minor changes
2018-11-05 14:35:58 -06:00
Luke Towers
e14ded4be6
Initial work on the AutoDatasource
2018-11-02 16:04:35 -06:00
Luke Towers
5dbfa133e7
Config file change and cms_themes_contents table migration
2018-11-01 21:53:16 -06:00
Alwin Drenth
00122108b1
Update Dutch (NL) translation ( #3895 )
...
Credit to @adrenth
2018-10-26 09:14:56 -06:00
Christian
5d6354ba88
Fixes from #3880 ( #3885 )
...
Fixes #3880 . Credit to @Teranode & @gergo85.
2018-10-22 15:30:44 -06:00
Danilo Cuculić
35cb96ef40
Improve linking from ActiveTheme report widget with permissions ( #3869 )
...
Fixes #3855 . Credit to @Eoler.
2018-10-16 09:11:14 -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
1dc6f944ac
Documented cms.router.beforeRoute
2018-10-11 20:31:36 -06:00
Luke Towers
900220b079
Documented more inline events:
...
cms.page.beforeDisplay
cms.page.display
cms.page.init
cms.page.beforeRenderPage
cms.page.start
cms.page.end
cms.page.postprocess
cms.page.initComponents
cms.page.render
cms.page.beforeRenderPartial
cms.page.renderPartial
cms.page.beforeRenderContent
cms.page.renderContent
2018-10-11 20:10:28 -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
Luke Towers
11ad4f6329
Documented cms.theme.getEditTheme & cms.theme.setActiveTheme
2018-10-11 18:53:52 -06:00
Luke Towers
96127f0d91
Check that getProperties method returns an array ( #3853 )
...
Fixes #3851 .
2018-10-10 08:48:37 -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
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 742a5f415bc45819b11c77402efc114fa2f4451e.
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