]> BookStack Code Mirror - bookstack/log
bookstack
3 years agoFixed some inputs affected by height changes
Dan Brown [Tue, 17 May 2022 12:37:43 +0000 (13:37 +0100)]
Fixed some inputs affected by height changes

3 years agoImproved input size consistency
Dan Brown [Sat, 14 May 2022 15:05:29 +0000 (16:05 +0100)]
Improved input size consistency

Specifically updates dropdown search and user-search implementation,
although does affect all inputs.
Decouples breadcrum and select-style dropdown search toggles.

Addresses #2678

3 years agoUpdated dropdown search boxe positions to align with other dropdowns
Dan Brown [Sat, 14 May 2022 13:19:54 +0000 (14:19 +0100)]
Updated dropdown search boxe positions to align with other dropdowns

3 years agoFixed skip-to-content link shadow being slightly visible
Dan Brown [Sat, 14 May 2022 12:59:10 +0000 (13:59 +0100)]
Fixed skip-to-content link shadow being slightly visible

Would cause a slight dark area in top left of view while hidden.

3 years agoUpdated tri-layout sidebars to not be cut-off by padding
Dan Brown [Sat, 14 May 2022 12:55:03 +0000 (13:55 +0100)]
Updated tri-layout sidebars to not be cut-off by padding

Would cause effect where scroll area would be cut of by spacing which
looked a bit strange. This retains the same padding sizes but cuts the
content at the header or top of viewport.

3 years agoAdded animation transition for breadcrumb dropdown load
Dan Brown [Sat, 14 May 2022 12:32:25 +0000 (13:32 +0100)]
Added animation transition for breadcrumb dropdown load

Animates the height on breadcrumb dropdown menus to transition to the
loaded animations quicker. Includes a new animation helper for doing
similar tasks in future.

3 years agoFixed loading animation delay
Dan Brown [Sat, 14 May 2022 12:31:24 +0000 (13:31 +0100)]
Fixed loading animation delay

Loading animation would show in an unready state due to animation-delay
on components. Updated to a negative delay to ensure elements were in
correct positions right away upon show.

3 years agoUpdated breadcrumb dropdown styles, improved keyboard nav
Dan Brown [Sat, 14 May 2022 12:11:48 +0000 (13:11 +0100)]
Updated breadcrumb dropdown styles, improved keyboard nav

- Removed harsh theme color border between search and content.
- Prevented intermediate focus on list container to align arrow & tab
  behaviour, and to get to content quicker.

3 years agoImproved card list design
Dan Brown [Sat, 14 May 2022 11:54:23 +0000 (12:54 +0100)]
Improved card list design

- Removed border and rounded list item styles to make hover states have
  less edge detail and to align with other UI elements.
- In expanded-detail view, removed space used for entity description if
  there is not description content existing.

3 years agoTidied up book navigation styles
Dan Brown [Fri, 13 May 2022 17:34:47 +0000 (18:34 +0100)]
Tidied up book navigation styles

- Removed background track line since it would darken entity item bars.
- Updated item spacing to be a bit tighter.
- Updated action hover styles to be a bit lighter, and visible on dark
  mode, to fit rest of system.

3 years agoCleaned up entity details listing
Dan Brown [Fri, 13 May 2022 17:03:43 +0000 (18:03 +0100)]
Cleaned up entity details listing

3 years agoImproved the display of dropdown menus
Dan Brown [Fri, 13 May 2022 16:12:45 +0000 (17:12 +0100)]
Improved the display of dropdown menus

- Tweaked styling to add a little extra shadow and be more rounded to
  match other UI areas.
- Added slight horizontal inset when in right sidebar to prevent shadow
  being cut-off in most cases.
- Added logic to "drop upwards" if dropping down would take the menu
  offscreen.

3 years agoReduced excess margin in chapter contents lists
Dan Brown [Thu, 12 May 2022 16:27:57 +0000 (17:27 +0100)]
Reduced excess margin in chapter contents lists

3 years agoEmbedded css sources for easier firefox dev work
Dan Brown [Thu, 12 May 2022 16:27:29 +0000 (17:27 +0100)]
Embedded css sources for easier firefox dev work

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

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