]> BookStack Code Mirror - bookstack/log
bookstack
23 months agoMail: Updated to forked symfony/mailer to allow assurance of tls
Dan Brown [Tue, 4 Jul 2023 14:21:31 +0000 (15:21 +0100)]
Mail: Updated to forked symfony/mailer to allow assurance of tls

Related to #4358

2 years agoMeta: Updated dev version and translation attribution
Dan Brown [Fri, 30 Jun 2023 09:55:54 +0000 (10:55 +0100)]
Meta: Updated dev version and translation attribution

2 years agoUpdated test to match German translation
Dan Brown [Wed, 28 Jun 2023 22:46:59 +0000 (23:46 +0100)]
Updated test to match German translation

2 years agoWYSIWYG: Fixed growing rows on Firefox
Dan Brown [Wed, 28 Jun 2023 22:28:31 +0000 (23:28 +0100)]
WYSIWYG: Fixed growing rows on Firefox

Occured when the cell contained any block content with a differnt line
height to the table cell itself.
In firefox, cells with a height would end up with an actual greater
real cell height, which messed up TinyMCE resize calculations, causing
tables to grow.
Adding default vertical-align: top, changes this behaviour to get proper
cell heights.
Related to Firefox issue: https://bugzilla.mozilla.org/show_bug.cgi?id=569645
Have tested that editor cell text align options can still be used with
this.

For #4337

2 years agoUpdated tinymce to v6.5.1
Dan Brown [Wed, 28 Jun 2023 21:45:21 +0000 (22:45 +0100)]
Updated tinymce to v6.5.1

