Commit graph

390 commits

Author SHA1 Message Date
三咲智子 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
Daniel Roe abbd026c1d
fix: avoid fetching null account id 2022-12-06 23:38:00 +00:00
Daniel Roe 08d629ea78
refactor: configure preview status with runtime config 2022-12-06 21:09:47 +00:00
patak 8537f9e0ae
feat: display status meta over card (#325) 2022-12-06 11:07:17 +00:00
Alex e8bdceac68
feat(i18n): improve translations of command palette and others (#341)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2022-12-05 13:48:23 +08:00
Daniel Roe 09290b112e
fix: decode other entity text as well 2022-12-05 00:30:20 +00:00
Daniel Roe 4146915a33
fix: decode numerically encoded html entities in text 2022-12-05 00:15:30 +00:00
Daniel Roe 1c0f8b0147
perf: replace parse5 with ultrahtml (#336) 2022-12-04 23:10:10 +01:00
Daniel Roe eb022c92e8
feat: make internal app URLs permalinks (#329) 2022-12-04 19:56:33 +00:00
Daniel Roe e75cc9edf2
fix: handle account uris that differ from server url 2022-12-04 13:19:47 +00:00
Daniel Roe 20d8aa7e75
perf: fetch server and user details in parallel 2022-12-04 13:12:16 +00:00
三咲智子 7760d03f9d
fix: get server name from acct 2022-12-04 15:18:11 +08:00
三咲智子 a58e9ce8bd
fix: shiki load basic languages initially 2022-12-03 01:40:02 +08:00
Alex 43224fa9d3
fix: incorrect logic in useStatusActions (#295) 2022-12-03 00:55:52 +08:00
Anthony Fu 9e9f2bde09 refactor: group composables 2022-12-02 16:52:05 +08:00
Anthony Fu a9af7e4a09 feat: short time ago 2022-12-02 16:24:37 +08:00
Anthony Fu 57eef8e77f feat: dialog ui 2022-12-02 15:27:44 +08:00
Daniel Roe 585b9e0229
feat: show and stream new notifications (#282)
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-12-02 10:21:10 +08:00
三咲智子 Kevin Deng 0f06653636
fix: render code block without language (#276) 2022-12-02 10:19:31 +08:00
Chris 18d5fd4804
fix: checkLogin in StatusCard (#270) 2022-12-02 10:18:57 +08:00
Joaquín Sánchez c4cf3fb371
feat(i18n): plurals support (#278) 2022-12-02 10:18:36 +08:00
Alex 0f7de38c24
feat(i18n): use preferred language when users first visit (#263) 2022-12-02 10:17:41 +08:00
三咲智子 335fc9f64b
fix: cleanup command when hot reload 2022-12-01 21:52:40 +08:00
三咲智子 0c069e4809
fix: update date format when switching language 2022-12-01 21:14:58 +08:00
Anthony Fu 12bb0bbb2d feat: refresh context after post 2022-12-01 15:24:35 +08:00
Anthony Fu 61311dbeaa feat: hide actions in zen mode 2022-12-01 14:46:26 +08:00
Daniel Roe 81c5a1c4f0
fix: move config into nuxt.config 2022-11-30 21:28:55 +00:00
Matthew Phillips c505543a73
feat: Additional instance configuration (#260) 2022-11-30 22:17:20 +01:00
Daniel Roe 4ed1816806
feat: resolve status paths with router (#258) 2022-11-30 18:15:18 +01:00
Anthony Fu 9ee51a5831 ui: improve account switcher 2022-11-30 15:30:17 +08:00
Anthony Fu b150d6d65e fix: shiki don't load all lang 2022-11-30 15:15:26 +08:00
Anthony Fu 2becb254b4 feat: hover card for content @ 2022-11-30 15:08:10 +08:00
Anthony Fu 66393cd838 feat(content): serialize custom emoji 2022-11-30 14:50:51 +08:00
Chris e76aac3b56
fix: statusCard prevent event bubbling (#245) 2022-11-30 07:35:12 +01:00
Anthony Fu 04431c7319 chore: switch to shiki-es 2022-11-30 13:45:42 +08:00
Anthony Fu db5a022f3b feat: rework content handling to support inline markdown 2022-11-30 13:27:24 +08:00
Anthony Fu ccf6a17f72 feat: improve editor 2022-11-30 12:50:29 +08:00
Anthony Fu cf7cd1fd6c feat: preview multiple images 2022-11-30 11:27:19 +08:00
Anthony Fu c9731f787d fix: paginator load next 2022-11-30 09:45:42 +08:00
Anthony Fu 07209a7d29 feat: i18n lazy load 2022-11-30 08:22:35 +08:00
Anthony Fu ccffe9daa8 i18n: improve translations 2022-11-30 07:26:07 +08:00
Anthony Fu 98a647f8ca chore: avoid useHead naming conflicts 2022-11-30 06:49:25 +08:00
Anthony Fu 0acc0f7689 feat(editor): select language 2022-11-30 06:47:24 +08:00
Daniel Roe 661e53f639
fix: add lang attr to <html> 2022-11-29 21:13:43 +00:00
Daniel Roe 6efd3c8b55
feat: implement elk permalinks (#229) 2022-11-29 21:51:52 +01:00
Shinigami92 26f2dec6b6 fix: setting default values for draft 2022-11-29 21:45:20 +01:00
Daniel Roe 5c5143d2c9
fix: prevent horizontal body overflow on firefox 2022-11-29 13:38:01 +00:00
三咲智子 474c102c75
fix: icon in command palette 2022-11-29 20:12:29 +08:00
QiroNT f1cff0738a
chore: use pinia for command registry (#223) 2022-11-29 20:01:05 +08:00
QiroNT 59802f0896
feat: command palette (#200)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2022-11-29 16:15:05 +08:00
三咲智子 07622e9606
fix: emoji alt text 2022-11-29 16:00:22 +08:00
Daniel Roe a397b170ab
feat: enable mock account for deploy previews (#211) 2022-11-29 14:39:49 +08:00
三咲智子 f1f7462ec0
fix: sign out when only one user 2022-11-29 13:43:06 +08:00
Shinigami 69d009d02a
feat: toggleable feature flags (#209) 2022-11-28 23:57:27 +01:00
Anthony Fu 09e071f6bf fix: reuse existing relationship ref 2022-11-29 04:44:54 +08:00
三咲智子 259e11c097
feat: warn danger actions for dev 2022-11-29 01:46:00 +08:00
Ayaka Rizumu 3aa678898d
fix: update title after navigation (#199) 2022-11-28 21:55:51 +08:00
Daniel Roe 5560fe66cc
feat: stream tags, home, and public timelines (#190) 2022-11-28 12:18:45 +01:00
三咲智子 eafcb5111a
fix: type error 2022-11-28 19:06:00 +08:00
三咲智子 9fca8eee30
feat: open reply dialog on timeline
closes #125
2022-11-28 18:27:38 +08:00
patak 8076e5f069
fix: default reply to visibility (urgent) (#194) 2022-11-28 10:57:42 +01:00
Joaquín Sánchez 3b92b27cc8
feat: custom error page (#178)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-11-28 09:01:14 +00:00
三咲智子 b8cadca717
refactor: separate dialog and edit drafts 2022-11-28 15:55:57 +08:00
Ayaka Rizumu 6414f2a4e2
feat: preserving state between route changes (#132) 2022-11-28 01:34:45 +08:00
Daniel Roe 729b36a606
feat: avoid reloading the page when changing accounts (#180) 2022-11-27 16:13:04 +01:00
三咲智子 c4af4a610e
fix: formatted edited time 2022-11-27 16:48:04 +08:00
Anthony Fu 342783eecc chore: fix build 2022-11-27 15:05:17 +08:00
Anthony Fu a3b9bf3c18 chore: install inspect 2022-11-27 14:54:56 +08:00
Anthony Fu 06667ee0af chore: cleanup deps 2022-11-27 14:39:31 +08:00
Anthony Fu e767710f3d chore: cleanup 2022-11-27 14:35:40 +08:00
Anthony Fu b475377f64 feat(editor): show fetching state of name auto complete 2022-11-27 14:34:38 +08:00
Anthony Fu 8dd91002d7 feat: improve code block parsing 2022-11-27 14:16:02 +08:00
Anthony Fu 39e200f639 refactor: use dropdown instead of drawer for user switch 2022-11-27 11:34:55 +08:00
Anthony Fu 4703b6884a feat: improve dialog 2022-11-27 11:13:39 +08:00
Shinigami 94f2f95bcf
fix: auto logout on stale token (#144) 2022-11-26 20:33:36 +01:00
Daniel Roe 40a510f43d
fix: use local masto 2022-11-26 17:56:40 +00:00
patak d4300d8d83 fix: use full account handle, clean up 2022-11-26 17:42:53 +01:00
patak bced99e14b fix: getShortHandle 2022-11-26 17:37:15 +01:00
Daniel Roe 39b005899e
refactor: inject masto instance via nuxt app (#134) 2022-11-26 16:42:58 +01:00
Daniel Roe e51ca06f97
fix: use rich (emoji) display name only with <ContentRich> 2022-11-26 15:06:30 +00:00
三咲智子 b656c6fda2
refactor(account): improve joined time format 2022-11-26 16:34:31 +08:00
三咲智子 Kevin Deng 1194d56d09
feat: always show account server (#119) 2022-11-26 09:33:32 +01:00
wheat addbe1b567
feat: query for tiptap mention autocomplete (#120)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2022-11-26 14:55:54 +08:00
三咲智子 36fc189064
feat(status): edit history 2022-11-26 13:07:01 +08:00
三咲智子 d146b5b730
feat(status): add edit indicator for detail 2022-11-26 11:36:18 +08:00
三咲智子 0ada9e0448
fix: render lang of code block 2022-11-26 11:15:04 +08:00
三咲智子 da64d008a1
feat: support more syntaxes in editor 2022-11-26 10:02:22 +08:00
patak 4bb2910761
feat: status route using full account (#115) 2022-11-25 23:49:56 +00:00
Daniel Roe 94cd7c72f6
feat: human readable numbers for counts 2022-11-25 21:57:40 +00:00
Anthony Fu 64e052d317 Revert "feat: support more markdown syntaxes"
This reverts commit c9ae7cf942.
2022-11-26 05:21:44 +08:00
Daniel Roe 7d28f6ddbc
fix: handle html within markdown 2022-11-25 21:09:03 +00:00
三咲智子 c9ae7cf942
feat: support more markdown syntaxes
closes #102, partial #40
2022-11-26 04:19:48 +08:00
三咲智子 e26eccd7fe
feat: support lang in code block 2022-11-26 03:21:53 +08:00
三咲智子 d9d2a946a4
fix: convert code block 2022-11-26 03:16:47 +08:00
Lucie 9df9c06f64
feat: image previews (#104)
Co-authored-by: lihbr <lihbr@users.noreply.github.com>
2022-11-26 02:13:44 +08:00
三咲智子 a812ea098f
fix(publish): empty content 2022-11-26 02:10:22 +08:00
Anthony Fu 2ed22678ed feat: use full id in url 2022-11-26 01:50:06 +08:00
三咲智子 eec37470f9
fix: jump to home after user login 2022-11-26 01:02:41 +08:00
Anthony Fu d177753775 fix: publish content 2022-11-26 00:17:19 +08:00
Daniel Roe 4f133aabc0
fix: store info for all servers 2022-11-25 14:21:07 +00:00
Daniel Roe aac689a2f5
refactor: fix typo 2022-11-25 14:07:31 +00:00
Daniel Roe f7dff673ad
feat: respect current server's char limit 2022-11-25 14:01:37 +00:00
Anthony Fu c2810fd5eb
feat: basic integration with TipTap (#87) 2022-11-25 21:21:02 +08:00
三咲智子 dfdf95da61
feat(account): more actions for user 2022-11-25 19:39:26 +08:00
Daniel Roe 3f382bdad0
fix: respect source language of post and move translation UI into menu 2022-11-25 11:24:19 +00:00
三咲智子 569ae00284
fix: cache account 2022-11-25 18:45:39 +08:00
三咲智子 6c350faf7c
feat: show full created time in tooltip 2022-11-25 16:57:49 +08:00
三咲智子 c475ed3857
fix: don't load all languages for code 2022-11-25 15:55:56 +08:00
三咲智子 36ea7f6b4e
fix: render code block 2022-11-25 15:25:44 +08:00
三咲智子 6ca34cab85
fix: custom code render 2022-11-25 15:12:13 +08:00
Daniel Roe 8586d58b84
feat: allow translation of statuses (#76) 2022-11-25 00:14:16 +00:00
三咲智子 2ab3d5dbe7
refactor: improve UI & types 2022-11-24 23:48:58 +08:00
三咲智子 53cf994ffd
feat(status): mention user 2022-11-24 22:32:37 +08:00
patak a5ef2bdc67 feat: avatar on the side in StatusCard 2022-11-24 15:20:50 +01:00
三咲智子 823f4c960a
feat(status): edit & redraft 2022-11-24 19:35:26 +08:00