- 04 Jan, 2024 2 commits
- 03 Jan, 2024 5 commits
-
-
Steven authored
-
Steven authored
-
Lincoln Nogueira authored
* chore: improve internal path migrator - handle mixed path styles - handle Windows paths - add tests * chore: fix goimports error
-
Steven authored
-
Steven authored
-
- 02 Jan, 2024 4 commits
-
-
Elliot Chen authored
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 -
Noah Alderton authored
* Fix docker-compose.dev.yaml * Add newline to .gitignore
-
Steven authored
-
Steven authored
-
- 29 Dec, 2023 2 commits
- 28 Dec, 2023 8 commits
-
-
Lincoln Nogueira authored
As stated by https://pkg.go.dev/path, "path" is mainly for URLs, "path.filepath" for file systems
-
Lincoln Nogueira authored
- 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)
-
Steven authored
-
Steven authored
-
Steven authored
-
Steven authored
-
Steven authored
-
Steven authored
-
- 27 Dec, 2023 5 commits
- 26 Dec, 2023 3 commits
- 23 Dec, 2023 11 commits