2922 Commits

Author SHA1 Message Date
Luke Towers
b407f26e02 Add support for \Path\To\Class::staticMethodName for defining field options.
Related: 95d0b61a29
2020-09-10 12:12:46 -06:00
lctoan
1ef50d4751
Improve Taiwanese translations (#5264) 2020-09-07 09:48:12 -06:00
Luke Towers
79cbfa34a6 Composer updates for 1.1.0 2020-09-06 21:07:10 -06:00
Luke Towers
fd2d634b5e Composer updates for 1.0.469 2020-09-06 21:05:00 -06:00
Luke Towers
91e4e96929 Allow the Filter widget container to be targeted by the AJAX framework 2020-09-04 14:29:06 -06:00
Luke Towers
acd0616aaa Fix typo, credit to @alxy for identifying 2020-08-30 02:08:06 -06:00
Ben Thomson
c75231c60e
Fix repeated condition in thumbnail options 2020-08-24 21:34:28 +08:00
Ben Thomson
684d18ffc4
Clean up 2020-08-24 15:23:49 +08:00
Ben Thomson
d104d47911
Clear relation fields when unlinking a relation 2020-08-24 15:18:33 +08:00
Ben Thomson
b51428f585
Unassign previous hasOne relation when creating or linking a new record.
Prevents multiple relations existing for a hasOne relation when used in a Relation widget.
2020-08-24 15:17:38 +08:00
Ben Thomson
e384a37457
Apply same fix from 5a843bc to the create action as well 2020-08-24 15:16:01 +08:00
Luke Towers
d3e346013d minor inline doc correction 2020-08-23 23:58:31 -06:00
Luke Towers
5a843bc909 Fix support for updating belongsTo relationships with the RelationController.
Fixes #5198, #5243; replaces #5217. Related: 6e25c5a8d0#
2020-08-23 23:57:05 -06:00
Web-VPF
f708754f07
Update Russian translation (#5247) 2020-08-23 02:51:48 -06:00
Luke Towers
779a87999c Added support for new "image" column type that uses the ImageResizer class 2020-08-21 17:54:31 -06:00
Ben Thomson
c7ed0ffa1a
Implement improved testing procedure (#5238)
Refs: 5feb7b872f
2020-08-14 08:00:39 +08:00
moisessepulveda
cdb8acd214
Improvements to Spanish translations (#5237) 2020-08-13 12:03:35 +08:00
Luke Towers
0a9c751e1b Merge branch 'develop' into wip/laravel-6 2020-08-03 01:49:06 -06:00
Luke Towers
18af35d928 Prevent error from occurring when the active sorting column is hidden from the results.
Fixes #5227
2020-07-30 10:54:09 -06:00
Luke Towers
6ea06b3d8e restore original password min length value 2020-07-19 02:07:09 -06:00
Luke Towers
18714ae9f0 Add L6 as a dep to the modules to prevent people with older Laravel versions from accidentally pulling in the L6 update 2020-07-19 01:42:58 -06:00
Luke Towers
1aab58d1e4 Merge branch 'develop' into wip/laravel-6 2020-07-19 01:35:37 -06:00
Luke Towers
c1fd1b9346 Fix support for ignoreTimezone in date filter types
Fixes #5197
2020-07-19 01:01:09 -06:00
Klaas Poortinga
517c588ef7
Fix filter type "group" when 500+ options are available (#5141)
When 500 options or more are presented in a group filter, PHP `max_input_vars` limits may prevent the filter from working. This fix passes selected options through as a JSON string to get around the limits.
2020-07-17 17:12:41 +08:00
Luke Towers
d17b6eaf32 Merge branch 'develop' into wip/laravel-6 2020-07-17 00:47:32 -06:00
Ben Thomson
70eac9b0e2
Recompile assets 2020-07-16 18:00:19 +08:00
Patrick Boivin
987dfa4eb7
Add Paragraph Formats to Editor Settings (#4861)
Co-authored-by: Luke Towers <github@luketowers.ca>
Co-authored-by: Ben Thomson <ben@abweb.com.au>
2020-07-16 17:54:21 +08:00
Ben Thomson
4950edc196
Add sensitive field input (#5201)
A field widget that allows for entering of sensitive information that can be revealed at the user's request - ie. API keys, secrets.

When a sensitive field that has been previously populated is loaded again, a placeholder is used instead of the real value, until the user opts to reveal the value. The real value is loaded via AJAX.

Credit to @tomaszstrojny for the original implementation.

Replaces #5062. Fixes #5061, #1850, perhaps #1061.

Co-authored-by: Tomasz Strojny <tomasz@init.biz>
Co-authored-by: Luke Towers <github@luketowers.ca>
2020-07-08 16:26:38 +08:00
Luke Towers
dd8ceaa106 Merge branch 'develop' into wip/laravel-6 2020-06-27 20:06:39 -06:00
Luke Towers
b2d88d6da9 Fix issue when refreshing an entire form that occurs because the toggleEmptyTabs timer runs after the elements it was based on have all been replaced. 2020-06-24 11:33:44 -06:00
Ben Thomson
47ca69e1f4
Merge remote-tracking branch 'origin/develop' into wip/laravel-6 2020-06-23 11:01:21 +08:00
Giuseppe Montuoro
cbbc82ac86
Use the current context when making redirects in FormController onSave handlers (#5132)
Related: d0546599d1
2020-06-20 16:04:57 -06:00
Luke Towers
ef36399cf7 Improve error handling for invalid counter properties on backend menu items 2020-06-19 23:54:44 -06:00
Luke Towers
dc400a0e20 Fix issue where the throttle feature was no longer logging IP addresses.
Fixes #5128
2020-06-18 11:27:53 -06:00
Luke Towers
b384954a29 Improve Froala sanitization of pasted content. 2020-06-18 11:03:48 -06:00
Luke Towers
9c6c6b5a12 Merge branch 'develop' into wip/laravel-6 2020-06-17 03:37:55 -06:00
Luke Towers
0cdda52eb8 Fix bug where a field with @context in the name would completely break forms if it also depended on other fields.
The bug occurred because if specific fields aren't detected in onRefresh(), the entire Form widget HTML will be returned as the result instead of specific fields. This created a problem because the october.form.js JS is not setup to gracefully handle having the entire root form DOM node completely replaced in the middle of a request being completed. Specifically, this would cause problems when trying to detect empty tabs, and then the problems would cascade from there as there would be an instance of october.form.js attached to the page with broken references to no-longer existing DOM nodes.

This fix solves the immediate issue of `field@context` using the `dependsOn` feature breaking by ensuring that the actual final field name for a given field is used instead of the name used in the configuration of the field. Future work should probably be done to better support an entire form being re-rendered if no fields are detected in onRefresh however.
2020-06-17 03:05:40 -06:00
Tomasz Strojny
68d0667bd4
Updated Polish translation (#5129) 2020-06-17 16:10:37 +08:00
Romain 'Maz' BILLOIR
81a11f70c4
Fix Froala strip empty tags issue (#5126)
Co-authored-by: Ben Thomson <git@alfreido.com>
2020-06-16 14:59:40 +08:00
Luke Towers
24f87ae10e Also remove custom sorts from relationcontroller lists / pivot manage modes.
Fixes https://github.com/octobercms/october/issues/4335#issuecomment-643706004, refs: 5f8a5454ee
2020-06-14 14:29:21 -06:00
Luke Towers
ad69711634 Merge branch 'develop' into wip/laravel-6 2020-06-11 10:38:29 -06:00
Luke Towers
02af8bb254 Improve error handling when uploading a file that exceeds the server's post_max_size 2020-06-05 15:56:15 -06:00
Luke Towers
314b15dd13 Support decompiling mediamanager assets 2020-06-05 15:52:59 -06:00
Luke Towers
434f2cd433 Improve error handling for UploadableWidgets 2020-06-05 15:52:27 -06:00
Luke Towers
547d9bffeb Support nested asset files and files under a symlinked directory when decompiling backend assets 2020-06-05 15:51:12 -06:00
Alexander Guth
9e64e63805
Add filters widget to the pivot view (#5099)
Fixes #5089
2020-06-02 00:53:57 -06:00
Samuell
b63a39b106
Add missing import (#5101) 2020-06-01 10:42:15 -06:00
Luke Towers
5c3ba9a28a Fix naming conflict
Reported by @alxy https://github.com/octobercms/october/pull/5088#issuecomment-636448210
2020-05-31 11:23:31 -06:00
Luke Towers
5c7ba9fbe9 Update combined jquery file to 3.4.0, added fix for #5097 2020-05-31 02:32:58 -06:00
Luke Towers
252c9b7f58 Merge branch 'develop' into wip/laravel-6 2020-05-27 12:44:54 -06:00