Commit Graph

2392 Commits (16cfef32d6b51c70ed5083b11c814fda24345633)
 

Author SHA1 Message Date
Elliot Chen 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
2 years ago
Noah Alderton 673809e07d
fix: docker-compose.dev.yaml (#2695)
* Fix docker-compose.dev.yaml

* Add newline to .gitignore
2 years ago
Steven f74fa97b4a chore: traverse nodes to upsert tags 2 years ago
Steven c797099950 chore: update resource internal path migrator 2 years ago
Steven 0f8bfb6328 chore: update index.html 2 years ago
Steven 4cd01ece30 chore: update frontend metadata 2 years ago
Lincoln Nogueira 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
2 years ago
Lincoln Nogueira 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)
2 years ago
Steven ea87a1dc0c chore: update memo content props 2 years ago
Steven 46f7cffc7b feat: implement restore nodes 2 years ago
Steven 2a6f054876 chore: update auto link parser 2 years ago
Steven 30dca18b79 chore: fix suspense wrapper 2 years ago
Steven 09c195c752 chore: update backend dependencies 2 years ago
Steven 2ae6d94e2c chore: update frontend dependencies 2 years ago
Steven 9ee4b75bbd chore: tweak memo detail styles 2 years ago
Steven cc40803b06 chore: update feature request template 2 years ago
Steven a0a03b0389 chore: tweak list memos request 2 years ago
Steven 0dfc367e56 chore: start grpc server 2 years ago
Steven c8d7f93dca feat: implement auto link parser 2 years ago
Steven 6fac116d8c chore: update user store 2 years ago
subks f48ff102c9
fix: eslint check failure after fixing #2672 (#2673) 2 years ago
subks bd5a0679ee
fix: date format in share memo dialog (#2672)
fix: Date format in shareable Memo Images (#2668)
2 years ago
Steven fcfb76a103 chore: remove user urlsets in sitemap 2 years ago
Steven 8e325f9986 chore: return username in user response 2 years ago
Steven b8eaf1d57e chore: deprecate memo creation stats legacy api 2 years ago
Steven 42608cdd8f chore: fix server context 2 years ago
Steven 2cfa4c3b76 chore: tweak frontend routes register 2 years ago
Steven aa136a2776 chore: remove vite pwa plugin 2 years ago
Steven 68413a5371 chore: update frontend service 2 years ago
Steven 638f17a02c chore: update scripts 2 years ago
Steven 273d6a6986 chore: update dockerfile 2 years ago
Steven 953141813c chore: regenerate pnpm lock file 2 years ago
Leyang be2db3f170
feat: use vite plugin pwa for generate right sw.js (#2658)
Co-authored-by: boojack <stevenlgtm@gmail.com>
2 years ago
Steven eefce6ade3 chore: implement webhook dispatch in v2 api 2 years ago
Steven c6ebb5552e chore: add 403 page 2 years ago
Steven 4d64d4bf25 chore: upgrade frontend dependencies 2 years ago
Steven 2ee4d7d745 chore: add startTransition to links 2 years ago
Steven 1b81999329 chore: skip invalida setting checks 2 years ago
Steven df5aeb6d88 chore: remove v1 prefix in store name 2 years ago
Steven df3303dcd3 chore: update list users 2 years ago
Steven c267074851 chore: prevent archive/delete current user 2 years ago
Steven 21874d0509 chore: fix navigation errors 2 years ago
Steven 7898df2876 chore: update issue templates 2 years ago
Steven b2ec0d1217 chore: add skip cache requesting 2 years ago
Steven 5673e29e51 chore: compose memo in backend 2 years ago
Steven feefaabce9 chore: update heatmap click handler 2 years ago
Steven 29b540ade3 chore: fix fetch memos 2 years ago
Steven 919f75af1a chore: update suspense loading 2 years ago
Steven 17e905085f chore: update acl config 2 years ago
Steven 34af969785 chore: fix list memos order by pinned 2 years ago