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

6 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

6 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

6 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

6 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.

6 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

6 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

6 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

6 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.

6 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

6 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.

6 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

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

7 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.

7 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.

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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.

7 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

7 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

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

7 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

7 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

7 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

7 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

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

7 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.

7 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

7 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.

7 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.

7 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.

7 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

7 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

7 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

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

7 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

7 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.

7 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

7 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.

7 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.

7 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

7 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

7 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.

7 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

7 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

7 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

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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

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

8 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

8 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.

8 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

8 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

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

8 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.

8 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

8 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

8 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

8 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

8 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

8 months agoLexical: Imported core lexical libs
Dan Brown [Wed, 18 Sep 2024 12:43:39 +0000 (13:43 +0100)]
Lexical: Imported core lexical libs

Imported at 0.17.1, Modified to work in-app.
Added & configured test dependancies.
Tests need to be altered to avoid using non-included deps including
react dependancies.

8 months agoLexical: Added RTL/LTR actions
Dan Brown [Mon, 16 Sep 2024 11:29:46 +0000 (12:29 +0100)]
Lexical: Added RTL/LTR actions

Kinda useless though due to Lexical reconciler :(

8 months agoLexical: Fixed a range of issues in RTL mode
Dan Brown [Sun, 15 Sep 2024 15:10:46 +0000 (16:10 +0100)]
Lexical: Fixed a range of issues in RTL mode

8 months agoLimit short-name for OpenSearch XML to 16 characters
Maximilian Walter [Sat, 14 Sep 2024 13:31:56 +0000 (15:31 +0200)]
Limit short-name for OpenSearch XML to 16 characters

The specification does not allow more than 16 characters.

8 months agoRemove unofficial method-attribute from OpenSearch-XML
Maximilian Walter [Sat, 14 Sep 2024 13:24:42 +0000 (15:24 +0200)]
Remove unofficial method-attribute from OpenSearch-XML

8 months agoLexical: Altered keyboard handling to indicant handled state
Dan Brown [Fri, 13 Sep 2024 15:05:55 +0000 (16:05 +0100)]
Lexical: Altered keyboard handling to indicant handled state

8 months agoLexical: Custom list nesting support
Dan Brown [Fri, 13 Sep 2024 14:50:42 +0000 (15:50 +0100)]
Lexical: Custom list nesting support

Added list nesting support to allow li > ul style nesting which lexical
didn't do by default.
Adds tab handling for inset/outset controls.
Will be a range of edge-case bugs to squash during testing.

8 months agoLexical: Added block indenting capability
Dan Brown [Tue, 10 Sep 2024 14:55:46 +0000 (15:55 +0100)]
Lexical: Added block indenting capability

Needed a custom implementation due to hardcoded defaults for Lexical
default indenting.

8 months agoLexical: Added single node enter handling
Dan Brown [Tue, 10 Sep 2024 11:14:26 +0000 (12:14 +0100)]
Lexical: Added single node enter handling

Also updated media to be an inline element to align with old editor
behaviour.

8 months agoAdd XML for OpenSearch
Maximilian Walter [Mon, 9 Sep 2024 20:54:33 +0000 (22:54 +0200)]
Add XML for OpenSearch

8 months agoLexical: Added single node backspace/delete support
Dan Brown [Mon, 9 Sep 2024 17:33:54 +0000 (18:33 +0100)]
Lexical: Added single node backspace/delete support

8 months agoLexical: Refined editor UI
Dan Brown [Mon, 9 Sep 2024 13:06:41 +0000 (14:06 +0100)]
Lexical: Refined editor UI

- Cleaned up dropdown lists to look integrated
- Added icons for color picker clear and menu list items

8 months agoLexical: Further fixes
Dan Brown [Mon, 9 Sep 2024 11:28:01 +0000 (12:28 +0100)]
Lexical: Further fixes

- Improved node resizer positioning to be more accurate
- Fixed drop handling not running within editor margin space
- Made media dom update smarter to reduce reloads
- Fixed media alignment, broken due to added wrapper

8 months agoLexical: Range of bug fixes, Updated lexical version
Dan Brown [Sun, 8 Sep 2024 14:54:59 +0000 (15:54 +0100)]
Lexical: Range of bug fixes, Updated lexical version

- Updated selection change detection to be more accurate
- Added UI refresh for extra actions
- Fixed remove link deleting contents

8 months agoLexical: Added media resize support via drag handles
Dan Brown [Sun, 8 Sep 2024 12:37:13 +0000 (13:37 +0100)]
Lexical: Added media resize support via drag handles

8 months agoLexical: Revamped image node resize method
Dan Brown [Sat, 7 Sep 2024 17:39:58 +0000 (18:39 +0100)]
Lexical: Revamped image node resize method

Changed from using a decorator to using a helper that watches for image
selections to then display a resize helper.
Also changes resizer to use a ghost and apply changes on end instead of
continuosly during resize.

8 months agoLexical: Added some level of img/media alignment
Dan Brown [Fri, 6 Sep 2024 13:07:10 +0000 (14:07 +0100)]
Lexical: Added some level of img/media alignment

9 months agoMerge branch 'development' of github.com:BookStackApp/BookStack into development
Dan Brown [Thu, 29 Aug 2024 14:28:52 +0000 (15:28 +0100)]
Merge branch 'development' of github.com:BookStackApp/BookStack into development

9 months agoUpdated translations with latest Crowdin changes (#5118)
Dan Brown [Thu, 29 Aug 2024 14:08:27 +0000 (15:08 +0100)]
Updated translations with latest Crowdin changes (#5118)

9 months agoAPI: Fixed lacking permission enforcement on book contents
Dan Brown [Thu, 29 Aug 2024 13:43:21 +0000 (14:43 +0100)]
API: Fixed lacking permission enforcement on book contents

9 months agoLDAP: Updated tests for recursive group changes
Dan Brown [Wed, 28 Aug 2024 20:16:18 +0000 (21:16 +0100)]
LDAP: Updated tests for recursive group changes

9 months agoLDAP: Updated recursive group search to query by DN
Dan Brown [Wed, 28 Aug 2024 14:39:05 +0000 (15:39 +0100)]
LDAP: Updated recursive group search to query by DN

Added test to cover, added pre-change.
Need to test post-changes and fix tests.

9 months agoRTL: Fixed lacking task list RTL support
Dan Brown [Tue, 27 Aug 2024 13:13:33 +0000 (14:13 +0100)]
RTL: Fixed lacking task list RTL support

Added with fallback to old LTR styles.
For #5134

9 months agoStyles: Added max-width for iframes in content
Dan Brown [Tue, 27 Aug 2024 12:32:16 +0000 (13:32 +0100)]
Styles: Added max-width for iframes in content

For #5130

9 months agoAPI: Updated docs with consistent types, fixed users response example
Dan Brown [Tue, 27 Aug 2024 11:23:36 +0000 (12:23 +0100)]
API: Updated docs with consistent types, fixed users response example

For #5178 and #5183

9 months agoDependancies: Updated PHP and JS packages
Dan Brown [Mon, 26 Aug 2024 10:49:02 +0000 (11:49 +0100)]
Dependancies: Updated PHP and JS packages

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