]> BookStack Code Mirror - bookstack/log
bookstack
19 months agoEditors: Properly aligned edit area border radius 4604/head
Dan Brown [Sat, 14 Oct 2023 16:18:09 +0000 (17:18 +0100)]
Editors: Properly aligned edit area border radius

19 months agoEditors: Adjusted new design for mobile and dark mode
Dan Brown [Sat, 14 Oct 2023 16:10:07 +0000 (17:10 +0100)]
Editors: Adjusted new design for mobile and dark mode

Tested new design across FF, Chrome, and Gnome web (webkit)

19 months agoEditors: Tightened up new design, adjusted for MD editor
Dan Brown [Sat, 14 Oct 2023 15:33:48 +0000 (16:33 +0100)]
Editors: Tightened up new design, adjusted for MD editor

19 months agoEditor: Started toying with more singificant design update
Dan Brown [Fri, 13 Oct 2023 16:33:11 +0000 (17:33 +0100)]
Editor: Started toying with more singificant design update

19 months agoEditor: Started attempts to improve design elements
Dan Brown [Sun, 8 Oct 2023 14:04:07 +0000 (15:04 +0100)]
Editor: Started attempts to improve design elements

19 months agoHomepage: Made much nicer at ipad-like widths
Dan Brown [Sat, 7 Oct 2023 11:38:54 +0000 (12:38 +0100)]
Homepage: Made much nicer at ipad-like widths

Updated default homepage layout to be much nicer at ipad-like widths by
switching to css-column approach at those breakpoints.
Also neated top actions by switching to simpler flexbox layout.

Fixes #4596

19 months agoMerge branch 'LawssssCat/development' into development
Dan Brown [Fri, 6 Oct 2023 11:01:18 +0000 (12:01 +0100)]
Merge branch 'LawssssCat/development' into development

19 months agoLayout: Restructured tri-layout for sidebar control
Dan Brown [Fri, 6 Oct 2023 10:57:55 +0000 (11:57 +0100)]
Layout: Restructured tri-layout for sidebar control

Restructured tri-layout grid system, so the sidebars are contained in
their own child grid system, mimicking the parent grid, so we can treat
them as part of the same parent scroll container at smaller screen
sizes for consistent scroll/sticky behavior.

Tested on Firefox, Chromium, Gnome Web and Safari (MacOS).

For #4394
Changes made during review of #4562

20 months agoCI: Added path filtering to actions
Dan Brown [Wed, 4 Oct 2023 08:18:24 +0000 (09:18 +0100)]
CI: Added path filtering to actions

In the hope we can make the CI runs a bit more efficient and energy
conscious, by only running when relevant files have changed.

20 months agoTags: Fixed enter press clearing field
Dan Brown [Wed, 4 Oct 2023 08:08:10 +0000 (09:08 +0100)]
Tags: Fixed enter press clearing field

For #4570

20 months agoPrint Styles: Removed use of seperate style sheet
Dan Brown [Tue, 3 Oct 2023 14:12:23 +0000 (15:12 +0100)]
Print Styles: Removed use of seperate style sheet

Seemed a bit redundant and complicated, since we're only adding a few
extra styles. Just merged into main styles instead.

20 months agoPrint Styles: Fixed header/footer content showing
Dan Brown [Tue, 3 Oct 2023 13:59:35 +0000 (14:59 +0100)]
Print Styles: Fixed header/footer content showing

Extra bits were showing due to recent changes.
Done a quick pass through major display views.

Fixes #4594

20 months agoTesting: Added favicon cleanup
Dan Brown [Tue, 3 Oct 2023 13:50:54 +0000 (14:50 +0100)]
Testing: Added favicon cleanup

Was leaving a changed favicon leaving other test to fail.

20 months agoAdded NETWAYS to readme sponsor list
Dan Brown [Tue, 3 Oct 2023 11:10:45 +0000 (12:10 +0100)]
Added NETWAYS to readme sponsor list

Related to:
https://github.com/BookStackApp/website/commit/edceda5342a95bba1e95abae55a5d62dc1ba6e45

20 months agoMerge branch 'basic-pwa-support' into development
Dan Brown [Mon, 2 Oct 2023 14:58:07 +0000 (15:58 +0100)]
Merge branch 'basic-pwa-support' into development

