Commit Graph

368 Commits

Author SHA1 Message Date
d12a2b0c38 feat: implement math expression parser 2024-01-04 20:05:29 +08:00
138b69e36e chore: fix memo comment 2024-01-03 08:19:38 +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
f74fa97b4a chore: traverse nodes to upsert tags 2024-01-02 08:56:30 +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
0dfc367e56 chore: start grpc server 2023-12-27 08:50:02 +08:00
c8d7f93dca feat: implement auto link parser 2023-12-27 08:44:51 +08:00
8e325f9986 chore: return username in user response 2023-12-23 19:23:39 +08:00
b8eaf1d57e chore: deprecate memo creation stats legacy api 2023-12-23 18:35:47 +08:00
2cfa4c3b76 chore: tweak frontend routes register 2023-12-23 17:58:49 +08:00
eefce6ade3 chore: implement webhook dispatch in v2 api 2023-12-23 11:17:35 +08:00
c6ebb5552e chore: add 403 page 2023-12-23 10:08:23 +08:00
1b81999329 chore: skip invalida setting checks 2023-12-23 08:55:23 +08:00
df3303dcd3 chore: update list users 2023-12-23 08:35:54 +08:00
c267074851 chore: prevent archive/delete current user 2023-12-23 08:05:05 +08:00
5673e29e51 chore: compose memo in backend 2023-12-22 20:18:31 +08:00
17e905085f chore: update acl config 2023-12-22 09:11:55 +08:00
34af969785 chore: fix list memos order by pinned 2023-12-22 09:09:03 +08:00
fd9c3ccbae chore: implement useMemoList store 2023-12-22 09:01:30 +08:00
02265a6e1a chore: fix memo search 2023-12-22 00:31:29 +08:00
81524c38e9 chore: refactor memo module 2023-12-21 23:40:43 +08:00
671551bdc1 chore: update memo detail page 2023-12-21 22:42:06 +08:00
9361613f23 chore: update timeline page 2023-12-21 21:24:08 +08:00
b64e2ff6ff chore: implement list memo resources api 2023-12-20 23:46:04 +08:00
762cb25227 chore: update memo service 2023-12-20 23:14:15 +08:00
feb700f325 chore: clear access token when user not found 2023-12-20 07:42:02 +08:00
5334fdf1b2 chore: use api v2 in archived page 2023-12-19 23:49:24 +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
770607f93f fix: add markdown service to acl 2023-12-17 11:37:38 +08:00
28c0549705 feat: add markdown service 2023-12-17 09:53:22 +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
c68bfcc3b9 chore: fix user setting store 2023-12-08 09:54:32 +08:00
33dda9bf87 chore: fix auth status checks 2023-12-06 23:03:24 +08:00
fa6693a7ae chore: update list memos 2023-12-06 22:44:49 +08:00
b944418257 fix: register auth service 2023-12-01 09:13:32 +08:00
4ddd3caec7 chore: update user setting api 2023-12-01 09:03:30 +08:00
c1f55abaeb chore: update user setting api 2023-11-30 23:08:54 +08:00
fff42ebc0d fix: check auth status 2023-11-30 21:52:02 +08:00
2437419b7f fix: add auth status checks 2023-11-30 20:58:36 +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