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

12 months agoUpdated translations with latest Crowdin changes (#5022)
Dan Brown [Mon, 10 Jun 2024 09:16:34 +0000 (10:16 +0100)]
Updated translations with latest Crowdin changes (#5022)

12 months agoMerge pull request #5036 from bradenterpstra01/development
Dan Brown [Sun, 9 Jun 2024 22:23:28 +0000 (23:23 +0100)]
Merge pull request #5036 from bradenterpstra01/development

Fixed incorrect code shortcut reference

12 months agoMerge pull request #5052 from michaelortnerit/development
Dan Brown [Sun, 9 Jun 2024 22:20:01 +0000 (23:20 +0100)]
Merge pull request #5052 from michaelortnerit/development

Update docker-compose.yml

12 months agoPages: Fixed unused changelog on first page publish
Dan Brown [Sun, 9 Jun 2024 16:18:23 +0000 (17:18 +0100)]
Pages: Fixed unused changelog on first page publish

Included test to cover.
For #5056

12 months agoDeps: Updated php packages via composer
Dan Brown [Sun, 9 Jun 2024 16:03:29 +0000 (17:03 +0100)]
Deps: Updated php packages via composer

12 months agoImages: Updated GIF handling to use native methods
Dan Brown [Sun, 9 Jun 2024 15:58:23 +0000 (16:58 +0100)]
Images: Updated GIF handling to use native methods

Changes GIF image thumbnail handling to direcly load via gd instead of
going through interventions own handling (which supports frames) since
we don't need animation for our thumbnails, and since performance issues
could arise with GIFs that have large frame counts.

For #5029

12 months agoRoles: Added max validation for role external auth id field
Dan Brown [Sat, 8 Jun 2024 19:33:34 +0000 (20:33 +0100)]
Roles: Added max validation for role external auth id field

For #5037

12 months agoAdded base node/button for details/summary
Dan Brown [Thu, 6 Jun 2024 13:43:50 +0000 (14:43 +0100)]
Added base node/button for details/summary

12 months agoLexical: Added selection to state for aligned reading
Dan Brown [Wed, 5 Jun 2024 17:43:42 +0000 (18:43 +0100)]
Lexical: Added selection to state for aligned reading

Connected up to work with image form

12 months agoLexical: Made image resize handles functional
Dan Brown [Wed, 5 Jun 2024 16:18:58 +0000 (17:18 +0100)]
Lexical: Made image resize handles functional

12 months agoLexical: Started image resize controls, Defined thorough decorator model
Dan Brown [Wed, 5 Jun 2024 12:04:49 +0000 (13:04 +0100)]
Lexical: Started image resize controls, Defined thorough decorator model

12 months agoUpdate docker-compose.yml 5052/head
Michael Ortner [Tue, 4 Jun 2024 13:07:09 +0000 (15:07 +0200)]
Update docker-compose.yml

Remove the version: because it is obsolete. See: https://docs.docker.com/compose/compose-file/04-version-and-name/#version-top-level-element-optional

12 months agoLexical: Started build of image node and decoration UI
Dan Brown [Mon, 3 Jun 2024 15:56:31 +0000 (16:56 +0100)]
Lexical: Started build of image node and decoration UI

13 months agoLexical: Created core modal functionality
Dan Brown [Sat, 1 Jun 2024 15:49:47 +0000 (16:49 +0100)]
Lexical: Created core modal functionality

13 months agoLexical: Started on form UI
Dan Brown [Thu, 30 May 2024 15:50:55 +0000 (16:50 +0100)]
Lexical: Started on form UI

13 months agoLexical: Added format previews to format buttons
Dan Brown [Thu, 30 May 2024 11:25:25 +0000 (12:25 +0100)]
Lexical: Added format previews to format buttons

13 months agoUpdate wysiwyg.blade.php 5036/head
bradenterpstra01 [Wed, 29 May 2024 22:01:48 +0000 (18:01 -0400)]
Update wysiwyg.blade.php

Remove the Shift for the numeric shortcut for incline code.

Ctrl+8 instead of Ctrl+Shift+8

I assume Mac is the same but I do not have a Mac to test with.

13 months agoLexical: Added ui container type
Dan Brown [Wed, 29 May 2024 19:38:31 +0000 (20:38 +0100)]
Lexical: Added ui container type

Structured UI logical to be fairly standard and mostly covered via
a base class that handles context and core dom work.

13 months agoLexical: Added a range of format buttons
Dan Brown [Tue, 28 May 2024 21:56:58 +0000 (22:56 +0100)]
Lexical: Added a range of format buttons

13 months agoLexical: Started UI fundementals with basic button
Dan Brown [Tue, 28 May 2024 17:04:48 +0000 (18:04 +0100)]
Lexical: Started UI fundementals with basic button

13 months agoLexical: Added custom id-supporting paragraph blocks
Dan Brown [Tue, 28 May 2024 14:09:50 +0000 (15:09 +0100)]
Lexical: Added custom id-supporting paragraph blocks

13 months agoLexical: Switched to ts for new editor build
Dan Brown [Mon, 27 May 2024 22:50:28 +0000 (23:50 +0100)]
Lexical: Switched to ts for new editor build

13 months agoLexical: Played with commands, extracted & improved callout node
Dan Brown [Mon, 27 May 2024 19:23:45 +0000 (20:23 +0100)]
Lexical: Played with commands, extracted & improved callout node

13 months agoEditors: Added lexical editor for testing
Dan Brown [Mon, 27 May 2024 14:39:41 +0000 (15:39 +0100)]
Editors: Added lexical editor for testing

Started basic playground for testing lexical as a new WYSIWYG editor.
Moved out tinymce to be under wysiwyg-tinymce instead so lexical is the
default, but TinyMce code remains.

13 months agoMFA: Tweaked backup code wording
Dan Brown [Thu, 23 May 2024 10:30:53 +0000 (11:30 +0100)]
MFA: Tweaked backup code wording

It was not clear before as it could be taken that the system would
securely store the codes.

Closes #5017

13 months agoUpdated translator & dependency attribution before release v24.05.1
Dan Brown [Tue, 21 May 2024 10:06:08 +0000 (11:06 +0100)]
Updated translator & dependency attribution before release v24.05.1

13 months agoUpdated translations with latest Crowdin changes (#4994)
Dan Brown [Tue, 21 May 2024 10:04:27 +0000 (11:04 +0100)]
Updated translations with latest Crowdin changes (#4994)

13 months agoDeps: Updated php/composer packages
Dan Brown [Mon, 20 May 2024 16:28:53 +0000 (17:28 +0100)]
Deps: Updated php/composer packages

13 months agoAuth: Changed email confirmations to use login attempt user
Dan Brown [Mon, 20 May 2024 16:23:15 +0000 (17:23 +0100)]
Auth: Changed email confirmations to use login attempt user

Negates the need for a public confirmation resend form
since we can instead just send direct to the last session login attempter.

13 months agoRoutes: Added throttling to a range of auth-related endpoints
Dan Brown [Mon, 20 May 2024 13:00:58 +0000 (14:00 +0100)]
Routes: Added throttling to a range of auth-related endpoints

Some already throttled in some means, but this adds a simple ip-based
non-request-specific layer to many endpoints.
Related to #4993

13 months agoFile Uploads: Added basic validation response formatting
Dan Brown [Sat, 18 May 2024 20:18:15 +0000 (21:18 +0100)]
File Uploads: Added basic validation response formatting

Tested via app-level validation file limit, and then also with nginx
file post limit.
For #4996

13 months agoConfig: Reverted change to cache directory
Dan Brown [Sat, 18 May 2024 19:40:26 +0000 (20:40 +0100)]
Config: Reverted change to cache directory

Change made during Laravel 10 updates to align (Laravel made this change
much earlier in 5.x series) but it caused issues due to folder not
pre-existing and due to potentiall permission issues.
(CLI could create this during update, with non-compatible permissions
for webserver).

For #4999

13 months agoDark Mode: Fixed setting labels missing dark mode handling
Dan Brown [Sat, 18 May 2024 19:37:49 +0000 (20:37 +0100)]
Dark Mode: Fixed setting labels missing dark mode handling

Fixes #5018

13 months agoWYSIWYG: Added justify cell range cleanup
Dan Brown [Thu, 16 May 2024 13:54:44 +0000 (14:54 +0100)]
WYSIWYG: Added justify cell range cleanup

To help override & gain control of setting text alignment in tables.

- Adds support of clearing "align" attributes in certain operations.
- Updates cell range action handling to dedupe execcommand handling.
- Adds clearing of additional alignment classes on direction control.

Closes #5011