Commit Graph

3006 Commits

Author SHA1 Message Date
d7ed59581c chore: fix math block matcher 2024-01-04 21:50:13 +08:00
9593b0b091 chore: fix link rel field 2024-01-04 21:26:56 +08:00
ca53630410 chore: update drawer background 2024-01-04 21:11:22 +08:00
f484c38745 chore: fix dependencies 2024-01-04 20:07:53 +08:00
d12a2b0c38 feat: implement math expression parser 2024-01-04 20:05:29 +08:00
c842b921bc chore: update backend dependencies 2024-01-04 19:15:25 +08:00
6b2eec86c2 fix: image upload failed with cloudflare R2 (#2704)
Fix image upload failed with cloudflare R2
2024-01-04 19:08:54 +08:00
2eba4e2cd4 chore: update version 2024-01-04 08:36:45 +08:00
73baeaa0ad chore: tweak dark mode styles 2024-01-04 08:32:14 +08:00
c58851bc97 chore: tweak accent color 2024-01-03 23:30:28 +08:00
96140f3875 chore: tweak dark mode styles 2024-01-03 23:12:50 +08:00
369b8af109 chore: improve resource internal_path migrator (#2698)
* chore: improve internal path migrator
- handle mixed path styles
- handle Windows paths
- add tests

* chore: fix goimports error
2024-01-03 08:31:59 +08:00
914c0620c4 chore: add statistics view 2024-01-03 08:22:32 +08:00
138b69e36e chore: fix memo comment 2024-01-03 08:19:38 +08:00
3181c076b2 feat: add {uuid} in path template when using local storage or S3 (#2696)
Add {uuid} in path template when using local storage or S3

Add an addition tag `{uuid}` to the `replacePathTemplate`.

It is a workaround to leak the public links of a resource when using S3-based object storage. Currently, all resource blobs stored in S3 (R2, OSS) are set to be public. It is insecure as the resources for the private memos are also accessible on the Internet. Using an additional {uuid} might reduce this risk.

Meanwhile, it is also possible to avoid filename conflict
2024-01-02 20:57:55 +08:00
673809e07d fix: docker-compose.dev.yaml (#2695)
* Fix docker-compose.dev.yaml

* Add newline to .gitignore
2024-01-02 18:33:19 +08:00
f74fa97b4a chore: traverse nodes to upsert tags 2024-01-02 08:56:30 +08:00
c797099950 chore: update resource internal path migrator 2024-01-02 08:29:18 +08:00
0f8bfb6328 chore: update index.html 2023-12-29 08:28:17 +08:00
4cd01ece30 chore: update frontend metadata 2023-12-29 08:19:32 +08:00
14b34edca3 chore: fix misuse of package path instead of filepath.path (#2684)
As stated by https://pkg.go.dev/path, "path" is mainly for URLs, "path.filepath" for file systems
2023-12-29 07:50:15 +08:00
411e807dcc chore: use consistent relative paths for resources (#2683)
- always store resources with a relative path with forward slashes, which will be transformed as needed when the file is accessed

- fix an issue with thumbnail generation on Windows

- add several validations for local storage setting

- improve front-end error feedback when changing local storage

- add migrations to make existing resource paths relative (not needed, but improves database consistency)
2023-12-29 07:49:55 +08:00
ea87a1dc0c chore: update memo content props 2023-12-28 22:57:51 +08:00
46f7cffc7b feat: implement restore nodes 2023-12-28 22:35:39 +08:00
2a6f054876 chore: update auto link parser 2023-12-28 21:32:44 +08:00
30dca18b79 chore: fix suspense wrapper 2023-12-28 08:34:06 +08:00
09c195c752 chore: update backend dependencies 2023-12-28 08:28:50 +08:00
2ae6d94e2c chore: update frontend dependencies 2023-12-28 08:27:06 +08:00
9ee4b75bbd chore: tweak memo detail styles 2023-12-27 23:25:02 +08:00
cc40803b06 chore: update feature request template 2023-12-27 09:00:16 +08:00
a0a03b0389 chore: tweak list memos request 2023-12-27 08:54:00 +08:00
0dfc367e56 chore: start grpc server 2023-12-27 08:50:02 +08:00
c8d7f93dca feat: implement auto link parser 2023-12-27 08:44:51 +08:00
6fac116d8c chore: update user store 2023-12-26 23:05:33 +08:00
f48ff102c9 fix: eslint check failure after fixing #2672 (#2673) 2023-12-26 21:46:26 +08:00
bd5a0679ee fix: date format in share memo dialog (#2672)
fix: Date format in shareable Memo Images (#2668)
2023-12-26 17:50:09 +08:00
fcfb76a103 chore: remove user urlsets in sitemap 2023-12-23 19:35:46 +08:00
8e325f9986 chore: return username in user response 2023-12-23 19:23:39 +08:00
b8eaf1d57e chore: deprecate memo creation stats legacy api 2023-12-23 18:35:47 +08:00
42608cdd8f chore: fix server context 2023-12-23 17:59:15 +08:00
2cfa4c3b76 chore: tweak frontend routes register 2023-12-23 17:58:49 +08:00
aa136a2776 chore: remove vite pwa plugin 2023-12-23 17:42:13 +08:00
68413a5371 chore: update frontend service 2023-12-23 17:04:52 +08:00
638f17a02c chore: update scripts 2023-12-23 15:12:25 +08:00
273d6a6986 chore: update dockerfile 2023-12-23 14:13:40 +08:00
953141813c chore: regenerate pnpm lock file 2023-12-23 12:01:26 +08:00
be2db3f170 feat: use vite plugin pwa for generate right sw.js (#2658)
Co-authored-by: boojack <stevenlgtm@gmail.com>
2023-12-23 12:00:03 +08:00
eefce6ade3 chore: implement webhook dispatch in v2 api 2023-12-23 11:17:35 +08:00
c6ebb5552e chore: add 403 page 2023-12-23 10:08:23 +08:00
4d64d4bf25 chore: upgrade frontend dependencies 2023-12-23 09:47:43 +08:00