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

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

9 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

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

10 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

10 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

10 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

10 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

10 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

10 months agoLexical: Split helpers to utils, refactored files
Dan Brown [Sat, 3 Aug 2024 17:14:01 +0000 (18:14 +0100)]
Lexical: Split helpers to utils, refactored files

10 months agoLexical: Completed out table menu elements, logic pending
Dan Brown [Sat, 3 Aug 2024 17:01:54 +0000 (18:01 +0100)]
Lexical: Completed out table menu elements, logic pending

10 months agoLexical: Started on table actions
Dan Brown [Fri, 2 Aug 2024 14:28:54 +0000 (15:28 +0100)]
Lexical: Started on table actions

Started building table cell form/actions

10 months agoLexical: Started table menu options
Dan Brown [Fri, 2 Aug 2024 10:16:54 +0000 (11:16 +0100)]
Lexical: Started table menu options

Updated UI elements to handle new scenarios needed in more complex table
menu

10 months agoLexical: Updated task list to use/support old format
Dan Brown [Tue, 30 Jul 2024 13:42:19 +0000 (14:42 +0100)]
Lexical: Updated task list to use/support old format

10 months agoLexical: Linked up change/draft management
Dan Brown [Mon, 29 Jul 2024 20:43:20 +0000 (21:43 +0100)]
Lexical: Linked up change/draft management

10 months agoLexical: Got working with attachment insert/drop
Dan Brown [Mon, 29 Jul 2024 20:14:42 +0000 (21:14 +0100)]
Lexical: Got working with attachment insert/drop

10 months agoLexical: Started drop handling, handled templates
Dan Brown [Mon, 29 Jul 2024 14:27:41 +0000 (15:27 +0100)]
Lexical: Started drop handling, handled templates

10 months agoLexical: Added form complex/tab ui support
Dan Brown [Sun, 28 Jul 2024 11:48:58 +0000 (12:48 +0100)]
Lexical: Added form complex/tab ui support

10 months agoLexical: Got media node core work & form done
Dan Brown [Sat, 27 Jul 2024 16:25:30 +0000 (17:25 +0100)]
Lexical: Got media node core work & form done

10 months agoLexical: Started media node support
Dan Brown [Thu, 25 Jul 2024 15:25:08 +0000 (16:25 +0100)]
Lexical: Started media node support

10 months agoLexical: Added common events support
Dan Brown [Tue, 23 Jul 2024 14:35:18 +0000 (15:35 +0100)]
Lexical: Added common events support

10 months agoLexical: Improved table resize bars
Dan Brown [Tue, 23 Jul 2024 11:45:58 +0000 (12:45 +0100)]
Lexical: Improved table resize bars

Added scoll & page resize handling.
Added cropping/limiting to edit area.

10 months agoReadme: Added route4me sponsorship
Dan Brown [Mon, 22 Jul 2024 15:51:56 +0000 (16:51 +0100)]
Readme: Added route4me sponsorship

10 months agoLexical: Added table toolbar, organised button code
Dan Brown [Sun, 21 Jul 2024 14:11:24 +0000 (15:11 +0100)]
Lexical: Added table toolbar, organised button code

10 months agoLexical: Added toolbar scroll/resize handling
Dan Brown [Fri, 19 Jul 2024 17:12:51 +0000 (18:12 +0100)]
Lexical: Added toolbar scroll/resize handling

Also added smarter above/below positioning to respond if toolbar would
be off the bottom of the editor, and added hide/show when they'd go
outside editor scroll bounds.

10 months agoLexical: Finished up core drawing insert/editing
Dan Brown [Fri, 19 Jul 2024 11:09:41 +0000 (12:09 +0100)]
Lexical: Finished up core drawing insert/editing

Added new options that sits on the context, for things needed but not
for the core editor, which are defined out of the editor (drawio URL,
error message text, pageId etc...)

10 months agoJS: Converted http service to ts
Dan Brown [Thu, 18 Jul 2024 14:13:14 +0000 (15:13 +0100)]
JS: Converted http service to ts

10 months agoLexical: Started converting drawio to TS
Dan Brown [Thu, 18 Jul 2024 10:19:11 +0000 (11:19 +0100)]
Lexical: Started converting drawio to TS

Converted events service to TS as part of this.

10 months agoLexical: Standardised helper function format
Dan Brown [Wed, 17 Jul 2024 15:45:57 +0000 (16:45 +0100)]
Lexical: Standardised helper function format

10 months agoLexical: Added list support, started todo
Dan Brown [Wed, 17 Jul 2024 15:38:20 +0000 (16:38 +0100)]
Lexical: Added list support, started todo

