Dan Brown
40200856af
PDF: Removed barryvdh snappy to use snappy direct
...
Also simplifies config format, and updates snappy implmentation to use
the new config file.
Not yet tested.
2024-04-24 15:13:44 +01:00
Dan Brown
bb6670d395
PDF: Started new command option, merged options, simplified dompdf
...
- Updated DOMPDF to direcly use library instead of depending on barry
wrapper.
- Merged existing export options file into single exports file.
- Defined option for new command option.
Related to #4732
2024-04-22 16:40:42 +01:00
Dan Brown
d949b97cc1
Merge pull request #4955 from BookStackApp/oidc_userinfo
...
OIDC userinfo endpoint support
2024-04-19 16:55:29 +01:00
Dan Brown
8b14a701a4
OIDC Userinfo: Fixed issues with validation logic from changes
...
Also updated test to suit validation changes
2024-04-19 16:43:51 +01:00
Dan Brown
0958909cd9
OIDC Userinfo: Added additional tests to cover jwks usage
2024-04-19 15:05:00 +01:00
Dan Brown
b18cee3dc4
OIDC Userinfo: Added JWT signed response support
...
Not yet tested, nor checked all response validations.
2024-04-19 14:12:27 +01:00
Dan Brown
fa543bbd4d
OIDC Userinfo: Started writing tests to cover userinfo calling
2024-04-17 23:26:56 +01:00
Dan Brown
7d7cd32ca7
OIDC Userinfo: Added userinfo data validation, seperated from id token
...
Wrapped userinfo response in its own class for additional handling and
validation.
Updated userdetails to take abstract claim data, to be populated by
either userinfo data or id token data.
2024-04-17 18:23:58 +01:00
Dan Brown
a71c8c60b7
OIDC: Extracted user detail handling to own OidcUserDetails class
...
Allows a proper defined object instead of an array an extracts related
logic out of OidcService.
Updated userinfo to only be called if we're missing details.
2024-04-16 18:14:22 +01:00
Dan Brown
9183e7f2fe
OIDC Userinfo: Labelled changes to be made during review
2024-04-16 15:52:55 +01:00
Dan Brown
d640411adb
OIDC: Cleaned up provider settings, added extra validation
...
- Added endpoint validation to ensure HTTPS as per spec
- Added some missing types
- Removed redirectUri from OidcProviderSettings since it's not a
provider-based setting, but a setting for the oauth client, so
extracted that back to service.
2024-04-16 15:19:51 +01:00
Dan Brown
dc6013fd7e
Merge branch 'development' into lukeshu/oidc-development
2024-04-16 14:57:36 +01:00
Dan Brown
80ac66e0a6
Code Editor: Added scala to language list
...
For #4953
2024-04-16 14:44:17 +01:00
Dan Brown
f05ec4cc26
Tags: Stopped recycle bin tags being counted on index
...
For #4892
Added test to cover.
2024-04-15 18:44:59 +01:00
Dan Brown
d9ff001ffe
Merge pull request #4904 from C0rn3j/optimize-images
...
15KB lossless optimization via oxipng(PNG) and svgo(SVG)
2024-04-15 18:07:29 +01:00
Dan Brown
0f6cb9ed84
Content styles: Made links underlined for visibility
...
Inline with A11y recommendations where color may not be reliable on its
own.
Tested various content link scenarios across chrome, safari & FF.
For #4939
2024-04-13 15:48:39 +01:00
Dan Brown
dde1f27882
Merge pull request #4930 from BookStackApp/split_md_js
...
JS Build: Split markdown to own file, updated packages
2024-04-08 14:46:06 +01:00
Dan Brown
f5e6f9574d
JS Build: Split markdown to own file, updated packages
...
Markdown-related code was growing, representing half of app.js main
bundle code while only being needed in one view/scenario.
This extracts markdown related code to its own built file.
Related to #4858
2024-04-08 14:41:51 +01:00
Dan Brown
ee40adf11a
Merge pull request #4921 from BookStackApp/v24-02
...
v23.02.3 changes
2024-04-05 15:21:05 +01:00
Dan Brown
3e23f456fe
CSS: Removed redundant calc
2024-04-05 15:18:58 +01:00
Dan Brown
b9e2d33ed4
Page Content: Aligned max-width across viewer and editors
...
For #4916
2024-04-05 15:06:08 +01:00
Dan Brown
19f78dbe6c
WYSIWYG descriptions: Allowed anchor target attrs
...
Allowed since this is a control in the editor UI, but would previously
be stripped by editor config & server-side filtering.
For #4925
2024-04-03 16:46:53 +01:00
Dan Brown
a33dbcb04a
References: Fixed references count/list recycle bin interaction
...
Count and reference list would get references then attempt to load
entities, which could fail to load if in the recycle bin.
This updates the queries to effectively ignore references for items we
can't see (in recycle bin).
Added test to cover.
For #4918
2024-04-01 17:08:53 +01:00
Dan Brown
58f6219cb3
Code: Fixed highlighting issues when no code language set
...
For #4917
2024-03-31 14:33:08 +01:00
Martin Rys
76c7166268
Use zopfli for oxipng for extra 3KB~
2024-03-26 12:31:54 +01:00
Dan Brown
6c063f424c
Merge pull request #4907 from BookStackApp/licensing_update
...
Dependency Licensing Improvements
2024-03-24 12:01:01 +00:00
Dan Brown
3345680f7d
Licensing: Added license gen as composer command
2024-03-24 11:58:31 +00:00
Dan Brown
a2fd80954b
Licensing: Added links and tests for new licenses endpoint
...
For #4907
2024-03-23 22:04:18 +00:00
Dan Brown
0c524c7c8f
Licensing: Added licenses app view
...
Extracted many methods to a new "MetaController" in the process.
2024-03-23 16:31:13 +00:00
Martin Rys
5f306a11e7
15KB lossless optimization via oxipng(PNG) and svgo(SVG)
2024-03-23 16:33:11 +01:00
Dan Brown
ed956a4cf0
Licensing: Updated license gen scripts to share logic
2024-03-23 15:33:05 +00:00
Dan Brown
55a2a6db88
Licensing: Added script to gen info for JS packages
2024-03-23 15:19:58 +00:00
Dan Brown
f789359886
Licensing: Added script to build PHP library licensing information
2024-03-22 14:44:23 +00:00
Dan Brown
c221a00e1e
Migrations: Added prefix support to schema inspection
2024-03-19 10:30:26 +00:00
Dan Brown
83913af68b
Merge branch 'development' into C0rn3j/development
2024-03-18 14:35:16 +00:00
Dan Brown
fa5395a02b
Meta: Updated workflows, licence and readme
...
- Updated license year
- Updated some readme wording, removed lapsed sponsor, Removed twitter
link, added link to alt github source
- Update cache action for GH workflows since GH was complaining
2024-03-18 14:26:31 +00:00
Dan Brown
85dd71507e
Merge pull request #4903 from BookStackApp/laravel10
...
Framework: Upgrade from Laravel 9 to 10
2024-03-17 17:00:03 +00:00
Dan Brown
28d6292278
Framework: Addressed deprecations
2024-03-17 16:52:19 +00:00
Dan Brown
b4b84f81a0
Deps: Updated custom symfony/mailer package
...
Done during #4903 work
2024-03-17 16:32:59 +00:00
Dan Brown
2345fd4677
Deps: Updated intervention library from 2 to 3
...
Major version change, required some changes to API
For #4903
2024-03-17 16:03:12 +00:00
Dan Brown
3250fc732c
Testing: Updated PHPUnit from 9 to 10
...
For #4903
2024-03-17 15:41:11 +00:00
Dan Brown
45d52f27ae
Migrations: Updated with type hints instead of php doc
...
Also updated code to properly import used facades.
For #4903
2024-03-17 15:29:09 +00:00
Dan Brown
d6b7717985
Framework: Fixed issues breaking tests
...
For #4903
2024-03-16 15:26:34 +00:00
Dan Brown
794671ef32
Framework: Upgrade from Laravel 9 to 10
...
Following Laravel guidance and GitHub diff.
Not yet in tested state with app-specific changes made.
2024-03-16 15:12:14 +00:00
Martin Rys
70479df5dc
Dockerfile: Don't cache 50MB of lists and use a single layer, make it pretty
2024-03-12 14:04:33 +01:00
Dan Brown
07761524af
Dev: Fixed flaky OIDC test, updated dev version
2024-03-12 12:08:26 +00:00
Dan Brown
2ed931aeed
Updated minimum PHP version from 8.0 to 8.1
...
For #4893
2024-03-12 11:29:51 +00:00
Dan Brown
0d3de40459
Updated translator attribution before release v24.02.1
2024-03-10 18:45:32 +00:00
Dan Brown
3619f79ca6
Updated translations with latest Crowdin changes ( #4877 )
2024-03-10 18:36:12 +00:00
Dan Brown
c9d9ad10f2
Merge branch 'totp-patch' into development
2024-03-10 18:32:02 +00:00