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: 1695348946
-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