Siarhei Karavai
8606db9e77
Add support for file names with multiple dots ( #4211 )
...
Fixes #4210 . Credit to @GinoPane
2019-03-25 09:57:06 -06:00
Ben Thomson
3363b219f6
Delay backend controller middleware until after request is processed ( #4190 )
...
Credit to @bennothommo. Fixes #4183 .
2019-03-21 01:19:28 -06:00
Filip Iulian Pacurar
a2315624df
Fix issue with list filters when more filters appear on page. ( #4154 )
...
Credit to @filipac.
2019-03-20 11:18:15 -06:00
Tomy Smith
40bc6e0d67
Ignore disabled FormWidgets in getSaveData() ( #4116 )
...
Fixes #3983 . Credit to @tmus.
2019-03-19 16:45:32 -06:00
Larry Barker
5c15687032
Support CMS module being present but disabled ( #4202 )
...
Credit to @LarBearrr
2019-03-19 16:31:14 -06:00
Luke Towers
639339d55e
Stop automatically creating camel case versions of top level configuration keys
...
This would cause issues with repeaters in grouped mode that have an underscore in one of the groups as it would duplicate that group entry.
2019-03-18 14:08:47 -06:00
Luke Towers
3954704dda
Fix issue with multiple repeaters with the same fieldname embedded in the same controller
...
There was a conflict between two repeaters that had the same fieldName (data) bound to the same controller. Example:
Controller: Events
Manages a ReportTemplate model with a custom popup Form widget that uses a grouped repeater with the field name data to define the available "fields" within a ReportTemplate
Also manages Report models through a relation controller that uses a Form widget with a regular repeater with the field name data that defines the values of the fields defined by the associated ReportTemplate.
Since both repeaters had the field name of "data", but one of them was grouped and the other wasn't, this would cause an issue in Repeater::processExistingItems() where the grouped repeater would attempt to process the ungrouped repeater's data which would then fail. This issue could easily cause many other vastly more confusing and difficult to detect issues in cases where multiple repeaters with the same field name AND the same mode (grouped vs regular) existed on the same page under different contexts. The simple solution is just to ensure that the indexInputName and groupInputName are both taking the repeater's alias into account when being generated to ensure that everything stays unique like it should.
2019-03-18 12:39:12 -06:00
Luke Towers
f168c1a601
Fix support for main menu items having a numeric value for `counter`
2019-03-16 13:53:25 -06:00
Ben Thomson
13a7cc915d
Use Form getSaveData method when saving form widgets within repeaters ( #4160 )
...
Credit to @bennothommo
2019-03-15 22:39:34 -06:00
Alexander Guth
13d710b161
Reuse the model instance from Form widget ( #4193 )
...
Credit to @alxy & @jimcottrell . Refs:
https://github.com/rainlab/translate-plugin/issues/209
https://github.com/rainlab/translate-plugin/issues/242
https://github.com/rainlab/translate-plugin/issues/330
https://github.com/rainlab/translate-plugin/issues/380
https://github.com/jan-vince/smallextensions/issues/11
https://github.com/OFFLINE-GmbH/oc-mall-plugin/issues/128
https://github.com/OFFLINE-GmbH/oc-gdpr-plugin/issues/21
https://github.com/OFFLINE-GmbH/oc-gdpr-plugin/pull/55
df9c8fd365
https://github.com/octobercms/october/pull/3984
2019-03-15 22:32:36 -06:00
Luke Towers
164e9877f7
Improve the UX when user can customize a theme but not manage all themes
...
Fixes #3301 . Sponsored by @gavinworks
2019-03-14 10:59:34 -06:00
Luke Towers
d5e7419312
Support enableDefaults on repeaters using grouped mode
2019-03-12 01:19:37 -06:00
Sicklou
12ebefccd4
Update French Translation ( #4179 )
...
Credit to @Sicklou
2019-03-09 07:28:23 -06:00
Ayumi Hamasaki
dd53206a82
Service Workers Invalid security token and Clear Site Data HTTP Header ( #4088 )
...
If a website has a Service Worker installed it would load and register before a User tries to login to the backend causing a "Invalid security token" message. This PR unregisters any installed Service Worker when a User opens the backend Signin webpage.
I have also added the NEW Security Headers to add Protection to October's Cache and Cookies. This includes two new Middleware that first clears any bad cached data before a User tries to login and the second Middleware will clear all the sensitive User Data when a User signs out of the Backend.
For more info on the new Security Header 'Clear Site Data' you can see the spec found here: https://www.w3.org/TR/clear-site-data/
Fixes #4076 , fixes #3707 .
2019-03-01 16:22:18 -06:00
Ben Thomson
57f358b638
Use 1px for 'min-size' layout rows to fix Firefox spacing issue ( #4171 )
...
Fixes #4114 . Credit to @bennothommo
2019-02-28 13:08:43 -06:00
Ben Thomson
a89f1f1c3a
Add Closure use declaration ( #4170 )
2019-02-28 14:54:00 +02:00
alekseyp
8ea36eac9c
Return 500 on exception during asset combining ( #4142 )
...
Credit to @alekseyp
2019-02-27 14:33:48 -06:00
Ben Thomson
57a074364e
Allow controller middleware in backend controllers ( #4106 )
...
Credit to @bennothommo Related: https://github.com/octobercms/october/pull/4088
2019-02-27 14:27:41 -06:00
Luke Towers
7f3fb06945
Support custom 500 page when debug mode disabled and CMS module not present
2019-02-26 14:26:56 -06:00
Luke Towers
8f5ff1be5a
Support groups field being removed
2019-02-25 13:21:33 -06:00
Luke Towers
5dfb5ca988
Added backend.layout.extendHead event
2019-02-25 12:56:55 -06:00
Mohamed Ali Behiry
d1c71af4da
Improve Arabic translation ( #4163 )
...
Credit to @mabehiry
2019-02-25 09:26:21 -06:00
Filip Iulian Pacurar
6e798079ca
Defer plugin installs from october:install until October is installed ( #4156 )
...
Fixes #4155 . Credit to @filipac.
2019-02-22 16:40:47 -06:00
LucasZdv
44cc080769
Added plugin:list, plugin:disable, & plugin:enable artisan commands ( #4127 )
...
Credit to @LucasZdv. Documented by https://github.com/octobercms/docs/pull/356
2019-02-22 12:50:01 -06:00
BenjaminMINK
ecb2b3fe9e
Improve French translations ( #4157 )
...
Credit to @BenjaminMINK
2019-02-22 09:29:43 -06:00
Luke Towers
b39eb03336
Defaulted the main menu counter to sum it's side menu counters
2019-02-21 11:55:43 -06:00
Luke Towers
d6f8cc179d
Support abort(404) in the backend module
2019-02-21 10:44:58 -06:00
fansaien
8a60d3c19a
Fire backend.list.extendRecords event during export useList ( #4148 )
...
Provides an opportunity to modify and / or return the $results collection object before the controller exports it. Credit to @fansaien
2019-02-19 17:14:32 -06:00
Siarhei Karavai
9581b23d1e
Allow multiline changelog messages, preserve correct order of updates ( #4083 )
...
Credit to @GinoPane
2019-02-19 11:11:43 -06:00
Filip Iulian Pacurar
cb981eb82d
Add popup-allow-focus for the second range input ( #4140 )
...
When list filters are in a modal, you cannot select the second field because it does not have popup-allow-focus class. Credit to @filipac
2019-02-15 13:29:18 -06:00
Jonas Søndergaard
ca33b97692
Reimplemented infinite loading bar with transforms instead of widths ( #4124 )
...
Fixes #4118 . Credit to @Josniii
2019-02-15 13:22:39 -06:00
Luke Towers
bbf398133e
Fix issues with AJAX handlers on dashboard widgets. Replaces #4132
2019-02-13 15:05:18 -06:00
Luke Towers
a97a17c4c3
Recompiled assets
2019-02-13 14:55:44 -06:00
Luke Towers
ac5bc866ff
Prevent password from being HTML encoded in the invite email
2019-02-13 14:55:29 -06:00
Luke Towers
c55cc622ff
Added new Inline (no icons) navigation mode to the branding options
2019-02-13 14:55:03 -06:00
Luke Towers
cb87802080
Added support for counter and counterLabel to main menu.
...
Refs: #16 , Refs: 7bcec1bd99 , Replaces: #4061
2019-02-13 14:54:13 -06:00
Luke Towers
1fc8dc6fd4
Added ability to require permissions use ReportWidgets
2019-02-11 16:02:30 -06:00
Panagiotis Koursaris
bb0a23f54c
fixes enable Defaults on repeater ( #4129 )
...
Credit to @panakour
2019-02-11 09:54:55 -06:00
Ben Thomson
10d97d515f
Use singular byte for '1 byte' filesize ( #4130 )
...
Credit to @bennothommo
2019-02-11 09:48:15 -06:00
Mahmut Namli
7077a1cef3
Improved Turkish translation ( #4121 )
...
Credit to @mahony0
2019-02-07 09:18:42 -06:00
fansaien
680c729f90
Set the datetime value with time 00:00:00 when using the date mode ( #4111 )
...
Credit to @fansaien
2019-02-06 10:23:50 -06:00
Szabó Gergő
6dbe9be615
Improve the Hungarian translation ( #4112 )
...
Credit to @gergo75
2019-02-05 16:27:32 -06:00
Ben Thomson
4f3997c6de
Make the filesize display in file upload widget more consistent ( #4110 )
...
Credit to @bennothommo. Fixes #4085 .
2019-02-04 12:54:07 -06:00
Ben Thomson
970d5622c0
Allow datatables to work within a repeater ( #4102 )
...
Fixes #4063 . Credit to @bennothommo.
2019-02-04 12:50:40 -06:00
Luke Towers
78e68ed632
Support nested jsonable values in List columns, refs: #2990 , #2995 , #3088 ,
2019-02-01 15:11:57 -06:00
Antonie Hogewoning
16ca521cd0
Fix setting default values for repeater in update context ( #4098 )
...
Credit to @CptMeatball
2019-01-31 13:50:21 -06:00
fansaien
331c8f4383
Change filter.js to fire requests on the control element ( #4094 )
...
Changed filter.js to fire its internal AJAX requests on the control's element instead of the closest form element. Previous behavior would fire the requests on a non-existant form element (as filter widgets are typically not located within a form element) and it looks like that was copy-paste oversight from the inspector javascript that the filter was originally based on. Credit to @fansaien
2019-01-30 14:09:34 -06:00
Siarhei Karavai
3118660d83
Improve support for dropdowns with placeholders ( #4060 )
...
Fixes #4053 . Credit to @GinoPane
2019-01-27 16:13:02 -06:00
Alexander Voronin
174f37b604
Fixed repeater add group popover in a popup context ( #4058 )
...
Credit to @VoroninWD.
2019-01-27 11:52:46 -06:00
Rike-cz
c0e01c0f0d
Add support for `data-request-url` in the data attributes AJAX API ( #4012 )
...
Credit to @Rike-cz. Documented in https://github.com/octobercms/docs/pull/353
2019-01-25 10:29:49 -06:00
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