]> BookStack Code Mirror - bookstack/log
bookstack
3 years agoReplaced embeds with images in exports svg_image 3452/head
Dan Brown [Tue, 24 May 2022 17:05:47 +0000 (18:05 +0100)]
Replaced embeds with images in exports

3 years agoAdded embed support for contained HTML exports
Dan Brown [Mon, 23 May 2022 15:11:28 +0000 (16:11 +0100)]
Added embed support for contained HTML exports

Unfortunately CSP rules will block embeds anyway.
Need to either relax CSP rules on exports, or instead convert to img
tags?

Also cleaned up existing regexes.

3 years agoReplaced markdown preview display iframe with div
Dan Brown [Mon, 23 May 2022 14:16:23 +0000 (15:16 +0100)]
Replaced markdown preview display iframe with div

No longer need to use the iframe sandboxing techniques, since we now have
CSP rules in-place. Means that embed tags can load without CSP
complications.

Causes slight change to contents of `editor-markdown::setup` editor
event data, since we're changing the `displayEl` property.

Updates markdown editor component to make better use of the component
system.

3 years agoUpdated markdown editor to use svg drawio images
Dan Brown [Mon, 23 May 2022 13:38:34 +0000 (14:38 +0100)]
Updated markdown editor to use svg drawio images

- Also tweaked page editor to not error when the current user does not
  have permission to change editor type.

3 years agoUpdated drawio tinymce plugin to use embeds
Dan Brown [Mon, 23 May 2022 11:24:40 +0000 (12:24 +0100)]
Updated drawio tinymce plugin to use embeds

- Adds support for handling drawings as embeds, based on image
  extension.
- Adds additional attribute to drawio elements within editor to prevent
  tinymce replacing embeds with a placeholder.
- Updates how contenteditable is applied to drawio blocks within editor,
  to use proper filters instead of using the SetContent event.

3 years agoUpdated draw.io code to support SVGs as primary data type
Dan Brown [Sun, 22 May 2022 11:38:50 +0000 (12:38 +0100)]
Updated draw.io code to support SVGs as primary data type

3 years agoFixed issue caused by changing test method defaults
Dan Brown [Sun, 22 May 2022 10:58:22 +0000 (11:58 +0100)]
Fixed issue caused by changing test method defaults

3 years agoAdded SVG support to the image gallery.
Dan Brown [Sun, 22 May 2022 10:52:42 +0000 (11:52 +0100)]
Added SVG support to the image gallery.

3 years agoFixed entity-specific tag counts listing
Dan Brown [Mon, 16 May 2022 13:05:21 +0000 (14:05 +0100)]
Fixed entity-specific tag counts listing

Was reporting wrong due to use of old polymorphic namespace references.
Test was not picking up as assertElementContains had wider scope than
expected, looking within the HTML of the element instead of the text
which you might expect. Updated test helper to look at text instead.

3 years agoRemoved dialog debug script from default home
Dan Brown [Mon, 16 May 2022 12:36:42 +0000 (13:36 +0100)]
Removed dialog debug script from default home

Accidentally left in from before.
Closes #3430

3 years agoUpdated default value for secure session detection
Dan Brown [Wed, 11 May 2022 15:46:59 +0000 (16:46 +0100)]
Updated default value for secure session detection

Updated default value for APP_URL so that the startsWith call is not
passed null, since that causes deprecation notice in PHP8.1.
Would show when APP_URL was not set, adding extra confusiion.

3 years agoUpdated translators, applied styleCI change
Dan Brown [Mon, 9 May 2022 15:09:31 +0000 (16:09 +0100)]
Updated translators, applied styleCI change

3 years agoFixed LDAP_DUMP_* options when data contains binary
Dan Brown [Mon, 9 May 2022 14:57:50 +0000 (15:57 +0100)]
Fixed LDAP_DUMP_* options when data contains binary

Dumping details that were binary, such as the jpegphoto data, would
cause the dump to fail on the encoding to JSON.
This change forces content to be UTF8 before dumping.
Updated existing test to cover.

