Commit Graph

380 Commits

Author SHA1 Message Date
ad94e8e3c6 feat: implement highlight renderer 2024-01-15 22:54:18 +08:00
7ae4299df2 chore: implement create resource 2024-01-15 08:13:06 +08:00
98762be1e5 feat: implement indent for list nodes 2024-01-14 22:19:03 +08:00
8e0ce4d678 fix: list memos with pinned 2024-01-14 20:51:52 +08:00
16e68fbfff fix: duplicated/reflexive relation in v2 api. (#2750) 2024-01-13 07:21:19 +08:00
a7cda28fc7 fix: filename with space (#2745) 2024-01-12 14:01:19 +08:00
aaec46a39c chore: update find memo with updated time 2024-01-10 00:10:59 +08:00
ddcf1d669d chore: add max content length 2024-01-08 21:17:21 +08:00
5449342016 fix: auto link converters 2024-01-08 20:57:44 +08:00
a297cc3140 chore: exclude comments in memo list response 2024-01-06 09:48:11 +08:00
8b9455d784 chore: fix memo resources position 2024-01-06 09:23:20 +08:00
454cd4e24f feat: implement switchable task list node 2024-01-05 08:40:16 +08:00
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