Commit graph

6071 commits

Author SHA1 Message Date
naskya
0a9289abe3 Merge branch 'renovate/sass-1.x' into 'develop'
chore(deps): update dependency sass to v1.77.1

Co-authored-by: CI <project_7_bot_1bfaee5701aed20091a86249a967a6c1@noreply.firefish.dev>

See merge request firefish/firefish!10814
2024-05-11 15:25:52 +00:00
naskya
9dda7f955a Merge branch 'renovate/type-fest-4.x' into 'develop'
chore(deps): update dependency type-fest to v4.18.2

Co-authored-by: CI <project_7_bot_1bfaee5701aed20091a86249a967a6c1@noreply.firefish.dev>

See merge request firefish/firefish!10831
2024-05-11 14:38:51 +00:00
naskya
a14a4a5f9c Merge branch 'renovate/redocly-openapi-core-1.x' into 'develop'
fix(deps): update dependency @redocly/openapi-core to v1.12.2

Co-authored-by: CI <project_7_bot_1bfaee5701aed20091a86249a967a6c1@noreply.firefish.dev>

See merge request firefish/firefish!10826
2024-05-11 14:34:39 +00:00
naskya
b3eb12ccff Merge branch 'renovate/eslint-sets-eslint-config-vue3-5.x' into 'develop'
chore(deps): update dependency @eslint-sets/eslint-config-vue3 to ^5.13.0

Co-authored-by: CI <project_7_bot_1bfaee5701aed20091a86249a967a6c1@noreply.firefish.dev>

See merge request firefish/firefish!10811
2024-05-11 14:34:16 +00:00
naskya
6cd511d473 Merge branch 'renovate/bull-4.x' into 'develop'
fix(deps): update dependency bull to v4.12.3

Co-authored-by: CI <project_7_bot_1bfaee5701aed20091a86249a967a6c1@noreply.firefish.dev>

See merge request firefish/firefish!10828
2024-05-11 14:30:51 +00:00
naskya
a82ed86539 Merge branch 'renovate/prismjs-1.x' into 'develop'
chore(deps): update dependency @types/prismjs to ^1.26.4

Co-authored-by: CI <project_7_bot_1bfaee5701aed20091a86249a967a6c1@noreply.firefish.dev>

See merge request firefish/firefish!10825
2024-05-11 14:29:38 +00:00
naskya
30ce11f9fe Merge branch 'renovate/vue-tsc-2.x' into 'develop'
chore(deps): update dependency vue-tsc to v2.0.17

Co-authored-by: CI <project_7_bot_1bfaee5701aed20091a86249a967a6c1@noreply.firefish.dev>

See merge request firefish/firefish!10807
2024-05-11 14:29:22 +00:00
naskya
afb2d30e65 Merge branch 'renovate/pg-8.x' into 'develop'
chore(deps): update dependency @types/pg to ^8.11.6

Co-authored-by: CI <project_7_bot_1bfaee5701aed20091a86249a967a6c1@noreply.firefish.dev>

See merge request firefish/firefish!10824
2024-05-11 14:27:40 +00:00
CI
1cd58ce05d chore(deps): update dependency type-fest to v4.18.2 2024-05-11 14:08:58 +00:00
CI
55fdd8b5a2 chore(deps): update dependency sass to v1.77.1 2024-05-11 14:08:37 +00:00
CI
704d39f202 chore(deps): update dependency @eslint-sets/eslint-config-vue3 to ^5.13.0 2024-05-11 14:07:55 +00:00
CI
ef95673d50 fix(deps): update dependency bull to v4.12.3 2024-05-11 14:07:10 +00:00
CI
eb443c8494 fix(deps): update dependency @redocly/openapi-core to v1.12.2 2024-05-11 14:06:30 +00:00
CI
52e3b49533 chore(deps): update dependency vue-tsc to v2.0.17 2024-05-11 14:06:07 +00:00
CI
11ded9491e chore(deps): update dependency @types/prismjs to ^1.26.4 2024-05-11 14:05:47 +00:00
CI
d3b899ccc3 chore(deps): update dependency @types/pg to ^8.11.6 2024-05-11 14:05:27 +00:00
CI
6d6c0fbca0 chore(deps): update dependency @napi-rs/cli to v2.18.3 2024-05-11 14:05:03 +00:00
naskya
cd836daa9b Merge branch 'renovate/otpauth-9.x' into 'develop'
fix(deps): update dependency otpauth to ^9.2.4

