Commit graph

5769 commits

Author SHA1 Message Date
naskya
510207b101
refactor (backend-rs): separate nodeinfo generator and schema 2024-05-06 04:23:38 +09:00
naskya
49825853c1
refactor (backend): port nodeinfo generator to backend-rs 2024-05-06 03:01:55 +09:00
naskya
359fef0a42
chore: replace old comments 2024-05-05 21:22:57 +09:00
Linca
5e5d01d407 fix: Click event of MenuParent unexpectedly goes to underlying element
Co-authored-by: Lhcfl <Lhcfl@outlook.com>
2024-05-05 11:42:25 +00:00
naskya
d114b8ec1d
chore: format 2024-05-05 14:58:56 +09:00
naskya
d2471b6db7
refactor (backend-rs): replace reqwest with isahc
reqwest is feature-rich, but we will need isahc http client for push notifications (!10760)
isahc http client is also good btw :)
2024-05-05 14:53:45 +09:00
naskya
6d64358674
fix (client): missing MFM function props not falling back correctly 2024-05-05 01:15:04 +09:00
naskya
4992999bb7
test (backend-rs): add tests 2024-05-04 22:59:49 +09:00
naskya
38c0de39b9
chore (backend-rs): add docs for functions in database/cache 2024-05-04 22:50:46 +09:00
naskya
722d090f8d
chore (backend-rs): remove unneeded 'static 2024-05-04 22:49:11 +09:00
naskya
b185c0c87e
feat (backend-rs): add cache::delete_all 2024-05-04 21:24:20 +09:00
naskya
8c22b0d07f
test (backend-rs): fix version format 2024-05-04 16:17:33 +09:00
naskya
0f4c05a64f
ci: add 'ci' feature flag to backend-rs 2024-05-04 16:14:23 +09:00
naskya
bc39badf51
chore (client): remove unused code 2024-05-04 16:08:41 +09:00
naskya
369b1d72df
fix/perf (backend): port latest version check to backend-rs, address excessive requests to firefish.dev 2024-05-04 14:44:20 +09:00
naskya
e6ba0a002f
refactor (backend-rs): add cache::{get_one, set_one, delete_one} 2024-05-04 13:22:20 +09:00
naskya
37e03007f0
refactor (backend-rs): misc/redis_cache -> database/cache 2024-05-04 13:22:20 +09:00
naskya
f66ecd0759 Merge branch 'fix/follow_me_with_host' into 'develop'
fix: follow-me generate wrong link for other server

Co-authored-by: 老周部落 <laozhoubuluo@gmail.com>

See merge request firefish/firefish!10785
2024-05-03 14:41:37 +00:00
老周部落
8a2f3b3e36
fix: follow-me generate wrong link for other server 2024-05-03 22:13:54 +08:00
naskya
f7c576f8fb Merge branch 'fix/10915' into 'develop'
feat: add angle constraint for MkPullToRefresh

Co-authored-by: Lhcfl <Lhcfl@outlook.com>

Closes #10915

See merge request firefish/firefish!10784
2024-05-03 02:20:29 +00:00
Lhcfl
4536ac0678 reviewed 2024-05-03 00:28:46 +08:00
naskya
4a0e4a4c91 Merge branch 'fix/notifications-swiper' into 'develop'
fix: notifications swiper not reload

Co-authored-by: Lhcfl <Lhcfl@outlook.com>

See merge request firefish/firefish!10782
2024-05-02 13:55:41 +00:00
naskya
a8f659ab88
chore: format 2024-05-02 21:46:14 +09:00
naskya
64c07a2406
fix (backend): tell TypeORM that some columns are no longer indexed
should have done in caae8474a6
2024-05-02 21:45:58 +09:00
naskya
6e9ae06990 Merge branch 'fix/10918' into 'develop'
fix: escape ambiguous Mfm marks from html

Co-authored-by: Lhcfl <Lhcfl@outlook.com>

Closes #10918

