Commit graph

521 commits

Author SHA1 Message Date
Joaquín Sánchez 6784f3a090
fix: undo changes on push notifications settings stops working (#1599) 2023-02-03 17:01:43 +01:00
Michel EDIGHOFFER 4b1b18768d
feat: use explorer page as search for mobile only (#1301) 2023-02-03 11:40:54 +01:00
Joaquín Sánchez a2fb458696
fix(ui): add viewport header to enable/disable pinch to zoom in Safari (#1590) 2023-02-03 10:05:17 +01:00
Joaquín Sánchez 4c054a37fd
feat: add opt-in pinch to zoom setting (#1557) 2023-02-01 15:43:27 +01:00
Anthony Fu e277832b61 fix: avoid reference context in getDefaultDraft 2023-01-30 12:20:22 +01:00
Anthony Fu 2a4862fb42 feat(ui): display post language 2023-01-30 12:09:04 +01:00
Anthony Fu 8d792d003d refactor: make auto import more explicit 2023-01-30 11:58:58 +01:00
Stanislas 72bf6fb6f0
fix: handle account switching when accounts have the same id (#1510) 2023-01-29 07:58:32 -08:00
Daniel Roe 415d36ce32
refactor: move pwa/build-info -> appConfig (#1508) 2023-01-29 06:18:27 -08:00
Niklas Wolf b48b7f4c16
feat: allow disabling translation for specific languages (#1371) 2023-01-29 04:18:49 -08:00
sechi 8c76dad3c0
fix: prevent click event when publish button is disabled (#1481) 2023-01-28 14:00:20 -08:00
Evan Boehs d26510a766
feat: hide reply count (#1439)
* feat: hide reply count

* fix(i18n): rearrange strings

* style: new line
2023-01-26 13:41:43 +01:00
victordelva adb17d7f14
fix: default user language when writing a publication (#1446) 2023-01-25 16:41:09 +01:00
Joaquín Sánchez 3c888d3914
fix: unescape html entities in page title (#1392) 2023-01-25 05:12:55 -08:00
wheat 46a8472001
feat(preferences): option to hide account hover card (#1431) 2023-01-24 21:46:33 +01:00
Ayo Ayco a08f56676d
feat: totally hide strict filters (#948) 2023-01-23 20:33:21 +01:00
patak 1a577343da
feat: range of font size (#1376) 2023-01-22 20:18:03 +00:00
Niklas Wolf 801b8fe027
feat: add user preference to hide translation button (#1358) 2023-01-21 11:19:03 +01:00
JD Hartley 86d62fd5de
fix: disable side nav item tooltip on small screen (#1327) 2023-01-19 22:14:44 +01:00
Niklas Wolf 126619be92
feat: added autoplay setting (#1303)
closes https://github.com/elk-zone/elk/issues/1235
2023-01-19 19:33:50 +01:00
三咲智子 Kevin Deng eb966976db
fix: remove protocol from instance uri 2023-01-20 00:20:56 +08:00
patak 359cc4935b fix: leading space when hiding mentions 2023-01-19 12:12:58 +01:00
patak a48524e7ad
feat: inline some mentions to reduce spacing (#1307) 2023-01-19 11:26:01 +01:00
patak 5785047856 fix: properly hide redundant mentions 2023-01-18 19:23:14 +01:00
patak 3132f4fdea
feat: hide redudant mentions (#1293) 2023-01-18 16:59:37 +01:00
patak 40c0afb09d chore: fix typo 2023-01-18 08:01:50 +01:00
webfansplz 9c82df0a7a
fix: prevent default event when hide dropdown (#1277) 2023-01-18 07:07:07 +01:00
Alex 0b77ad3f43
fix: translate posts target language is not current selected language (#1263) 2023-01-17 22:41:26 +01:00
Alex 85e163a0ad
feat: support showing publish failed messages (#1209) 2023-01-17 13:56:51 +01:00
rshigg 0b2b9a713b
feat: add grayscale mode to user preferences (#1177) 2023-01-17 13:55:36 +01:00
Svyatoslav Kryukov 08eebb651d
fix: use global regex to escape backticks (#1253) 2023-01-17 12:26:36 +01:00
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
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