naskya
6207e4c014
chore: make subscription types enum
2024-06-05 07:14:13 +09:00
naskya
fedc51832a
Merge branch 'develop' into iceshrimp_mastodon
2024-06-05 05:25:08 +09:00
naskya
9c7c00482e
style (backend): match log colors
2024-06-04 11:16:10 +09:00
naskya
6f6cf0cc88
chore (backend): show less unhelpful slow query warnings
2024-06-04 10:50:41 +09:00
naskya
ebcf75dcd2
fix (backend): show all tracing logs
2024-06-04 10:15:39 +09:00
Lhcfl
37998e8bc3
Ensure unique operationId
2024-06-02 23:54:50 +08:00
naskya
c0f6106633
chore: allow GET request for /api/latest-version
2024-06-02 08:55:17 +09:00
naskya
ff5bb2ed3d
fix (backend): don't use findOneBy
to check existence
2024-06-02 07:28:37 +09:00
naskya
071ba83704
fix (backend): replace deprecated exist
method
2024-06-02 07:23:07 +09:00
naskya
c64119108e
fix (backend): use the exact same time for id and createdAt
2024-06-02 07:11:39 +09:00
naskya
74cf09c5c8
chore: export searchNotes function
2024-05-31 22:21:54 +09:00
naskya
6209fdd242
Merge branch 'develop' into iceshrimp_mastodon
2024-05-30 07:11:44 +09:00
naskya
890ca846d0
chore (backend-rs): documents, organize exports, typo fixes
2024-05-30 07:07:01 +09:00
naskya
db4e0e931b
fix (backend): make sure to use the exact same time for id and createdAt
2024-05-29 18:29:48 +00:00
Eana Hufwe
e64cd1ea65
chore: code formatting
2024-05-29 18:29:29 +00:00
Eana Hufwe
1214d29302
fix: status.reblogged signifies if the status is reblogged by the logged in user, not for the current status
2024-05-29 18:29:27 +00:00
Eana Hufwe
b510ec2ef3
fix: index
2024-05-29 18:28:46 +00:00
Eana Hufwe
3d2f8dbfb8
fix: object typing
2024-05-29 18:28:46 +00:00
Eana Hufwe
c2fdc0bd51
fix: IceCubes wants an int for ID despite the docs says string
2024-05-29 18:28:45 +00:00
Eana Hufwe
ffa53c61fa
fix: parsing payload when registering push notification subscriptions
2024-05-29 18:28:44 +00:00
Eana Hufwe
65ce56cc08
fix: parsing payload when registering push notification subscriptions
2024-05-29 18:28:43 +00:00
老周部落
78a18e9000
feat: qr codes for note sharing
2024-05-29 22:55:46 +08:00
Eana Hufwe
33b45d1d22
fix: do not make query if no notification type is requested
2024-05-29 23:46:06 +09:00
Eana Hufwe
440d961ab4
fix: multiple redirect uri support
2024-05-29 23:44:35 +09:00
naskya
605f8d5e29
fix: typo
...
ref: https://docs.joinmastodon.org/entities/V1_Instance/#video_frame_rate_limit
2024-05-29 23:42:21 +09:00
naskya
6f20b69021
fix: import .js
2024-05-29 23:42:12 +09:00
naskya
abaed389f9
chore: remove from/toMastodonId functions
2024-05-29 23:41:55 +09:00
naskya
1df3680842
chore: port sql-regex-escape to backend-rs
2024-05-29 23:41:39 +09:00
naskya
ee33337a3f
chore: distinguish between database columns and relations
2024-05-29 23:41:29 +09:00
naskya
e143f0d7ac
chore: prevent unexpected variable scope leaks
2024-05-29 23:41:21 +09:00
naskya
bedf4cb791
chore: import isQuote from backend-rs
2024-05-29 23:41:12 +09:00
naskya
c1c3d8a8e0
chore: format
2024-05-29 23:40:41 +09:00
naskya
bd351912ed
chore: use type imports
2024-05-29 23:40:31 +09:00
Laura Hausmann
3e878984bd
refactor: adding more fixes from Iceshrimp
...
Co-authored-by: CookiLover311 <jacoco@vivaldi.net>
2024-05-29 23:39:54 +09:00
Laura Hausmann
f282549900
refactor: Iceshrimp’s Mastodon API implementation with original extensions
...
Co-authored-by: Eana Hufwe <eana@1a23.com>
Co-authored-by: AkiraFukushima <h3.poteto@gmail.com>
2024-05-29 23:39:22 +09: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
naskya
431a5d47cd
fix (backend): use correct Redis prefix ( close #10940 )
2024-05-23 21:39:50 +09: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
Lhcfl
fc8357302d
fix: Scheduled post cannot send post with attachments
2024-05-22 14:49:22 +08:00
naskya
02361b6dc6
fix (backend): remove unused parameter from manifest
2024-05-21 09:59:55 +09: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
cf0c7b4687
chore (backend): rename the job
2024-05-20 20:01:25 +09: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
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
61562a0943
refactor (backend-rs): use async redis commands
2024-05-18 13:20:43 +09: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
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
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
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
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
8f8d62aa58
chore (backend): organize imports
2024-05-11 04:52:59 +09: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
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