Commit Graph

478 Commits (fbc779d1743ed9e1a5675bd96868da6d88ab2875)

Author SHA1 Message Date
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
三咲智子 154885ca96
fix(status): add language from status when redraft 2023-01-04 17:39:12 +08:00
三咲智子 8983edd1bb
fix: SSR render error on profile page 2023-01-04 17:26:31 +08:00
三咲智子 1ac1ce19fa
revert: "feat: reorder consecutive posts that have others in between"
This reverts commit 364acd998e.
2023-01-04 15:14:37 +08:00
patak 364acd998e feat: reorder consecutive posts that have others in between 2023-01-03 22:34:52 +01:00
Anthony Fu 64fa8d2bf4 ui: move settings to nav side 2023-01-03 18:16:04 +01:00
三咲智子 b14add8c83
refactor: tidy masto icons 2023-01-03 20:03:50 +08:00
三咲智子 ef417f3ccf
refactor: tidy injections of dropdown 2023-01-03 20:03:50 +08:00
三咲智子 6729666170
refactor: add onMastoInit 2023-01-03 17:53:45 +08:00
三咲智子 269fc30afd
fix: don't resolve search when not signed in 2023-01-03 11:25:02 +08:00
Joaquín Sánchez c6f292a68c
fix: use top level await accessing users idb (#721)
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2023-01-03 08:18:01 +08:00
Linus Groh 8a3cfcd089
feat: add account field icon for 'Language(s)' (#720) 2023-01-03 08:15:51 +08:00
三咲智子 f844648cbf
fix: repeat server in acct 2023-01-03 07:00:12 +08:00
patak 2d5038d046 chore: update mastodon usernames 2023-01-02 23:22:38 +01:00
三咲智子 8a0f9176fb
chore: update @sxzz 's display name 2023-01-03 05:39:07 +08:00
三咲智子 c0a2aca98a
feat(settings): about page 2023-01-03 04:28:49 +08:00
三咲智子 Kevin Deng c216c81bb7
feat(settings): metadata (#699)
Co-authored-by: LittleSound <464388324@qq.com>
2023-01-02 23:00:11 +08:00
Vjacheslav Trushkin fa9c418e21
feat: replace emoji with SVGs (#129) (#584)
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2023-01-02 05:53:53 +01:00
Daniel Roe 0187763c29
refactor: set hydrated value in nuxt plugin 2023-01-02 00:18:05 +01:00
三咲智子 72e03f8109
refactor: move meta to nuxt config 2023-01-02 06:03:35 +08:00
三咲智子 Kevin Deng 645da2f945
fix: omit value property of isHydrated in template (#681) 2023-01-01 21:43:09 +01:00
Joaquín Sánchez bd72ecd0e5
feat: image preview gestures (#668) 2023-01-01 20:59:31 +01:00
三咲智子 fbf1906bd4
fix(settings): refresh profile after initted 2023-01-02 03:42:19 +08:00
Joaquín Sánchez 496da96072
feat(pwa): allow access elk users from service worker (#662)
Co-authored-by: patak <matias.capeletto@gmail.com>
2023-01-01 20:38:05 +01:00
Joaquín Sánchez ca93f1a813
feat(i18n): use compact number format instead K/M suffix (#678) 2023-01-01 20:31:14 +01:00
Joaquín Sánchez d8abea75aa
fix: push notification request permission (#677) 2023-01-01 20:24:22 +01:00
patak 016da2e8c0
feat: rework avatar on avatar (#676) 2023-01-01 20:15:51 +01:00
三咲智子 22fcc1d68b
feat: go to new status after redraftting 2023-01-01 23:57:49 +08:00
三咲智子 d62292d219
fix: use html content for redrafting 2023-01-01 23:31:33 +08:00
Vjacheslav Trushkin 727d05915f
fix: layout fixes for RTL languages (#591)
* fix: rtl arrows on settings page

* fix: border on settings page for RTL languages

* fix: RTL fixes for logo, search box and logout icon

* fix: RTL layout bugs in conversations

* chore: remove rtl setting icon

* improve arabic locale

* add new entries to arabic locale

* chore: include number format

* fix: RTL layout on several pages

* fix: RTL layout of account header and sign in modal

* fix: always display account handle in LTR

* fix: move character counter in publish widget to left side for RTL

* fix: remove border-ss-none unocss rule

* fix: many RTL fixes

* fix: RTL fixes for many pages

* fix: use viewer's direction in all content

* chore: use new arabic plural rules

* chore: flip arrow on main content header

* chore: fix StatusPoll and show_new_items for zh-TW

* chore: StatusPoll tooltip on bottom

* chore: add `en` variants to i18n conf

* chore: update entry to use new plural rule

* fix: automatic content direction for status

* fix: direction for account handle

* fix: direction of polls

Co-authored-by: userquin <userquin@gmail.com>
Co-authored-by: Jean-Paul Khawam <jeanpaulkhawam@protonmail.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-01-01 15:29:11 +01:00
三咲智子 4da2fd05bb
feat(ui): transparent status bar 2022-12-31 06:45:39 +08:00
patak 61349c6f0a feat: allow reordering reblogs of replies 2022-12-29 22:04:32 +01:00
三咲智子 fd93462f42
feat(command): add settings page 2022-12-30 03:58:00 +08:00
三咲智子 2332d7091a
fix(command): re-register when component activated 2022-12-30 03:57:39 +08:00
patak bc868da226 feat: reordered replies in profile 2022-12-29 17:25:04 +01:00
Daniel Roe 12280afe70
feat: allow searching for statuses (#632) 2022-12-29 15:44:26 +01:00
Jacob Hands 7c594c68f7
fix: Remove redundant refresh in usePaginator (#626) 2022-12-29 13:30:05 +01:00
Daniel Roe 7a36fb8efd
refactor: use `@nuxtjs/color-mode` to manage ssr (#612) 2022-12-29 13:26:08 +01:00
Daniel Roe f65f9c9a1c
feat: support muting conversations (#614) 2022-12-28 22:44:23 +01:00
Jacob Hands b6f0bd356a
fix: Streams slowing down page loads or not loading at all (#620) 2022-12-28 22:43:46 +01:00
Ayaka Rizumu a775203bdc
feat: search in command panel (#576) 2022-12-28 17:29:07 +01:00
Daniel Roe d585d4eeb7
fix: deduplicate incoming statuses 2022-12-28 17:21:58 +01:00
Daniel Roe 34dc2f7736
fix: handle no acct string 2022-12-28 17:01:13 +01:00
Daniel Roe aeb5a40948
refactor: flatten composables and enable auto-imports on dirs (#608) 2022-12-28 15:57:06 +01:00