Commit Graph

131 Commits

Author SHA1 Message Date
b9cbe6626f chore: update tag rename 2024-01-27 05:26:32 +08:00
3a129d5cfb fix: avoid making memos public when disabled (#2816)
* fix: avoid making memos public when disabled in v2

* fix: avoid making memos public when disabled in v1
2024-01-22 20:51:33 +08:00
4d48f50815 chore: use resource name in frontend 2024-01-21 10:55:49 +08:00
582cc6609c feat: add user-defined id to resource 2024-01-21 10:49:30 +08:00
40bd75c725 fix: create memo with resource name 2024-01-21 10:33:31 +08:00
8382354ef7 feat: add user-defined name to memo 2024-01-20 23:48:35 +08:00
2e0619b4dc feat: add a webhook action for deleted memos (#2791) 2024-01-19 09:56:00 +08:00
e4488da96e fix: signup is not allowed if password login is disabled (#2776)
Signup is not allowed if password login is disabled

If password login is disabled in the system configuration, the "signup" in the "/auth" page disappears, but the user can manually enter "/auth/signup" to access the system by creating a new user.
2024-01-17 10:49:22 +08:00
a297cc3140 chore: exclude comments in memo list response 2024-01-06 09:48:11 +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
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
2cfa4c3b76 chore: tweak frontend routes register 2023-12-23 17:58:49 +08:00
1b81999329 chore: skip invalida setting checks 2023-12-23 08:55:23 +08:00
c267074851 chore: prevent archive/delete current user 2023-12-23 08:05:05 +08:00
af68cae6ea chore: regenerate swagger docs 2023-12-19 22:37:07 +08:00
e0cacfc6d6 chore: retire auto backup for sqlite 2023-12-19 22:34:06 +08:00
d8a0528135 chore: tweak variable names 2023-12-18 20:47:29 +08:00
1c7fb77e05 chore: update user setting names 2023-12-16 12:18:53 +08:00
e8ca2ea5a0 chore: rename renderer package 2023-12-16 11:57:36 +08:00
7b0ceee57b chore: update memo metadata description 2023-12-16 09:23:45 +08:00
a10b3d3821 chore: tweak custom profile 2023-12-15 22:57:53 +08:00
89ef9b8531 chore: add instance url system setting 2023-12-15 19:39:37 +08:00
e0290b94b4 chore: use gomark in rss api 2023-12-14 22:33:20 +08:00
4f05c972d5 chore: fix jwt acl 2023-12-09 16:17:11 +08:00
7fc7b19d64 chore: deprecate user setting legacy api 2023-12-08 22:41:47 +08:00
fa6693a7ae chore: update list memos 2023-12-06 22:44:49 +08:00
5069476dcc chore: add webhook metric 2023-11-28 21:15:10 +08:00
0026f9e54f chore(frontend): add webhooks section 2023-11-28 20:52:48 +08:00
bc965f6afa chore: implement webhook dispatch in api v1 2023-11-25 10:31:58 +08:00
45d7d0d5f6 chore: migrate get current user 2023-11-23 08:50:33 +08:00
91296257fc chore: remove invalid access token from db (#2539)
Remove invalid access token from db
2023-11-22 23:20:45 +08:00
ec2995d64a chore: fix order by pinned 2023-11-19 09:42:59 +08:00
7f7ddf77b8 chore: update allow sign up default value 2023-11-18 12:51:07 +08:00
52fdf8bccd fix: persist jwt expires by cookie (#2509)
fix pesist jwt expires by cookie
2023-11-13 13:52:04 +08:00
38f05fd6f2 chore: fix tag in http_getter.go (#2500)
Update http_getter.go

fix tag in  http_getter.go
2023-11-11 23:21:15 +08:00
c24181b2be chore: fix jwt checks 2023-11-05 23:39:30 +08:00
e67820cabe chore: update list user api permission 2023-11-05 22:35:09 +08:00
137e64b0dd chore: update metrics 2023-11-05 21:41:47 +08:00
ac81d856f6 chore: delete resource file sync 2023-10-28 10:42:39 +08:00
2b7d7c95a5 chore: update inbox detect 2023-10-28 09:02:02 +08:00
3c36cc2953 feat: add inbox ui 2023-10-28 02:43:46 +08:00
36b4ba33fa chore: remove outdated activity definition 2023-10-27 23:11:56 +08:00
215981dfde chore: remote context.Context pointer (#2448)
remote context.Context pointer
2023-10-26 20:21:44 +08:00
5b3af827e1 chore: move common packages to internal 2023-10-26 09:02:50 +08:00
fd5d51ee54 fix: some fields of profile leaked without auth (#2408)
* fix some fields of profile leaked without auth

* protect driver and dsn of profile
2023-10-20 17:41:21 +08:00
6f2ca6c87a chore: update find memo api 2023-10-20 08:48:52 +08:00
0bfcff676c feat: add support for remember sign in (#2402) 2023-10-18 20:38:49 -05:00
21c70e7993 feat: update memo relations dialog 2023-10-19 00:18:07 +08:00
a5df36eff2 chore: update metrics 2023-10-17 23:44:16 +08:00
c58820fa64 chore: update username regexp 2023-10-14 13:42:27 +08:00