]> BookStack Code Mirror - bookstack/log
bookstack
9 months agoAdd XML for OpenSearch
Maximilian Walter [Mon, 9 Sep 2024 20:54:33 +0000 (22:54 +0200)]
Add XML for OpenSearch

10 months agoMerge branch 'development' of github.com:BookStackApp/BookStack into development
Dan Brown [Thu, 29 Aug 2024 14:28:52 +0000 (15:28 +0100)]
Merge branch 'development' of github.com:BookStackApp/BookStack into development

10 months agoUpdated translations with latest Crowdin changes (#5118)
Dan Brown [Thu, 29 Aug 2024 14:08:27 +0000 (15:08 +0100)]
Updated translations with latest Crowdin changes (#5118)

10 months agoAPI: Fixed lacking permission enforcement on book contents
Dan Brown [Thu, 29 Aug 2024 13:43:21 +0000 (14:43 +0100)]
API: Fixed lacking permission enforcement on book contents

10 months agoLDAP: Updated tests for recursive group changes
Dan Brown [Wed, 28 Aug 2024 20:16:18 +0000 (21:16 +0100)]
LDAP: Updated tests for recursive group changes

10 months agoLDAP: Updated recursive group search to query by DN
Dan Brown [Wed, 28 Aug 2024 14:39:05 +0000 (15:39 +0100)]
LDAP: Updated recursive group search to query by DN

Added test to cover, added pre-change.
Need to test post-changes and fix tests.

10 months agoRTL: Fixed lacking task list RTL support
Dan Brown [Tue, 27 Aug 2024 13:13:33 +0000 (14:13 +0100)]
RTL: Fixed lacking task list RTL support

Added with fallback to old LTR styles.
For #5134

10 months agoStyles: Added max-width for iframes in content
Dan Brown [Tue, 27 Aug 2024 12:32:16 +0000 (13:32 +0100)]
Styles: Added max-width for iframes in content

For #5130

10 months agoAPI: Updated docs with consistent types, fixed users response example
Dan Brown [Tue, 27 Aug 2024 11:23:36 +0000 (12:23 +0100)]
API: Updated docs with consistent types, fixed users response example

For #5178 and #5183

10 months agoDependancies: Updated PHP and JS packages
Dan Brown [Mon, 26 Aug 2024 10:49:02 +0000 (11:49 +0100)]
Dependancies: Updated PHP and JS packages

10 months agoReadme: Updated sponsor image links to use website
Dan Brown [Wed, 7 Aug 2024 09:53:20 +0000 (10:53 +0100)]
Readme: Updated sponsor image links to use website

10 months agoUpdate sponsor image URLs in readme 5153/head
Alexander Wilms [Tue, 6 Aug 2024 23:28:21 +0000 (23:28 +0000)]
Update sponsor image URLs in readme

11 months agoReadme: Added route4me sponsorship
Dan Brown [Mon, 22 Jul 2024 15:51:56 +0000 (16:51 +0100)]
Readme: Added route4me sponsorship

11 months agoDev compose: Set image versions, removed unsupported mysql flag
Dan Brown [Wed, 17 Jul 2024 10:13:39 +0000 (11:13 +0100)]
Dev compose: Set image versions, removed unsupported mysql flag

Quick local test performed, ran a working instance.
For #5124

11 months agoUpdated translator & dependency attribution before release v24.05.3
Dan Brown [Sun, 14 Jul 2024 16:09:41 +0000 (17:09 +0100)]
Updated translator & dependency attribution before release v24.05.3

11 months agoUpdated translations with latest Crowdin changes (#5065)
Dan Brown [Sun, 14 Jul 2024 15:39:50 +0000 (16:39 +0100)]
Updated translations with latest Crowdin changes (#5065)

11 months agoCodemirror: Enabled non-standard self-closing tags
Dan Brown [Sun, 14 Jul 2024 15:36:36 +0000 (16:36 +0100)]
Codemirror: Enabled non-standard self-closing tags

For #5078

11 months agoCSP: Updated handling of drawio URL to consider port
Dan Brown [Sun, 14 Jul 2024 15:06:18 +0000 (16:06 +0100)]
CSP: Updated handling of drawio URL to consider port

Previously if a custom port was used in the DRAWIO option it would not
be considered in the CSP handling, which would block loading.

Added test to cover.
For #5107

11 months agoOIDC: Fixed incorrect detection of group detail population
Dan Brown [Sun, 14 Jul 2024 13:21:16 +0000 (14:21 +0100)]
OIDC: Fixed incorrect detection of group detail population

An empty (but valid formed) groups list provided via the OIDC ID token
would be considered as a lacking detail, and therefore trigger a lookup
to the userinfo endpoint in an attempt to get that information.

This fixes this to properly distinguish between not-provided and empty
state, to avoid userinfo where provided as valid but empty.

Includes test to cover.
For #5101

11 months agoDependancies: Updated composer & npm deps
Dan Brown [Sun, 14 Jul 2024 12:55:46 +0000 (13:55 +0100)]
Dependancies: Updated composer & npm deps

11 months agoMerge pull request #5096 from DanielGordonIT/normalize-file-extensions
Dan Brown [Sun, 14 Jul 2024 12:51:55 +0000 (13:51 +0100)]
Merge pull request #5096 from DanielGordonIT/normalize-file-extensions

Wraps file extension comparison components in strtolower()

11 months agoStyles: Improved callout RTL support
Dan Brown [Sun, 14 Jul 2024 11:20:06 +0000 (12:20 +0100)]
Styles: Improved callout RTL support

Will now adapt using logical styles where supported, will fallbacks
to old fixed LTR positioning where not supported.
For #5104

11 months agoMerge pull request #5069 from mueller-contria/5068-allowed_iframe_sources_in_phpunit_xml
Dan Brown [Sun, 14 Jul 2024 11:06:17 +0000 (12:06 +0100)]
Merge pull request #5069 from mueller-contria/5068-allowed_iframe_sources_in_phpunit_xml

Add ALLOWED_IFRAME_SOURCES to phpunit.xml

11 months agoReadme: Added sponsor, removed road map section 5115/head
Dan Brown [Tue, 9 Jul 2024 13:37:29 +0000 (14:37 +0100)]
Readme: Added sponsor, removed road map section

Road map section was very much outdated and redundant so removing to
avoid confusion.

11 months agoActually add the test this time 5096/head
DanielGordonIT [Fri, 5 Jul 2024 03:59:49 +0000 (03:59 +0000)]
Actually add the test this time

11 months agoAdd test to verify different case on extensions works
DanielGordonIT [Thu, 4 Jul 2024 23:48:12 +0000 (19:48 -0400)]
Add test to verify different case on extensions works

11 months agoWraps file extension comparison components in strtolower()
DanielGordonIT [Wed, 3 Jul 2024 19:50:25 +0000 (15:50 -0400)]
Wraps file extension comparison components in strtolower()
This avoids the issue where replacing file.PNG with newfile.png fails due to "PNG" not being equal to "png"

12 months agoReadme: Added sponsor practinet
Dan Brown [Fri, 28 Jun 2024 21:28:06 +0000 (22:28 +0100)]
Readme: Added sponsor practinet

12 months agoSponsors: Added Schroeck IT Consulting
Dan Brown [Thu, 13 Jun 2024 15:46:39 +0000 (16:46 +0100)]
Sponsors: Added Schroeck IT Consulting

12 months agoAdd ALLOWED_IFRAME_SOURCES to phpunit.xml 5069/head
Stefan Mueller [Thu, 13 Jun 2024 10:41:05 +0000 (12:41 +0200)]
Add ALLOWED_IFRAME_SOURCES to phpunit.xml

Fix for bug #5068
test_frame_src_csp_header_set fails, when .env-file has
customized ALLOWED_IFRAME_SOURCES

12 months agoUpdated translator & dependency attribution before release v24.05.2
Dan Brown [Mon, 10 Jun 2024 10:42:37 +0000 (11:42 +0100)]
Updated translator & dependency attribution before release v24.05.2

12 months agoSAML: Set static type to pass static checks
Dan Brown [Mon, 10 Jun 2024 09:31:35 +0000 (10:31 +0100)]
SAML: Set static type to pass static checks

Not totally clear if underlying code can actually return null, but
playing it safe to remain as-is for now for patch release.

12 months agoUpdated translations with latest Crowdin changes (#5022)
Dan Brown [Mon, 10 Jun 2024 09:16:34 +0000 (10:16 +0100)]
Updated translations with latest Crowdin changes (#5022)

12 months agoMerge pull request #5036 from bradenterpstra01/development
Dan Brown [Sun, 9 Jun 2024 22:23:28 +0000 (23:23 +0100)]
Merge pull request #5036 from bradenterpstra01/development

Fixed incorrect code shortcut reference

12 months agoMerge pull request #5052 from michaelortnerit/development
Dan Brown [Sun, 9 Jun 2024 22:20:01 +0000 (23:20 +0100)]
Merge pull request #5052 from michaelortnerit/development

Update docker-compose.yml

12 months agoPages: Fixed unused changelog on first page publish
Dan Brown [Sun, 9 Jun 2024 16:18:23 +0000 (17:18 +0100)]
Pages: Fixed unused changelog on first page publish

Included test to cover.
For #5056

12 months agoDeps: Updated php packages via composer
Dan Brown [Sun, 9 Jun 2024 16:03:29 +0000 (17:03 +0100)]
Deps: Updated php packages via composer

12 months agoImages: Updated GIF handling to use native methods
Dan Brown [Sun, 9 Jun 2024 15:58:23 +0000 (16:58 +0100)]
Images: Updated GIF handling to use native methods

Changes GIF image thumbnail handling to direcly load via gd instead of
going through interventions own handling (which supports frames) since
we don't need animation for our thumbnails, and since performance issues
could arise with GIFs that have large frame counts.

For #5029

12 months agoRoles: Added max validation for role external auth id field
Dan Brown [Sat, 8 Jun 2024 19:33:34 +0000 (20:33 +0100)]
Roles: Added max validation for role external auth id field

For #5037

12 months agoUpdate docker-compose.yml 5052/head
Michael Ortner [Tue, 4 Jun 2024 13:07:09 +0000 (15:07 +0200)]
Update docker-compose.yml

Remove the version: because it is obsolete. See: https://docs.docker.com/compose/compose-file/04-version-and-name/#version-top-level-element-optional

13 months agoUpdate wysiwyg.blade.php 5036/head
bradenterpstra01 [Wed, 29 May 2024 22:01:48 +0000 (18:01 -0400)]
Update wysiwyg.blade.php

Remove the Shift for the numeric shortcut for incline code.

Ctrl+8 instead of Ctrl+Shift+8

I assume Mac is the same but I do not have a Mac to test with.

13 months agoMFA: Tweaked backup code wording
Dan Brown [Thu, 23 May 2024 10:30:53 +0000 (11:30 +0100)]
MFA: Tweaked backup code wording

It was not clear before as it could be taken that the system would
securely store the codes.

Closes #5017

13 months agoUpdated translator & dependency attribution before release v24.05.1
Dan Brown [Tue, 21 May 2024 10:06:08 +0000 (11:06 +0100)]
Updated translator & dependency attribution before release v24.05.1

13 months agoUpdated translations with latest Crowdin changes (#4994)
Dan Brown [Tue, 21 May 2024 10:04:27 +0000 (11:04 +0100)]
Updated translations with latest Crowdin changes (#4994)

13 months agoDeps: Updated php/composer packages
Dan Brown [Mon, 20 May 2024 16:28:53 +0000 (17:28 +0100)]
Deps: Updated php/composer packages

13 months agoAuth: Changed email confirmations to use login attempt user
Dan Brown [Mon, 20 May 2024 16:23:15 +0000 (17:23 +0100)]
Auth: Changed email confirmations to use login attempt user

Negates the need for a public confirmation resend form
since we can instead just send direct to the last session login attempter.

13 months agoRoutes: Added throttling to a range of auth-related endpoints
Dan Brown [Mon, 20 May 2024 13:00:58 +0000 (14:00 +0100)]
Routes: Added throttling to a range of auth-related endpoints

Some already throttled in some means, but this adds a simple ip-based
non-request-specific layer to many endpoints.
Related to #4993

13 months agoFile Uploads: Added basic validation response formatting
Dan Brown [Sat, 18 May 2024 20:18:15 +0000 (21:18 +0100)]
File Uploads: Added basic validation response formatting

Tested via app-level validation file limit, and then also with nginx
file post limit.
For #4996

13 months agoConfig: Reverted change to cache directory
Dan Brown [Sat, 18 May 2024 19:40:26 +0000 (20:40 +0100)]
Config: Reverted change to cache directory

Change made during Laravel 10 updates to align (Laravel made this change
much earlier in 5.x series) but it caused issues due to folder not
pre-existing and due to potentiall permission issues.
(CLI could create this during update, with non-compatible permissions
for webserver).

For #4999

13 months agoDark Mode: Fixed setting labels missing dark mode handling
Dan Brown [Sat, 18 May 2024 19:37:49 +0000 (20:37 +0100)]
Dark Mode: Fixed setting labels missing dark mode handling

Fixes #5018

13 months agoWYSIWYG: Added justify cell range cleanup
Dan Brown [Thu, 16 May 2024 13:54:44 +0000 (14:54 +0100)]
WYSIWYG: Added justify cell range cleanup

To help override & gain control of setting text alignment in tables.

- Adds support of clearing "align" attributes in certain operations.
- Updates cell range action handling to dedupe execcommand handling.
- Adds clearing of additional alignment classes on direction control.

Closes #5011

13 months agoDevdocs: Fixed visual theme system lang folder reference
Dan Brown [Thu, 16 May 2024 13:15:26 +0000 (14:15 +0100)]
Devdocs: Fixed visual theme system lang folder reference

Made some other minor updates while there.
Fixes #4998

13 months agoMerge pull request #5008 from KiDxS/fix-notification-preferences-url-in-email
Dan Brown [Thu, 16 May 2024 13:11:15 +0000 (14:11 +0100)]
Merge pull request #5008 from KiDxS/fix-notification-preferences-url-in-email

Fixed notification preferences URL in email

13 months agoFixed notification preferences URL in email 5008/head
Angelo Geant Gaviola [Tue, 14 May 2024 09:04:23 +0000 (17:04 +0800)]
Fixed notification preferences URL in email

13 months agoUpdated translator & dependency attribution before release v24.05
Dan Brown [Sat, 11 May 2024 14:47:38 +0000 (15:47 +0100)]
Updated translator & dependency attribution before release v24.05

13 months agoUpdated translations with latest Crowdin changes (#4890)
Dan Brown [Sat, 11 May 2024 14:15:10 +0000 (15:15 +0100)]
Updated translations with latest Crowdin changes (#4890)

13 months agoReadme: Updated sponsor list
Dan Brown [Fri, 10 May 2024 10:02:20 +0000 (11:02 +0100)]
Readme: Updated sponsor list

13 months agoDeps: Updated composer dependencies
Dan Brown [Sun, 5 May 2024 15:30:04 +0000 (16:30 +0100)]
Deps: Updated composer dependencies

13 months agoMerge pull request #4987 from BookStackApp/audit_api
Dan Brown [Sun, 5 May 2024 15:14:09 +0000 (16:14 +0100)]
Merge pull request #4987 from BookStackApp/audit_api

Addition of Audit Log API Endpoint

13 months agoAudit Log: Fixed bad reference to linked entity item 4987/head
Dan Brown [Sun, 5 May 2024 15:05:21 +0000 (16:05 +0100)]
Audit Log: Fixed bad reference to linked entity item

13 months agoAPI: Added to, and updated, testing to cover audit log additions
Dan Brown [Sun, 5 May 2024 14:44:58 +0000 (15:44 +0100)]
API: Added to, and updated, testing to cover audit log additions

13 months agoAPI: Added audit log list endpoint
Dan Brown [Sat, 4 May 2024 15:28:18 +0000 (16:28 +0100)]
API: Added audit log list endpoint

Not yested covered with testing.
Changes database columns for more presentable names and for future use
to connect additional model types.
For #4316

13 months agoMerge branch 'nesges/development' into development
Dan Brown [Sat, 4 May 2024 13:00:40 +0000 (14:00 +0100)]
Merge branch 'nesges/development' into development

13 months agoRegistration: Reviewed added simple honeypot, added testing
Dan Brown [Sat, 4 May 2024 12:59:41 +0000 (13:59 +0100)]
Registration: Reviewed added simple honeypot, added testing

Also cleaned up old RegistrationController syntax.
Review of #4970

13 months agoMerge pull request #4972 from johnroyer/fix-typo-in-language-file
Dan Brown [Fri, 3 May 2024 18:16:23 +0000 (19:16 +0100)]
Merge pull request #4972 from johnroyer/fix-typo-in-language-file

remove space at the beginning of description

13 months agoMerge branch 'development' of github.com:BookStackApp/BookStack into development
Dan Brown [Fri, 3 May 2024 12:40:18 +0000 (13:40 +0100)]
Merge branch 'development' of github.com:BookStackApp/BookStack into development

13 months agoWYSIWYG: Added text direction support for code editor popup
Dan Brown [Fri, 3 May 2024 12:35:30 +0000 (13:35 +0100)]
WYSIWYG: Added text direction support for code editor popup

Editor popup will now reflect the direction of the opened code block.
This also updates in-editor codemirror instances to correcly reflect/use
the direction if set on the inner code elem.

This also defaults new code blocks, when in RTL languages, to be started
in LTR, which can then be changed via in-editor direction controls if
needed. This is on the assumption that most code will be LTR (could not
find much examples of RTL code use).

Fixes #4943

14 months agoMerge pull request #4985 from BookStackApp/ldap_ca_cert_control
Dan Brown [Thu, 2 May 2024 22:16:16 +0000 (23:16 +0100)]
Merge pull request #4985 from BookStackApp/ldap_ca_cert_control

LDAP CA TLS Cert Option, PR Review and continuation

14 months agoLDAP: Review, testing and update of LDAP TLS CA cert control 4985/head
Dan Brown [Thu, 2 May 2024 21:56:51 +0000 (22:56 +0100)]
LDAP: Review, testing and update of LDAP TLS CA cert control

Review of #4913
Added testing to cover option.
Updated option so it can be used for a CA directory, or a CA file.
Updated option name to be somewhat abstracted from original underling
PHP option.

Tested against Jumpcloud.
Testing took hours due to instability which was due to these settings
sticking and being unstable on change until php process restart.
Also due to little documentation for these options.
X_TLS_CACERTDIR option needs cert files to be named via specific hashes
which can be achieved via c_rehash utility.

This also adds detail on STARTTLS failure, which took a long time to
discover due to little detail out there for deeper PHP LDAP debugging.

14 months agoWYSWIYG: Fixed misaligned table cell p line height
Dan Brown [Thu, 2 May 2024 14:20:51 +0000 (15:20 +0100)]
WYSWIYG: Fixed misaligned table cell p line height

Removes an editor-specific line-height which was overriding cell
paragraph line height, causing mis-aligned style compared to viewing.
Checked a range of styles and looked at history, could not see original
purpose of the line-height removed here.
Closes #4960

14 months agoWYSWIYG: Improved use of object tags to embed content
Dan Brown [Wed, 1 May 2024 16:20:45 +0000 (17:20 +0100)]
WYSWIYG: Improved use of object tags to embed content

- Prevented image toolbars showing for objects embeds due to tinymce
  image placeholder, and added media toolbar.
- Fixed height of object embed placeholder being forced to auto
  when in the editor, allowing height attributed to be properly
  reflected as it would on normal page view.

Closes #4974

14 months agoAttachments: Fixed drag into editor in Chrome
Dan Brown [Mon, 29 Apr 2024 18:21:13 +0000 (19:21 +0100)]
Attachments: Fixed drag into editor in Chrome

Seemed to be chrome specific from testing.
Required editors to have preventDefault called on dragover.
Tested in Chrome, FF, & Safari.
Tested in both editors, and re-tested text/image drop to ensure still
works.

Fixed #4975

14 months agoWYSIWYG: Fixed unexpected clearing of table cell styles
Dan Brown [Mon, 29 Apr 2024 16:44:56 +0000 (17:44 +0100)]
WYSIWYG: Fixed unexpected clearing of table cell styles

Fixes custom table cell clear-format handling since it was being called
on many format removals, not just the clear-formatting action.
This updates the code to specifically run on the RemoveFormat action
which is triggered by the clear formatting button.
Fixes #4964

14 months agoLDAP: Updated default user filter placeholder format 4978/head
Dan Brown [Sun, 28 Apr 2024 11:29:57 +0000 (12:29 +0100)]
LDAP: Updated default user filter placeholder format

To not conflict with env variables, and to align with placeholders used
for PDF gen command.
Added test to cover, including old format supported for
back-compatibility.
For #4967

14 months agoMerge pull request #4969 from BookStackApp/pdf_command_option
Dan Brown [Fri, 26 Apr 2024 16:06:38 +0000 (17:06 +0100)]
Merge pull request #4969 from BookStackApp/pdf_command_option

PDF Exports: New command option and library/option cleanup

14 months agoPDF: Added tests for pdf command, fixed old tests for changes 4969/head
Dan Brown [Fri, 26 Apr 2024 14:39:40 +0000 (15:39 +0100)]
PDF: Added tests for pdf command, fixed old tests for changes

14 months agoremove space at the beginning of description 4972/head
Zero [Thu, 25 Apr 2024 05:35:36 +0000 (13:35 +0800)]
remove space at the beginning of description

14 months agoPDF: Added implmentation of command PDF option
Dan Brown [Wed, 24 Apr 2024 15:09:53 +0000 (16:09 +0100)]
PDF: Added implmentation of command PDF option

Tested quickly manually but not yet covered by PHPUnit tests.

14 months agoPDF: Removed barryvdh snappy to use snappy direct
Dan Brown [Wed, 24 Apr 2024 14:13:44 +0000 (15:13 +0100)]
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.

14 months agoPDF: Started new command option, merged options, simplified dompdf
Dan Brown [Mon, 22 Apr 2024 15:40:42 +0000 (16:40 +0100)]
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

14 months agowhitespace only 4970/head
nesges [Sun, 21 Apr 2024 15:44:01 +0000 (17:44 +0200)]
whitespace only

14 months agobetter accessibility for honepot formfield
nesges [Sun, 21 Apr 2024 14:08:28 +0000 (16:08 +0200)]
better accessibility for honepot formfield

14 months agoMerge pull request #4955 from BookStackApp/oidc_userinfo
Dan Brown [Fri, 19 Apr 2024 15:55:29 +0000 (16:55 +0100)]
Merge pull request #4955 from BookStackApp/oidc_userinfo

OIDC userinfo endpoint support

14 months agoOIDC Userinfo: Fixed issues with validation logic from changes 4955/head
Dan Brown [Fri, 19 Apr 2024 15:43:51 +0000 (16:43 +0100)]
OIDC Userinfo: Fixed issues with validation logic from changes

Also updated test to suit validation changes

14 months agoOIDC Userinfo: Added additional tests to cover jwks usage
Dan Brown [Fri, 19 Apr 2024 14:05:00 +0000 (15:05 +0100)]
OIDC Userinfo: Added additional tests to cover jwks usage

14 months agoOIDC Userinfo: Added JWT signed response support
Dan Brown [Fri, 19 Apr 2024 13:12:27 +0000 (14:12 +0100)]
OIDC Userinfo: Added JWT signed response support

Not yet tested, nor checked all response validations.

14 months agoadd ambrosia-container to registration form as honeypot for bots: new form field...
nesges [Fri, 19 Apr 2024 07:35:09 +0000 (09:35 +0200)]
add ambrosia-container to registration form as honeypot for bots: new form field "username" must not be filled

14 months agofixed mislabeling of name input
nesges [Fri, 19 Apr 2024 07:18:34 +0000 (09:18 +0200)]
fixed mislabeling of name input

14 months agoOIDC Userinfo: Started writing tests to cover userinfo calling
Dan Brown [Wed, 17 Apr 2024 22:24:57 +0000 (23:24 +0100)]
OIDC Userinfo: Started writing tests to cover userinfo calling

14 months agoOIDC Userinfo: Added userinfo data validation, seperated from id token
Dan Brown [Wed, 17 Apr 2024 17:23:58 +0000 (18:23 +0100)]
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.

14 months agoOIDC: Extracted user detail handling to own OidcUserDetails class
Dan Brown [Tue, 16 Apr 2024 17:10:32 +0000 (18:10 +0100)]
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.

14 months agoOIDC Userinfo: Labelled changes to be made during review
Dan Brown [Tue, 16 Apr 2024 14:52:55 +0000 (15:52 +0100)]
OIDC Userinfo: Labelled changes to be made during review

14 months agoOIDC: Cleaned up provider settings, added extra validation
Dan Brown [Tue, 16 Apr 2024 14:19:51 +0000 (15:19 +0100)]
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.

14 months agoMerge branch 'development' into lukeshu/oidc-development
Dan Brown [Tue, 16 Apr 2024 13:57:36 +0000 (14:57 +0100)]
Merge branch 'development' into lukeshu/oidc-development

14 months agoCode Editor: Added scala to language list
Dan Brown [Tue, 16 Apr 2024 13:44:17 +0000 (14:44 +0100)]
Code Editor: Added scala to language list

For #4953

14 months agoTags: Stopped recycle bin tags being counted on index
Dan Brown [Mon, 15 Apr 2024 17:44:59 +0000 (18:44 +0100)]
Tags: Stopped recycle bin tags being counted on index

For #4892
Added test to cover.

14 months agoMerge pull request #4904 from C0rn3j/optimize-images
Dan Brown [Mon, 15 Apr 2024 17:07:29 +0000 (18:07 +0100)]
Merge pull request #4904 from C0rn3j/optimize-images

15KB lossless optimization via oxipng(PNG) and svgo(SVG)

14 months agoContent styles: Made links underlined for visibility
Dan Brown [Sat, 13 Apr 2024 14:48:39 +0000 (15:48 +0100)]
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

14 months agoMerge pull request #4930 from BookStackApp/split_md_js
Dan Brown [Mon, 8 Apr 2024 13:46:06 +0000 (14:46 +0100)]
Merge pull request #4930 from BookStackApp/split_md_js

JS Build: Split markdown to own file, updated packages

14 months agoJS Build: Split markdown to own file, updated packages 4930/head
Dan Brown [Mon, 8 Apr 2024 13:41:51 +0000 (14:41 +0100)]
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