]>
BookStack Code Mirror - bookstack/log
Dan Brown [Fri, 26 May 2023 17:05:29 +0000 (18:05 +0100)]
Image manager: added ability to trigger load more via scroll
Dan Brown [Fri, 26 May 2023 13:30:59 +0000 (14:30 +0100)]
Image manager: Redesigned header bar(s)
Dan Brown [Wed, 24 May 2023 16:07:32 +0000 (17:07 +0100)]
Updated image manager to use grid-based css
Dan Brown [Wed, 24 May 2023 12:22:25 +0000 (13:22 +0100)]
Merge pull request #4262 from BookStackApp/command_cleanup
Command cleanup & alignment
Dan Brown [Wed, 24 May 2023 12:21:46 +0000 (13:21 +0100)]
Updated command classes to include "Command" in name
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.
Dan Brown [Wed, 24 May 2023 09:34:43 +0000 (10:34 +0100)]
Covered untested commands with testing
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
Dan Brown [Wed, 24 May 2023 08:06:15 +0000 (09:06 +0100)]
Fixed failing references after controller/file reshuffle
Dan Brown [Tue, 23 May 2023 11:32:39 +0000 (12:32 +0100)]
Updated translation attribution before v23.05.2
Dan Brown [Mon, 22 May 2023 19:52:50 +0000 (20:52 +0100)]
Updated php deps
Dan Brown [Mon, 22 May 2023 19:51:22 +0000 (20:51 +0100)]
Updated translations with latest Crowdin changes (#4239)
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
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
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
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
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.
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.
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.
Dan Brown [Wed, 17 May 2023 16:56:55 +0000 (17:56 +0100)]
Played around with a new app structure
Dan Brown [Mon, 8 May 2023 15:04:02 +0000 (16:04 +0100)]
Updated translator attribution before release v23.05.1
Dan Brown [Mon, 8 May 2023 14:21:04 +0000 (15:21 +0100)]
Merge pull request #4229 from BookStackApp/cli-update
Updated system CLI
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.
Dan Brown [Mon, 8 May 2023 13:49:01 +0000 (14:49 +0100)]
Updated translations with latest Crowdin changes (#4211)
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
Dan Brown [Mon, 8 May 2023 13:37:01 +0000 (14:37 +0100)]
Updated php deps, formatted command changes
Dan Brown [Mon, 8 May 2023 13:28:03 +0000 (14:28 +0100)]
Prevented shorcuts activating when in codemirror areas
For #4227
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
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
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.
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
Dan Brown [Wed, 3 May 2023 09:56:36 +0000 (10:56 +0100)]
Added mostodon badge in readme, updated CLI
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
Dan Brown [Mon, 1 May 2023 18:39:20 +0000 (19:39 +0100)]
Updated translator attribution pre v23.05 release
Dan Brown [Mon, 1 May 2023 18:37:49 +0000 (19:37 +0100)]
Updated translations with latest Crowdin changes (#4163)
Dan Brown [Mon, 1 May 2023 17:44:46 +0000 (18:44 +0100)]
Updated CLI & PHP deps, added gitignore for local composer
Dan Brown [Mon, 1 May 2023 17:43:03 +0000 (18:43 +0100)]
Fixed broken favourites in code editor
Dan Brown [Fri, 28 Apr 2023 18:17:38 +0000 (19:17 +0100)]
Merge pull request #4206 from BookStackApp/system_cli
Added System CLI
Dan Brown [Fri, 28 Apr 2023 18:08:45 +0000 (19:08 +0100)]
Added system cli, and created backups directory
Dan Brown [Fri, 28 Apr 2023 12:54:51 +0000 (13:54 +0100)]
Added sessionindex to SAML2 single logout request to idp
related to #3936
Dan Brown [Thu, 27 Apr 2023 22:40:14 +0000 (23:40 +0100)]
Added oidc_id_token_pre_validate logical theme event
For #4200
Dan Brown [Thu, 27 Apr 2023 15:34:14 +0000 (16:34 +0100)]
Merge branch 'esakkiraja100116/development' into development
Dan Brown [Thu, 27 Apr 2023 15:33:24 +0000 (16:33 +0100)]
Review of #4202, Rolled out to other searches, added testing
esakkiraja100116 [Wed, 26 Apr 2023 16:49:16 +0000 (22:19 +0530)]
suggesstion issue fix (#4175)
SnowCode [Thu, 27 Apr 2023 14:58:35 +0000 (16:58 +0200)]
Adding a video { width: 100%; } (#4204)
* Adding a video { width: 100%; }
This is to prevent that videos included in pages don't exceed the page border
* Reverting precedent commit
* Adding a video { max-width: 100% } instead
Dan Brown [Thu, 27 Apr 2023 14:52:16 +0000 (15:52 +0100)]
Review of #4192, Fixed formatting and added test
jasonF1000 [Thu, 27 Apr 2023 14:51:46 +0000 (16:51 +0200)]
changed PageContent.php to accept nested includes (#4192)
* changed app/Entities/Tools/PageContent.php to accept nested include levels. Tested it and it works.
* changed recommendations
This loop is now only around parsePageIncludes and bugfixes the space indentation.
* Update PageContent.php
fix spaces
Dan Brown [Thu, 27 Apr 2023 12:47:49 +0000 (13:47 +0100)]
Fixed sort urls with no params not building full path
The provided partial path would be return which may not resolve to the
full URL when used on systems like those hosting BookStack on a
sub-path.
Fixes #4201
Dan Brown [Thu, 27 Apr 2023 12:43:38 +0000 (13:43 +0100)]
Merge pull request #4193 from BookStackApp/custom_dropzone
Custom dropzone implementation
Dan Brown [Thu, 27 Apr 2023 12:31:03 +0000 (13:31 +0100)]
Fixed linting and failing test issues from dropzone work
Dan Brown [Thu, 27 Apr 2023 11:55:05 +0000 (12:55 +0100)]
Dropzone: Adjusted styles for dark mode
Dan Brown [Wed, 26 Apr 2023 22:35:25 +0000 (23:35 +0100)]
Removed dropzone from package and attribution list
Dan Brown [Wed, 26 Apr 2023 22:31:38 +0000 (23:31 +0100)]
dropzone: Addressed existing todos, cleaned attachment ux
Updated dom layout of attahcments to prevent nested dropzones (No issue
but potential to be one) and updated edit form dropzone handling so the
dropzone item card was not as distracting.
Dan Brown [Wed, 26 Apr 2023 15:41:34 +0000 (16:41 +0100)]
Updated attachments to work with new dropzone
- Fixes existing broken attachment edit tabs.
- Redesigns area to move away from old tabbed interface.
- Integrates new dropzone system, for both addition and edit.
Dan Brown [Wed, 26 Apr 2023 13:23:28 +0000 (14:23 +0100)]
Image manager: fix upload control for drawing, updated styles
- Tightened image manager styles to address things that looked akward.
- Prevented visiblity/use of upload controls for drawings.
- Updated dropzone to use error handling from validation messages.
Dan Brown [Wed, 26 Apr 2023 00:43:16 +0000 (01:43 +0100)]
Merge branch 'development' of github.com:BookStackApp/BookStack into development
Dan Brown [Wed, 26 Apr 2023 00:42:12 +0000 (01:42 +0100)]
Fixed broken shortcut hint overlay
Also updated event handler usage to use abort controller while there.
Dan Brown [Tue, 25 Apr 2023 15:41:39 +0000 (16:41 +0100)]
Dropzone: Polished image manager elements
- Added file placeholder for non-image uploads.
- Added use of upload limits.
- Removed upload timeout variable.
- Added pass-through and usage of filetypes.
- Extracted some view text to language files and made use of existing
text.
Esakkiraja [Tue, 25 Apr 2023 14:25:31 +0000 (19:55 +0530)]
.vscode folder is added in .gitignore file (#4197)
Squash of 7 commits.
---------
Co-authored-by: esakkiraja100116 <redacted>
Dan Brown [Tue, 25 Apr 2023 12:10:25 +0000 (13:10 +0100)]
Dropzone: Developed ux further
- Added image manager button for uploads.
- Added image manager placeholder sidebar text for guidance.
- Improved dropzone layer styling.
- Removed old dropzone styles.
- Got success events and auto-hide working.
- Updated upload items to animate out.
Dan Brown [Mon, 24 Apr 2023 22:24:58 +0000 (23:24 +0100)]
Dropzone: started on design/ui of uploading
- Added new wider target handling.
- Updated upload item dom with design and seperate "landing" zone.
- Added new helper for simple dom element creation.
Dan Brown [Mon, 24 Apr 2023 17:18:08 +0000 (18:18 +0100)]
Dropzone: Swapped fetch for XHR for progress tracking
Dan Brown [Mon, 24 Apr 2023 15:19:20 +0000 (16:19 +0100)]
Started custom dropzone implementation
Dan Brown [Mon, 24 Apr 2023 13:46:40 +0000 (14:46 +0100)]
Merge pull request #4191 from tigsikram/fix-api-docs-timestamp
Fix timestamp in API docs example response
Mark Weiler [Mon, 24 Apr 2023 09:19:00 +0000 (11:19 +0200)]
Fix timestamp in API docs example response
Dan Brown [Sun, 23 Apr 2023 14:05:13 +0000 (15:05 +0100)]
Merge branch 'feature/mail-verify-peer' into development
Dan Brown [Sun, 23 Apr 2023 14:04:35 +0000 (15:04 +0100)]
Mail: updated peer verify option name and added test
Dan Brown [Sun, 23 Apr 2023 13:16:31 +0000 (14:16 +0100)]
Added clojure code language option
For #4112
Dan Brown [Fri, 21 Apr 2023 10:56:31 +0000 (11:56 +0100)]
Merge branch 'wkhtmltopdf-env-example' into development
Dan Brown [Fri, 21 Apr 2023 10:54:23 +0000 (11:54 +0100)]
Updated complete env wkhtml text and added advisory
Added advisory to start to refer to docs for full details.
Updated added WKHTMLTOPDF option text.
Dan Brown [Fri, 21 Apr 2023 10:37:41 +0000 (11:37 +0100)]
Updated php deps
Dan Brown [Thu, 20 Apr 2023 15:54:11 +0000 (16:54 +0100)]
Edits from reviewing public events page
Dan Brown [Thu, 20 Apr 2023 15:25:48 +0000 (16:25 +0100)]
Documented public JS events used
Related to #4179
Dan Brown [Wed, 19 Apr 2023 22:01:10 +0000 (23:01 +0100)]
Merge pull request #4181 from BookStackApp/js_formatting
Added standard JS formatting via ESLint
Dan Brown [Wed, 19 Apr 2023 21:56:55 +0000 (22:56 +0100)]
ESLINT: Added GH action and details to dev docs
Dan Brown [Wed, 19 Apr 2023 14:20:04 +0000 (15:20 +0100)]
ESLINT: Addressed remaining detected issues
Dan Brown [Wed, 19 Apr 2023 09:46:13 +0000 (10:46 +0100)]
ESLINT: Started inital pass at addressing issues
Dan Brown [Tue, 18 Apr 2023 21:20:02 +0000 (22:20 +0100)]
Ran eslint fix on existing codebase
Had to do some manual fixing of the app.js file due to misplaced
comments
Dan Brown [Tue, 18 Apr 2023 21:19:27 +0000 (22:19 +0100)]
Added code formatting standard via eslint
Dan Brown [Tue, 18 Apr 2023 14:35:39 +0000 (15:35 +0100)]
Merge pull request #3617 from BookStackApp/codemirror6
Upgrade to codemirror 6
Dan Brown [Tue, 18 Apr 2023 14:08:17 +0000 (15:08 +0100)]
CM6: Further fixes/improvements after testing
- Updated event naming to be "cm6" when codemirror-specific.
- Removed cm block border in md editor to prevent double bordering.
- Updated copy handling to fallback to execCommand.
Dan Brown [Tue, 18 Apr 2023 13:21:22 +0000 (14:21 +0100)]
CM6: Fixed a range of issues during browser testing
- Fixed some keybindings not running as expected, due to some editor
defaults overriding or further actions taking place since the action
would not indicate it's been dealt with (by returning boolean).
- Fixed spacing/border-radius being used on codeblocks on non-intended
areas like the MD editor.
- Fixed lack of BG on default light theme, visible on full screen md
editor.
- Fixed error thrown when the user does not have access to change the
current editor (Likely non-cm related existing issue)
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