1
0

352 Commits

Author SHA1 Message Date
Leafus 04178a2ae5 feat: [frontend / backend / sdk] a bunch of changes
backend:
- Validate registrationWord on backend
- Add maxRegPerIP rate limit how much accounts can be created per-ip

frontend:
- Add support for bulk approval rejection / acception
- Address unsafe cookies-js defaults
- Address addition of maxRegPerIP

sdk:
- Type definitions
2025-11-20 16:57:33 +01:00
Leafus ab15656458 feat: [frontend / backend] update git urls, update userid watermark, authenticate image proxy and url previews 2025-11-18 05:08:44 +01:00
Leafus 7b420acff5 fix: add music and registration word migration script
This should have been two files, AddMusicFieldsToMeta.js and
AddRegWordFieldsToMeta.js but it's a bit too late to do that now because
it will run twice.

See if we can fix this later as it makes it difficult to cherry pick the
music patch or registration word patch.
2025-08-25 00:11:09 +09:30
Leafus d2fb093a35 feat: add music to user profiles (#7) 2025-08-25 00:11:09 +09:30
Leafus 9599b802a4 feat: add music to front page of instance (#6) 2025-08-25 00:11:09 +09:30
Leafus 400354237c feat: long instance descriptions (#5) 2025-08-25 00:11:08 +09:30
Leafus df322ebadc feat: require a special registration word in registration reason (#2)
A crude way to prune out people who don't read the rules. The hint is in
the bottom of the rules generally.
2025-08-25 00:11:08 +09:30
Leafus 06ff35a89f docs: change branding Pawkey (#1)
- Change string instances from Sharkey to Pawkey
- Change logos and art to Pawkey
- Change repository URL where possible to our git repo
- Puppy > Shonks
- Change repo in compose_example.yml

Co-Authored-By: Bluey Heeler <bluey@pawkey.dev>
2025-08-25 00:11:03 +09:30
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
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
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
Hazelnoot 8dce293dff add setting to disable proxy account (resolves #766) 2025-05-01 12:07:38 -04: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
Hazelnoot 7132696285 Merge tag '2025.4.0' into merge/2025-03-24
# Conflicts:
#	.github/workflows/storybook.yml
#	locales/index.d.ts
#	package.json
#	packages/backend/src/models/json-schema/role.ts
#	packages/frontend/src/components/MkPageWindow.vue
#	packages/frontend/src/pages/admin/roles.editor.vue
#	packages/frontend/src/pages/admin/roles.vue
#	packages/frontend/src/pages/settings/preferences.vue
#	packages/frontend/src/pages/settings/privacy.vue
#	packages/frontend/src/pages/timeline.vue
#	packages/frontend/src/pref-migrate.ts
#	packages/frontend/src/ui/_common_/common.vue
#	packages/frontend/src/ui/deck.vue
#	packages/frontend/src/ui/universal.vue
#	packages/misskey-js/src/autogen/types.ts
2025-04-13 13:07:09 -04:00
syuilo c500e4392a hideNotesInSensitiveChannel -> excludeNotesInSensitiveChannel 2025-04-08 20:50:38 +09:00
Hazelnoot 3eeb53ff63 Merge branch 'misskey-develop' into merge/2025-03-24
# Conflicts:
#	package.json
#	packages/backend/src/core/AccountMoveService.ts
#	packages/frontend/src/components/MkDateSeparatedList.vue
#	packages/misskey-js/etc/misskey-js.api.md
#	pnpm-lock.yaml
2025-04-03 22:06:37 -04:00
anatawa12 cab82452ec Copy role on move (#15745)
* feat(backend): copyOnMoveAccount

* feat(endpoints): copyOnMoveAccount

* feat(frontend): copyOnMoveAccount

* docs(changelog): アカウントのマイグレーション時に古いアカウントからロールをコピーできるようになりました。

* fix: spdx header for migration

* Update locales/ja-JP.yml

* copyOnMoveAccount -> preserveAssignmentOnMoveAccount

* fix: check for preserveAssignmentOnMoveAccount

---------

Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2025-04-03 19:22:49 +09:00
Hazelnoot dab9b518e4 merge from misskey-develop 2025-04-02 22:29:14 -04:00
Nanashi. 98eadd7093 feat: アンテナでセンシティブなチャンネルからのノートを除外できるように (#15346)
* feat(db): マイグレーションを追加

* feat(backend): カラムの定義を追加

* wip

* feat: フラグを設定出来るように

* feat: /notesエンドポイントを対応

* feat: websocketを対応

* test: テストを追加

* docs: CHANGELOGを更新

* docs: CHANGELOGの追加場所を修正

* chore: api.jsonを更新

* docs(CHANGELOG): General欄に移動

* docs: フォーマットを揃える

* chore: クエリを削除

* revert: 英訳を消す

* chore: note.channelを追加するところを変える

* docs: CHANGELOGを更新する

* docs(CHANGELOG): 2025.3.2に移動

* chore: changelogを下に移動

* ci: CI再実行用の空コミット

---------

Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2025-04-02 16:01:24 +09:00
Hazelnoot 949baa9b8b Revert "feat: google analytics (#15451)"
This reverts commit 2b6638e1
2025-03-25 17:30:28 -04:00
Hazelnoot d8908ef2d8 merge upstream 2025-03-25 16:14:53 -04:00
syuilo f1f24e39d2 Feat: Chat (#15686)
* wip

* wip

* wip

* wip

* wip

* wip

* Update types.ts

* Create 1742203321812-chat.js

* wip

* wip

* Update room.vue

* Update home.vue

* Update home.vue

* Update ja-JP.yml

* Update index.d.ts

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Update CHANGELOG.md

* wip

* Update home.vue

* clean up

* Update misskey-js.api.md

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* lint fixes

* lint

* Update UserEntityService.ts

* search

* wip

* 🎨

* wip

* Update home.ownedRooms.vue

* wip

* Update CHANGELOG.md

* Update style.scss

* wip

* improve performance

* improve performance

* Update timeline.test.ts
2025-03-24 21:32:46 +09:00
Hazelnoot bb3d710927 allow unsigned fetch for all system users 2025-03-16 10:49:16 -04:00
Hazelnoot a35c2f214b convert Authorized Fetch to a setting and add support for hybrid mode (essential metadata only) 2025-03-16 10:07:57 -04:00
饺子w (Yumechi) a710af54ed fix(backend): fix ApPersonService unsound type cast (#15629)
Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
2025-03-09 00:11:34 +00:00
饺子w (Yumechi) 5be5c8bec4 fix(backend): fixup migration for incorrect extraction on system accounts table (#15613)
Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
2025-03-06 23:47:30 +00:00