]> BookStack Code Mirror - bookstack/log
bookstack
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 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 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

20 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

20 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)

20 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

20 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

21 months agoWYSIWYG: Added filtering of page pointer elements
Dan Brown [Fri, 1 Sep 2023 12:50:55 +0000 (13:50 +0100)]
WYSIWYG: Added filtering of page pointer elements

For #4474

21 months agofix typo 4484/head
omahs [Thu, 31 Aug 2023 08:01:56 +0000 (10:01 +0200)]
fix typo

21 months agofix typos
omahs [Thu, 31 Aug 2023 08:00:45 +0000 (10:00 +0200)]
fix typos

21 months agofix typo
omahs [Thu, 31 Aug 2023 07:58:59 +0000 (09:58 +0200)]
fix typo

21 months agoUpdated translations with latest Crowdin changes (#4462)
Dan Brown [Wed, 30 Aug 2023 11:35:10 +0000 (12:35 +0100)]
Updated translations with latest Crowdin changes (#4462)

21 months agoUpdated translator attribution before v23.08
Dan Brown [Wed, 30 Aug 2023 10:49:45 +0000 (11:49 +0100)]
Updated translator attribution before v23.08

21 months agoMD Editor: Fixed scroll on mobile widths
Dan Brown [Wed, 30 Aug 2023 01:41:51 +0000 (02:41 +0100)]
MD Editor: Fixed scroll on mobile widths

Added min-height to flex elements to ensure they properly flex within
the container rathen than adjust to content.

For #4466

21 months agoSSR: Added new option to complete env example file
Dan Brown [Wed, 30 Aug 2023 01:31:36 +0000 (02:31 +0100)]
SSR: Added new option to complete env example file

21 months agoMerge branch 'srr_host_allowlist' into development
Dan Brown [Sun, 27 Aug 2023 11:45:00 +0000 (12:45 +0100)]
Merge branch 'srr_host_allowlist' into development

21 months agoUpdated translations with latest Crowdin changes (#4380)
Dan Brown [Sun, 27 Aug 2023 11:43:59 +0000 (12:43 +0100)]
Updated translations with latest Crowdin changes (#4380)

21 months agoSSR: Updated allow list handling & covered webhook usage
Dan Brown [Sat, 26 Aug 2023 19:13:37 +0000 (20:13 +0100)]
SSR: Updated allow list handling & covered webhook usage

- Covered webhook SSR allow list useage via test.
- Updated allow list handling to use trailing slash, or hash, or end of
  line as late anchor for better handling for hosts (prevent .co.uk
passing for .co domain host)

21 months agoSecurity: Added new SSR allow list and validator
Dan Brown [Sat, 26 Aug 2023 14:28:29 +0000 (15:28 +0100)]
Security: Added new SSR allow list and validator

Included unit tests to cover validator functionality.
Added to webhooks.
Still need to do testing specifically for webhooks.

21 months agoGuests: Prevented access to profile routes
Dan Brown [Sat, 26 Aug 2023 13:07:48 +0000 (14:07 +0100)]
Guests: Prevented access to profile routes

Prevention of action on certain routes for guest user when public access
is enabled. Could not see a way this could be a security issue, beyond a
mild nuisance that'd only be visible if public users can edit, which
would present larger potential nuisance anyway.

21 months agoMerge pull request #4457 from BookStackApp/drawing_backup_store
Dan Brown [Wed, 23 Aug 2023 18:12:29 +0000 (19:12 +0100)]
Merge pull request #4457 from BookStackApp/drawing_backup_store

Browser-based drawing backup storage system

21 months agoUpdated readme attribution and fixed eslint issues 4457/head
Dan Brown [Wed, 23 Aug 2023 18:02:23 +0000 (19:02 +0100)]
Updated readme attribution and fixed eslint issues

21 months agoDrawio: Tweaked fail backup handling during testing
Dan Brown [Wed, 23 Aug 2023 17:50:37 +0000 (18:50 +0100)]
Drawio: Tweaked fail backup handling during testing

- Tweaked wording of popup title.
- Updated WYSIWYG create handling to properly remove drawing container
  on failure.

Tested across FF and chrome, in both editors for create & editing.

21 months agoDrawio: Added unsaved restore prompt and logic
Dan Brown [Wed, 23 Aug 2023 13:16:20 +0000 (14:16 +0100)]
Drawio: Added unsaved restore prompt and logic

21 months agoDrawio: Started browser drawing backup store system
Dan Brown [Tue, 22 Aug 2023 18:30:39 +0000 (19:30 +0100)]
Drawio: Started browser drawing backup store system

Adds just the part to store image data, and remove on successfull save.
Alters save events to properly throw upon error.
Adds IDB-Keyval library for local large-size store.
For #4421

21 months agoRTL: Fixed screen-reader-only elements pushout out view
Dan Brown [Tue, 22 Aug 2023 17:25:14 +0000 (18:25 +0100)]
RTL: Fixed screen-reader-only elements pushout out view

For #4429

21 months agoCache: Increases database cache value size
Dan Brown [Mon, 21 Aug 2023 22:01:42 +0000 (23:01 +0100)]
Cache: Increases database cache value size

Upped from text to medium text.
Aligns with modern Laravel default.
Fixes #4453 where were reaching the limit of TEXT.

21 months agoMerge branch 'add-priority' into development
Dan Brown [Mon, 21 Aug 2023 14:43:16 +0000 (15:43 +0100)]
Merge branch 'add-priority' into development

21 months agoAPI: Reviewed changes for API priority control
Dan Brown [Mon, 21 Aug 2023 14:40:53 +0000 (15:40 +0100)]
API: Reviewed changes for API priority control

Review of #4313
- Made constructor changes while reviewing some classes.
- Updated API examples for consistency.
- Tweaked formatting for some array changes.
- Simplified added tests.
- Tweaked chapter/page repo priority handling to be simpler.

Performed manual API endpoint testing of page/chapter create/update.

21 months agoUpdated PHP and npm deps, Upped node version
Dan Brown [Sat, 19 Aug 2023 19:21:12 +0000 (20:21 +0100)]
Updated PHP and npm deps, Upped node version

21 months agoStatus: Updated cache check to use unique key
Dan Brown [Thu, 17 Aug 2023 20:24:35 +0000 (21:24 +0100)]
Status: Updated cache check to use unique key

Updated status endpoint cache check to include a random component in the
key to avoid conflict during simultaneous checks.
For #4396

21 months agoMerge pull request #4390 from BookStackApp/content_notifications
Dan Brown [Thu, 17 Aug 2023 20:09:52 +0000 (21:09 +0100)]
Merge pull request #4390 from BookStackApp/content_notifications

Content user notifications

21 months agoNotifications: Switched testing from string to reference levels 4390/head
Dan Brown [Thu, 17 Aug 2023 17:10:34 +0000 (18:10 +0100)]
Notifications: Switched testing from string to reference levels

21 months agoNotifications: Fixed send content permission checking
Dan Brown [Thu, 17 Aug 2023 16:57:31 +0000 (17:57 +0100)]
Notifications: Fixed send content permission checking

Added test and changed logic to properly check the view permissions for
the notification receiver before sending.
Required change to permissions applicator to allow the user to be
manually determined, and a service provider update to provide the class
as a singleton without a specific user, so it checks the current logged
in user on demand.

21 months agoNotifications: Fixed issues causing failing tests
Dan Brown [Thu, 17 Aug 2023 13:59:28 +0000 (14:59 +0100)]
Notifications: Fixed issues causing failing tests

- Ensured watch options passed in all meta template usage to fix failing
  scenarios where watch options did not exist.
- Fixed testing issue caused by guest user permission caching.

21 months agoNotifications: Made improvements from manual testing
Dan Brown [Wed, 16 Aug 2023 19:15:49 +0000 (20:15 +0100)]
Notifications: Made improvements from manual testing

- Added titles for preference pages.
- Added extra check for non-guest for notifications on preferences page.

21 months agoNotifications: Add phpunit test for notification sending
Dan Brown [Wed, 16 Aug 2023 15:02:00 +0000 (16:02 +0100)]
Notifications: Add phpunit test for notification sending

Covers core case scenarios, and check of notification content.

21 months agoNotifications: Added testing to cover controls
Dan Brown [Tue, 15 Aug 2023 19:08:27 +0000 (20:08 +0100)]
Notifications: Added testing to cover controls

21 months agoNotifications: Cleaned up mails, added debounce for updates
Dan Brown [Tue, 15 Aug 2023 13:39:39 +0000 (14:39 +0100)]
Notifications: Cleaned up mails, added debounce for updates

- Updated mail notification design to be a bit prettier, and extracted
  text to new lang file for translation.
- Added debounce logic for page update notifications.
- Fixed watch options not being filtered to current user.

21 months agoNotifications: Added new preferences view and access control
Dan Brown [Mon, 14 Aug 2023 16:29:12 +0000 (17:29 +0100)]
Notifications: Added new preferences view and access control

- Added general user preferences view and updated link in profile menu
  to suit.
- Made notification permission required for notification preferences
  view, added test to cover.

21 months agoNotifications: User watch list and differnt page watch options
Dan Brown [Mon, 14 Aug 2023 12:11:18 +0000 (13:11 +0100)]
Notifications: User watch list and differnt page watch options

- Adds option filtering and alternative text for page watch options.
- Adds "Watched & Ignored Items" list to user notification preferences
  page to show existing watched items.

21 months agoNotifications: Updated watch control to show parent status
Dan Brown [Wed, 9 Aug 2023 13:53:31 +0000 (14:53 +0100)]
Notifications: Updated watch control to show parent status

21 months agoNotifications: Added logic and classes for remaining notification types
Dan Brown [Sat, 5 Aug 2023 13:19:23 +0000 (14:19 +0100)]
Notifications: Added logic and classes for remaining notification types

21 months agoNotifications: Got core notification logic working for new pages
Dan Brown [Fri, 4 Aug 2023 15:51:29 +0000 (16:51 +0100)]
Notifications: Got core notification logic working for new pages

Also rolled out watch UI to chapter and page views

21 months agoNotifications: Started core user notification logic
Dan Brown [Fri, 4 Aug 2023 11:27:29 +0000 (12:27 +0100)]
Notifications: Started core user notification logic

Put together an initial notification.
Started logic to query and identify watchers.

22 months agoNotifications: Linked watch functionality to UI
Dan Brown [Wed, 2 Aug 2023 12:14:00 +0000 (13:14 +0100)]
Notifications: Linked watch functionality to UI

Got watch system working to an initial base state.
Moved some existing logic where it makes sense.

22 months agoNotifications: Started back-end for watch system
Dan Brown [Mon, 31 Jul 2023 15:08:29 +0000 (16:08 +0100)]
Notifications: Started back-end for watch system

Added DB and started controller method.

22 months agoNotifications: Extracted watch options, updated UI further
Dan Brown [Mon, 31 Jul 2023 14:23:28 +0000 (15:23 +0100)]
Notifications: Extracted watch options, updated UI further

22 months agoNotifications: Started entity watch UI
Dan Brown [Thu, 27 Jul 2023 13:27:45 +0000 (14:27 +0100)]
Notifications: Started entity watch UI

22 months agoNotifications: Added role receive-notifications permission
Dan Brown [Tue, 25 Jul 2023 16:59:04 +0000 (17:59 +0100)]
Notifications: Added role receive-notifications permission

22 months agoNotifications: added user preference UI & logic
Dan Brown [Tue, 25 Jul 2023 16:06:48 +0000 (17:06 +0100)]
Notifications: added user preference UI & logic

Includes testing to cover.
Also added file missing from previous commit.

22 months agoNotifications: Started activity->notification core framework
Dan Brown [Wed, 19 Jul 2023 10:03:05 +0000 (11:03 +0100)]
Notifications: Started activity->notification core framework

22 months agoComments: Added text for new activity types 4389/head
Dan Brown [Wed, 19 Jul 2023 09:11:53 +0000 (10:11 +0100)]
Comments: Added text for new activity types

22 months agoComments: Updated testing to check for new activities
Dan Brown [Wed, 19 Jul 2023 09:09:08 +0000 (10:09 +0100)]
Comments: Updated testing to check for new activities

22 months agoComments: Added extra comment-specific activities
Dan Brown [Tue, 18 Jul 2023 14:07:31 +0000 (15:07 +0100)]
Comments: Added extra comment-specific activities

Kept existing "COMMENTED_ON" activity for upgrade compatibility,
specifically for existing webhook usage and for showing comment
activities in activity lists.

Precursor to content notifications.
Currently untested.
Also applied some type updates.

22 months agoUpdated translator attribution before release v23.06.2
Dan Brown [Wed, 12 Jul 2023 21:34:04 +0000 (22:34 +0100)]
Updated translator attribution before release v23.06.2

22 months agoUpdated translations with latest Crowdin changes (#4367)
Dan Brown [Wed, 12 Jul 2023 21:22:43 +0000 (22:22 +0100)]
Updated translations with latest Crowdin changes (#4367)

22 months agoShelf permissions: reverted create removal
Dan Brown [Wed, 12 Jul 2023 21:04:05 +0000 (22:04 +0100)]
Shelf permissions: reverted create removal

Reverted work in 847a57a49aef525d2f7f429a30e58a34cf69d43f.
Left test in but updated to new expectation.
Left migration in but removed content to prevent new pre-v23.06
upgraders loosing shelf create permission status.
Added note to permission to describe use-case.

For #4375

22 months agoWebhooks: Fixed failing delete-based events
Dan Brown [Wed, 12 Jul 2023 15:16:12 +0000 (16:16 +0100)]
Webhooks: Fixed failing delete-based events

Due to queue serialization.
Added a test to check a couple of delete events.
Added ApiTokenFactory to support.
Also made a couple of typing/doc updates while there.

Related to #4373

22 months agoadd tests for priority 4313/head
Jean-René ROUET [Tue, 11 Jul 2023 12:11:13 +0000 (14:11 +0200)]
add tests for priority

22 months agoadd priority on page and chapter create
Jean-René ROUET [Tue, 11 Jul 2023 11:28:20 +0000 (13:28 +0200)]
add priority on page and chapter create

22 months agoMerge branch 'BookStackApp:development' into add-priority
Jean-René Rouet [Tue, 11 Jul 2023 06:57:14 +0000 (08:57 +0200)]
Merge branch 'BookStackApp:development' into add-priority

22 months agoUpdated tranlsator attribution and sponsors
Dan Brown [Wed, 5 Jul 2023 11:40:49 +0000 (12:40 +0100)]
Updated tranlsator attribution and sponsors

22 months agoUpdated translations with latest Crowdin changes (#4352)
Dan Brown [Wed, 5 Jul 2023 11:28:19 +0000 (12:28 +0100)]
Updated translations with latest Crowdin changes (#4352)

22 months agoMerge pull request #4344 from devdot/update-api-docs
Dan Brown [Wed, 5 Jul 2023 11:08:51 +0000 (12:08 +0100)]
Merge pull request #4344 from devdot/update-api-docs

Update API Docs

22 months agoAudit log: Added IP address wrapping
Dan Brown [Wed, 5 Jul 2023 10:37:49 +0000 (11:37 +0100)]
Audit log: Added IP address wrapping

Primarily to support long ipv6 addresses which would overflow over the
activity date.
For #4349

22 months agoImages: Updated image timestamp upon file change
Dan Brown [Wed, 5 Jul 2023 10:28:03 +0000 (11:28 +0100)]
Images: Updated image timestamp upon file change

For #4354

22 months agoRoles: fixed error upon created_at sorting
Dan Brown [Tue, 4 Jul 2023 20:52:46 +0000 (21:52 +0100)]
Roles: fixed error upon created_at sorting

Added test to cover core role sorting functionality.
For #4350

22 months agoTesting: Split out role tests to management and permissions
Dan Brown [Tue, 4 Jul 2023 20:40:05 +0000 (21:40 +0100)]
Testing: Split out role tests to management and permissions

22 months agoMail: Updated to forked symfony/mailer to allow assurance of tls
Dan Brown [Tue, 4 Jul 2023 14:21:31 +0000 (15:21 +0100)]
Mail: Updated to forked symfony/mailer to allow assurance of tls

Related to #4358

23 months agoMeta: Updated dev version and translation attribution
Dan Brown [Fri, 30 Jun 2023 09:55:54 +0000 (10:55 +0100)]
Meta: Updated dev version and translation attribution

23 months agoAPI Docs: Add Missing Fields in Example Responses 4344/head
Thomas Kuschan [Fri, 30 Jun 2023 07:36:46 +0000 (09:36 +0200)]
API Docs: Add Missing Fields in Example Responses

23 months agoAPI Docs: Add Missing editor fields in Example Responses
Thomas Kuschan [Fri, 30 Jun 2023 07:35:19 +0000 (09:35 +0200)]
API Docs: Add Missing editor fields in Example Responses

23 months agoAPI Docs: Add book_slug to Example Responses
Thomas Kuschan [Fri, 30 Jun 2023 07:33:53 +0000 (09:33 +0200)]
API Docs: Add book_slug to Example Responses

Remove the book attribute in responses because it is never returned by the API. Currently, Chapters Create does not return book_slug! (The example response is consistent with the inconsistent API behavior)

23 months agoAPI Docs: Sort a few example responses
Thomas Kuschan [Fri, 30 Jun 2023 07:26:22 +0000 (09:26 +0200)]
API Docs: Sort a few example responses

23 months agoAPI Docs: Remove Dates from Tags in Example Responses
Thomas Kuschan [Fri, 30 Jun 2023 07:24:46 +0000 (09:24 +0200)]
API Docs: Remove Dates from Tags in Example Responses

23 months agoAPI Docs: Add User Slugs to Example Responses
Thomas Kuschan [Fri, 30 Jun 2023 07:23:02 +0000 (09:23 +0200)]
API Docs: Add User Slugs to Example Responses

23 months agoUpdated test to match German translation
Dan Brown [Wed, 28 Jun 2023 22:46:59 +0000 (23:46 +0100)]
Updated test to match German translation

23 months agoWYSIWYG: Fixed growing rows on Firefox
Dan Brown [Wed, 28 Jun 2023 22:28:31 +0000 (23:28 +0100)]
WYSIWYG: Fixed growing rows on Firefox

Occured when the cell contained any block content with a differnt line
height to the table cell itself.
In firefox, cells with a height would end up with an actual greater
real cell height, which messed up TinyMCE resize calculations, causing
tables to grow.
Adding default vertical-align: top, changes this behaviour to get proper
cell heights.
Related to Firefox issue: https://bugzilla.mozilla.org/show_bug.cgi?id=569645
Have tested that editor cell text align options can still be used with
this.

For #4337

23 months agoUpdated tinymce to v6.5.1
Dan Brown [Wed, 28 Jun 2023 21:45:21 +0000 (22:45 +0100)]
Updated tinymce to v6.5.1

23 months agoUpdated translations with latest Crowdin changes (#4256)
Dan Brown [Wed, 28 Jun 2023 16:54:32 +0000 (17:54 +0100)]
Updated translations with latest Crowdin changes (#4256)

23 months agoComments: Tweaked design to be more consistent and compact
Dan Brown [Wed, 28 Jun 2023 12:41:14 +0000 (13:41 +0100)]
Comments: Tweaked design to be more consistent and compact

23 months agoCSS: Tweaked css heading font to fall back to body font
Dan Brown [Wed, 28 Jun 2023 08:35:30 +0000 (09:35 +0100)]
CSS: Tweaked css heading font to fall back to body font

23 months agoAPI Docs: Add Missing Type in Response
Thomas Kuschan [Mon, 26 Jun 2023 08:13:47 +0000 (10:13 +0200)]
API Docs: Add Missing Type in Response

Type is always returned when pages/chapters are in a contents array.

23 months agoAPI Docs: Remove id from Tag in Response
Thomas Kuschan [Mon, 26 Jun 2023 08:13:02 +0000 (10:13 +0200)]
API Docs: Remove id from Tag in Response

23 months agoMerge pull request #4320 from devdot/improve-api-auth-exception
Dan Brown [Sun, 25 Jun 2023 22:35:19 +0000 (23:35 +0100)]
Merge pull request #4320 from devdot/improve-api-auth-exception

Improve ApiAuthException control flow

23 months agoShelf permissions: Removed unused 'create' permission from view
Dan Brown [Sun, 25 Jun 2023 22:22:49 +0000 (23:22 +0100)]
Shelf permissions: Removed unused 'create' permission from view

Was causing confusion.
Added test to cover.
Also added migration to remove existing create entries to pre-emptively
avoid issues in future if 'create' is used again.

23 months agoUpdated php dependencies
Dan Brown [Sat, 24 Jun 2023 10:32:54 +0000 (11:32 +0100)]
Updated php dependencies

23 months agoMail Config: Updated how TLS is configured
Dan Brown [Sat, 24 Jun 2023 10:27:18 +0000 (11:27 +0100)]
Mail Config: Updated how TLS is configured

After full review of current MAIL_ENCRYPTION usage in laravel and
smyfony mailer, this updates the options in BookStack to be simplified
and specific in usage:

- Removed mail.mailers.smtp.encryption option since it did not actually
  affect anything in the current state of dependancies.
- Updated MAIL_ENCRYPTION so values of tls OR ssl will force-enable tls
  via 'scheme' option with laravel passes to the SMTP transfport, which
  Smyfony uses as an indicator to force TLS.

When MAIL_ENCRYPTION is not used, STARTTLS will still be attempted by
symfony mailer.
Updated .env files to refer to BookStack docs (which was updated for
this) and to reflect correct default port.
Related to #4342

23 months agoShelf view: Updated books to be database sorted
Dan Brown [Fri, 23 Jun 2023 15:42:40 +0000 (16:42 +0100)]
Shelf view: Updated books to be database sorted

Fixes issue where sorting would not match other database-sorted parts of
app due to case sensitivity differences.
Added test to cover.

For #4341

23 months agoMerge pull request #4332 from BookStackApp/api_docs_tweaks
Dan Brown [Tue, 20 Jun 2023 22:47:58 +0000 (23:47 +0100)]
Merge pull request #4332 from BookStackApp/api_docs_tweaks

API Docs: Allowed multi-paragraph descriptions

23 months agoAPI Docs: Allowed multi-paragraph descriptions 4332/head
Dan Brown [Tue, 20 Jun 2023 22:44:39 +0000 (23:44 +0100)]
API Docs: Allowed multi-paragraph descriptions

Added support for mulit-line endpoint descriptions via blank
intermediate lines in php controller method docblocks.

Also tweaks endpoint header design for better flexing and alignment.

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