20 months agoPWA Manifest: Tweaks during review of PR #4430
Dan Brown [Mon, 2 Oct 2023 14:54:39 +0000 (15:54 +0100)]
PWA Manifest: Tweaks during review of PR #4430

- Updated to go through HomeController with the builder as a helper
  class.
- Extracted some reapeated items into variables in manifest.
- Updated background color to match those used by BookStack.
- Removed reference of icon.ico since its not intended to be used.
- Added tests to cover functionality.

Review of #4430

20 months agoMerge pull request #4578 from BookStackApp/upload_handling
Dan Brown [Sun, 1 Oct 2023 17:20:10 +0000 (17:20 +0000)]
Merge pull request #4578 from BookStackApp/upload_handling

Improvements to file/image upload handling UX

20 months agoJS: Fixed ESLint issues 4578/head
Dan Brown [Sun, 1 Oct 2023 17:13:54 +0000 (18:13 +0100)]
JS: Fixed ESLint issues

20 months agoImages: Rolled out image memory handling to image actions
Dan Brown [Sun, 1 Oct 2023 12:05:18 +0000 (13:05 +0100)]
Images: Rolled out image memory handling to image actions

- Moved thumnbail loading out of repo into ImageResizer.
- Updated gallery and editor image handling to show errors where
  possible to indicate memory issues for resizing/thumbs.
- Updated gallery to load image data in a per-image basis via edit form
  for more resiliant thumb/data fetching. Data was previously provided
  via gallery listing, which could be affected by failing generation
  of other images.
- Updated image manager double click handling to be more pleasant and
  not flash away the edit form.
- Updated editor handlers to use main URL when thumbs fail to load.

20 months agoImages: Extracted out image resizing to its own class
Dan Brown [Sat, 30 Sep 2023 19:00:48 +0000 (20:00 +0100)]
Images: Extracted out image resizing to its own class

20 months agoImages: Added thin wrapper around image filesystem instances
Dan Brown [Sat, 30 Sep 2023 18:12:22 +0000 (19:12 +0100)]
Images: Added thin wrapper around image filesystem instances

Extracts duplicated required handling (Like path adjustment) out to
simpler storage disk instance which can be passed around.

20 months agoImages: Started refactor of image service
Dan Brown [Sat, 30 Sep 2023 17:28:42 +0000 (18:28 +0100)]
Images: Started refactor of image service

To break it up.
Also added better memory handling to other parts of the app.

20 months agoImage manager: Tweaked grid sizing to prevent massive items
Dan Brown [Sat, 30 Sep 2023 11:43:51 +0000 (12:43 +0100)]
Image manager: Tweaked grid sizing to prevent massive items

20 months agoImages: Added test to cover thubmnail regen endpoint
Dan Brown [Sat, 30 Sep 2023 11:29:49 +0000 (12:29 +0100)]
Images: Added test to cover thubmnail regen endpoint

20 months agoImages: Reverted some thumbnails to be on-demand generated
Dan Brown [Sat, 30 Sep 2023 11:09:29 +0000 (12:09 +0100)]
Images: Reverted some thumbnails to be on-demand generated

Added since we can't always be sure of future image usage, and in many
cases we don't generate ahead-of-time.
Also:
- Simplified image handling on certain models.
- Updated various string handling operations to use newer functions.

20 months agoThumbnails: Added OOM handling and regen endpoint
Dan Brown [Fri, 29 Sep 2023 12:54:08 +0000 (13:54 +0100)]
Thumbnails: Added OOM handling and regen endpoint

- Added some level of app out-of-memory handling so we can show a proper
  error message upon OOM events.
- Added endpoint and image-manager button/action for regenerating
  thumbnails for an image so they can be re-created upon failure.

20 months agoImages: Updated to create thumbnails at specific events
Dan Brown [Fri, 29 Sep 2023 10:45:31 +0000 (11:45 +0100)]
Images: Updated to create thumbnails at specific events

20 months agoUploads: Added user-facing message for Laravel post limit handling
Dan Brown [Mon, 25 Sep 2023 12:48:23 +0000 (13:48 +0100)]
Uploads: Added user-facing message for Laravel post limit handling

