]> BookStack Code Mirror - bookstack/log
bookstack
7 months agoZIP Imports: Added high level import run tests
Dan Brown [Sat, 16 Nov 2024 13:57:41 +0000 (13:57 +0000)]
ZIP Imports: Added high level import run tests

7 months agoZIP Import: Finished base import process & error handling
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.

7 months agoUpdated translations with latest Crowdin changes (#5317)
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)

7 months agoDependencies: Updated composer packages
Dan Brown [Wed, 13 Nov 2024 11:39:04 +0000 (11:39 +0000)]
Dependencies: Updated composer packages

7 months agoZIP Imports: Finished off core import logic
Dan Brown [Mon, 11 Nov 2024 15:06:46 +0000 (15:06 +0000)]
ZIP Imports: Finished off core import logic

7 months agoZIP Imports: Built out reference parsing/updating logic
Dan Brown [Sun, 10 Nov 2024 16:03:50 +0000 (16:03 +0000)]
ZIP Imports: Built out reference parsing/updating logic

7 months agoExportFormatter: Add book description and check for empty book and chapter descriptio... 5313/head
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

7 months agoZIP imports: Started actual import logic
Dan Brown [Sat, 9 Nov 2024 14:01:24 +0000 (14:01 +0000)]
ZIP imports: Started actual import logic

7 months agoLanguages: Added Turkmen to locale manager
Dan Brown [Fri, 8 Nov 2024 13:46:57 +0000 (13:46 +0000)]
Languages: Added Turkmen to locale manager

7 months agoTranslators: Updated before patch release
Dan Brown [Fri, 8 Nov 2024 13:31:21 +0000 (13:31 +0000)]
Translators: Updated before patch release

