Commit Graph

1995 Commits (369b8af109a14b774e253c7d0450f061b885ef52)
 

Author SHA1 Message Date
Lincoln Nogueira 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
1 year ago
Steven 914c0620c4 chore: add statistics view 1 year ago
Steven 138b69e36e chore: fix memo comment 1 year ago
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
1 year ago
Noah Alderton 673809e07d
fix: docker-compose.dev.yaml (#2695)
* Fix docker-compose.dev.yaml

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