memos/server/router/api/v1
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`.
2024-07-19 07:14:31 +08:00
..
acl.go chore: remove access token after sign out 2024-05-20 08:53:29 +08:00
acl_config.go chore: update tags filter 2024-05-14 08:12:25 +08:00
activity_service.go chore: rename router package 2024-05-01 10:28:32 +08:00
auth.go chore: rename router package 2024-05-01 10:28:32 +08:00
auth_service.go fix: delete access token when sign out 2024-07-13 11:18:29 +08:00
common.go chore: tweak common function 2024-05-26 11:02:23 +08:00
idp_service.go chore: tweak common function 2024-05-26 11:02:23 +08:00
inbox_service.go chore: tweak common function 2024-05-26 11:02:23 +08:00
logger_interceptor.go chore: rename router package 2024-05-01 10:28:32 +08:00
markdown_service.go chore: implement stringify markdown nodes endpoint (#3688) 2024-07-14 20:46:57 +08:00
memo_relation_service.go chore: rename router package 2024-05-01 10:28:32 +08:00
memo_resource_service.go chore: handle legacy workspace setting 2024-05-07 22:07:44 +08:00
memo_service.go feat: write memo UID in file names when exporting to Markdown (#3712) 2024-07-19 07:14:31 +08:00
reaction_service.go chore: tweak common function 2024-05-26 11:02:23 +08:00
resource_name.go chore: rename router package 2024-05-01 10:28:32 +08:00
resource_service.go chore: fix linter 2024-07-12 08:36:55 +08:00
user_service.go chore: tweak common function 2024-05-26 11:02:23 +08:00
v1.go fix: allow cors for grpc gateway handler (#3574) 2024-06-21 18:13:59 +08:00
webhook_service.go feat: update webhook request payload 2024-06-05 20:53:20 +08:00
workspace_service.go feat: add public flag instead of system setting to enable signup (#3589) 2024-06-19 22:03:12 +08:00
workspace_setting_service.go chore: update disallow public visibility setting name (#3687) 2024-07-14 20:23:19 +08:00