]> BookStack Code Mirror - bookstack/log
bookstack
16 months agoadded template to chapter API controller 4750/head
Sascha [Mon, 29 Jan 2024 18:59:03 +0000 (19:59 +0100)]
added template to chapter API controller

16 months agoextraded template form to own file and changed translations
Sascha [Mon, 29 Jan 2024 18:55:39 +0000 (19:55 +0100)]
extraded template form to own file and changed translations

16 months agoUpdate entities.php
Sascha [Mon, 29 Jan 2024 18:37:59 +0000 (19:37 +0100)]
Update entities.php

changed text of `pages_delete_warning_template` to include chapters

16 months agofixed error from phpcs
Sascha [Tue, 23 Jan 2024 21:37:15 +0000 (22:37 +0100)]
fixed error from phpcs

16 months agoUpdate TrashCan.php
Sascha [Tue, 23 Jan 2024 20:37:00 +0000 (21:37 +0100)]
Update TrashCan.php

remove duplicate call of $page->forceDelete();

17 months agoAdded Default Templates for Chapters
Sascha [Mon, 1 Jan 2024 20:58:49 +0000 (21:58 +0100)]
Added Default Templates for Chapters

17 months agoUpdated translator attribution before release v23.12
Dan Brown [Fri, 29 Dec 2023 12:08:39 +0000 (12:08 +0000)]
Updated translator attribution before release v23.12

