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
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
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
3190f66740
chore (backend): convert TypeORM's simple-array into normal array
2024-04-26 12:03:12 +09:00
Lhcfl
99f30ba01a
change firefish-js to esm
2024-04-26 10:22:51 +08:00
naskya
1cfe3bfb73
refactor (backend): port publishChannelStream to backend-rs
2024-04-26 06:16:51 +09:00
naskya
79ab7bf787
refactor (backend): port publishAdminStream to backend-rs
2024-04-26 05:44:37 +09:00
naskya
0512dca83c
fix (backend): import .js
2024-04-26 03:22:07 +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
naskya
0b7385e16a
chore: format
2024-04-25 19:15:12 +09:00
naskya
b12d7e4c63
refactor (backend): port emoji-meta to backend-rs
2024-04-25 19:06:16 +09:00
naskya
b9c3dfbd3d
refactor? (backend): move consts to backend-rs
2024-04-25 14:50:04 +09: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
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
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
naskya
109884f6d8
refactor (backend): port note watch/unwatch to backend-rs
2024-04-24 13:23:27 +09: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
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
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
62f5c84ca6
fix types
2024-04-23 21:30:55 +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
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
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
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
a107d8c1ec
fix (backend): update import
2024-04-22 05:52:56 +09:00
naskya
4c91e8e37f
Merge branch 'develop' into feat/antenna_limit
2024-04-22 05:51:22 +09:00
naskya
8140694a31
chore (backend): add comment
2024-04-22 05:47:22 +09:00
naskya
509690d84d
chore: meRenoteCount -> myRenoteCount
2024-04-22 05:43:58 +09:00
naskya
dc53447fa3
chore (API): we still use the word 'renote' in our code/API
2024-04-22 05:42:40 +09:00
naskya
9fef36e80c
chore (backend): add comment
2024-04-22 01:56:34 +09:00
naskya
2a30b4a536
Revert "refactor (backend): it turns out that sending the entire note object was redundant"
...
This reverts commit 3b65ebcb3e
.
2024-04-22 01:47:56 +09:00
naskya
2fa0ca355d
Merge branch 'develop' into redis
2024-04-21 22:25:50 +09:00
Lhcfl
70e4d78f90
Merge branch 'develop' of https://firefish.dev/firefish/firefish into fix/use-pagination-in-note
2024-04-21 11:18:24 +08:00
Lhcfl
1dfc7c443b
fix: Extensions should be converted to lowercase
2024-04-21 11:14:19 +08:00
Lhcfl
3917818c76
fix : #10451 Emoji pack imports randomly stop processing files
2024-04-21 11:05:19 +08:00
naskya
6b008c651a
chore (backend): remove (technically) incorrect TypeORM decorator field
2024-04-21 11:09:18 +09:00
naskya
d2dbfb37c7
chore (backend): reflect entity changes to the schema and repository
2024-04-21 10:59:02 +09:00
naskya
43570a54aa
chore: format
2024-04-21 10:44:54 +09:00
naskya
4d34e14dd8
Merge branch 'develop' into feat/drive-file-usage-hints
2024-04-21 10:42:25 +09:00
naskya
28f7ac1acd
fix (backend): typo
2024-04-21 10:31:00 +09:00
naskya
9f3396af21
chore (backend): translate Japanese comments into English
2024-04-21 10:30:13 +09:00
mei23
dc02a07774
fix (backend): add Cache-Control to Bull Dashboard
2024-04-21 09:29:00 +09:00
naskya
2760e7feee
chore (minor): use ** in lieu of Math.pow
2024-04-21 06:40:53 +09:00
naskya
488323cc8e
chore: format
2024-04-21 05:57:05 +09:00
naskya
3b65ebcb3e
refactor (backend): it turns out that sending the entire note object was redundant
2024-04-21 05:55:45 +09:00
naskya
b08175fb83
Merge branch 'develop' into redis
2024-04-20 23:15:58 +09:00
naskya
a2699e6687
chore (backend): fix imports
2024-04-20 23:04:12 +09:00
Lhcfl
39a229b875
fix: use MkPagination for replies
2024-04-20 20:55:47 +08:00
Lhcfl
35c7dccb49
fix: use MkPagination in notes for Quote, Boost, Reaction
2024-04-20 15:56:13 +08:00
naskya
77ded03330
Merge branch 'develop' into redis
2024-04-20 10:17:11 +09:00
naskya
f33c7c6c94
fix (backend): host and hostname was messed up
2024-04-20 08:48:48 +09:00
naskya
d41b462a89
fix (backend): fix redis key prefix
2024-04-20 07:43:09 +09:00
naskya
ccbd6178e4
refactor (backend): port add-note-to-antenna to backend-rs
...
I hit this bug: https://github.com/napi-rs/napi-rs/issues/2060
2024-04-20 07:18:39 +09:00
naskya
5c4a773ecf
chore (backend): qualify Node.js builtin modules
2024-04-20 03:09:18 +09:00
naskya
ccb17977c3
chore (minor, backend): use type import
2024-04-20 03:08:35 +09:00
naskya
def62ff1ce
chore (minor, backend): remove unused import
2024-04-20 03:04:34 +09:00
naskya
56038b174d
fix (backend): correct import path
2024-04-20 03:01:13 +09:00
naskya
037b7950a2
refactor (backend): clean the booting process a bit
2024-04-20 02:58:39 +09:00
naskya
3b89a8bfa6
refactor (backend): port config loader to backend-rs completely
2024-04-20 02:46:37 +09:00
yumeko
6c46bb56fd
Switch DriveFile's usageHint field to an enum type
2024-04-19 18:24:48 +03:00
yumeko
968657d26e
Run format
2024-04-19 07:54:11 +03:00
yumeko
913de651db
When updating (remote) user avatar/banner, clear usageHint for the previous drivefile, if any
2024-04-19 07:25:42 +03:00
yumeko
c0f93de94b
Set file usage hints on local avatar/banner uploads as well + export "valid" values as type
2024-04-19 06:29:28 +03:00
yumeko
4823abd3a9
Add usageHint field to DriveFile, and fill accordingly when operating on Persons
2024-04-19 03:41:36 +03:00
naskya
c6e2776298
chore (backend): remove a horrible and unused function
2024-04-19 03:42:49 +09:00
naskya
4b7724ed1f
Merge branch 'cw-text' into 'develop'
...
Increase CW character limit
Closes #10876
See merge request firefish/firefish!10746
2024-04-17 20:47:40 +00:00
naskya
1b076c96d7
Merge branch 'develop' into refactor/types
2024-04-18 05:10:20 +09:00
naskya
c19c439ac1
fix (backend): add hasPoll to packed note
2024-04-18 05:08:14 +09:00
naskya
cc452da6c5
Merge branch 'develop' into refactor/types
2024-04-18 05:03:32 +09:00
naskya
30969ad817
refactor (backend): port get-note-summary to backend-rs
...
I removed trim() as it wasn't strictly neccessary
2024-04-18 05:02:00 +09:00
naskya
8337863ed3
chore: format
2024-04-18 05:01:49 +09:00
naskya
6a94d1b65d
Merge branch 'fix/server-stats-disable' into 'develop'
...
Fix check for whether stats are disabled in meta in server machine stats job
Co-authored-by: yumeko <yumeko@mainichi.social>
See merge request firefish/firefish!10748
2024-04-17 18:20:35 +00:00
naskya
c471aa30ae
Merge branch 'fix/pinned-user-null' into 'develop'
...
Fix internal error in api/pinned-users if one or more name fails to resolve
Co-authored-by: yumeko <yumeko@mainichi.social>
See merge request firefish/firefish!10747
2024-04-17 18:19:17 +00:00
yumeko
a411f4e4d9
Fix internal error in api/pinned-users if one or more name fails to resolve
2024-04-17 18:19:17 +00:00
naskya
adaaae1583
Merge branch 'develop' into refactor/types
2024-04-17 19:07:43 +09:00
naskya
17fb05430e
fix (backend, Mastodon API): add 'meta.original' field to media attachments
...
addresses https://github.com/whitescent/Mastify/pull/102
2024-04-17 17:46:23 +09:00
yumeko
bf3c0717b9
Fix check for whether stats are disabled in meta in server machine stats job
2024-04-16 15:29:18 +00:00
naskya
082948bfe0
Merge branch 'develop' into refactor/types
2024-04-16 22:29:04 +09:00
naskya
07384a4f0f
feat (backend): increase CW character limit ( close #10876 )
2024-04-16 09:14:44 +09:00
naskya
fd333250c9
chore (backend): set proxyRemoteFiles to true by default ( close #9426 )
2024-04-16 08:56:05 +09:00
naskya
80b80277e2
fix (pug): random MOTD not showing
2024-04-16 01:50:42 +09:00
naskya
71c158fbd3
refactor (backend): port env.ts to backend-rs
2024-04-15 17:28:20 +09:00
naskya
0f3126196f
refactor (backend): port reaction-lib to backend-rs
2024-04-15 10:02:44 +09:00
naskya
2731003bc9
refactor (backend): port emoji-regex to backend-rs
2024-04-15 05:37:09 +09:00
naskya
74875f174b
chore (minor, backend): use a template literal
2024-04-15 04:34:36 +09:00
naskya
884c69f377
chore (minor, backend): organize imports
2024-04-15 04:34:00 +09:00
naskya
f412d7ace3
chore (backend): remove 'quiet' settings
2024-04-15 04:31:04 +09:00
naskya
21225f7137
chore: update dependencies
2024-04-15 04:09:33 +09:00
naskya
fca48b2a81
refactor (backend): port safe-for-sql, sql-like-escape to backend-rs
2024-04-14 20:29:44 +09:00
sup39
b71da18b03
refactor (backend): port fetch-meta to backend-rs
...
Co-authored-by: naskya <m@naskya.net>
2024-04-14 20:16:22 +09:00
Lhcfl
241c824ab5
fix: use better ]]>
replacer
2024-04-14 16:44:12 +08:00
Lhcfl
54d9916fec
fix: rss feed no HTML
2024-04-14 16:34:33 +08:00
naskya
ceca260c92
refactor (backend): port convert-milliseconds to backend-rs
2024-04-14 14:54:32 +09:00
sup39
70aa3704ef
refactor (backend): port password hashing/verification to backend-rs
...
Co-authored-by: naskya <m@naskya.net>
2024-04-14 14:41:01 +09:00
Lhcfl
bb9a58ce34
Merge branch 'develop' of https://firefish.dev/firefish/firefish into refactor/types
2024-04-13 20:08:41 +08:00
naskya
ad58ae8f30
refactor: remove /api/patrons endpoint
2024-04-13 20:03:02 +09:00
Lhcfl
f95e2d1c51
Merge branch 'develop' of https://firefish.dev/firefish/firefish into refactor/types
2024-04-13 15:39:44 +08:00
老周部落
5eff4da27b
feat: antenna limit
2024-04-13 10:02:32 +08:00
老周部落
f44a2937d4
fix: download-url should use proxy bypass hosts
2024-04-13 09:00:08 +08:00
naskya
603ec70b97
refactor (backend-rs): rewrite Mastodon ID conversion
...
Co-authored-by: sup39 <dev@sup39.dev>
2024-04-12 21:48:55 +09:00
naskya
148c3736ce
refactor (backend): port convert-host to backend-rs
...
Co-authored-by: sup39 <dev@sup39.dev>
2024-04-12 17:13:57 +09:00
naskya
3d6031dca3
chore: get rid of re2 from dependencies
2024-04-12 15:47:04 +09:00
naskya
83c15b1026
refactor (backend): port checkWordMute to backend-rs
...
Co-authored-by: sup39 <dev@sup39.dev>
2024-04-12 15:43:17 +09:00
naskya
e2cd25ea4f
refactor (backend): port config loader to backend-rs
...
Co-authored-by: sup39 <dev@sup39.dev>
2024-04-12 14:25:27 +09:00
naskya
ad30d16f23
chore (backend): remove unused file
2024-04-12 11:10:52 +09:00
naskya
452e0b921c
refactor (backend): port acct to backend-rs
2024-04-12 11:10:52 +09:00
naskya
beb16ab9cf
refactor (backend): port nyaify to backend-rs
2024-04-12 11:10:42 +09:00
naskya
f60ff2eaf4
refactor (backend-rs): rewrite id generator
...
Co-authored-by: sup39 <dev@sup39.dev>
2024-04-12 05:20:45 +09:00
naskya
3fe8ace571
chore: update dependencies
2024-04-12 02:55:27 +09:00
naskya
afc57d834c
fix (backend): add missing Relation wrapper
...
should have done in aedf873248
2024-04-12 02:42:17 +09:00
naskya
24f79d4796
fix (backend): prevent chat messages from being deleted when attached file is deleted
2024-04-12 02:26:00 +09:00
Lhcfl
8e28f0e97c
Merge branch 'develop' of https://firefish.dev/firefish/firefish into refactor/types
2024-04-12 00:23:21 +08:00
Lhcfl
d8b4eb6f5e
fix: gallery posts not show & fix types
2024-04-12 00:22:49 +08:00
naskya
aedf873248
refactor (backend): distinguish between database columns and relations, set correct nullability
2024-04-11 21:58:06 +09:00
Lhcfl
6982843716
fix: channel editor cannot remove channel banner
2024-04-10 22:25:45 +08:00
Lhcfl
23145c61af
refactor: fix type of MkAbuseReport
2024-04-10 17:55:52 +08:00
naskya
c707221dfb
chore (minor): use type import
2024-04-08 21:15:18 +09:00
naskya
e1345e4e29
fix (backend): make sure that instance info fit in the database ( close #10891 )
...
I guess there is a better way to do this...
2024-04-08 20:52:14 +09:00
naskya
30619301d3
chore: replace new Date().getTime()
with Date.now()
...
959cc8ff37
Co-authored-by: zyoshoka <107108195+zyoshoka@users.noreply.github.com>
2024-04-08 17:00:41 +09:00
naskya
fce0e5a218
feat (backend): federate math expressions using MathML
...
Co-authored-by: Johann150 <johann.galle@protonmail.com>
2024-04-08 12:15:54 +09:00
naskya
9df08ea16a
refactor (minor): replace substr with substring
2024-04-07 19:10:26 +09:00
naskya
26c3b25a40
chore: update dependencies
2024-04-07 16:42:25 +09:00
naskya
110e092262
chore (backend): use type import for MigrationInterface and QueryRunner
2024-04-07 12:38:52 +09:00
naskya
5c0d771dff
chore: await migration queries
2024-04-07 12:16:53 +09:00
naskya
383b2b874d
chore: format
2024-04-07 05:06:42 +09:00
naskya
91ccce4307
refactor (backend): drop timezone data (which is not used at all)
...
Co-authored-by: sup39 <dev@sup39.dev>
2024-04-07 05:06:27 +09:00
naskya
54c5192a06
chore (backend): add some more comments on the translate function
2024-04-06 07:42:32 +09:00
Lhcfl
e8f178458f
Merge branch 'develop' of https://firefish.dev/firefish/firefish into feat/note-edit-history
2024-04-01 11:32:14 +08:00
Lhcfl
0b226f7013
store emojis for note_edit
2024-04-01 11:01:59 +08:00
Lhcfl
a562d9bb39
chore: format
2024-04-01 03:24:30 +08:00
Laura Hausmann
88ca0e1621
fix (backend): set X-Content-Type-Options to nosniff on the drive files endpoint
2024-04-01 03:22:06 +09:00
Lhcfl
cbe88c56ef
feat: show files of noteEdit
2024-04-01 01:53:21 +08:00
Lhcfl
6d4cb5b4aa
fix: note.updatedAt might be null
2024-04-01 00:40:58 +08:00
naskya
b3668f67a0
fix (backend): check redirect url
2024-03-30 19:01:28 +09:00
Laura Hausmann
e753b313da
fix (backend): reject anonymous objects
2024-03-30 19:01:28 +09:00
Laura Hausmann
2e51a33ae5
fix (backend): stricter hostname checking when fetching remote objects
...
Co-authored-by: naskya <m@naskya.net>
2024-03-30 19:01:28 +09:00
Laura Hausmann
ada0137a35
fix (backend): verify object id host matches final URL when fetching remote activities
...
5f6096c1b7
Co-authored-by: naskya <m@naskya.net>
2024-03-30 19:01:28 +09:00
Laura Hausmann
850c52ef63
feat (backend): permit redirects for AP object lookups
...
8d7d95fd23
Co-authored-by: naskya <m@naskya.net>
2024-03-30 19:01:28 +09:00
naskya
00b15bb17c
refactor (backend): mark resolveLocal as async
...
There are many type errors that need to be fixed :(
2024-03-30 19:01:16 +09:00
mei23
ce69001243
fix (backend): improve URL check
...
13ea67bee4
da12d5b079
Co-authored-by: naskya <m@naskya.net>
2024-03-30 18:10:52 +09:00
naskya
293afc7fe4
Merge branch 'develop' into feat/note-edit-history
2024-03-28 14:27:29 +09:00
naskya
611a2f02b9
chore: format
2024-03-28 14:26:09 +09:00
naskya
284f077dba
Merge branch 'ft/run-linter' into 'develop'
...
chore: format
Co-authored-by: deathg.rip <josh@deathg.rip>
See merge request firefish/firefish!10707
2024-03-28 05:25:33 +00:00
Nyan Helsing
a98a26e901
chore: format
...
Co-authored-by: deathg.rip <josh@deathg.rip>
2024-03-28 05:25:33 +00:00
naskya
6cd5dc2fcb
chore: update dependencies
...
except for adm-zip
2024-03-26 20:46:44 +09:00
naskya
5e2b8d3be0
chore: add a function to compare two arrays
2024-03-26 19:43:11 +09:00
naskya
d1d0328f8b
fix (backend): update note_file on note edits
...
TODO: move these processes to services/note/edit.ts
2024-03-26 19:42:19 +09:00
naskya
bd5e95a1f0
chore: remove unused import
2024-03-26 19:13:38 +09:00
Lhcfl
bab704992f
feat: add post history page
2024-03-26 16:59:42 +08:00
Lhcfl
d64d133d7f
backend: added /note/history endpoint
2024-03-26 10:07:00 +08:00
naskya
8b01433f2b
Revert "Merge branch 'feat/proxy_media_fallback' into 'develop'"
...
This reverts commit a7d6e8eb1a
, reversing
changes made to 1871dacd8d
.
2024-03-26 04:09:01 +09:00
Linca
72d5e4cdb8
fix : #10868 incorrect text inserted to note_edit
...
Co-authored-by: Lhcfl <Lhcfl@outlook.com>
2024-03-25 17:02:02 +00:00
naskya
17cd5ecfc2
Merge branch 'feat/server_nsfw' into 'develop'
...
feat: admin ability to force drive content to always be nsfw
Co-authored-by: 老周部落 <laozhoubuluo@gmail.com>
Closes #10713
See merge request firefish/firefish!10685
2024-03-25 15:03:16 +00:00
老周部落
05e5e92ef3
feat: admin ability to force drive content to always be nsfw
2024-03-25 21:15:53 +08:00
naskya
a7d6e8eb1a
Merge branch 'feat/proxy_media_fallback' into 'develop'
...
feat: proxy media fallback and url preview fallback
Co-authored-by: 老周部落 <laozhoubuluo@gmail.com>
See merge request firefish/firefish!10693
2024-03-24 17:37:59 +00:00
Linca
ed72aab48e
fix (backend): downgrade adm-zip to v0.5.10
...
To workaround this problem: https://github.com/cthackers/adm-zip/issues/475
Co-authored-by: naskya <m@naskya.net>
2024-03-24 20:45:02 +09:00
naskya
ad08d071bf
Merge branch 'change-from-html' into 'develop'
...
refactor: Rewrite from-html parser using recursion
Co-authored-by: Lhcfl <Lhcfl@outlook.com>
See merge request firefish/firefish!10694
2024-03-23 16:34:44 +00:00
Linca
7c761f8c3d
refactor: Rewrite from-html parser using recursion
...
Co-authored-by: Lhcfl <Lhcfl@outlook.com>
2024-03-23 16:34:44 +00:00
naskya
83944dd49f
chore: update dependencies
2024-03-23 21:41:51 +09:00
naskya
6e9d3387e0
refactor (backend): use Promise.all to await multiple async processes
2024-03-23 00:54:54 +09:00
naskya
26e35d1d82
refactor: make function name clearer, let the ORM build queries
2024-03-20 19:17:46 +09:00
naskya
dc2039b45a
refactor (backend): change variable name, await asyncronous processes
2024-03-20 18:45:50 +09:00
naskya
7e2559c5ee
Merge branch 'develop' into catofish-fix/local-user-notes-count
2024-03-20 18:34:33 +09:00
老周部落
2af7f48870
feat: proxy media fallback and url preview fallback
2024-03-18 18:30:42 +08:00
naskya
f7a8a58cb2
Revert "refactor: remove note.mentionedRemoteUsers column"
...
This reverts commit 65797a934a
.
2024-03-18 03:29:19 +09:00
naskya
e4a72bbfe5
Revert "backend: improve removeMentionedRemoteUsersColumn revert query ( #403 )"
...
This reverts commit 3473442875
.
2024-03-18 03:29:17 +09:00
Linca
d002741ecc
Merge branch 'develop' into 'fix/local-user-notes-count'
...
# Conflicts:
# packages/backend/src/services/note/delete.ts
2024-03-17 16:24:50 +00:00
sup39
9fd9eb0100
fix (backend): incorrect database queries
2024-03-18 01:01:54 +09:00
naskya
c61e6cd255
fix (backend): incorrect database indices (renote_mute & reply_mute)
2024-03-18 01:01:54 +09:00
Norm
3473442875
backend: improve removeMentionedRemoteUsersColumn revert query ( #403 )
...
This is an optimized version made by Volpeon that should run faster if
the instance has a lot of notes.
See <https://is-a.wyvern.rip/notes/9habqldl6j > for a comparison of the
EXPLAIN ANALYZE of the old and new queries.
Co-authored-by: Volpeon <git@volpeon.ink>
Reviewed-on: https://akkoma.dev/FoundKeyGang/FoundKey/pulls/403
2024-03-18 00:20:02 +09:00
Johann150
65797a934a
refactor: remove note.mentionedRemoteUsers column
...
The column mentionedRemoteUsers on the note table in the database is
firstly in the wrong type since it contains JSON data but is typed as
text. Secondly it seems redundant, since that data can be acquired by
using the note.mentions column to fetch the respective data instead.
Co-authored-by: Francis Dinh <normandy@biribiri.dev>
2024-03-18 00:16:49 +09:00
sup39
9bce737f67
fix (backend): add alias to a migration subquery
...
Co-authored-by: naskya <m@naskya.net>
2024-03-17 23:13:54 +09:00
sup39
cca63b7286
perf (backend): improved post search with CW/alt text
...
Co-authored-by: naskya <m@naskya.net>
2024-03-17 22:40:36 +09:00
naskya
2220d5c56e
refactor (backend): add note_file table to store (noteId, fileId) pairs
...
Co-authored-by: sup39 <dev@sup39.dev>
2024-03-17 22:40:35 +09:00
naskya
0f880b55e3
chore (backend): add FIXME to a questionable database column
2024-03-17 22:40:35 +09:00
Lhcfl
ac2b42b71b
fix a bug
2024-03-17 14:17:54 +08:00
Lhcfl
6e8d1a167f
fix: cascading bugs during deletion.
...
- During cascade deletion, the posts deleted by the cascade are not published to noteStream.
- During cascade deletion, the notes count of instance and user is incorrect.
2024-03-17 14:08:07 +08:00
Lhcfl
06985abe08
fix: recalculate notesCount of local user when notes are deleted.
2024-03-17 12:01:07 +08:00
naskya
75f277f461
fix (backend): return null (instead of 0) if following/followers count is unavailable
2024-03-17 02:03:27 +09:00
naskya
517022f9b2
fix (backend): hide remote user's reactions and network (following/followers) in case it's set to hidden on their end
2024-03-17 01:51:24 +09:00
naskya
27be8e06cb
fix (backend): conditions for checking local uri's being inaccurate
...
ref: https://github.com/misskey-dev/misskey/issues/13540
Co-authored-by: mei23 <m@m544.net>
Co-authored-by: atsu1125 <atsuchan@atsuchan.page>
2024-03-17 01:51:24 +09:00
naskya
5e179b7721
chore: lint
2024-03-17 00:49:12 +09:00
naskya
1d0223e653
chore: format
2024-03-17 00:34:57 +09:00
naskya
d65c00f219
chore: I don't care # of stars
2024-03-17 00:32:59 +09:00
naskya
a6e759aeba
chore: update dependencies
2024-03-16 01:21:20 +09:00
naskya
cd0aef1166
fix (backend): incorrect database index
...
ref: d30239b5e7
2024-03-13 13:12:23 +09:00
naskya
67dad81e99
chore: bump Node requirement from v18.16.0 to v18.17.0
...
to be compatible with Node-API version 9: https://nodejs.org/api/n-api.html#node-api-version-matrix
2024-03-07 04:07:33 +09:00
naskya
9b6a061022
chore: update dependencies
2024-03-06 09:55:32 +09:00
naskya
ddc8f62a16
meta: remove *.joinfirefish.org URLs
2024-03-06 09:02:09 +09:00
atsu1125
aaa0b7edde
fix (backend): movedToUri should be either User or null
...
Co-authored-by: naskya <m@naskya.net>
2024-03-06 07:25:22 +09:00
naskya
6eb04d9d82
chore: format
2024-03-05 09:26:53 +09:00
nexryai
8b3574d84c
fix (backend): stop sending stack traces on API errors
...
Co-authored-by: naskya <m@naskya.net>
2024-03-05 09:26:53 +09:00
naskya
0f1323b79d
chore (backend): add script to create new database migrations
2024-03-03 13:38:47 +09:00
naskya
bf99167406
refactor (backend): move migrations inside backend/src
2024-03-03 13:21:11 +09:00
naskya
4c38d9665e
chore: lint
2024-03-02 14:24:05 +09:00
naskya
78bdec3af4
chore (backend): add prelude/unsafe-cast for unsafe type casting
2024-03-02 13:26:44 +09:00
naskya
9705ceda5d
chore: update dependencies
2024-03-02 13:18:17 +09:00
sup39
b6e55173e2
refactor (backend): rename meta columns
2024-03-02 13:13:03 +09:00
naskya
d61462b892
Merge branch 'fix/stats_api' into 'develop'
...
fix(backend): mastodon stats conflate all indexed users and statuses
Co-authored-by: 老周部落 <laozhoubuluo@gmail.com>
Closes #10759
See merge request firefish/firefish!10684
2024-03-01 16:54:25 +00:00
老周部落
64bfb8f329
fix(backend): mastodon stats conflate all indexed users and statuses
2024-03-02 00:51:37 +08:00
naskya
2414cf3ec7
refactor (backend): separate translate function into another file, use post language info for translations, use deepl-node package
2024-03-02 00:28:30 +09:00
naskya
ec18c532ca
feat: ability to publish timelines on signed out page
2024-03-02 00:19:05 +09:00
naskya
9ce6a23266
chore: remove unused dependencies
2024-03-01 23:42:02 +09:00
naskya
412cdad209
feat: show unlisted posts from following users in antennas
2024-03-01 23:42:02 +09:00
naskya
d70d0f4232
refactor (backend): separate muted words and muted patterns
...
Co-authored-by: sup39 <dev@sup39.dev>
2024-03-01 22:52:21 +09:00
naskya
b30e68c98c
feat: post search filters
...
Co-authored-by: sup39 <dev@sup39.dev>
2024-03-01 22:17:02 +09:00
naskya
48e5d9de71
refactor: use PGroonga for full-text search and remove support of other engines
...
Co-authored-by: tamaina <tamaina@hotmail.co.jp>
Co-authored-by: sup39 <dev@sup39.dev>
2024-03-01 21:39:13 +09:00
naskya
7051e445d3
chore: format
2024-03-01 10:44:16 +09:00
laozhoubuluo
e7689fb302
feat(backend): configurable log levels for troubleshooting
2024-03-01 00:50:53 +00:00
laozhoubuluo
d709030580
feat: sent follow request list api and user interface
...
Co-authored-by: naskya <m@naskya.net>
2024-03-01 00:40:20 +00:00
naskya
d2ed7fcb70
chore: tweak user/server default configs
2024-03-01 09:13:00 +09:00
naskya
511e6c8317
style: tweak default client settings
2024-03-01 08:51:19 +09:00
naskya
391328f128
chore: remove nyaification of 'nA'
2024-03-01 07:56:05 +09:00
sup39
85c034b1a2
fix: make readFile in api/patrons async
2024-03-01 07:51:26 +09:00
naskya
1d6b1d052d
feat: allow admins to migrate accounts
2024-03-01 07:47:40 +09:00
naskya
945cc87dc7
chore (backend): remove horrible API endpoints
2024-03-01 07:39:22 +09:00
sup39
020c421c9b
fix (backend): apply word mutes in notifications
...
Co-authored-by: naskya <m@naskya.net>
2024-03-01 07:29:58 +09:00
naskya
1bf513dedd
feat: per-user reply mutes ( close #9150 )
2024-03-01 07:24:43 +09:00
naskya
f8bc26bd6b
Merge branch 'security-key-without-2fa' into 'develop'
...
Make security key independent of 2FA
Co-authored-by: TrojanerHD <github@trojaner.dev>
Closes #8610
See merge request firefish/firefish!10670
2024-02-29 12:19:26 +00:00
Trojaner
4f738246fd
Make security key independent of 2FA
...
Co-authored-by: TrojanerHD <github@trojaner.dev>
2024-02-29 12:19:26 +00:00
naskya
0cb26730fc
Merge branch 'fix/backport_resolver_parse_follow_request' into 'develop'
...
fix(backend): backport fix about resolver cannot parse some follows and notes request
Co-authored-by: 老周部落 <laozhoubuluo@gmail.com>
See merge request firefish/firefish!10680
2024-02-29 11:50:33 +00:00
naskya
af80fd92dc
chore: upgrade dependencies
...
Co-authored-by: sup39 <dev@sup39.dev>
2024-02-28 23:40:40 +09:00
naskya
d30239b5e7
fix (backend): incorrect database index
...
Sorry for my silly mistake (cf. 9d56db0fbf
4356099fec
)
2024-02-28 23:28:09 +09:00
naskya
ddfe20083d
Merge branch 'catodon-pickup' into 'develop'
...
Catodon bug fixes pickup
Co-authored-by: Lhcfl <Lhcfl@outlook.com>
See merge request firefish/firefish!10676
2024-02-27 17:07:42 +00:00
naskya
a4603525aa
perf: remove charts ( close #10611 )
...
note:
- ActiveUsersChart is kept
- backend can be further refactored
2024-02-28 02:02:59 +09:00
老周部落
76738f6968
fix(backend): backport fix about resolver cannot parse some follows and notes request
2024-02-27 01:38:02 +08:00
老周部落
c6960710a6
fix(backend): UserFromURI failure shouldn't causes exception
2024-02-27 00:49:47 +08:00
Lhcfl
6a002fd785
fix: unrenote should only delete renotes, not quotes (Catodon #67 )
2024-02-26 20:44:14 +08:00
naskya
f468fe988d
fix (backend): check url properly
...
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2024-02-25 20:37:41 +09:00
naskya
78f3def837
chore: format
2024-02-22 03:26:37 +09:00
naskya
f2faba970f
Merge branch 'feat/add_import_renote_mastodon' into 'develop'
...
feat: add import renote from Mastodon to firefish
Co-authored-by: Buluo Laozhou <laozhoubuluo@gmail.com>
Closes #10833
See merge request firefish/firefish!10652
2024-02-21 18:25:47 +00:00
laozhoubuluo
19558eb775
feat: add import renote from Mastodon to firefish
2024-02-21 18:25:47 +00:00
naskya
ea5312148f
fix (backend): imports
2024-02-22 03:18:17 +09:00
naskya
c79248d07c
refactor (backend): make error logs more verbose
2024-02-22 03:18:05 +09:00
naskya
fb74a5eeda
feat: ability to make existing public posts private
...
Co-authored-by: sup39 <dev@sup39.dev>
2024-02-21 08:42:50 +09:00
naskya
9fbca3fd95
refactor: drop lang from user_profile
2024-02-21 03:27:33 +09:00
naskya
5574c8e482
chore: update dependencies
2024-02-20 17:45:48 +09:00
naskya
52ebc2d8dc
feat: emoji moderators
2024-02-20 17:41:45 +09:00
mei23
e38ee08ef9
fix (backend): validate ActivityPub Content-Type
...
Co-authored-by: naskya <m@naskya.net>
2024-02-17 18:42:38 +09:00
naskya
c0358daa83
chore (client): remove text art in HTML comments
2024-02-16 17:37:06 +09:00
Nanaka Hiira
b9c89aecca
feat (api): add /api/emojis endpoint
2024-02-16 17:30:16 +09:00
naskya
42dfe1e0c1
fix (backend): undefined reference
2024-02-16 14:17:22 +09:00
naskya
f61f152a2d
chore (backend): increase PostgreSQL default time limit
2024-02-16 04:17:28 +09:00
naskya
b665a5bccf
chore: accept 15 featured posts
2024-02-16 03:59:48 +09:00
naskya
ff35195611
refactor: remove auto NSFW media detection
2024-02-16 01:08:05 +09:00
naskya
20127ff2b6
chore: update dependencies
2024-02-15 23:37:49 +09:00
naskya
248cd96a39
feat: send the actual emoji reaction by the like button
2024-02-15 23:22:30 +09:00
Trojaner
a46d79d5da
fix: replace urls to git.joinfirefish.org with firefish.dev
...
Co-authored-by: naskya <m@naskya.net>
Co-authored-by: TrojanerHD <github@trojaner.dev>
2024-02-14 13:44:11 +00:00
naskya
09396e33a4
refactor: firefish-js & backend-rs imports
2024-02-13 00:40:46 +09:00
naskya
fe0bfe31b3
meta: backend/native-utils -> backend-rs
2024-02-12 23:14:23 +09:00
naskya
4356099fec
refactor: remove database migrations in Rust
2024-02-12 22:45:47 +09:00
naskya
5ff1afc4f2
dev: remove Cypress tests
...
We'll use mocha and ava
2024-02-12 22:25:55 +09:00
naskya
49fa0975ca
chore: format
2024-02-12 02:50:57 +09:00
naskya
dc66474eef
fix (api): fetch latest version from new repository
2024-02-12 02:49:36 +09:00
naskya
88058287e4
chore: upgrade dependencies (TypeScript)
...
holding @swc/cli and megalodon
2024-02-11 02:43:22 +09:00
naskya
777a5a6bf7
chore: fetch patrons from local file
2024-02-11 02:33:16 +09:00
naskya
151ec3523c
chore: specify nofollow,noarchive,nocache,noimageindex in addition to noindex
2024-02-11 02:31:53 +09:00
naskya
ff75e292d9
chore: format
2024-02-11 02:30:10 +09:00
MeiMei
cf5b42a160
feat: accept more signature algorithms like ECDSA/Ed25519
...
cf. 3272b908c6
Co-authored-by: naskya <m@naskya.net>
2024-02-09 04:27:28 +09:00
naskya
99c592f4dd
chore: format
2024-02-09 04:14:28 +09:00
sup39
78c9911788
refactor (backend): change !== null
to != null
...
This actually fixes some errors 🥴
Co-authored-by: naskya <m@naskya.net>
2024-02-09 04:12:47 +09:00
naskya
42fc787731
Merge branch 'develop' into 'develop'
...
fix feed query params
Co-authored-by: CGsama <CGsama@outlook.com>
See merge request firefish/firefish!10654
2024-02-07 11:34:38 +00:00
cg sama
16ab8cca36
fix feed query params
...
Co-authored-by: CGsama <CGsama@outlook.com>
2024-02-07 11:34:38 +00:00
naskya
e5dd94bfc9
Merge branch 'feat/pleroma-chat' into 'develop'
...
feat: support ChatMessage type
Co-authored-by: Lhcfl <Lhcfl@outlook.com>
See merge request firefish/firefish!10660
2024-02-07 11:33:41 +00:00
naskya
7e4fd0e28e
feat: support ChatMessage type
...
Co-authored-by: Lhcfl <Lhcfl@outlook.com>
2024-02-07 11:33:41 +00:00
naskya
ddde16cfdf
Merge branch 'language' into 'develop'
...
Add language picker to post form
Co-authored-by: sup39 <dev@sup39.dev>
Co-authored-by: Essem <smswessem@gmail.com>
Closes #9692
See merge request firefish/firefish!10616
2024-02-06 04:23:56 +00:00
naskya
57116f7371
fix: undefine unspecified parameters on profile updates
2024-01-11 10:26:30 +09:00
naskya
d240f8f4c3
upgrade dependencies (Rust)
...
Co-authored-by: Namekuji <nmkj@waah.day>
2024-01-11 01:21:46 +00:00
naskya
f8b45339fd
chore: copy langmap to backend
2023-12-27 05:53:25 +09:00
naskya
486c4a13bc
Revert "chore: symlinc langmap to backend"
...
This reverts commit 206d3c27f1
.
2023-12-27 05:52:55 +09:00
naskya
73802dfc9f
Merge branch 'develop' into language
2023-12-27 05:50:55 +09:00
naskya
206d3c27f1
chore: symlinc langmap to backend
2023-12-27 05:44:50 +09:00
naskya
cea65f58d7
fix: profile updates fail if language isn't specified
2023-12-27 05:41:11 +09:00
mei23
4a659e131a
fix: prohibit Apps to use admin/moderator permission
2023-12-27 03:33:48 +09:00
ThatOneCalculator
9f3d0a2656
refactor: 🔥 remove unused constants
2023-12-07 10:44:23 -08:00
ThatOneCalculator
73cf3b64e5
refactor: 🔥 remove local twemoji in backend assets, replace with @discordapp/twemoji
...
They ended up publishing svg in dist
2023-12-06 11:11:42 -08:00
ThatOneCalculator
6d602fa80a
chore: 🎨 format
2023-12-05 19:32:39 -08:00
Kainoa Kanter
30a33a7445
Merge branch 'fix/nodeinfo' into 'develop'
...
fix: nodeinfo 2.0 compliance
Co-authored-by: naskya <m@naskya.net>
Closes #10798
See merge request firefish/firefish!10643
2023-12-05 18:46:39 +00:00
ThatOneCalculator
623cadf981
Revert "chore: lint import order"
...
This reverts commit 8d3c35c0c6
.
2023-12-04 23:12:10 -08:00
ThatOneCalculator
a6f0143017
refactor: ♻️ isNan -> Number.isNan
2023-12-04 22:36:57 -08:00
ThatOneCalculator
34ce779309
chore: 🎨 format
2023-12-04 19:52:37 -08:00
ThatOneCalculator
e958834158
refactor: ♻️ Upgrade Twemoji to Emoji 15.0
...
Adds a new option to load Twemoji from the JSDelivr CDN (default) or from the server. For Twemoji stored on the server, they are grabbed directly from the @twemoji/api Github repo's assets, given they're no longer distributed in the @twemoji/api dist. No longer uses @discordapp/twemoji due to being unmaintained.
2023-12-04 19:50:44 -08:00
ThatOneCalculator
00f8924030
fix: 🐛 service worker notification badges
2023-12-04 19:07:26 -08:00
Kainoa Kanter
373ed7028e
Merge branch 'fix/unicode-15' into 'develop'
...
fix: ⬆️ switch from twemoji-parser to @twemoji/parser
See merge request firefish/firefish!10645
2023-12-04 04:45:42 +00:00
Kainoa Kanter
1d870fa78d
fix: ⬆️ switch from twemoji-parser to @twemoji/parser
2023-12-04 04:45:42 +00:00
blueb
e1dcba9aba
fix ignoring person._misskey_summary on updating remote profiles
2023-12-04 04:45:33 +00:00
mei23
831b3d4ee2
fix: filter featured collection
...
Co-authored-by: naskya <m@naskya.net>
2023-12-02 20:25:36 +09:00
naskya
e8b21b593a
chore: remove unneeded files
2023-12-02 06:23:37 +09:00
naskya
7d5bbfa180
Merge branch 'develop' into language
2023-12-01 07:16:58 +09:00
Essem
fe16b6e41d
fix: Don't provide lang when no language is selected
2023-11-29 00:32:23 -06:00
naskya
3570406b05
fix: nodeinfo 2.0 compliance
2023-11-29 04:22:11 +09:00
naskya
7803aa80d0
chore: format
2023-11-29 04:05:57 +09:00
Essem
8555496146
feat: ✨ Add "no language" option to language picker
2023-11-28 10:47:48 -06:00
naskya
b87a28622a
Revert "fix: ♻️ add data.localOnly back to dontFederateInitially check"
...
Closes #10817
This reverts commit 31ccedf177
.
2023-11-29 00:48:10 +09:00
ThatOneCalculator
a6aa7d2b74
chore: 🔥 remove unused ID methods
2023-11-26 12:37:35 -08:00
ThatOneCalculator
8d3c35c0c6
chore: lint import order
2023-11-26 12:33:46 -08:00
Kainoa Kanter
c35dbe2645
Merge branch 'more-links' into 'develop'
...
feat: ability to pin custom pages to the help menu
Co-authored-by: naskya <m@naskya.net>
See merge request firefish/firefish!10640
2023-11-26 20:14:02 +00:00
naskya
e7e6ae69e0
feat: ability to pin custom pages to the help menu
2023-11-26 20:14:02 +00:00
ThatOneCalculator
2f7b3070ee
chore: format
2023-11-26 12:06:21 -08:00
Laura Hausmann
3272b908c6
fix: 🔒 Fix HTTP signature validation
...
Co-authored-by: perillamint <perillamint@silicon.moe>
Co-authored-by: yunochi <yuno@yunochi.com>
2023-11-26 12:04:17 -08:00
naskya
dadb45f609
fix: syntax error
...
at least this compiles
2023-11-27 01:11:07 +09:00
ThatOneCalculator
a256f48b74
fix
2023-11-24 18:06:24 -08:00
ThatOneCalculator
a8b33b5415
fix: 🐛 SOMETHING_HAPPENED_IN_PROMISE when LANGS isn't found
2023-11-24 18:04:06 -08:00
naskya
f8e935b120
Merge branch 'develop' into firefish-language
2023-11-22 22:02:27 +09:00
naskya
24deab1743
chore: remove unused dependencies
2023-11-18 19:21:23 +09:00
naskya
2dcc46a9e3
chore: remove language detection from backend
2023-11-17 17:50:20 +09:00
naskya
558867dac5
Merge branch 'develop' into firefish-language
2023-11-17 16:54:48 +09:00
naskya
2d9d6e9fb7
chore: lint
2023-11-17 05:18:19 +09:00
naskya
97bb495636
chore: upgrade dependencies (except for @swc/core and megalodon)
2023-11-17 05:15:02 +09:00
naskya
845f08893f
fix: upgrade AiScript!
...
There are braking changes in the AiScript syntax, so existing plugins must alse be upgraded
Also, I didn't include the function that can call remote servers' API (which is present in the latest Misskey)
Co-authored-by: syuilo <syuilotan@yahoo.co.jp>
Co-authored-by: Sayamame-beans <61457993+Sayamame-beans@users.noreply.github.com>
2023-11-17 05:04:05 +09:00
ThatOneCalculator
31ccedf177
fix: ♻️ add data.localOnly back to dontFederateInitially check
...
ref: https://git.joinfirefish.org/firefish/firefish/-/merge_requests/10639#note_2651
2023-11-12 10:46:28 -08:00
nakkaa
8ef1130330
fix: add missing entry in manifest.json so that PWA can use it
2023-11-11 02:20:33 +09:00
cg sama
7fa737e8b8
fix import notes federated initially
...
Co-authored-by: CGsama <CGsama@outlook.com>
2023-11-10 15:32:23 +00:00
naskya
7323f4f8a1
Merge branch 're2-update' into 'develop'
...
Fix build on node 21
Co-authored-by: Jegler <jegler@heckin.how>
See merge request firefish/firefish!10635
2023-11-07 14:02:26 +00:00
Jegler
fbfa4cd41f
Fix build on node 21
2023-11-07 14:02:25 +00:00
naskya
70503d698f
fix: reactions_not_public condition
2023-10-31 14:00:54 +09:00
naskya
adee17b85a
chore: organize backend imports
...
* remove unused/duplicate imports
* replace paths like "../../../define.js" to be more readable
* add missing @types packages
2023-10-30 18:06:08 +09:00
ThatOneCalculator
b8a85257a0
refactor: 🔥 remove unused reference to MisskeyClient
2023-10-29 14:02:14 -07:00
ThatOneCalculator
981165ae8b
feat: ✨ Support for _misskey_summary
...
Co-authored-by: kakkokari-gtyih <daisho7308+f@gmail.com>
ref: https://github.com/misskey-dev/misskey/pull/12184
2023-10-29 13:37:28 -07:00
naskya
cb53dab8bd
fix: check isIndexable in built-in post search
2023-10-29 10:03:07 +00:00
Kainoa Kanter
abceee2823
Merge branch 'develop' into 'develop'
...
Fix use of wrong library for CBOR authentication object
Co-authored-by: PrivateGER <privateger@privateger.me>
See merge request firefish/firefish!10629
2023-10-27 17:57:23 +00:00
naskya
9f1a7d90c6
remove integrations from nodeinfo
2023-10-27 15:56:57 +00:00
naskya
27d7e456cd
fix: targetLang is xx-yy
or xx_yy
2023-10-26 03:03:38 +00:00
naskya
993340bae6
fix: overlooked fix in cdf839bc
2023-10-23 18:32:49 +09:00
PrivateGER
64b83ddb9f
Fix use of wrong library for CBOR authentication object
2023-10-22 21:23:52 +02:00
naskya
e81ed199ae
Revert "chore: upgrade biome + lint & format"
...
This reverts commit a1cd9f73a1
.
2023-10-22 17:33:40 +09:00
ThatOneCalculator
a1cd9f73a1
chore: upgrade biome + lint & format
2023-10-19 17:10:30 -07:00
ThatOneCalculator
53949b668a
docs: 📝 Misskey -> Firefish in documentation/comments/WebAuthn name
2023-10-19 17:01:02 -07:00
naskya
d1bb6e02e9
hotfix: don't use upstream megalodon for now
2023-10-19 04:59:38 +09:00
naskya
f8db9119c6
Merge branch 'develop' into firefish-language
2023-10-17 12:44:55 +09:00
ThatOneCalculator
d09a77cd2a
chore: format
2023-10-16 18:56:15 -07:00
Erin Shepherd
c4ec2d0942
fix: Refetch user keys when HTTP Signature validation fails
...
Co-authored-by: Erin Shepherd <erin.shepherd@e43.eu>
2023-10-17 01:27:26 +00:00
naskya
bdf3311402
fix: cache muted words
2023-10-17 07:55:07 +09:00
naskya
ae637ec85b
fix: consider hard mutes in antennas
2023-10-17 07:34:19 +09:00
naskya
93769b79b1
chore: minor refactor of check-word-mute
2023-10-17 07:28:58 +09:00
naskya
3b9f161251
chore: minor refactor of check-hit-antenna
2023-10-17 07:14:01 +09:00
naskya
2efb22de40
fix typo
2023-10-17 04:56:29 +09:00
naskya
cdf839bcc8
Remove integrations
2023-10-16 17:05:32 +00:00
Essem
6312935a54
fix: 🌐 Change Simplified/Traditional Chinese names
2023-10-15 12:55:51 -05:00
Essem
be163498c0
feat: 🌐 Add language picker to post form
...
This also refactors the langmap and makes many other small language-related changes to get it working.
Fixes #9692
2023-10-05 22:28:12 -05:00
naskya
92758a29f1
partially fix Mastodon API
2023-10-05 00:56:56 +09:00
Kainoa Kanter
92c45ff02f
Merge branch 'refactor/upstream-megalodon' into 'develop'
...
refactor: ♻️ use upstream megalodon
See merge request firefish/firefish!10605
2023-10-03 07:54:13 +00:00
Kainoa Kanter
a9167c0265
refactor: ♻️ use upstream megalodon
2023-10-03 07:54:13 +00:00
ThatOneCalculator
af730e75b6
fix: 🐛 strange heart reaction behavior
2023-10-02 22:31:04 -07:00
naskya
b121e4bc9d
fix format/lint command
2023-10-03 01:32:36 +09:00