Uploads over the post max size Would previously error without a
clean user facing message. This catches that error to provide a
user friendly message, compatible with our common error handling.

Tested on image manager handling.
Added test to cover.

20 months agoRemove Dumps 4430/head
JonatanRek [Sun, 24 Sep 2023 18:19:53 +0000 (20:19 +0200)]
Remove Dumps

20 months agoEditors: Updated entity link select to pre-fill with selection
Dan Brown [Sun, 24 Sep 2023 17:33:33 +0000 (18:33 +0100)]
Editors: Updated entity link select to pre-fill with selection

Updated all uses across both editors, so the entity link selector popup
now initates a search with the selection text if existing.

For #4571

20 months agoExports: Fixed issues with book text export format
Dan Brown [Sun, 24 Sep 2023 17:03:37 +0000 (18:03 +0100)]
Exports: Fixed issues with book text export format

- Fixed missing page content for direct page children
- Fixed lack of book description.
- Fixed inconsistent spacing between items.
- Fixed lack of spacing between HTML items when HTML on same line.

For #4557

20 months agoHeader: Simplified, split and re-orgranised view file(s)
Dan Brown [Sun, 24 Sep 2023 09:29:51 +0000 (10:29 +0100)]
Header: Simplified, split and re-orgranised view file(s)

- Moved "common" template partials, that are only used in layouts, to
  layouts/parts folder.
- Simplified HTML structure of header template.
- Extracted logo and links from header template to simplify.
- Added header-links-start template for easier extension/customization
  without needing to override full list of links.
  - Added test to cover usage of this.

For #4564

20 months agoHomepage: Added tags button to non-default home views
Dan Brown [Sun, 24 Sep 2023 08:31:44 +0000 (09:31 +0100)]
Homepage: Added tags button to non-default home views

For #4558

20 months agoSearch: Added further backslash handling
Dan Brown [Sat, 23 Sep 2023 12:41:10 +0000 (13:41 +0100)]
Search: Added further backslash handling

Added due to now not being able to perform an exact search where
contains a trailing backslash.
Now all backslashes in exact terms are consided escape chars
and require escaping themselves.
Potential breaking change due to search syntax handling change.

Related to #4535.

20 months agoReadme: Updated badges, sponsors and top links
Dan Brown [Sat, 23 Sep 2023 11:47:24 +0000 (12:47 +0100)]
Readme: Updated badges, sponsors and top links

20 months agoFix Reloading changes on dark mode switch
JonatanRek [Fri, 22 Sep 2023 09:31:24 +0000 (11:31 +0200)]
Fix Reloading changes on dark mode switch

20 months agoMerge branch 'basic-pwa-support' of https://github.com/GamerClassN7/BookStack into...
JonatanRek [Fri, 22 Sep 2023 09:19:38 +0000 (11:19 +0200)]
Merge branch 'basic-pwa-support' of https://github.com/GamerClassN7/BookStack into basic-pwa-support

20 months agoNew line fix
JonatanRek [Fri, 22 Sep 2023 09:19:34 +0000 (11:19 +0200)]
New line fix

20 months agoUpdate HomeController.php
JonatanRek [Fri, 22 Sep 2023 09:19:17 +0000 (11:19 +0200)]
Update HomeController.php

20 months agoFormating Fixes
JonatanRek [Fri, 22 Sep 2023 09:18:10 +0000 (11:18 +0200)]
Formating Fixes

20 months agoAdditional Tweaks and FIxes
JonatanRek [Fri, 22 Sep 2023 09:15:13 +0000 (11:15 +0200)]
Additional Tweaks and FIxes

20 months agoImplementation of required changes
JonatanRek [Fri, 22 Sep 2023 09:00:41 +0000 (11:00 +0200)]
Implementation of required changes

20 months agoMerge branch 'basic-pwa-support' of https://github.com/GamerClassN7/BookStack into...
JonatanRek [Fri, 22 Sep 2023 08:49:53 +0000 (10:49 +0200)]
Merge branch 'basic-pwa-support' of https://github.com/GamerClassN7/BookStack into basic-pwa-support

