Commit Graph

87 Commits (1167df29d8dbb17ec54f3b941c6851faccc06bb6)

Author SHA1 Message Date
Steven 1167df29d8 feat: add security related settings 8 months ago
Steven a8ea28066e chore: retire export memos 8 months ago
Steven b376a20fb4 chore: tweak linter warnings 8 months ago
Steven d1280bc04f chore: implement memo property runner 8 months ago
Steven f4d6675363 chore: add enable memo comment setting 8 months ago
Steven 3c5aa41a78 feat: implement week start day setting 8 months ago
Steven c3f381c8c5 chore: add instance url to profile 8 months ago
Steven 21f18f7c56 chore: tweak activity service definition 9 months ago
Steven 07667257d5 feat: support order by time asc 9 months ago
Steven 7564c40c8d chore: fix env init 9 months ago
Steven 8bf7cdfd31 feat: add password auth flag 9 months ago
Steven 139090fb8f chore: fix calendar timestamps 9 months ago
Steven edc3b578d6 feat: implement search multi tags 9 months ago
Steven b3b4aa9ddb chore: remove unused code 9 months ago
Steven c5900b355e chore: tweak signup checks 9 months ago
Steven 553e8d09dd chore: update public default value to false 9 months ago
Steven 44e56844f5 chore: tweak search resources 9 months ago
Steven 17ecfb5cf5 fix: acl config 9 months ago
andrigamerita af952807c7
feat: write memo UID in file names when exporting to Markdown (#3712)
When using the "export to Markdown" feature in Memos, the files included in the ZIP folder don't feature any kind of reference to their alphanumeric UID from the server's database, which completely breaks the point of links inside the files made with the `[[memos/<uid>]]` format, since it's impossible to know which Markdown file this kind of string inside other files refers to.

This pull request modifies the ExportMemos server function, to add the UID of every memo immediately after the date in the filename. For example, an exported memo would now be called: `YYYY-MM-DDThh:mm:ss+hh:mm-AbcDefGhiJklMnoPqrStu1-PUBLIC.md`.
9 months ago
Steven 5a26b76511 chore: add memo content snippet 9 months ago
Steven 446e38f15b fix: memo content snippet 9 months ago
Johnny 9909fd8a6f
feat: add snippet field to memo message (#3689) 9 months ago
Johnny bcb8843245
chore: implement stringify markdown nodes endpoint (#3688) 9 months ago
Johnny 7c9e54afbd
chore: update disallow public visibility setting name (#3687) 9 months ago
Steven 6825c1def4 fix: delete access token when sign out 9 months ago
Steven f374169a2b feat: implement html element renderer 9 months ago
Johnny 5a196e2f1a
feat: update gomark version (#3679) 10 months ago
Steven 9449886d60 chore: fix linter 10 months ago
Steven 457cf92cc1 feat(api): implement get resource by uid 10 months ago
Steven 1ab2c89408 feat(api): implement get memo by uid 10 months ago
Johnny 5e3ed201b4
fix: update mask of update memo (#3659) 10 months ago
Johnny 4d2b953e23
chore: add enable link preview setting to memo related settings (#3647) 10 months ago
Roman Lomonosov b923988fd6
fix: can't change memo UID (#3621) 10 months ago
Zeng1998 4f4fe9b26b
fix: add charset=utf-8 for text content resources (#3608)
Co-authored-by: = <=>
10 months ago
Johnny ca463891f2
chore: fix linter warning for slog (#3604) 10 months ago
Ryo a09c669865
fix: allow cors for grpc gateway handler (#3574) 10 months ago
Johnny 736637a362
feat: add public flag instead of system setting to enable signup (#3589) 10 months ago
Ryo 2c819ace4e
feat: return not found error instead internal error for local file not exist (#3543)
* chore: add `/.vscode` to `.gitignore`

* feat: return not found instead of internal for resource

* feat: check file not exist only if error not nil
11 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.
11 months ago
Steven fa4521e0c5 chore: update gomark source 11 months ago
Steven f33571fec6 feat: update webhook request payload 11 months ago
Steven 797f5a123c feat: add `HasIncompleteTasks` to memo property 11 months 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>
11 months ago
Steven 2e0d5412b4 chore: tweak webhook payload 11 months ago
Steven 4e54ec38ff chore: update memo related settings 11 months ago
Steven 98f2cf6397 chore: tweak linter 11 months ago
Steven b215426623 chore: update general setting 11 months ago
Steven 0f4b7c5f4a feat: add more memo settings 11 months ago
Steven f0e5a72271 feat: update search memo filter 11 months ago
Steven ba0876a563 feat: update statistics view 11 months ago