See merge request firefish/firefish!10786
2024-05-02 11:28:08 +00:00
naskya
caae8474a6
chore (backend): drop unused database indexes
Based on the PostgreSQL analitics on the following servers' database:

- dvd.chat
- iwshkey.com
- minazukey.uk
- post.naskya.net
- post.sup39.dev
- stelpolva.moe

Thank you all for your helps!
2024-05-02 19:31:53 +09:00
Linca
587c64a906 dev: use reverse instead of toReversed
Co-authored-by: Lhcfl <Lhcfl@outlook.com>
2024-05-01 05:10:01 +00:00
Lhcfl
a4a96f0026 fix: escape ambiguous Mfm marks from html 2024-05-01 11:47:14 +08:00
Lhcfl
5ad9bd8ceb feat: add angle constraint for MkPullToRefresh 2024-04-30 19:51:40 +08:00
Lhcfl
f40c201670 remove forgotten debug parameter 2024-04-30 19:06:55 +08:00
Lhcfl
c8c7abe6ef fix: notifications swiper not reload 2024-04-30 19:04:39 +08:00
Laura Hausmann
e790d6be90
fix (backend): hard code the @context value to avoid possible security risks
Co-authored-by: naskya <m@naskya.net>
2024-04-30 05:34:39 +09:00
naskya
0b6d0b525f
style: slightly increase the CW blur intensity 2024-04-29 19:05:16 +09:00
naskya
2bf8eab74a
chore: lint 2024-04-29 11:56:31 +09:00
Lhcfl
5600799261 fix: MkPagination init -> reload 2024-04-28 21:24:54 +08:00
naskya
4fcd5463e9 Merge branch 'feat/fold' into 'develop'
make foldNotification default as it's no longer an experimental feature

Co-authored-by: Lhcfl <Lhcfl@outlook.com>

See merge request firefish/firefish!10774
2024-04-28 01:52:19 +00:00
naskya
ce0cec216c Merge branch 'feat/slash-quote' into 'develop'
feat: add slash quote

Co-authored-by: Lhcfl <Lhcfl@outlook.com>

See merge request firefish/firefish!10745
2024-04-28 00:03:20 +00:00
naskya
a44e9f3e38 Merge branch 'addsuccess' into 'develop'
[UX]fix: add os.success for all copyToClipboard

Co-authored-by: Lhcfl <Lhcfl@outlook.com>

See merge request firefish/firefish!10777
2024-04-27 13:23:50 +00:00
Lhcfl
941a31c702 fix: add os.success for all copyToClipboard 2024-04-27 20:45:00 +08:00
Lhcfl
fe1efed369 fix: MkPullToRefresh not work 2024-04-27 20:25:49 +08:00
Lhcfl
c2a9b028a3 make foldNotification default as it's no longer an experimental feature 2024-04-27 13:18:01 +08:00
naskya
cc560811cf
test (backend-rs): remove ava in favor of cargo test 2024-04-27 11:23:16 +09:00
naskya
28b9e35f2a
style: use yes/no instead of ok/cancel 2024-04-27 11:01:25 +09:00
naskya
51f9d20073
fix (client): don't interpret sample account ID as MFM 2024-04-27 10:58:17 +09:00
naskya
98cc23557f
chore (backend): remove unused value 2024-04-27 10:12:31 +09:00
naskya
e5bac649c8
refactor (backend): flatten a type 2024-04-27 10:05:48 +09:00
naskya
38cd4bafde
refactor (backend): port publishGroupMessagingStream to backend-rs 2024-04-27 08:36:12 +09:00
naskya
aae505ad68
fix (backend): correctly fallback maxLogLevel to info 2024-04-27 05:48:56 +09:00
naskya
f80ee9f36d
chore: update TypeScript dependencies
except for pnpm, gulp, adm-zip, @syuilo/aiscript, and Megalodon
2024-04-27 05:42:37 +09:00
naskya
cd3c6a52dd
Merge branch 'develop' into feat/slash-quote 2024-04-27 05:20:02 +09:00