6508 Commits

Author SHA1 Message Date
Luke Towers
a017d6657d Revert public to protected, not necessary at this point in time 2022-08-22 16:50:43 -06:00
Luke Towers
ace8af3a8b Remove unused permission 2022-08-22 16:48:21 -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
Luke Towers
4ff9b6b2b6
Add silent option to mix webpack fixture during mix:watch 2022-08-22 14:01:09 -06:00
Luke Towers
d11fc6b622
Fix support for cropping images with url unsafe characters in their path 2022-08-22 13:27:18 -06:00
Ben Thomson
c5dfeffd41 Fix migrations not being run if notes output is not provided.
Fixes an issue in the Builder plugin where tables cannot be created as the migration is not running on save.
2022-08-22 12:50:23 +08:00
Jack Wilkinson
e20574e292 Removed loadAssets event 2022-08-19 19:24:21 +01:00
Jack Wilkinson
5798fea3e5 Allowed for public get relation model calls 2022-08-19 19:23:49 +01: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
Romain 'Maz' BILLOIR
b2f898b2f9
Minor style tweak (#651) 2022-08-18 22:46:35 -06: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
7e41a5992d Removed laravel-vapor from core deps 2022-08-19 01:31:53 +01:00
Jack Wilkinson
83b9b911bc Removed core vapor script 2022-08-19 01:23:03 +01:00
Jack Wilkinson
a14bdb9bb6 Remove vapor scripts from core 2022-08-19 01:21:50 +01:00
Jack Wilkinson
c86ffcbb77 Removed generate signed url route from core 2022-08-19 01:21:22 +01:00
Jack Wilkinson
9cd137bd47 Switched streaming to implementing file upload events 2022-08-19 01:20:55 +01:00
Marc Jauvin
c7868856b4
Make getOptionsFromModel() accessible on a formWidget object (#653) 2022-08-18 14:22:18 -06:00
Jack Wilkinson
54633d70b6
Fix typo in signal processing for mix:watch (#646) 2022-08-15 09:29:17 +08:00
Jack Wilkinson
b43bb0d1b9
Added mix:compile parent args to mix:watch signature (#647) 2022-08-15 09:26:27 +08:00
Jack Wilkinson
03aba8694b
Fixed comment for mix:compile (#648) 2022-08-15 09:25:16 +08:00
Arvis Lācis
5cbf1ec653
Store system first boot date in the database explicitly (#639)
The first plugin version record is unreliable, especially as plugins are added and removed; so this commit stores the first boot date in the database explicitly by using a database migration.
2022-08-11 11:12:45 -06:00
Jack Wilkinson
6cc862db99 Added support for streamed uploads to media manager 2022-08-11 17:04:25 +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
916151f20c
Add support for exit codes in MixCompile (#642)
This ensures that the mix:compile command returns the correct exit codes based on the status of the compilation. It also adds the following option flags to `mix:compile`:

- `--silent`: Runs the compilation process silently without outputting any details from Webpack / Mix
- `--stop-on-error`: Exits the compilation if an error is encountered
- `--manifest`: Defines the package.json file to be used for the compilation
2022-08-10 12:53:00 -06:00
Ben Thomson
6e8c8d90f1
Style up migrations and updates using new Laravel CLI components (#641) 2022-08-10 15:48:56 +08:00
Ben Thomson
a1b4a3fa30 Simplify "run migrations on login" check 2022-08-10 15:17:25 +08:00
Jack Wilkinson
609962a399
Disabled the plusplus checking rule (#643)
The no-plusplus rule is less than ideal as it prevents using a useful language feature without providing adequate justification (see https://airbnb.io/javascript/#variables--unary-increment-decrement for original justification). 

Prior to this commit the eslint configuration did not allow for:

```js
++something
something++
--something
something--
```
2022-08-09 15:27:24 -06:00
Jack Wilkinson
de7fb82468
Restored root phpunit configuration file (#644)
It's very useful as a global config when working within an IDE as it allows for running all the tests from different modules without having to reconfigure the your IDE for each module.
2022-08-09 15:24:49 -06: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
Luke Towers
ed933b4d2e
Allow UserPreferences to be interacted without a logged in user
Winter\Storm\Auth\Models\Preference->get() allows for no user context to be present
2022-08-07 14:28:15 -06:00
Arvis Lācis
09aad658b5
Fix status widget output on clean installation (#633) 2022-08-04 13:56:22 -06:00
QuangTrọngOnline
1990badd26
Improve Vietnamese translation (#636)
Credit to @quangtrongonline
2022-08-04 13:54:02 -06:00
Luke Towers
0356a2fdbf
Document new ** value for app.trustedProxies
See 411695b3e7
2022-08-04 11:33:51 -06:00
Simon Mannsfeld
929e8f2dd3
Improved German translation (#623)
Credit to @simonmannsfeld
2022-08-02 17:35:43 -06:00
Romain 'Maz' BILLOIR
b340855778
Fix -c option in create:model command (#631) 2022-08-02 15:52:01 -06:00
Arvis Lācis
b8046c2228
Fix return types for MediaManager widget functions (#632)
Fixes #629.
2022-08-02 15:49:31 -06:00
Luke Towers
f360667f2c
relativePath can be null
Relative path is generated from $this->assetPath which is by default null. Changing it to be an empty string by default instead would have consequences further down the line in the CombineAssets class.
2022-08-01 21:29:52 -06:00
Ben Thomson
108795e0a2 Rebuild Snowboard 2022-08-01 20:30:08 +08:00
Luke Towers
b1e8b84b77
Fix base URL 2022-07-31 20:28:40 -06:00
Luke Towers
df282fd0e7
Load Snowboard.js via the asset URL helper
Fixes an issue where assets are deployed to a CDN and not available on the local webserver.
2022-07-31 20:10:29 -06:00
Luke Towers
4252b8a428 Fix issue with Snowboard's StripeLoader 2022-07-31 18:38:37 -06:00
Luke Towers
3be17f520b
Normalize database version
Fixes an issue where the version number reported by the database wasn't normalized causing issues when comparing with the normalized version from the filesystem.
2022-07-27 19:05:43 -06:00
Luke Towers
24026b5ad0
Add Spatial Media & Froala 2022-07-25 13:07:59 -06:00
Ben Thomson
a3b720cea7
Add Sponsors section 2022-07-25 16:14:41 +08:00
Eric Pfeiffer
4e9ff0d753
Ensure plugin dependencies are correctly sorted (#621)
Fixes #620
2022-07-20 20:19:32 -06:00
Luke Towers
7dd0eb1b7f
Don't provide twig.environment.cms as a singleton
If you need to use the CMS Controller's Twig instance then you should call getTwig() directly on the controller instance instead of relying upon twig.environment.cms being a singleton.

It being a singleton causes issues if for some reason you want to render another route in the same request as the second call to Controller->run() will pollute the variables of the first.
2022-07-19 14:51:13 -06:00