4195 Commits

Author SHA1 Message Date
Sebastiaan Kloos
dadb3e2c01 Add support for preview mode for the Markdown FormWidget (#4166)
Credit to @SebastiaanKloos
2019-04-01 12:56:14 -06:00
Luke Towers
4fbe3fdd8f removed extra line of whitespace 2019-04-01 12:41:08 -06:00
Luke Towers
ecccafa319 Fix issue where grouped repeaters stopped working in a recent build. Refs: 13a7cc915d (commitcomment-32986586) 2019-04-01 12:37:32 -06:00
Alexander Guth
abb0b16b0f Append the color picker modal to parent element (#4199)
This fixes #4117 
Currently, the color picker modal (palette) is appended to the body (default) which makes it unusable in Octobers modals, e.g. for related model forms. This fixes this issue by appending the spectrum div to the parent element.

Credit to @alxy
2019-03-31 21:41:04 -06:00
Siarhei Karavai
2e0d2d3888 Allow subdirectories in migration file names (#4225)
Credit to @GinoPane. Fixes #4224.
2019-03-31 08:46:33 -06:00
Tomasz Strojny
956a234920 Add ability to specify the connection used for running tests (#4159)
Credit to @czerwonyd
2019-03-31 06:28:24 -06:00
Aleksey Sannikov
8280047d30 Improved Russian Translation (#4221)
Credit to @jexme
2019-03-29 13:02:06 -06:00
Samuel Georges
cca64db205 Fix expired message 2019-03-29 17:44:57 +11:00
Samuel Georges
5190c8177b Avoid terminating the app using exit() or die()
Refs #3783
Refs #3746
2019-03-29 07:10:07 +11:00
Samuel Georges
c5bc804d73 Remove redundant header_remove() call
The response is returned directly to the route so this is not needed, it was likely added as an artefact of a previous implementation

Refs #3773
Refs #3746
2019-03-29 06:02:06 +11:00
Samuel Georges
288d9543af Firefox testing
- 4K display fixes
- use doc.ready over win.load
- min-size can be 0.1px and still fix the table spacing issue
2019-03-29 04:33:18 +11:00
Samuel Georges
463008450b Bump froala_editor to v2.9.3 2019-03-29 03:49:46 +11:00
Luke Towers
bb872f331c
Merge pull request #4218 from octobercms/fix/4209
Fixes #4209, replaces #4215
2019-03-28 09:43:09 -06:00
Samuel Georges
f6a3d10dff Adjust styling of clear search button 2019-03-29 02:34:12 +11:00
Samuel Georges
6593651331 Add file check for image upload form widgets - Fixes #3653 2019-03-29 02:23:20 +11:00
Samuel Georges
2b1323b7b2 Change default widget column sizes
Refs #3965
2019-03-29 01:08:20 +11:00
Samuel Georges
334ad94ca4
Merge pull request #3965 from ayumihamsaki2/master
Update Dashboard Columns from 10 to 12
2019-03-29 01:04:16 +11:00
Samuel Georges
adc74ac02e Add changelog link to updates screen - Fixes #4101 2019-03-29 00:21:51 +11:00
Luke Towers
936525f99b Always provide a string to TwigSource. Fixes #4209. 2019-03-27 13:17:26 -06:00
Luke Towers
c86bec7f08 Replace deprecated Twig class references, refs: #4209. 2019-03-27 13:15:17 -06:00
Ben Thomson
8c1106f027 Allow list configs to add class to head row cell (#4207)
Credit to @bennothommo. Documented by https://github.com/octobercms/docs/pull/367
2019-03-25 13:37:32 -06:00
Daniel Ramirez
cb24d817ad Fix popup loading indicator sometimes not closing after load (#4169)
Fixes #4168. Credit to @drmzio
2019-03-25 10:07:33 -06:00
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