20 months agoFix Dark theme
JonatanRek [Fri, 22 Sep 2023 08:49:37 +0000 (10:49 +0200)]
Fix Dark theme

20 months agoMerge branch 'BookStackApp:development' into basic-pwa-support
JonatanRek [Fri, 22 Sep 2023 08:48:48 +0000 (10:48 +0200)]
Merge branch 'BookStackApp:development' into basic-pwa-support

20 months agoSearch: Added support for escaped exact terms
Dan Brown [Tue, 19 Sep 2023 19:09:33 +0000 (20:09 +0100)]
Search: Added support for escaped exact terms

Also prevented use of empty exact matches.
Prevents issues when attempting to use exact search terms in inputs for
just search terms, and use of single " chars within search terms since
these would get auto-promoted to exacts.

For #4535

20 months agoAvatar Commend: Simplified and updated during review
Dan Brown [Tue, 19 Sep 2023 14:53:01 +0000 (15:53 +0100)]
Avatar Commend: Simplified and updated during review

During review of #4560.

- Simplified command to share as much log as possible across different
  run options.
- Extracted out user handling to share with MFA command.
- Added specific handling for disabled avatar fetching.
- Added mention of avatar endpoint, to make it clear where these avatars
  are coming from (Protect against user expectation of LDAP avatar sync).
- Simplified a range of the testing.
- Tweaked wording and code formatting.

20 months agofix Sidebar scrolling at mid-range sceen 4562/head
lawsssscat [Tue, 19 Sep 2023 14:12:33 +0000 (22:12 +0800)]
fix Sidebar scrolling at mid-range sceen

20 months agofix: Actually check if we have correct data 4560/head
Marc Hagen [Mon, 18 Sep 2023 18:04:59 +0000 (20:04 +0200)]
fix: Actually check if we have correct data

20 months agofeat: Artisan command for updating avatars for existing users
Marc Hagen [Mon, 18 Sep 2023 17:07:30 +0000 (19:07 +0200)]
feat: Artisan command for updating avatars for existing users

20 months agoDev: Reviewed and expanded on PHP testing docs
Dan Brown [Sun, 17 Sep 2023 22:41:02 +0000 (23:41 +0100)]
Dev: Reviewed and expanded on PHP testing docs

20 months agoMerge branch 'tusharnain4578/development' into development
Dan Brown [Sun, 17 Sep 2023 21:29:06 +0000 (22:29 +0100)]
Merge branch 'tusharnain4578/development' into development

20 months agoNotifications: Updated comment notif. prefs. test
Dan Brown [Sun, 17 Sep 2023 21:26:51 +0000 (22:26 +0100)]
Notifications: Updated comment notif. prefs. test

Combined testcases, updated to use actual text strings, and set comments
setting via correct method.

Made during review of #4552

20 months agoMerge pull request #4555 from BookStackApp/language_cleanup
Dan Brown [Sun, 17 Sep 2023 21:15:38 +0000 (22:15 +0100)]
Merge pull request #4555 from BookStackApp/language_cleanup

Language cleanup

20 months agoLocales: Removed a lot of existing locale handling 4555/head
Dan Brown [Sun, 17 Sep 2023 21:02:12 +0000 (22:02 +0100)]
Locales: Removed a lot of existing locale handling

There was a lot of locale handling to get correct/expected date
formatting within the app.
Carbon now has built-in locale content rather than us needing to target
specific system locales.

This also removes setting locale via Carbon directly.
Carbon registers its own Laravel service provider which seems to
accurately pull the correct locale from the app.

For #4555

20 months agoUpdate UserPreferencesTest.php 4552/head
Tushar Nain [Sun, 17 Sep 2023 18:01:01 +0000 (23:31 +0530)]
Update UserPreferencesTest.php

Added Testcases for preferences menu of Comment Notifications visibility when comments are enabled/disabled.

20 months agoLocales: Fixed errors occuring for PHP < 8.2
Dan Brown [Sun, 17 Sep 2023 16:35:00 +0000 (17:35 +0100)]
Locales: Fixed errors occuring for PHP < 8.2

