1df7497c09
Added missing validation.file message
...
- Included test to cover
- Also applied StyleCI fixes
Closes #3248
2022-02-06 14:48:33 +00:00
43f32f6d5a
Added attachment API file size limit test
...
Created while testing for #3248 , Was not something that's currently
failing within BookStack but will still add for coverage.
2022-02-06 05:05:17 +00:00
b4fa82e329
Fixed related permissions query not considering drafts
...
Page-related items added on drafts could be visible in certain scenarios
since the applied permissions query filters would not consider
page draft visibility.
This commit alters queries on related items to apply such filtering.
Included test to cover API scenario.
Thanks to @haxatron for reporting.
2021-11-30 00:06:17 +00:00
f77236aa38
Laravel 7.x Shift ( #3011 )
...
* Apply Laravel coding style
* Shift bindings
* Shift core files
* Shift to Throwable
* Add laravel/ui dependency
* Shift Eloquent methods
* Shift config files
* Shift Laravel dependencies
* Shift cleanup
* Shift test config and references
* Applied styleci changes
* Applied fixes post shift to laravel 7
Co-authored-by: Shift <shift@laravelshift.com >
2021-10-26 22:04:18 +01:00
859934d6a3
Applied latest changes from styleCI
2021-10-20 10:49:45 +01:00
2409d1850f
Added TestCase for attachments API methods
2021-10-20 00:58:56 +01:00