Commit graph

404 commits

Author SHA1 Message Date
三咲智子 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
Daniel Roe 726a581add
refactor: use nuxt plugin to provide pwa helpers globally (#604) 2022-12-28 15:08:03 +01:00
Anthony Fu 3079867e2a refactor: setup 2022-12-28 04:50:29 +01:00
Anthony Fu 970b6538e2 fix: i18n SSR 2022-12-28 02:28:17 +01:00
Anthony Fu d8d163dbd0 fix: rework setup to improve SSR compatibility 2022-12-28 02:06:54 +01:00
Anthony Fu ff0ad77676 fix: insert space around custom emojis 2022-12-27 22:08:48 +01:00
Joaquín Sánchez 6412127283
feat: cleanup locale conf and add some RTL stuff (#564) 2022-12-27 22:04:52 +01:00
Anthony Fu c38b8c13ca fix: ssr for emojis 2022-12-27 21:56:43 +01:00
Anthony Fu 2d2dc64efc fix: emoji replacement error handling 2022-12-27 21:48:01 +01:00
Anthony Fu dc94d707b0 fix: emoji replacement 2022-12-27 21:42:58 +01:00
patak b1109c2ceb
feat: rework user picker (#568) 2022-12-27 21:07:19 +01:00
Anthony Fu 2d4f5ddf76 chore: fix build error 2022-12-27 20:19:47 +01:00
Anthony Fu 8f68fa12e4 feat: custom emoji font in editor 2022-12-27 20:13:50 +01:00
Joaquín Sánchez 4d21d27f94
feat: render custom server emojis on editor (#579) 2022-12-27 19:38:57 +01:00
Anthony Fu d9b0e85f63 feat: emoji font 2022-12-27 19:37:22 +01:00
patak 4f3a065927
feat: connected replies in home (#572) 2022-12-27 18:47:05 +01:00
三咲智子 1bf60dc4a2
fix: mention link in rich content 2022-12-27 02:39:29 +08:00
JP 53109e7f23
feat(i18n): add arabic translations (#490)
Co-authored-by: userquin <userquin@gmail.com>
2022-12-26 16:12:04 +01:00
Joaquín Sánchez f28923f86f
fix: request push notifications on mobile (#553) 2022-12-26 10:13:59 +01:00
Ayaka Rizumu 613c5315b3
feat: added a profile settings and settings nav (#432) 2022-12-26 09:50:11 +01:00
Daniel Roe c8a7e6e7e7
fix: use lazy pagination (#563) 2022-12-26 09:34:30 +01:00
Daniel Roe 72855d7725
refactor: move post-login push logic to single place 2022-12-26 08:47:23 +01:00
Daniel Roe dc76ab2477
fix: update cache + timeline when items are updated/deleted (#556) 2022-12-25 15:52:37 +01:00
Daniel Roe 720b5114af
refactor: initialise masto outside of functions/handlers 2022-12-25 15:04:50 +01:00
Anthony Fu 6c9908d030 chore: clean up 2022-12-24 00:22:57 +01:00
Anthony Fu b40832a7eb fix: font-size ssr 2022-12-24 00:19:17 +01:00
Anthony Fu 597617b7e6 feat: custom emojis, close #500 2022-12-23 23:56:21 +01:00
patak 41ef187379 feat: font size preference 2022-12-23 23:47:13 +01:00
Joaquín Sánchez 6037700197
fix: logout without pwa (#528) 2022-12-23 19:28:10 +01:00
Anthony Fu cd268c9bc7 ui: update button for mobile 2022-12-23 19:26:28 +01:00
Joaquín Sánchez 8bdc6d40cf
feat(a11y): aria announcer (#443) 2022-12-23 16:08:36 +01:00
Joaquín Sánchez 4d8b402b04
fix: account followers and following links (#519) 2022-12-22 21:15:06 +01:00
Joaquín Sánchez 6b7a8baa8e
fix: disable push notifications & update push notifications texts (#518) 2022-12-22 18:22:00 +01:00
Daniel Roe 8d8b2b0a01
perf: remove semver dependency and skip version checks (#509) 2022-12-22 14:22:56 +00:00
Daniel Roe bae4ad7d4a
chore: update masto (#506)
Co-authored-by: userquin <userquin@gmail.com>
2022-12-22 13:48:20 +00:00
patak 30e9c3d773 feat: show search widget while loading 2022-12-22 11:34:35 +01:00
Daniel Roe f1b0befd80
fix: make isHydrated export .value always 2022-12-22 02:27:16 +00:00
Sebastian Di Luzio ed7989cc2c
fix(#480): keep content warning when editing a status (#492) 2022-12-21 15:21:45 +01:00
Alex dfd8b8968a
feat: improve status detail page title (#485) 2022-12-21 08:46:36 +01:00
Ryō Igarashi 2339acaf5e
chore: migrate to masto/fetch (#479) 2022-12-21 01:06:39 +00:00
Daniel Roe 2d49074242
refactor: split tauri config into module 2022-12-21 00:03:41 +00:00
Daniel Roe dfc24370d8
fix: don't apply auth middleware on signin callback (#478) 2022-12-20 21:03:15 +00:00
Daniel Roe 60a8673757
fix: use masto.loginTo to update masto api (#474) 2022-12-20 15:56:54 +00:00
Daniel Roe ab4321ad33
refactor: simplify assignment 2022-12-20 14:44:40 +00:00
Anthony Fu bcba3ca970 chore: fix types 2022-12-20 14:27:53 +01:00
Anthony Fu 0a5edda4cd chore: move dependencies 2022-12-20 14:25:39 +01:00
Daniel Roe 8de1c95fd3
fix: handle permalinks with app shell (#468) 2022-12-20 09:20:40 +01:00
Robert van Hoesel f8ebc0e99a
fix: don't decode HTML entities (&foo;) until rendering (#465) 2022-12-20 00:23:06 +00:00
Daniel Roe 9a7c37db24
fix: key current instance on user server, not user id (#466) 2022-12-20 01:16:15 +01:00
Joaquín Sánchez db8c2adaec
feat: switch theme color on theme toggling (#454)
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-12-19 23:37:23 +01:00
Joaquín Sánchez 4d88ee312e
fix(i18n): use floor rounding on use time ago (#444) 2022-12-19 22:20:32 +01:00
patak cd85871d01
feat: account switcher sidebar (#460)
* feat: account switcher sidebar

* fix: defer loading sidebar until masto initialised

* fix: only show user switcher for 2 or more accounts

* chore: use `ofetch` (newer version of `ohymfetch`)

* chore: early alpha warning

* fix: handle missing user in github preview

* refactor: avoid circular auto-import

Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-12-19 16:44:14 +01:00
Daniel Roe 80ad2ab607
fix: skip removal of notifications if pwa not enabled 2022-12-17 23:54:16 +00:00
Joaquín Sánchez f0c91a3974
feat: pwa with push notifications (#337) 2022-12-17 23:29:16 +00:00
wheat c1d1138742
feat: search (#285) 2022-12-17 22:35:07 +01:00
patak 798f73ece5
feat: GitHub cards (#450) 2022-12-17 22:11:39 +01:00
Daniel Roe 7887629954
fix: don't parse rich content in display name (#449)
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-12-17 21:01:20 +00:00
Daniel Roe 9395b7031e
feat: render app shell with ssr to improve loading experience (#448) 2022-12-17 17:55:29 +01:00
Daniel Roe b545efeacc
fix: revert removal of parsing rich content in display name
This reverts commit 5be48b102f.
2022-12-17 16:06:45 +00:00
三咲智子 5be48b102f
fix: don't parse rich content in display name
closes #445
2022-12-17 22:30:39 +08:00
Joaquín Sánchez e4b7b8061a
feat(i18n): update plurals support (#433) 2022-12-14 16:56:48 +01:00
Anthony Fu 4eb6834f11 chore: unocss-include for icons 2022-12-13 20:59:34 +01:00
Anthony Fu 0ef44cdf50 refactor: reorganize modules 2022-12-13 15:03:36 +01:00
Anthony Fu d546390f5c fix: reference conflicts 2022-12-13 14:49:22 +01:00
Anthony Fu 2bee673a14 refactor: user-specific storage 2022-12-13 14:22:27 +01:00
Anthony Fu 75f49461de feat: code highlight for tiptap 2022-12-13 14:02:43 +01:00
patak b61afaab9e
fix: preserve mentions when replying (#404) 2022-12-12 23:35:59 +01:00
Jonas Kruckenberg 85f619ea82
feat: add logging setup for tauri desktop app (#397) 2022-12-12 21:16:45 +01:00
Joaquín Sánchez de160c219a
feat: prevent mixing data on account switch (#384) 2022-12-11 23:30:26 +00:00
三咲智子 a36a26d745
feat: add more field icons 2022-12-10 23:53:48 +08:00
三咲智子 413e7b1a00
feat: add discord field icon 2022-12-10 20:43:45 +08:00
QiroNT 462e85dad0
refactor(command): use dialog (#352) 2022-12-09 22:18:21 +01:00
Daniel Roe be68912226
fix: format many voters as human readable number 2022-12-08 11:56:23 +01:00
Daniel Roe 00b835444b
fix: use nitro overlay to skip dev assets in production 2022-12-08 11:50:44 +01:00
Joaquín Sánchez 431a431c1d
feat(ui): add more favicon file formats (#374) 2022-12-08 10:55:54 +01:00