Commit Graph

1613 Commits (76a9a343a5f1901d7685411f919e60b25b294c7f)

Author SHA1 Message Date
Steven 76a9a343a5 chore: fix linter 9 months ago
RoccoSmit f695e93f20
fix: update first day logic for months starting on Sunday (#3896)
* Update calendar logic to accomodate for months starting on Sunday

* Apply suggestions from code review

---------

Co-authored-by: boojack <stevenlgtm@gmail.com>
9 months ago
RoccoSmit 05d5fb4b04
chore: use translations for calendar days (#3895)
Use translations for calendar days
9 months ago
johnnyjoy 09586d032c chore: fix user checks 9 months ago
Steven fe01d68d2a fix: user role checks 9 months ago
johnnyjoy 40d59fc47a chore: fix user role checks 9 months ago
johnnyjoy 7a9f61967d feat: allow admin users to update other memos 9 months ago
johnnyjoy 8c6682bd77 chore: regenerate apidocs 9 months ago
Steven 20570fc771 refactor: resource thumbnail 9 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>
9 months ago
Steven 710961d336 chore: fix text color in dark mode 9 months ago
Steven bb86482b71 chore: tweak setting name 9 months ago
Steven f0abd792c7 chore: update auth service 9 months ago
Steven 1167df29d8 feat: add security related settings 9 months ago
Steven 4e5810e205 chore: update workspace setting section 9 months ago
Steven a8ea28066e chore: retire export memos 9 months ago
Michel Heusschen 2dbf92f7f1
perf: reduce bundle size by 21% with direct icon imports (#3844) 9 months ago
Steven de980fb7d7 chore: update setting display name 9 months ago
RoccoSmit eca9649be3
fix: cancel removes memo cache (#3826)
Clear local storage record of memo changes if chanes to a memo are cancelled
10 months ago
Steven f4d6675363 chore: add enable memo comment setting 10 months ago
Steven 3c5aa41a78 feat: implement week start day setting 10 months ago
Steven 1ae3afc0ba chore: tweak memo relation popover 10 months ago
Jakub Wołynko 18db78172c
feat: add translation for collapse/expand button and update polish locale (#3811)
add: collapse, expand, polish locale
10 months ago
Steven aae3e8ae64 chore: update memo property checks 10 months ago
Steven 506d2ed8ca chore: tweak menu style 10 months ago
Steven 9a27fdf855 chore: tweak load more button 10 months ago
Mykal Machon c0826c43b0
fix: explicitly disabling `autocapitalize` and `spellcheck` (#3797)
fix #3747: removing autocapitalize and spellcheck
10 months ago
Steven 04b4fa1d02 chore: tweak icon button container 10 months ago
Steven 61b8cee31d chore: retire preview markdown dialog 10 months ago
Steven 4ad6028681 refactor: use popover instead of dialog for memo relations 10 months ago
Steven 158745704e feat: add memo display setting menu 10 months ago
Steven 21f18f7c56 chore: tweak activity service definition 10 months ago
Steven 26fa172641 chore(frontend): add order by time asc 10 months ago
Steven 14194504ee chore: remove unused classnames 10 months ago
Steven 444ccc03ed chore: tweak default title 10 months ago
Steven a1083e648f chore: fix resource display time 10 months ago
Steven 4b415e519e chore: tweak demo data 10 months ago
Steven a50f3b9382 chore: fix memos sorting 10 months ago
Steven 8bf7cdfd31 feat: add password auth flag 10 months ago
Steven b9006f8ce0 chore: tweak date utils 10 months ago
Steven 3d63d9d5fb chore: fix activity stats 10 months ago
Steven 139090fb8f chore: fix calendar timestamps 10 months ago
Steven edc3b578d6 feat: implement search multi tags 10 months ago
Steven c6a09d9353 chore: update memo filter styles 10 months ago
Steven cd38ec93ed feat: implement memo filters 11 months ago
Steven b3b4aa9ddb chore: remove unused code 11 months ago
Steven c313596144 feat: update memo editor 11 months ago
Steven 10c9bb081b chore: retire timeline page 11 months ago
Steven c4a24bead6 chore(frontend): tweak memo relations 11 months ago
andrigamerita d264f45979
fix: code blocks of unknown languages cause HTML injection (#3711)
* fix: code blocks of unknown languages cause HTML injection

A code block of unknown language (that is, a language not treated as special by Memos and not handled by highlight.js) should fall back on rendering its plaintext content. However, the content is never properly escaped before it is appended to the DOM, and thus any string that happens to contain HTML is unsafely rendered. This commit fixes the issue by ensuring that, when none of the previous cases handle the text, any HTML entities are escaped first.

* Update CodeBlock.tsx to conform to eslint
11 months ago