Commit Graph

327 Commits (56ab1633691a8b453499e0a06b70c4d06ac65a04)

Author SHA1 Message Date
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