Commit Graph

631 Commits (35b0bd82f48b13c73847daa9d402d8a559634632)

Author SHA1 Message Date
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>
6 months ago
Steven 960af444fa chore: fix linter 6 months ago
Steven 20570fc771 refactor: resource thumbnail 6 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>
6 months ago
Steven bb86482b71 chore: tweak setting name 6 months ago
Steven f0abd792c7 chore: update auth service 6 months ago
Steven 1167df29d8 feat: add security related settings 6 months ago
Steven a8ea28066e chore: retire export memos 6 months ago
Steven d11bd30ec6 chore: tweak logger 6 months ago
Steven fbdfaf85d9 chore: update migrator 6 months ago
Steven 525223c261 chore: add tests for migrator 6 months ago
Steven b376a20fb4 chore: tweak linter warnings 6 months ago
Steven 2999f472dd chore: fix typo 6 months ago
Steven 45ddd05c42 chore: tweak linter warning 6 months ago
Steven d1280bc04f chore: implement memo property runner 6 months ago
Steven f4d6675363 chore: add enable memo comment setting 6 months ago
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