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
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
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
dce5123452
Added own twig/smarty packages for cm6 lang support
2023-03-21 20:53:35 +00:00
Dan Brown
f51036b203
Added newer languages where possible
...
Cannot find existing option for twig/smarty, need to look other methods.
2023-02-17 22:14:34 +00:00
Dan Brown
9135a85de4
Merge branch 'codemirror6' into codemirror6_take2
2023-02-17 21:28:23 +00:00
Dan Brown
28dda39260
Updated PHP and JS depenencies
2023-01-21 19:09:19 +00:00
Dan Brown
45d0860448
Updated npm package versions
2022-10-24 11:40:05 +01:00
Dan Brown
9fd7a6abed
Added dark theme handling
2022-08-04 14:19:04 +01:00
Dan Brown
4757ed9453
Converted codemirror languges to new packages where available
...
Does increase bundle size massively though, Will need to think about
solutions for this.
2022-08-04 13:33:51 +01:00
Dan Brown
97146a6359
Added handling of codemirror 6 code languages
2022-08-03 19:40:16 +01:00
Dan Brown
d4f2fcdf79
Started codemirror update, In broken state
2022-08-02 20:11:02 +01:00
Dan Brown
e00d88f45d
Updated markdown preview to update on diff-basis
...
Uses vdom system to diff and update the current markdown preview view
instead of requiring a full HTML replace change.
This should provide better performance, expecially where dynamically
loaded content such as iframes were in use.
Closes #3454
2022-06-07 16:07:28 +01:00
Dan Brown
43cbab2822
Merge branch 'development' of github.com:BookStackApp/BookStack into development
2022-05-30 17:01:46 +01:00
Dan Brown
1a3505c899
Updated JS deps
2022-05-30 17:01:32 +01:00
Dan Brown
bef2045df1
Embedded css sources for easier firefox dev work
2022-05-12 17:27:29 +01:00
Dan Brown
27339079f7
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
2022-04-13 12:08:56 +01:00
Dan Brown
981807220c
Applied StyleCI changes and updated dependancies
2022-03-23 12:02:01 +00:00
Dan Brown
9283f28e31
Updated JS deps
2022-02-24 15:02:06 +00:00
Dan Brown
a2bcf765a8
Split out codemirror JS to its own module
...
Added a cache-compatible module loading system/pattern to the codebase.
2022-02-08 11:10:01 +00:00
Dan Brown
872961ef7c
Updated npm and php dependancies
2022-01-24 18:53:28 +00:00
Dan Brown
0ba8541370
Updated npm deps
2021-11-04 23:07:36 +00:00
Dan Brown
822fea4303
Updated js dependancies
2021-08-21 15:53:45 +01:00
Dan Brown
789d17ab3f
Updated platform deps and development version number
2021-06-13 13:57:29 +01:00
Dan Brown
d62cdd58d3
Upgraded php and npm deps
...
- Sass upgrade had some breaking changes where division was used
hence updated for newer sass version support.
2021-05-29 13:08:28 +01:00
Dan Brown
2162da3a14
Updated project npm deps
2021-04-06 21:55:49 +01:00
Timo Schwarzer
aca37b8784
Fix build:js:watch not building at first launch in Docker
2020-10-01 11:25:22 +02:00
Dan Brown
ea406690f5
Updated esbuild options and version & updated npm deps
...
Had to change way sortable is imported due to changes, Still
seemed to have functioning multi-select.
2020-09-30 22:28:53 +01:00
Dan Brown
6bcfac6751
Updated codemirror and updated codemirror base styles
...
Aligns styles with current release, since was causing overflow
with scrollbars.
Fixes #2267
2020-09-26 17:33:43 +01:00
Dan Brown
b87e97f99e
Added punnycode since its reuquired by markdownit
...
Is a native, although depricated, nodejs module. Have installed manually
since esbuild could not resolve the nodejs module
2020-09-05 20:37:23 +01:00
Dan Brown
c029741a17
Updated npm deps
2020-09-05 16:54:25 +01:00
Dan Brown
ac83c349da
Migrated from webpack to esbuild
2020-09-05 16:50:20 +01:00
Dan Brown
2bacc3c967
Removed vuejs from the project
2020-07-25 00:25:30 +01:00
Dan Brown
d41452f39c
Finished breakdown of attachment vue into components
2020-07-04 16:53:02 +01:00
Dan Brown
540119f133
Moved sass build out of webpack, updated npm deps
...
Moving sass out of webpack cleans the setup quite considerably and
brings a good speed improvement.
Made use of npm-run-all so the previous commands still run like before.
2020-06-27 16:52:26 +01:00
Timo Schwarzer
0f55d776a6
Replace node-sass with dart-sass
2020-06-26 12:44:41 +02:00
Dan Brown
c1fe068ffc
Bumped npm packages up and ran audit-fix
2020-04-04 00:03:26 +01:00
Dan Brown
217954694c
Updated npm dependancies
2020-03-14 17:38:39 +00:00
Dan Brown
ceeb9d35a0
Updated JS dependancies
2019-12-21 13:30:41 +00:00
Dan Brown
53ba5b7e33
Removed jQuery and replaced axios with fetch
2019-06-08 00:02:51 +01:00
Dan Brown
d87eb277dd
Replaced jquery sortable with sortablejs
2019-06-06 13:09:58 +01:00
Dan Brown
2eba8c611e
Updated shelf-sort to use sortablejs
2019-06-06 11:49:51 +01:00
Dan Brown
f12a7540c9
Removed babel & auto-prefixer from build system
...
Closes #1468
2019-06-04 12:19:34 +01:00
Dan Brown
67d4fa0c65
Updated npm packages and migrated webpack css plugin
2019-02-03 18:21:21 +00:00
Dan Brown
75ca430fd4
Updated NPM dependancies
2018-11-27 21:50:29 +00:00
Dan Brown
e3230f8f21
Standardised module loading system & fixed build system
...
Fixed broken build system in broken webpack version.
Also updates module system to standardise on ES6 import/exports,
Especially since babel has changed it's 'default' logic for the old
module system.
2018-11-09 21:17:35 +00:00
Dan Brown
5b36ddb12f
Updated npm dependancies
2018-11-04 15:40:10 +00:00
Dan Brown
b89411c108
Copied book content, Added create routes
...
Added view control
Added pivot table for books relation
Added control to assign books
2018-08-27 14:18:09 +01:00