Commit graph

365 commits

Author SHA1 Message Date
Hazelnoot
07295ad62d merge: Split descriptions. (!1167)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1167

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-07-27 15:29:41 +00:00
Hazelnoot
e78c4d99f6 fix database type of chat_message.text 2025-07-26 20:10:54 -04:00
piuvas
c97fafa071
requested changes. 2025-07-16 12:43:35 -03:00
piuvas
1696e31797
initial split descriptions impl. 2025-07-15 18:37:29 -03:00
bunnybeam
45bf8262aa
implement optional confetti on announcements 2025-07-07 20:03:28 +01:00
Lilly Schramm
0f6c5d27ec fix: Do Not NULL Descriptions 2025-06-30 08:47:44 +02:00
dakkar
13d045d813 merge: misskey 2025.5.0 (!1028)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1028

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-06-29 09:54:12 +00:00
Marie
fad58ddc1c merge: unique constraint for registry_item - fixes #1121 (!1139)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1139

Closes #1121

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-06-28 22:49:51 +00:00
Marie
f4fe14f5b7 merge: feat: Add Bio Length Setting (!1136)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1136

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-06-28 22:47:41 +00:00
Hazelnoot
7200c3d6c8 implement note mutings and move favorited/renoted status into note entity directly 2025-06-23 13:47:04 -04:00
dakkar
3aa5ec713c unique constraint for registry_item - fixes #1121
we remove all duplicate items from the registry, keeping the
most-recently updated one (which presumably is the one that the users
expect to be used)

