706 Commits

Author SHA1 Message Date
Luke Towers
46c7893cc3 Update frontend event names 2022-08-24 21:12:57 -06:00
Luke Towers
461549e733 Compile JS 2022-08-23 20:45:28 -06:00
Luke Towers
bbca30e34a Merge branch 'develop' into wip/s3-stream
* develop:
  Revert "Fix default value for taglist formwidget in relation mode"
  Fix issue when saving file model related fields
2022-08-23 13:58:51 -06:00
Luke Towers
6ff502f404
Revert "Fix default value for taglist formwidget in relation mode"
This caused an issue with taglists where existing relation values were being converted into their IDs instead of the actual nameFrom value. 

If Post belongsToMany Authors and the following configuration is used:
```yaml
authors:
    label: Authors
    type: taglist
    mode: relation
    separator: comma
    customTags: true
    nameFrom: full_name
```
Then loading a form with the authors relation already set would cause the ID of the authors to be displayed in the field instead of the full name and would cause issues when attempting to save the form.
2022-08-23 12:47:54 -06:00
Luke Towers
0244745a96 Fix issue when saving file model related fields 2022-08-23 10:17:23 -06:00
Luke Towers
e35e5dff35 Initial code review 2022-08-22 16:40:12 -06:00
Luke Towers
2939d9987a Merge branch 'develop' into wip/s3-stream
* develop:
  Add silent option to mix webpack fixture during mix:watch
  Fix support for cropping images with url unsafe characters in their path
  Fix migrations not being run if notes output is not provided.
  Minor style tweak (#651)
  Add support for data-request-parent (#650)
  Make getOptionsFromModel() accessible on a formWidget object (#653)
  Fix typo in signal processing for mix:watch (#646)
  Added mix:compile parent args to mix:watch signature (#647)
  Fixed comment for mix:compile (#648)
  Store system first boot date in the database explicitly (#639)
  Add support for exit codes in MixCompile (#642)
  Style up migrations and updates using new Laravel CLI components (#641)
  Simplify "run migrations on login" check
  Disabled the plusplus checking rule (#643)
  Restored root phpunit configuration file (#644)
  Fix default value for taglist formwidget in relation mode (#611)
  Allow UserPreferences to be interacted without a logged in user
  Fix status widget output on clean installation (#633)
  Improve Vietnamese translation (#636)
  Document new ** value for app.trustedProxies
2022-08-22 15:43:38 -06:00
Jack Wilkinson
7aa1b7a859 Simplified extension event logic 2022-08-19 19:23:08 +01:00
Jack Wilkinson
2508376f09 Added richeditor init event 2022-08-19 19:16:32 +01:00
Luke Towers
a4cfd0d23f
Add support for data-request-parent (#650)
See https://github.com/octobercms/october/pull/5136

Also see:
- octobercms/october#5084 
- octobercms/october#4925 
- octobercms/october#2727 (Somewhat related, not entirely though)
- https://github.com/octoberrain/test-plugin/issues/73 (Somewhat related)
- octobercms/october#5447 (may be related)
2022-08-18 18:38:28 -06:00
Jack Wilkinson
9cd137bd47 Switched streaming to implementing file upload events 2022-08-19 01:20:55 +01:00
Jack Wilkinson
bfbd5e8290 Code cleanup 2022-08-11 17:03:15 +01:00
Jack Wilkinson
ca8de88017 Added fix for upload progress bar 2022-08-11 15:32:35 +01:00
Jack Wilkinson
699eb9081d Initial s3 streaming work for FileUpload widget 2022-08-09 19:05:10 +01:00
Marc Jauvin
305cb588c8
Fix default value for taglist formwidget in relation mode (#611) 2022-08-09 09:32:36 +08:00
Ben Thomson
01aa5fb6af Fix code smell 2022-06-05 21:59:37 +08:00
Luke Towers
f758984b7c Improve error handling of invalid values provided to the DatePicker FormWidget 2022-05-23 13:53:12 -06:00
Ben Thomson
afb9ae8c0c Fix shimmed icons, remove some CSS variables, recompile 2022-05-06 13:43:23 +08:00
Ben Thomson
bd3401f6de Upgrade Font Awesome 4 to 6 2022-05-06 13:28:57 +08:00
Ben Thomson
6298026d20 Compile all assets 2022-05-06 10:09:51 +08:00
Luke Towers
c9c4b6113c Fix windows tests & update references to backend view files 2022-05-02 13:02:34 -06:00
Ben Thomson
ceb6cca1ff Fix linting issue with fileupload partial 2022-05-02 16:39:50 +08:00
Ben Thomson
175580aa2f Implement code style for partials.
Adjust all partials to meet new code style.
2022-05-02 16:34:47 +08:00
Luke Towers
85b133090d Use .php for the backend view extension instead of .htm 2022-05-02 00:04:25 -06:00
Marc Jauvin
752d6ad47e
fix null coalescent operator (#518) 2022-03-31 07:41:16 -04:00
Flynsarmy
2224a6a57d
Allow disabling/enabling of sorting with Repeater widget (#506) 2022-03-23 10:57:35 +08:00
Luke Towers
bd79b80d01 Fix support for readOnly on the datepicker formwidget.
Fixes #363, replaces #367. Credit to @arvislacis.

Also misc cleanup.
2022-01-25 19:04:38 -06:00
WebVPF
cc09f29ec5
Use HTTPS template for links in Markdown editor (#387) 2021-12-27 09:40:12 +08:00
Ben Thomson
1987c2f876
Fix clear color picker function, allow empty value
Fixes https://github.com/wintercms/winter/issues/353
2021-12-08 21:11:21 +08:00
Ben Thomson
dd2da8120e
Trigger "change" event on color picker when value changes
Allows color field to be a dependent of another field through "dependsOn"

Fixes https://github.com/wintercms/winter/issues/352
2021-12-08 20:43:59 +08:00
Ben Thomson
2ad97c78ed
Use better cursors for readonly color picker
Fixes https://github.com/wintercms/winter/issues/371
2021-12-08 20:25:42 +08:00
Romain 'Maz' BILLOIR
1aa8fe08b8
Add Exception on wrong relation type in relation formwidget (#334)
Co-authored-by: Luke Towers <github@luketowers.ca>
Co-authored-by: Ben Thomson <ben@abweb.com.au>
2021-10-27 14:04:55 +08:00
Ben Thomson
6a2f234d63
Redesigned color picker widget (#324)
Co-authored-by: Luke Towers <github@luketowers.ca>
2021-10-25 11:19:39 +08:00
Ben Thomson
7aea162fe2 Fix Markdown editor sizing issue on Chrome.
Chrome exhibits an issue in stretch mode with the double min-height definition of the surrounding field container and the editor writing area where the height is interpreted incorrectly and the editor content is clipped if the viewport shrinks the editor below the minimum height.

This fix will define a minimum height just for the editor writing area based on the "size" option, and will still allow stretch to increase the height of the editor further as required.

Partially reverts the "improvements" in d7117f9cb2

Fixes https://github.com/wintercms/winter/issues/322
2021-09-30 09:42:46 +08:00
Luke Towers
404db2a560
Fixed issue with taglist when not readOnly but an array value 2021-04-24 17:40:04 -06:00
Luke Towers
a56d7ec2af Improves Froala richeditor link insertion via the pagelinks plugin
This fixes several long standing issues with the pagelinks plugin for the Froala richeditor widget; thanks to the wonderful work by @tomsseisums, and brought up again by @alxy to get it merged in.

Fixes:
- https://github.com/octobercms/october/issues/3064
- https://github.com/octobercms/october/issues/2979

Replaces:
- https://github.com/octobercms/october/pull/3087
- https://github.com/octobercms/october/pull/3086
- https://github.com/octobercms/october/pull/5553
- c4e3903988
2021-04-09 01:20:18 -06:00
Luke Towers
8c4297af4b Merge branch 'october-develop' into develop
* october-develop:
  Support readonly and disabled fields when value is an array (#4683)
  Exception handling
  Improve configuration files (#5544)
  Update Dutch (nl) translations (#5543)

# Conflicts:
#	config/mail.php
#	modules/system/classes/MailManager.php
2021-03-31 10:20:40 -06:00
Pete Halverson
baa7fdc99d
Support readonly and disabled fields when value is an array (#4683)
Issue #4330
2021-03-31 17:48:43 +11:00
Luke Towers
4507bef574 Automatically determine the appropriate key column to use for the recordfinder FormWidget.
Follow up to octobercms/october#1768 and replaces octobercms/docs#268.
2021-03-23 11:39:59 -06:00
Luke Towers
74ca35355d Add support for modifying the RichEditor's allowed attributes list through the EditorSettings in the backend
Refs: https://github.com/rainlab/pages-plugin/issues/473#issuecomment-798830224 & octobercms/october#2576
2021-03-14 01:51:20 -06:00
Luke Towers
1e8cfb47af Manual comb through and rebrand following up the bulk patch rebrand 2021-03-10 15:25:57 -06:00
Luke Towers
cfa763b714 Initial rebrand commit generated from the 1.0 rebrand branch patch file 2021-03-10 15:02:53 -06:00
Martin Vančo
5bbc714984
Update sk.js (#5375)
Fixes wrong 'style' translation (replaces letter 'ť' with 'Š'), adds translation for Insert File and Insert Audio.
2020-12-03 12:26:20 +08:00
Luke Towers
c8899898e6
Documented richeditor.listTypes & richeditor.getTypeInfo events (#5295) 2020-11-20 15:45:17 -06:00
Ben Thomson
ed06a6f1ac
Do minItem initialization before checking current value in repeater prep
Fixes https://github.com/octobercms/october/issues/5274
2020-09-17 12:45:55 +08:00
Ben Thomson
c75231c60e
Fix repeated condition in thumbnail options 2020-08-24 21:34:28 +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