391fb2cc62
Added MATLAB/Octave code highlighting support
2022-09-27 18:52:21 +01:00
af11e7dd54
Merge branch 'development' of github.com:BookStackApp/BookStack into development
2022-09-27 18:45:08 +01:00
af434d0216
Fixed custom code theme not showing in WYSIWYG
...
Fixes #3753
Was caused by not including added styles to the code block shadow root.
2022-09-27 18:44:06 +01:00
931641ed2c
Tweaked license and readme text
...
Updated license copyright line to better help it be detected as MIT by
automatic license systems (Such as GitHub license detection) while
removing contributors link which would not actually list all
contributors.
Also added year range back in to be more specific about active lifetime.
2022-09-27 12:23:16 +01:00
b716fd2b8b
Updated composer deps, incremented dev version
2022-09-27 02:56:49 +01:00
a6a78d2ab5
Refactored app service providers
...
Removed old pagination provider as url handling now achieved in a better
way.
Removed unused broadcast service provider.
Moved view-based tweaks into specific provider.
Reorganised provider config list.
2022-09-27 02:48:05 +01:00
67d7534d4f
Merge pull request #3751 from BookStackApp/parallel_testing
...
Parallel Testing Support
2022-09-27 01:31:37 +01:00
f21669c0c9
Cleaned testing service provider usage
...
Moved testing content out of AppServiceProvider, to a testing-specific
service provider. Updated docs and added composer commands to support
parallel testing.
Also reverted unintentional change to wysiwyg/config.js.
2022-09-27 01:27:51 +01:00
e18033ec1a
Added initial support for parallel testing
2022-09-26 21:25:32 +01:00
aec772c5eb
Updated translator attribution before release v22.09.1
2022-09-20 13:18:41 +01:00
2e4d29e062
New Crowdin updates ( #3710 )
2022-09-20 13:16:15 +01:00
dce6a82954
Added reason, if existing, into SAML acs error
...
Closes #3731
2022-09-20 12:52:44 +01:00
050d69ea27
Added extra setlocale format to help windows support
...
Related to #3650
2022-09-20 12:00:14 +01:00
0cc68b7665
Fixed language request link in readme
2022-09-19 17:24:21 +01:00
75d6b56072
Merge pull request #3728 from BookStackApp/php_formatting
...
Addition of PHPCS for formatting
2022-09-18 15:04:07 +01:00
ac27b5aebb
Updated readme for phpcs usage, aligned gh action workflows
2022-09-18 14:50:25 +01:00
ecbc7344fc
Added php lint gh action, updated composer scripts
2022-09-18 01:56:45 +01:00
8a749c6acf
Added and ran PHPCS
2022-09-18 01:25:20 +01:00
d0dc5e5c5d
Added a little protection to migration query
...
Just to be sure the query is filtered as expected to only affect
shelf-based images.
2022-09-08 12:26:14 +01:00
e4642257a6
New Crowdin updates ( #3701 )
2022-09-08 11:59:57 +01:00
f7418d0600
Updated translator attribution
2022-09-08 11:58:55 +01:00
98aed794cc
Made a range of rtl fixes
...
Mostly around dropdowns and other items that had right/left specific
styling.
For #3702
2022-09-06 21:31:18 +01:00
623ccd4cfa
Removed old thai files, added romanian as lang option
...
Also applied styleci changes
2022-09-06 17:41:32 +01:00
d8672944a5
Added image view access notice to role form
...
Added to clarify the role permission in scenarios where users may have
not read the docs site to understand image access control.
Related to #3688
2022-09-06 17:20:35 +01:00
6955b2fd5a
Widened svg content attribute xss filtering
...
Takes care of additional cases that can occur.
Closes #3705
2022-09-06 17:01:56 +01:00
24f82749ff
Updated OIDC group attr option name
...
To match the existing option name for display names.
Closes #3704
2022-09-06 16:33:17 +01:00
b9941e8e61
Merge pull request #3698 from BookStackApp/include_theme_event
...
Added "page_include_parse" theme event
2022-09-05 16:51:01 +01:00
7101ce3050
Added "page_include_parse" theme event
...
For custom control of include tag parsing.
2022-09-05 16:40:42 +01:00
fbef0d06f2
Added permission visiblity control to image-delete button
...
Includes test to cover.
For #3697
2022-09-05 15:52:12 +01:00
b698bb0e07
Wrapped wysiwyg drawing change in editor transaction
...
To make the content changes made a undoable transaction that is picked
up as a change.
From my testing, should address #3682
2022-09-05 15:06:47 +01:00
2d7552aa09
Addressed setlocale issue caught by phpstan
...
setlocale could be called with no second param if the language given to
the modified function was empty.
2022-09-05 13:33:05 +01:00
ee1e936660
Applied styleci changes, updated composer deps
2022-09-05 13:18:37 +01:00
50214d5fe6
New Crowdin updates ( #3643 )
2022-09-05 13:17:10 +01:00
2fe261e207
Updated page revisions link visibility
...
To match the actual visibilities of the revisions listing page and
options.
Related to #2946
2022-09-03 12:32:21 +01:00
9158a66bff
Updated & improved language locale handling
...
Extracted much of the language and locale work to a seperate, focused class.
Updated php set_locale usage to prioritise UTF8 usage.
Added locale options for windows.
Clarified what's a locale and a bookstack language string.
For #3590 and maybe #3650
2022-09-02 19:19:01 +01:00
7f8b3eff5a
Fixed failing tests due to shelf text changes, applied styleci changes
2022-09-02 14:47:44 +01:00
5736919836
Merge pull request #3693 from BookStackApp/local_secure_restricted
...
Addition of a `local_secure_restricted` image storage option
2022-09-02 14:41:25 +01:00
c76b5e2ec4
Fixed local_secure_restricted preventing attachment uploads
...
Due to option name change and therefore lack of handling.
Added test case to cover.
2022-09-02 14:40:17 +01:00
092b6d6378
Added test and handling for local_secure_restricted in exports
2022-09-02 14:21:43 +01:00
f88330202b
Added test to cover secure restricted functionality
2022-09-02 14:03:23 +01:00
f28ed0ef0b
Fixed shelf covers being stored as 'cover_book'
...
Are now stored as 'cover_bookshelf' as expected.
Added a migrate to alter existing shelf cover image types.
2022-09-02 12:54:54 +01:00
27ac122502
Started work on local_secure_restricted image option
2022-09-01 16:17:14 +01:00
9da3130a12
Aligned bookshelf terminology to consistently be 'Shelf'
...
For #3553
EN only, other languages should be handled via CrowdIn
2022-09-01 14:55:35 +01:00
1afc915aed
Fixed missing nested list indent next to floated content
...
Fixes #3672
2022-09-01 13:11:59 +01:00
34c63e1c30
Added test & update to prevent page creation w/ empty slug
...
Caused by changes to page repo in reference work,
This adds back in the slug generate although at a more central place.
Adds a test case to cover the problematic scenario.
2022-09-01 12:53:34 +01:00
f092c97748
Fixed lack of url reference updating on book child move
2022-08-30 22:12:52 +01:00
9153be963d
Added book child reference handling on book url change
...
Closes #3683
2022-08-30 22:00:32 +01:00
1cc7c649dc
Applied StyleCi changes, updated php deps
2022-08-29 17:46:41 +01:00
e537d0c4e8
Merge pull request #3656 from BookStackApp/x_linking
...
Link reference tracking & updating
2022-08-29 17:45:05 +01:00
961e418cb7
Fixed phpstan wanring about usage of static
2022-08-29 17:39:50 +01:00