Denis Denisov
880d614bc5
Fixes bugs with 'collapsed' saved to cookies ( #4080 )
...
Credit to @w20k. Fixes #4047
2019-01-23 01:30:53 -06:00
Adam Sandström
d5eca59dc6
Remove application root relative to domain root from $mediaFinder->storagePath ( #4055 )
...
This gets added later through the use of Url::to(). Credit to @adsa95. Fixes #4065 , fixes #4039
2019-01-23 01:25:16 -06:00
dzava
a539a36b30
Override the Paginators defaultSimpleView ( #3652 )
...
Credit to @dzava. Fixes #3355 .
2019-01-21 23:49:25 -06:00
Denis Denisov
ec2a0d5fb0
Tabs and tabels scrolling fix ( #4069 )
...
Fixes #4037 . Credit to @w20k
2019-01-21 23:35:27 -06:00
Farrow
1caaac9704
Added favicon management to back-end customisation ( #4045 )
...
Credit to @Farrow. Also accessible with `brand.faviconPath` configuration item.
2019-01-21 23:25:56 -06:00
Luke Towers
920eb15af5
Added support for using the record finder without a model relationship
...
Added useRelation and modelClass config options
2019-01-18 18:16:16 -06:00
Luke Towers
8c9be817cc
Added support for min, max, and step for the number field type
2019-01-18 18:14:25 -06:00
Tobias Kündig
67ee2229a5
Added manual deleted_at checks ( #4051 )
...
Fixes #4046
It is possible that the user model gets fetched using the SoftDelete
trait before the relevant migrations were applied during an update.
To fix this edge case the user model is always fetched using the
withTrashed scope and the deleted_at check is done manually afterwards.
@see https://github.com/octobercms/october/issues/3999
2019-01-18 14:42:25 -06:00
Nathan van der Werf
7232e7a29d
Escape output to prevent XSS injection ( #4074 )
...
Credit to @nathan-van-der-werf
2019-01-18 10:26:56 -06:00
vosco88
a4f4a71fc3
Fix reset search button issues ( #4068 )
...
Fixes #4067
2019-01-17 13:33:59 -06:00
Luke Towers
3ff77120c6
Improved disabled support for balloon-selector and fileupload fields
2019-01-16 13:32:31 -06:00
Luke Towers
f53caf9a75
Formatting improvement
2019-01-16 12:29:28 -06:00
Luke Towers
cc84c7cf7a
Revert back to output() and outputThumb() methods
...
Adds a default false flag to enable the new behaviour of returning responses instead.
2019-01-16 12:27:07 -06:00
Luke Towers
743c74643a
Switched to getHttpResonse() instead of output()
2019-01-15 15:58:45 -06:00
Luke Towers
44db59cba1
Ensure thumb is generated for protected files before getting URL to the Files controller
2019-01-15 15:11:29 -06:00
Luke Towers
2fb44fdbee
Return backend 404 from files controller
2019-01-15 15:05:57 -06:00
Luke Towers
4f7c5cc1e7
Get the URL of protected assets through the Backend Files controller if available.
2019-01-15 14:25:26 -06:00
Luke Towers
2758c6711b
Added Go to previous page link on the access denied page
2019-01-15 13:53:06 -06:00
Anže Časar
74484b1ec2
Fix default value translation ( #4062 )
...
Credit to @acasar
2019-01-15 13:38:22 -06:00
Luke Towers
2d6b9c76a9
Recompile assets
2019-01-15 13:35:12 -06:00
Luke Towers
d6e680799f
Reduce reliance on CMS module from Backend module
...
added backend 404 view, fixed return to backend URL in the access denied view on backend only instances
2019-01-15 11:46:48 -06:00
Luke Towers
a9a0544ab0
recompiled stylesheets, retaining newlines for improved diff readability
2019-01-14 11:52:16 -06:00
Luke Towers
119d2e5f2b
Improved UI Popup docs
2019-01-11 14:27:14 -06:00
Luke Towers
d258b73ba1
Merge branch 'develop' of https://github.com/octobercms/october into develop
2019-01-10 20:49:27 -06:00
Luke Towers
6c0a77c064
Fix broken tests
2019-01-10 20:49:15 -06:00
Aleksey Bobkov
3b41f82521
Merge branch 'gateway-api-update' into develop
2019-01-10 17:52:10 -08:00
Luke Towers
1c0fd1b419
Yet another change to perfect the getParentForm() method
2019-01-10 18:59:29 -06:00
Luke Towers
39987677f0
Peer review of 1b3263d4c7
2019-01-10 17:57:32 -06:00
Luke Towers
5853cc54c4
Ensure that FormWidgets are correctly initialized with previewMode even on AJAX requests
2019-01-10 17:39:41 -06:00
Luke Towers
1b3263d4c7
Pass the containing Form widget to the FormFields that it generates.
...
This enables complex FormWidgets that need to know what Form widget they belong to to access that information with $this->formField->form; This also enables a fix for: https://github.com/rainlab/location-plugin/issues/48
2019-01-10 10:22:59 -06:00
Aleksey Bobkov
d701e65652
Minor improvement in the update gateway API calls.
2019-01-09 17:24:25 -08:00
Aleksey Bobkov
4fa237eadf
Added update gateway client name.
2019-01-05 15:39:46 -08:00
Aleksey Bobkov
bff2f1d59e
Minor improvement in the update gateway API calls.
2019-01-05 15:18:04 -08:00
Luke Towers
064daa2d2e
Compiled assets, minor docblock update
2019-01-03 16:26:30 -06:00
fansaien
2dcd84c4f2
Fix the input trigger API where a form element doesn't exist ( #4033 )
...
There are no `form` elements in the preview context of a form, so this adds an alternative selector to use when no common `form` elements are found for the Input Trigger API to use. Credit to @fansaien
2019-01-03 16:24:43 -06:00
fansaien
d6b1b6e95d
Fixed the Delete and Enter not being captured in keydown.oc.richeditor ( #4015 )
...
Credit to @fansaien.
The keydown event can not capture the Backspace(Delete) and Enter key event.
Moved the binding keydown function into froalaEditor.initialized event to solve this issue. Please review this Froala Editor issue: https://github.com/froala/wysiwyg-editor/issues/1879
The editor.events doesn't support off function. So, can not call off function in the unregisterHandlers()
2019-01-03 14:07:29 -06:00
fansaien
5db5522d4d
Fix the filter options being escaped twice ( #4032 )
...
Credit to @fansaien.
Reference: https://github.com/octobercms/october/pull/3793 . This commit added the e() function for translation results.
Because the filter is using the mustache template, and the manual said: All variables are HTML escaped by default. If you want to return unescaped HTML, use the triple mustache: {{{name}}} (https://mustache.github.io/mustache.5.html )
That means the string will be escaped twice. So, I removed the e().
2019-01-03 14:04:26 -06:00
Ben Thomson
ee003c416c
Redirect user to last available page in list widget if current page is unavailable ( #4020 )
...
Credit to @bennothommo. Fixes #4008 .
2018-12-30 12:49:42 -06:00
Ben Thomson
63dfb7fad3
Replace deprecated prepareModel call in ImportExport behavior
2018-12-30 16:35:17 +08:00
Ben Thomson
b6bd643e21
Rename prepareModel to prepareQuery, deprecate prepareModel
2018-12-30 16:25:01 +08:00
Luke Towers
26173486d3
Fix issue where the clear search button would submit a form if the search widget is within an HTML form
2018-12-28 11:51:51 -06:00
Luke Towers
400ce2391e
Fix support for the placeholder property in RichEditor FormWidgets
2018-12-27 15:28:10 -06:00
Gonzalo Henríquez
9f304d2ef8
Improvements to Spanish translation ( #4004 )
...
Credit to @bombozama
2018-12-23 11:06:31 -06:00
Luke Towers
a2708ee0f5
Added backend.manage_default_dashboard permission to lock down who has access to change the default dashboard for the system. Fixes #2176
2018-12-20 17:26:49 -06:00
Luke Towers
301b09070d
Compiled assets
2018-12-20 17:09:42 -06:00
fansaien
6a6ab8fc88
added the event to the callback ( #4001 )
...
Credit to @fansaien
2018-12-20 16:30:04 -06:00
Luke Towers
ed226e0b09
Recompiled hotkey JS
2018-12-20 13:41:32 -06:00
Luke Towers
44ac62abeb
Recompiled LESS using new CSS minification
2018-12-20 13:41:09 -06:00
fansaien
27c604abb2
Added option as alias for alt ( #4000 )
...
Credit to @fansaien
2018-12-20 13:35:00 -06:00
munxar
e6f4e13446
Added NestedForm FormWidget ( #3977 )
...
Credit to @munxar
2018-12-19 21:54:20 -06:00
Woo
eb1d3fadbc
Add format property to list columns ( #3990 )
...
Credit to @vicrly. Fixes #3967 .
2018-12-19 20:52:07 -06:00
Felipe Alves Reis
23817c363c
Added invalid login translated message in backend lang file ( #3994 )
...
Credit to @felipe-alves-reis
2018-12-19 20:26:25 -06:00
fansaien
db7610d5c4
Removed the deprecated hotkeyMac ( #3995 )
...
Reference: fd264a5fb4 (diff-79eab92a9098980b73745ce9b5ac1895)
2018-12-19 20:21:05 -06:00
Luke Towers
85e614203c
Add soft delete column to backend users so that migrations that use the User model work
2018-12-19 19:43:04 -06:00
Jim Cottrell
34da61805b
Replace URL parameters dynamically without needing a list in advance ( #3361 )
...
Fixes #3358 . Credit to @jimcottrell
2018-12-18 10:03:03 -06:00
Luke Towers
54a67ca556
Implemented soft deleting for backend users
2018-12-17 23:09:17 -06:00
Luke Towers
42f3ecfa19
Merge branch 'wip/halcyon-db-datasource' of https://github.com/octobercms/october into wip/halcyon-db-datasource
2018-12-16 09:44:01 -06:00
Luke Towers
5f78fd4df9
Initial implementation attempt for theme:sync command
2018-12-16 09:43:33 -06:00
Ben Thomson
14c4d1392e
Datatable dropdown usability tweaks ( #3980 )
...
Adds a couple of usability tweaks to the dropdown cell type in the data table widget, to more closely mimic a native dropdown field.
Pressing the up or down arrow keys when the cell is focused but with the dropdown closed will select the previous or next item automatically and set it as the cell value. This does prevent the usual table function of going to the previous or next row when focused on a dropdown cell, but I think it's a worthwhile trade-off. When the dropdown is open, the up and down arrows work the same as previously implemented.
Typing out characters will initiate a search and select the first matching option automatically and set it as the cell value. For example, for the following options:
Apples
Oranges
Bananas
Typing out o and r on the keyboard will automatically select the Oranges option.
Credit to @bennothommo
2018-12-16 09:30:23 -06:00
vosco88
a11868169e
Add reset search (X) to toolbar search input ( #3975 )
...
Credit to @vosco88
2018-12-14 09:04:01 -06:00
Denis Denisov
465cbec241
Fix 'hide()' called for a closed popup ( #3970 )
...
Credit to @w20k
2018-12-08 13:10:53 -06:00
ayumihamsaki2
c6e8ddaa12
Remove unused X-UA-Compatible meta tag ( #3973 )
...
This is only used by IE8 & 9 which have a combined global usage of 0.3% so there's no sense in keeping it.
2018-12-08 13:08:46 -06:00
ayumihamsaki2
28061bf3e9
Update jquery.isotope library from v1.5.26 to v3.0.6 ( #3966 )
...
Update jquery.isotope library from v1.5.26 to v3.0.6. Credit to @ayumihamsaki2. Refs: https://github.com/octobercms/october/issues/3958
2018-12-07 18:31:51 -06:00
Luke Towers
d53e174469
Change number field type to use HTML5 number type
...
Credit to @w20k for the solution. Fixes #2311 .
2018-12-06 14:40:33 -06:00
SeriousKen
9d8416e178
Added morphTo to list of singular relations ( #3809 )
...
Credit to @SeriousKen. Fixes #3807
2018-12-06 10:43:50 -06:00
Ayumi Hamasaki
dcec14b2e9
Update Dashboard Columns from 10 to 12
...
This PR has been re-coded to split the old PR into two separate PR's. This PR relates to github Issue: https://github.com/octobercms/october/issues/3823
2018-12-06 12:32:57 +00:00
Luke Towers
4438ddc47e
Merge pull request #3963 from ayumihamsaki2/master
...
Sets the Folders in Code Editor to Collapsed by default. Fixes #3962 . Credit to @ayumihamsaki2
2018-12-05 21:13:00 -06:00
Ayumi Hamasaki
1e0d045c74
Sets Folders in Code Editor to Collapse by Default
...
This fixes the github Issue found here: https://github.com/octobercms/october/issues/3962
2018-12-06 00:39:31 +00:00
Ben Thomson
2002fd6b4b
Prevent plugins that cannot be instantiated from being loaded ( #3956 )
...
Credit to @bennothommo
2018-12-04 11:22:07 -06:00
Tim
caf7cb406f
MediaFinder: trigger change event ( #3446 )
...
Credit to @scorewinner.
2018-12-04 11:12:26 -06:00
Denis Denisov
9ce6b4fbc8
Add Moments.js TimeZone Data ( #3960 )
...
Fixes issues when timezone data is needed on initialization. Credit to @w20k. Refs: #3867
2018-12-04 11:10:48 -06:00
Christos Christou
9f63ad2739
Fix Repeater max & min client side validation when using groups ( #3953 )
...
Credit to @c2webstudio.
2018-12-03 13:53:12 -06:00
Tobias Kündig
7a277b4b9c
Added support for `dependsOn` with relationships ( #3539 )
...
Credit to @tobias-kuendig. Added $.oc.relationBehavior.changed function. To keep track of changes made using the relation controller this new "changed" function is called every time a record is created, added, removed or deleted. The function triggers the change.oc.formwidget event on the form field that belongs to this relation controller so other form fields are notified about the changes.
2018-12-03 10:08:00 -06:00
Teranode
18a8e2f840
Revert changes made to self.hide after ajax ( #3950 )
...
This is needed as it removes leftover control-popover backdrops in any plugin backend that utilizes ajax in a popup modal (which is any of them that has relations or nested relations), so we will need to take a look at the dashboard widgets again. Credit to @ayumihamsaki.
2018-12-02 12:01:58 -06:00
Adam Sandström
bd2f14d510
Make media URLs in accordance with the Link Policy ( #3536 )
...
Credit to @adsa95
2018-12-01 15:08:04 -06:00
Farrow
a1fb23a984
Adds i18n support for the form field default property ( #3546 )
...
Credit to @Farrow. Previously when creating a backend form with RainLab.Builder if you filled in the "Default" property using the i18n (to get, for example, acme.plugin::lang.field.default) then that string would be output exactly on the form (i.e. <input value="acme.plugin::lang.field.default"...>) instead of being replaced with the actual value of that key from the lang file.
2018-12-01 13:05:47 -06:00
Farrow
52fe8586e3
Make Inspector element available outside of dragscroll contexts
...
Credit to @Farrow. Update to the javascript cmsPage onInspectorShowing event handler to make it check whether the event target has a dragScroll attached to it (which it previously assumed it did). This allows the inspector to be used in other locations on the backend which are outside of a dragscroll without causing a javascript error.
2018-12-01 12:36:40 -06:00
Ayumi Hamasaki
8e9b3dba54
Improve visibility of code editor buttons in the backend ( #3948 )
...
Credit to @ayumihamsaki. Fixes #3947 .
2018-11-30 16:59:08 -06:00
Luke Towers
a7bbfe2d9d
Split out last modified button into it's own partial
2018-11-30 15:33:53 -06:00
Oliver Buchmann
cd275554f2
Add october:util set project --projectId=id console command ( #3946 )
...
Implements #3944 . Credit to @obuchmann.
2018-11-29 13:26:21 -06:00
Ayumi Hamasaki
41b8bb84f1
Update Raphaël 2.1.2 to 2.2.7 and Eve 0.4.2 to Eve 0.5.4 (Combined File) ( #3930 )
...
Credit to @ayumihamsaki. Refs: #3867
2018-11-29 10:36:10 -06:00
Teranode
82a38bdfb6
Add ability to delete asset files ( #3933 )
...
Fixes : #3925 . Credit to @Teranode
2018-11-28 11:08:39 -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
vosco88
2d1a904512
Extend opcache check if it is enabled ( #3664 )
...
Credit to @vosco88.
When trying to deploy October on shared hosting (www.websupport.sk) it is possible to receive the following error when accessing the frontend pages - ErrorException:> Zend OPcache API is restricted by "restrict_api" configuration directive. This checks not only if the opcache_invalidate exists but also if opcache is enabled. Same check is actually present in twig vendor files - but so far it is working without having the check there.
2018-11-23 09:36:24 -06:00
Sebastiaan Kloos
9c2bb8469e
Minor documentation updates to input.hotkey.js ( #2721 )
...
Credit to @SebastiaanKloos
2018-11-23 01:09:45 -06:00
Francesco Passanti
329bb6f202
Fix relation controller lists onClick handling for VARCHAR keys ( #3544 )
...
Credit to @FrancescoPassanti
2018-11-23 00:58:28 -06:00
Teranode
900753db52
Fix zindex of popup on mobile ( #3890 )
...
Fixes #3506 . Credit to @Teranode
2018-11-23 00:52:45 -06:00
Tschallacka
852ea7d8d8
Added missing use statement ( #3041 )
...
Credit to @tschallacka
2018-11-23 00:36:06 -06:00
Romaldy Minaya
cca3c704a3
Fixes #3119 ( #3163 )
...
Added readOnly support to RecordFinder, Switch widget and relation widget including dropdown Fixes #3119 . Credit to @romaldyminaya
2018-11-23 00:33:01 -06:00
Filip Iulian Pacurar
dcd309ffb0
Add option to install developer plugins from the october:install command ( #2974 )
...
Credit to @filipac. Initially requested in https://github.com/octobercms/october/pull/2694
2018-11-23 00:24:45 -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
Antonie Hogewoning
e481206b49
Add file specific aliases for framework.extras ( #3936 )
...
This commit adds two new aliases for the files associated with `framework.extras`. One to load the CSS (`framework.extras.css`) and for JS (`framework.extras.js`). Credit to @CptMeatball. Resolves #3909 . Related: https://github.com/octobercms/docs/pull/334
2018-11-22 09:25:51 -06:00
Teranode
9699aacaed
CSS fix for component close button in Firefox ( #3585 )
...
Fixes #3554 . Credit to @Teranode
2018-11-20 10:23:44 -06:00
Denis Denisov
445c549062
Add TimePicker.placement = auto (only supports: top/bottom position) ( #3927 )
...
Fixes #3903 . Credit to @w20k
2018-11-19 09:29:56 -06:00
Ayumi Hamasaki
c5bad06510
Update the Moments and TimeZone Library from 2.13.0 to 2.22.2 ( #3906 )
...
Fixes #3808 . Credit to @ayumihamsaki. Related to #3867 .
2018-11-17 16:31:54 -06:00
Antonie Hogewoning
0e9b3ce786
Combine jQuery and migrate into the same file ( #3919 )
...
Fixes #3917 . This fixes the double alias that was introduced when jquery was updated and migrate was added. Credit to @CptMeatball
2018-11-17 16:22:51 -06:00
Luke Towers
38fe4af1e6
Fixed minor oversight in delete() method on AutoDatasource
2018-11-15 15:14:05 -06:00
Nathan van der Werf
6fb6211c56
Escape output to prevent XSS injections ( #3924 )
...
Credit to @nathan-van-der-werf
2018-11-15 15:05:44 -06:00
Denis Denisov
2b16bad0fe
Ignore controllers of disabled plugins ( #3923 )
...
Fixes #3905 . Credit to @w20k
2018-11-15 13:51:11 -06:00
Siarhei Karavai
ff8b967b75
Add support for placeholder in TagList widgets ( #3453 )
...
Credit to @GinoPane.
2018-11-15 13:32:59 -06:00
Luke Towers
45bd2654fc
Added Meta CmsObject, fixed bug in AutoDatasource
2018-11-14 16:52:46 -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
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
bba42c36e9
Added outline of theme:sync command
2018-11-05 14:35:41 -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
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
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
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
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
Nathan van der Werf
9030f27cc8
Modify language label for password reset ( #3799 )
...
Credit to @nathan-van-der-werf
2018-09-19 08:01:48 -06:00
Jim Cottrell
6f2ed028b3
Fix input trigger on source field types with multiple selected values ( #3798 )
...
Credit to @jimcottrell. Tested by https://github.com/octoberrain/test-plugin/pull/55
2018-09-18 22:54:57 -06:00
LucasZdv
9d126a0ab6
Filter group translatable options ( #3793 )
...
Fixes #3789 . Credit to @LucasZdv
2018-09-17 09:33:13 -06:00
Alexander Shapoval
9da0af4533
Add ability to specify one CSS class to apply to all tab panels ( #3761 )
...
Credit to @ebashu-on-holidays
2018-09-16 10:51:00 -06:00
chrisbethelepb
0ffdbc5efd
Relax restrictions on MediaLibrary filenames ( #3778 )
...
Fixes #3741 . Credit to @chrisbethelepb
2018-09-12 11:37:21 -06:00
Tobias Kündig
cf9d487b30
Removed unneccessary css rule ( #3777 )
...
The removed css rule makes filelist entries unreadable on touchscreen clients
that also have default pointer input support. The entries have a blue background
with white text when hovered. By setting the background to transparent the
text is no longer readable. Credit to @tobias-kuendig
2018-09-12 11:03:58 -06: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ő
8f82a89147
Apply custom secondary color to Balloon Selector ( #3748 )
...
Credit to @gergo85
2018-09-04 11:57:28 -06:00
Szabó Gergő
82b45268c7
Change the lang code in the html templates ( #3754 )
...
Credit to @gergo85
2018-09-04 11:54:26 -06:00
Szabó Gergő
69988837d5
Fixed readonly on switch and checkbox field types ( #3750 )
...
Credit to @gergo85
2018-09-03 14:36:22 -06:00
vosco88
55575e316b
Update reportcontainer.less ( #3737 )
...
Fix minor padding issue in Firefox. Fixes #3731 . Credit to @vosco88
2018-08-31 00:36:47 -06:00
Samuel Georges
7a8867f00b
Improve Event log formatting for emails
...
If an email is seen (Message-ID:) then convert newlines to <br> unless within <html> tags. Also place the contents inside an iframe so the CSS rules don't leech out.
Fixes #3032
2018-08-31 11:09:20 +10:00
Artem Korsunov
303dcab353
Update Russian translation ( #3735 )
...
Credit to @Konfuze
2018-08-30 13:11:11 -06:00
Samuel Georges
38cea8d037
Annotate class methods
2018-08-30 13:50:15 +10:00
Samuel Georges
e32de7b753
Annotate class methods
2018-08-30 13:37:39 +10:00
Samuel Georges
5cc327c45c
Merge pull request #3690 from nathan-van-der-werf/feature/cleanup
...
Code cleanups
2018-08-30 13:12:42 +10:00
Samuel Georges
6099096e5d
Increase visibility of close button
...
Fixes #3723
2018-08-30 12:40:45 +10:00
Samuel Georges
f068b13851
Instruct Rocket Loader to ignore core JS libs
...
These appear to break for users on CloudFlare possibly due to double minification
Fixes #3602
2018-08-30 12:30:27 +10:00
Nathan van der Werf
743252c3ff
Merge branch 'develop' into feature/cleanup
...
# Conflicts:
# modules/backend/widgets/Form.php
2018-08-29 19:18:01 +02:00
Samuel Georges
2d77565e6c
Peer review 52d1388e4e
...
This uses a simpler approach and leverages improvements to the validation trait
See 574031d3ee
Refs #2489
2018-08-29 12:19:33 +10:00
Luke Towers
52d1388e4e
Automatically use field labels as custom attribute names for a nicer validation message
...
Fixes #2489
2018-08-26 13:39:49 -06:00
Luke Towers
fcec026dff
Add support for checking if nested form fields are required for visual indicator
2018-08-26 12:29:37 -06: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 742a5f415b .
2018-08-24 19:40:40 +02:00
Luke Towers
787c2244bf
Improved inline-options CSS for checkboxlist fields
2018-08-23 10:00:51 -06:00
Szabó Gergő
e46eff8a26
Remove hard height constraint from previewing uploaded images ( #3718 )
...
Fixes #3698 . Credit to @gergo85
2018-08-23 09:32:18 -06:00
Luke Towers
fd4ee47065
Improved repeater item collapse button when remove button not present
2018-08-22 21:06:06 -06:00
Luke Towers
29c0c8c33d
Improvements to Repeater form widget styling
...
Improved the styling of the Repeater form widget, made it easier to distinguish between individual repeater items
2018-08-22 20:51:26 -06:00
Luke Towers
3011c39d2b
Add inline-options css class for checkboxlist fields
...
Documented by f4440ced6c
2018-08-22 16:39:02 -06:00
Samuel Georges
eb2419cc74
Typo
2018-08-21 13:28:12 +10:00
Samuel Georges
bf841b4340
Minor peer review
2018-08-21 13:24:59 +10:00
Samuel Georges
8383466508
Introduce events for extending Theme configuration
2018-08-21 13:18:22 +10:00
vanmil
38bf854051
Add ability to use model method to define availableColors ( #3704 )
...
Credit to @vanmil. Documented in https://github.com/octobercms/docs/pull/314
2018-08-20 08:45:26 -06: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
Luke Towers
1c7b311ea9
Added inline API documentation for media manager:
...
Added documentation for the following events:
media.folder.delete
media.file.delete
media.folder.rename
media.file.rename
media.folder.create
media.folder.move
media.file.move
media.file.upload
2018-08-18 08:49:57 -06:00
Samuel Georges
ab4074cec1
Extra table check
...
Fixes #3706
2018-08-18 12:52:05 +10: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
Szabó Gergő
7aca6057bb
Improve the markup tags settings page UX ( #3703 )
...
Credit to @gergo85
2018-08-17 11:13:14 -06:00
Szabó Gergő
37da24d060
Update the Hungarian translation ( #3702 )
...
Credit to @gergo85
2018-08-17 10:27:23 -06:00
SeriousKen
5707508dbc
Update ThemeLog when file name is changed ( #3696 )
...
Credit to @SeriousKen
2018-08-17 10:25:18 -06:00
Szabó Gergő
bf0f1faa4f
Change the Status reportwidget icons ( #3693 )
...
Credit to @gergo85
2018-08-16 08:19:49 -06:00
Maria Vilaró
5c72ad1474
Add translations for Catalan ( #3694 )
...
Credit to @mariavilaro.
2018-08-16 08:14:26 -06:00
Samuel Georges
ab7dda260b
User disabled plugins now stay disabled after sign in
...
Fixes #1795
Fixes #3691
2018-08-16 14:11:05 +10:00
Luke Towers
be839d0a07
Documented FilterWidget events:
...
Added inline documentation for the following filter widget events:
backend.filter.extendQuery
backend.filter.extendScopesBefore
backend.filter.extendScopes
2018-08-15 21:42:56 -06:00
Luke Towers
4078e6a56f
Provide inline documentation for the FormWidget events:
...
Documented the following:
backend.form.beforeRefresh
backend.form.refreshFields
backend.form.refresh
backend.form.extendFieldsBefore
backend.form.extendFields
model.form.filterFields
2018-08-15 21:00:31 -06:00
Nathan van der Werf
0716101bc8
Merge unset statements
2018-08-15 19:26:49 +02:00
Nathan van der Werf
ee9414f3fd
Simplify ternary operators
2018-08-15 19:26:20 +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
ab73442e3d
Add missing break statement
2018-08-15 19:18:52 +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
Nathan van der Werf
bc17975634
Remove alias functions
2018-08-15 18:51:25 +02:00
Nathan van der Werf
123145fd54
Remove unnecessary parentheses
2018-08-15 18:49:52 +02:00
Nathan van der Werf
a075be206b
Replace class references with "self"
2018-08-15 18:47:06 +02:00
Nathan van der Werf
02bd38cfb1
Merge if constructs
2018-08-15 18:45:37 +02:00
Nathan van der Werf
0947406343
Remove senseless proxy functions
2018-08-15 18:35:15 +02:00
Nathan van der Werf
3a918ad200
Remove "null" assignments
2018-08-15 18:33:24 +02:00
Nathan van der Werf
11e8a3a92c
Remove methods which are identical to parent method
2018-08-15 18:30:03 +02:00
Nathan van der Werf
742a5f415b
Remove unused imports
2018-08-15 18:27:36 +02:00
Luke Towers
8cbfd6611a
Finished documenting Lists widget's events:
...
backend.list.extendQueryBefore
backend.list.extendQuery
backend.list.extendRecords
backend.list.extendColumns
backend.list.overrideHeaderValue
backend.list.injectRowClass
Also improved:
backend.list.overrideColumnValue
backend.list.overrideColumnValueRaw
2018-08-13 08:11:35 -06:00
Luke Towers
cbed54a263
Implemented minItems repeater property on client & server
...
Also implemented maxItems on server (previously only client). Fixes https://github.com/octobercms/october/issues/3668
2018-08-12 01:33:51 -06:00
Luke Towers
6774920003
Finish implementing titleFrom option for Repeaters
...
Ref: e7609aa5e8
2018-08-11 20:27:53 -06:00
vanmil
4cdbf2a051
Add customization of froala lineBreaker tags ( #3687 )
...
Credit to @vanmil
2018-08-11 13:33:34 -06:00
Szabó Gergő
b564e3178d
Only add missing dependencies once ( #3682 )
...
Only add missing dependencies to the list of missing dependencies once per dependency. Credit to @gergo85
2018-08-09 07:39:37 -06:00
datune
5fd3e8b373
Update lang.php ( #3498 )
...
Provide a translation for the single error message that gets displayed when the application is in production. @see https://github.com/octobercms/october/issues/2106
Credit to @datune
2018-08-09 07:34:45 -06:00
Alexander Shapoval
1e7c3691e7
Cast outside field config to array ( #3670 )
...
This is necessary to enable the setting of tabs for SECTION_OUTSIDE: http://octobercms.com/docs/backend/forms#form-tab-options . Credit to @ebashu-on-holidays
2018-08-06 10:49:19 -06:00
Luke Towers
99478a4fcc
Remove unnecessary reference.
...
Fixes #3044
2018-08-06 08:25:23 -06:00
vosco88
7e6800ea6e
Added Slovak translations ( #3671 )
...
Credit to @vosco88.
2018-08-05 18:16:27 -06:00
Szabó Gergő
31be214f60
Apply custom secondary color to asset list ( #3658 )
...
Credit to @gergo85
2018-07-30 08:28:33 -04:00
0x90
d5829c75cf
Allow tabs to be closed with middle click ( #3633 )
...
Enables closing backend tabs with the middle mouse click. Credit to @AxDSan. Fixes #1970 .
2018-07-25 13:54:49 -04:00
Steve Mortimer
5936107c07
Reset pagination on filter scope change ( #3632 )
...
Fixes #3610 . Credit to @stevemortimer
2018-07-16 09:43:47 -04:00
Szabolcs Palmer
157b08202b
Adds align support to non-sortable list column headers ( #3638 )
...
Credit to @Szasza
2018-07-15 00:56:09 -04:00
Michał Płodowski
68ee471d39
Add showWeekNumbers option to datepicker ( #3637 )
...
Fixes #3634 . Credit to @mplodowski
2018-07-12 18:10:24 -04:00
Luke Towers
dd6a05bdc4
Removed circular dependency
...
Removes a circular dependency from windex.variables.less that triggers https://github.com/kriswallsmith/assetic/issues/881 .
2018-07-06 14:40:50 -04:00
Jim Cottrell
bfee483805
Adds support for minifying framework assets ( #3240 )
...
Fixes #2753 . Credit to @jimcottrell
2018-07-05 17:57:17 -04:00
Lucas Thurston
85dd0b9968
Add config flag for disabling basedir restrictions for local development only ( #3626 )
...
Fixes #3619 . Credit to @lthurston
2018-07-05 17:07:38 -04:00
Luke Towers
c55a7cd2e2
Target only immediate children when determining if a tab should be hidden
...
Fixes #3627 . This changes the logic for hiding tabs when all of their fields are hidden to specifically only target direct children of the tab pane when looking for visible fields because repeaters will have fields present that are only hidden by virtue of the parent field being hidden however the previous behaviour would consider it visible.
2018-07-05 10:14:41 -04:00
interworks-morr
d52274bbb6
Don't show mail branding menu item unless system.manage_mail_templates is assigned to current user ( #3624 )
...
Fixes #3623 . Credit to @interworks-morr
2018-07-02 19:14:51 -04:00
Samuel Georges
000a880742
Alternative fix to #3607
...
Fixes #3607
Fixes #3606
2018-06-29 14:20:55 +10:00
Scott Bedard
8b650e3bd0
Display error when migration file is not found ( #3597 )
...
Fixes #3590 . Credit to @scottbedard
2018-06-25 15:51:07 -06:00
Samuel Georges
fb2aa1730c
Fixes security issue
...
Refs #3604
2018-06-22 22:57:38 +10:00
Christian
0eac53bdd1
Fix pathing issue in media manager ( #3604 )
...
Fix pathing issue in media manager
Currently there is a way to manipulate folder names using the request headers for the medafinder folder path. since `validatePath` does not validate file names but rather only validates the existence of a folder in a parent/subdirectory. We can utilize `validateFileName` to verify if the name of the folder path being created is valid during the folder creation process and the name applying process.
2018-06-22 16:35:33 +10:00
Luke Towers
c46dc38ed1
Compiled assets
2018-06-07 00:09:12 -06:00