Commit Graph

123 Commits (3d23c01e262e90e25c765bfec1be5aaf6e5a716b)

Author SHA1 Message Date
Steven a297cc3140 chore: exclude comments in memo list response 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
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 2cfa4c3b76 chore: tweak frontend routes register 1 year ago
Steven 1b81999329 chore: skip invalida setting checks 1 year ago
Steven c267074851 chore: prevent archive/delete current user 1 year ago
Steven af68cae6ea chore: regenerate swagger docs 1 year ago
Steven e0cacfc6d6 chore: retire auto backup for sqlite 1 year ago
Steven d8a0528135 chore: tweak variable names 1 year ago
Steven 1c7fb77e05 chore: update user setting names 1 year ago
Steven e8ca2ea5a0 chore: rename renderer package 1 year ago
Steven 7b0ceee57b chore: update memo metadata description 1 year ago
Steven a10b3d3821 chore: tweak custom profile 1 year ago
Steven 89ef9b8531 chore: add instance url system setting 1 year ago
Steven e0290b94b4 chore: use gomark in rss api 1 year ago
Steven 4f05c972d5 chore: fix jwt acl 1 year ago
Steven 7fc7b19d64 chore: deprecate user setting legacy api 1 year ago
Steven fa6693a7ae chore: update list memos 1 year ago
Steven 5069476dcc chore: add webhook metric 1 year ago
Steven 0026f9e54f chore(frontend): add webhooks section 1 year ago
Steven bc965f6afa chore: implement webhook dispatch in api v1 1 year ago
Steven 45d7d0d5f6 chore: migrate get current user 1 year ago
Athurg Gooth 91296257fc
chore: remove invalid access token from db (#2539)
Remove invalid access token from db
1 year ago
Steven ec2995d64a chore: fix order by pinned 1 year ago
Steven 7f7ddf77b8 chore: update allow sign up default value 1 year ago
Athurg Gooth 52fdf8bccd
fix: persist jwt expires by cookie (#2509)
fix pesist jwt expires by cookie
1 year ago
ti777777 38f05fd6f2
chore: fix tag in http_getter.go (#2500)
Update http_getter.go

fix tag in  http_getter.go
1 year ago
Steven c24181b2be chore: fix jwt checks 1 year ago
Steven e67820cabe chore: update list user api permission 1 year ago
Steven 137e64b0dd chore: update metrics 1 year ago
Steven ac81d856f6 chore: delete resource file sync 2 years ago
Steven 2b7d7c95a5 chore: update inbox detect 2 years ago
Steven 3c36cc2953 feat: add inbox ui 2 years ago
Steven 36b4ba33fa chore: remove outdated activity definition 2 years ago
Athurg Gooth 215981dfde
chore: remote context.Context pointer (#2448)
remote context.Context pointer
2 years ago
Steven 5b3af827e1 chore: move common packages to internal 2 years ago
Athurg Gooth fd5d51ee54
fix: some fields of profile leaked without auth (#2408)
* fix some fields of profile leaked without auth

* protect driver and dsn of profile
2 years ago
Steven 6f2ca6c87a chore: update find memo api 2 years ago
Athurg Gooth 0bfcff676c
feat: add support for remember sign in (#2402) 2 years ago
Steven 21c70e7993 feat: update memo relations dialog 2 years ago
Steven a5df36eff2 chore: update metrics 2 years ago
Steven c58820fa64 chore: update username regexp 2 years ago
Steven d95a6ce898 chore: add ar locale item 2 years ago
Steven ab2c86640b chore: move rate limiter to apiv1 2 years ago
Steven 31997936d6 chore: move resource public api 2 years ago
Steven b938c8d7b6 chore: only show comments in memo detail page 2 years ago
Steven 6ffc09d86a chore: remove unused httpmeta getter api 2 years ago
Steven 771fe394fd chore: fix initial guide 2 years ago
Steven 34ae9b0687 chore: update default storage back to database 2 years ago
Steven 7dc4bc5714 chore: update resource service 2 years ago