Dan Brown
7505443a0c
Updated complete env wkhtml text and added advisory
...
Added advisory to start to refer to docs for full details.
Updated added WKHTMLTOPDF option text.
2023-04-21 11:54:23 +01:00
Dan Brown
f837083c12
Updated php deps
2023-04-21 11:37:41 +01:00
Dan Brown
e1bd13f481
Edits from reviewing public events page
2023-04-20 16:54:11 +01:00
Dan Brown
c74f7cc628
Documented public JS events used
...
Related to #4179
2023-04-20 16:25:48 +01:00
Dan Brown
9f467f4052
Merge pull request #4181 from BookStackApp/js_formatting
...
Added standard JS formatting via ESLint
2023-04-19 23:01:10 +01:00
Dan Brown
974390688d
ESLINT: Added GH action and details to dev docs
2023-04-19 22:56:55 +01:00
Dan Brown
da3ae3ba8b
ESLINT: Addressed remaining detected issues
2023-04-19 15:20:04 +01:00
Dan Brown
0519e58fbf
ESLINT: Started inital pass at addressing issues
2023-04-19 10:46:13 +01:00
Dan Brown
e711290d8b
Ran eslint fix on existing codebase
...
Had to do some manual fixing of the app.js file due to misplaced
comments
2023-04-18 22:20:02 +01:00
Dan Brown
752ee664c2
Added code formatting standard via eslint
2023-04-18 22:19:27 +01:00
Dan Brown
69d03042c6
Merge pull request #3617 from BookStackApp/codemirror6
...
Upgrade to codemirror 6
2023-04-18 15:35:39 +01:00
Dan Brown
baf5edd73a
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.
2023-04-18 15:08:17 +01:00
Dan Brown
3e738b1471
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)
2023-04-18 14:21:22 +01:00
Dan Brown
94f464cd14
CM6: Added tabbing, fixed dark mode border in WYSIWYG
2023-04-18 13:43:59 +01:00
Dan Brown
900571ac9c
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.
2023-04-17 13:24:29 +01:00
Dan Brown
09fd0bc5b7
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.
2023-04-16 23:50:11 +01:00
Dan Brown
74b4751a1c
CM6: Aligned styling with existing, improved theme handling
2023-04-16 16:05:16 +01:00
Dan Brown
74b76ecdb9
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.
2023-04-15 15:35:41 +01:00
Dan Brown
9874a53206
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.
2023-04-14 18:08:57 +01:00
Dan Brown
257a703878
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.
2023-04-14 14:08:40 +01:00
Dan Brown
fdda813d5f
Cleaned up change handling in cm6 editor action handling
2023-04-13 17:38:11 +01:00
Dan Brown
6f45d34bf8
Finished update pass of all md editor actions to cm6
2023-04-13 17:18:32 +01:00
Dan Brown
32c765d0c3
Updated another range of actions for cm6
2023-04-13 12:51:52 +01:00
Dan Brown
9813c94720
Made a start on updating editor actions
2023-04-11 13:16:04 +01:00
Dan Brown
da3e4f5f75
Got md shortcuts working, marked actions for update
2023-04-11 11:48:58 +01:00
Dan Brown
572037ef1f
Got markdown editor barely functional
...
Updated content sync and preview scoll sync to work.
Many features commented out until they can be updated.
2023-04-10 15:01:44 +01:00
Dan Brown
50f3c10f19
Merge branch 'v23.02-branch' into development
2023-04-07 18:12:00 +01:00
Dan Brown
3f3f221e0d
Updated translator attribution before release v23.02.3
2023-04-07 18:06:44 +01:00
Dan Brown
d0f970fe4f
Updated translations with latest Crowdin changes ( #4131 )
2023-04-07 18:00:03 +01:00
Dan Brown
95b75c067f
Updated translations with latest Crowdin changes ( #4131 )
2023-04-07 17:59:34 +01:00
Dan Brown
81134e7071
Fixed tag numbering in last commit
2023-04-07 17:54:17 +01:00
Dan Brown
e722ee4268
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
2023-04-07 17:50:57 +01:00
Dan Brown
fd674d10e3
Fixed error upon user delete with no migration id
...
Fixes #4162
2023-04-07 15:57:21 +01:00
Dan Brown
4835a0dcb1
Cleaned up old token services
2023-04-04 10:44:38 +01:00
Daiki Urata
d353e87ca1
Add WKHTMLTOPDF to .env.example.complete
2023-03-30 17:58:17 +09:00
Dan Brown
8e64324d62
Merge branch 'v23.02-branch' into development
2023-03-25 12:33:59 +00:00
Dan Brown
0a0fdd7f3e
Fixed delete role failing with no migrate role provided
...
For #4128
2023-03-25 12:21:22 +00:00
Dan Brown
3410cf21cb
Updated php deps
2023-03-25 12:21:04 +00:00
Dan Brown
6e284d7a6c
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
2023-03-25 12:20:49 +00:00
Dan Brown
ea7914422c
Updated php deps
2023-03-25 12:20:13 +00:00
Dan Brown
509cab3e28
Merged latest crowdin changes
2023-03-25 12:18:45 +00:00
Dan Brown
dde38e91b5
Fixed delete role failing with no migrate role provided
...
For #4128
2023-03-25 12:08:45 +00:00
Dan Brown
970088a8a1
Updated php deps
2023-03-24 14:46:30 +00:00
Dan Brown
0e43618dda
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
2023-03-24 14:43:48 +00:00
Vincent Bernat
f2293a70f8
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.
2023-03-24 09:34:37 +01:00
Dan Brown
dce5123452
Added own twig/smarty packages for cm6 lang support
2023-03-21 20:53:35 +00:00
Dan Brown
c81cb6f2af
Merge branch 'development' into codemirror6
2023-03-19 10:22:44 +00:00
Dan Brown
9b66e93b15
Merge pull request #4103 from BookStackApp/image_api
...
Image API Endpoints
2023-03-15 11:45:36 +00:00
Dan Brown
402eb845ab
Added examples, updated docs for image gallery api endpoints
2023-03-15 11:37:03 +00:00
Dan Brown
3a808fd768
Added phpunit tests to cover image API endpoints
2023-03-14 19:29:08 +00:00