Anže Časar
41a634bb2b
Fix mediafinder error message ( #4269 )
...
Related: 6593651331
2019-04-17 18:54:43 -06:00
Luke Towers
4f0b237aad
Use an embedded Form widget to process FileUpload properties
...
Fixes #2168 , #3097 . Related: https://github.com/rainlab/translate-plugin/pull/442
2019-04-17 18:48:32 -06:00
Luke Towers
f3f655cc25
Merge pull request #4234 from octobercms/fix/repeater-cleanup
...
Simplify Repeater Logic. Fixes #4230 . Related: https://github.com/rainlab/translate-plugin/pull/466
2019-04-17 17:15:48 -06:00
Rachasak Ragkamnerd
70cd444f8a
Added support for 'cache' attribute to addJs() to disable CF RocketLoader ( #4092 )
...
Credit to @itpcc
Due to CloudFlare Rocket Loader, CF will automatically try to optimize page loading speed by changing script type attribute. This breaks the script execution order and makes the user unable to upload the file(s) in the backend using "FileUpload" widget.
However, [CloudFlare allows adding "data-cfasync"](https://support.cloudflare.com/hc/en-us/articles/200169436-How-can-I-have-Rocket-Loader-ignore-specific-JavaScripts- ) to prevent this. And it was used in the [commit #3841 ](https://github.com/octobercms/october/pull/3841/files ).
2019-04-16 20:27:13 -06:00
SeriousKen
38070b0111
Fix ability to clear RecodFinder when useRelation = false ( #4256 )
...
Fixes #4255 . Credit to @SeriousKen
2019-04-15 16:49:29 -06:00
Ben Thomson
28ac50ab28
Fix for models that don't yet exist
...
Credit to @bennothommo. Fixes https://github.com/octobercms/october/pull/3908#issuecomment-447291101
Co-Authored-By: LukeTowers <github@luketowers.ca>
2019-04-12 00:13:39 -06:00
Ben Thomson
ab6023f3e9
Fixed typo
...
Credit to @bennothommo
Co-Authored-By: LukeTowers <github@luketowers.ca>
2019-04-11 23:36:13 -06:00
Luke Towers
630d543959
Merge branch 'develop' into wip/halcyon-db-datasource
2019-04-11 12:30:29 -06:00
Szabó Gergő
7189cc7fcb
Improved Hungarian translation ( #4250 )
...
Backend: Added new brand settings option label and no image message.
System: Added changelog and custom error messages.
Richeditor: Many correction (https://github.com/froala/wysiwyg-editor/blob/master/js/languages/hu.js ).
2019-04-11 13:39:43 +03:00
Ben Thomson
ee2b53fe71
Add hidden "loaded" flag for repeaters
...
This allows the repeater to retrieve the load value
from the model only on initialisation. Any further
requests to the repeater (ie. AJAX requests) should
use the POST data.
2019-04-11 17:57:27 +08:00
Ben Thomson
ac98f70a25
Revert reordering handler changes
2019-04-11 10:37:39 +08:00
Ben Thomson
a00e546f5f
Clean up processItems() method
2019-04-10 13:20:51 +08:00
Ben Thomson
9b5bd83f10
Reset indexes when processing POST data
2019-04-09 15:35:07 +08:00
Mohamed Ali Behiry
cbd3a9e2b0
Improved Arabic Translation ( #4198 )
...
Credit to @mabehiry
2019-04-08 22:14:53 -06:00
Ben Thomson
744d578df7
Only run sortable handler if specified
2019-04-09 10:52:14 +08:00
Ben Thomson
f49b5ab4b8
Add callback for handling sorted repeater items
2019-04-08 23:40:41 +08:00
Ben Thomson
98832fbc57
Initial work on handlers for re-ordering repeater items
2019-04-08 15:57:04 +08:00
Ben Thomson
332ed62931
Increment index count after new item is created
...
Effectively starts the repeater item indexes from 0
2019-04-08 14:37:36 +08:00
rejuvenatedigital
aeeb791899
Fixes cursor position being lost when adding an image from the mediafinder to a richeditor ( #4233 )
...
Credit to @rejuvenatedigital
2019-04-05 09:27:48 -06:00
Alexander Guth
84839ba231
Do not hardcode handler name ( #4235 )
...
Credit to @alxy. This enables us to reuse the widget with a different alias name. Also, this is the octoberish way of referring to handlers. Tested on the Test plugin.
2019-04-05 09:23:50 -06:00
Tobias Kündig
725253f601
Added overflow rules to preview form-control ( #4236 )
...
Credit to @tobias-kuendig
2019-04-05 09:20:53 -06:00
Marc Jauvin
a2cb01b65d
Add $options param to formRenderField ( #4239 )
...
Allow passing options to Form widget's renderField() method. Credit to @mjauvin
2019-04-05 09:06:52 -06:00
Luke Towers
bfe03803e6
Fix the repeater on every context, not just static page fields
2019-04-05 09:00:26 -06:00
Luke Towers
b4b4b1b566
Remove extra __index_ and __group_ fields from the Repeater and use only the data itself to handle initializing widgets and processing data.
...
Refs: #4230
2019-04-04 01:23:32 -06:00
Luke Towers
49f3cd632e
Ensure that widget aliases remain the same between requests. Refs: #4230
2019-04-04 00:01:14 -06:00
Ben Thomson
aee4205b44
Fix datatable alias to be a single string ( #4231 )
...
Credit to @bennothommo
2019-04-03 15:48:15 -06:00
Marc Jauvin
eaaf8a6b3d
Added oc.inputPreset.beforeUpdate plugin hook ( #4217 )
...
Refs: https://github.com/rainlab/translate-plugin/issues/429
2019-04-02 08:48:53 -06:00
Alexander Guth
b3eb95bb62
Make default format options in ImportExportBehaviour configurable ( #4200 )
...
Credit to @alxy.
If the default format mode is selected, there is no chance to configure the format options for delimiter, enclosure, escape and encoding. This considers a new config file item `defaultFormatOptions` and falls back to `null` if it is not specified.
To keep things consistent, the old default values remain untouched.
2019-04-01 13:00:41 -06:00
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
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