]>
BookStack Code Mirror - bookstack/log
Dan Brown [Sun, 30 Mar 2025 16:36:48 +0000 (17:36 +0100)]
Comments: Fixed missing comment timestamps
Due to deleted code during Laravel 11 upgrade.
Added test to cover.
Closes #5555
Dan Brown [Sun, 16 Mar 2025 12:44:42 +0000 (12:44 +0000)]
Merge branch 'development' of github.com:BookStackApp/BookStack into development
Dan Brown [Sun, 16 Mar 2025 12:44:29 +0000 (12:44 +0000)]
Updated translator & dependency attribution before release v25.02.1
Dan Brown [Sun, 16 Mar 2025 12:25:53 +0000 (12:25 +0000)]
Updated translations with latest Crowdin changes (#5505)
Dan Brown [Sun, 16 Mar 2025 12:04:19 +0000 (12:04 +0000)]
Dependancies: Updated PHP composer deps
Dan Brown [Sun, 16 Mar 2025 11:59:42 +0000 (11:59 +0000)]
Revisions: Hid changes link for oldest revision
Just as a UX improvement to help avoid confusion, as the whole content
will be changes for this revision.
For #5454
Dan Brown [Sat, 15 Mar 2025 20:32:57 +0000 (20:32 +0000)]
Config: Updated DB host to handle ipv6
Can be set via the square bracket format.
For #5464
Dan Brown [Tue, 11 Mar 2025 23:45:26 +0000 (23:45 +0000)]
System CLI: Updated with new version
As per https://codeberg.org/bookstack/system-cli/pulls/21
dev/checksums folder added to support this new system.
Related to #161
Dan Brown [Wed, 26 Feb 2025 14:19:03 +0000 (14:19 +0000)]
Testing: Fixed issues during pre-release testing
- Updated locale list
- Fixed new name sorting not being case insensitive
- Updated license test to account for changed deps
Dan Brown [Wed, 26 Feb 2025 13:51:51 +0000 (13:51 +0000)]
Updated translations with latest Crowdin changes (#5409)
Dan Brown [Wed, 26 Feb 2025 13:44:56 +0000 (13:44 +0000)]
Meta: Updated licenses and translation attribution pre v25.02
Dan Brown [Mon, 24 Feb 2025 16:58:59 +0000 (16:58 +0000)]
Sorting: Fixes during testing of sort rules
- Fixed name numeric sorting not working as expected due to bad
comparison.
- Added name numeric desc operation option.
- Added test to ensure each operating has a comparison function.
Dan Brown [Sun, 23 Feb 2025 14:41:26 +0000 (14:41 +0000)]
Sorting: Updated text for sort rules
Removes 'Set' wording and notes application to books on change.
Dan Brown [Sun, 23 Feb 2025 11:55:09 +0000 (11:55 +0000)]
JS: Upated npm deps, upgraded eslint, new eslint config
Upgraded eslint to 11, removed incompatible airbnb config as part of
process. ESlint config now in its own file.
Dan Brown [Sun, 23 Feb 2025 11:30:10 +0000 (11:30 +0000)]
Deps & Tests: Updated PHP deps, fixed test namespaces
Dan Brown [Sun, 23 Feb 2025 11:23:35 +0000 (11:23 +0000)]
Merge pull request #5491 from BookStackApp/deprecations
Addressing PHP 8.4 Deprecations
Dan Brown [Sun, 23 Feb 2025 11:22:12 +0000 (11:22 +0000)]
Merge pull request #5463 from BookStackApp/v24-12
v24-12 branch changes
Dan Brown [Sun, 23 Feb 2025 11:19:11 +0000 (11:19 +0000)]
Styles: Fixed breakpoint overlap
Alters common breakpoint utilities to not overlap at breakpoints which
would cause broken layout at those points.
For #5396
Dan Brown [Thu, 20 Feb 2025 13:06:49 +0000 (13:06 +0000)]
LDAP: Fixed php type error when no cn provided for user
Changes default fallback for name to first DN part, otherwise the whole
DN, rather than leave as null which was causing a type error.
For #5443
Dan Brown [Mon, 17 Feb 2025 13:37:58 +0000 (13:37 +0000)]
PHP: Updated DOMPDF version
Dan Brown [Mon, 17 Feb 2025 12:45:37 +0000 (12:45 +0000)]
PHP: Addressed 8.4 deprecations within app itself
Dan Brown [Mon, 17 Feb 2025 12:07:23 +0000 (12:07 +0000)]
Tests: Updated failing license test
Dan Brown [Sun, 16 Feb 2025 15:28:55 +0000 (15:28 +0000)]
Merge pull request #5415 from BookStackApp/more_lexical_fixes
Further Lexical Fixes
Dan Brown [Sun, 16 Feb 2025 15:09:33 +0000 (15:09 +0000)]
Lexical: Fixed code in lists, removed extra old alignment code
Code in lists could throw error on parse due to inner <code> tag being
parsed but not actually used within a <pre>, so this updates the
importDOM to disregard childdren for code blocks.
This also improves the invariant implementation to not be so
dev/debugger based, and to include vars in the output.
Dan Brown [Sun, 16 Feb 2025 11:27:49 +0000 (11:27 +0000)]
Translations: Fixed a couple of errors in sorting en words
Dan Brown [Fri, 14 Feb 2025 19:39:08 +0000 (19:39 +0000)]
Merge pull request #5488 from BookStackApp/search_index_updates
Search index improvements
Dan Brown [Fri, 14 Feb 2025 19:30:25 +0000 (19:30 +0000)]
Searching: Added test for guillemets
To cover #5475
Dan Brown [Fri, 14 Feb 2025 19:25:59 +0000 (19:25 +0000)]
Merge branch 'inv-hareesh/development' into search_index_updates
Dan Brown [Fri, 14 Feb 2025 19:01:51 +0000 (19:01 +0000)]
Searching: Added custom tokenizer that considers soft delimiters.
This changes indexing so that a.b now indexes as "a", "b" AND "a.b"
instead of just the first two, for periods and hypens, so terms
containing those characters can be searched within.
Adds hypens as a delimiter - #2095
Dan Brown [Fri, 14 Feb 2025 13:24:39 +0000 (13:24 +0000)]
Searching: Split out search tests into their own dir
Dan Brown [Wed, 12 Feb 2025 18:14:28 +0000 (18:14 +0000)]
Merge pull request #5470 from Silverlan/patch-1
Fix incorrect condition for displaying new books section
Dan Brown [Tue, 11 Feb 2025 15:52:35 +0000 (15:52 +0000)]
Meta: Updated dev version and sponsor link
Dan Brown [Tue, 11 Feb 2025 15:41:19 +0000 (15:41 +0000)]
Merge pull request #5457 from BookStackApp/sort_sets
Sort rules
Dan Brown [Tue, 11 Feb 2025 15:29:16 +0000 (15:29 +0000)]
Sorting: Updated sort set command, Changed sort timestamp handling
- Renamed AssignSortSetCommand to AssignSortRuleCommand, updated
contents and testing.
- Updated sorting operations to not update timestamps if only priority
is changed.
Dan Brown [Tue, 11 Feb 2025 14:36:25 +0000 (14:36 +0000)]
Sorting: Renamed sort set to sort rule
Renamed based on feedback from Tim and Script on Discord.
Also fixed flaky test
Dan Brown [Mon, 10 Feb 2025 17:14:06 +0000 (17:14 +0000)]
Sorting: Covered sort set management with tests
Dan Brown [Mon, 10 Feb 2025 13:33:10 +0000 (13:33 +0000)]
Sorting: Split out test class, added book autosort tests
Just for test view, actual functionality of autosort on change still
needs to be tested.
Dan Brown [Sun, 9 Feb 2025 23:24:36 +0000 (23:24 +0000)]
Sorting: Added tests to cover AssignSortSetCommand
Dan Brown [Sun, 9 Feb 2025 17:44:24 +0000 (17:44 +0000)]
Sorting: Addded command to apply sort sets
Dan Brown [Sun, 9 Feb 2025 15:16:18 +0000 (15:16 +0000)]
Sorting: Added auto sort option to book sort UI
Includes indicator on books added to sort operation.
inv-hareesh [Fri, 7 Feb 2025 03:29:36 +0000 (08:59 +0530)]
Fix search issue for words inside Guillemets (« ») without spaces
Dan Brown [Thu, 6 Feb 2025 14:58:08 +0000 (14:58 +0000)]
Sorting: Improved sort set display, delete, added action on edit
- Changes to a sort set will now auto-apply to assinged books (basic
chunck through all on save).
- Added book count indicator to sort set list items.
- Deletion now has confirmation and auto-handling of assigned
books/settings.
Dan Brown [Wed, 5 Feb 2025 21:17:48 +0000 (21:17 +0000)]
Meta: Updated sponsor list, licence year and readme
Dan Brown [Wed, 5 Feb 2025 16:52:20 +0000 (16:52 +0000)]
Sorting: Added book autosort logic
Dan Brown [Wed, 5 Feb 2025 14:33:46 +0000 (14:33 +0000)]
Sorting: Connected up default sort setting for books
Dan Brown [Tue, 4 Feb 2025 20:11:35 +0000 (20:11 +0000)]
Sorting: Finished main sort set CRUD work
Dan Brown [Tue, 4 Feb 2025 15:14:22 +0000 (15:14 +0000)]
Sorting: Added sort set form manager UI JS
Extracted much code to be shared with the shelf books management UI
Silverlan [Mon, 3 Feb 2025 18:01:08 +0000 (19:01 +0100)]
Fix incorrect condition for displaying new books section
Dan Brown [Mon, 3 Feb 2025 16:48:57 +0000 (16:48 +0000)]
Sorting: Started sort set routes and form
Dan Brown [Fri, 31 Jan 2025 21:29:38 +0000 (21:29 +0000)]
Thumbnails: Fixed thumnail orientation
Prevents double rotation caused from both our own orientation handling
upon that invervention was auto-applying since v3.
Fixes #5462
Dan Brown [Thu, 30 Jan 2025 17:49:19 +0000 (17:49 +0000)]
Sorting: Added content misses from last commit, started settings
Dan Brown [Wed, 29 Jan 2025 17:34:07 +0000 (17:34 +0000)]
Sorting: Added SortSet model & migration
Dan Brown [Wed, 29 Jan 2025 17:02:34 +0000 (17:02 +0000)]
Sorting: Extracted URL sort helper to own class
Was only used in one place, so didn't make sense to have extra global
helper clutter.
Dan Brown [Wed, 29 Jan 2025 16:40:11 +0000 (16:40 +0000)]
Sorting: Reorganised book sort code to its own directory
Dan Brown [Mon, 27 Jan 2025 16:40:41 +0000 (16:40 +0000)]
Lexical: Ran a deeper check on translation use
Dan Brown [Mon, 27 Jan 2025 14:28:27 +0000 (14:28 +0000)]
Lexical: Added media src conversions
Only actuall added YT in the end.
Google had changed URL scheme, and Vimeo seems to just be something else
now, can't really browse video pages like before.
Dan Brown [Wed, 22 Jan 2025 20:39:15 +0000 (20:39 +0000)]
Lexical: Linked table form to have caption toggle option
Dan Brown [Wed, 22 Jan 2025 12:54:13 +0000 (12:54 +0000)]
Lexical: Added support for table caption nodes
Needs linking up to the table form still.
Dan Brown [Sat, 18 Jan 2025 11:12:43 +0000 (11:12 +0000)]
Lexical: Added color picker/indicator to form fields
Dan Brown [Fri, 17 Jan 2025 11:15:14 +0000 (11:15 +0000)]
Lexical: Added color format custom color select
Includes tracking of selected colors via localstorage for display.
Dan Brown [Wed, 15 Jan 2025 14:31:09 +0000 (14:31 +0000)]
Lexical: Added some general test guidance
Just to help remember the general layout/methods that we've added to
make testing easier.
Dan Brown [Wed, 15 Jan 2025 14:15:58 +0000 (14:15 +0000)]
Lexical: Fixed auto-link issue
Added extra test helper to check the editor state directly via string
notation access rather than juggling types/objects to access deep
properties.
Dan Brown [Tue, 14 Jan 2025 14:56:43 +0000 (14:56 +0000)]
Merge pull request #5405 from BookStackApp/public_theme_files
Theme System: Public serving of files
Dan Brown [Tue, 14 Jan 2025 14:53:10 +0000 (14:53 +0000)]
Themes: Documented public file serving
Dan Brown [Mon, 13 Jan 2025 16:51:07 +0000 (16:51 +0000)]
Themes: Added testing and better mime sniffing for public serving
Existing mime sniffer wasn't great at distinguishing between plaintext
file types, so added a custom extension based mapping for common web
formats that may be expected to be used with this.
Dan Brown [Mon, 13 Jan 2025 14:30:53 +0000 (14:30 +0000)]
Themes: Added route to serve public theme files
Allows files to be placed within a "public" folder within a theme
directory which the contents of will served by BookStack for access.
- Only "web safe" content-types are provided.
- A static 1 day cache time it set on served files.
For #3904
Dan Brown [Mon, 13 Jan 2025 13:27:32 +0000 (13:27 +0000)]
Merge pull request #5400 from BookStackApp/laravel11
Laravel 11 Upgrade
Dan Brown [Mon, 13 Jan 2025 13:26:04 +0000 (13:26 +0000)]
Updated translations with latest Crowdin changes (#5399)
Dan Brown [Sat, 11 Jan 2025 15:05:10 +0000 (15:05 +0000)]
Framework: Re-add updated patched symfony-mailer
https://github.com/ssddanbrown/symfony-mailer/commit/
e9de8dccd76a63fc23475016e6574da6f5f12a2
Dan Brown [Sat, 11 Jan 2025 13:50:01 +0000 (13:50 +0000)]
Framework: Updated phpunit to 11, updated migration test php versions
Dan Brown [Sat, 11 Jan 2025 13:22:49 +0000 (13:22 +0000)]
Framework: Fixed Laravel 11 upgrade test issues, updated phpstan
- Fixed failing tests due to Laravel 11 changes
- Updated phpstan to 3.x branch
- Removed some seemingly redundant comment code, which was triggering
phpstan.
Dan Brown [Sat, 11 Jan 2025 11:14:49 +0000 (11:14 +0000)]
Framework: Performed Laravel 11 upgrade guide steps
Performed a little code cleanups when observed along the way.
Tested not yet ran.
Dan Brown [Thu, 9 Jan 2025 16:46:13 +0000 (16:46 +0000)]
PHP: Updated min version to 8.2
PHPStan config not yet compatible, but should work after moving to Laravel
11, which would allow using larastan 3.x.
Dan Brown [Sat, 4 Jan 2025 21:46:35 +0000 (21:46 +0000)]
Updated translations with latest Crowdin changes (#5370)
Dan Brown [Sat, 4 Jan 2025 21:45:36 +0000 (21:45 +0000)]
Deps: Updated composer packages
Dan Brown [Sat, 4 Jan 2025 21:05:45 +0000 (21:05 +0000)]
Merge pull request #5379 from BookStackApp/better_cleanup
Export limits and cleanup
Dan Brown [Sat, 4 Jan 2025 21:01:28 +0000 (21:01 +0000)]
Markdown Editor: Fixed scroll jump on image upload
For #5384
Dan Brown [Wed, 1 Jan 2025 15:42:59 +0000 (15:42 +0000)]
Exports: Added rate limits for UI exports
Just as a measure to prevent potential abuse of these potentially
longer-running endpoints.
Adds test to cover for ZIP exports, but applied to all formats.
Dan Brown [Wed, 1 Jan 2025 15:19:11 +0000 (15:19 +0000)]
Exports: Improved PDF command temp file cleanup
Dan Brown [Tue, 31 Dec 2024 15:13:50 +0000 (15:13 +0000)]
ZIP Exports: Improved temp file tracking & clean-up
Dan Brown [Mon, 23 Dec 2024 11:53:35 +0000 (11:53 +0000)]
Updated translator & dependency attribution before release v24.12
Dan Brown [Mon, 23 Dec 2024 11:27:58 +0000 (11:27 +0000)]
Locales: Updated locale list with new languages
Dan Brown [Mon, 23 Dec 2024 11:23:44 +0000 (11:23 +0000)]
Updated translations with latest Crowdin changes (#5345)
Dan Brown [Sun, 22 Dec 2024 12:43:26 +0000 (12:43 +0000)]
ZIP Exports: Prevent book child page drafts from being included
Added test to cover
Dan Brown [Sat, 21 Dec 2024 15:48:46 +0000 (15:48 +0000)]
Dependancies: Bumped up composer dep versions
Dan Brown [Fri, 20 Dec 2024 14:51:57 +0000 (14:51 +0000)]
Merge pull request #5365 from BookStackApp/lexical_fixes
Range of fixes/updates for the new Lexical based editor
Dan Brown [Tue, 17 Dec 2024 22:40:28 +0000 (22:40 +0000)]
Lexical: Added about button/view
Re-used existing route and moved tinymce help to its own different
route. Added test to cover.
Added new external-content block to support in editor UI.
Dan Brown [Tue, 17 Dec 2024 18:07:46 +0000 (18:07 +0000)]
Lexical: Adjusted handling of child/sibling list items on nesting
Sibling/child items will now remain at the same visual level during
nesting/un-nested, so only the selected item level is visually altered.
Also added new model-based editor content matching system for tests.
Dan Brown [Tue, 17 Dec 2024 16:50:03 +0000 (16:50 +0000)]
Lexical: Aligned new empty item behaviour for nested lists
- Makes enter on empty nested list item un-nest instead of just creating
new list items.
- Also updated existing lists tests to use newer helper setup.
Dan Brown [Tue, 17 Dec 2024 14:44:10 +0000 (14:44 +0000)]
Lexical: Improved list tab handling, Improved test utils
- Made tab work on empty list items
- Improved select preservation on single list item tab
- Altered test context creation for more standard testing
Dan Brown [Mon, 16 Dec 2024 16:24:47 +0000 (16:24 +0000)]
Lexical: Added testing for some added shortcuts
Also:
- Added svg loading support (dummy stub) for jest.
- Updated headless test case due to node changes.
- Split out editor change detected to where appropriate.
- Added functions to help with testing, like mocking our context.
Dan Brown [Mon, 16 Dec 2024 14:30:06 +0000 (14:30 +0000)]
Lexical: Added mulitple methods to escape details block
Enter on empty last line, or down on last empty line, will focus on the
next node after details, or created a new paragraph to focus on if
needed.
Dan Brown [Sun, 15 Dec 2024 18:13:49 +0000 (18:13 +0000)]
Lexical: Added details toolbar
Includes unwrap and toggle open actions.
Dan Brown [Sun, 15 Dec 2024 17:11:02 +0000 (17:11 +0000)]
Lexical: Made summary part of details node
To provide more control of the summary as part of details.
To support, added a way to ignore elements during import DOM, allowing
up to read summaries when parsing details without duplicate nodes
involved.
Dan Brown [Sun, 15 Dec 2024 15:29:00 +0000 (15:29 +0000)]
Lexical: Adjusted modals and content area for mobile sizes
Dan Brown [Sun, 15 Dec 2024 14:03:08 +0000 (14:03 +0000)]
Lexical: Added mobile toolbar support
Adds dynamic and fixed (out of DOM order) positioning with location
adjustment depending on space.
Also adds smarter hiding to prevent disappearing when mouse leaves but
within the same space as the toggle.
Dan Brown [Sat, 14 Dec 2024 15:17:33 +0000 (15:17 +0000)]
Lexical: Added dark mode styles, fixed autolink range
Dan Brown [Sat, 14 Dec 2024 12:35:13 +0000 (12:35 +0000)]
Lexical: Added auto links on enter/space
Dan Brown [Fri, 13 Dec 2024 15:19:09 +0000 (15:19 +0000)]
Users: Hid lanuage preference for guest user
Hiding since it's not really used, and may mislead on how to set default
app language (which should be done via env options).
Updated test to cover.
For #5356
Dan Brown [Fri, 13 Dec 2024 14:21:04 +0000 (14:21 +0000)]
API: Added cover to book/shelf list endpoints
Aligns with what we provide in the UI.
Added/updated tests to cover, and updated API examples.
For 5180.