Co-authored-by: CI <project_7_bot_1bfaee5701aed20091a86249a967a6c1@noreply.firefish.dev>

See merge request firefish/firefish!10809
2024-05-11 13:09:51 +00:00
naskya
bf5a2c6ebb Merge branch 'renovate/eslint-monorepo' into 'develop'
chore(deps): update dependency eslint to ^9.2.0

Co-authored-by: CI <project_7_bot_1bfaee5701aed20091a86249a967a6c1@noreply.firefish.dev>

See merge request firefish/firefish!10812
2024-05-11 13:09:13 +00:00
naskya
f0632d2a6b Merge branch 'renovate/cropperjs-2.x' into 'develop'
chore(deps): update dependency cropperjs to v2.0.0-beta.5

Co-authored-by: CI <project_7_bot_1bfaee5701aed20091a86249a967a6c1@noreply.firefish.dev>

See merge request firefish/firefish!10805
2024-05-11 13:06:28 +00:00
naskya
59862f16b0
chore (deps): update bull-board 2024-05-11 21:21:50 +09:00
naskya
dbc24a0b8f
Merge branch 'develop' into renovate/vite-5.x 2024-05-11 21:16:34 +09:00
naskya
1eb26263c1 Merge branch 'renovate/ajv-8.x' into 'develop'
fix(deps): update dependency ajv to v8.13.0

Co-authored-by: CI <project_7_bot_1bfaee5701aed20091a86249a967a6c1@noreply.firefish.dev>

See merge request firefish/firefish!10819
2024-05-11 12:14:56 +00:00
naskya
639a838736 Merge branch 'renovate/systeminformation-5.x' into 'develop'
fix(deps): update dependency systeminformation to v5.22.8

Co-authored-by: CI <project_7_bot_1bfaee5701aed20091a86249a967a6c1@noreply.firefish.dev>

See merge request firefish/firefish!10810
2024-05-11 12:14:00 +00:00
naskya
811be1022a Merge branch 'renovate/tesseract.js-5.x' into 'develop'
fix(deps): update dependency tesseract.js to ^5.1.0

Co-authored-by: CI <project_7_bot_1bfaee5701aed20091a86249a967a6c1@noreply.firefish.dev>

See merge request firefish/firefish!10821
2024-05-11 12:12:27 +00:00
naskya
7f277878a6 Merge branch 'renovate/ws-8.x' into 'develop'
chore(deps): update dependency ws to v8.17.0

Co-authored-by: CI <project_7_bot_1bfaee5701aed20091a86249a967a6c1@noreply.firefish.dev>

See merge request firefish/firefish!10815
2024-05-11 12:11:49 +00:00
naskya
119cbe3e4f Merge branch 'renovate/bull-board-ui-5.x' into 'develop'
fix(deps): update dependency @bull-board/ui to v5.17.1

Co-authored-by: CI <project_7_bot_1bfaee5701aed20091a86249a967a6c1@noreply.firefish.dev>

See merge request firefish/firefish!10818
2024-05-11 12:10:23 +00:00
naskya
2e15165117 Merge branch 'renovate/rollup-4.x' into 'develop'
chore(deps): update dependency rollup to v4.17.2

Co-authored-by: CI <project_7_bot_1bfaee5701aed20091a86249a967a6c1@noreply.firefish.dev>