20 months agoLocales: More use of locale objects, Addressed failing tests
Dan Brown [Sun, 17 Sep 2023 15:20:21 +0000 (16:20 +0100)]
Locales: More use of locale objects, Addressed failing tests

20 months agoLocales: Performed cleanup and alignment of locale handling
Dan Brown [Sun, 17 Sep 2023 12:29:06 +0000 (13:29 +0100)]
Locales: Performed cleanup and alignment of locale handling

- Reduced app settings down to what's required.
- Used new view-shared $locale object instead of using globals via
  config.
- Aligned language used to default on "locale" instead of mixing
  locale/language.

For #4501

20 months agoExtracted icon helper, aligned container resolution
Dan Brown [Sat, 16 Sep 2023 17:25:08 +0000 (18:25 +0100)]
Extracted icon helper, aligned container resolution

Also updated breadcrumb view composer to current standards.
Closes #4553

20 months agoMerge pull request #4554 from BookStackApp/guest_user_cleanup
Dan Brown [Sat, 16 Sep 2023 12:59:16 +0000 (13:59 +0100)]
Merge pull request #4554 from BookStackApp/guest_user_cleanup

Guest control: Cleaned methods involved in fetching/handling

20 months agoRemoved redundant null check 4554/head
Dan Brown [Sat, 16 Sep 2023 12:49:03 +0000 (13:49 +0100)]
Removed redundant null check

20 months agoGuest control: Cleaned methods involved in fetching/handling
Dan Brown [Sat, 16 Sep 2023 12:18:35 +0000 (13:18 +0100)]
Guest control: Cleaned methods involved in fetching/handling

- Moves guest user caching from User class to app container for
  simplicity.
- Updates test to use simpler $this->users->guest() method for
  consistency.
- Streamlined helpers to avoid function overlap for simplicity.
- Extracted user profile dropdown while doing changes.

20 months agoMerge branch 'v23-08' into development
Dan Brown [Sat, 16 Sep 2023 10:55:57 +0000 (11:55 +0100)]
Merge branch 'v23-08' into development

20 months agoFixed : Comment notification settings are visible even if comments are disabled
Tushar Nain [Sat, 16 Sep 2023 08:30:08 +0000 (14:00 +0530)]
Fixed : Comment notification settings are visible even if comments are disabled

Added a UX condition to display comment notification settings, only if the user has enabled the comment notifications.

20 months agoComments: Fixed wrong identification of parent comment
Dan Brown [Fri, 15 Sep 2023 12:38:02 +0000 (13:38 +0100)]
Comments: Fixed wrong identification of parent comment

Would cause comment reply notifications to not be sent to expected user.
Updated test to cover problem case.

For #4548

20 months agoCleanup Command: Allowed running non-interactively
Dan Brown [Thu, 14 Sep 2023 13:17:20 +0000 (14:17 +0100)]
Cleanup Command: Allowed running non-interactively

For #4541

20 months agoDark Mode: Fixed not toggle action when dark by default
Dan Brown [Thu, 14 Sep 2023 12:53:24 +0000 (13:53 +0100)]
Dark Mode: Fixed not toggle action when dark by default

Added test to cover.
For #4543.

20 months agoLangs: Added Uzbek, Updated translator attribution
Dan Brown [Wed, 13 Sep 2023 09:52:12 +0000 (10:52 +0100)]
Langs: Added Uzbek, Updated translator attribution

For #4527

20 months agoMerge branch 'Bajszi97/development' into development
Dan Brown [Wed, 13 Sep 2023 09:12:49 +0000 (10:12 +0100)]
Merge branch 'Bajszi97/development' into development

20 months agoReviewed #4533, formatting and tweaks
Dan Brown [Wed, 13 Sep 2023 09:09:33 +0000 (10:09 +0100)]
Reviewed #4533, formatting and tweaks

- Updating formatting.
- Tweaked truncation to roughly match elipsis char to width used.
- Updated testing to use existing helpers, and ran check as admin user
  to avoid name conflicts.

20 months agoTest comment creator name truncation 4533/head
Bajszi [Tue, 12 Sep 2023 19:00:00 +0000 (21:00 +0200)]
Test comment creator name truncation

