4483 Commits

Author SHA1 Message Date
Luke Towers
abc3359273
Warn about the dangers of changing app.timezone 2018-11-15 13:45:57 -06:00
Siarhei Karavai
ff8b967b75 Add support for placeholder in TagList widgets (#3453)
Credit to @GinoPane.
2018-11-15 13:32:59 -06:00
Nathan van der Werf
8ae863f5e7 Escape output to minimize potential XSS opportunities (#3916)
Credit to @nathan-van-der-werf.
2018-11-13 15:51:31 -06:00
Teranode
7c919e01bc Fix hide event firing twice (#3898)
The setTimeout fires after the modal already hides so it ends up firing twice which causes an error because the element is no longer there:
```
Uncaught TypeError: Cannot read property 'get' of null
    at Popup.triggerEvent (storm-min.js?v443:3732)
    at Popup.hide (storm-min.js?v443:3741)
    at storm-min.js?v443:3730
```
Credit to @Teranode for the fix.
2018-11-01 10:32:37 -06:00
Tobias Kündig
bfd726f173 Fix filter popovers in modals (#3844)
Since popovers and modals currently share the same z-index (600) a popover that gets created for a filter inside a modal is invisible. It is hidden below the modal. This commit adds a check to see if a filter is created from within a modal window. If yes, the popover will be added to the modal container. Otherwise the default container value `false` is used. Credit to @tobias-kuendig
2018-11-01 08:31:16 -06:00
Ayumi Hamasaki
4d4ac92d2f Update the Modernizr library - from 2.8.3 to 3.6.0 (#3902)
Credit to @ayumihamsaki
2018-11-01 08:29:46 -06:00
Luke Towers
e726165554
Add Tab icons functionality (#3901)
Credit to @ayumihamsaki for the original proposal, @Teranode for the initial work. Related #3888, #3856.
2018-10-30 20:06:33 -06:00
Ayumi Hamasaki
567f415e1e Updated jQuery from V2 to V3.3.1, added jQuery Migrate (#3886)
Credit to @ayumihamsaki. Fixes #3230.
2018-10-30 19:36:44 -06:00
Luke Towers
454c625718 Recompiled assets 2018-10-30 18:20:30 -06:00
Teranode
8383f555ed Add action buttons to filter popups (#3882)
Adds action buttons ("Apply" & "Clear") to filter popups for UX improvement (past experience was click out of the popup to apply the selected filters and manually remove all applied filters). Credit to @Teranode. Fixes #3304.
2018-10-30 18:18:42 -06:00
Luke Towers
5e877ea2ba Use a public property for the cache key for settings models that cache rendered CSS
This enables developers to modify what the cache key is for a given instance of a settings model so that they can do things like load user dependent settings values and have those values affect the rendered CSS. Previously the key being static across all instances of a given setting model would prevent that from being feasible without clearing the cache for every request.
2018-10-30 16:21:57 -06:00
Teranode
6fb08f3e1a Fix resize event after element removal (#3897)
This prevents an error from popping up after the popover is hidden/removed `this.$container.remove()` is no longer available after removal so we need to check for the presence of `this.$container`. Credit to @Teranode
2018-10-29 16:35:12 -06:00
Alwin Drenth
00122108b1 Update Dutch (NL) translation (#3895)
Credit to @adrenth
2018-10-26 09:14:56 -06:00
Christian
4ccf91feca Make popovers resize dynamically on page resize (#3891)
Related #3603. Credit to @Teranode
2018-10-25 12:40:34 -06:00
Christian
d21ae831c0 Text Display issue (#3889)
Credit to @Teranode. Fixes an issue present on Firefox and Chrome where the "Yes" text cuts off because of the width limit of the span
2018-10-24 22:20:18 -06:00
Christian
5d6354ba88 Fixes from #3880 (#3885)
Fixes #3880. Credit to @Teranode & @gergo85.
2018-10-22 15:30:44 -06:00
vosco88
d8a67aa63c Minor translation improvements (#3881)
Credit to @vosco88
2018-10-20 18:29:09 -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
Szabó Gergő
b61b330ec4 Improve the System Status dashboard widget (#3866)
Improves the System Status dashboard widget by adding a warning icon whenever the specific log is disabled. Credit to @gergo85. Thanks to @petehalverson for Octodock making testing easier.
2018-10-15 08:51:12 -06:00
Luke Towers
2c82b05062 Added backend.ajax.beforeRunHandler event 2018-10-14 10:32:47 -06:00
Luke Towers
48626a44a1
Merge pull request #3860 from octobercms/wip/eventdocumentation
Added more inline documentation for events:

cms.theme.getEditTheme
cms.theme.setActiveTheme
cms.template.save
cms.template.delete
cms.template.processSettingsAfterLoad
cms.template.processSettingsBeforeLoad
cms.template.processTwigContent
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
cms.router.beforeRoute
2018-10-11 20:54:34 -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
Denis Denisov
daf3a5c7cd Stop Ctrl+F marking code editor as "dirty" (#3857)
Credit to @w20k. Fixes #946. Thanks to @petehalverson for Octodock for making testing these easy!
2018-10-11 10:19:41 -06:00
Denis Denisov
99bfae4ed0 Revert min-width that breaks layout (#3854)
Revert min-width change as it breaks the Rainlab.Builder plugin layout (and possibly other things). Credit to @w20k.
2018-10-10 14:24:05 -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
Tobias Kündig
7b4e293074 Added registerMailLayouts method to PluginBase (#3850)
Fixes #3820. Credit to @tobias-kuendig
2018-10-08 08:18:43 -06:00
Tobias Kündig
0415e4133d Allow plugins to register their own mail partials (#3847)
Credit to @tobias-kuendig 

* Added registerMailPartials method to PluginBase
2018-10-06 22:00:43 -06:00
Tobias Kündig
6a84533bab Fixed scoreboard label in mail partial update view (#3848)
Credit to @tobias-kuendig
2018-10-06 21:56:10 -06:00
Denis Denisov
ae20bb629f Revert of 'loader.less', based on the issue #3792 (#3840)
Fixes #3792. Credit to @w20k
2018-10-04 14:10:43 -06:00
Kanstantsin
69a26aa8f2 Commit deferred bindings on model created with RelationController (#3843)
Fixes #3829. Credit to @iotch. Tested by the fantastic Octodock provided by @petehalverson
2018-10-04 08:35:30 -06:00
Kanstantsin
813721edf1 Change z-index of full-screen markdown editor (#3838)
Fixes #3837. Credit to @iotch. Tested with Octodock provided by @petehalverson.
2018-10-03 10:56:08 -06:00
Luke Towers
29541394a3
Fix issues with CloudFlare in the backend (#3841)
Related to f068b13851. Fixes #3839
2018-10-03 10:48:35 -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
matthew188
c5d0a467d8 Improve table column width handling on Chrome (#3834)
Credit to @matthew188
2018-09-30 18:11:07 -06:00
GitLog
a20f2bfe69 Fix (Trait 'AssertGD\GDAssertTrait' not found) (#3824)
Credit to @gitlog
2018-09-26 09:19:42 -06:00
Nicolas Da Mutten
2372f0eb23 Adds missing Content-Type header to CSV-export (#3787)
Credit to @cleverer
2018-09-25 08:55:14 -06:00
Luke Towers
5b7d9041fd
Integrate flag-icon-css (#3797)
Replaced the existing PNG flag icons with the flag-icon-css library that uses SVGs, has more flags, and is more active (i.e well maintained). Credit to @mariavilaro & @w20k. Thanks to @petehalverson for Octodock for easy testing of this.
2018-09-25 08:23:18 -06:00
Levente Huszko
edcc4af68a Properly utilize the plainOnly flag in mail.beforeAddContent (#3479)
Credit to @hlev
v1.0.443
2018-09-24 16:54:16 -06:00
Nicolas Da Mutten
aeb7616d06 Automatically use local asset path when attempting to combine injected assets (#3802)
Credit to @cleverer. Fixes #3264.
2018-09-24 14:17:00 -06:00
TimFoerster
51d79ffaba Make auto inline brand CSS for email layouts optional (#3192)
Fixes #3133. Credit to @TimFoerster. Thanks to all the reviewers from #3192.
2018-09-23 20:49:19 -06:00
Rike-cz
a03a76ee52 Finish implementing localPath in combineToFile (#3727)
Fixes #3721. Credit to @Rike-cz
2018-09-23 14:38:59 -06:00
Rike-cz
cf8a73f0a2 Ensure that fields are defined before attempting to render a specific field (#3812)
Credit to @Rike-cz
2018-09-22 19:22:02 -06:00
Szabó Gergő
0d451e3b0f Add favicon to back-end login page (#3803)
Credit to @gergo85
2018-09-19 16:03:13 -06:00