Closes #3396

3 years agoUpdated attachment download to check OB before cleaning it
Dan Brown [Mon, 9 May 2022 14:25:06 +0000 (15:25 +0100)]
Updated attachment download to check OB before cleaning it

Call to `ob_end_clean` would error if the environment did not use the
PHP `output_buffering` option. This adds an additional check and updates
the comment to be more specific to the exact scenario of the condition.
Tested with output_buffering=Off and output_buffering=4096

Closes #3415

3 years agoNew Crowdin updates (#3418)
Dan Brown [Mon, 9 May 2022 14:15:35 +0000 (15:15 +0100)]
New Crowdin updates (#3418)

3 years agoAdded rate limit section to the API docs
Dan Brown [Mon, 9 May 2022 14:12:29 +0000 (15:12 +0100)]
Added rate limit section to the API docs

Closes #3423

3 years agoAdded Farsi language available
Dan Brown [Mon, 9 May 2022 13:58:04 +0000 (14:58 +0100)]
Added Farsi language available

Closes #3426

3 years agoUpdated PHP deps
Dan Brown [Mon, 9 May 2022 13:57:34 +0000 (14:57 +0100)]
Updated PHP deps

3 years agoAdded support plans link to issue links
Dan Brown [Thu, 5 May 2022 14:48:27 +0000 (15:48 +0100)]
Added support plans link to issue links

3 years agoUpdated method of string interpolation
Dan Brown [Thu, 5 May 2022 08:33:25 +0000 (09:33 +0100)]
Updated method of string interpolation

In prep for future PHP changes as per RFC
https://wiki.php.net/rfc/deprecate_dollar_brace_string_interpolation

3 years agoApplied styleci changes
Dan Brown [Wed, 4 May 2022 20:19:46 +0000 (21:19 +0100)]
Applied styleci changes

3 years agoNew Crowdin updates (#3402)
Dan Brown [Wed, 4 May 2022 20:18:47 +0000 (21:18 +0100)]
New Crowdin updates (#3402)

3 years agoMerge branch 'development' of github.com:BookStackApp/BookStack into development
Dan Brown [Wed, 4 May 2022 20:01:20 +0000 (21:01 +0100)]
Merge branch 'development' of github.com:BookStackApp/BookStack into development

3 years agoFixed double path slash URL issue in some cases
Dan Brown [Wed, 4 May 2022 19:08:22 +0000 (20:08 +0100)]
Fixed double path slash URL issue in some cases

- Occurred on system request path usage (Primarily on guest login
  redirection) when a custom path was not in use.
- Added test to cover.

For #3404

3 years agoNew Crowdin updates (#3401)
Dan Brown [Fri, 29 Apr 2022 14:53:06 +0000 (15:53 +0100)]
New Crowdin updates (#3401)

3 years agoAdded uzbeck into local list
Dan Brown [Fri, 29 Apr 2022 14:52:11 +0000 (15:52 +0100)]
Added uzbeck into local list

Not yet an actual added language yet due to low translation rate.

3 years agoUpdated translation attribution before v22.04
Dan Brown [Fri, 29 Apr 2022 14:43:30 +0000 (15:43 +0100)]
Updated translation attribution before v22.04

3 years agoMerge pull request #3373 from evandroamaro/patch-1
Dan Brown [Fri, 29 Apr 2022 14:41:04 +0000 (15:41 +0100)]
Merge pull request #3373 from evandroamaro/patch-1

Tiny header

3 years agoNew Crowdin updates (#3384)
Dan Brown [Fri, 29 Apr 2022 14:40:38 +0000 (15:40 +0100)]
New Crowdin updates (#3384)

3 years agoApplied stylci changes, updated composer deps
Dan Brown [Fri, 29 Apr 2022 14:38:06 +0000 (15:38 +0100)]
Applied stylci changes, updated composer deps

3 years agoImproved iframe & summary handling in HTML to MD conversion
Dan Brown [Fri, 29 Apr 2022 13:58:28 +0000 (14:58 +0100)]
Improved iframe & summary handling in HTML to MD conversion

3 years agoFixed drawing handling on HTML to Markdown conversion
Dan Brown [Fri, 29 Apr 2022 11:17:14 +0000 (12:17 +0100)]
Fixed drawing handling on HTML to Markdown conversion

3 years agoMove html to markdown formatting tests to their own class
Dan Brown [Fri, 29 Apr 2022 10:50:34 +0000 (11:50 +0100)]
Move html to markdown formatting tests to their own class

3 years agoTweaked DRAW.IO params in complete .env file to show configure param
Dan Brown [Wed, 27 Apr 2022 16:52:35 +0000 (17:52 +0100)]
Tweaked DRAW.IO params in complete .env file to show configure param

3 years agoApplied latest StyleCI changes
Dan Brown [Mon, 25 Apr 2022 17:42:31 +0000 (18:42 +0100)]
Applied latest StyleCI changes

3 years agoMerge branch 'recycle_bin_api_endpoints' into development
Dan Brown [Mon, 25 Apr 2022 17:32:55 +0000 (18:32 +0100)]
Merge branch 'recycle_bin_api_endpoints' into development

3 years agoUpdated polymorphic database relation types to simpler version
Dan Brown [Mon, 25 Apr 2022 17:31:37 +0000 (18:31 +0100)]
Updated polymorphic database relation types to simpler version

- Means we can use these simpler types in API response, As desired in #3377.

Closes #3395

3 years agoReviewed recycle bin API PR and made changes
Dan Brown [Mon, 25 Apr 2022 16:54:59 +0000 (17:54 +0100)]
Reviewed recycle bin API PR and made changes

Made the following changes, many of these are just to align with
existing conventions.

- Updated urls to be hypenated, instead of underscored, to match other system endpoints.
- Updated URL parameter to be `deletionId` instead of `id`, and removed the ID-based comment on controller methods, so the required ID model is clear from the URL alone, since its not clear from the URL endpoint alone like existing endpoints. This follows the pattern used in the "web" routes.
- Added extra detail on some controller method comments, and copied permission comment to each method.
- Removed existing field visibility mechanisms to use simpler model-based visibility since we didn't need anything too special here (After some of my other changes).
- Allowed the "deletable" model to be shown in response to provide a little more detail on the main deleted item.
- Updated parent/child-count loading to be on the "deletable" model instead of additional properties which results in simpler controller logic and enforces the idea these are relations on the deletable, not the deletion itself. It also removes additional exposure of model namespacing.
- Updated (int) casts to intval, just since that's our most common conversion method in the codebase.
- Testing: Removed `actingAsAuthorizedUser` and used the admin user instead to prevent extra auth steps on each test.
- Testing: Cut logic/data-checks from tests if already covered by other tests.
- Testing: Added simple assertions for delete/restore response data.
- Examples: Updated list example to reflect changes.

Review of PR #3377
To be followed up with changes to polymorphic relations to hide
namespacing.

3 years agoUpdated composer deps, applied latest StyleCI changes
Dan Brown [Sun, 24 Apr 2022 17:22:40 +0000 (18:22 +0100)]
Updated composer deps, applied latest StyleCI changes

3 years agoMerge pull request #3364 from BookStackApp/app_url_requests
Dan Brown [Sun, 24 Apr 2022 13:52:38 +0000 (14:52 +0100)]
Merge pull request #3364 from BookStackApp/app_url_requests

Updated custom request overrides to better match original intent

3 years agoMerge pull request #3387 from BookStackApp/editor_switching
Dan Brown [Sun, 24 Apr 2022 13:03:03 +0000 (14:03 +0100)]
Merge pull request #3387 from BookStackApp/editor_switching

Page editor switching

3 years agoMerge pull request #3365 from BookStackApp/data_streaming
Dan Brown [Sun, 24 Apr 2022 12:59:47 +0000 (13:59 +0100)]
Merge pull request #3365 from BookStackApp/data_streaming

Add data streaming where beneficial to reduce memory usage

3 years agoMerge pull request #3391 from BookStackApp/drawio_config_event
Dan Brown [Sun, 24 Apr 2022 12:58:59 +0000 (13:58 +0100)]
Merge pull request #3391 from BookStackApp/drawio_config_event

Made it possible to configure draw.io/diagrams.net integration

3 years agodo some cleanup and add doc 3377/head
julesdevops [Sun, 24 Apr 2022 08:16:45 +0000 (10:16 +0200)]
do some cleanup and add doc

3 years agoAdded additional testing for editor switching permissions 3387/head
Dan Brown [Sat, 23 Apr 2022 22:34:15 +0000 (23:34 +0100)]
Added additional testing for editor switching permissions

3 years agoSwitched to database-based tracking for page editor
Dan Brown [Sat, 23 Apr 2022 22:20:46 +0000 (23:20 +0100)]
Switched to database-based tracking for page editor

- Works better to avoid bad assumptions when showing the editor based
  upon content type.
- Also updated some previous tests to cleaner format.

3 years agoAdded listing of editor type to revisions
Dan Brown [Sat, 23 Apr 2022 14:03:58 +0000 (15:03 +0100)]
Added listing of editor type to revisions

- Also tweaked some editor revision table styles and merged some
  sections to reduce space usage.

3 years agoAded tests for core editor switching functionality
Dan Brown [Sat, 23 Apr 2022 13:22:04 +0000 (14:22 +0100)]
Aded tests for core editor switching functionality

3 years agoComplete list endpoint and add some tests
julesdevops [Wed, 20 Apr 2022 20:58:16 +0000 (22:58 +0200)]
Complete list endpoint and add some tests

3 years agoFixed failing test after drawio default url change 3391/head
Dan Brown [Wed, 20 Apr 2022 22:42:47 +0000 (23:42 +0100)]
Fixed failing test after drawio default url change

3 years agoMade it possible to configure draw.io/diagrams.net integration
Dan Brown [Wed, 20 Apr 2022 22:32:02 +0000 (23:32 +0100)]
Made it possible to configure draw.io/diagrams.net integration

Added new editor public event to hook into draw.io configuration step.
Required change of embed url to trigger the configure step.

3 years agoLinked up confirmation prompt to editor switching
Dan Brown [Wed, 20 Apr 2022 17:21:21 +0000 (18:21 +0100)]
Linked up confirmation prompt to editor switching

3 years agoAdded new confirm-dialog component, both view and logic
Dan Brown [Wed, 20 Apr 2022 13:58:37 +0000 (14:58 +0100)]
Added new confirm-dialog component, both view and logic

3 years agoStandardised dropdown list item styles, Extracted page editor toolbar
Dan Brown [Wed, 20 Apr 2022 13:03:47 +0000 (14:03 +0100)]
Standardised dropdown list item styles, Extracted page editor toolbar

- Updated all dropdown list item actions into three specific styles:
  icon-item, text-item & label-item. Allows a stronger structure while
  prevents mixing of styles as we were getting for header dropdown in
  dark mode.
- Extracted out page editor top toolbar to its own view file & split
  editor switch options to different markdown options.

3 years agoAdded core editor switching functionality
Dan Brown [Mon, 18 Apr 2022 16:39:28 +0000 (17:39 +0100)]
Added core editor switching functionality

3 years agoAligned page edit controller method data usage
Dan Brown [Sun, 17 Apr 2022 22:01:14 +0000 (23:01 +0100)]
Aligned page edit controller method data usage

Extracted page editor view data gathering to its own class for
alignment. Updated the data used in views as part of the process to use
view-specific variables instead of custom attributes added to models.
Also moved tinymce library loading so it's not loaded when not using the
wysiwyg editor.

3 years agoAdded editor type change button
Dan Brown [Sun, 17 Apr 2022 14:01:29 +0000 (15:01 +0100)]
Added editor type change button

3 years agoAdded an 'editor-change' role permission
Dan Brown [Sun, 17 Apr 2022 13:33:06 +0000 (14:33 +0100)]
Added an 'editor-change' role permission

3 years agoUpdated editor setting to reflect "Default editor"
Dan Brown [Sun, 17 Apr 2022 13:13:14 +0000 (14:13 +0100)]
Updated editor setting to reflect "Default editor"

3 years agoNew Crowdin updates (#3358)
Dan Brown [Thu, 14 Apr 2022 15:14:05 +0000 (16:14 +0100)]
New Crowdin updates (#3358)

3 years agoAdded testing for our request method overrides 3364/head
Dan Brown [Wed, 13 Apr 2022 12:02:42 +0000 (13:02 +0100)]
Added testing for our request method overrides

3 years agoFixed base URL starting slash usage
Dan Brown [Wed, 13 Apr 2022 11:46:19 +0000 (12:46 +0100)]
Fixed base URL starting slash usage

3 years agoExtracted esbuild config to a build script
Dan Brown [Wed, 13 Apr 2022 11:08:56 +0000 (12:08 +0100)]
Extracted esbuild config to a build script

Allows us to use NodeJS code for file/directory locating to not be
shell/os specific, while also also reducing duplicated complexity within
packages.json file.

Related to #3323

3 years agoStart recycle bin API endpoints: list, restore, delete
julesdevops [Wed, 6 Apr 2022 20:57:18 +0000 (22:57 +0200)]
Start recycle bin API endpoints: list, restore, delete

3 years agoTiny header 3373/head
evandroamaro [Tue, 5 Apr 2022 09:53:52 +0000 (10:53 +0100)]
Tiny header

Had the same translation as the small header. Corrected the translation.

3 years agoTouched entity timestamps on entity tag update
Dan Brown [Mon, 4 Apr 2022 16:24:05 +0000 (17:24 +0100)]
Touched entity timestamps on entity tag update

Decided it's relevant to entity updated_at since tags are now indexed
alongside content.

- Also fixed tags not applied on shelf.
- Also enforced proper page API update validation.
- Adds tests to cover.

For #3319
Fixes #3370

3 years agoFixed tests from streaming changes 3365/head
Dan Brown [Sun, 3 Apr 2022 15:22:31 +0000 (16:22 +0100)]
Fixed tests from streaming changes

- Added testing check to buffer stop/clear on streaming output due to
  interference during tests.
- Made content-disposition header a little safer in download responses.
- Also aligned how we check for testing environment.

3 years agoAdded streaming support to API attachment read responses
Dan Brown [Sat, 2 Apr 2022 18:20:59 +0000 (19:20 +0100)]
Added streaming support to API attachment read responses

Required some special handling due to the content being base64-encoded
within a JSON response.

3 years agoAdded streamed uploads for attachments
Dan Brown [Sat, 2 Apr 2022 17:46:48 +0000 (18:46 +0100)]
Added streamed uploads for attachments

3 years agoFixed streamed outputs in more extreme scenarios
Dan Brown [Sat, 2 Apr 2022 17:42:15 +0000 (18:42 +0100)]
Fixed streamed outputs in more extreme scenarios

Fixes hitting memory limits where downloaded file sizes are much greater
than memory limit. Stopping and flushing output buffer seemed to stop
limits causing issues when fpassthru is used.
Tested with 24M memory limit and 734M file

3 years agoUpdated attachment download responses to stream from filesystem
Dan Brown [Sat, 2 Apr 2022 17:07:43 +0000 (18:07 +0100)]
Updated attachment download responses to stream from filesystem

This allows download of attachments that are larger than current memory
limits, since we're not loading the entire file into memory any more.

For inline file responses, we take a 1kb portion of the file to sniff
before to check mime before we proceed.

3 years agoUpdated custom request overrides to better match original intent
Dan Brown [Sat, 2 Apr 2022 16:14:37 +0000 (17:14 +0100)]
Updated custom request overrides to better match original intent

This updates the custom Request handler to provide only the scheme and
host on the `getSchemeAndHttpHost` call, instead of providing the whole
APP_URL value, while adding an override to the 'getBaseUrl' to use the
APP_URL content instead of the guessed/detected Symfony value.

Untested apart from simple local setup.

Related to #2765

3 years agoNew Crowdin updates (#3354)
Dan Brown [Wed, 30 Mar 2022 18:29:13 +0000 (19:29 +0100)]
New Crowdin updates (#3354)

3 years agoUpdated composer dependancies
Dan Brown [Wed, 30 Mar 2022 18:22:47 +0000 (19:22 +0100)]
Updated composer dependancies

3 years agoFixed settings redirect issue and custom head display
Dan Brown [Wed, 30 Mar 2022 18:15:24 +0000 (19:15 +0100)]
Fixed settings redirect issue and custom head display

- Fixed issue where redirect for `/settings` view would not be ran
  through base url generator so would not create a correct path in some
  cases. Now routed through controller with normal redirect.
- Fixed custom head content being active on settings pages due to route
  name changes, for when viewing settings, in last release.

Fixes #3356 and #3355

3 years agoNew Crowdin updates (#3353)
Dan Brown [Wed, 30 Mar 2022 12:31:59 +0000 (13:31 +0100)]
New Crowdin updates (#3353)

3 years agoUpdated translation contributors, added Basque to language options
Dan Brown [Wed, 30 Mar 2022 12:12:17 +0000 (13:12 +0100)]
Updated translation contributors, added Basque to language options

3 years agoNew Crowdin updates (#3320)
Dan Brown [Wed, 30 Mar 2022 12:00:27 +0000 (13:00 +0100)]
New Crowdin updates (#3320)

3 years agoUpdated example env with LDAP group dump option
Dan Brown [Tue, 29 Mar 2022 10:49:02 +0000 (11:49 +0100)]
Updated example env with LDAP group dump option

3 years agoPHPStan and StyleCI fixes
Dan Brown [Mon, 28 Mar 2022 10:31:06 +0000 (11:31 +0100)]
PHPStan and StyleCI fixes

- Updated PhpStan PHP version option to match project.
- Applied StyleCI changes.
- Updated static to self in WebhookFormatter, following static analysis
  guidance.
- Fixed mis-matched header tags.

3 years agoMerge pull request #3349 from BookStackApp/settings_reorg
Dan Brown [Mon, 28 Mar 2022 10:22:21 +0000 (11:22 +0100)]
Merge pull request #3349 from BookStackApp/settings_reorg

Reorganization of settings view

3 years agoAdded 404 response for non-existing setting categories 3349/head
Dan Brown [Mon, 28 Mar 2022 10:16:20 +0000 (11:16 +0100)]
Added 404 response for non-existing setting categories

- Added test to cover.

3 years agoSplit out settings view and made functional
Dan Brown [Mon, 28 Mar 2022 10:09:55 +0000 (11:09 +0100)]
Split out settings view and made functional

- Split settings out to new views using a core shared layout.
- Extracted added language text to translation files.
- Updated settings routes to be dynamic to category.
- Added redirect for old primary settings route.
- Updated existing tests to cover settings route changes.
- Added tests to cover settings view.
- Improved contrast of settings links for dark mode.

3 years agoStarted playing with new settings view layout
Dan Brown [Sat, 26 Mar 2022 21:36:05 +0000 (21:36 +0000)]
Started playing with new settings view layout

3 years agoFixed tests, applied StyleCI changes
Dan Brown [Sat, 26 Mar 2022 20:38:03 +0000 (20:38 +0000)]
Fixed tests, applied StyleCI changes

3 years agoAdded extendable/scalable formatter for webhook data
Dan Brown [Sat, 26 Mar 2022 16:44:34 +0000 (16:44 +0000)]
Added extendable/scalable formatter for webhook data

Creates a new organsied formatting system for webhook data, with
interfaces for extending with custom model formatting rules.
Allows easy usage & extension of the default bookstack formatting
behaviour when customizing webhook events via theme system, and keeps
default data customizations organised.

This also makes the following webhook data changes:
- owned_by/created_by/updated_by user details are loaded for events with
  Entity details. (POTENTIALLY BREAKING CHANGE).
- current_revision details are loaded for page update/create events.

Added testing to cover added model formatting rules.

For #3279 and #3218

3 years agoAdded manual image thumbnail exif orientation handling
Dan Brown [Sat, 26 Mar 2022 12:32:08 +0000 (12:32 +0000)]
Added manual image thumbnail exif orientation handling

Uses original image data to extract orientation exif to apply image
transformations before scaling and save. Manually done due to issues
with exif data loss during the existing Invervention image path.

For #1854

3 years agoApplied latest styleCI changes
Dan Brown [Fri, 25 Mar 2022 11:14:27 +0000 (11:14 +0000)]
Applied latest styleCI changes

3 years agoAdded pre-render sizes to wysiwyg code blocks
Dan Brown [Fri, 25 Mar 2022 11:13:04 +0000 (11:13 +0000)]
Added pre-render sizes to wysiwyg code blocks

Sets sizes on WYSIWYG code block sections based on content lines
as an early pre-codemirror height prediction to avoid excessive
jumping in the editor.

For #3326

3 years agoAdded LDAP group debugging env option
Dan Brown [Wed, 23 Mar 2022 16:34:23 +0000 (16:34 +0000)]
Added LDAP group debugging env option

Closes #3345

3 years agoAdded wysiwyg filter to handle <br> tags within code blocks
Dan Brown [Wed, 23 Mar 2022 15:11:14 +0000 (15:11 +0000)]
Added wysiwyg filter to handle <br> tags within code blocks

This filters out <br> elements within code blocks and replaces them with
newlines. The editor started using <br>'s more harshley after some
configuration changes upon upgrading tinymce, in which we standardised
on forced br tags to avoid empty elements.

For #3327

3 years agoAdded additional missing editor translations
Dan Brown [Wed, 23 Mar 2022 14:41:54 +0000 (14:41 +0000)]
Added additional missing editor translations

- Also merged StyleCI fixes

As per #3342

3 years agoFixed conctenation of direct book pages within markdown export
Dan Brown [Wed, 23 Mar 2022 14:31:42 +0000 (14:31 +0000)]
Fixed conctenation of direct book pages within markdown export

- Updated to ensure seperation with newlines.
- Added test to cover.

For #3341

3 years agoApplied StyleCI changes and updated dependancies
Dan Brown [Wed, 23 Mar 2022 12:02:01 +0000 (12:02 +0000)]
Applied StyleCI changes and updated dependancies

3 years agoMerge pull request #3333 from BookStackApp/wysiwyg_tasklist
Dan Brown [Wed, 23 Mar 2022 11:58:16 +0000 (11:58 +0000)]
Merge pull request #3333 from BookStackApp/wysiwyg_tasklist

WYSIWYG tasklist support

3 years agoUpdated justify translation for editor
Dan Brown [Wed, 23 Mar 2022 11:57:20 +0000 (11:57 +0000)]
Updated justify translation for editor

Fixes #3342

3 years agoAdded translation string for tasklist WYSIWYG action 3333/head
Dan Brown [Wed, 23 Mar 2022 11:54:27 +0000 (11:54 +0000)]
Added translation string for tasklist WYSIWYG action

3 years agoUpdated tasklist style and functionality for cross-browser use
Dan Brown [Wed, 23 Mar 2022 11:51:19 +0000 (11:51 +0000)]
Updated tasklist style and functionality for cross-browser use

- Updated styles to better align checkboxes within page content.
- Updated functionality to use a cross-compatible property on checkbox
  click within the editor.

3 years agoAdded tasklist support to markdown exporter
Dan Brown [Tue, 22 Mar 2022 14:56:51 +0000 (14:56 +0000)]
Added tasklist support to markdown exporter

3 years agoImproved tasklist wysiwyg behaviour
Dan Brown [Tue, 22 Mar 2022 14:03:20 +0000 (14:03 +0000)]
Improved tasklist wysiwyg behaviour

- Updated buttons/actions to better handle nesting.
- Added hack for better usage with normal bullets