]>
BookStack Code Mirror - bookstack/log
Dan Brown [Mon, 9 Dec 2024 13:25:35 +0000 (13:25 +0000)]
SASS: Updated to use modules and address deprecations
Changes the name of our spacing variables due to the prefixing -/_
meaning private in the use of new "use" rather than include.
All now modular too, so all variables/mixins are accessed via their
package.
Also renamed variables file to vars for simpler/cleaner access/writing.
eg. '$-m' is now 'vars.$m'
Dan Brown [Mon, 9 Dec 2024 13:07:39 +0000 (13:07 +0000)]
JS: Updated packages, fixed lint issue
Left eslint as old due to eslint-config-airbnb-base not yet being
comptible.
Some SASS deprecations to solve.
Dan Brown [Mon, 9 Dec 2024 11:32:15 +0000 (11:32 +0000)]
Attachment API: Fixed error when name not provided in update
Fixes #5353
Dan Brown [Wed, 4 Dec 2024 20:06:39 +0000 (20:06 +0000)]
Merge pull request #5349 from BookStackApp/lexical_reorg
Lexical: Merge of custom nodes & re-organisation of codebase
Dan Brown [Wed, 4 Dec 2024 20:03:05 +0000 (20:03 +0000)]
Lexical: Updated tests for node changes
Dan Brown [Wed, 4 Dec 2024 18:53:59 +0000 (18:53 +0000)]
Lexical: Reorganised custom node code into lexical codebase
Also cleaned up old unused imports.
Dan Brown [Tue, 3 Dec 2024 20:08:33 +0000 (20:08 +0000)]
Lexical: Merged custom table node code
Dan Brown [Tue, 3 Dec 2024 19:03:52 +0000 (19:03 +0000)]
Lexical: Merged list nodes
Dan Brown [Tue, 3 Dec 2024 17:04:50 +0000 (17:04 +0000)]
Lexical: Extracted & merged heading & quote nodes
Dan Brown [Tue, 3 Dec 2024 16:24:49 +0000 (16:24 +0000)]
Lexical: Merged custom paragraph node, removed old format/indent refs
Start of work to merge custom nodes into lexical, removing old unused
format/indent core logic while extending common block elements where
possible.
Dan Brown [Tue, 3 Dec 2024 13:52:38 +0000 (13:52 +0000)]
Merge branch 'rashadkhan359/development' into development
Dan Brown [Tue, 3 Dec 2024 13:47:45 +0000 (13:47 +0000)]
Search API: Updated handling of parent detail, added testing
Review of #5280.
- Removed additional non-needed loads which could ignore permissions.
- Updated new formatter method name to be more specific on use.
- Added test case to cover changes.
- Updated API examples to align parent id/info in info to be
representative.
Dan Brown [Mon, 2 Dec 2024 11:50:15 +0000 (11:50 +0000)]
Merge branch 'fix/markdown-export' into development
Dan Brown [Mon, 2 Dec 2024 11:46:56 +0000 (11:46 +0000)]
MD Exports: Added HTML description conversion
Also updated tests to cover checking description use/conversion.
Made during review of #5313
Dan Brown [Sun, 1 Dec 2024 18:44:23 +0000 (18:44 +0000)]
Merge branch 'fix-ldap-display-name' into development
Dan Brown [Sun, 1 Dec 2024 18:42:54 +0000 (18:42 +0000)]
LDAP: Review and testing of mulitple-display-name attr support
Review of #5295
Added test to cover functionality.
Moved splitting from config to service.
Dan Brown [Sun, 1 Dec 2024 16:10:22 +0000 (16:10 +0000)]
Merge branch 'docker-simplify' into development
Dan Brown [Sun, 1 Dec 2024 16:02:21 +0000 (16:02 +0000)]
Dev Docker: Fixed missing gd jpeg handling, forced migrations
Migrations run without force could fail startup in certain environment
conditions (when testing production env).
Also updated paths permission handling to update more needed locations.
Dan Brown [Sun, 1 Dec 2024 13:06:43 +0000 (13:06 +0000)]
Merge branch 'portazips' into development
Dan Brown [Sun, 1 Dec 2024 13:04:59 +0000 (13:04 +0000)]
Merge pull request #5259 from BookStackApp/typescript-conversions
Conversion of Services to TypeScript
Dan Brown [Fri, 29 Nov 2024 13:46:37 +0000 (13:46 +0000)]
Updated translator & dependency attribution before release v24.10.2
Dan Brown [Fri, 29 Nov 2024 13:40:09 +0000 (13:40 +0000)]
Updated translations with latest Crowdin changes (#5331)
Dan Brown [Fri, 29 Nov 2024 13:19:55 +0000 (13:19 +0000)]
Attachments: Fixed full range request handling
We were not responsing with a range request, where the requested range
was for the full extent of content. This changes things to always
provide a range request, even for the full range.
Change made since our existing logic could cause problems in chromium
browsers.
Elseif statement removed as its was likley redundant based upon other
existing checks.
This also changes responses for requested ranges beyond content, but I
think that's technically correct looking at the spec (416 are for when
there are no overlapping request/response ranges at all).
Updated tests to cover.
For #5342
Dan Brown [Fri, 29 Nov 2024 12:57:53 +0000 (12:57 +0000)]
Code: Set base codemirror line height
Prevents difference in line height between light/dark mode.
For #5146
Dan Brown [Thu, 28 Nov 2024 16:58:55 +0000 (16:58 +0000)]
Merge branch 'oidc-content-type-issue' into development
Dan Brown [Thu, 28 Nov 2024 16:58:06 +0000 (16:58 +0000)]
OIDC: Added extra userinfo content-type normalisation and test
During review of #5337
Dan Brown [Thu, 28 Nov 2024 16:30:59 +0000 (16:30 +0000)]
Includes: Workaround for PHP 8.3.14 bug
Changed DOMText creation to be done via document so its document
reference is correct to avoid a bug in PHP 8.3.14.
Ref: https://github.com/php/php-src/issues/16967
Fixes #5341
Dan Brown [Thu, 28 Nov 2024 16:25:01 +0000 (16:25 +0000)]
Depenencies: Updated PHP packages
Dan Brown [Wed, 27 Nov 2024 16:30:19 +0000 (16:30 +0000)]
ZIP Exports: Changed the instance id mechanism
Adds an instance id via app settings.
Dan Brown [Tue, 26 Nov 2024 17:53:20 +0000 (17:53 +0000)]
ZIP Exports: Updated format doc with advisories regarding html/md
Wes Biggs [Tue, 26 Nov 2024 17:21:20 +0000 (11:21 -0600)]
Updates the OIDC userinfo endpoint request to allow for a `Content-Type` response header with optional parameters, like `application/json; charset=utf-8`. This was causing an issue when integrating with [node-oidc-provider](https://github.com/panva/node-oidc-provider).
Dan Brown [Tue, 26 Nov 2024 15:59:39 +0000 (15:59 +0000)]
ZIP Exports: Added detection/handling of images with external storage
Added test to cover.
Dan Brown [Mon, 25 Nov 2024 16:23:59 +0000 (16:23 +0000)]
ZIP Imports/Exports: Fixed some lint and test issues
- Updated test handling to create imports folder when required.
- Updated some tests to delete created import zip files.
Dan Brown [Mon, 25 Nov 2024 15:54:15 +0000 (15:54 +0000)]
ZIP Import & Exports: Addressed issues during testing
- Handled links to within-zip page images found in chapter/book
descriptions; Added test to cover.
- Fixed session showing unrelated success on failed import.
Tested import file-create undo on failure as part of this testing.
Dan Brown [Fri, 22 Nov 2024 21:36:42 +0000 (21:36 +0000)]
ZIP Imports: Updated import form to show loading indicator
And disable button after submit.
Added here because the import could take some time, so it's best to show
an indicator to the user to show that something is happening, and help
prevent duplicate submission or re-submit attempts.
Dan Brown [Fri, 22 Nov 2024 21:03:04 +0000 (21:03 +0000)]
ZIP Imports: Added book content ordering to import preview
Dan Brown [Mon, 18 Nov 2024 17:42:49 +0000 (17:42 +0000)]
ZIP Imports: Added image type validation/handling
Images were missing their extension after import since it was
(potentially) not part of the import data.
This adds validation via mime sniffing (to match normal image upload
checks) and also uses the same logic to sniff out a correct extension.
Added tests to cover.
Also fixed some existing tests around zip functionality.
Dan Brown [Mon, 18 Nov 2024 15:53:21 +0000 (15:53 +0000)]
ZIP Exports: Added ID checks and testing to validator
Dan Brown [Sat, 16 Nov 2024 19:52:20 +0000 (19:52 +0000)]
ZIP Imports: Covered import runner with further testing
Dan Brown [Sat, 16 Nov 2024 16:12:45 +0000 (16:12 +0000)]
ZIP Imports: Started testing core import logic
Fixed image size handling, and lack of attachment reference replacements
during testing.
Dan Brown [Sat, 16 Nov 2024 13:57:41 +0000 (13:57 +0000)]
ZIP Imports: Added high level import run tests
Dan Brown [Thu, 14 Nov 2024 15:59:15 +0000 (15:59 +0000)]
ZIP Import: Finished base import process & error handling
Added file creation reverting and DB rollback on error.
Added error display on failed import.
Extracted likely shown import form/error text to translation files.
Dan Brown [Wed, 13 Nov 2024 11:59:03 +0000 (11:59 +0000)]
Updated translations with latest Crowdin changes (#5317)
* New translations common.php (Ukrainian)
* New translations entities.php (Ukrainian)
* New translations errors.php (Ukrainian)
* New translations activities.php (Czech)
* New translations entities.php (Czech)
Dan Brown [Wed, 13 Nov 2024 11:39:04 +0000 (11:39 +0000)]
Dependencies: Updated composer packages
Dan Brown [Mon, 11 Nov 2024 15:06:46 +0000 (15:06 +0000)]
ZIP Imports: Finished off core import logic
Dan Brown [Sun, 10 Nov 2024 16:03:50 +0000 (16:03 +0000)]
ZIP Imports: Built out reference parsing/updating logic
czemu [Sun, 10 Nov 2024 08:39:33 +0000 (09:39 +0100)]
ExportFormatter: Add book description and check for empty book and chapter descriptions in markdown export
Dan Brown [Sat, 9 Nov 2024 14:01:24 +0000 (14:01 +0000)]
ZIP imports: Started actual import logic
Dan Brown [Fri, 8 Nov 2024 13:46:57 +0000 (13:46 +0000)]
Languages: Added Turkmen to locale manager
Dan Brown [Fri, 8 Nov 2024 13:31:21 +0000 (13:31 +0000)]
Translators: Updated before patch release
Dan Brown [Fri, 8 Nov 2024 13:29:21 +0000 (13:29 +0000)]
Updated translations with latest Crowdin changes (#5250)
Dan Brown [Fri, 8 Nov 2024 11:35:18 +0000 (11:35 +0000)]
Testing: Improved reliability
- Added extra column/value check for page revision test for accuracy.
- Changed search sort test to use more reliable values.
- Change due to database seeding somtimes generating values that
proceeded the test value, expected to be first, in sort results.
Dan Brown [Fri, 8 Nov 2024 11:22:30 +0000 (11:22 +0000)]
Update URL Command: Added revisions table support
For #5292
Added test to cover.
Dan Brown [Fri, 8 Nov 2024 10:41:25 +0000 (10:41 +0000)]
PHP Deps: Bumped up minor versions
Dan Brown [Thu, 7 Nov 2024 17:22:08 +0000 (17:22 +0000)]
Merge pull request #5312 from BookStackApp/system_cli_update
System CLI update
Dan Brown [Thu, 7 Nov 2024 17:10:35 +0000 (17:10 +0000)]
System CLI: Updated to
126de5599c state
Dan Brown [Tue, 5 Nov 2024 15:41:58 +0000 (15:41 +0000)]
ZIP Imports: Added parent and permission check pre-import
Dan Brown [Tue, 5 Nov 2024 13:17:31 +0000 (13:17 +0000)]
ZIP Imports: Added full contents view to import display
Reduced import data will now be stored on the import itself, instead of
storing a set of totals.
Dan Brown [Mon, 4 Nov 2024 16:21:22 +0000 (16:21 +0000)]
ZIP Imports: Added parent selector for page/chapter imports
Dan Brown [Sun, 3 Nov 2024 17:28:18 +0000 (17:28 +0000)]
ZIP Imports: Fleshed out continue page, Added testing
Dan Brown [Sun, 3 Nov 2024 14:13:05 +0000 (14:13 +0000)]
ZIP Imports: Added listing, show view, delete, activity
Dan Brown [Sat, 2 Nov 2024 20:48:21 +0000 (20:48 +0000)]
ZIP Import: Added upload handling
Split attachment service storage work out so it can be shared.
Dan Brown [Sat, 2 Nov 2024 17:17:34 +0000 (17:17 +0000)]
ZIP Import: Added model+migration, and reader class
Dan Brown [Sat, 2 Nov 2024 14:51:04 +0000 (14:51 +0000)]
ZIP Imports: Added validation message display, added testing
Testing covers main UI access, and main non-successfull import actions.
Started planning stored import model.
Extracted some text to language files.
Dan Brown [Wed, 30 Oct 2024 15:26:23 +0000 (15:26 +0000)]
ZIP Exports: Got zip format validation functionally complete
Dan Brown [Wed, 30 Oct 2024 13:13:41 +0000 (13:13 +0000)]
ZIP Exports: Started import validation
Zero [Tue, 29 Oct 2024 15:07:15 +0000 (23:07 +0800)]
fix deprecated syntax
Zero [Tue, 29 Oct 2024 15:06:50 +0000 (23:06 +0800)]
re-write Dockerfile
Dan Brown [Tue, 29 Oct 2024 14:21:32 +0000 (14:21 +0000)]
ZIP Exports: Built out initial import view
Added syles for non-custom, non-image file inputs.
Started planning out back-end handling.
Dan Brown [Tue, 29 Oct 2024 12:11:51 +0000 (12:11 +0000)]
ZIP Exports: Added new import permission
Also updated new route/view to new non-book-specific flow.
Also fixed down migration of old export permissions migration.
Matthieu Leboeuf [Mon, 28 Oct 2024 21:27:15 +0000 (22:27 +0100)]
Adapt tests with displayName array
Matthieu Leboeuf [Mon, 28 Oct 2024 21:14:30 +0000 (22:14 +0100)]
Added support for concatenating multiple LDAP attributes in displayName
Rashad [Sun, 27 Oct 2024 17:20:20 +0000 (22:50 +0530)]
respective book and chapter structure added.
Dan Brown [Sun, 27 Oct 2024 14:33:43 +0000 (14:33 +0000)]
ZIP Exports: Tested each type and model of export
Dan Brown [Sun, 27 Oct 2024 09:54:11 +0000 (09:54 +0000)]
Merge pull request #5291 from LordSimal/development
fix tests namespace definition
Kevin Pfeifer [Sat, 26 Oct 2024 11:24:49 +0000 (13:24 +0200)]
fix tests namespace definition
Dan Brown [Wed, 23 Oct 2024 14:59:58 +0000 (15:59 +0100)]
ZIP Exports: Added entity cross refs, Started export tests
Dan Brown [Wed, 23 Oct 2024 10:30:32 +0000 (11:30 +0100)]
ZIP Exports: Added core logic for books/chapters
Dan Brown [Wed, 23 Oct 2024 09:48:26 +0000 (10:48 +0100)]
ZIP Exports: Reorganised files, added page md parsing
Dan Brown [Mon, 21 Oct 2024 12:59:15 +0000 (13:59 +0100)]
ZIP Exports: Added working image handling/inclusion
Dan Brown [Mon, 21 Oct 2024 11:13:41 +0000 (12:13 +0100)]
Zip Exports: Added attachment/image link resolving & JSON null handling
Rashad [Sun, 20 Oct 2024 21:31:33 +0000 (03:01 +0530)]
Eager loading for titles
Rashad [Sun, 20 Oct 2024 21:12:49 +0000 (02:42 +0530)]
Added include func for search api
Dan Brown [Sun, 20 Oct 2024 18:56:56 +0000 (19:56 +0100)]
ZIP Export: Started building link/ref handling
Dan Brown [Sat, 19 Oct 2024 14:41:07 +0000 (15:41 +0100)]
ZIP Export: Expanded page & added base attachment handling
Dan Brown [Sat, 19 Oct 2024 12:59:42 +0000 (13:59 +0100)]
Testing: Split export tests into multiple files
Dan Brown [Tue, 15 Oct 2024 15:14:11 +0000 (16:14 +0100)]
ZIP Exports: Finished up format doc, move files, started builder
Moved all existing export related app files into their new own dir.
Dan Brown [Tue, 15 Oct 2024 12:57:16 +0000 (13:57 +0100)]
ZIP Export: Continued expanding format doc types
Dan Brown [Tue, 15 Oct 2024 10:07:41 +0000 (11:07 +0100)]
Users: Changed name validation to min:1 instead of 2
Would cause scenarios where users could be created with 1 char, but then
fail to update due to validation differences.
Added test to cover.
For #5263
Dan Brown [Sun, 13 Oct 2024 21:56:22 +0000 (22:56 +0100)]
ZIP Export: Started types in format doc
Dan Brown [Sun, 13 Oct 2024 13:18:23 +0000 (14:18 +0100)]
ZIP Export: Started defining format
Dan Brown [Fri, 11 Oct 2024 20:55:51 +0000 (21:55 +0100)]
TS: Converted dom and keyboard nav services
Dan Brown [Fri, 11 Oct 2024 14:19:19 +0000 (15:19 +0100)]
TS: Converted app file and animations service
Extracted functions out of app file during changes to clean up.
Altered animation function to use normal css prop names instead of JS
CSS prop names.
Dan Brown [Fri, 11 Oct 2024 12:33:07 +0000 (13:33 +0100)]
Settings: Added test to cover setting category by view
Lachlan Tripolone [Thu, 10 Oct 2024 23:42:48 +0000 (10:42 +1100)]
Move settings category layouts into their own view folder
Lachlan Tripolone [Thu, 10 Oct 2024 23:40:38 +0000 (10:40 +1100)]
Refactor SettingController to validate categies by existing view files
Dan Brown [Thu, 10 Oct 2024 11:03:24 +0000 (12:03 +0100)]
TS: Coverted util service
Dan Brown [Wed, 9 Oct 2024 09:26:07 +0000 (10:26 +0100)]
Attribution: Updated translator & license files before v24.10
Dan Brown [Wed, 9 Oct 2024 09:21:55 +0000 (10:21 +0100)]
Updated translations with latest Crowdin changes (#5188)
Dan Brown [Mon, 7 Oct 2024 21:55:10 +0000 (22:55 +0100)]
JS: Converted/updated translation code to TS, fixed some comment counts
- Migrated translation service to TS, stripping a lot of now unused code
along the way.
- Added test to cover translation service.
- Fixed some comment count issues, where it was not showing correct
value. or updating, on comment create or delete.