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
2ee4d7d745
chore: add startTransition to links
2023-12-23 08:55:43 +08:00
1b81999329
chore: skip invalida setting checks
2023-12-23 08:55:23 +08:00
df5aeb6d88
chore: remove v1 prefix in store name
2023-12-23 08:48:11 +08:00
df3303dcd3
chore: update list users
2023-12-23 08:35:54 +08:00
c267074851
chore: prevent archive/delete current user
2023-12-23 08:05:05 +08:00
21874d0509
chore: fix navigation errors
2023-12-23 08:01:16 +08:00
7898df2876
chore: update issue templates
2023-12-23 08:00:59 +08:00
b2ec0d1217
chore: add skip cache requesting
2023-12-22 20:30:28 +08:00
5673e29e51
chore: compose memo in backend
2023-12-22 20:18:31 +08:00
feefaabce9
chore: update heatmap click handler
2023-12-22 20:07:17 +08:00