4641 Commits

Author SHA1 Message Date
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
v1.0.447
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
db26f8be96 Move the code of conduct to appease GitHub 2019-01-10 18:59:52 -06: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 1b3263d4c7004c7b036ab8ae8b8fee3cfb6928b5 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
Luke Towers
0ab5c2d6b7 Merge branch 'master' into develop 2019-01-10 09:53:36 -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
2dbc56aead More bug report issue template corrections 2019-01-03 16:37:41 -06:00
Luke Towers
5cb4ef10f0 Correcting bug report issue template 2019-01-03 16:36:11 -06:00
Luke Towers
0a85edaa66 Fixing path to issue templates 2019-01-03 16:33:41 -06:00
Luke Towers
35c40c1845 Fixed Issue templates 2019-01-03 16:31:48 -06: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