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

13 months agoDevdocs: Fixed visual theme system lang folder reference
Dan Brown [Thu, 16 May 2024 13:15:26 +0000 (14:15 +0100)]
Devdocs: Fixed visual theme system lang folder reference

Made some other minor updates while there.
Fixes #4998

13 months agoMerge pull request #5008 from KiDxS/fix-notification-preferences-url-in-email
Dan Brown [Thu, 16 May 2024 13:11:15 +0000 (14:11 +0100)]
Merge pull request #5008 from KiDxS/fix-notification-preferences-url-in-email

Fixed notification preferences URL in email

13 months agoFixed notification preferences URL in email 5008/head
Angelo Geant Gaviola [Tue, 14 May 2024 09:04:23 +0000 (17:04 +0800)]
Fixed notification preferences URL in email

13 months agoUpdated translator & dependency attribution before release v24.05
Dan Brown [Sat, 11 May 2024 14:47:38 +0000 (15:47 +0100)]
Updated translator & dependency attribution before release v24.05

13 months agoUpdated translations with latest Crowdin changes (#4890)
Dan Brown [Sat, 11 May 2024 14:15:10 +0000 (15:15 +0100)]
Updated translations with latest Crowdin changes (#4890)

13 months agoReadme: Updated sponsor list
Dan Brown [Fri, 10 May 2024 10:02:20 +0000 (11:02 +0100)]
Readme: Updated sponsor list

13 months agoDeps: Updated composer dependencies
Dan Brown [Sun, 5 May 2024 15:30:04 +0000 (16:30 +0100)]
Deps: Updated composer dependencies

13 months agoMerge pull request #4987 from BookStackApp/audit_api
Dan Brown [Sun, 5 May 2024 15:14:09 +0000 (16:14 +0100)]
Merge pull request #4987 from BookStackApp/audit_api

Addition of Audit Log API Endpoint

13 months agoAudit Log: Fixed bad reference to linked entity item 4987/head
Dan Brown [Sun, 5 May 2024 15:05:21 +0000 (16:05 +0100)]
Audit Log: Fixed bad reference to linked entity item

13 months agoAPI: Added to, and updated, testing to cover audit log additions
Dan Brown [Sun, 5 May 2024 14:44:58 +0000 (15:44 +0100)]
API: Added to, and updated, testing to cover audit log additions

13 months agoAPI: Added audit log list endpoint
Dan Brown [Sat, 4 May 2024 15:28:18 +0000 (16:28 +0100)]
API: Added audit log list endpoint

Not yested covered with testing.
Changes database columns for more presentable names and for future use
to connect additional model types.
For #4316

13 months agoMerge branch 'nesges/development' into development
Dan Brown [Sat, 4 May 2024 13:00:40 +0000 (14:00 +0100)]
Merge branch 'nesges/development' into development

13 months agoRegistration: Reviewed added simple honeypot, added testing
Dan Brown [Sat, 4 May 2024 12:59:41 +0000 (13:59 +0100)]
Registration: Reviewed added simple honeypot, added testing

Also cleaned up old RegistrationController syntax.
Review of #4970

13 months agoMerge pull request #4972 from johnroyer/fix-typo-in-language-file
Dan Brown [Fri, 3 May 2024 18:16:23 +0000 (19:16 +0100)]
Merge pull request #4972 from johnroyer/fix-typo-in-language-file

remove space at the beginning of description

13 months agoMerge branch 'development' of github.com:BookStackApp/BookStack into development
Dan Brown [Fri, 3 May 2024 12:40:18 +0000 (13:40 +0100)]
Merge branch 'development' of github.com:BookStackApp/BookStack into development

13 months agoWYSIWYG: Added text direction support for code editor popup
Dan Brown [Fri, 3 May 2024 12:35:30 +0000 (13:35 +0100)]
WYSIWYG: Added text direction support for code editor popup

Editor popup will now reflect the direction of the opened code block.
This also updates in-editor codemirror instances to correcly reflect/use
the direction if set on the inner code elem.

This also defaults new code blocks, when in RTL languages, to be started
in LTR, which can then be changed via in-editor direction controls if
needed. This is on the assumption that most code will be LTR (could not
find much examples of RTL code use).

Fixes #4943

14 months agoMerge pull request #4985 from BookStackApp/ldap_ca_cert_control
Dan Brown [Thu, 2 May 2024 22:16:16 +0000 (23:16 +0100)]
Merge pull request #4985 from BookStackApp/ldap_ca_cert_control

LDAP CA TLS Cert Option, PR Review and continuation

14 months agoLDAP: Review, testing and update of LDAP TLS CA cert control 4985/head
Dan Brown [Thu, 2 May 2024 21:56:51 +0000 (22:56 +0100)]
LDAP: Review, testing and update of LDAP TLS CA cert control

Review of #4913
Added testing to cover option.
Updated option so it can be used for a CA directory, or a CA file.
Updated option name to be somewhat abstracted from original underling
PHP option.

Tested against Jumpcloud.
Testing took hours due to instability which was due to these settings
sticking and being unstable on change until php process restart.
Also due to little documentation for these options.
X_TLS_CACERTDIR option needs cert files to be named via specific hashes
which can be achieved via c_rehash utility.

This also adds detail on STARTTLS failure, which took a long time to
discover due to little detail out there for deeper PHP LDAP debugging.

14 months agoWYSWIYG: Fixed misaligned table cell p line height
Dan Brown [Thu, 2 May 2024 14:20:51 +0000 (15:20 +0100)]
WYSWIYG: Fixed misaligned table cell p line height

Removes an editor-specific line-height which was overriding cell
paragraph line height, causing mis-aligned style compared to viewing.
Checked a range of styles and looked at history, could not see original
purpose of the line-height removed here.
Closes #4960

14 months agoWYSWIYG: Improved use of object tags to embed content
Dan Brown [Wed, 1 May 2024 16:20:45 +0000 (17:20 +0100)]
WYSWIYG: Improved use of object tags to embed content

- Prevented image toolbars showing for objects embeds due to tinymce
  image placeholder, and added media toolbar.
- Fixed height of object embed placeholder being forced to auto
  when in the editor, allowing height attributed to be properly
  reflected as it would on normal page view.

Closes #4974

14 months agoAttachments: Fixed drag into editor in Chrome
Dan Brown [Mon, 29 Apr 2024 18:21:13 +0000 (19:21 +0100)]
Attachments: Fixed drag into editor in Chrome

Seemed to be chrome specific from testing.
Required editors to have preventDefault called on dragover.
Tested in Chrome, FF, & Safari.
Tested in both editors, and re-tested text/image drop to ensure still
works.

Fixed #4975

14 months agoWYSIWYG: Fixed unexpected clearing of table cell styles
Dan Brown [Mon, 29 Apr 2024 16:44:56 +0000 (17:44 +0100)]
WYSIWYG: Fixed unexpected clearing of table cell styles

Fixes custom table cell clear-format handling since it was being called
on many format removals, not just the clear-formatting action.
This updates the code to specifically run on the RemoveFormat action
which is triggered by the clear formatting button.
Fixes #4964

14 months agoLDAP: Updated default user filter placeholder format 4978/head
Dan Brown [Sun, 28 Apr 2024 11:29:57 +0000 (12:29 +0100)]
LDAP: Updated default user filter placeholder format

To not conflict with env variables, and to align with placeholders used
for PDF gen command.
Added test to cover, including old format supported for
back-compatibility.
For #4967

14 months agoMerge pull request #4969 from BookStackApp/pdf_command_option
Dan Brown [Fri, 26 Apr 2024 16:06:38 +0000 (17:06 +0100)]
Merge pull request #4969 from BookStackApp/pdf_command_option

PDF Exports: New command option and library/option cleanup

14 months agoPDF: Added tests for pdf command, fixed old tests for changes 4969/head
Dan Brown [Fri, 26 Apr 2024 14:39:40 +0000 (15:39 +0100)]
PDF: Added tests for pdf command, fixed old tests for changes

14 months agoremove space at the beginning of description 4972/head
Zero [Thu, 25 Apr 2024 05:35:36 +0000 (13:35 +0800)]
remove space at the beginning of description

14 months agoPDF: Added implmentation of command PDF option
Dan Brown [Wed, 24 Apr 2024 15:09:53 +0000 (16:09 +0100)]
PDF: Added implmentation of command PDF option

Tested quickly manually but not yet covered by PHPUnit tests.

14 months agoPDF: Removed barryvdh snappy to use snappy direct
Dan Brown [Wed, 24 Apr 2024 14:13:44 +0000 (15:13 +0100)]
PDF: Removed barryvdh snappy to use snappy direct

Also simplifies config format, and updates snappy implmentation to use
the new config file.
Not yet tested.

14 months agoPDF: Started new command option, merged options, simplified dompdf
Dan Brown [Mon, 22 Apr 2024 15:40:42 +0000 (16:40 +0100)]
PDF: Started new command option, merged options, simplified dompdf

- Updated DOMPDF to direcly use library instead of depending on barry
wrapper.
- Merged existing export options file into single exports file.
- Defined option for new command option.

Related to #4732

14 months agowhitespace only 4970/head
nesges [Sun, 21 Apr 2024 15:44:01 +0000 (17:44 +0200)]
whitespace only

14 months agobetter accessibility for honepot formfield
nesges [Sun, 21 Apr 2024 14:08:28 +0000 (16:08 +0200)]
better accessibility for honepot formfield

14 months agoMerge pull request #4955 from BookStackApp/oidc_userinfo
Dan Brown [Fri, 19 Apr 2024 15:55:29 +0000 (16:55 +0100)]
Merge pull request #4955 from BookStackApp/oidc_userinfo

OIDC userinfo endpoint support

14 months agoOIDC Userinfo: Fixed issues with validation logic from changes 4955/head
Dan Brown [Fri, 19 Apr 2024 15:43:51 +0000 (16:43 +0100)]
OIDC Userinfo: Fixed issues with validation logic from changes

Also updated test to suit validation changes

14 months agoOIDC Userinfo: Added additional tests to cover jwks usage
Dan Brown [Fri, 19 Apr 2024 14:05:00 +0000 (15:05 +0100)]
OIDC Userinfo: Added additional tests to cover jwks usage

14 months agoOIDC Userinfo: Added JWT signed response support
Dan Brown [Fri, 19 Apr 2024 13:12:27 +0000 (14:12 +0100)]
OIDC Userinfo: Added JWT signed response support

Not yet tested, nor checked all response validations.

14 months agoadd ambrosia-container to registration form as honeypot for bots: new form field...
nesges [Fri, 19 Apr 2024 07:35:09 +0000 (09:35 +0200)]
add ambrosia-container to registration form as honeypot for bots: new form field "username" must not be filled