10 months agoDev compose: Set image versions, removed unsupported mysql flag
Dan Brown [Wed, 17 Jul 2024 10:13:39 +0000 (11:13 +0100)]
Dev compose: Set image versions, removed unsupported mysql flag

Quick local test performed, ran a working instance.
For #5124

10 months agoLexical: Added code block selection & edit features
Dan Brown [Tue, 16 Jul 2024 15:36:08 +0000 (16:36 +0100)]
Lexical: Added code block selection & edit features

Also added extra lifecycle handling for decorators to things can be
properly cleaned up after node destruction.

10 months agoUpdated translator & dependency attribution before release v24.05.3
Dan Brown [Sun, 14 Jul 2024 16:09:41 +0000 (17:09 +0100)]
Updated translator & dependency attribution before release v24.05.3

10 months agoUpdated translations with latest Crowdin changes (#5065)
Dan Brown [Sun, 14 Jul 2024 15:39:50 +0000 (16:39 +0100)]
Updated translations with latest Crowdin changes (#5065)

10 months agoCodemirror: Enabled non-standard self-closing tags
Dan Brown [Sun, 14 Jul 2024 15:36:36 +0000 (16:36 +0100)]
Codemirror: Enabled non-standard self-closing tags

For #5078

10 months agoCSP: Updated handling of drawio URL to consider port
Dan Brown [Sun, 14 Jul 2024 15:06:18 +0000 (16:06 +0100)]
CSP: Updated handling of drawio URL to consider port

Previously if a custom port was used in the DRAWIO option it would not
be considered in the CSP handling, which would block loading.

Added test to cover.
For #5107

10 months agoOIDC: Fixed incorrect detection of group detail population
Dan Brown [Sun, 14 Jul 2024 13:21:16 +0000 (14:21 +0100)]
OIDC: Fixed incorrect detection of group detail population

An empty (but valid formed) groups list provided via the OIDC ID token
would be considered as a lacking detail, and therefore trigger a lookup
to the userinfo endpoint in an attempt to get that information.

This fixes this to properly distinguish between not-provided and empty
state, to avoid userinfo where provided as valid but empty.

Includes test to cover.
For #5101

10 months agoDependancies: Updated composer & npm deps
Dan Brown [Sun, 14 Jul 2024 12:55:46 +0000 (13:55 +0100)]
Dependancies: Updated composer & npm deps

10 months agoMerge pull request #5096 from DanielGordonIT/normalize-file-extensions
Dan Brown [Sun, 14 Jul 2024 12:51:55 +0000 (13:51 +0100)]
Merge pull request #5096 from DanielGordonIT/normalize-file-extensions

Wraps file extension comparison components in strtolower()

10 months agoStyles: Improved callout RTL support
Dan Brown [Sun, 14 Jul 2024 11:20:06 +0000 (12:20 +0100)]
Styles: Improved callout RTL support

Will now adapt using logical styles where supported, will fallbacks
to old fixed LTR positioning where not supported.
For #5104

10 months agoMerge pull request #5069 from mueller-contria/5068-allowed_iframe_sources_in_phpunit_xml
Dan Brown [Sun, 14 Jul 2024 11:06:17 +0000 (12:06 +0100)]
Merge pull request #5069 from mueller-contria/5068-allowed_iframe_sources_in_phpunit_xml

Add ALLOWED_IFRAME_SOURCES to phpunit.xml

10 months agoLexical: Added initial form/modal styles
Dan Brown [Tue, 9 Jul 2024 19:49:47 +0000 (20:49 +0100)]
Lexical: Added initial form/modal styles

10 months agoReadme: Added sponsor, removed road map section 5115/head
Dan Brown [Tue, 9 Jul 2024 13:37:29 +0000 (14:37 +0100)]
Readme: Added sponsor, removed road map section

Road map section was very much outdated and redundant so removing to
avoid confusion.

11 months agoActually add the test this time 5096/head
DanielGordonIT [Fri, 5 Jul 2024 03:59:49 +0000 (03:59 +0000)]
Actually add the test this time

11 months agoAdd test to verify different case on extensions works
DanielGordonIT [Thu, 4 Jul 2024 23:48:12 +0000 (19:48 -0400)]
Add test to verify different case on extensions works

11 months agoLexical: Worked on toolbar styling, got format submenu working
Dan Brown [Thu, 4 Jul 2024 15:16:16 +0000 (16:16 +0100)]
Lexical: Worked on toolbar styling, got format submenu working

11 months agoLexical: Linked up saving logic of editor via interface
Dan Brown [Thu, 4 Jul 2024 12:09:53 +0000 (13:09 +0100)]
Lexical: Linked up saving logic of editor via interface

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