2 years agoUpdated translations with latest Crowdin changes (#4256)
Dan Brown [Wed, 28 Jun 2023 16:54:32 +0000 (17:54 +0100)]
Updated translations with latest Crowdin changes (#4256)

2 years agoComments: Tweaked design to be more consistent and compact
Dan Brown [Wed, 28 Jun 2023 12:41:14 +0000 (13:41 +0100)]
Comments: Tweaked design to be more consistent and compact

2 years agoCSS: Tweaked css heading font to fall back to body font
Dan Brown [Wed, 28 Jun 2023 08:35:30 +0000 (09:35 +0100)]
CSS: Tweaked css heading font to fall back to body font

2 years agoMerge pull request #4320 from devdot/improve-api-auth-exception
Dan Brown [Sun, 25 Jun 2023 22:35:19 +0000 (23:35 +0100)]
Merge pull request #4320 from devdot/improve-api-auth-exception

Improve ApiAuthException control flow

2 years agoShelf permissions: Removed unused 'create' permission from view
Dan Brown [Sun, 25 Jun 2023 22:22:49 +0000 (23:22 +0100)]
Shelf permissions: Removed unused 'create' permission from view

Was causing confusion.
Added test to cover.
Also added migration to remove existing create entries to pre-emptively
avoid issues in future if 'create' is used again.

2 years agoUpdated php dependencies
Dan Brown [Sat, 24 Jun 2023 10:32:54 +0000 (11:32 +0100)]
Updated php dependencies

2 years agoMail Config: Updated how TLS is configured
Dan Brown [Sat, 24 Jun 2023 10:27:18 +0000 (11:27 +0100)]
Mail Config: Updated how TLS is configured

After full review of current MAIL_ENCRYPTION usage in laravel and
smyfony mailer, this updates the options in BookStack to be simplified
and specific in usage:

- Removed mail.mailers.smtp.encryption option since it did not actually
  affect anything in the current state of dependancies.
- Updated MAIL_ENCRYPTION so values of tls OR ssl will force-enable tls
  via 'scheme' option with laravel passes to the SMTP transfport, which
  Smyfony uses as an indicator to force TLS.

When MAIL_ENCRYPTION is not used, STARTTLS will still be attempted by
symfony mailer.
Updated .env files to refer to BookStack docs (which was updated for
this) and to reflect correct default port.
Related to #4342

2 years agoShelf view: Updated books to be database sorted
Dan Brown [Fri, 23 Jun 2023 15:42:40 +0000 (16:42 +0100)]
Shelf view: Updated books to be database sorted

Fixes issue where sorting would not match other database-sorted parts of
app due to case sensitivity differences.
Added test to cover.

For #4341

2 years agoMerge pull request #4332 from BookStackApp/api_docs_tweaks
Dan Brown [Tue, 20 Jun 2023 22:47:58 +0000 (23:47 +0100)]
Merge pull request #4332 from BookStackApp/api_docs_tweaks

API Docs: Allowed multi-paragraph descriptions

2 years agoAPI Docs: Allowed multi-paragraph descriptions 4332/head
Dan Brown [Tue, 20 Jun 2023 22:44:39 +0000 (23:44 +0100)]
API Docs: Allowed multi-paragraph descriptions

Added support for mulit-line endpoint descriptions via blank
intermediate lines in php controller method docblocks.

Also tweaks endpoint header design for better flexing and alignment.

2 years agoPages API: Added extra helper text to read endpoint
Dan Brown [Tue, 20 Jun 2023 16:15:32 +0000 (17:15 +0100)]
Pages API: Added extra helper text to read endpoint

2 years agoPages API: Made raw_html available on page responses
Dan Brown [Tue, 20 Jun 2023 16:07:46 +0000 (17:07 +0100)]
Pages API: Made raw_html available on page responses

To provide a way to see the original un-pre-processed database HTML
content.

For #4310

2 years agoContent Permissions API: Fixed param combination bug
Dan Brown [Tue, 20 Jun 2023 13:13:26 +0000 (14:13 +0100)]
Content Permissions API: Fixed param combination bug

Fixes issue where providing owner_id alongside certain
fallback_permissions would cause the owner change not to take affect,
due to bad variable shadowing.

For #4323

2 years agoMerge pull request #4317 from devdot/http-fetch-improve-exception-logging
Dan Brown [Tue, 20 Jun 2023 12:49:23 +0000 (13:49 +0100)]
Merge pull request #4317 from devdot/http-fetch-improve-exception-logging

Modify HttpFetchException flow to log the exception

2 years agoRevert some changes to HttpFetchException 4317/head
Thomas Kuschan [Mon, 19 Jun 2023 06:47:47 +0000 (08:47 +0200)]
Revert some changes to HttpFetchException

2 years agoMerge pull request #4318 from devdot/improve-json-debug-exception
Dan Brown [Sun, 18 Jun 2023 16:52:57 +0000 (17:52 +0100)]
Merge pull request #4318 from devdot/improve-json-debug-exception

Change JsonDebugException to Responsable interface

2 years agoMerge branch 'development' of github.com:BookStackApp/BookStack into development
Dan Brown [Sat, 17 Jun 2023 17:22:01 +0000 (18:22 +0100)]
Merge branch 'development' of github.com:BookStackApp/BookStack into development

2 years agoUsers API: Fixed incorrect created_at date on index endpoint
Dan Brown [Sat, 17 Jun 2023 17:18:17 +0000 (18:18 +0100)]
Users API: Fixed incorrect created_at date on index endpoint

For #4325

2 years agoMerge pull request #4322 from BookStackApp/comments_in_editor
Dan Brown [Fri, 16 Jun 2023 12:23:40 +0000 (13:23 +0100)]
Merge pull request #4322 from BookStackApp/comments_in_editor

Added read-only comments listing into page editor

2 years agoComments: Fixed failing tests due to unset template variable 4322/head
Dan Brown [Fri, 16 Jun 2023 12:17:11 +0000 (13:17 +0100)]
Comments: Fixed failing tests due to unset template variable

2 years agoComments: Added read-only listing into page editor
Dan Brown [Fri, 16 Jun 2023 12:08:04 +0000 (13:08 +0100)]
Comments: Added read-only listing into page editor

2 years agoSimplify ApiAuthException control flow 4320/head
Thomas Kuschan [Wed, 14 Jun 2023 09:52:22 +0000 (11:52 +0200)]
Simplify ApiAuthException control flow

Remove unnecessary UnauthorizedException
and make ApiAuthException compatible with HttpExceptionInterface.

Move the creation of a rsponse for the exception
from ApiAuthenticate middleware into the application exception handler.

2 years agoChange JsonDebugException to Responsable interface 4318/head
Thomas Kuschan [Wed, 14 Jun 2023 12:30:14 +0000 (14:30 +0200)]
Change JsonDebugException to Responsable interface

In all other exceptions, when a Response is supposed to be returned,
the Responsable interface is used instead of render.

2 years agoModify HttpFetchException handle to log exception
Thomas Kuschan [Wed, 14 Jun 2023 12:09:52 +0000 (14:09 +0200)]
Modify HttpFetchException handle to log exception

Within the flow of HttpFetchException, the actual exception from curl is preserved and logged. Make HttpFetchException a pretty exception for when it is shown to users.

2 years agoMerge branch 'fix-api-404' into development
Dan Brown [Thu, 15 Jun 2023 16:08:51 +0000 (17:08 +0100)]
Merge branch 'fix-api-404' into development

2 years agoExceptions: Added some types, simplified some classes
Dan Brown [Thu, 15 Jun 2023 16:07:40 +0000 (17:07 +0100)]
Exceptions: Added some types, simplified some classes

During review of #4291

2 years agoCSS: Reduced styles used in export formats
Dan Brown [Wed, 14 Jun 2023 12:18:14 +0000 (13:18 +0100)]
CSS: Reduced styles used in export formats

Extracted many main page content styles to own scss partial.
Styles could do with a more general clean-up.

Closes #4303

2 years agoUpdated fonts to be defined via CSS variables
Dan Brown [Wed, 14 Jun 2023 11:53:48 +0000 (12:53 +0100)]
Updated fonts to be defined via CSS variables

Exports system remains separate due to lacking css variable support.

2 years agoRefactor notify exception to clean up api exception handling 4291/head
Thomas Kuschan [Wed, 14 Jun 2023 09:07:13 +0000 (11:07 +0200)]
Refactor notify exception to clean up api exception handling

2 years agoRefactor exception handling by using interface
Thomas Kuschan [Tue, 13 Jun 2023 16:40:37 +0000 (18:40 +0200)]
Refactor exception handling by using interface

2 years agoMerge pull request #4301 from BookStackApp/css_color_variables
Dan Brown [Tue, 13 Jun 2023 14:54:27 +0000 (15:54 +0100)]
Merge pull request #4301 from BookStackApp/css_color_variables

CSS: Updated status colors to be CSS variables, Added dark variants

2 years agoCSS: Updated status colors to be CSS variables, Added dark variants 4301/head
Dan Brown [Tue, 13 Jun 2023 14:52:33 +0000 (15:52 +0100)]
CSS: Updated status colors to be CSS variables, Added dark variants

Needed some level of harcoding though due to callouts using colors,
which can't be css colors as DOMPDF won't understand these.
Use css variables elsewhere and added new dark variants to fit a bit
better.

2 years agoPage Drafts: Added new "Delete Draft" action to draft menu
Dan Brown [Tue, 13 Jun 2023 14:13:07 +0000 (15:13 +0100)]
Page Drafts: Added new "Delete Draft" action to draft menu

Provides a way for users to actually delte their user drafts where
required.
For #3927

Added test to cover new endpoint.

Makes update to MD editor #setText so that new selection is within new
range, otherwise it errors and fails operation.

2 years agoAdded activity text for each activity type
Dan Brown [Mon, 12 Jun 2023 15:45:30 +0000 (16:45 +0100)]
Added activity text for each activity type

Ensures some sensible text is always in webhook text data.
Also aligned some notification reporting to use centralised activity
system instead of custom success events.

For #4216

2 years agoSearch: Updated popular items query, load parent book for chapters/pages
Dan Brown [Sat, 10 Jun 2023 14:08:07 +0000 (15:08 +0100)]
Search: Updated popular items query, load parent book for chapters/pages

Primarily intended to show parent book for chapters when moving/copying
pages, since the default parent selector interfaces, which used the
entity-selector search endpoint, would run this popular query when no
term was present as a default backup.

For #4264

2 years agoPermissions: Updated guest user handling so additional roles apply
Dan Brown [Sat, 10 Jun 2023 10:37:01 +0000 (11:37 +0100)]
Permissions: Updated guest user handling so additional roles apply

Previously additional roles would only partially apply (system or "all"
permissions). This aligns the query-handling of permissions so that
additional roles will be used for permission queries.

Adds migration to detach existing roles as a safety precaution since
this is likely to widen permissions in scenarios that the public user
has other roles assigned already.

For #1229

2 years agoAPI: Fixed misaligned image datetime format
Dan Brown [Sat, 10 Jun 2023 09:52:39 +0000 (10:52 +0100)]
API: Fixed misaligned image datetime format

For #4294

2 years agoFixed error on pages without comments
Dan Brown [Fri, 9 Jun 2023 18:21:49 +0000 (19:21 +0100)]
Fixed error on pages without comments

2 years agoMerge pull request #4286 from BookStackApp/comment_threads
Dan Brown [Fri, 9 Jun 2023 16:39:02 +0000 (17:39 +0100)]
Merge pull request #4286 from BookStackApp/comment_threads

Comment threads

2 years agoComments: Updated reply-to and general styling 4286/head
Dan Brown [Fri, 9 Jun 2023 16:36:30 +0000 (17:36 +0100)]
Comments: Updated reply-to and general styling

Updated reply inidicator to fit with new nesting system, only showing on
view when nest within nesting structure.

Updated the general design to be a bit cleaner and better adapt on
mobile.

Tested on FF+Chrome, inc. dark mode.

2 years agoComments: Added visual nesting limit, added nesting test
Dan Brown [Fri, 9 Jun 2023 10:12:39 +0000 (11:12 +0100)]
Comments: Added visual nesting limit, added nesting test

2 years agoComments: Updated to show form in expected location
Dan Brown [Thu, 8 Jun 2023 14:03:38 +0000 (15:03 +0100)]
Comments: Updated to show form in expected location

Includes a change of create response to use a branch as a template.

2 years agoFix "HTTP 500 on not found" bug #4290
Thomas Kuschan [Thu, 8 Jun 2023 08:50:12 +0000 (10:50 +0200)]
Fix "HTTP 500 on not found" bug  #4290

2 years agoAdd test showing the "HTTP 500 on not found" bug
Thomas Kuschan [Thu, 8 Jun 2023 07:53:53 +0000 (09:53 +0200)]
Add test showing the "HTTP 500 on not found" bug

2 years agoComments: updated component and split out code
Dan Brown [Wed, 7 Jun 2023 16:47:37 +0000 (17:47 +0100)]
Comments: updated component and split out code

Split out comment component code so single-comment actions (delete, edit) are handled within their own compontent.
Modernised existing component code.

2 years agoComments: Updated to show as nested threads
Dan Brown [Wed, 7 Jun 2023 12:24:49 +0000 (13:24 +0100)]
Comments: Updated to show as nested threads

Initial functional implementation, a lot of tweaking and adapting to be
done.

2 years agoPage display pointer: Considerably improved accessibility
Dan Brown [Wed, 31 May 2023 15:38:20 +0000 (16:38 +0100)]
Page display pointer: Considerably improved accessibility

- Updated pointer to move within content DOM so that you can back-focus
  into the pointer if desired.
- Added new "Section select mode" which toggles focusabiltiy for main
  content sections, with ability to show pointer via enter press on
  these.
- Updated pointer with proper input/button labelling.

Tested via orca screen reader on Firefox/Fedora/Gnome.
For #3975

2 years agoChapters API: Allowed move via book_id property
Dan Brown [Tue, 30 May 2023 19:55:24 +0000 (20:55 +0100)]
Chapters API: Allowed move via book_id property

Aligns it with pages and with the book_id property already being part of
the API.
For #4272.

2 years agoAltered ldap_connect usage, cleaned up LDAP classes
Dan Brown [Tue, 30 May 2023 12:10:05 +0000 (13:10 +0100)]
Altered ldap_connect usage, cleaned up LDAP classes

Primarily updated ldap_connect to avoid usage of deprecated syntax.
Updated tests and service to handle as expected.
Cleaned up syntax and types in classes while there.

Closes #4274

2 years agoMerge pull request #4265 from BookStackApp/image_manager_responsive
Dan Brown [Mon, 29 May 2023 15:52:55 +0000 (16:52 +0100)]
Merge pull request #4265 from BookStackApp/image_manager_responsive

Enhanced Responsive Image Manager

2 years agoRemoved forced initial image manager display 4265/head
Dan Brown [Mon, 29 May 2023 15:23:37 +0000 (16:23 +0100)]
Removed forced initial image manager display

2 years agoImage manager: Improved screen reader usage
Dan Brown [Mon, 29 May 2023 15:21:44 +0000 (16:21 +0100)]
Image manager: Improved screen reader usage

Added extra labels, or removed duplicate info, to improve screen reader
ux after testing via gnome/fedora/firefox screen reader usage testing.

2 years agoImage manager: cleaned up style changes, dark mode support
Dan Brown [Mon, 29 May 2023 14:50:36 +0000 (15:50 +0100)]
Image manager: cleaned up style changes, dark mode support

- Updated tab handling to be smarter on initial tab selection, to first
  target non-hidden tab panels where they may be handled server-side.
- Extracted contained search box handling styles to _forms.scss, after
  merging with image-manager-specific styles since this is only usage of
  contained variant.
- Aligned focus handling on image manager UI elements.

2 years agoUpdated test to align with image manager HTML changes
Dan Brown [Mon, 29 May 2023 14:16:16 +0000 (15:16 +0100)]
Updated test to align with image manager HTML changes

2 years agoImage update API: added update image file ability
Dan Brown [Mon, 29 May 2023 14:06:17 +0000 (15:06 +0100)]
Image update API: added update image file ability

2 years agoFixed bad /api docs redirection on sub path
Dan Brown [Mon, 29 May 2023 13:41:59 +0000 (14:41 +0100)]
Fixed bad /api docs redirection on sub path

Direct route redirect does not seem to go via standard URL generator so
misses off generation via base URL.

2 years agoAdded the ability to replace existing image files
Dan Brown [Sun, 28 May 2023 16:32:22 +0000 (17:32 +0100)]
Added the ability to replace existing image files

- Updated UI with image form dropdown containing delete and replace
  image actions.
- Adds new endpoint and service/repo handling for replacing existing
  image.
- Includes tests to cover.

2 years agoImage manager: Added extra detail below image edit form
Dan Brown [Sun, 28 May 2023 11:07:19 +0000 (12:07 +0100)]
Image manager: Added extra detail below image edit form

2 years agoImage manager: extracted lang text, updated anims and search cancel
Dan Brown [Sun, 28 May 2023 10:37:49 +0000 (11:37 +0100)]
Image manager: extracted lang text, updated anims and search cancel

- Updated search cancel to only show when a search is active.
- Updated gallery image load animation to be much faster.

2 years agoImage manager: supported a tabbed interface on mobile
Dan Brown [Sat, 27 May 2023 15:58:10 +0000 (16:58 +0100)]
Image manager: supported a tabbed interface on mobile

Makes interface relatively usable now on mobile sizes.
Required updating of tab handling to support tabs being active at only
mobile screen sizes, include change on resize, upon support for
potentially nested tab usage.
Tab component will now search within sensible depths for finding its own
tabs and panels to control.

2 years agoImage manager: added ability to trigger load more via scroll
Dan Brown [Fri, 26 May 2023 17:05:29 +0000 (18:05 +0100)]
Image manager: added ability to trigger load more via scroll

2 years agoImage manager: Redesigned header bar(s)
Dan Brown [Fri, 26 May 2023 13:30:59 +0000 (14:30 +0100)]
Image manager: Redesigned header bar(s)

2 years agoUpdated image manager to use grid-based css
Dan Brown [Wed, 24 May 2023 16:07:32 +0000 (17:07 +0100)]
Updated image manager to use grid-based css

2 years agoMerge pull request #4262 from BookStackApp/command_cleanup
Dan Brown [Wed, 24 May 2023 12:22:25 +0000 (13:22 +0100)]
Merge pull request #4262 from BookStackApp/command_cleanup

Command cleanup & alignment

2 years agoUpdated command classes to include "Command" in name 4262/head
Dan Brown [Wed, 24 May 2023 12:21:46 +0000 (13:21 +0100)]
Updated command classes to include "Command" in name

2 years agoAligned command class code
Dan Brown [Wed, 24 May 2023 11:59:50 +0000 (12:59 +0100)]
Aligned command class code

- Aligned usage of injecting through handler.
- Aligned handler return type.
- Aligned argument and arg desc format.
- Aligned lack of constructor.

2 years agoCovered untested commands with testing
Dan Brown [Wed, 24 May 2023 09:34:43 +0000 (10:34 +0100)]
Covered untested commands with testing

2 years agoMerge pull request #4247 from BookStackApp/controller_cleanup
Dan Brown [Wed, 24 May 2023 08:12:49 +0000 (09:12 +0100)]
Merge pull request #4247 from BookStackApp/controller_cleanup

Revised `app/` folder layout/structure

2 years agoFixed failing references after controller/file reshuffle 4247/head
Dan Brown [Wed, 24 May 2023 08:06:15 +0000 (09:06 +0100)]
Fixed failing references after controller/file reshuffle

2 years agoUpdated translation attribution before v23.05.2
Dan Brown [Tue, 23 May 2023 11:32:39 +0000 (12:32 +0100)]
Updated translation attribution before v23.05.2

2 years agoUpdated php deps
Dan Brown [Mon, 22 May 2023 19:52:50 +0000 (20:52 +0100)]
Updated php deps

2 years agoUpdated translations with latest Crowdin changes (#4239)
Dan Brown [Mon, 22 May 2023 19:51:22 +0000 (20:51 +0100)]
Updated translations with latest Crowdin changes (#4239)

2 years agoMerge pull request #4252 from BookStackApp/cli_update_2
Dan Brown [Mon, 22 May 2023 19:45:32 +0000 (20:45 +0100)]
Merge pull request #4252 from BookStackApp/cli_update_2

Updated System CLI

2 years agoMerge pull request #4254 from BookStackApp/code_active_line
Dan Brown [Mon, 22 May 2023 19:44:05 +0000 (20:44 +0100)]
Merge pull request #4254 from BookStackApp/code_active_line

Updated code view block line highlighting to only show on focus

2 years agoAllowed attachment drag via main text link
Dan Brown [Mon, 22 May 2023 19:23:19 +0000 (20:23 +0100)]
Allowed attachment drag via main text link

Enables easier sorting and dragging of box into content.
Related to #591

2 years agoAllowed button-based multi-file uploads
Dan Brown [Mon, 22 May 2023 13:19:18 +0000 (14:19 +0100)]
Allowed button-based multi-file uploads

Likely something that worked via dropzone before.
This adds support for our custom dropzone file handling.
Related to #4241

2 years agoUpdated code view block line highlighting to only show on focus 4254/head
Dan Brown [Mon, 22 May 2023 13:05:07 +0000 (14:05 +0100)]
Updated code view block line highlighting to only show on focus

The default 1st line highlighting confused users when existing on
read-only blocks as it was not clear this represented the active line.
This changes the highlight to only show when the block is focused upon.

2 years agoUpdated System CLI 4252/head
Dan Brown [Mon, 22 May 2023 09:28:12 +0000 (10:28 +0100)]
Updated System CLI

- Fixed a range of additional issues involving symlinks.
- Fixed incorrect app locating relative to system cli.

2 years agoCleaned up namespacing in routes
Dan Brown [Thu, 18 May 2023 19:53:39 +0000 (20:53 +0100)]
Cleaned up namespacing in routes

Also moved home controller and moved controllers up a level in http.

2 years agoPlayed around with a new app structure
Dan Brown [Wed, 17 May 2023 16:56:55 +0000 (17:56 +0100)]
Played around with a new app structure

2 years agoUpdated translator attribution before release v23.05.1
Dan Brown [Mon, 8 May 2023 15:04:02 +0000 (16:04 +0100)]
Updated translator attribution before release v23.05.1

2 years agoMerge pull request #4229 from BookStackApp/cli-update
Dan Brown [Mon, 8 May 2023 14:21:04 +0000 (15:21 +0100)]
Merge pull request #4229 from BookStackApp/cli-update

Updated system CLI

2 years agoUpdated system CLI 4229/head
Dan Brown [Mon, 8 May 2023 14:16:30 +0000 (15:16 +0100)]
Updated system CLI

- Fixed wrong env details being used on restore.
- Updated update-url on restore actually work.
- Added better support for symlinked locations.
- Added warning against updating in docker-like (non git controlled)
  environments.

2 years agoUpdated translations with latest Crowdin changes (#4211)
Dan Brown [Mon, 8 May 2023 13:49:01 +0000 (14:49 +0100)]
Updated translations with latest Crowdin changes (#4211)

2 years agoFixed code block line-number bar showing in exports
Dan Brown [Mon, 8 May 2023 13:45:45 +0000 (14:45 +0100)]
Fixed code block line-number bar showing in exports

Also fixed in print view.
Likely crept in during CM6 changes.

For #4215

2 years agoUpdated php deps, formatted command changes
Dan Brown [Mon, 8 May 2023 13:37:01 +0000 (14:37 +0100)]
Updated php deps, formatted command changes

2 years agoPrevented shorcuts activating when in codemirror areas
Dan Brown [Mon, 8 May 2023 13:28:03 +0000 (14:28 +0100)]
Prevented shorcuts activating when in codemirror areas

For #4227

2 years agoWYSWIYG code blocks: copied head styles into shadow root
Dan Brown [Mon, 8 May 2023 11:21:53 +0000 (12:21 +0100)]
WYSWIYG code blocks: copied head styles into shadow root

Currently only link-based styles are made available in the shadow root
code editor environment, this adds normal styles to apply any user-added
via custom head content.

Fixes #4228

2 years agoFixed added padding around hr tags in details blocks
Dan Brown [Mon, 8 May 2023 11:01:52 +0000 (12:01 +0100)]
Fixed added padding around hr tags in details blocks

Due to manual handling & wrapping of non-block content in details block
not taking hr elements into account.
For #3963

2 years agoAdded WYSWIYG editor code editor cancel focus return
Dan Brown [Sun, 7 May 2023 18:36:10 +0000 (19:36 +0100)]
Added WYSWIYG editor code editor cancel focus return

Focus now returns to the editor properly when you quit out the code
editor without saving.
This also sets the return location to be correct on normal saving (Would
sometimes jump to the end of the document).

For #4109.

2 years agoAdded force option for update-url command
Dan Brown [Sat, 6 May 2023 22:05:25 +0000 (23:05 +0100)]
Added force option for update-url command

Includes test to cover.
Closes #4223

2 years agoAdded mostodon badge in readme, updated CLI
Dan Brown [Wed, 3 May 2023 09:56:36 +0000 (10:56 +0100)]
Added mostodon badge in readme, updated CLI

2 years agoSet page include limit to be 3 as expected instead of 4
Dan Brown [Tue, 2 May 2023 11:44:55 +0000 (12:44 +0100)]
Set page include limit to be 3 as expected instead of 4

2 years agoUpdated translator attribution pre v23.05 release
Dan Brown [Mon, 1 May 2023 18:39:20 +0000 (19:39 +0100)]
Updated translator attribution pre v23.05 release

2 years agoUpdated translations with latest Crowdin changes (#4163)
Dan Brown [Mon, 1 May 2023 18:37:49 +0000 (19:37 +0100)]
Updated translations with latest Crowdin changes (#4163)