Commit Graph

426 Commits (79227021f59f0db9c1ac919880c9876a4014af42)

Author SHA1 Message Date
Hanqin Guan 16e68fbfff
fix: duplicated/reflexive relation in v2 api. (#2750) 1 year ago
Athurg Gooth a7cda28fc7
fix: filename with space (#2745) 1 year ago
Steven aaec46a39c chore: update find memo with updated time 1 year ago
Steven ddcf1d669d chore: add max content length 1 year ago
Steven 5449342016 fix: auto link converters 1 year ago
Steven a297cc3140 chore: exclude comments in memo list response 1 year ago
Steven 8b9455d784 chore: fix memo resources position 1 year ago
Steven 454cd4e24f feat: implement switchable task list node 1 year ago
Steven d12a2b0c38 feat: implement math expression parser 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
Steven f74fa97b4a chore: traverse nodes to upsert tags 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 0dfc367e56 chore: start grpc server 1 year ago
Steven c8d7f93dca feat: implement auto link parser 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 2cfa4c3b76 chore: tweak frontend routes register 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 1b81999329 chore: skip invalida setting checks 1 year ago
Steven df3303dcd3 chore: update list users 1 year ago
Steven c267074851 chore: prevent archive/delete current user 1 year ago
Steven 5673e29e51 chore: compose memo in backend 1 year ago
Steven 17e905085f chore: update acl config 1 year ago
Steven 34af969785 chore: fix list memos order by pinned 1 year ago
Steven fd9c3ccbae chore: implement useMemoList store 1 year ago
Steven 02265a6e1a chore: fix memo search 1 year ago
Steven 81524c38e9 chore: refactor memo module 1 year ago
Steven 671551bdc1 chore: update memo detail page 1 year ago
Steven 9361613f23 chore: update timeline page 1 year ago
Steven b64e2ff6ff chore: implement list memo resources api 1 year ago
Steven 762cb25227 chore: update memo service 1 year ago
Steven feb700f325 chore: clear access token when user not found 1 year ago
Steven 5334fdf1b2 chore: use api v2 in archived page 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 770607f93f fix: add markdown service to acl 1 year ago
Steven 28c0549705 feat: add markdown service 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 c68bfcc3b9 chore: fix user setting store 1 year ago
Steven 33dda9bf87 chore: fix auth status checks 1 year ago
Steven fa6693a7ae chore: update list memos 1 year ago
Steven b944418257 fix: register auth service 1 year ago
Steven 4ddd3caec7 chore: update user setting api 1 year ago
Steven c1f55abaeb chore: update user setting api 1 year ago
Steven fff42ebc0d fix: check auth status 1 year ago
Steven 2437419b7f fix: add auth status checks 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 db95b94c9a chore: implement webhook service 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 c0b5070e46 chore: migrate delete user 1 year ago
Steven bcd8a5a7a9 chore: migrate get tag suggestions 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
Steven 4da3c1d5e5 chore: fix update user 1 year ago
Vespa314 d758ba2702
fix: allow host role update user info (#2515) 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 7e545533cf chore: update resource cache control 1 year ago
Steven 834b58fbbd feat: add version update inbox message 1 year ago
Steven 21ad6cc871 chore: update tag service creator 1 year ago
Steven c24181b2be chore: fix jwt checks 1 year ago
Steven 39a0e69b04 chore: update function name 1 year ago
Steven e60e47f76f chore: update user definition 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 1 year ago
Steven 480c53d7a2 chore: fix id converter 1 year ago
Steven 2b7d7c95a5 chore: update inbox detect 1 year ago
Steven 0ee938c38b chore: remove unused inbox status 1 year ago
Steven 3c36cc2953 feat: add inbox ui 1 year ago
Steven 79bb3253b6 chore: add activity service 1 year ago
Steven 18107248aa chore: rename list inbox 1 year ago
Steven 36b4ba33fa chore: remove outdated activity definition 1 year ago
Steven 58e771a1d7 chore: combine v2 services 1 year ago
Steven e876ed3717 feat: impl part of inbox service 1 year ago
Athurg Gooth 215981dfde
chore: remote context.Context pointer (#2448)
remote context.Context pointer
1 year ago
Steven 5b3af827e1 chore: move common packages to internal 1 year ago
Athurg Gooth 064c930aed
fix: validate username before create token (#2439)
Validate username before create token
1 year ago
Athurg Gooth 043357d7dc
fix: list token for others failed (#2440)
Fix list token for others failed
1 year ago
Athurg Gooth 496cde87b2
feat: list access tokens by admin (#2434)
* Allow admin user list access_tokens of anyone

* fix undefined variable

* Update api/v2/user_service.go

---------

Co-authored-by: boojack <stevenlgtm@gmail.com>
1 year ago
Athurg Gooth 79bbe4b82a
feat: support filter creator in /api/v2/memos (#2432)
* Add creator_id param in /api/v2/memos

* make creator_id optional
1 year ago
Steven bfd2dbfee2 chore: fix update resource api 1 year ago
Steven 89a073adc0 chore: implement create user api v2 1 year 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
1 year ago
Steven 6f2ca6c87a chore: update find memo api 1 year ago
Athurg Gooth 0bfcff676c
feat: add support for remember sign in (#2402) 1 year ago
Steven 21c70e7993 feat: update memo relations dialog 1 year ago