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

10 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

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

10 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

10 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

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

10 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

10 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

10 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

10 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

10 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

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

10 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

10 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

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

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

10 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

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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

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

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

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

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

11 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

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

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

11 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

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

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

11 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

11 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

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

11 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

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

11 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

11 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

11 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

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

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

11 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

11 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

11 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

11 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

11 months agoWraps file extension comparison components in strtolower()
DanielGordonIT [Wed, 3 Jul 2024 19:50:25 +0000 (15:50 -0400)]
Wraps file extension comparison components in strtolower()
This avoids the issue where replacing file.PNG with newfile.png fails due to "PNG" not being equal to "png"

11 months agoJS: Converted come common services to typescript
Dan Brown [Wed, 3 Jul 2024 10:00:57 +0000 (11:00 +0100)]
JS: Converted come common services to typescript

11 months agoLexical: Started diagram support
Dan Brown [Wed, 3 Jul 2024 09:28:04 +0000 (10:28 +0100)]
Lexical: Started diagram support

12 months agoLexical: Linked code block to editor, added button
Dan Brown [Tue, 2 Jul 2024 16:34:03 +0000 (17:34 +0100)]
Lexical: Linked code block to editor, added button

12 months agoLexical: Started code block node implementation
Dan Brown [Tue, 2 Jul 2024 13:46:30 +0000 (14:46 +0100)]
Lexical: Started code block node implementation

12 months agoLexical: Started loading real content, Improved html loading
Dan Brown [Mon, 1 Jul 2024 14:10:22 +0000 (15:10 +0100)]
Lexical: Started loading real content, Improved html loading

Added more styling/layout for buttons and main content area

12 months agoLexical: Added tracked container, added fullscreen action
Dan Brown [Mon, 1 Jul 2024 09:44:23 +0000 (10:44 +0100)]
Lexical: Added tracked container, added fullscreen action

Changed how the editor is loaded in, so it now creates its own DOM, and
content is passed via creation function, to be better self-contained.

12 months agoLexical: Added context toolbar placement, added link toolbar
Dan Brown [Sun, 30 Jun 2024 18:52:09 +0000 (19:52 +0100)]
Lexical: Added context toolbar placement, added link toolbar

Also added some basic context toolbar styling

12 months agoLexical: Added base context toolbar logic
Dan Brown [Sun, 30 Jun 2024 11:13:13 +0000 (12:13 +0100)]
Lexical: Added base context toolbar logic

12 months agoLexical: Reorganised some logic into manager
Dan Brown [Sun, 30 Jun 2024 09:31:39 +0000 (10:31 +0100)]
Lexical: Reorganised some logic into manager

12 months agoReadme: Added sponsor practinet
Dan Brown [Fri, 28 Jun 2024 21:28:06 +0000 (22:28 +0100)]
Readme: Added sponsor practinet

12 months agoLexical: Added overflow container
Dan Brown [Thu, 27 Jun 2024 15:28:06 +0000 (16:28 +0100)]
Lexical: Added overflow container

12 months agoLexical: Added horizontal rule node
Dan Brown [Thu, 27 Jun 2024 14:48:06 +0000 (15:48 +0100)]
Lexical: Added horizontal rule node

12 months agoLexical: Completed initial table cell resize handle logic
Dan Brown [Wed, 26 Jun 2024 16:22:00 +0000 (17:22 +0100)]
Lexical: Completed initial table cell resize handle logic

12 months agoLexical: Linked up table resize handler (unfinished)
Dan Brown [Wed, 26 Jun 2024 12:52:00 +0000 (13:52 +0100)]
Lexical: Linked up table resize handler (unfinished)

12 months agoLexical: Extracted mouse drag tracking to new helper
Dan Brown [Tue, 25 Jun 2024 17:33:29 +0000 (18:33 +0100)]
Lexical: Extracted mouse drag tracking to new helper

12 months agoLexical: Created custom table node with col width handling
Dan Brown [Mon, 24 Jun 2024 19:50:17 +0000 (20:50 +0100)]
Lexical: Created custom table node with col width handling

12 months agoLexical: Added more icons, made reflective text/bg color buttons
Dan Brown [Sun, 23 Jun 2024 14:50:41 +0000 (15:50 +0100)]
Lexical: Added more icons, made reflective text/bg color buttons

12 months agoLexical: Updated lexical, added undo state tracking, format styles
Dan Brown [Sun, 23 Jun 2024 10:36:48 +0000 (11:36 +0100)]
Lexical: Updated lexical, added undo state tracking, format styles

12 months agoLexical: Added table creator UI
Dan Brown [Fri, 21 Jun 2024 15:18:44 +0000 (16:18 +0100)]
Lexical: Added table creator UI

12 months agoLexical: Added base table support and started resize handling
Dan Brown [Fri, 21 Jun 2024 12:47:47 +0000 (13:47 +0100)]
Lexical: Added base table support and started resize handling

12 months agoLexical: Added button icon system
Dan Brown [Wed, 19 Jun 2024 19:00:29 +0000 (20:00 +0100)]
Lexical: Added button icon system

With a bunch of default icons

12 months agoLexical: Added basic list button/support
Dan Brown [Wed, 19 Jun 2024 15:14:20 +0000 (16:14 +0100)]
Lexical: Added basic list button/support

12 months agoSponsors: Added Schroeck IT Consulting
Dan Brown [Thu, 13 Jun 2024 15:46:39 +0000 (16:46 +0100)]
Sponsors: Added Schroeck IT Consulting

12 months agoAdd ALLOWED_IFRAME_SOURCES to phpunit.xml 5069/head
Stefan Mueller [Thu, 13 Jun 2024 10:41:05 +0000 (12:41 +0200)]
Add ALLOWED_IFRAME_SOURCES to phpunit.xml

Fix for bug #5068
test_frame_src_csp_header_set fails, when .env-file has
customized ALLOWED_IFRAME_SOURCES

12 months agoLexical: Added color picker controls
Dan Brown [Wed, 12 Jun 2024 18:51:42 +0000 (19:51 +0100)]
Lexical: Added color picker controls

12 months agoLexical: Added clear formatting button
Dan Brown [Wed, 12 Jun 2024 13:24:50 +0000 (14:24 +0100)]
Lexical: Added clear formatting button

12 months agoLexical: Added view/edit source code button/form/action
Dan Brown [Wed, 12 Jun 2024 13:01:36 +0000 (14:01 +0100)]
Lexical: Added view/edit source code button/form/action

12 months agoUpdated translator & dependency attribution before release v24.05.2
Dan Brown [Mon, 10 Jun 2024 10:42:37 +0000 (11:42 +0100)]
Updated translator & dependency attribution before release v24.05.2

12 months agoSAML: Set static type to pass static checks
Dan Brown [Mon, 10 Jun 2024 09:31:35 +0000 (10:31 +0100)]
SAML: Set static type to pass static checks

Not totally clear if underlying code can actually return null, but
playing it safe to remain as-is for now for patch release.