Commit graph

2441 commits

Author SHA1 Message Date
老周部落
78a18e9000
feat: qr codes for note sharing 2024-05-29 22:55:46 +08:00
naskya
111284b93e Merge branch 'renovate/redocly-openapi-core-1.x' into 'develop'
fix(deps): update dependency @redocly/openapi-core to v1.14.0

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

See merge request firefish/firefish!10926
2024-05-29 13:03:20 +00:00
CI
0f09bb8863 fix(deps): update dependency @redocly/openapi-core to v1.14.0 2024-05-29 12:06:46 +00:00
CI
dedca1c0c3 fix(deps): update bull-board to v5.19.1 2024-05-29 12:06:03 +00:00
naskya
e81acff737 Merge branch 'renovate/aws-sdk-2.x' into 'develop'
fix(deps): update dependency aws-sdk to v2.1629.0

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

See merge request firefish/firefish!10923
2024-05-28 20:13:40 +00:00
CI
ab1dc279e0 fix(deps): update dependency aws-sdk to v2.1629.0 2024-05-28 20:07:07 +00:00
CI
67ca337cd6 fix(deps): update bull-board to v5.19.0 2024-05-28 20:06:45 +00:00
naskya
1e3e44902e
fix: throw an error if scheduled date is past 2024-05-27 22:25:44 +09:00
naskya
465d3b2272
why did this happen 2024-05-27 22:15:51 +09:00
naskya
a0f65cc6bc
refactor: remove scheduled note entity from backend 2024-05-27 21:55:06 +09:00
naskya
9364f32bc2
chore: drop scheduled_note table 2024-05-27 21:00:10 +09:00
CI
a57cc64b6b fix(deps): update dependency redis-semaphore to v5.6.0 2024-05-26 20:05:42 +00:00
naskya
0376e2d5bd Merge branch 'renovate/jsdom-24.x' into 'develop'
fix(deps): update dependency jsdom to v24.1.0

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

See merge request firefish/firefish!10915
2024-05-26 14:40:04 +00:00
CI
5fb63a3204 fix(deps): update dependency jsdom to v24.1.0 2024-05-26 12:05:40 +00:00
CI
73cfbcbdb7 fix(deps): update dependency ajv to v8.14.0 2024-05-26 04:05:23 +00:00
CI
0219a474c2 chore(deps): update dependency type-fest to v4.18.3 2024-05-25 12:05:24 +00:00
naskya
994db86c52 Merge branch 'renovate/aws-sdk-2.x' into 'develop'
fix(deps): update dependency aws-sdk to v2.1628.0

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

See merge request firefish/firefish!10910
2024-05-25 03:29:57 +00:00
CI
d8433374d0 fix(deps): update dependency aws-sdk to v2.1628.0 2024-05-24 20:06:03 +00:00
CI
21862e79b7 chore(deps): update dependency pug to v3.0.3 2024-05-24 20:05:21 +00:00
CI
9cc3cf95e9 fix(deps): update dependency bull to v4.12.9 2024-05-24 12:05:56 +00:00
naskya
11eed72031 Merge branch 'renovate/aws-sdk-2.x' into 'develop'
fix(deps): update dependency aws-sdk to v2.1627.0

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

