]>
BookStack Code Mirror - bookstack/log
Dan Brown [Tue, 18 Apr 2023 12:41:28 +0000 (13:41 +0100)]
CM6: Added tabbing, fixed dark mode border in WYSIWYG
Dan Brown [Mon, 17 Apr 2023 12:24:29 +0000 (13:24 +0100)]
CM6: Updated for popup editor, added new interface
New simple interface added for abstraction of CM editor in simple
use-cases, just to provide common actions like get/set content, focus
and set mode.
Dan Brown [Sun, 16 Apr 2023 22:48:45 +0000 (23:48 +0100)]
CM6: Got WYSIWYG code blocks working
Required monkey-patch to work around potential codemirror issue with
shadowdom+iframe usage.
Also updated JS packages to latest versions.
Dan Brown [Sun, 16 Apr 2023 15:05:16 +0000 (16:05 +0100)]
CM6: Aligned styling with existing, improved theme handling
Dan Brown [Sat, 15 Apr 2023 14:35:41 +0000 (15:35 +0100)]
Updated cm6 theme handling to allow extension via API
Uses our custom event system, uses methods that take callables so that
internal dependancies can be passed.
Dan Brown [Fri, 14 Apr 2023 17:08:57 +0000 (18:08 +0100)]
Added cm6 strategy for splitting and dyn. loading langs
Split out legacy modes to their own dynamically imported bundle to
reduce main code bundle size.
Dan Brown [Fri, 14 Apr 2023 13:08:40 +0000 (14:08 +0100)]
Addressed existing cm6 todos
- Updated clipboard handling
- Removed old clipboard package for browser-native API.
- Updated codemirror editor events to use new props for new data types.
Dan Brown [Thu, 13 Apr 2023 16:38:11 +0000 (17:38 +0100)]
Cleaned up change handling in cm6 editor action handling
Dan Brown [Thu, 13 Apr 2023 16:18:32 +0000 (17:18 +0100)]
Finished update pass of all md editor actions to cm6
Dan Brown [Thu, 13 Apr 2023 11:51:52 +0000 (12:51 +0100)]
Updated another range of actions for cm6
Dan Brown [Tue, 11 Apr 2023 12:16:04 +0000 (13:16 +0100)]
Made a start on updating editor actions
Dan Brown [Tue, 11 Apr 2023 10:48:58 +0000 (11:48 +0100)]
Got md shortcuts working, marked actions for update
Dan Brown [Mon, 10 Apr 2023 14:01:44 +0000 (15:01 +0100)]
Got markdown editor barely functional
Updated content sync and preview scoll sync to work.
Many features commented out until they can be updated.
Dan Brown [Fri, 7 Apr 2023 17:12:00 +0000 (18:12 +0100)]
Merge branch 'v23.02-branch' into development
Dan Brown [Fri, 7 Apr 2023 17:06:44 +0000 (18:06 +0100)]
Updated translator attribution before release v23.02.3
Dan Brown [Fri, 7 Apr 2023 16:59:34 +0000 (17:59 +0100)]
Updated translations with latest Crowdin changes (#4131)
Dan Brown [Fri, 7 Apr 2023 16:59:34 +0000 (17:59 +0100)]
Updated translations with latest Crowdin changes (#4131)
Dan Brown [Fri, 7 Apr 2023 16:54:17 +0000 (17:54 +0100)]
Fixed tag numbering in last commit
Dan Brown [Fri, 7 Apr 2023 16:47:46 +0000 (17:47 +0100)]
Fixed click issue with tag suggestions in safari
Updated selectable elements to be divs instead of buttons since Safari
akwardly does not focus on buttons on click.
Also standardised keyboard handling to our standard nav class.
Also addressed empty tag values showing in results.
For #4139
Dan Brown [Fri, 7 Apr 2023 14:57:21 +0000 (15:57 +0100)]
Fixed error upon user delete with no migration id
Fixes #4162
Dan Brown [Tue, 4 Apr 2023 09:44:38 +0000 (10:44 +0100)]
Cleaned up old token services
Daiki Urata [Thu, 30 Mar 2023 08:58:17 +0000 (17:58 +0900)]
Add WKHTMLTOPDF to .env.example.complete
Dan Brown [Sat, 25 Mar 2023 12:33:59 +0000 (12:33 +0000)]
Merge branch 'v23.02-branch' into development
Dan Brown [Sat, 25 Mar 2023 12:07:59 +0000 (12:07 +0000)]
Fixed delete role failing with no migrate role provided
For #4128
Dan Brown [Fri, 24 Mar 2023 14:46:30 +0000 (14:46 +0000)]
Updated php deps
Dan Brown [Fri, 24 Mar 2023 14:43:48 +0000 (14:43 +0000)]
Fixed issue with user delete ownership not migrating
Caused by input not being part of the submitted form.
Updated test to ensure the input is within a form.
For #4124
Dan Brown [Mon, 13 Mar 2023 21:03:00 +0000 (21:03 +0000)]
Updated php deps
Dan Brown [Sat, 25 Mar 2023 12:18:45 +0000 (12:18 +0000)]
Merged latest crowdin changes
Dan Brown [Sat, 25 Mar 2023 12:07:59 +0000 (12:07 +0000)]
Fixed delete role failing with no migrate role provided
For #4128
Dan Brown [Fri, 24 Mar 2023 14:46:30 +0000 (14:46 +0000)]
Updated php deps
Dan Brown [Fri, 24 Mar 2023 14:43:48 +0000 (14:43 +0000)]
Fixed issue with user delete ownership not migrating
Caused by input not being part of the submitted form.
Updated test to ensure the input is within a form.
For #4124
Vincent Bernat [Fri, 24 Mar 2023 08:34:37 +0000 (09:34 +0100)]
Allow a user to disable peer check when using TLS/STARTTLS
This is useful when developing and on Docker setups. Despite setting
encryption to null, if a server supports STARTTLS with a self-signed
certificate, the mailer try to upgrade the connection with STARTTLS.
Dan Brown [Tue, 21 Mar 2023 20:53:35 +0000 (20:53 +0000)]
Added own twig/smarty packages for cm6 lang support
Dan Brown [Sun, 19 Mar 2023 10:22:44 +0000 (10:22 +0000)]
Merge branch 'development' into codemirror6
Dan Brown [Wed, 15 Mar 2023 11:45:36 +0000 (11:45 +0000)]
Merge pull request #4103 from BookStackApp/image_api
Image API Endpoints
Dan Brown [Wed, 15 Mar 2023 11:37:03 +0000 (11:37 +0000)]
Added examples, updated docs for image gallery api endpoints
Dan Brown [Tue, 14 Mar 2023 19:29:08 +0000 (19:29 +0000)]
Added phpunit tests to cover image API endpoints
Dan Brown [Tue, 14 Mar 2023 12:19:19 +0000 (12:19 +0000)]
Started Image API build
Dan Brown [Mon, 13 Mar 2023 21:03:00 +0000 (21:03 +0000)]
Updated php deps
Dan Brown [Mon, 13 Mar 2023 20:55:44 +0000 (20:55 +0000)]
Merge pull request #4099 from BookStackApp/permissions_api
Content-Permissions API Endpoints
Dan Brown [Mon, 13 Mar 2023 20:41:32 +0000 (20:41 +0000)]
Added content-perms API examples and docs tweaks
Dan Brown [Mon, 13 Mar 2023 20:06:52 +0000 (20:06 +0000)]
Tweaked content permission endpoints, covered with tests
Dan Brown [Mon, 13 Mar 2023 13:18:33 +0000 (13:18 +0000)]
Started build of content-permissions API endpoints
Dan Brown [Tue, 28 Feb 2023 01:01:25 +0000 (01:01 +0000)]
Removed bookstack wording instances in color setting options
Dan Brown [Mon, 27 Feb 2023 19:19:03 +0000 (19:19 +0000)]
Updated translations with latest Crowdin changes (#4066)
Dan Brown [Mon, 27 Feb 2023 19:09:20 +0000 (19:09 +0000)]
Fixed language locale setting issue
Attempted to access an array that had been filtered and therefore could
have holes within, including as position 0 which would then be
accessed.
Also added cs language to internal map
Related to #4068
Dan Brown [Sun, 26 Feb 2023 10:50:14 +0000 (10:50 +0000)]
Fixed caching issue when running tests
Dan Brown [Sun, 26 Feb 2023 10:36:15 +0000 (10:36 +0000)]
Updated translations with latest Crowdin changes (#4025)
Dan Brown [Sat, 25 Feb 2023 17:35:21 +0000 (17:35 +0000)]
Updated php deps and translaters in prep for v23.02
Dan Brown [Thu, 23 Feb 2023 23:06:12 +0000 (23:06 +0000)]
Added updated_at index to pages table
This has a large impact on some areas where latest updated pages are
shown, such as the homepage for example.
Dan Brown [Thu, 23 Feb 2023 23:01:03 +0000 (23:01 +0000)]
Added caching to the loading of system roles
Admin system role was being loaded for each permission check performed.
This caches the fetching for the request lifetime.
Dan Brown [Thu, 23 Feb 2023 22:59:26 +0000 (22:59 +0000)]
Fixed old deprecated encoding convert on HTML doc load
Dan Brown [Thu, 23 Feb 2023 22:22:32 +0000 (22:22 +0000)]
Merge pull request #4062 from BookStackApp/settings_perf
Changed the way settings are loaded
Dan Brown [Thu, 23 Feb 2023 22:14:47 +0000 (22:14 +0000)]
Changed the way settings are loaded
This new method batch-loads them from the database, and removes the
cache-layer with the intention that a couple of batch fetches from the
DB is more efficient than hitting the cache each time.
Dan Brown [Thu, 23 Feb 2023 12:30:27 +0000 (12:30 +0000)]
Changed autosave handling for better editor performance
This changes how the editors interact with the parent page-editor
compontent, which handles auto-saving.
Instead of blasting the full editor content upon any change to that
parent compontent, the editors just alert of a change, without the
content. The parent compontent then requests the editor content from the
editor component when it needs that data for an autosave.
For #3981
Dan Brown [Wed, 22 Feb 2023 14:32:40 +0000 (14:32 +0000)]
Made page-save HTML formatting much more efficient
Replaced the existing xpath-heavy system with a more manual traversal
approach. Fixes following slow areas of old system:
- Old system would repeat ID-setting action for elements (Headers could
be processed up to three times).
- Old system had a few very open xpath queries for headers.
- Old system would update links on every ID change, which triggers it's
own xpath query for links, leading to exponential scaling issues.
New system only does one xpath query for links when changes are needed.
Added test to cover.
For #3932
Dan Brown [Mon, 20 Feb 2023 13:05:23 +0000 (13:05 +0000)]
Increased attachment link limit from 192 to 2k
Added test to cover.
Did attempt a 64k limit, but values over 2k significantly increase
chance of other issues since this URL may be used in redirect headers.
Would rather catch issues in-app.
For #4044
Dan Brown [Mon, 20 Feb 2023 12:05:52 +0000 (12:05 +0000)]
Updated language files to remove literal "1" values
This is to encourge the ":count" values to be used instead of 1s in the
translated variants so that non-pluralised languages are hardcoded with
"1"s in their content, even when not used in a singular context.
For #4040
Dan Brown [Sun, 19 Feb 2023 16:11:30 +0000 (16:11 +0000)]
Merge pull request #4051 from BookStackApp/roles_api
User Roles API Endpoint
Dan Brown [Sun, 19 Feb 2023 16:03:50 +0000 (16:03 +0000)]
Fixed unselectable checkbox role form options
Dan Brown [Sun, 19 Feb 2023 15:58:29 +0000 (15:58 +0000)]
Added role API responses & requests
Also applied other slight tweaks and comment updates based upon manual
endpoint testing.
Dan Brown [Sat, 18 Feb 2023 19:01:38 +0000 (19:01 +0000)]
Updated test to have reliable check ordering
Dan Brown [Sat, 18 Feb 2023 18:50:01 +0000 (18:50 +0000)]
Set order to role permissions API response
Dan Brown [Sat, 18 Feb 2023 18:36:34 +0000 (18:36 +0000)]
Aded roles API controller methods
Altered & updated permissions repo, and existing connected
RoleController to suit.
Also extracts in-app success notifications to auto activity system.
Tweaked tests where required.
Dan Brown [Sat, 18 Feb 2023 13:51:18 +0000 (13:51 +0000)]
Added tests for not-yet-built role API endpoints
Dan Brown [Fri, 17 Feb 2023 22:37:13 +0000 (22:37 +0000)]
Added esbuild bundle inspection metafile
Dan Brown [Fri, 17 Feb 2023 22:14:34 +0000 (22:14 +0000)]
Added newer languages where possible
Cannot find existing option for twig/smarty, need to look other methods.
Dan Brown [Fri, 17 Feb 2023 21:28:23 +0000 (21:28 +0000)]
Merge branch 'codemirror6' into codemirror6_take2
Dan Brown [Fri, 17 Feb 2023 21:16:42 +0000 (21:16 +0000)]
Updated tinymce from 6.1.0 to 6.3.1
Dan Brown [Fri, 17 Feb 2023 16:20:59 +0000 (16:20 +0000)]
Merge pull request #4049 from BookStackApp/shelf_book_sort_updates
Shelf book sort improvements
Dan Brown [Fri, 17 Feb 2023 16:18:24 +0000 (16:18 +0000)]
Applied shelf book sort changes from testing
Added better labelling of sort lists for screen readers.
Fadded out sort-item action buttons until hovering for a cleaner look.
Dan Brown [Fri, 17 Feb 2023 15:53:24 +0000 (15:53 +0000)]
Added shelf book item sort action functionality
Adds JS logic, and dropdown action list, for quick-sorting the book
shelf list in addition to handling the book item action buttons.
Dan Brown [Fri, 17 Feb 2023 15:05:28 +0000 (15:05 +0000)]
Started accessible controls for shelf book sort
Added buttons and fit to design.
Added new icon variations to support.
Extracted book item to own view and setup for future auto sorts.
Dan Brown [Fri, 17 Feb 2023 14:25:38 +0000 (14:25 +0000)]
Made sendmail command configurable
For #4001
Added simple test to cover config option.
Dan Brown [Thu, 16 Feb 2023 17:57:34 +0000 (17:57 +0000)]
Fixed gallery images not visible until draft publish
For #4028
Dan Brown [Thu, 16 Feb 2023 17:27:09 +0000 (17:27 +0000)]
Updated php deps
Dan Brown [Tue, 14 Feb 2023 16:16:08 +0000 (16:16 +0000)]
Added torutec as sponsor, updated license and version
Dan Brown [Thu, 9 Feb 2023 21:37:38 +0000 (21:37 +0000)]
Merge pull request #4032 from BookStackApp/favicon
Generate favicon.ico file
Dan Brown [Thu, 9 Feb 2023 21:16:27 +0000 (21:16 +0000)]
Added control-upon-access of the default favicon.ico file
Dan Brown [Thu, 9 Feb 2023 20:57:35 +0000 (20:57 +0000)]
Added default favicon creation upon access.
Dan Brown [Thu, 9 Feb 2023 17:47:33 +0000 (17:47 +0000)]
Updated favicon gen to use png-based ICO
From testing, worked on Firefox, Chrome, Gnome Web
Dan Brown [Thu, 9 Feb 2023 15:14:41 +0000 (15:14 +0000)]
Got favicons better supported, can't get transparency right
Digging deeper, I don't think PHPGD supports 32bit bmp output which
complicates matters.
Dan Brown [Thu, 9 Feb 2023 13:24:43 +0000 (13:24 +0000)]
Integrated favicon handler with correct files & actions
Format does not look 100% correct though, won't show in Firefox/gimp.
Dan Brown [Wed, 8 Feb 2023 23:06:42 +0000 (23:06 +0000)]
Built custom favicon.ico file creator
Followed wikipedia-defined ICO file format info, and used with
Intervention's good bmp support, to create a working proof-of-concept.
Dan Brown [Wed, 8 Feb 2023 14:39:13 +0000 (14:39 +0000)]
Extracted test file handling to its own class
Closes #3995
Dan Brown [Wed, 8 Feb 2023 13:20:00 +0000 (13:20 +0000)]
Removed deprecated syntax in old migration file
Dan Brown [Tue, 7 Feb 2023 12:11:04 +0000 (12:11 +0000)]
Merge pull request #4021 from BookStackApp/laravel9
Upgrade framework to Laravel 9
Dan Brown [Tue, 7 Feb 2023 11:50:59 +0000 (11:50 +0000)]
Removed parallel testing, updated predis
Parallel testing paratest library caused issues due to a single version
not being compatibile across our php range. Removed for now as not
really worth the faff to get compatible.
Dan Brown [Mon, 6 Feb 2023 20:41:33 +0000 (20:41 +0000)]
Fixed issues found from tests
Dan Brown [Mon, 6 Feb 2023 20:00:44 +0000 (20:00 +0000)]
Fixed static analysis issues
Dan Brown [Mon, 6 Feb 2023 16:58:29 +0000 (16:58 +0000)]
Followed Laravel 9 update steps and file changes
Dan Brown [Thu, 2 Feb 2023 12:17:06 +0000 (12:17 +0000)]
Merge branch 'development' of github.com:BookStackApp/BookStack into development
Dan Brown [Thu, 2 Feb 2023 12:16:56 +0000 (12:16 +0000)]
Updated translations with latest Crowdin changes (#4008)
Dan Brown [Thu, 2 Feb 2023 11:48:25 +0000 (11:48 +0000)]
Added missing app icon image
Fixes #4006
Dan Brown [Thu, 2 Feb 2023 11:44:25 +0000 (11:44 +0000)]
Updated php depenencies
Dan Brown [Tue, 31 Jan 2023 11:39:21 +0000 (11:39 +0000)]
Merge branch 'development' of github.com:BookStackApp/BookStack into development
Dan Brown [Tue, 31 Jan 2023 11:38:56 +0000 (11:38 +0000)]
Updated translation attribution before v23.01 release
Dan Brown [Tue, 31 Jan 2023 11:29:36 +0000 (11:29 +0000)]
Updated translations with latest Crowdin changes (#3925)
Dan Brown [Sat, 28 Jan 2023 17:59:54 +0000 (17:59 +0000)]
Merge pull request #4002 from BookStackApp/color_upgrades
Better application color scheme control
Dan Brown [Sat, 28 Jan 2023 17:57:43 +0000 (17:57 +0000)]
Adjusted/improved some color setting wording