Commit Graph

715 Commits (0200ce7681eb13e955c6f93ccaaaecbe46421ac9)

Author SHA1 Message Date
Steven 3c5aa41a78 feat: implement week start day setting 6 months ago
Steven c3f381c8c5 chore: add instance url to profile 7 months ago
Steven 21f18f7c56 chore: tweak activity service definition 7 months ago
Steven 07667257d5 feat: support order by time asc 7 months ago
Steven 7564c40c8d chore: fix env init 7 months ago
Steven 8bf7cdfd31 feat: add password auth flag 7 months ago
Steven 139090fb8f chore: fix calendar timestamps 7 months ago
Steven edc3b578d6 feat: implement search multi tags 7 months ago
Steven b3b4aa9ddb chore: remove unused code 7 months ago
Steven c5900b355e chore: tweak signup checks 7 months ago
Steven 553e8d09dd chore: update public default value to false 7 months ago
Steven 22ec0cf2e3 chore: bump version 7 months ago
Steven 44e56844f5 chore: tweak search resources 7 months ago
Steven 17ecfb5cf5 fix: acl config 7 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`.
8 months ago
Steven 5a26b76511 chore: add memo content snippet 8 months ago
Steven 446e38f15b fix: memo content snippet 8 months ago
Johnny 9909fd8a6f
feat: add snippet field to memo message (#3689) 8 months ago
Johnny bcb8843245
chore: implement stringify markdown nodes endpoint (#3688) 8 months ago
Johnny 7c9e54afbd
chore: update disallow public visibility setting name (#3687) 8 months ago
Steven 6825c1def4 fix: delete access token when sign out 8 months ago
Steven f374169a2b feat: implement html element renderer 8 months ago
Johnny 5a196e2f1a
feat: update gomark version (#3679) 8 months ago
Steven 9449886d60 chore: fix linter 8 months ago
Steven 457cf92cc1 feat(api): implement get resource by uid 8 months ago
Steven 1ab2c89408 feat(api): implement get memo by uid 8 months ago
Johnny 5e3ed201b4
fix: update mask of update memo (#3659) 8 months ago
Johnny 4d2b953e23
chore: add enable link preview setting to memo related settings (#3647) 8 months ago
Roman Lomonosov b923988fd6
fix: can't change memo UID (#3621) 8 months ago
Zeng1998 4f4fe9b26b
fix: add charset=utf-8 for text content resources (#3608)
Co-authored-by: = <=>
8 months ago
Johnny ca463891f2
chore: fix linter warning for slog (#3604) 8 months ago
steven 33cd3ed8e3 chore: bump version 8 months ago
Ryo a09c669865
fix: allow cors for grpc gateway handler (#3574) 8 months ago
Johnny 736637a362
feat: add public flag instead of system setting to enable signup (#3589) 8 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
9 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.
9 months ago
Steven fa4521e0c5 chore: update gomark source 9 months ago
Steven f33571fec6 feat: update webhook request payload 9 months ago
Steven 797f5a123c feat: add `HasIncompleteTasks` to memo property 9 months ago
Steven bddfe00b5c chore: bump version 9 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>
9 months ago
Steven 2e0d5412b4 chore: tweak webhook payload 9 months ago
Steven 4e54ec38ff chore: update memo related settings 9 months ago
Steven 98f2cf6397 chore: tweak linter 9 months ago
Steven b215426623 chore: update general setting 9 months ago
Steven 0f4b7c5f4a feat: add more memo settings 9 months ago
Steven f0e5a72271 feat: update search memo filter 9 months ago
Steven ba0876a563 feat: update statistics view 9 months ago
Steven a423dac12c chore: tweak memo property 9 months ago
Steven 2b4c2b23b2 chore: tweak linter 9 months ago
Ryo 784fcbb698
feat: add panic recovery middleware for grpc and echo server (#3459) 9 months ago
Steven 1ccfa81cf3 chore: tweak common function 9 months ago
Steven a177800e83 chore: tweak error message 9 months ago
Steven 4070998f9f chore: fix linter 9 months ago
Steven d3235f75f3 chore: tweak memo definition 9 months ago
Steven e0600388b2 chore: implement memo property endpoint 9 months ago
Steven 16d3de63c2 chore: update resource binary endpoint 9 months ago
Steven b5d2ff6e28 chore: fix linter 9 months ago
Steven 811c0757c4 chore: fix linter 9 months ago
Steven f37b34544b chore: update user access token checks 9 months ago
Steven 613c9e9416 chore: tweak version 9 months ago
Steven fb15386db2 chore: remove access token after sign out 10 months ago
Timothy 52ebfd703c
fix: update resource with id (#3405)
* chore: update presign expires

* fix: update resource with id

---------

Co-authored-by: timothy <timothy123890511@gmail.com>
10 months ago
Steven c25c57ab61 feat: support updating display time 10 months ago
Steven b0aad6f694 chore: tweak resource payload 10 months ago
Steven 537ae622d2 chore: filter inbox type 10 months ago
Steven 9265b8e2bd chore: update tags filter 10 months ago
Steven 2317204c50 fix: list idp 10 months ago
Steven 0c673d49ef chore: retire memo tags 10 months ago
Steven c561362d62 feat: implement memo property 10 months ago
Steven b8763905ba chore: tweak naming 10 months ago
Steven eda1983964 chore: return workspace setting with default value 10 months ago
Steven bb076ce486 chore: update list workspace settings 10 months ago
Lincoln Nogueira f45f673aec
chore: respect supplied listening address (#3338) 10 months ago
Steven 041f9b1beb chore: bump version 10 months ago
Steven 942052b1ea chore: update grpc options 10 months ago
Steven e0977e53f7 chore: remove unused route 10 months ago
Steven d0655ece53 refactor: update memo tags 10 months ago
Steven 2c270438ec chore: update default service config 10 months ago
Steven 4950ea1c74 fix: grpc max message size 10 months ago
steven e16546f80a chore: handle legacy workspace setting 10 months ago
Steven af1ad2f2db chore: add memo content length limit setting 10 months ago
Nabiel Omar Syarif 56ceba2dec
fix: fix deleting tag from tag lists (#3311) 10 months ago
Steven dfc0889a4f chore: tweak package name 10 months ago
Steven 10c57167cc chore: remove unused flags 10 months ago
Steven e9831caca1 chore: remove unused field 10 months ago
Steven b23b6302de chore: tweak linter 10 months ago
Steven 74145157a0 chore: add presign background service 10 months ago
Steven 05f73a2236 chore: tweak linter 10 months ago
Steven 775b79338d chore: update object in s3 10 months ago
Steven 26545c855c refactor: implement s3 storage 10 months ago
Steven 144269fbbc chore: fix router 10 months ago
Steven 832ad92bac chore: update gitignore 10 months ago
Steven 20dd3e17f7 chore: rename router package 10 months ago
Steven 8ae4bc95dc chore: migrate auth package 10 months ago
Steven ff175bbb7e refactor: update resource binary request handler 10 months ago
Steven 6295979592 chore: add user avatar route 10 months ago
Michael cac6f42770
fix: server matchs 10 months ago
Steven 155c5baf2c refactor: add markdown service 10 months ago
Steven 4338234641 chore: retire storage related functions 10 months ago
Steven 320963098f refactor: update storage setting 10 months ago
Steven f25c7d9b24 fix: serve frontend assets 10 months ago
Steven 1b291422e7 refactor: api version 10 months ago
Steven 92872118b9 refactor: tweak api definition 10 months ago
Steven 9b66ef5e26 chore: tweak api definition 10 months ago
Steven a6a62eb79c chore: update gitignore 10 months ago
Steven 5f26c52b49 feat: add goreleaser 10 months ago
Steven e8dfd579c3 chore: update background services 11 months ago
Steven 2a93b8d720 chore: tweak linter 11 months ago
Steven 5d967f41d9 chore: update server 11 months ago
Steven 339fecbfff chore: allow search comments 11 months ago
Steven 14d4cfd5a4 chore: tweak store methods name 11 months ago
Steven 95df647265 chore: tweak comments 11 months ago
coderwander 162521885c
chore: fix some typos in comments (#3243)
Signed-off-by: coderwander <770732124@qq.com>
11 months ago
Steven f9dd29ae07 chore: tweak tag store 11 months ago
Steven 1f0bfd2169 chore: update tag store 11 months ago
Eng Zer Jun 3b550a8ab8
chore: replace util.Min helper with built-in min (#3224) 11 months ago
Steven cb7886dc49 chore: retire telegram integration in frontend 11 months ago
Steven d00e4fdf17 chore: retire telegram plugin 11 months ago
Steven 9a2c423435 chore: update var-naming 11 months ago
Steven 49f8cfd5d1 chore: update jwt middleware 11 months ago
Steven 75359854cc chore: fix resource routes 11 months ago
Steven cebc46adc7 chore: tweak store definition 11 months ago
Steven bbd206e893 chore: retire legacy api 11 months ago
Steven c373131b89 chore: migrate idp service 11 months ago
Steven 8f51529c78 chore: implement storage service 11 months ago
Steven 707e5caf89 chore: update workspace setting store 11 months ago
Steven 074e7cf71a chore: fix resource path 11 months ago
Steven 133951328b chore: fix linter 11 months ago
Steven 755d5b83c6 chore: retire legacy setting api 11 months ago
Steven 3e6e56b008 refactor: update workspace store definition 11 months ago
Steven eb251a097e chore: update workspace setting service 11 months ago
Steven 4c47e93fce chore: tweak workspace setting store 11 months ago
Steven c93b1efbae chore: update workspace setting store 11 months ago
Steven b1e196bb4f fix: delete memo reaction 11 months ago
Steven ff81ea602d chore: tweak error message 11 months ago
Steven 8101a5e0b1 chore: add origin flag to config cors 11 months ago
stayweek 5aa633948e
chore: use the built-in slices library (#3172)
Signed-off-by: stayweek <jiangtengtao@outlook.com>
11 months ago
Steven 33e9b13665 chore: tweak linter 11 months ago
Steven b79f626a74 chore: fix memo comment inbox 11 months ago
Steven cbebbca7d6 chore: add idp definition 11 months ago
Steven bb10bb200c chore: implement search random memos 11 months ago
Steven 54a3c25ebd chore: update memo resource name definition 11 months ago
Steven ea6628066d chore: update sidebar components 11 months ago
Steven 90679cc33a chore: add explore sidebar 11 months ago
Steven 2ebea4dba9 chore: fix workspace profile api 11 months ago
Steven e703b4f70d fix: resource v1 definition 11 months ago
Steven 8fd1dff484 chore: update migration scripts 11 months ago
Steven c5fa4fe304 chore: tweak imports order 11 months ago
Steven 8f37d7490c chore: fix linter 11 months ago