Commit Graph

27 Commits (df0dcb553bc33c6e3068a5821b83c6d5d43c9741)

Author SHA1 Message Date
Roman Lomonosov b923988fd6
fix: can't change memo UID (#3621) 12 months ago
Johnny ca463891f2
chore: fix linter warning for slog (#3604) 12 months ago
andrigamerita e4a09c407c
feat: write memo visibility in file names when exporting (#3538)
When using the dedicated feature in Memos' user settings to export all memos to Markdown files inside a ZIP folder, the output doesn't feature any kind of distinction for memos by their set visibility.
While this is not a big issue for personal backups, it can reveal itself problematic if exporting the data to share it with other people, or maybe deploy to a static site generator, because there is nothing in the files that distinguishes public memos from private or workspace-restricted ones.

This pull request simply modifies the ExportMemos server function, to add the Visibility status to the end of every exported file name inside the ZIP, right after the date (which is left intact). For example, the file for a public memo would now be called: `YYYY-MM-DDThh:mm:ss+hh:mm-PUBLIC.md`.

An alternative solution would have been to write this information in a YAML header at the beginning of every Markdown file, but, since those are not used anywhere else in the software, I decided to stick with what is already used for export metadata, the filename.
1 year ago
Steven fa4521e0c5 chore: update gomark source 1 year ago
Steven f33571fec6 feat: update webhook request payload 1 year ago
Steven 797f5a123c feat: add `HasIncompleteTasks` to memo property 1 year ago
Martin MacDonald 760dee4159
feat: delete memo comments when memo is deleted (#3491)
* Added logic to delete memo relation and memo comments recursively when a memo is deleted

* Fixed logic to only target comment types and added removing of broken references

* Fixed linting errors

---------

Co-authored-by: Martin MacDonald <martinmacdonald@Martins-MacBook-Pro.local>
1 year ago
Steven 2e0d5412b4 chore: tweak webhook payload 1 year ago
Steven f0e5a72271 feat: update search memo filter 1 year ago
Steven ba0876a563 feat: update statistics view 1 year ago
Steven a423dac12c chore: tweak memo property 1 year ago
Steven 1ccfa81cf3 chore: tweak common function 1 year ago
Steven a177800e83 chore: tweak error message 1 year ago
Steven 4070998f9f chore: fix linter 1 year ago
Steven d3235f75f3 chore: tweak memo definition 1 year ago
Steven e0600388b2 chore: implement memo property endpoint 1 year ago
Steven c25c57ab61 feat: support updating display time 1 year ago
Steven b0aad6f694 chore: tweak resource payload 1 year ago
Steven 9265b8e2bd chore: update tags filter 1 year ago
Steven 2317204c50 fix: list idp 1 year ago
Steven 0c673d49ef chore: retire memo tags 1 year ago
Steven c561362d62 feat: implement memo property 1 year ago
Steven b8763905ba chore: tweak naming 1 year ago
Steven d0655ece53 refactor: update memo tags 1 year ago
Steven af1ad2f2db chore: add memo content length limit setting 1 year ago
Steven 775b79338d chore: update object in s3 1 year ago
Steven 20dd3e17f7 chore: rename router package 1 year ago