Commit graph

35 commits

Author SHA1 Message Date
KMY(雪あすか)
a7dec3c59b
Add: スタンプにブロック・アカウントドメインブロックを反映 (#256)
* Add: スタンプにブロック・アカウントドメインブロックを反映

* Fix: 条件
2023-11-08 13:32:14 +09:00
KMY(雪あすか)
24909f9760
Change: #185 『スタンプをつけられた人』ではなく『スタンプをつけた人』のフォロワーにスタンプを転送 (#232)
* Change: #185 『スタンプをつけられた人』ではなく『スタンプをつけた人』のフォロワーにスタンプを転送

* Fix: 絵文字削除が届かない問題

* Test: 送る方にも同じテストを追加
2023-11-04 21:27:59 +09:00
KMY(雪あすか)
e2bc9be0e8 Merge pull request from GHSA-c7p6-c688-fhgp
* FixSec: スタンプを経由してカスタム絵文字のデータを改竄できる問題

* Fix: 相乗り絵文字が受け取れない問題とテスト

* Change: 相乗りスタンプは常にオリジナルの情報を参照

* Fix: uriまで偽装した場合に対応
2023-10-26 08:52:14 +09:00
KMY(雪あすか)
5497e2ae5d
Add: カスタム絵文字のエイリアス名を連合 (#135)
* Add: カスタム絵文字のエイリアス名を連合

* Fix test
2023-10-22 09:09:01 +09:00
KMY
243f1dbe8e Fix: リモートから自分のサーバーの絵文字を使ってスタンプをつけられた時、既存の絵文字が消えてしまう場合がある問題 2023-10-16 19:04:10 +09:00
KMY
842a93243a スタンプに認証情報を追加 2023-10-11 09:59:00 +09:00
KMY
db98ef8a44 #71 フレンドサーバーにスタンプを送信 2023-10-10 19:52:36 +09:00
KMY
f6780a2397 Fix: ライセンスの更新処理 2023-10-07 12:22:53 +09:00
KMY
09020c6b21 Fix: すでに同じカスタム絵文字が存在する場合、スタンプを受け入れない問題 2023-10-07 12:13:18 +09:00
KMY(雪あすか)
f0fac9be8f 他サーバーからカスタム絵文字によるスタンプを受け取った時に、ライセンス情報を保存する+ついでにテスト (#65)
* Wip: スタンプを他サーバーから受信するテスト作成、カスタム絵文字にdomainプロパティを追加

* Wip: ドメインに関するイレギュラーな状況に対応

* Wip: 他のサーバーのカスタム絵文字を送信するときのID変更処理を追加

* Wip: カスタム絵文字のIDを判定する場所を変更

* Wip: カスタム絵文字のURIを返す処理を削除(不要)

* Wip: 絵文字リアクション受け入れ処理リファクタリング

* Wip: 外部へ送信するカスタム絵文字データにライセンス情報を追加、ライセンス情報の受信をテストに追加

* Wip: ドメインブロックのテストを追加

* Wip: ついでに通常のドメインブロックを追加
2023-10-07 11:58:23 +09:00
KMY
9bec798a80 Receive emoji reaction as favourite when emoji reaction is disabled 2023-09-15 22:27:16 +09:00
KMY
366ab12103 Add streaming_other_servers_emoji_reaction setting 2023-09-13 13:33:43 +09:00
KMY
49197bf6c4 Fix emoji reaction error 2023-09-13 13:23:36 +09:00
KMY
1367b72fa3 Remove DeliveryEmojiReactionWorker unused parameter 2023-09-13 07:35:26 +09:00
KMY
8c437a4332 Add receive_other_servers_emoji_reaction setting 2023-09-13 07:10:30 +09:00
KMY
503a24967d Fix emoji reaction streaming 2023-09-12 22:21:53 +09:00
KMY
477d427f1d Hide blocking domains/suspended/silenced emoji reactions and streaming 2023-09-12 13:54:24 +09:00
KMY
c30d4b5162 Change emoji reaction duplication check 2023-07-26 11:33:28 +09:00
KMY
81a7272ce7 Merge commit '3a1a6ba39e' into kb_migration_development 2023-05-01 15:08:16 +09:00
KMY
3a1a6ba39e Merge commit '15fd712464' into kb_migration 2023-05-01 15:05:34 +09:00
KMY
f5332b0654 Add stop streaming config 2023-04-28 21:36:44 +09:00
KMY
6537405eab Add domain block setting reject_favourite and reject_reply 2023-04-27 12:04:10 +09:00
KMY
8a412f0f59 Fix status trends 2023-04-15 09:56:30 +09:00
KMY
47bedd20ca Move emoji reaction limitation constraints 2023-03-08 16:31:22 +09:00
KMY
d8fd1300e8 Debug like.rb 2023-02-27 14:17:07 +09:00
KMY
df0b8723d7 Debug like.rb 2023-02-27 10:44:47 +09:00
KMY
0feabcf9c3 Debug like.rb, undo.rb 2023-02-27 10:34:16 +09:00
KMY
f7e5adfa70 Debug like.rb 2023-02-27 10:25:55 +09:00
KMY
a1485f242d Add emoji reaction detail status 2023-02-26 23:44:52 +09:00
KMY
d538d2a2a3 Add activitypub emoji_reaction receiving 2023-02-26 11:37:48 +09:00
Eugen Rochko
2ea754b861
Fix duplicate notifications being possible after poll expiration (#17697) 2022-03-04 01:06:33 +01:00
Eugen Rochko
27965ce5ed
Add trending statuses (#17431)
* Add trending statuses

* Fix dangling items with stale scores in localized sets

* Various fixes and improvements

- Change approve_all/reject_all to approve_accounts/reject_accounts
- Change Trends::Query methods to not mutate the original query
- Change Trends::Query#skip to offset
- Change follow recommendations to be refreshed in a transaction

* Add tests for trending statuses filtering behaviour

* Fix not applying filtering scope in controller
2022-02-25 00:34:14 +01:00
Eugen Rochko
974b1b79ce
Add option to be notified when a followed user posts (#13546)
* Add bell button

Fix #4890

* Remove duplicate type from post-deployment migration

* Fix legacy class type mappings

* Improve query performance with better index

* Fix validation

* Remove redundant index from notifications
2020-09-18 17:26:45 +02:00
Eugen Rochko
fe5b66aa08 Handle duplicate ActivityPub activities (#4639)
* Handle duplicate ActivityPub activities

Only perform side-effects when record processed for the first time

* Fast-forward repeat follow requests
2017-08-20 16:53:47 +02:00
Eugen Rochko
dd7ef0dc41 Add ActivityPub inbox (#4216)
* Add ActivityPub inbox

* Handle ActivityPub deletes

* Handle ActivityPub creates

* Handle ActivityPub announces

* Stubs for handling all activities that need to be handled

* Add ActivityPub actor resolving

* Handle conversation URI passing in ActivityPub

* Handle content language in ActivityPub

* Send accept header when fetching actor, handle JSON parse errors

* Test for ActivityPub::FetchRemoteAccountService

* Handle public key and icon/image when embedded/as array/as resolvable URI

* Implement ActivityPub::FetchRemoteStatusService

* Add stubs for more interactions

* Undo activities implemented

* Handle out of order activities

* Hook up ActivityPub to ResolveRemoteAccountService, handle
Update Account activities

* Add fragment IDs to all transient activity serializers

* Add tests and fixes

* Add stubs for missing tests

* Add more tests

* Add more tests
2017-08-08 21:52:15 +02:00