Commit graph

23 commits

Author SHA1 Message Date
KMY
2af34ac0d9 Fix test 2024-12-04 09:02:09 +09:00
KMY
2d9124a3ab Merge remote-tracking branch 'parent/main' into upstream-20241203 2024-12-03 18:03:14 +09:00
Jonathan de Jong
360b6d3a44
Fix exclusive lists interfering with notifications (#28162) 2024-12-02 09:26:04 +00:00
KMY(雪あすか)
a95c167dd4
Fix: #421 リスト新着投稿通知処理を、リードレプリカの中から外す (#424) 2024-01-05 09:07:56 +09:00
S.H
d18b233239
Fix: #304 rubocop:disable Style/OptionalBooleanParameter (#310) 2023-11-28 21:27:55 +09:00
KMY(雪あすか)
d7f07ae80f
Fix: #241 リスト新着通知で、数日前の古い投稿についての通知が来る場合がある (#242)
* Fix: #241 リスト通知の重複についてとりあえずの対処

* Fix: 本家の通知バグ
2023-11-07 17:16:10 +09:00
KMY(雪あすか)
f8280ca5d9
Add: #95 リストへの新着投稿通知 (#192)
* Add: テーブル定義、内部処理

* Add: 通知の定期削除処理、自動削除、テスト

* Add: Web画面の表示、設定

* Fix test
2023-10-31 08:59:31 +09:00
KMY
adccba6c59 Add detecting unlisted-public post on antenna 2023-09-04 16:46:45 +09:00
KMY
45a39f1ec3 Add insert_feeds config to antenna 2023-08-19 18:12:30 +09:00
KMY
5c758b344c Add antenna timeline 2023-08-19 17:25:55 +09:00
KMY
f18fa97f0c Merge commit '71db616fed' into kb_migration 2023-07-14 12:43:55 +09:00
Eugen Rochko
fdc3ff7c2d
Change notifications API to use a replica (#25874) 2023-07-12 17:06:00 +02:00
Kurtis Rainbolt-Greene
e4cfe4b3db
First pass at multi-database for read replica using Rails native adapter (#25693)
Co-authored-by: emilweth <7402764+emilweth@users.noreply.github.com>
2023-07-08 19:45:36 +02:00
KMY
f59eb4c6d3 Add list exclusive property stl support 2023-06-07 14:48:43 +09:00
Eugen Rochko
c3f0621a59
Add ability to follow hashtags (#18809) 2022-07-17 13:49:29 +02:00
Eugen Rochko
2ea754b861
Fix duplicate notifications being possible after poll expiration (#17697) 2022-03-04 01:06:33 +01:00
Claire
03d59340da
Fix Sidekiq warnings about JSON serialization (#17381)
* Fix Sidekiq warnings about JSON serialization

This occurs on every symbol argument we pass, and every symbol key in hashes,
because Sidekiq expects strings instead.

See https://github.com/mperham/sidekiq/pull/5071

We do not need to change how workers parse their arguments because this has
not changed and we were already converting to symbols adequately or using
`with_indifferent_access`.

* Set Sidekiq to raise on unsafe arguments in test mode

In order to more easily catch issues that would produce warnings in production
code.
2022-01-28 00:43:56 +01:00
Eugen Rochko
1060666c58
Add support for editing for published statuses (#16697)
* Add support for editing for published statuses

* Fix references to stripped-out code

* Various fixes and improvements

* Further fixes and improvements

* Fix updates being potentially sent to unauthorized recipients

* Various fixes and improvements

* Fix wrong words in test

* Fix notifying accounts that were tagged but were not in the audience

* Fix mistake
2022-01-19 22:37:27 +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
65760f59df
Refactor feed manager (#14761) 2020-09-08 03:41:16 +02:00
Eugen Rochko
24cafd73a2
Lists (#5703)
* Add structure for lists

* Add list timeline streaming API

* Add list APIs, bind list-account relation to follow relation

* Add API for adding/removing accounts from lists

* Add pagination to lists API

* Add pagination to list accounts API

* Adjust scopes for new APIs

- Creating and modifying lists merely requires "write" scope
- Fetching information about lists merely requires "read" scope

* Add test for wrong user context on list timeline

* Clean up tests
2017-11-18 00:16:48 +01:00
Matt Jankowski
cc9a6a710f Spec feed insert worker (#2965)
* Spec for feed insert worker when missing records

* more specs!

* Refactor feed insert worker
2017-05-10 20:32:05 +02:00
Eugen Rochko
6fd865c000 Spawn FeedInsertWorker to deliver status into personal feed 2017-04-04 19:21:37 +02:00