Commit graph

421 commits

Author SHA1 Message Date
三咲智子 Kevin Deng 4422a57f49
refactor: sync masto (#1121) 2023-01-15 16:38:02 +08:00
Daniel Roe 9a8e645e16
fix: use user id in cache key (#1139) 2023-01-14 22:56:47 +01:00
Horváth Bálint bede92404b
feat: add support for the Web Share Target API (#1100)
Co-authored-by: userquin <userquin@gmail.com>
2023-01-14 20:58:52 +00:00
三咲智子 Kevin Deng b3ff8a457d
fix: default value of zen mode 2023-01-14 20:59:00 +08:00
Daniel Roe c280ee389c
feat: support additional html elements (#1102) 2023-01-14 11:40:53 +01:00
webfansplz 7e321e906a
fix: update suggestion renderer only when the editor is focused (#1115)
Closes https://github.com/elk-zone/elk/issues/898
2023-01-14 11:38:31 +01:00
Anthony Fu bef1371516 fix: zen mode on refresh 2023-01-14 11:09:27 +01:00
Anthony Fu 680b3493b3 pref: improve current user handle writting 2023-01-14 11:09:27 +01:00
Anthony Fu d2ef57bcfa perf: cache userSettings, improve #1013 2023-01-14 10:55:16 +01:00
Anthony Fu 55aff4778b refactor: use head script instead of cookie 2023-01-14 10:55:16 +01:00
webfansplz f76628d4ab
fix: shiki fallback language (#1044) 2023-01-13 23:08:08 +08:00
Joaquín Sánchez 1d151c53c4
fix: multiple push notifications susbscriptions on multiple account servers (#1069) 2023-01-13 13:54:30 +01:00
Tom Sherman 0b120e8b42
fix: handle undefined ._ property on useUserLocalStorage (#1060)
Fixes https://github.com/elk-zone/elk/issues/1056
2023-01-13 11:31:16 +01:00
Anthony Fu 9571d7338a feat: separate metions lines on replying 2023-01-13 01:33:04 +01:00
Anthony Fu 9476d14d6c fix: dedupe accounts in reply mentions 2023-01-13 01:19:24 +01:00
Anthony Fu 36ae8be40a
feat: collapse mentions (#1034) 2023-01-13 01:08:56 +01:00
三咲智子 Kevin Deng 884227f560
fix: decrease count when cancel status action 2023-01-13 02:48:52 +08:00
Tom Sherman e9dccc9ef5
feat: add option to follow system color setting (#1012)
Co-authored-by: Daniel Roe <daniel@roe.dev>
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
Closes https://github.com/elk-zone/elk/issues/1007
2023-01-12 18:29:10 +00:00
三咲智子 Kevin Deng 9a41b9b7d7
feat(settings): respect settings from server (#1013) 2023-01-13 01:52:52 +08:00
三咲智子 Kevin Deng cd490fffec
fix: fetch the first page of data 2023-01-13 00:21:32 +08:00
三咲智子 Kevin Deng 4139be32f9
chore: cleanup 2023-01-13 00:04:37 +08:00
三咲智子 Kevin Deng d0d0503a13
perf: fetch instance info only once 2023-01-13 00:01:18 +08:00
Adam Cooper 9f368e50d2
feat: add additional profile icons (#992) 2023-01-12 19:18:06 +08:00
Vjacheslav Trushkin 79753fd508
fix: catch exceptions in HTML parser (#994) 2023-01-12 11:13:20 +00:00
三咲智子 Kevin Deng 4e0777d723
refactor: output errors on devtools (#928) 2023-01-12 13:39:22 +08:00
Daniel Roe 8da4a8e78a fix: escape backticks within codeblocks
resolves https://github.com/elk-zone/elk/issues/970
2023-01-11 23:54:45 +00:00
Daniel Roe a12d3d09b1 feat: support page titles in opengraph data 2023-01-11 23:08:31 +00:00
Kerunix 67f58a3335
fix: empty code blocks (#978) 2023-01-11 21:55:47 +01:00
Shinigami c1e89582f8
fix: remove emoji in status title (#932)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2023-01-11 17:47:36 +00:00
Daniel Roe c2850a34ae
fix: use mention accts within a status to render links (#955) 2023-01-11 18:18:06 +01:00
Daniel Roe f9509f8987
fix: escape/textify the contents of inline and block code (#954) 2023-01-11 16:24:13 +00:00
Daniel Roe 2281dc6bd0 fix: expose dropzone ref to publish widget 2023-01-10 22:51:25 +00:00
Piotrek Tomczewski 7c651d450d
feat(tiptap): add undo and redo (#944) 2023-01-10 22:16:56 +01:00
Joaquín Sánchez 1b9fb99032
feat: add web manifest dark theme variants (#947) 2023-01-10 21:35:34 +01:00
wheat ba9a91a34e
feat: wellness settings (#927)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2023-01-10 22:45:17 +08:00
三咲智子 Kevin Deng 0ef99f2c8e
refactor(publish): extract to composables 2023-01-10 21:31:59 +08:00
三咲智子 Kevin Deng de696d0300
refactor: move notification to masto composables 2023-01-10 20:29:16 +08:00
Daniel Roe 60ccfc84fa fix: break out of infinite loop if there are no notifications 2023-01-10 12:25:23 +00:00
三咲智子 217f1ea567
feat(settings): up to 16 fields for glitch edition 2023-01-10 16:33:20 +08:00
三咲智子 88731ee18d
feat(account): predict relationship from context 2023-01-10 15:49:49 +08:00
三咲智子 b4cda4338f
fix(command): trim spaces 2023-01-10 15:24:14 +08:00
三咲智子 caa02446c7
refactor: upgrade masto 2023-01-10 14:10:26 +08:00
Daniel Roe 6f7bdf274f
refactor: use tiny-decode for parsing html entities (#922) 2023-01-09 23:08:42 +01:00
三咲智子 0a75205309
fix: paginator state lost after HMR 2023-01-10 01:43:28 +08:00
三咲智子 56ab163369
fix(paginator): empty when count equals button 2023-01-10 01:22:20 +08:00
三咲智子 8d77f9e9fb
fix: repeat preprocessing notifications
removed some logic of a8e0e06d84 before,
re-add it now
2023-01-09 23:39:59 +08:00
三咲智子 333cab0858
fix(paginator): item count less than buffer 2023-01-09 23:20:54 +08:00
三咲智子 01a24a6015
refactor: optimize paginator typings 2023-01-09 23:04:09 +08:00
jviide 162b56f5cb
fix: add nofollow noreferrer noopener to Twitter mentions (#910) 2023-01-09 15:47:41 +01:00
三咲智子 83db9f0c38
fix: group follow notification
append current group before push a single item
2023-01-09 20:23:15 +08:00
Daniel Roe efe7d639c1
feat: enable virtual scroller by default (#892) 2023-01-09 12:32:49 +01:00
Daniel Roe 6a6e6bfb74
feat: track unread notifications using marker api (#891) 2023-01-09 12:31:56 +01:00
Michel EDIGHOFFER 68d0d48199
fix(tiptap): update placeholder in case of language change (#896) 2023-01-09 10:34:26 +01:00
三咲智子 c28d1e1537
fix: trim spaces for search keyword 2023-01-09 16:36:29 +08:00
patak 80d3d8dd1d feat: preprocess new items too 2023-01-08 22:22:14 +01:00
Nicolò Ribaudo 7e191d7296
feat: support showing who favorited and boosted a status (#881) 2023-01-08 21:08:45 +01:00
patak 19e4aa4ada fix: show remaining items in buffer on pagination end 2023-01-08 21:03:17 +01:00
patak efe406df5b
feat: avoid reordering pagination border effects (#877) 2023-01-08 17:04:26 +01:00
Joaquín Sánchez e92a983947
fix(pwa): handle sw registration error and status (#858) 2023-01-08 14:12:25 +00:00
Piotrek Tomczewski fcae855eea
fix(drafts): remove and do not focus empty reply drafts (#850) 2023-01-08 14:54:12 +01:00
三咲智子 805f7731ad
refactor(search): more search options 2023-01-08 21:42:53 +08:00
Ivan Demchuk 95a875f47b
fix: exclude unreviewed hashtags from autocomplete (#873) 2023-01-08 21:34:53 +08:00
三咲智子 b7b6f0d1ca
fix(status): disable reblog for non-public posts
closes #870
2023-01-08 21:25:06 +08:00
Anthony Fu 0297ed868b feat: different logos for staging and dev 2023-01-08 12:17:16 +01:00
Anthony Fu c647a87ba1 fix(content): twitter handle matching 2023-01-08 12:17:16 +01:00
Anthony Fu 2df2fefdc9 fix(tiptap): mention transform, close #521 2023-01-08 10:39:16 +01:00
三咲智子 c7f4b33bf1
fix: v1 instance api 2023-01-08 17:31:47 +08:00
三咲智子 c5573cb10b
refactor: switch to v1 instance api
V2 instance api is too new, and we should
support more versions.
2023-01-08 17:16:15 +08:00
Anthony Fu a4c0e9dd2e chore: change top-level function style 2023-01-08 09:21:35 +01:00
Anthony Fu 76ccf5775e feat: support @username@twitter.com as link 2023-01-08 09:21:25 +01:00
三咲智子 4ca2053bb2
fix(search): error when not selected 2023-01-08 15:57:21 +08:00
三咲智子 Kevin Deng 5c8f75b9b7
refactor: upgrade masto 5 (#867) 2023-01-08 14:21:09 +08:00
patak 3dc20ea2f9 fix: preserve paragraphs when editing a status 2023-01-07 23:42:30 +01:00
Piotrek Tomczewski 1817afdb23
feat(reply): navigate to thread on publish (#852) 2023-01-07 23:18:15 +01:00
Daniel Roe 57fd9aeae2
feat: allow setting default server via env (#854) 2023-01-07 22:38:31 +01:00
Daniel Roe 31ae413da4
fix: allow logout without push notifications (#856) 2023-01-07 19:36:21 +01:00
三咲智子 0bf76fdf86
refactor: improve search UX 2023-01-07 22:59:57 +08:00
三咲智子 cf561870f0
refactor: search 2023-01-07 22:52:58 +08:00
三咲智子 d386a2dbbe
fix: hashtag id 2023-01-07 22:21:52 +08:00
Anthony Fu 6944a74653 refactor: html parsing 2023-01-07 10:31:48 +01:00
PraZ d76e4bfaa5
feat: add post deletion confirm dialog (#818)
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2023-01-07 16:55:01 +08:00
Piotrek Tomczewski 0a79f4dc28
feat(publish): add hashtag autocomplete (#837) 2023-01-06 22:38:01 +01:00
三咲智子 e0741d58a9
refactor: tidy composables 2023-01-07 02:43:49 +08:00
Anthony Fu 1aa118283e
refactor: unify user settings (#821)
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2023-01-07 01:39:37 +08:00
三咲智子 35c9a871be
fix(command): remove compose action 2023-01-07 01:32:53 +08:00
Joaquín Sánchez 85ac005570
feat: i18n PWA webmanifests (#805)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-01-06 20:48:43 +08:00
Joaquín Sánchez 573bf48eda
fix: sync current account across tabs 2 (#816) 2023-01-06 10:34:18 +01:00
Joaquín Sánchez d8eec1ed5e
fix: sync current account across tabs (#815) 2023-01-06 00:39:10 +01:00
Ivan Demchuk 7e794aa641
feat: preserve media dialog state in browser history (#743) 2023-01-05 17:51:50 +01:00
三咲智子 Kevin Deng acdb94de62
fix: type errors (#802) 2023-01-05 17:48:20 +01:00
Anthony Fu 272fb4a13d
feat: compose editor as a page (#804) 2023-01-05 16:42:36 +01:00
PraZ 1c2c4a251e
feat: use line icons (metadata fields) (#794) 2023-01-05 18:26:28 +08:00
Arthur Fontaine bd1b9fb5c8
fix: emoji replacement when pasting (#777) 2023-01-05 09:50:11 +01:00
PraZ 22729eed70
feat(metadata): add pronouns metadata field icon (#784)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2023-01-05 08:10:29 +00:00
jviide 5c0e1790fa
fix: sanitize HTML from Mastodon servers (#788) 2023-01-05 08:21:09 +01:00
Piotrek Tomczewski 1ff584bf8b
feat(publish): add hashtag autocomplete (#778) 2023-01-04 21:47:29 +01:00
三咲智子 377c015c91
feat: add titles for settings 2023-01-04 21:57:21 +08:00
三咲智子 Kevin Deng f892722220
refactor: env config (#769) 2023-01-04 14:26:30 +01:00
patak 9890656477 feat: improve timeline reordering 2023-01-04 13:09:09 +01:00
三咲智子 9677f742c8
refactor(status): remove null fields 2023-01-04 18:21:18 +08:00