20 months agoTruncate with three dots
Bajszi [Tue, 12 Sep 2023 15:03:57 +0000 (17:03 +0200)]
Truncate with three dots

20 months agoTheme: Added handling for functions.php file load error
Dan Brown [Tue, 12 Sep 2023 11:34:02 +0000 (12:34 +0100)]
Theme: Added handling for functions.php file load error

This adds specific handling for functions.php error loading to re-throw
errors wrapped in a more descriptive message, to make it clear the error
is due to an issue in their functions.php file.

Decided to throw and stop, rather than ignore & continue, to be on the
safe side in the event auth-level (or other security level) customizations
have been made via functions.php.

Adds test to cover.
Closes #4504

20 months agoTrimmed name last resort
Bajszi [Mon, 11 Sep 2023 19:27:15 +0000 (21:27 +0200)]
Trimmed name last resort

20 months agoNotifications: Reorgranised classes into domain specific folders
Dan Brown [Mon, 11 Sep 2023 18:26:28 +0000 (19:26 +0100)]
Notifications: Reorgranised classes into domain specific folders

Closes #4500

20 months agoViews: Rolled out ID to similar recent activity lists
Dan Brown [Mon, 11 Sep 2023 17:50:39 +0000 (18:50 +0100)]
Views: Rolled out ID to similar recent activity lists

To allow for easier customization.
Related to #4530

20 months agoMerge branch 'v23-08' into development
Dan Brown [Mon, 11 Sep 2023 17:43:23 +0000 (18:43 +0100)]
Merge branch 'v23-08' into development

20 months agoComments: Fixed JS error when lacking commenting permissions
Dan Brown [Mon, 11 Sep 2023 17:40:40 +0000 (18:40 +0100)]
Comments: Fixed JS error when lacking commenting permissions

The page comments component would throw an error due to references to
form elements/content, when form elements may not exist due to
permisisons.

For #4531

20 months agoSlack auth: Switched from community to laravel library
Dan Brown [Mon, 11 Sep 2023 14:26:04 +0000 (15:26 +0100)]
Slack auth: Switched from community to laravel library

Tested locally before & after change, and looked at code to compare.
Nothing seen or experienced that should affect things, from testing all
is working as expected with no difference from before.
- Update composer requirement of socialite to that which included slack.
- Updated PHP depds while there.
- Updated format of socialite events to align with current documentation
  and to use class references instead of strings.

20 months agoOIDC: Moved name claim option handling from config to service
Dan Brown [Mon, 11 Sep 2023 10:50:58 +0000 (11:50 +0100)]
OIDC: Moved name claim option handling from config to service

Closes #4494

20 months agoFixed php8 compat issue, updated readme & templates
Dan Brown [Mon, 11 Sep 2023 10:37:07 +0000 (11:37 +0100)]
Fixed php8 compat issue, updated readme & templates

- Changed use of array spread since it was not supported in PHP8.0.
- Updated issue templates based to reduce less valueable fields, update
  some details, and try to help bug reports be more focused on bugs.
- Updated readme with peertube link and attribution advistory for
  translations PRs.

20 months agoSimplified and aligned handling of mixed entity endpoints
Dan Brown [Sun, 10 Sep 2023 14:18:31 +0000 (15:18 +0100)]
Simplified and aligned handling of mixed entity endpoints

Fixes #4444

20 months agoMail: changed default "MAIL_FROM" address
Dan Brown [Sat, 9 Sep 2023 11:39:01 +0000 (12:39 +0100)]
Mail: changed default "MAIL_FROM" address

Used an "example.com" address so we're using a propoer reserved domain,
and to avoid these trying to be delivered to the main bookstackapp
domain.

Closes #4518

20 months agoMerge pull request #4525 from BookStackApp/http_alignment
Dan Brown [Fri, 8 Sep 2023 16:30:44 +0000 (17:30 +0100)]
Merge pull request #4525 from BookStackApp/http_alignment

HTTP calling logic alignment

20 months agoRemoved use of HttpFetcher 4525/head
Dan Brown [Fri, 8 Sep 2023 16:16:57 +0000 (17:16 +0100)]
Removed use of HttpFetcher

- Fixed some existing issues in new aligned process.
- Manually tested each external call scenario.

