Commit Graph

1082 Commits (c313596144816c6cd011f49df8b947db78d7fa1b)

Author SHA1 Message Date
Steven c313596144 feat: update memo editor 10 months ago
Steven 10c9bb081b chore: retire timeline page 10 months ago
Steven c4a24bead6 chore(frontend): tweak memo relations 10 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
10 months ago
Steven 5704aaad08 chore: tweak embeded memo style 10 months ago
Steven ef7e2151dc chore: update memo relation list 10 months ago
Steven e2fd79200e feat: implement inline memo editor 10 months ago
Steven 956f21838d chore: fix popover z-index 10 months ago
Steven 878fea5f13 chore: use popover for update tag view setting 10 months ago
Steven f2cfc528a6 chore: introduce tag view option 10 months ago
Johnny 9909fd8a6f
feat: add snippet field to memo message (#3689) 10 months ago
Johnny bcb8843245
chore: implement stringify markdown nodes endpoint (#3688) 10 months ago
Johnny 7c9e54afbd
chore: update disallow public visibility setting name (#3687) 10 months ago
Steven f374169a2b feat: implement html element renderer 10 months ago
Johnny 5a196e2f1a
feat: update gomark version (#3679) 10 months ago
Steven 457cf92cc1 feat(api): implement get resource by uid 11 months ago
Steven 1ab2c89408 feat(api): implement get memo by uid 11 months ago
Steven 626c972d9c chore: add properties to memo detail sidebar 11 months ago
Johnny 5e3ed201b4
fix: update mask of update memo (#3659) 11 months ago
Johnny eccddb1154
chore: add create time to memo detail sidebar (#3657) 11 months ago
Johnny 4d2b953e23
chore: add enable link preview setting to memo related settings (#3647) 11 months ago
Steven 1ad5d9bf0a chore: update confirm dialog 11 months ago
Steven 291b815653 feat: implement memo detail sidebar 11 months ago
Steven 05c6edfe2f chore: tweak auth pages 11 months ago
Johnny 736637a362
feat: add public flag instead of system setting to enable signup (#3589) 11 months ago
Steven 076aa2f8aa chore: remove memo filter 12 months ago
Steven d159975994 chore: update statistics view 12 months ago
Martin MacDonald aec5927d31
feat: add hook for generating different date times (#3524)
* Added hook for generating different date times

* Fixed up logic to destructure the datetime params

---------

Co-authored-by: Martin MacDonald <martinmacdonald@Martins-MacBook-Pro.local>
12 months ago
Steven 7375b87967 chore: tweak tooltips 12 months ago
Steven d0ac866eb1 chore: update statistics view 12 months ago
Martin MacDonald f0817f2762
chore: update fetch tags args (#3515)
* Centralised the logic for filters to apply to tagging and updated components to pass in those params needed

* Fixed linting issue

* Split out params from options

* Fixed linting errors

---------

Co-authored-by: Martin MacDonald <martinmacdonald@Martins-MacBook-Pro.local>
12 months ago
Martin MacDonald 0977acbc7f
fix: update uniqby key (#3518)
* Used correct uniqby key

* Put back filter

---------

Co-authored-by: Martin MacDonald <martinmacdonald@Martins-MacBook-Pro.local>
12 months ago
Steven e8ed437ca3 fix: purify html before render 12 months ago
Steven 2b49025f4a chore: update memo filters 12 months ago
Steven 8c0bee3840 chore: tweak refresh button 12 months ago
Steven 4e54ec38ff chore: update memo related settings 12 months ago
Steven 0657a1ef5b chore: fix memo editor cache 12 months ago
Steven b215426623 chore: update general setting 12 months ago
Steven 0f4b7c5f4a feat: add more memo settings 12 months ago
Steven cf70867470 chore: update tag section 12 months ago
Steven 719c22fef8 chore: update i18n 12 months ago
Steven cbf556fee5 chore: fix memo cache key 12 months ago
Steven 0275a65781 chore: add last visited page 1 year ago
Steven f0e5a72271 feat: update search memo filter 1 year ago
Steven ba0876a563 feat: update statistics view 1 year ago
Steven 1ccfa81cf3 chore: tweak common function 1 year ago
Steven 7d6dbb9487 fix: link hover handler 1 year ago
Steven 21838d0aae chore: fix editor autocomplete 1 year ago
Steven c25c57ab61 feat: support updating display time 1 year ago
Steven 0c251f9ab8 chore: fix resource delete handler 1 year ago