then we use `upsert` instead of the more complicated previous logic,
which was subject to races
2025-06-22 13:10:22 +01:00
Lilly Schramm
4d077732ac refactor: Remove Migration Name 2025-06-22 01:39:53 +02:00
Lilly Schramm
2329618418 refactor: Remove Migration Name 2025-06-22 01:39:47 +02:00
Lilly Schramm
2ac5f2f412 refactor: Remove Migration Name 2025-06-22 01:31:55 +02:00
Lilly Schramm
df77f339ec feat(backend): Add Config Option For Bio Length 2025-06-22 01:02:20 +02:00
dakkar
3ebf9c4a71 Merge branch 'develop' into upstream/2025.5.0 2025-06-10 14:02:32 +01:00
Hazelnoot
d0cf1cc15f remove IDX_instance_host_filters as it slowed down queries more than it helped 2025-06-06 23:35:25 -04:00
Hazelnoot
5f51f7878e create IDX_note_url over note.url 2025-06-06 13:03:25 -04:00
Hazelnoot
9dc74f6f33 add threadId to IDX_note_for_timelines 2025-06-05 00:30:27 -04:00
Hazelnoot
dae544b353 merge: Rework queries and add indexes to improve timeline performance (!1091)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1091

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-06-04 12:40:13 +00:00
Hazelnoot
fb61668866 create note/instance statistics 2025-06-03 19:15:19 -04:00
Hazelnoot
d34c4df031 create IDX_instance_host_filters 2025-06-03 19:08:20 -04:00
Hazelnoot
99e3d45062 create IDX_note_for_timelines 2025-06-03 19:05:24 -04:00
Hazelnoot
8802fbb34d fix query plans with IDX_instance_host_key 2025-06-03 18:47:02 -04:00
Hazelnoot
9d45041bd8 replace index on note.userHost 2025-06-03 18:43:42 -04:00
piuvas
1120ad19ae
merge develop and fix conflicts. 2025-06-03 10:56:10 -03:00
Hazelnoot
e1504cfb88 merge: Persisted instance blocks (!1068)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1068

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-06-01 17:25:52 +00:00
Hazelnoot
53ec45482d use more robust fixup in 1748128176881-add_instance_foreign_keys.js 2025-05-30 07:46:23 -04:00
dakkar
46bb75d274 Merge branch 'develop' into upstream/2025.5.0 2025-05-30 11:13:37 +01:00
Hazelnoot
548000bb98 fix the AddMissingIndexes1747938628395 migration
- Delete duplicate list memberships
- Drop indexes if they already exist
2025-05-29 17:20:11 -04:00
Hazelnoot
070084889f re-analyze all tables affected by new indexes 2025-05-28 21:31:40 -04:00
Hazelnoot
9e282b1d10 fix arrays in migration add_instance_block_columns 2025-05-28 21:31:40 -04:00
Hazelnoot
c0ead9cf11 remove broken HTTP users before running add_instance_foreign_keys migration 2025-05-28 21:31:40 -04:00
Hazelnoot
51128028f4 add foreign keys to following where instance is referenced 2025-05-28 21:31:40 -04:00
Hazelnoot
59099a2b2a add foreign keys to note/user where instance is referenced 2025-05-28 21:31:40 -04:00
Hazelnoot
45e5749cca add instance properties for persisted block data 2025-05-28 21:31:39 -04:00
Hazelnoot
566f92ab73 add IDX_instance_host_key 2025-05-28 21:31:39 -04:00
piuvas
3884f2fa6a
fix generated migration. 2025-05-27 08:09:42 -03:00
piuvas
ca32c231d0
initial link attributions work. 2025-05-26 22:44:29 -03:00
Hazelnoot
c510cfa312 make meta.defaultLike non-nullable 2025-05-22 16:08:26 -04:00
Hazelnoot
418aea1eef synchronize database entities and code models 2025-05-22 14:34:04 -04:00
dakkar
bd90a5aeaa Merge tag '2025.5.0' into upstream/2025.5.0 2025-05-13 11:29:59 +01:00
Hazelnoot
e7ee2cc398 add configurable timeout for note translations 2025-05-12 21:48:21 -04:00
dakkar
7b987d3745 enforce username uniqueness for local instance 2025-05-09 19:06:43 +01:00
anatawa12
406406328c
Fix 1745378064470-composite-note-index.js (#15968) 2025-05-06 20:15:26 +09:00
anatawa12
1af98b690b
feat: CREATE INDEX CONCURRENTLY for "userId" "id" composite note index if admin wish. (#15915)
* chore: CREATE INDEX CONCURRENTLY for "userId" "id" composite note index

* chore: remove { concurrent: true } and comment why

* update comment

* feat: add MISSKEY_MIGRATION_CREATE_INDEX_CONCURRENTLY option

* fix: spdx license header

* alter comment

* chore: improve behavior when migration failure

* docs(changelog): 2025.4.1 で追加されたインデックスの再生成をノートの追加しながら行えるようになりました

* ちょっと表現を変更

---------

Co-authored-by: 饺子w (Yumechi) <35571479+eternal-flame-ad@users.noreply.github.com>
2025-05-03 12:57:50 +09:00
Hazelnoot
8dce293dff add setting to disable proxy account (resolves #766) 2025-05-01 12:07:38 -04:00
anatawa12
795b8366b5
Block deliver by software (#15727)
* feat(backend): suspend instance by software

* feat(frontend): suspend instance by software

* docs(chaangelog): 連合先のソフトウェア及びバージョン名により配信停止を行えるようになりました

* chore: 例で使うバージョン名を変える

* fix: broken lockfile

* fix: broken lock file

* fix broken lock file

* update changelog

* fix dependencies

* Update CHANGELOG.md

---------

Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2025-05-01 17:58:34 +09:00
Hazelnoot
a4dd19fdd4 merge upstream again 2025-04-24 14:23:45 -04:00
饺子w (Yumechi)
7a41cfe28b
enhance(backend): DB note (userId) インデクス -> (userId, id) 複合インデクスにする (#15879)
* enhance(backend): use composite index for ordering notes by user

Signed-off-by: eternal-flame-AD <yume@yumechi.jp>

* fixup! enhance(backend): use composite index for ordering notes by user

---------

Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
2025-04-23 14:29:42 +09:00