See merge request firefish/firefish!10904
2024-05-24 04:04:23 +00:00
CI
2bee0f3745 fix(deps): update dependency aws-sdk to v2.1627.0 2024-05-23 20:05:40 +00:00
CI
9567f63b15 fix(deps): update dependency @redocly/openapi-core to v1.13.0 2024-05-23 20:05:18 +00:00
naskya
431a5d47cd
fix (backend): use correct Redis prefix (close #10940) 2024-05-23 21:39:50 +09:00
CI
990d8cdcc6 fix(deps): update bull-board to v5.18.3 2024-05-23 12:33:39 +00:00
naskya
55ed733df8
chore (backend): remove '_enum' suffix from enum types 2024-05-23 20:49:49 +09:00
naskya
7e40424b89
meta: bump required Node.js version to v18.19.0
ref: https://github.com/sindresorhus/execa/releases/tag/v9.0.0
2024-05-23 20:49:46 +09:00
CI
976dce96aa fix(deps): update dependency aws-sdk to v2.1626.0 2024-05-22 20:15:39 +00:00
naskya
59c3e5c14c Merge branch 'renovate/bull-board' into 'develop'
fix(deps): update bull-board to v5.18.1

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

See merge request firefish/firefish!10900
2024-05-22 16:05:13 +00:00
CI
0169b20ba3 fix(deps): update bull-board to v5.18.1 2024-05-22 16:00:29 +00:00
CI
512cb875f2 fix(deps): update dependency bull to v4.12.8 2024-05-22 15:59:44 +00:00
Lhcfl
b1ba863a0b add crossorigin="anonymous" 2024-05-22 17:41:38 +08:00
Lhcfl
9120b37c1f Use elements as API Document 2024-05-22 17:18:50 +08:00
Lhcfl
fc8357302d fix: Scheduled post cannot send post with attachments 2024-05-22 14:49:22 +08:00
naskya
207bca3b28 Merge branch 'develop' into 'renovate/axios-1.x'
# Conflicts:
#   packages/backend/package.json
2024-05-21 20:22:32 +00:00
CI
442db70139 fix(deps): update dependency aws-sdk to v2.1625.0 2024-05-21 20:05:31 +00:00
CI
f06ab08fc3 fix(deps): update dependency axios to v1.7.2 2024-05-21 20:05:09 +00:00
CI
023aeec7bb fix(deps): update dependency bull to v4.12.7 2024-05-21 12:05:21 +00:00
CI
050baec00f fix(deps): update dependency aws-sdk to v2.1624.0 2024-05-21 04:05:37 +00:00
naskya
02361b6dc6
fix (backend): remove unused parameter from manifest 2024-05-21 09:59:55 +09:00
CI
183c771dc3 fix(deps): update dependency axios to v1.7.1 2024-05-20 20:05:10 +00:00
naskya
9955a62e6b
fix (backend): overlooked change 2024-05-20 20:21:44 +09:00
naskya
b87351673c
fix (backend): typo 2024-05-20 20:11:59 +09:00
naskya
06bed6f230
Merge branch 'develop' into feat/schedule-create 2024-05-20 20:02:43 +09:00
naskya
cf0c7b4687
chore (backend): rename the job 2024-05-20 20:01:25 +09:00
CI
b22efdeaf8 fix(deps): update dependency axios to v1.7.0 2024-05-20 04:05:43 +00:00
CI
32c00d3014 fix(deps): update dependency fluent-ffmpeg to v2.1.3 2024-05-19 12:05:27 +00:00
naskya
9fd98cc5f7
fix (backend): fix imports 2024-05-19 20:11:21 +09:00
naskya
fdc46bcee7
chore: format 2024-05-19 19:56:51 +09:00
naskya
64d7aa40b1
chore (backend): use timestamptz 2024-05-19 19:56:29 +09:00
naskya
ba7fa4393a
chore (backend): ScheduledNoteCreation -> ScheduledNote 2024-05-19 19:55:20 +09:00
naskya
ec152499bf
Merge branch 'develop' into feat/schedule-create 2024-05-19 19:44:11 +09:00
naskya
8174d646f9
fix (backend): add back timezone 2024-05-19 19:15:58 +09:00
naskya
9dbf6d07c4
fix (backend): pug config loading 2024-05-19 19:11:13 +09:00
CI
654e71e43a fix(deps): update dependency got to v14.3.0 2024-05-18 20:06:04 +00:00
CI
3d5003acc2 fix(deps): update dependency bull to v4.12.6 2024-05-18 12:04:48 +00:00
sup39
c4a7cd6029
refactor (backend): port greet to backend-rs
Co-authored-by: naskya <m@naskya.net>
2024-05-18 17:39:45 +08:00
naskya
88890153a1 Merge branch 'renovate/eslint-monorepo' into 'develop'
chore(deps): update dependency eslint to v9.3.0

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

See merge request firefish/firefish!10867
2024-05-18 05:17:08 +00:00
naskya
61562a0943
refactor (backend-rs): use async redis commands 2024-05-18 13:20:43 +09:00
CI
a298302f76 chore(deps): update dependency eslint to v9.3.0 2024-05-18 04:05:11 +00:00
CI
fcb4017700 fix(deps): update dependency aws-sdk to v2.1623.0 2024-05-17 20:20:15 +00:00
CI
e9287357f7 fix(deps): update dependency bull to v4.12.5 2024-05-17 12:05:08 +00:00
naskya
4e50ffeb09
chore: format 2024-05-17 18:17:52 +09:00
naskya
ffa08748d0
refactor (backend): don't check word mute twice 2024-05-17 17:59:45 +09:00
naskya
5e53f9a8cf
refactor (backend): port check-hit-antenna to backend-rs 2024-05-17 17:59:45 +09:00
naskya
a4779f233b
refactor (backend): convert jsonb to array 2024-05-17 17:59:45 +09:00
naskya
20cd64281a Merge branch 'renovate/aws-sdk-2.x' into 'develop'
fix(deps): update dependency aws-sdk to v2.1622.0

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

See merge request firefish/firefish!10858
2024-05-16 20:35:23 +00:00
CI
12be7266db fix(deps): update dependency aws-sdk to v2.1622.0 2024-05-16 20:05:57 +00:00
CI
7ad4ffecf3 fix(deps): update dependency sharp to v0.33.4 2024-05-16 20:05:36 +00:00
naskya
452728b352
Merge branch 'develop' into feat/schedule-create 2024-05-16 17:32:42 +09:00
naskya
774c8213f2
fix (backend): correct relation 2024-05-16 17:26:31 +09:00
naskya
a9e927cef1
Merge branch 'develop' into feat/schedule-create 2024-05-16 17:21:34 +09:00
naskya
0ee3db7788
chore (backend): sort dependencies in package.json 2024-05-16 17:00:33 +09:00
naskya
9298a6252d
Merge branch 'develop' into refactor/types 2024-05-16 16:45:03 +09:00
naskya
41b32c5535 refactor (backend): port push notification sender to backend-rs 2024-05-15 22:19:58 +00:00
CI
7d1947792d fix(deps): update dependency aws-sdk to v2.1621.0 2024-05-15 21:05:33 +00:00
naskya
4b96063c23
chore: format 2024-05-16 04:22:41 +09:00
naskya
0de54e02f8
chore (backend): use literals and consts 2024-05-16 04:22:23 +09:00
naskya
101e50926b
chore: remove import assertion 2024-05-16 04:12:10 +09:00
naskya
eb967564f9 Merge branch 'renovate/aws-sdk-2.x' into 'develop'
fix(deps): update dependency aws-sdk to v2.1620.0

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

See merge request firefish/firefish!10849
2024-05-15 18:13:47 +00:00
naskya
0085105e72 Merge branch 'renovate/websocket-1.x' into 'develop'
fix(deps): update dependency websocket to v1.0.35

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

See merge request firefish/firefish!10847
2024-05-15 18:09:16 +00:00
naskya
217b3ecf80 Merge branch 'renovate/is-svg-5.x' into 'develop'
fix(deps): update dependency is-svg to v5.0.1

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

See merge request firefish/firefish!10846
2024-05-15 18:07:52 +00:00
naskya
ffeeb3b444 Merge branch 'renovate/bull-4.x' into 'develop'
fix(deps): update dependency bull to v4.12.4

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

See merge request firefish/firefish!10845
2024-05-15 18:06:29 +00:00
CI
65a1fa870b fix(deps): update dependency aws-sdk to v2.1620.0 2024-05-15 17:29:54 +00:00
CI
6067eaef04 fix(deps): update dependency websocket to v1.0.35 2024-05-15 17:29:14 +00:00
CI
92299423a3 fix(deps): update dependency is-svg to v5.0.1 2024-05-15 17:28:54 +00:00
CI
65a8984c09 fix(deps): update dependency bull to v4.12.4 2024-05-15 17:28:34 +00:00
CI
99eb364778 chore(deps): update swc monorepo 2024-05-15 17:28:11 +00:00
CI
edc2a7d890 chore(deps): update dependency @types/node to v20.12.12 2024-05-15 10:04:53 +00:00
naskya
d8e1ab63c0
refactor: port system information checker to backend-rs
network stat is removed because it might be inaccurate and/or
it should be monitored by other system tools, but it may be added back
later if it is wanted
2024-05-15 16:26:46 +09:00
naskya
457bd22b7b
chore (deps): pin versions 2024-05-12 01:29:19 +09:00
naskya
1942d772db Merge branch 'renovate/node-20.x' into 'develop'
chore(deps): update node.js to v20

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

See merge request firefish/firefish!10833
2024-05-11 15:59:23 +00:00
naskya
cfa3263c46
Merge branch 'develop' into renovate/semver-7.x 2024-05-12 00:49:18 +09:00
CI
e5a5d715b6 chore(deps): update node.js to v20 2024-05-11 15:41:52 +00:00
CI
d6983e92aa fix(deps): update dependency semver to v7.6.2 2024-05-11 15:40:50 +00:00
CI
07e2571c79 fix(deps): update dependency msgpackr to ^1.10.2 2024-05-11 15:40:29 +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
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
CI
1cd58ce05d chore(deps): update dependency type-fest to v4.18.2 2024-05-11 14:08:58 +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
d3b899ccc3 chore(deps): update dependency @types/pg to ^8.11.6 2024-05-11 14:05:27 +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
59862f16b0
chore (deps): update bull-board 2024-05-11 21:21:50 +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
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
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
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
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
8f8d62aa58
chore (backend): organize imports 2024-05-11 04:52:59 +09:00
CI
291990d320 chore(deps): update dependency @swc/core to v1.5.5 2024-05-10 12:09:21 +00:00
naskya
4a81106cf5
chore (backend): remove generate-native-user-token 2024-05-09 21:49:56 +09: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
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
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
eana
e7c33835b2 Add server-side per-user UI language 2024-05-06 05:14:44 +00:00
naskya
dd74eabae1
refactor (backend): port nodeinfo fetcher to backend-rs 2024-05-06 08:12:21 +09:00
naskya
49825853c1
refactor (backend): port nodeinfo generator to backend-rs 2024-05-06 03:01:55 +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
Lhcfl
3061147bd3 feat: scheduled note creation 2024-05-03 21:42:40 +08: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
a4a96f0026 fix: escape ambiguous Mfm marks from html 2024-05-01 11:47:14 +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
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