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

7 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

7 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

7 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

9 months agoLexical: Added table column cut/copy/paste support
Dan Brown [Thu, 22 Aug 2024 12:28:30 +0000 (13:28 +0100)]
Lexical: Added table column cut/copy/paste support

9 months agoLexical: Improved table row copy/paste
Dan Brown [Thu, 22 Aug 2024 09:08:08 +0000 (10:08 +0100)]
Lexical: Improved table row copy/paste

Added safeguarding/matching of source/target sizes to prevent broken
tables.

9 months agoLexical: Added drop/paste image handling
Dan Brown [Wed, 21 Aug 2024 11:59:45 +0000 (12:59 +0100)]
Lexical: Added drop/paste image handling

9 months agoLexical: Finished off baseline shortcut implementation
Dan Brown [Tue, 20 Aug 2024 13:54:53 +0000 (14:54 +0100)]
Lexical: Finished off baseline shortcut implementation

9 months agoLexical: Started adding editor shortcuts
Dan Brown [Tue, 20 Aug 2024 12:07:33 +0000 (13:07 +0100)]
Lexical: Started adding editor shortcuts

9 months agoLexical: Added custom alignment handling for blocks
Dan Brown [Sun, 18 Aug 2024 15:51:08 +0000 (16:51 +0100)]
Lexical: Added custom alignment handling for blocks

To align with pre-existing use of alignment classes.

9 months agoLexical: Integrated diagram manager, added menu split button
Dan Brown [Sat, 17 Aug 2024 09:48:34 +0000 (10:48 +0100)]
Lexical: Integrated diagram manager, added menu split button

9 months agoLexical: Added basic URL field header option list
Dan Brown [Fri, 16 Aug 2024 11:29:40 +0000 (12:29 +0100)]
Lexical: Added basic URL field header option list

May show bad option label names on chrome/safari.
This was an easy first pass without loads of extra custom UI since we're
using native datalists.

9 months agoLexical: Connected link selector to link form
Dan Brown [Fri, 16 Aug 2024 10:22:12 +0000 (11:22 +0100)]
Lexical: Connected link selector to link form

9 months agoLexical: Integrated image manager to image button/form
Dan Brown [Tue, 13 Aug 2024 18:36:18 +0000 (19:36 +0100)]
Lexical: Integrated image manager to image button/form

9 months agoLexical: Added id support for all main block types
Dan Brown [Sun, 11 Aug 2024 15:08:51 +0000 (16:08 +0100)]
Lexical: Added id support for all main block types

9 months agoLexical: Wired table properties, and other buttons
Dan Brown [Sat, 10 Aug 2024 12:14:55 +0000 (13:14 +0100)]
Lexical: Wired table properties, and other buttons

9 months agoLexical: Kinda made row copy/paste work
Dan Brown [Fri, 9 Aug 2024 20:58:45 +0000 (21:58 +0100)]
Lexical: Kinda made row copy/paste work

9 months agoLexical: Linked row properties form up
Dan Brown [Fri, 9 Aug 2024 11:42:04 +0000 (12:42 +0100)]
Lexical: Linked row properties form up

9 months agoLexical: Added cell width fetching, Created custom row node
Dan Brown [Fri, 9 Aug 2024 10:24:25 +0000 (11:24 +0100)]
Lexical: Added cell width fetching, Created custom row node

9 months agoLexical: Added merge cell logic
Dan Brown [Wed, 7 Aug 2024 19:32:54 +0000 (20:32 +0100)]
Lexical: Added merge cell logic

9 months agoReadme: Updated sponsor image links to use website
Dan Brown [Wed, 7 Aug 2024 09:53:20 +0000 (10:53 +0100)]
Readme: Updated sponsor image links to use website

9 months agoUpdate sponsor image URLs in readme 5153/head
Alexander Wilms [Tue, 6 Aug 2024 23:28:21 +0000 (23:28 +0000)]
Update sponsor image URLs in readme

9 months agoLexical: Added table cell node import logic
Dan Brown [Tue, 6 Aug 2024 08:36:37 +0000 (09:36 +0100)]
Lexical: Added table cell node import logic

9 months agoLexical: Finished off core cell properties functionality
Dan Brown [Mon, 5 Aug 2024 17:49:17 +0000 (18:49 +0100)]
Lexical: Finished off core cell properties functionality

9 months agoLexical: Started linking up cell properties form
Dan Brown [Mon, 5 Aug 2024 14:08:52 +0000 (15:08 +0100)]
Lexical: Started linking up cell properties form

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