Commit Graph

32 Commits

Author SHA1 Message Date
tecc
3c47567077
chore!: Update editor to @notea/rich-markdown-editor
editor: I forked Outline's rich-markdown-editor and made a Notea version for it. Now more of the editor-related issues can be fixed.
prosemirror-model: Upgraded prosemirror-model to 1.16.1. I don't know why 1.17+ doesn't work (suspecting something with instanceof not working) so this is a hack.
2022-10-19 01:55:39 +02:00
tecc
e5c1d59402
fix(next): Fixed PWA configuration stuff
pwa-config: The `pwa` property has been removed from the `withPWA` call, and its contained properties have been moved to the `nextPWA` options object. This removes all warnings from Next.
2022-10-14 01:57:22 +02:00
tecc
e4bcbe0892
style: More style stuff (I kinda regret it now) 2022-09-11 03:04:26 +02:00
tecc
dbb6e75810
chore(deps)!: Update to Next.js 12 and other dependencies
Next.js@12: Next.js 12 should provide better performance and stuffs.

.babelrc: .babelrc has been removed to take advantage of Next.js' SWC backend (which offers faster build times) - if the file was still present, Babel would automatically be chosen over SWC.

.yarnclean: Commented out the "images" yarnclean directive, as it was causing issues with Next.js.

next-pwa: next-pwa has been updated, and next.config.js has been updated to use its newer API.

react: React has been updated to React 18. The @types package could not use the latest version due to some issues with the package itself.

rich-markdown-editor: rich-markdown-editor could not be updated due to issues with theming.

BREAKING-CHANGE: Next.js and React have been upgraded to their later versions.
2022-09-05 16:40:28 +02:00
tecc
f1898cc133
refactor(style): The Big Reformat, part 2
reformat: All files have been reformatted.
2022-09-04 01:25:31 +02:00
tecc
94fb16696f
change(next): Next config now has a wrapper for PWA config
change(next): The configuration now provides a middleware webpack configuration function before passing it to withPWA's webpack function.
2022-08-12 13:32:50 +02:00
tecc
ff2c606db2
The Big Reformat
~ Reformatted most project files to my preference
2022-08-07 22:55:36 +02:00
cinwell.li
bfbb01702f
fix: avoid images being cached, fix #98 (#100) 2021-09-08 09:30:11 +08:00
liqingwei
1d55b19816 chore: upgrade nextjs, react, rich-markdown-editor 2021-06-18 21:59:18 +08:00
liqingwei
bbdee8e207 chore: upgrade hericons 2021-06-06 12:25:16 +08:00
liqingwei
923b955809 chore: upgrade next-pwa 2021-05-14 09:44:38 +08:00
liqingwei
b8f4d18d9b chore: remove runtime caching 2021-05-14 09:09:22 +08:00
liqingwei
464867dd06 fix: no cache api/file 2021-05-13 14:13:30 +08:00
liqingwei
804de71138 fix: dev error in win10, close #22 [ci skip] 2021-05-04 14:31:32 +08:00
liqingwei
a79c1fcd8a fix: netlify build error [ci skip] 2021-04-30 21:30:25 +08:00
liqingwei
5272a79dc7 fix: material-ui styles & upgrade webpack 2021-04-26 09:59:40 +08:00
liqingwei
4554fbcfbb feat: i18n 2021-04-25 20:06:38 +08:00
liqingwei
f75542789f feat: init locale config 2021-04-25 11:07:12 +08:00
liqingwei
19cd62ca32 feat: add seo for post page 2021-04-20 21:41:38 +08:00
liqingwei
08f93c0a59 feat: simple post page 2021-04-20 21:01:15 +08:00
liqingwei
8b18706161 refactor: use aws-sdk-s3 v3 2021-03-28 11:26:01 +08:00
liqingwei
cf0612e858 refactor: init note on server && redesign route && init settings 2021-03-25 22:32:51 +08:00
liqingwei
334db676fb feat: init settings page 2021-03-22 21:32:59 +08:00
liqingwei
ee31f8ced9 fix: upload file 2021-03-12 23:11:45 +08:00
liqingwei
163ac20578 feat: add manifest.json 2021-03-09 21:17:08 +08:00
liqingwei
27679afb64 feat: add pwa 2021-03-09 18:43:45 +08:00
liqingwei
1cbee8f2dd feat: store notes 2021-03-02 14:08:34 +08:00
liqingwei
283954b176 chore: rename page to note 2021-03-01 16:20:34 +08:00
liqingwei
d8a2d2f037 chore: add dockerfile 2021-02-22 22:40:13 +08:00
liqingwei
945bc63816 feat: add ua 2021-02-21 12:18:22 +08:00
liqingwei
26561953d3 feat: sidebar 2021-02-16 11:47:07 +08:00
liqingwei
3c3db9b825 feat: init ui 2021-02-15 17:59:00 +08:00