Commit Graph

2184 Commits (bee6f278ba88246f1e8899e3f768533cac88870c)
 

Author SHA1 Message Date
Wen Sun 6cfd94cc69
fix: deleting inbox records that senders have been deleted (#2743)
Deleting inbox records that senders have been deleted
1 year ago
Athurg Gooth 79b68222ff
chore: set image loading to lazy (#2733)
set image loading to lazy to avoid concurrent problem
1 year ago
Steven aaec46a39c chore: update find memo with updated time 1 year ago
Steven 9c663b1ba2 fix: merge mysql dsn with params 1 year ago
Steven 777ed899a3 chore: add memo uid 1 year ago
Steven ddcf1d669d chore: add max content length 1 year ago
Steven 32d02ba022 chore: fix horizontal rule matcher 1 year ago
Steven 5449342016 fix: auto link converters 1 year ago
Noah Alderton 43e42079a4
feat: export Memos as Markdown FIles (#2716) 1 year ago
Steven cafa7c5adc chore: update backend dependencies 1 year ago
Steven 1258c5a5b0 chore: update workspace setting proto 1 year ago
Steven 83141f9be2 chore: tweak navigation styles 1 year ago
Steven 4c59035757 chore: update about page 1 year ago
Steven 9459ae8265 chore: update postgres stmt builder 1 year ago
Steven 8893a302e2 chore: update logs 1 year ago
Steven d67eaaaee2 chore: update database migrator 1 year ago
Steven fd8333eeda chore: fix memo parent_id 1 year ago
Steven f5a1739472 chore: update memo detail checks 1 year ago
Steven a297cc3140 chore: exclude comments in memo list response 1 year ago
Steven 79c13c6f83 chore: fix edit memo params 1 year ago
Steven 8b9455d784 chore: fix memo resources position 1 year ago
Steven 501f8898f6 chore: fix postgres stmts 1 year ago
Steven ee13927607 chore: fix restore tag node 1 year ago
Steven d2a9aaa9d4 chore: update line break renderer 1 year ago
Steven f563b58a85 chore: fix renderer props 1 year ago
Steven ce2d37b90c chore: fix find sibling node 1 year ago
Steven 454cd4e24f feat: implement switchable task list node 1 year ago
Steven 6320d042c8 chore: update home padding styles 1 year ago
Steven d7ed59581c chore: fix math block matcher 1 year ago
Steven 9593b0b091 chore: fix link rel field 1 year ago
Steven ca53630410 chore: update drawer background 1 year ago
Steven f484c38745 chore: fix dependencies 1 year ago
Steven d12a2b0c38 feat: implement math expression parser 1 year ago
Steven c842b921bc chore: update backend dependencies 1 year ago
Wen Sun 6b2eec86c2
fix: image upload failed with cloudflare R2 (#2704)
Fix image upload failed with cloudflare R2
1 year ago
Steven 2eba4e2cd4 chore: update version 1 year ago
Steven 73baeaa0ad chore: tweak dark mode styles 1 year ago
Steven c58851bc97 chore: tweak accent color 1 year ago
Steven 96140f3875 chore: tweak dark mode styles 1 year ago
Lincoln Nogueira 369b8af109
chore: improve resource internal_path migrator (#2698)
* chore: improve internal path migrator
- handle mixed path styles
- handle Windows paths
- add tests

* chore: fix goimports error
1 year ago
Steven 914c0620c4 chore: add statistics view 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
Noah Alderton 673809e07d
fix: docker-compose.dev.yaml (#2695)
* Fix docker-compose.dev.yaml

* Add newline to .gitignore
1 year ago
Steven f74fa97b4a chore: traverse nodes to upsert tags 1 year ago
Steven c797099950 chore: update resource internal path migrator 1 year ago
Steven 0f8bfb6328 chore: update index.html 1 year ago
Steven 4cd01ece30 chore: update frontend metadata 1 year ago
Lincoln Nogueira 14b34edca3
chore: fix misuse of package path instead of filepath.path (#2684)
As stated by https://pkg.go.dev/path, "path" is mainly for URLs, "path.filepath" for file systems
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