yumeko
4823abd3a9
Add usageHint field to DriveFile, and fill accordingly when operating on Persons
2024-04-19 03:41:36 +03: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
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
f412d7ace3
chore (backend): remove 'quiet' settings
2024-04-15 04:31:04 +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
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
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
83c15b1026
refactor (backend): port checkWordMute to backend-rs
...
Co-authored-by: sup39 <dev@sup39.dev>
2024-04-12 15:43:17 +09:00
naskya
452e0b921c
refactor (backend): port acct to backend-rs
2024-04-12 11:10:52 +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
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
9df08ea16a
refactor (minor): replace substr with substring
2024-04-07 19:10:26 +09:00
naskya
611a2f02b9
chore: format
2024-03-28 14:26:09 +09:00
Nyan Helsing
a98a26e901
chore: format
...
Co-authored-by: deathg.rip <josh@deathg.rip>
2024-03-28 05:25:33 +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
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
naskya
f7a8a58cb2
Revert "refactor: remove note.mentionedRemoteUsers column"
...
This reverts commit 65797a934a
.
2024-03-18 03:29:19 +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
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
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
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
1d0223e653
chore: format
2024-03-17 00:34:57 +09:00
sup39
b6e55173e2
refactor (backend): rename meta columns
2024-03-02 13:13:03 +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
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
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
a4603525aa
perf: remove charts ( close #10611 )
...
note:
- ActiveUsersChart is kept
- backend can be further refactored
2024-02-28 02:02:59 +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
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
49fa0975ca
chore: format
2024-02-12 02:50:57 +09:00
naskya
ff75e292d9
chore: format
2024-02-11 02:30:10 +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
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
73802dfc9f
Merge branch 'develop' into language
2023-12-27 05:50:55 +09:00
ThatOneCalculator
6d602fa80a
chore: 🎨 format
2023-12-05 19:32:39 -08: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
mei23
831b3d4ee2
fix: filter featured collection
...
Co-authored-by: naskya <m@naskya.net>
2023-12-02 20:25:36 +09:00
naskya
7d5bbfa180
Merge branch 'develop' into language
2023-12-01 07:16:58 +09:00
naskya
7803aa80d0
chore: format
2023-11-29 04:05:57 +09: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
8d3c35c0c6
chore: lint import order
2023-11-26 12:33:46 -08: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
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
cg sama
7fa737e8b8
fix import notes federated initially
...
Co-authored-by: CGsama <CGsama@outlook.com>
2023-11-10 15:32:23 +00: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
naskya
f8db9119c6
Merge branch 'develop' into firefish-language
2023-10-17 12:44:55 +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
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
ThatOneCalculator
cd7c10b7eb
refactor: 🍱 use webp for error images instead of avif
...
Ended up having better compression and wider compatibility
2023-09-25 20:57:14 -07:00
naskya
87c54575c1
filter out MFM syntaxes before detecting the post language
2023-09-24 17:50:23 +09:00
ThatOneCalculator
260f444fb8
chore: 🎨 format
2023-09-21 20:21:15 -07:00
Essem
4aceb2e119
fix: 🐛 normalize post language strings
...
ref: !10603
NOTE: if you upgraded to 4a7bad11c6
but before this commit, manually download and run this migration: 0f5e09d3ae/packages/backend/migration/1695348946091-normalize-locales.js
2023-09-21 19:42:10 -07:00
Kainoa Kanter
012fe2c920
Revert "Merge branch 'fix/normalize-lang-locales' into 'develop'"
2023-09-22 02:36:57 +00:00
Essem
0efa3e170c
Normalize post language strings
2023-09-22 02:33:56 +00:00
Essem
4a7bad11c6
feat: ✨ Add post language data to backend and API
2023-09-22 01:29:33 +00:00
Kainoa Kanter
4565867b8b
perf: ⚡ Replace JSDOM with Happy DOM
2023-09-08 03:24:01 +00:00
Kainoa Kanter
6d1965ce94
feat: ✨ indexable
User property
2023-09-04 02:34:04 +00:00
Namekuji
fc97614782
fix: release redis locks
2023-09-02 19:22:13 +00:00
ThatOneCalculator
f72c9b818c
fix: 💡 biome still uses rome-ignore
2023-09-02 11:44:31 -07:00
ThatOneCalculator
1deeb78878
build: ♻️ Rome -> Biome
...
Rome is now discontinued, and Biome has taken its place
2023-09-01 21:16:14 -07:00
ThatOneCalculator
68dea6f0c3
fix: 🐛 more strange unlock calls
2023-09-01 19:26:53 -07:00
ThatOneCalculator
805230341e
fix: 🐛 unlock undefined
2023-09-01 19:19:42 -07:00
ThatOneCalculator
c7f98e381c
fix: ✏️ "can not" -> "cannot"
2023-08-22 19:52:11 -07:00
Laura Hausmann
29bb1453fc
Fix local-only posts for timeline websocket stream
2023-08-19 20:59:21 -04:00
Namekuji
dc2fde0a75
fix: remove brackets
2023-08-18 06:22:51 -04:00
Namekuji
ad93bc80f8
refactor: remove regex
2023-08-18 05:51:41 -04:00
Namekuji
c3944f49ef
fix: exclude ula and lla
2023-08-18 05:45:10 -04:00
Namekuji
cd75d65271
fix: exclude localhost
2023-08-18 05:01:19 -04:00
Namekuji
5520c6ff3d
fix: veiry url
2023-08-18 04:57:19 -04:00
ThatOneCalculator
ced8f56e34
fix: 🚑 proper conditional
...
I need sleep... or coffee
2023-08-09 19:46:56 -07:00
ThatOneCalculator
cf8a733927
refactor: 🚸 only index public posts
2023-08-09 19:39:01 -07:00
Namekuji
738b4933ae
fix: generate stream id with timestamp
2023-08-06 02:34:44 -04:00
CGsama
109ed0aa80
import all misskey self note thread and allow import multiple times to restore missing parts
2023-07-31 15:42:31 -04:00
Kainoa Kanter
3e024066a1
Merge branch 'fix-ios-video' into 'develop'
...
fix iOS video playback (fixes #10517 )
Closes #10517
See merge request firefish/firefish!10540
2023-07-30 20:38:57 +00:00
John Regan
432f840efe
fix iOS video playback ( fixes #10517 )
2023-07-30 20:38:57 +00:00
ThatOneCalculator
d76b4f2321
fix: 🐛 rel=me verification with multiple rels besides me
...
Closes #10595
2023-07-30 13:30:25 -07:00
ThatOneCalculator
01c29cef20
chore: 🎨 format
2023-07-28 11:35:58 -07:00
Kainoa Kanter
19762bd955
Merge branch 's3-logging' into 'develop'
...
Log the concatenated S3 url if constructing the S3 client fails.
See merge request firefish/firefish!10531
2023-07-28 18:30:53 +00:00
yumeko
72d194f7a1
Fix indents
2023-07-27 12:54:42 +03:00
yumeko
a4838c7ee4
Merge branch firefish:develop into fix/10404-object-storage-prefix
2023-07-27 09:53:16 +00:00
Viv Lim
74179aafdf
Log the assembled S3 url if constructing a S3 client fails.
...
I was configuring an instance and didn't notice that I had pasted a space into the `endpoint` field. It was not obvious from the logs why the URL was invalid.
2023-07-24 20:34:37 -07:00