17 months agoUpdated translations with latest Crowdin changes (#4658)
Dan Brown [Thu, 28 Dec 2023 17:49:38 +0000 (17:49 +0000)]
Updated translations with latest Crowdin changes (#4658)

17 months agoLanguages: Added Finnish to language list
Dan Brown [Thu, 28 Dec 2023 15:24:51 +0000 (15:24 +0000)]
Languages: Added Finnish to language list

17 months agoPermissions: Updated generation querying to be more efficient
Dan Brown [Sat, 23 Dec 2023 13:35:57 +0000 (13:35 +0000)]
Permissions: Updated generation querying to be more efficient

Query of existing entity permissions during view permission generation
could cause timeouts or SQL placeholder limits due to massive whereOr
query generation, where an "or where" clause would be created for each
entity type/id combo involved, which could be all within 20 books.

This updates the query handling to use a query per type involved, with
no "or where"s, and to be chunked at large entity counts.

Also tweaked role-specific permission regen to chunk books at
half-previous rate to prevent such a large scope being involved on each
chunk.

For #4695

17 months agoDeps: Updated php depenencies via composer
Dan Brown [Fri, 22 Dec 2023 15:48:46 +0000 (15:48 +0000)]
Deps: Updated php depenencies via composer

17 months agoMerge pull request #4729 from BookStackApp/description_wysiwyg
Dan Brown [Fri, 22 Dec 2023 15:28:13 +0000 (15:28 +0000)]
Merge pull request #4729 from BookStackApp/description_wysiwyg

Simple WYSIWYG for description fields and comments

17 months agoInput WYSIWYG: Fixed up some dark mode elements 4729/head
Dan Brown [Fri, 22 Dec 2023 15:16:06 +0000 (15:16 +0000)]
Input WYSIWYG: Fixed up some dark mode elements

17 months agoInput WYSIWYG: Updated exports to handle HTML descriptions
Dan Brown [Fri, 22 Dec 2023 14:57:20 +0000 (14:57 +0000)]
Input WYSIWYG: Updated exports to handle HTML descriptions

17 months agoInput WYSIWYG: Updated API examples to align with changes
Dan Brown [Fri, 22 Dec 2023 14:37:48 +0000 (14:37 +0000)]
Input WYSIWYG: Updated API examples to align with changes

17 months agoInput WYSIWYG: Updated API testing, fixed description set issue
Dan Brown [Fri, 22 Dec 2023 13:17:23 +0000 (13:17 +0000)]
Input WYSIWYG: Updated API testing, fixed description set issue

Fixed issue where an existing description_html field would not be
updated via 'description' input.

17 months agoInput WYSIWYG: Updated API to show/accept html descriptions
Dan Brown [Thu, 21 Dec 2023 13:23:52 +0000 (13:23 +0000)]
Input WYSIWYG: Updated API to show/accept html descriptions

Also aligned books, shelves and chapters to return description content
and some relations (where not breaking API) in create/update responses
also so that information can be seen direct from that input in a
request.

API docs and tests not yet updated to match.

17 months agoInput WYSIWYG: Aligned newline handling with old descriptions
Dan Brown [Wed, 20 Dec 2023 17:40:58 +0000 (17:40 +0000)]
Input WYSIWYG: Aligned newline handling with old descriptions

To ensure consistenent behaviour before/after changes.
Added tests to cover.

17 months agoInput WYSIWYG: Fixed existing tests, fixed empty description handling
Dan Brown [Wed, 20 Dec 2023 17:21:09 +0000 (17:21 +0000)]
Input WYSIWYG: Fixed existing tests, fixed empty description handling

17 months agoInput WYSIWYG: Updated tests, Added simple html limiting
Dan Brown [Tue, 19 Dec 2023 15:10:29 +0000 (15:10 +0000)]
Input WYSIWYG: Updated tests, Added simple html limiting

17 months agoInput WYSIWYG: Added testing for description references
Dan Brown [Tue, 19 Dec 2023 12:55:51 +0000 (12:55 +0000)]
Input WYSIWYG: Added testing for description references

17 months agoInput WYSIWYG: Added dynamic options for entity selector popups
Dan Brown [Tue, 19 Dec 2023 12:09:57 +0000 (12:09 +0000)]
Input WYSIWYG: Added dynamic options for entity selector popups

So that multiple elements on the page can share the same popup, with
different search options.

17 months agoInput WYSIWYG: Updated UpdateUrlCommand, Added chapter HTML display
Dan Brown [Mon, 18 Dec 2023 18:31:16 +0000 (18:31 +0000)]
Input WYSIWYG: Updated UpdateUrlCommand, Added chapter HTML display

17 months agoInput WYSIWYG: Updated reference link updating for descriptions
Dan Brown [Mon, 18 Dec 2023 18:12:36 +0000 (18:12 +0000)]
Input WYSIWYG: Updated reference link updating for descriptions

17 months agoInput WYSIWYG: Added reference store & fetch handling
Dan Brown [Mon, 18 Dec 2023 16:23:40 +0000 (16:23 +0000)]
Input WYSIWYG: Added reference store & fetch handling

For book, shelves and chapters.
Made much of the existing handling generic to entity types.
Added new MixedEntityListLoader to help load lists somewhat efficiently.
Only manually tested so far.

17 months agoInput WYSIWYG: Added description_html field, added store logic
Dan Brown [Sun, 17 Dec 2023 15:02:15 +0000 (15:02 +0000)]
Input WYSIWYG: Added description_html field, added store logic

Rolled out HTML editor field and store logic across all target entity
types. Cleaned up WYSIWYG input logic and design.
Cleaned up some injected classes while there.

17 months agoInput WYSIWYG: Added compontent and rough logic to book form
Dan Brown [Sat, 16 Dec 2023 14:48:35 +0000 (14:48 +0000)]
Input WYSIWYG: Added compontent and rough logic to book form

Just as a draft for prototyping and playing around to get things
started.

17 months agoMerge pull request #4728 from BookStackApp/friendlier_buttons
Dan Brown [Sat, 16 Dec 2023 14:04:57 +0000 (14:04 +0000)]
Merge pull request #4728 from BookStackApp/friendlier_buttons

Design: Updated buttons to be a bit friendlier

17 months agoDesign: Updated buttons to be a bit friendlier 4728/head
Dan Brown [Sat, 16 Dec 2023 14:03:12 +0000 (14:03 +0000)]
Design: Updated buttons to be a bit friendlier

Old all-caps button design made them a bit angry, and kinda odd and
outdated. This updates them to use their original source text casing
(which may help for translation variations) while being a bit rounder
with a better defined shadow for outline buttons.

17 months agoMerge pull request #4727 from BookStackApp/editor_video_alignment
Dan Brown [Sat, 16 Dec 2023 12:32:52 +0000 (12:32 +0000)]
Merge pull request #4727 from BookStackApp/editor_video_alignment

WYSWIYG: Allowed video/embed alignment controls

17 months agoWYSWIYG: Allowed video/embed alignment controls 4727/head
Dan Brown [Sat, 16 Dec 2023 12:22:40 +0000 (12:22 +0000)]
WYSWIYG: Allowed video/embed alignment controls

Required a lot of working around TinyMCE since it added a
preview/wrapper element in the editor which complicates things.
Added view new "fixes.js" file so large hacks to default TinyMCe
functionality are kept in one place.

17 months agoUsers API: Fixed sending invite when using form requests
Dan Brown [Wed, 13 Dec 2023 15:11:42 +0000 (15:11 +0000)]
Users API: Fixed sending invite when using form requests

- Cast send_invite value in cases where it might not have been a boolean,
  which occurs on non-JSON requests.
- Added test to cover.
- Updated API docs to mention and shown boolean usage.

17 months agoMerge pull request #4721 from BookStackApp/default-templates
Dan Brown [Tue, 12 Dec 2023 16:06:35 +0000 (16:06 +0000)]
Merge pull request #4721 from BookStackApp/default-templates

Continued: Default book templates

17 months agoDefault templates: Fixed syntax for php8.0, added test 4721/head
Dan Brown [Tue, 12 Dec 2023 15:59:12 +0000 (15:59 +0000)]
Default templates: Fixed syntax for php8.0, added test

Null accessor is akward in php8.0 and throws warnings, so removed.
Added test to check template assingment handling on page delete.

17 months agoDefault templates: Added permission checks to selector test
Dan Brown [Tue, 12 Dec 2023 15:41:56 +0000 (15:41 +0000)]
Default templates: Added permission checks to selector test

17 months agoDefault templates: Cleaned up ux, added case for added endpoint
Dan Brown [Tue, 12 Dec 2023 15:38:09 +0000 (15:38 +0000)]
Default templates: Cleaned up ux, added case for added endpoint

Cleaned up and updated page picker a bit, allowing longer names to show,
clicking through to item without triggering popup, and updated to use
hidden attributes instead of styles.

Added phpunit tests to cover supporting entity-selector-templates
endpoint.

17 months agoDefault templates: Added tests to cover functionality
Dan Brown [Tue, 12 Dec 2023 15:04:40 +0000 (15:04 +0000)]
Default templates: Added tests to cover functionality

Included new helper in Test PermissionProvider to set app to public,
since that's a common test scenario.

17 months agoPage Templates: Changed template field name, added API support
Dan Brown [Tue, 12 Dec 2023 12:14:00 +0000 (12:14 +0000)]
Page Templates: Changed template field name, added API support

17 months agoDefault templates: Added page picker and working forms
Dan Brown [Mon, 11 Dec 2023 15:55:43 +0000 (15:55 +0000)]
Default templates: Added page picker and working forms

- Adapted existing page picker to be usable elsewhere.
- Added endpoint for getting templates for entity picker.
- Added search template filter to support above.
- Updated book save handling to check/validate submitted template.
  - Allows non-visible pages to flow through the save process, if not
    being changed.
- Updated page deletes to handle removal of default usage on books.
- Tweaked wording and form styles to suit.
- Updated migration to explicity reflect default value.

17 months agoDefault Templates: Started review and updates from PR code
Dan Brown [Mon, 11 Dec 2023 12:33:20 +0000 (12:33 +0000)]
Default Templates: Started review and updates from PR code

17 months agoMerge branch 'development' into default-templates
Dan Brown [Mon, 11 Dec 2023 11:41:43 +0000 (11:41 +0000)]
Merge branch 'development' into default-templates

17 months agoPHPStan: Fixed larastan loading and address some level2 issues
Dan Brown [Sun, 10 Dec 2023 14:58:05 +0000 (14:58 +0000)]
PHPStan: Fixed larastan loading and address some level2 issues

17 months agoURL Handling: Removed referrer-based redirect handling
Dan Brown [Sun, 10 Dec 2023 12:37:21 +0000 (12:37 +0000)]
URL Handling: Removed referrer-based redirect handling

Swapped back handling to instead be pre-determined instead of being
based upon session/referrer which would cause inconsistent results when
referrer data was not available (redirect to app-loaded images/files).

To support, this adds a mechansism to provide a URL through request
data.

Also cleaned up some imports in code while making changes.
Closes #4656.

17 months agoDepenencies: Updated NPM packages
Dan Brown [Sat, 9 Dec 2023 10:49:28 +0000 (10:49 +0000)]
Depenencies: Updated NPM packages

Avoided updating markdown-it package to 14 for now since it would cause
bundle size to inflate. Don't think ESBuild is properly tree shaking
"entities" sub package which inflates size.

17 months agoDependencies: Updated composer PHP deps
Dan Brown [Sat, 9 Dec 2023 10:05:23 +0000 (10:05 +0000)]
Dependencies: Updated composer PHP deps

17 months agoSAML2: Fixed non-spec point of logout, Improved redirect location
Dan Brown [Fri, 8 Dec 2023 18:38:52 +0000 (18:38 +0000)]
SAML2: Fixed non-spec point of logout, Improved redirect location

This changes the point-of-logout to be within the initial part of the
SAML logout flow, as per 5.3.2 of the SAML spec, processing step 2.
This also improves the logout redirect handling to use the global
redirect suggestion so that auto-login handling is properly taken into
account.

Added tests to cover.
Manual testing performed against keycloak.
For #4713

17 months agoMerge pull request #4714 from BookStackApp/oidc_logout
Dan Brown [Thu, 7 Dec 2023 18:00:32 +0000 (18:00 +0000)]
Merge pull request #4714 from BookStackApp/oidc_logout

OIDC RP-Initiated logout

17 months agoOIDC: Update example env option to reflect correct default 4714/head
Dan Brown [Thu, 7 Dec 2023 17:59:48 +0000 (17:59 +0000)]
OIDC: Update example env option to reflect correct default

17 months agoOIDC RP Logout: Fixed issues during testing
Dan Brown [Thu, 7 Dec 2023 17:45:17 +0000 (17:45 +0000)]
OIDC RP Logout: Fixed issues during testing

- Disabled by default due to strict rejection by auth systems.
- Fixed issue when autoloading logout URL, but not provided in
  autodiscovery response.
- Added proper handling for if the logout URL contains a query string
  already.
- Added extra tests to cover.
- Forced config endpoint to be used, if set as a string, instead of
  autodiscovery endpoint.

18 months agoTests: Fixed debug test to work with social class changes
Dan Brown [Wed, 6 Dec 2023 16:57:15 +0000 (16:57 +0000)]
Tests: Fixed debug test to work with social class changes

18 months agoOIDC RP Logout: Added autodiscovery support and test cases
Dan Brown [Wed, 6 Dec 2023 16:41:50 +0000 (16:41 +0000)]
OIDC RP Logout: Added autodiscovery support and test cases

18 months agoAuth: Refactored OIDC RP-logout PR code, Extracted logout
Dan Brown [Wed, 6 Dec 2023 13:49:53 +0000 (13:49 +0000)]
Auth: Refactored OIDC RP-logout PR code, Extracted logout

Extracted logout to the login service so the logic can be shared instead
of re-implemented at each stage. For this, the SocialAuthService was
split so the driver management is in its own class, so it can be used
elsewhere without use (or circular dependencies) of the
SocialAuthService.

During review of #4467

18 months agoMerge branch 'fix/oidc-logout' into development
Dan Brown [Wed, 6 Dec 2023 12:14:43 +0000 (12:14 +0000)]
Merge branch 'fix/oidc-logout' into development

18 months agoRTL: Made a range of fixes & improvments for RTL text
Dan Brown [Tue, 5 Dec 2023 18:53:48 +0000 (18:53 +0000)]
RTL: Made a range of fixes & improvments for RTL text

- Updated HTML exports to have auto direction to properly react to RTL
  text when in the content.
- Fixed RTL spacing issues in new editor design changes.
- Fixed pointer arrow being angled wrong on RTL languages.

Related to #4645

18 months agoSAML2: Included parsed groups in dump data
Dan Brown [Sun, 3 Dec 2023 19:35:05 +0000 (19:35 +0000)]
SAML2: Included parsed groups in dump data

Updated code style of class while there.
Removed redundant check and string translation used.

For #4706

18 months agoMerge branch 'v23-10' into development
Dan Brown [Sun, 3 Dec 2023 18:57:07 +0000 (18:57 +0000)]
Merge branch 'v23-10' into development

18 months agoMerge pull request #4688 from BookStackApp/include-parser
Dan Brown [Mon, 27 Nov 2023 21:54:18 +0000 (21:54 +0000)]
Merge pull request #4688 from BookStackApp/include-parser

New include tag parser

18 months agoIncludes: Added back support for parse theme event 4688/head
Dan Brown [Mon, 27 Nov 2023 21:38:43 +0000 (21:38 +0000)]
Includes: Added back support for parse theme event

Managed to do this in an API-compatible way although resuling output may
differ due to new dom handling in general, although user content is used
inline to remain as comptable as possible.

18 months agoIncludes: Added ID de-duplicating and more thorough clean-up
Dan Brown [Mon, 27 Nov 2023 20:16:27 +0000 (20:16 +0000)]
Includes: Added ID de-duplicating and more thorough clean-up

18 months agoIncludes: Switched page to new system
Dan Brown [Mon, 27 Nov 2023 19:54:47 +0000 (19:54 +0000)]
Includes: Switched page to new system

- Added mulit-level depth parsing.
- Updating usage of HTML doc in page content to be efficient.
- Removed now redundant PageContentTest cases.
- Made some include system fixes based upon testing.

18 months agoIncludes: Updated logic regarding parent block els, added tests
Dan Brown [Sat, 25 Nov 2023 17:32:00 +0000 (17:32 +0000)]
Includes: Updated logic regarding parent block els, added tests

Expanded tests with many more cases, and added fixes for failed
scenarios.
Updated logic to specifically handling parent <p> tags, and now assume
compatibility with parent block types elswhere to allow use in a
variety of scenarios (td, details, blockquote etc...).

18 months agoIncludes: Added block-level handling to new include system
Dan Brown [Fri, 24 Nov 2023 23:39:16 +0000 (23:39 +0000)]
Includes: Added block-level handling to new include system

Implements block promoting to body (including position choosing based
upon likely tag position within parent) and block splitting where we're
only a single depth down from the body child.

18 months agoIncludes: Developed to get new system working with inline includes
Dan Brown [Thu, 23 Nov 2023 14:29:07 +0000 (14:29 +0000)]
Includes: Developed to get new system working with inline includes

Adds logic for locating and splitting text nodes.
Adds specific classes to offload tag/content specific logic.

18 months agoIncludes: Started foundations for new include tag parser
Dan Brown [Wed, 22 Nov 2023 22:14:28 +0000 (22:14 +0000)]
Includes: Started foundations for new include tag parser

18 months agoImages: Prevented base64 extraction without permission 4684/head
Dan Brown [Mon, 20 Nov 2023 13:32:31 +0000 (13:32 +0000)]
Images: Prevented base64 extraction without permission

Also added content sniffing as an extra check.
Added tests to cover.

18 months agoImages: Forced intervention loading via specific method
Dan Brown [Sun, 19 Nov 2023 16:34:29 +0000 (16:34 +0000)]
Images: Forced intervention loading via specific method

Updated image loading for intervention library to be via a specific
'initFromBinary' method to avoid being overly accepting of input types
and mechansisms.

For CVE-2023-6199

18 months agoFavicon: Moved resizing to specific resizer class
Dan Brown [Sun, 19 Nov 2023 15:57:19 +0000 (15:57 +0000)]
Favicon: Moved resizing to specific resizer class

18 months agoLogicalTheme: Added events for registering web routes
Dan Brown [Fri, 17 Nov 2023 13:45:57 +0000 (13:45 +0000)]
LogicalTheme: Added events for registering web routes

Added to allow easier registration of routes.
Added for normal web and authed routes.
Included testing to cover.

18 months agoHTML: Tweaked output from full HtmlDocument
Dan Brown [Tue, 14 Nov 2023 17:23:05 +0000 (17:23 +0000)]
HTML: Tweaked output from full HtmlDocument

Saves specifically the document element on output to HTML, since this
results in just the outer HTML being saved while not including the extra
XML tags which would show up before with the changes to force utf8
usage.

18 months agoMerge pull request #4673 from BookStackApp/html_doc_alignment
Dan Brown [Tue, 14 Nov 2023 17:22:30 +0000 (17:22 +0000)]
Merge pull request #4673 from BookStackApp/html_doc_alignment

HTML: Aligned and standardised DOMDocument usage

18 months agoHTML: Aligned and standardised DOMDocument usage 4673/head
Dan Brown [Tue, 14 Nov 2023 15:46:32 +0000 (15:46 +0000)]
HTML: Aligned and standardised DOMDocument usage

Adds a thin wrapper for DOMDocument to simplify and align usage within
all areas of BookStack.
Also means we move away from old depreacted mb_convert_encoding usage.

Closes #4638

18 months agoMerge pull request #4661 from BookStackApp/tinymce_update
Dan Brown [Tue, 14 Nov 2023 13:15:32 +0000 (13:15 +0000)]
Merge pull request #4661 from BookStackApp/tinymce_update

WYSIWYG: Updated TinyMCE from 6.5.1 to 6.7.2

18 months agoMerge branch 'Man-in-Black-patch-1' into development
Dan Brown [Tue, 14 Nov 2023 10:40:30 +0000 (10:40 +0000)]
Merge branch 'Man-in-Black-patch-1' into development

18 months agoNotifications: Review of PR to include path path #4629
Dan Brown [Tue, 14 Nov 2023 10:31:44 +0000 (10:31 +0000)]
Notifications: Review of PR to include path path #4629

- Merged book and chapter name items to a single page path list item
  which has links to parent page/chapter.
- Added permission filtering to page path elements.
- Added page path to also be on comment notifications.
- Updated testing to cover.
- Added new Message Line objects to support.

Done during review of #4629

18 months agoAdded book name to the mail template
Sascha [Thu, 26 Oct 2023 12:01:38 +0000 (14:01 +0200)]
Added book name to the mail template

added book name

synced with actual file from dev branch

added book name

add book name

added book name

extended with chaptername

extended with chapter name

Update PageUpdateNotification.php

Update notifications.php

Update notifications.php

Update notifications.php

correction of chapter syntax

correction of chapter syntax

18 months agoJS: Removed random extra import
Dan Brown [Thu, 9 Nov 2023 13:36:00 +0000 (13:36 +0000)]
JS: Removed random extra import

18 months agoWYSIWYG: Updated TinyMCE from 6.5.1 to 6.7.2 4661/head
Dan Brown [Thu, 9 Nov 2023 13:34:00 +0000 (13:34 +0000)]
WYSIWYG: Updated TinyMCE from 6.5.1 to 6.7.2

18 months agoUpdated translator attribution before release v23.10.2
Dan Brown [Tue, 7 Nov 2023 15:12:15 +0000 (15:12 +0000)]
Updated translator attribution before release v23.10.2

18 months agoMerge branch 'development' of github.com:BookStackApp/BookStack into development
Dan Brown [Tue, 7 Nov 2023 15:09:54 +0000 (15:09 +0000)]
Merge branch 'development' of github.com:BookStackApp/BookStack into development

18 months agoDropdowns: Fixed bad direction logic, added dynmaic height
Dan Brown [Tue, 7 Nov 2023 15:07:11 +0000 (15:07 +0000)]
Dropdowns: Fixed bad direction logic, added dynmaic height

Changes since adding notifications would cause direction to be assessed
upon max height of 80vh, which caused large dropdowns like the audit log
dropdown to drop up and/or go offscreen.
This restores the default assessment of 500px, and adds dynamic
max-height adjustment to provide more room for large dropdowns.

For #4652

18 months agoUpdated translations with latest Crowdin changes (#4643)
Dan Brown [Tue, 7 Nov 2023 14:40:53 +0000 (14:40 +0000)]
Updated translations with latest Crowdin changes (#4643)

18 months agoPWA: Prevent passing credentials to avoid redirection issues
Dan Brown [Tue, 7 Nov 2023 14:33:37 +0000 (14:33 +0000)]
PWA: Prevent passing credentials to avoid redirection issues

For #4649
More of a patch around the issue for now.
Have opened #4656 to properly address.

19 months agoUpdated translations with latest Crowdin changes (#4631)
Dan Brown [Thu, 2 Nov 2023 14:30:34 +0000 (14:30 +0000)]
Updated translations with latest Crowdin changes (#4631)

19 months agoLangs: Enabled Nynorsk option, updated translator attribution
Dan Brown [Thu, 2 Nov 2023 14:17:56 +0000 (14:17 +0000)]
Langs: Enabled Nynorsk option, updated translator attribution

19 months agoMD Editor: Fixed lack of toolbar BG when in fullscreen
Dan Brown [Thu, 2 Nov 2023 12:41:07 +0000 (12:41 +0000)]
MD Editor: Fixed lack of toolbar BG when in fullscreen

For #4641

19 months agoEditor toolbox: Updated tabs to use link color
Dan Brown [Thu, 2 Nov 2023 12:34:57 +0000 (12:34 +0000)]
Editor toolbox: Updated tabs to use link color

Change due to link color being more suitable in this case since it's not
specifically a block with light text which is what app color is suited
for.
Specifically better for dark mode when a dark app color is used.

For #4630

19 months agoPage JS: Improved block jumping and highlighting
Dan Brown [Wed, 1 Nov 2023 18:49:47 +0000 (18:49 +0000)]
Page JS: Improved block jumping and highlighting

- Updated anchor scroll change to open up details blocks if the target
  exists within.
- Updated highlighting and animation implementation to fix hardly visible highlighting.
- Removed old, now unused, handing of CM instances in details blocks.

Related to #4637.

19 months agoJS Events: Added CM pre/post init events
Dan Brown [Wed, 1 Nov 2023 17:56:52 +0000 (17:56 +0000)]
JS Events: Added CM pre/post init events

To allow hacking of all CodeMirror instances.
Closes #4639.

19 months agoTesting: Added PHP8.3 support
Dan Brown [Tue, 31 Oct 2023 15:50:56 +0000 (15:50 +0000)]
Testing: Added PHP8.3 support

Also fixed text which could through deprecation notice due to not having
a properly formed comment in use.
For #4633

19 months agoReadme: Updated sponsorship links and language contribution info
Dan Brown [Mon, 30 Oct 2023 17:13:39 +0000 (17:13 +0000)]
Readme: Updated sponsorship links and language contribution info

- Updated sponsor text since it only mentioned GitHub, nothing else.
- Updated translation contribution info to dissuade code-based
  contributions due to issues with conflicts/sync.

19 months agoDemo mode: Updated my account access to be more selective
Dan Brown [Mon, 30 Oct 2023 12:07:18 +0000 (12:07 +0000)]
Demo mode: Updated my account access to be more selective

19 months agoLangs: Updated translators and locale list pre v23.10
Dan Brown [Mon, 30 Oct 2023 11:41:36 +0000 (11:41 +0000)]
Langs: Updated translators and locale list pre v23.10

19 months agoUpdated translations with latest Crowdin changes (#4523)
Dan Brown [Mon, 30 Oct 2023 11:16:19 +0000 (11:16 +0000)]
Updated translations with latest Crowdin changes (#4523)

19 months agoMiddlware: Prevented caching of all app requests
Dan Brown [Mon, 23 Oct 2023 12:32:15 +0000 (13:32 +0100)]
Middlware: Prevented caching of all app requests

Previously we'd prevent caching of authed responses for security
(prevent back cache or proxy caching) but caching could still be an
issue in non-auth scenarios due to CSRF (eg. returning to login screen after
session expiry).

For #4600

19 months agoStyles: Aligned empty state alignment & consistency
Dan Brown [Mon, 23 Oct 2023 10:53:19 +0000 (11:53 +0100)]
Styles: Aligned empty state alignment & consistency

- Fixed inital empty state margins/paddings to be aligned and not differ
when lists are empty.
- Aligned button/action display when viewing empty entities.
- Fixed use of non-existing permission in books for book empty state
  button.

Fixes #4563

19 months agoShortcuts: Prevented help shown when in inputs
Dan Brown [Mon, 23 Oct 2023 10:04:09 +0000 (11:04 +0100)]
Shortcuts: Prevented help shown when in inputs

For #4606

19 months agoDeps: Updated npm and composer packages
Dan Brown [Fri, 20 Oct 2023 15:39:40 +0000 (16:39 +0100)]
Deps: Updated npm and composer packages

19 months agoSecurity: Swapped twitter for mastodon link
Dan Brown [Thu, 19 Oct 2023 15:53:02 +0000 (16:53 +0100)]
Security: Swapped twitter for mastodon link

19 months agoMerge pull request #4618 from radiantwave/patch-1
Dan Brown [Thu, 19 Oct 2023 15:50:30 +0000 (16:50 +0100)]
Merge pull request #4618 from radiantwave/patch-1

Remove huntr from SECURITY.md

19 months agoMerge pull request #4615 from BookStackApp/user_account
Dan Brown [Thu, 19 Oct 2023 15:49:06 +0000 (16:49 +0100)]
Merge pull request #4615 from BookStackApp/user_account

User preferences/options cleanup

Morty Proxy This is a proxified and sanitized view of the page, visit original site.