20 months agoStarted aligning app-wide outbound http calling behaviour
Dan Brown [Fri, 8 Sep 2023 13:16:09 +0000 (14:16 +0100)]
Started aligning app-wide outbound http calling behaviour

20 months agoUpdated translations with latest Crowdin changes (#4512)
Dan Brown [Thu, 7 Sep 2023 14:57:59 +0000 (15:57 +0100)]
Updated translations with latest Crowdin changes (#4512)

Last translation merge for possible continued v23.08 branch

20 months agoUpdated sponsors and dev version
Dan Brown [Thu, 7 Sep 2023 13:43:29 +0000 (14:43 +0100)]
Updated sponsors and dev version

20 months agoUpdated translations with latest Crowdin changes (#4506)
Dan Brown [Mon, 4 Sep 2023 10:48:25 +0000 (11:48 +0100)]
Updated translations with latest Crowdin changes (#4506)

20 months agoWYSIWYG: Fixed filtering issue causing broken page edits
Dan Brown [Mon, 4 Sep 2023 10:25:05 +0000 (11:25 +0100)]
WYSIWYG: Fixed filtering issue causing broken page edits

Could error upon div elements without classes, including drawings.

Related to #4510 and #4509

21 months agoUpdated translator attribution before release v23.08.1
Dan Brown [Sun, 3 Sep 2023 16:35:57 +0000 (17:35 +0100)]
Updated translator attribution before release v23.08.1

21 months agoUpdated translations with latest Crowdin changes (#4481)
Dan Brown [Sun, 3 Sep 2023 16:23:40 +0000 (17:23 +0100)]
Updated translations with latest Crowdin changes (#4481)

21 months agoPreferences: Fixed section screen flexibility
Dan Brown [Sun, 3 Sep 2023 15:58:29 +0000 (16:58 +0100)]
Preferences: Fixed section screen flexibility

Improved wrapping and flex control to prevent button text force wrapping
to newlines.

For #4502

21 months agoWatching: Prevent issues when watchable or user is deleted
Dan Brown [Sun, 3 Sep 2023 13:19:43 +0000 (14:19 +0100)]
Watching: Prevent issues when watchable or user is deleted

- Adds filtering to the watched items list in notification preferences
  so that deleted (recycle bin) items are removed via query.
- Adds relations and logic to properly remove watches upon user and
  entity delete events, to old watches in database do not linger.
- Adds testing to cover the above.

Did not add migration for existing data, since patch will be close to
introduction, and lingering DB entries don't open a security concern,
just some potential confusion in specific potential scenarios.
Probably not work extra migration risk, although could add in future if
concerns/issues are found.

Related to #4499

21 months agoMerge pull request #4497 from BookStackApp/notification_language
Dan Brown [Sat, 2 Sep 2023 14:47:26 +0000 (15:47 +0100)]
Merge pull request #4497 from BookStackApp/notification_language

Notifications: User language for notification text

21 months agoMerge pull request #4484 from omahs/patch-1
Dan Brown [Sat, 2 Sep 2023 14:44:01 +0000 (15:44 +0100)]
Merge pull request #4484 from omahs/patch-1

Fix typos

21 months agoTesting: Added entity decode flag and phpunit env option 4497/head
Dan Brown [Sat, 2 Sep 2023 14:39:45 +0000 (15:39 +0100)]
Testing: Added entity decode flag and phpunit env option

- Passed decode flags to provide consistent behaviour across PHP
  versions during testing.
- Added env option to prevent local option taking action in PHPunit
  tests.

21 months agoNotifications: Aligned how user language is used
Dan Brown [Sat, 2 Sep 2023 14:11:42 +0000 (15:11 +0100)]
Notifications: Aligned how user language is used

- This ensures content notifications are not translated to receiver
  language.
- This adds actual plaintext support for content notifications (Was
  previously just HTML as text view).
- Shares same base class across all mail notifications.
- Also cleaned up existing notification classes.

Future cleanup requested via #4501

21 months agoNotifications: Add test to check notification language
Dan Brown [Fri, 1 Sep 2023 15:30:37 +0000 (16:30 +0100)]
Notifications: Add test to check notification language

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