Commit Graph

173 Commits (c43762a9b61535a3f21a00b5a4d76dcaf0523167)

Author SHA1 Message Date
johnnyjoy c1498a1844 chore: retire webhook state 6 months ago
johnnyjoy 2a861ea430 refactor: tweak resource state in api 6 months ago
johnnyjoy 1caaef1c5b chore: fix memo compact mode 6 months ago
johnnyjoy d9d6f73330 chore: fix memo converter 6 months ago
johnnyjoy 7817ad07f7 chore: fix linter 6 months ago
johnnyjoy 3220adbff9 refactor: split memo service 6 months ago
Johnny e913271f15
refactor: move tags from property to payload (#4229)
* refactor: move tags from property to payload

* chore: fix tests

* chore: drop memo tags

* chore: update

---------

Co-authored-by: Steven <stevenlgtm@gmail.com>
6 months ago
d0zingcat e5cb2037e4
feat: allow to disable markdown shortcuts (#4025)
* add settting to disable markdown keymap

Signed-off-by: d0zingcat <leewtang@gmail.com>

* rename disable markdown shortcuts

Signed-off-by: d0zingcat <leewtang@gmail.com>

* fix lint

Signed-off-by: d0zingcat <leewtang@gmail.com>

---------

Signed-off-by: d0zingcat <leewtang@gmail.com>
9 months ago
Steven 009534f1cf chore: fix linter warning 9 months ago
Steven 68c2bd3837 chore: update memo relations 9 months ago
Steven cfe1765067 chore: tweak user statistics view 9 months ago
Steven 14712b42fa chore: add pagination to list inboxes 9 months ago
Steven b4d72e3349 fix: memo visibilities with filter 9 months ago
Steven b2f60758bc chore: update workspace setting in demo mode 9 months ago
Steven e527b6a878 feat: move reaction type to setting 9 months ago
wjsoj 1f9d657065
feat: support set global Default memo visibility (#3989)
* feat: support set global Default memo visibility

* feat: Move to WorkspaceMemoRelatedSetting

* fix: goimports check failure

* chore: change item name to default_visibility

* fix: goimports check failure
9 months ago
Steven d11e7a3a9a chore: remove duplicated requests 9 months ago
Steven 69ad5178b3 chore: update `MaxCallRecvMsgSize` 9 months ago
Steven cf4e660f41 chore: add memo location setting 9 months ago
Steven 2837816ff7 chore: fix component state 9 months ago
Steven b144faf43a feat: add location selector 9 months ago
Steven 63989ab365 feat: add location to memo payload 9 months ago
johnnyjoy 41976cb894 feat: update memo endpoints 9 months ago
Steven ca213437e9 feat: implement nesting lists 9 months ago
johnnyjoy 7a4d54bb3c chore: update error messages 9 months ago
Steven fbe0251eed feat: impl list renderer 10 months ago
Zisu Zhang b787d1c7b6
feat: support disable change username and nickname (#3911)
* feat: support disable change username and nickname

* chore: update UX
10 months ago
Steven 4790e84b98 chore: use ratio instead of max width 10 months ago
Haohan Yang 044d46c36d
chore: replace `unmatchedEmailAndPasswordError` with unmatchedUsernameAndPasswordError` (#3889)
replace unmatchedEmailAndPasswordError with unmatchedUsernameAndPasswordError
10 months ago
Steven 88db037204 chore: fix linter warnings 10 months ago
Steven 4209575244 chore: tweak folder naming style 10 months ago
Steven 773ab96bd0 chore: update thumbnail generator 10 months ago
johnnyjoy 7a9f61967d feat: allow admin users to update other memos 10 months ago
RoccoSmit bfe57b9202
chore: set max thumbnail width to home/explore image max width (#3852)
* Set max thumbnail width to timeline img max width

* Prevent images less than thumbnail size from being scaled up

* Apply suggestions from code review

---------

Co-authored-by: boojack <24653555+boojack@users.noreply.github.com>
10 months ago
Steven 960af444fa chore: fix linter 10 months ago
Steven 20570fc771 refactor: resource thumbnail 10 months ago
RoccoSmit 9b1adfbbe9
feat: reintroducing thumbnails (#3821)
* Reintroducing thumbnails

* Aligned with linting rules

* making recomended code review change
- changed method names to start with lower case as they are not used outside of their package
- made receiver types for struct funcs to be pointers to not need to create copies

Trying to cover all linting issues
- converted slog warning to use attributes when logging warnings
- seperated imports to have package files in their own section

* Update go.mod

---------

Co-authored-by: boojack <24653555+boojack@users.noreply.github.com>
10 months ago
Steven bb86482b71 chore: tweak setting name 10 months ago
Steven f0abd792c7 chore: update auth service 10 months ago
Steven 1167df29d8 feat: add security related settings 10 months ago
Steven a8ea28066e chore: retire export memos 10 months ago
Steven b376a20fb4 chore: tweak linter warnings 11 months ago
Steven d1280bc04f chore: implement memo property runner 11 months ago
Steven f4d6675363 chore: add enable memo comment setting 11 months ago
Steven 3c5aa41a78 feat: implement week start day setting 11 months ago
Steven c3f381c8c5 chore: add instance url to profile 11 months ago
Steven 21f18f7c56 chore: tweak activity service definition 11 months ago
Steven 07667257d5 feat: support order by time asc 11 months ago
Steven 7564c40c8d chore: fix env init 11 months ago
Steven 8bf7cdfd31 feat: add password auth flag 11 months ago
Steven 139090fb8f chore: fix calendar timestamps 11 months ago
Steven edc3b578d6 feat: implement search multi tags 11 months ago
Steven b3b4aa9ddb chore: remove unused code 11 months ago
Steven c5900b355e chore: tweak signup checks 11 months ago
Steven 553e8d09dd chore: update public default value to false 11 months ago
Steven 44e56844f5 chore: tweak search resources 12 months ago
Steven 17ecfb5cf5 fix: acl config 12 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`.
12 months ago
Steven 5a26b76511 chore: add memo content snippet 12 months ago
Steven 446e38f15b fix: memo content snippet 12 months ago
Johnny 9909fd8a6f
feat: add snippet field to memo message (#3689) 12 months ago
Johnny bcb8843245
chore: implement stringify markdown nodes endpoint (#3688) 12 months ago
Johnny 7c9e54afbd
chore: update disallow public visibility setting name (#3687) 12 months ago
Steven 6825c1def4 fix: delete access token when sign out 12 months ago
Steven f374169a2b feat: implement html element renderer 12 months ago
Johnny 5a196e2f1a
feat: update gomark version (#3679) 12 months ago
Steven 9449886d60 chore: fix linter 12 months ago
Steven 457cf92cc1 feat(api): implement get resource by uid 12 months ago
Steven 1ab2c89408 feat(api): implement get memo by uid 12 months ago
Johnny 5e3ed201b4
fix: update mask of update memo (#3659) 12 months ago
Johnny 4d2b953e23
chore: add enable link preview setting to memo related settings (#3647) 1 year ago
Roman Lomonosov b923988fd6
fix: can't change memo UID (#3621) 1 year ago
Zeng1998 4f4fe9b26b
fix: add charset=utf-8 for text content resources (#3608)
Co-authored-by: = <=>
1 year ago
Johnny ca463891f2
chore: fix linter warning for slog (#3604) 1 year ago
Ryo a09c669865
fix: allow cors for grpc gateway handler (#3574) 1 year ago
Johnny 736637a362
feat: add public flag instead of system setting to enable signup (#3589) 1 year 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
1 year 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 4e54ec38ff chore: update memo related settings 1 year ago
Steven b215426623 chore: update general setting 1 year ago
Steven 0f4b7c5f4a feat: add more memo settings 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 b5d2ff6e28 chore: fix linter 1 year ago
Steven 811c0757c4 chore: fix linter 1 year ago
Steven f37b34544b chore: update user access token checks 1 year ago
Steven fb15386db2 chore: remove access token after sign out 1 year ago
Steven c25c57ab61 feat: support updating display time 1 year ago
Steven b0aad6f694 chore: tweak resource payload 1 year ago