Commit Graph

540 Commits (a1b5cbc12ea06c9948a02c3aae95603463f12aa9)

Author SHA1 Message Date
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
三咲智子 ad3d5efb11
feat(publish): support visibility 2022-11-24 17:22:29 +08:00
Anthony Fu dbf4362d8b fix: improve loading 2022-11-24 16:57:28 +08:00
Anthony Fu 83c0fafbec feat: publish via dialog 2022-11-24 16:04:53 +08:00
Anthony Fu cd2a06e969 ui: move publish widget 2022-11-24 15:53:27 +08:00
Anthony Fu 0dc515647f feat: rework status cache 2022-11-24 14:54:54 +08:00
Anthony Fu e81273e944 chore: case 2022-11-24 14:04:17 +08:00
Anthony Fu 9eac1da4c2 fix: fetch account by name 2022-11-24 13:49:50 +08:00
Anthony Fu a94781df83 feat: introduce lru cache for requests 2022-11-24 13:47:18 +08:00
Anthony Fu b947931d3b fix(shiki): do not load languages initially 2022-11-24 12:58:25 +08:00
Anthony Fu e17b918c00 feat: zenmode 2022-11-24 12:21:30 +08:00
Anthony Fu 0a8841f4f4 feat: support codeblock 2022-11-24 11:42:03 +08:00
Anthony Fu 4885b165df feat: add introduce 2022-11-24 10:38:14 +08:00
patak 2ece5f5619 fix: subdomains should be ignored for user handles 2022-11-23 23:41:19 +01:00
patak f596973603 refactor: getAccountHandle, getAccountPath, getStatusPath 2022-11-23 23:40:35 +01:00
三咲智子 5605d518dc
refactor: improve account info UI 2022-11-23 21:59:29 +08:00
Anthony Fu 129e12c217 chore: rename to Elk 2022-11-23 21:06:27 +08:00
Anthony Fu ed5b8091d3 feat: rename accounts to user 2022-11-23 12:25:48 +08:00
Anthony Fu 8dc1fb6493 feat: sign out 2022-11-23 12:20:59 +08:00
Anthony Fu 241b28241c feat: basic mutli-accounts support 2022-11-23 11:48:01 +08:00
Anthony Fu a4d235b6fe refactor: theming 2022-11-23 10:16:31 +08:00
Anthony Fu 6d66bbbc5d feat: support custom emojis from other servers 2022-11-23 07:42:20 +08:00
Anthony Fu a6578155ae feat: disable SSR 2022-11-23 07:08:36 +08:00
patak ac156034d1
feat: global relationships batching (#24) 2022-11-22 14:03:36 +01:00
patak 9aa7243d43
feat: following (#22) 2022-11-21 23:59:51 +01:00
patak f0aefae6a4 chore: correct filename typo 2022-11-21 16:09:18 +01:00
patak f7f3e9c7e1
fix: handle undefined displayName (#21) 2022-11-21 16:07:55 +01:00
Anthony Fu 757a93c2a2 feat: support blurhash 2022-11-21 21:21:53 +08:00
Anthony Fu cefecb16a0 feat: support custom emoji 2022-11-21 15:14:07 +08:00
Anthony Fu 193d1cf5c5 feat: cache for publish widget 2022-11-21 14:55:31 +08:00
Anthony Fu 70daeeaed5 feat: tags page 2022-11-21 05:25:26 +08:00
Anthony Fu bc3197ba22 feat: basic parsing of post content 2022-11-21 05:21:53 +08:00
Anthony Fu 4fc6e405e0 refactor: update composable names 2022-11-18 05:32:03 +08:00
Anthony Fu 0312547629 refactor: paginator 2022-11-17 15:35:42 +08:00
patak e61f909f31
feat: common paginator component (#9) 2022-11-17 00:11:08 +08:00
Anthony Fu 94bde9487a feat: nav side 2022-11-16 01:14:10 +08:00
patak a6a189ba59
feat: following and followers routes (#4) 2022-11-15 23:56:11 +08:00
Anthony Fu 7ab17001f0 feat: basic oauth 2022-11-15 23:48:23 +08:00
Anthony Fu 90c45b435f feat: use masto client 2022-11-14 10:20:07 +08:00
Anthony Fu 4adab40932 feat: styling 2022-11-14 00:05:32 +08:00
Anthony Fu 8424b7b98b chore: init 2022-11-13 13:34:43 +08:00