See merge request firefish/firefish!10813
2024-05-11 12:09:49 +00:00
naskya
1b526c651e Merge branch 'renovate/aws-sdk-2.x' into 'develop'
fix(deps): update dependency aws-sdk to v2.1618.0

Co-authored-by: CI <project_7_bot_1bfaee5701aed20091a86249a967a6c1@noreply.firefish.dev>

See merge request firefish/firefish!10820
2024-05-11 11:57:14 +00:00
naskya
567ba873e3 Merge branch 'renovate/vue-monorepo' into 'develop'
chore(deps): update vue monorepo to v3.4.27

Co-authored-by: CI <project_7_bot_1bfaee5701aed20091a86249a967a6c1@noreply.firefish.dev>

See merge request firefish/firefish!10808
2024-05-11 11:19:43 +00:00
naskya
daade3865b Merge branch 'renovate/nodemailer-6.x' into 'develop'
chore(deps): update dependency @types/nodemailer to v6.4.15

Co-authored-by: CI <project_7_bot_1bfaee5701aed20091a86249a967a6c1@noreply.firefish.dev>

See merge request firefish/firefish!10804
2024-05-11 09:48:00 +00:00
CI
84528680df fix(deps): update dependency tesseract.js to ^5.1.0 2024-05-11 00:12:21 +00:00
CI
11b5f5cc17 fix(deps): update dependency aws-sdk to v2.1618.0 2024-05-11 00:11:48 +00:00
CI
da752a158c fix(deps): update dependency ajv to v8.13.0 2024-05-11 00:11:28 +00:00
CI
693c9edb10 fix(deps): update dependency @bull-board/ui to v5.17.1 2024-05-11 00:11:09 +00:00
CI
4110842357 chore(deps): update dependency ws to v8.17.0 2024-05-11 00:10:10 +00:00
CI
8656bdb185 chore(deps): update dependency rollup to v4.17.2 2024-05-11 00:09:25 +00:00
CI
af4426653e chore(deps): update dependency eslint to ^9.2.0 2024-05-11 00:09:02 +00:00
CI
3750ca426b fix(deps): update dependency systeminformation to v5.22.8 2024-05-11 00:08:21 +00:00
CI
3a8ca2a2d7 fix(deps): update dependency otpauth to ^9.2.4 2024-05-11 00:08:02 +00:00
CI
ace081f163 chore(deps): update vue monorepo to v3.4.27 2024-05-11 00:07:41 +00:00
CI
184b0e4019 chore(deps): update dependency vite to v5.2.11 2024-05-11 00:06:56 +00:00
CI
bec62cffc6 chore(deps): update dependency cropperjs to v2.0.0-beta.5 2024-05-11 00:06:36 +00:00
CI
d5493f8e5d chore(deps): update dependency @types/nodemailer to v6.4.15 2024-05-11 00:06:17 +00:00
CI
1cb64b7fa8 chore(deps): update dependency @types/jsrsasign to v10.5.14 2024-05-11 00:05:58 +00:00
naskya
aa266d91e0
chore (backend-rs): impl From<Acct> for String 2024-05-11 04:54:30 +09:00
naskya
8f8d62aa58
chore (backend): organize imports 2024-05-11 04:52:59 +09:00
naskya
d1b33ad76f
chore (backend-rs): move acct to another directory 2024-05-11 04:31:59 +09:00
CI
291990d320 chore(deps): update dependency @swc/core to v1.5.5 2024-05-10 12:09:21 +00:00
naskya
f933525856
chore: fix dependencies 2024-05-10 16:25:22 +09:00
naskya
4d3072929e
chore (backend-rs): update doctest comment 2024-05-10 06:59:05 +09:00
naskya
612ce48f44
chore (backend-rs): impl FromStr and Display for Acct 2024-05-10 06:55:51 +09:00
naskya
95fd20a46f
feat (macro-rs): add ts_only_warn macro 2024-05-10 06:54:26 +09:00
naskya
4a81106cf5
chore (backend): remove generate-native-user-token 2024-05-09 21:49:56 +09:00
naskya
bdc5d02d27
fix (client): missing import 2024-05-09 19:13:43 +09:00
Lhcfl
0a7f16c11f fix: renote time 2024-05-09 15:49:00 +08:00
naskya
3af8f86924
chore: lint 2024-05-09 02:06:10 +09:00
Lhcfl
272e30be0c refactor: replace the awful ?: chain with if-else; fix: force update ticker when props.time changed
related: ed6f866a4f