7 months agoUpdated translations with latest Crowdin changes (#5250)
Dan Brown [Fri, 8 Nov 2024 13:29:21 +0000 (13:29 +0000)]
Updated translations with latest Crowdin changes (#5250)

7 months agoTesting: Improved reliability
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.

7 months agoUpdate URL Command: Added revisions table support
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.

7 months agoPHP Deps: Bumped up minor versions
Dan Brown [Fri, 8 Nov 2024 10:41:25 +0000 (10:41 +0000)]
PHP Deps: Bumped up minor versions

7 months agoMerge pull request #5312 from BookStackApp/system_cli_update
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

7 months agoSystem CLI: Updated to 126de5599c state 5312/head
Dan Brown [Thu, 7 Nov 2024 17:10:35 +0000 (17:10 +0000)]
System CLI: Updated to 126de5599c state

7 months agoZIP Imports: Added parent and permission check pre-import
Dan Brown [Tue, 5 Nov 2024 15:41:58 +0000 (15:41 +0000)]
ZIP Imports: Added parent and permission check pre-import

7 months agoZIP Imports: Added full contents view to import display
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.

7 months agoZIP Imports: Added parent selector for page/chapter imports
Dan Brown [Mon, 4 Nov 2024 16:21:22 +0000 (16:21 +0000)]
ZIP Imports: Added parent selector for page/chapter imports

7 months agoZIP Imports: Fleshed out continue page, Added testing
Dan Brown [Sun, 3 Nov 2024 17:28:18 +0000 (17:28 +0000)]
ZIP Imports: Fleshed out continue page, Added testing

7 months agoZIP Imports: Added listing, show view, delete, activity
Dan Brown [Sun, 3 Nov 2024 14:13:05 +0000 (14:13 +0000)]
ZIP Imports: Added listing, show view, delete, activity

7 months agoZIP Import: Added upload handling
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.

7 months agoZIP Import: Added model+migration, and reader class
Dan Brown [Sat, 2 Nov 2024 17:17:34 +0000 (17:17 +0000)]
ZIP Import: Added model+migration, and reader class

7 months agoZIP Imports: Added validation message display, added testing
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.

8 months agoZIP Exports: Got zip format validation functionally complete
Dan Brown [Wed, 30 Oct 2024 15:26:23 +0000 (15:26 +0000)]
ZIP Exports: Got zip format validation functionally complete

8 months agoZIP Exports: Started import validation
Dan Brown [Wed, 30 Oct 2024 13:13:41 +0000 (13:13 +0000)]
ZIP Exports: Started import validation

8 months agofix deprecated syntax 5293/head
Zero [Tue, 29 Oct 2024 15:07:15 +0000 (23:07 +0800)]
fix deprecated syntax

8 months agore-write Dockerfile
Zero [Tue, 29 Oct 2024 15:06:50 +0000 (23:06 +0800)]
re-write Dockerfile

8 months agoZIP Exports: Built out initial import view
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.

8 months agoZIP Exports: Added new import permission
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.

8 months agoAdapt tests with displayName array 5295/head
Matthieu Leboeuf [Mon, 28 Oct 2024 21:27:15 +0000 (22:27 +0100)]
Adapt tests with displayName array

8 months agoAdded support for concatenating multiple LDAP attributes in displayName
Matthieu Leboeuf [Mon, 28 Oct 2024 21:14:30 +0000 (22:14 +0100)]
Added support for concatenating multiple LDAP attributes in displayName

8 months agorespective book and chapter structure added. 5280/head
Rashad [Sun, 27 Oct 2024 17:20:20 +0000 (22:50 +0530)]
respective book and chapter structure added.

8 months agoZIP Exports: Tested each type and model of export
Dan Brown [Sun, 27 Oct 2024 14:33:43 +0000 (14:33 +0000)]
ZIP Exports: Tested each type and model of export

8 months agoMerge pull request #5291 from LordSimal/development
Dan Brown [Sun, 27 Oct 2024 09:54:11 +0000 (09:54 +0000)]
Merge pull request #5291 from LordSimal/development

fix tests namespace definition

8 months agofix tests namespace definition 5291/head
Kevin Pfeifer [Sat, 26 Oct 2024 11:24:49 +0000 (13:24 +0200)]
fix tests namespace definition

8 months agoZIP Exports: Added entity cross refs, Started export tests
Dan Brown [Wed, 23 Oct 2024 14:59:58 +0000 (15:59 +0100)]
ZIP Exports: Added entity cross refs, Started export tests

8 months agoZIP Exports: Added core logic for books/chapters
Dan Brown [Wed, 23 Oct 2024 10:30:32 +0000 (11:30 +0100)]
ZIP Exports: Added core logic for books/chapters

8 months agoZIP Exports: Reorganised files, added page md parsing
Dan Brown [Wed, 23 Oct 2024 09:48:26 +0000 (10:48 +0100)]
ZIP Exports: Reorganised files, added page md parsing

8 months agoZIP Exports: Added working image handling/inclusion
Dan Brown [Mon, 21 Oct 2024 12:59:15 +0000 (13:59 +0100)]
ZIP Exports: Added working image handling/inclusion

8 months agoZip Exports: Added attachment/image link resolving & JSON null handling
Dan Brown [Mon, 21 Oct 2024 11:13:41 +0000 (12:13 +0100)]
Zip Exports: Added attachment/image link resolving & JSON null handling

8 months agoEager loading for titles
Rashad [Sun, 20 Oct 2024 21:31:33 +0000 (03:01 +0530)]
Eager loading for titles

8 months agoAdded include func for search api
Rashad [Sun, 20 Oct 2024 21:12:49 +0000 (02:42 +0530)]
Added include func for search api

8 months agoZIP Export: Started building link/ref handling
Dan Brown [Sun, 20 Oct 2024 18:56:56 +0000 (19:56 +0100)]
ZIP Export: Started building link/ref handling

8 months agoZIP Export: Expanded page & added base attachment handling
Dan Brown [Sat, 19 Oct 2024 14:41:07 +0000 (15:41 +0100)]
ZIP Export: Expanded page & added base attachment handling

8 months agoTesting: Split export tests into multiple files
Dan Brown [Sat, 19 Oct 2024 12:59:42 +0000 (13:59 +0100)]
Testing: Split export tests into multiple files

8 months agoZIP Exports: Finished up format doc, move files, started builder
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.

8 months agoZIP Export: Continued expanding format doc types
Dan Brown [Tue, 15 Oct 2024 12:57:16 +0000 (13:57 +0100)]
ZIP Export: Continued expanding format doc types

8 months agoUsers: Changed name validation to min:1 instead of 2
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

8 months agoZIP Export: Started types in format doc
Dan Brown [Sun, 13 Oct 2024 21:56:22 +0000 (22:56 +0100)]
ZIP Export: Started types in format doc

8 months agoZIP Export: Started defining format
Dan Brown [Sun, 13 Oct 2024 13:18:23 +0000 (14:18 +0100)]
ZIP Export: Started defining format

8 months agoTS: Converted dom and keyboard nav services 5259/head
Dan Brown [Fri, 11 Oct 2024 20:55:51 +0000 (21:55 +0100)]
TS: Converted dom and keyboard nav services

8 months agoTS: Converted app file and animations service
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.

8 months agoSettings: Added test to cover setting category by view
Dan Brown [Fri, 11 Oct 2024 12:33:07 +0000 (13:33 +0100)]
Settings: Added test to cover setting category by view

8 months agoMove settings category layouts into their own view folder 5255/head
Lachlan Tripolone [Thu, 10 Oct 2024 23:42:48 +0000 (10:42 +1100)]
Move settings category layouts into their own view folder

8 months agoRefactor SettingController to validate categies by existing view files
Lachlan Tripolone [Thu, 10 Oct 2024 23:40:38 +0000 (10:40 +1100)]
Refactor SettingController to validate categies by existing view files

8 months agoTS: Coverted util service
Dan Brown [Thu, 10 Oct 2024 11:03:24 +0000 (12:03 +0100)]
TS: Coverted util service

8 months agoAttribution: Updated translator & license files before v24.10
Dan Brown [Wed, 9 Oct 2024 09:26:07 +0000 (10:26 +0100)]
Attribution: Updated translator & license files before v24.10

8 months agoUpdated translations with latest Crowdin changes (#5188)
Dan Brown [Wed, 9 Oct 2024 09:21:55 +0000 (10:21 +0100)]
Updated translations with latest Crowdin changes (#5188)

8 months agoJS: Converted/updated translation code to TS, fixed some comment counts
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.

8 months agoSearch: Fixed last commented filter when using table prefixes
Dan Brown [Sat, 5 Oct 2024 14:20:04 +0000 (15:20 +0100)]
Search: Fixed last commented filter when using table prefixes

8 months agoSearching: Fixed some form search issues
Dan Brown [Sat, 5 Oct 2024 13:47:00 +0000 (14:47 +0100)]
Searching: Fixed some form search issues

- Form was not retaining certain filters
- Form request handling of entity type set wrong filter name
Added test to cover.

8 months agoWYSIWYG: Code & table fixes
Dan Brown [Sat, 5 Oct 2024 11:42:47 +0000 (12:42 +0100)]
WYSIWYG: Code & table fixes

- Fixed new code block insertion to remove selection area instead of
  just adding after.
- Added default table column widths to not be collapsed
- Updated table dom export to not duplicate colgroups.

8 months agoWYSIWYG: Fixed list indenting selection & display bugs
Dan Brown [Fri, 4 Oct 2024 14:11:09 +0000 (15:11 +0100)]
WYSIWYG: Fixed list indenting selection & display bugs

- Fixed selection breaking on multiple indent changes
- Fixed multi-indent showing numbers on empty child list until the nodes
  are fully re-rendered.

8 months agoJS: Converted a few extra services to TS
Dan Brown [Fri, 4 Oct 2024 13:36:20 +0000 (14:36 +0100)]
JS: Converted a few extra services to TS

8 months agoTinyMCE: Updated version from 6.8.3 to 6.8.4
Dan Brown [Fri, 4 Oct 2024 11:46:22 +0000 (12:46 +0100)]
TinyMCE: Updated version from 6.8.3 to 6.8.4

8 months agoNew WYSIWYG: Added mac shortcut support
Dan Brown [Fri, 4 Oct 2024 11:41:13 +0000 (12:41 +0100)]
New WYSIWYG: Added mac shortcut support

8 months agoLanguages: Enabled Welsh option
Dan Brown [Fri, 4 Oct 2024 09:59:34 +0000 (10:59 +0100)]
Languages: Enabled Welsh option

8 months agoMerge pull request #5239 from BookStackApp/search_negation
Dan Brown [Thu, 3 Oct 2024 18:52:06 +0000 (19:52 +0100)]
Merge pull request #5239 from BookStackApp/search_negation

Search term negation

8 months agoSearch: Prevented negated terms filling in UI inputs 5239/head
Dan Brown [Thu, 3 Oct 2024 18:38:07 +0000 (19:38 +0100)]
Search: Prevented negated terms filling in UI inputs

Added test to cover.

8 months agoSearch: Added exact/filter/tag term negation support
Dan Brown [Thu, 3 Oct 2024 18:27:03 +0000 (19:27 +0100)]
Search: Added exact/filter/tag term negation support

8 months agoSearching: Added negation support to UI and term handling
Dan Brown [Thu, 3 Oct 2024 14:59:50 +0000 (15:59 +0100)]
Searching: Added negation support to UI and term handling

Updated/added tests to cover.
Support for actual search queries still remains.

8 months agoSearch: Added structure for search term inputs
Dan Brown [Wed, 2 Oct 2024 16:31:45 +0000 (17:31 +0100)]
Search: Added structure for search term inputs

Sets things up to allow more complex terms ready to handle negation.

9 months agoBase layout: Changed main app script to be module loaded
Dan Brown [Tue, 1 Oct 2024 09:37:31 +0000 (10:37 +0100)]
Base layout: Changed main app script to be module loaded

Prevents polluting global scope with variables since we're using the
module format bundler in esbuild.
Also cleaned up unused yields.
Fixed bad reference in our tinymce fixes.

For #5232

9 months agoMerge branch 'feature/opensearch' into development
Dan Brown [Mon, 30 Sep 2024 16:21:51 +0000 (17:21 +0100)]
Merge branch 'feature/opensearch' into development

9 months agoTests: Categorised up meta tests
Dan Brown [Mon, 30 Sep 2024 16:07:53 +0000 (17:07 +0100)]
Tests: Categorised up meta tests

Extracted robots.txt tests into its own file to fit into new folder.
Also tweaked open search tests a tad to specifically check long app
names.

9 months agoCode Blocks: Added SAS and R language options
Dan Brown [Mon, 30 Sep 2024 15:47:55 +0000 (16:47 +0100)]
Code Blocks: Added SAS and R language options

For #5206

9 months agoAdd test for OpenSearch endpoint 5198/head
Maximilian Walter [Sat, 14 Sep 2024 14:21:01 +0000 (16:21 +0200)]
Add test for OpenSearch endpoint

9 months agoAdd missing XML declaration to OpenSearch endpoint
Maximilian Walter [Sat, 14 Sep 2024 14:13:17 +0000 (16:13 +0200)]
Add missing XML declaration to OpenSearch endpoint

9 months agoTranslatable description for OpenSearch XML
Maximilian Walter [Sat, 14 Sep 2024 13:43:46 +0000 (15:43 +0200)]
Translatable description for OpenSearch XML

9 months agoMaintenance: Removed stray dd from last commit
Dan Brown [Sun, 29 Sep 2024 15:50:48 +0000 (16:50 +0100)]
Maintenance: Removed stray dd from last commit

9 months agoUsers: Improved user response for failed invite sending
Dan Brown [Sun, 29 Sep 2024 15:41:18 +0000 (16:41 +0100)]
Users: Improved user response for failed invite sending

Added specific handling to show relevant error message when user
creation fails due to invite sending errors, while also returning user
to the form with previous input.
Includes test to cover.

For #5195

9 months agoPages: Updated editor field to always be set
Dan Brown [Sun, 29 Sep 2024 13:36:41 +0000 (14:36 +0100)]
Pages: Updated editor field to always be set

- Migration for setting on existing pages
- Added test to cover simple new page scenario

For #5117

9 months agoExports: Made pdf command timeout configurable
Dan Brown [Fri, 27 Sep 2024 15:33:58 +0000 (16:33 +0100)]
Exports: Made pdf command timeout configurable

Added test to cover.
For #5119

9 months agoCSS: Fixed floating search icon on mobile
Dan Brown [Fri, 27 Sep 2024 15:01:01 +0000 (16:01 +0100)]
CSS: Fixed floating search icon on mobile

Also updated styles to use logical elements instead of conditional rules
for altered search boxes.
Related to #2504

9 months agoPHP Dependancies: Updated packages pending major version changes
Dan Brown [Fri, 27 Sep 2024 13:21:12 +0000 (14:21 +0100)]
PHP Dependancies: Updated packages pending major version changes

Closes #5222

9 months agoMaintenance: Fixed js lint and SCSS build warnings
Dan Brown [Fri, 27 Sep 2024 12:57:39 +0000 (13:57 +0100)]
Maintenance: Fixed js lint and SCSS build warnings

9 months agoDependancies: Updated php & JS deps, updated license lists
Dan Brown [Fri, 27 Sep 2024 11:29:19 +0000 (12:29 +0100)]
Dependancies: Updated php & JS deps, updated license lists

Fixed issue now picked up by newer TS version

9 months agoMerge branch 'lexical' into development
Dan Brown [Fri, 27 Sep 2024 11:04:01 +0000 (12:04 +0100)]
Merge branch 'lexical' into development

9 months agoMeta: Added lexical licensing info and added TS/JS CI testing 5058/head
Dan Brown [Fri, 27 Sep 2024 09:40:53 +0000 (10:40 +0100)]
Meta: Added lexical licensing info and added TS/JS CI testing

9 months agoLexical: Updated toolbar & text node exporting
Dan Brown [Mon, 23 Sep 2024 16:36:16 +0000 (17:36 +0100)]
Lexical: Updated toolbar & text node exporting

- Updated toolbar to match existing editor, including dynamic RTL/LTR
  controls.
- Updated text node handling to not include spans and extra classes when
  not needed. Added & update tests to cover.

9 months agoPage Editors: Added switching/options for new lexical editor
Dan Brown [Sun, 22 Sep 2024 19:06:55 +0000 (20:06 +0100)]
Page Editors: Added switching/options for new lexical editor

9 months agoLexical: Range of fixes
Dan Brown [Sun, 22 Sep 2024 15:15:02 +0000 (16:15 +0100)]
Lexical: Range of fixes

- Prevented ui shortcuts running in editor
- Added form modal closing on submit
- Fixed ability to escape lists via enter on empty last item

9 months agoLexical: Added UI translation support
Dan Brown [Sun, 22 Sep 2024 11:29:06 +0000 (12:29 +0100)]
Lexical: Added UI translation support

9 months agoLexical: Added direction support to extra blocks
Dan Brown [Sun, 22 Sep 2024 11:07:24 +0000 (12:07 +0100)]
Lexical: Added direction support to extra blocks

Also removed duplicated dir functionality that remained in core.

9 months agoLexical: Added alignment detoggle, fixed inital focus area
Dan Brown [Sat, 21 Sep 2024 16:02:54 +0000 (17:02 +0100)]
Lexical: Added alignment detoggle, fixed inital focus area

9 months agoLexical: Removed reconciler level direction handling
Dan Brown [Sat, 21 Sep 2024 12:00:16 +0000 (13:00 +0100)]
Lexical: Removed reconciler level direction handling

- Updated tests to consider changes

9 months agoLexical: Finished conversion/update of test files
Dan Brown [Fri, 20 Sep 2024 14:31:19 +0000 (15:31 +0100)]
Lexical: Finished conversion/update of test files

9 months agoLexical: Adapted a range of further existing tests
Dan Brown [Fri, 20 Sep 2024 12:05:29 +0000 (13:05 +0100)]
Lexical: Adapted a range of further existing tests

9 months agoLexical: Got a range of Editor tests working
Dan Brown [Wed, 18 Sep 2024 16:31:51 +0000 (17:31 +0100)]
Lexical: Got a range of Editor tests working