Commit graph

440 commits

Author SHA1 Message Date
Daniel Roe 406fe18302 fix: export highlighter function and rename in composable 2023-01-17 06:47:46 +00:00
Daniel Roe 98a4e8caaf refactor: fix typo in function name 2023-01-17 06:26:06 +00:00
Daniel Roe 80da856402 fix: handle parsing pure plain text 2023-01-16 20:41:42 +00:00
jviide 8c170961cb
feat: support all HTML elements allowed by Glitch (#1233)
Closes https://github.com/elk-zone/elk/issues/1230
2023-01-16 19:04:27 +01:00
Anthony Fu b049b40298
fix(editor): mention handling on post editing (#1223) 2023-01-16 12:36:22 +00:00
Anthony Fu 8bb6ee7639 refactor: fix auto import confliction 2023-01-16 12:40:47 +01:00
Anthony Fu 8753a94aae
feat: theme colors (#1195) 2023-01-16 11:26:19 +01:00
Yuexun Jiang e847f8ef1d
feat(tiptap): add discord-style emoji suggestion support (#1066)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-01-16 11:22:26 +01:00
Alex d745bd0583
feat: improve posts translation logic (#1211) 2023-01-16 09:55:00 +00:00
patak bb2e3ab44f
fix: publish widget mentions (#1198) 2023-01-16 06:10:33 +01:00
Darius Kruythoff 95dda1fdb6
feat: have all emojis respect prefers-reduced-motion (#962) 2023-01-16 00:51:52 +00:00
Daniel Roe cd8e2cb6a4
fix: initialise stream promise before stream is available (#1191) 2023-01-15 20:26:59 +00:00
Daniel Roe bf25339bc9
test: add vitest-environment-nuxt (#1186) 2023-01-15 20:09:01 +01:00
webfansplz 88c96cb304
refactor: preferences settings (#1173) 2023-01-15 22:19:22 +08:00
三咲智子 Kevin Deng 83a1980273
fix: default language (#1171) 2023-01-15 20:23:47 +08:00
jviide c15df78cbb
fix: prevent HTML injections to code blocks (#1165) 2023-01-15 10:48:22 +00:00
三咲智子 Kevin Deng 1a4fd19720
fix: ignore fetch node info error 2023-01-15 18:11:23 +08:00
三咲智子 Kevin Deng 5247b36b6d
fix: account server in GoToSocial 2023-01-15 17:44:36 +08:00
三咲智子 Kevin Deng 2e7979817a
feat: support lookup account for gotosocial 2023-01-15 17:21:03 +08:00
三咲智子 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