Co-authored-by: kakkokari-gtyih <kakkokari-gtyih@users.noreply.github.com>
2024-05-08 10:52:32 +08:00
naskya
cda31d3dc7
Revert "refactor (backend): port publishNotesStream to backend-rs"
This reverts commit 5382dc5da8.

It turns out this sends an inccorect time info to the stream
since JavaScript's Date object doesn't have timezone info

I'll revisit this in the future
2024-05-08 06:08:26 +09:00
Lhcfl
f5074f35cc fix: use reactive MkTime 2024-05-08 03:00:07 +08:00
naskya
5382dc5da8
refactor (backend): port publishNotesStream to backend-rs 2024-05-08 02:15:07 +09:00
naskya
989e93f2a0
fix: migrate back from happy-dom to JSDOM (closes #10924 #10914 #10842)
this reverts commit 4565867b8b.
2024-05-08 01:52:15 +09:00
Lhcfl
31168cc7b2 fix: use reacive MkSubNoteContent 2024-05-07 23:42:40 +08:00
Lhcfl
42886f054d fix: use reactive previewableCount 2024-05-07 23:31:45 +08:00
Lhcfl
1d0ea11eea fix: use note capture in MkNoteSimple 2024-05-07 23:23:19 +08:00
Lhcfl
33923a59fa fix: use reactive MkNoteHeader 2024-05-07 22:37:09 +08:00
Lhcfl
8067ed4084 Merge branch 'develop' of https://firefish.dev/firefish/firefish into feat/collepse-reply-timeline 2024-05-07 22:34:45 +08:00
naskya
4104cbf5b5
Merge branch 'develop' into feat/schedule-create 2024-05-07 21:27:40 +09:00
naskya
02380eff4d
refactor (backend): remove redundancy 2024-05-07 21:20:03 +09:00
naskya
5daeaf1de2
chore (backend): wrap relations in TypeORM Relation<...> 2024-05-07 21:05:31 +09:00
naskya
3ceaf99df6
chore (backend): tweak migration queries 2024-05-07 21:04:11 +09:00
naskya
14b285f882 Merge branch 'refactor/is-safe-url' into 'develop'
refactor (backend): port isValidUrl to backend-rs


See merge request firefish/firefish!10795
2024-05-06 17:11:51 +00:00
naskya
5b01d3574f
refactor (backend): port isValidUrl to backend-rs 2024-05-07 00:56:37 +09:00
naskya
e3a98ebc72 Merge branch 'userLang' into 'develop'
Add server-side per-user UI language

Co-authored-by: eana <coder@apps.1a23.com>

See merge request firefish/firefish!10793
2024-05-06 15:31:18 +00:00
naskya
8ed942e00f
chore: update auto-generated files 2024-05-06 23:13:31 +09:00
eana
e7c33835b2 Add server-side per-user UI language 2024-05-06 05:14:44 +00:00
naskya
4e83dbd01f Merge branch 'refactor/remove-gulp' into 'develop'
refactor: replace gulp with a simple script


See merge request firefish/firefish!10791
2024-05-06 04:45:17 +00:00
naskya
dd74eabae1
refactor (backend): port nodeinfo fetcher to backend-rs 2024-05-06 08:12:21 +09:00
naskya
711618b42c
test (backend-rs): add tests for nodeinfo (de)serialization 2024-05-06 05:20:13 +09:00
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
341b43ed71
refactor: replace gulp with a simple script 2024-05-05 02:19:58 +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
Lhcfl
3061147bd3 feat: scheduled note creation 2024-05-03 21:42:40 +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
46d0679845 little patch 2024-05-03 00:56:10 +08:00
Lhcfl
4536ac0678 reviewed 2024-05-03 00:28:46 +08:00
Lhcfl
160e7f26a6 feat: collepse renotes and replies 2024-05-03 00:22:25 +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
Lhcfl
9138c3726a dev: use reactiveState in foldNotification 2024-05-02 01:07:57 +08:00
Lhcfl
425b333474 set collapseReplyInTimeline default to false 2024-05-02 00:57:00 +08:00
Lhcfl
d1c76b3882 feat: allow collepse replied posts in timeline 2024-05-02 00:53:52 +08: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
53dfec57a8
refactor (backend): remove misc/langmap.ts 2024-04-27 09:15:59 +09:00
naskya
1b143ebfaa
Merge branch 'develop' into refactor/types 2024-04-27 09:09:17 +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
naskya
a7a47f7d3b Merge branch 'feat/fold' into 'develop'
feat: rewrite MkPagination for fold

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

See merge request firefish/firefish!10772
2024-04-26 20:12:11 +00:00
Lhcfl
564eb08386 feat: rewrite MkPagination for fold 2024-04-26 22:39:58 +08:00
naskya
37cf4f8361
chore (backend-rs): tweak logger config 2024-04-26 13:51:28 +09:00
naskya
d40db1ee7e
refactor (backend): port publishBroadcastStream to backend-rs 2024-04-26 13:30:13 +09:00
naskya
0caba566e6
refactor (backend): port publishMessagingIndexStream to backend-rs 2024-04-26 13:11:11 +09:00
naskya
883645a581
chore (backend-rs): regenerate index.d.ts 2024-04-26 12:14:34 +09:00
naskya
3190f66740
chore (backend): convert TypeORM's simple-array into normal array 2024-04-26 12:03:12 +09:00
Lhcfl
8b73a1a6b3 revert changes of vite.config.ts 2024-04-26 10:37:02 +08:00
Lhcfl
41f9a0bda9 fix: Unrecognized language causes errors 2024-04-26 10:34:12 +08:00
Lhcfl
99f30ba01a change firefish-js to esm 2024-04-26 10:22:51 +08:00
naskya
f806c47c7c
style: move QR code and remote follow URL to another category 2024-04-26 07:30:41 +09:00
naskya
b58d940e71
fix (backend-rs): add openssl as a dependency 2024-04-26 07:13:09 +09:00
naskya
42f704b515
chore (backend-rs): remove whitespaces 2024-04-26 06:51:52 +09:00
naskya
8534154792
chore (backend-rs): add comment 2024-04-26 06:30:30 +09:00
naskya
1cfe3bfb73
refactor (backend): port publishChannelStream to backend-rs 2024-04-26 06:16:51 +09:00
naskya
ba8e044f42
chore: format 2024-04-26 05:54:10 +09:00
naskya
79ab7bf787
refactor (backend): port publishAdminStream to backend-rs 2024-04-26 05:44:37 +09:00
naskya
23e57737a6 Merge branch 'feat/fold' into 'develop'
feat: For NotificationFold posts, set a smaller collepsing threshold

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

See merge request firefish/firefish!10768
2024-04-25 19:14:51 +00:00
naskya
0512dca83c
fix (backend): import .js 2024-04-26 03:22:07 +09:00
naskya
1757560f36
Merge branch 'develop' into refactor/get-image-size 2024-04-26 02:21:25 +09:00
naskya
2d15d6dcfa
refactor (client): clean up conditions a bit 2024-04-26 02:03:15 +09:00
naskya
3b172a7762
chore (backend-rs): fix typo 2024-04-26 01:30:16 +09:00
naskya
13b648f6bf
fix (backend-rs): use proxy and proxyBypassHosts config 2024-04-26 01:27:23 +09:00
naskya
320f933e9d
chore (backend): to be on the safe side 2024-04-26 01:04:40 +09:00
Lhcfl
fec1a800b6 Merge branch 'develop' of https://firefish.dev/firefish/firefish into refactor/types 2024-04-25 21:13:55 +08:00
老周部落
22b52ac3d3
feat: follow-me 2024-04-25 20:45:41 +08:00
老周部落
ab357233db
chore: format 2024-04-25 20:40:18 +08:00
Sal Rahman
6aecf12067
QR code update 2024-04-25 20:38:31 +08:00
Sal Rahman
fefed2d4a4
FfQrCode -> MkQrCode 2024-04-25 20:38:31 +08:00
Sal Rahman
bb984a8608
Some work on the popup
Some more work on the modal

Some more work done

Some initial work on adding the QR code

Some more changes

Done
2024-04-25 20:38:30 +08:00
naskya
9a077c4beb Merge branch 'fix/edit-visibility' into 'develop'
fix: Client's strange behavior about visibility when editing a post

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

See merge request firefish/firefish!10763
2024-04-25 10:37:13 +00:00
naskya
0b7385e16a
chore: format 2024-04-25 19:15:12 +09:00
naskya
214e999c8c
test (backend-rs): add test against animated gif 2024-04-25 19:14:16 +09:00
naskya
b12d7e4c63
refactor (backend): port emoji-meta to backend-rs 2024-04-25 19:06:16 +09:00
Lhcfl
27c46d7df9 feat: For notification posts, set a smaller folding threshold 2024-04-25 15:53:29 +08:00
naskya
b9c3dfbd3d
refactor? (backend): move consts to backend-rs 2024-04-25 14:50:04 +09:00
naskya
5891a90f71 Merge branch 'feat/fold' into 'develop'
feat: fold notifications

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

Closes #10908

See merge request firefish/firefish!10767
2024-04-25 04:10:41 +00:00
naskya
d82ad33730 Merge branch 'fix/import-custom-emojis' into 'develop'
fix: #10451 Emoji pack imports randomly stop processing files

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

Closes #10451

See merge request firefish/firefish!10757
2024-04-25 03:56:09 +00:00
naskya
cdea55ab25
chore (backend): revise apLogger log levels (#10907) 2024-04-25 11:42:16 +09:00
naskya
76a45fa6ac
chore (backend): move download logs to debug 2024-04-25 11:08:45 +09:00
naskya
d086b7b993
chore (backend): failed deliver logs should be info 2024-04-25 10:58:31 +09:00
naskya
aa2b35a554
chore (backend): proper streaming logs 2024-04-25 10:53:27 +09:00
Lhcfl
19b94b2fb8 tiny style fix 2024-04-25 09:42:03 +08:00
Lhcfl
e5a21bae13 use MkNote insteadof MkNoteSub 2024-04-25 09:32:59 +08:00
Lhcfl
adafd62710 chore: format 2024-04-25 09:17:37 +08:00
Lhcfl
217d686997 fix: improve the display of Notes in notifications 2024-04-25 09:17:01 +08:00
naskya
92b1f5cb5f
refactor (minor, backend-rs): rearrange conditions 2024-04-25 10:00:58 +09:00
Lhcfl
42f6a6e3b6 reviewed 2024-04-25 08:55:18 +08:00
naskya
40a4109c76
chore (backend): add FIXME comment to questionable if statements 2024-04-25 09:36:22 +09:00
naskya
24e6e31b2b
fix (backend): update note_file table by post imports 2024-04-25 08:22:30 +09:00
naskya
7441f0861a
fix (backend): fix order of logger initialization 2024-04-25 08:15:40 +09:00
naskya
a2316b7caf
chore (backend): move SQL query logs to trace level (#10907) 2024-04-25 08:05:45 +09:00
naskya
322b2392de
chore (backend): revise queue logs (#10907) 2024-04-25 08:03:53 +09:00
naskya
bf9ab9c1ca
chore (backend-rs): add logs 2024-04-25 07:03:48 +09:00
naskya
339cbac191
chore (backend-rs): remove unneeded conversion 2024-04-25 03:10:51 +09:00
naskya
bb5349d127
chore (client): use plural 2024-04-25 03:04:59 +09:00
naskya
eac0c1c47c
refactor (backend): revise log levels
* Add logging in backend-rs
* Change log levels to 'error', 'warning', 'info', 'debug', 'trace'
* Add `maxLogLevel` config and deprecate `logLevels`
* Move SQL queries to 'trace' level
2024-04-25 02:22:49 +09:00
Lhcfl
44ad4bce32 increase FETCH_LIMIT 2024-04-24 22:21:49 +08:00
Lhcfl
feafaffd12 remove duplicate i18n 2024-04-24 21:40:48 +08:00
Lhcfl
7e9633a36b feat: fold notifications 2024-04-24 21:33:56 +08:00
老周部落
dbad2a485f
fix: user menu not display to guest because of 'id' not exist 2024-04-24 19:29:24 +08:00
Linca
71e4621e26 fix: Replying to a post sometimes doesn't increase post's reply count
Co-authored-by: Lhcfl <Lhcfl@outlook.com>
2024-04-24 06:02:37 +00:00
naskya
cc37177bb5
fix (backend-rs): use server's local time 2024-04-24 13:43:18 +09:00
naskya
109884f6d8
refactor (backend): port note watch/unwatch to backend-rs 2024-04-24 13:23:27 +09:00
Lhcfl
3bed093344 fix: Visible users are not automatically filled when editing 2024-04-24 11:36:56 +08:00
Lhcfl
243adaaa0d feat: disable visibilityPicker for edit 2024-04-24 11:36:28 +08:00
naskya
879d499486
refactor (backend-rs): never throw an error on ID generation 2024-04-24 07:37:16 +09:00
naskya
9db729d734
refactor (backend-rs): separate gen_id and gen_id_at 2024-04-24 07:02:06 +09:00
naskya
a2958f6da8
refactor (backend): port daemons/janitor.ts to backend-rs 2024-04-24 06:39:40 +09:00
naskya
9ef5350a00
chore (backend): remove promisify 2024-04-24 05:19:03 +09:00
naskya
e8b39be387
chore (backend): remove unused function 2024-04-24 05:01:35 +09:00
naskya
88280e3bfd
refactor (backend): port publishMessagingStream to backend-rs 2024-04-24 04:13:29 +09:00
naskya
ee04e30f25
chore (backend-rs): remove unused stuff
it should be reworked
2024-04-24 03:01:47 +09:00
Lhcfl
267670af96 move schema & langmap from backend to firefish-js 2024-04-24 02:00:34 +08:00
Lhcfl
ea60895bf8 Merge branch 'develop' of https://firefish.dev/firefish/firefish into refactor/types 2024-04-24 00:13:07 +08:00
Lhcfl
5994a1d615 fix types 2024-04-24 00:02:28 +08:00
naskya
9eccdba075
chore (backend-rs): move add_note_to_antenna to misc 2024-04-24 00:23:13 +09:00
naskya
cac438b965 Merge branch 'fix/use-pagination-in-note' into 'develop'
fix: use pagination in note

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

Closes #10906

See merge request firefish/firefish!10754
2024-04-23 14:59:40 +00:00
naskya
50b7c71ed6
chore (backend): use type import 2024-04-23 23:56:34 +09:00
Lhcfl
9a42745926 fix soft mute languages 2024-04-23 22:41:18 +08:00
Lhcfl
c0afa4a2f7 fix types 2024-04-23 22:40:57 +08:00
Lhcfl
62f5c84ca6 fix types 2024-04-23 21:30:55 +08:00
老周部落
6a0ad409cd
fix: authorize-follow not working due to redeclare 'acct' 2024-04-23 20:07:52 +08:00
Lhcfl
6f324a3dcd refactor: move ColdDeviceStorage into a module 2024-04-23 16:56:39 +08:00
Lhcfl
4bb97f2a3c Merge branch 'develop' of https://firefish.dev/firefish/firefish into fix/use-pagination-in-note 2024-04-23 10:45:50 +08:00
Lhcfl
93bee484bb fix types of pizzax.ts 2024-04-23 10:44:06 +08:00
Lhcfl
07d39cb5ac Merge branch 'develop' of https://firefish.dev/firefish/firefish into refactor/types 2024-04-23 10:28:11 +08:00
naskya
d9e46f7fa6 Merge branch 'refactor/isSignedIn' into 'develop'
refactor: make isSignedIn a function

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

See merge request firefish/firefish!10758
2024-04-22 18:10:00 +00:00
naskya
c6d0fe52d2
chore (client): remove unnecessary non-null assertions 2024-04-22 22:44:43 +09:00
naskya
08926ceb8c
dev (backend-rs): add basic Redis cache setter/getter 2024-04-22 21:56:38 +09:00
Lhcfl
a49f9c33ef chore: format 2024-04-22 11:02:35 +08:00
Lhcfl
1d3b67eafb fix types of pizzax 2024-04-22 11:01:46 +08:00
Lhcfl
29da813170 fix typo 2024-04-22 10:54:16 +08:00
Lhcfl
c5a344c2a0 refactor: make isSignedIn a function 2024-04-22 10:36:02 +08:00
Lhcfl
a856523119 fix: add slashquote in MkRenoteButton 2024-04-22 09:09:39 +08:00
Lhcfl
83e3f96ced Merge branch 'develop' of https://firefish.dev/firefish/firefish into feat/slash-quote 2024-04-22 09:01:19 +08:00
Linca
a52340fa53 fix: disable extensions that cannot be used as emojis 2024-04-22 00:31:38 +00:00
naskya
9acd130a22
chore (backend): update meta cache every 5 mins 2024-04-22 08:57:00 +09:00
naskya
0c1e7cdd72
refactor (backend): port should-block-instance to backend-rs 2024-04-22 08:31:28 +09:00
naskya
cbd15fb2ca Merge branch 'redis' into 'develop'
Make Redis accessible from backend-rs


See merge request firefish/firefish!10753
2024-04-21 22:23:29 +00:00
naskya
9ced0d96ad
chore (client): don't make a new post as soon as you add descriptions 2024-04-22 07:20:07 +09:00
naskya
9a4988eaad
chore (client): fix type errors 2024-04-22 07:14:56 +09:00
naskya
23ec206aee
Merge branch 'develop' into feat/alt_warning 2024-04-22 06:59:58 +09:00
naskya
07444ae7c1
Merge branch 'develop' into redis 2024-04-22 06:42:53 +09:00
naskya
280dddf464 Merge branch 'fix/download-url-agent' into 'develop'
fix: download-url should use proxy bypass hosts

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

See merge request firefish/firefish!10739
2024-04-21 21:27:55 +00:00
naskya
1347c6ff04
Merge branch 'develop' into redis 2024-04-22 06:23:17 +09:00
naskya
ebaefb9697
chore (minor, client): remove redundant attribute 2024-04-22 06:02:08 +09:00
naskya
d9982a0b6a
Merge branch 'develop' into feat/show-MkRemoteCaution-in-history 2024-04-22 06:01:19 +09:00
naskya
0cb2e94d99 Merge branch 'fix/feed' into 'develop'
fix: notes in rss feed do not display HTML

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

See merge request firefish/firefish!10744
2024-04-21 21:00:18 +00:00
naskya
78b6228b3c
Merge branch 'develop' into fix/use-pagination-in-note 2024-04-22 05:58:55 +09:00
naskya
c4658801aa
chore: regenerate entities 2024-04-22 05:54:32 +09:00
naskya
a107d8c1ec
fix (backend): update import 2024-04-22 05:52:56 +09:00