Commit graph

100 commits

Author SHA1 Message Date
KMY
5c758b344c Add antenna timeline 2023-08-19 17:25:55 +09:00
KMY
c6fa8f6871 Add limited visibilit post to lists 2023-08-16 23:00:57 +09:00
KMY
222a31c37c Unlisted/searchability=public posts hashtag search 2023-07-04 14:11:14 +09:00
KMY
f59eb4c6d3 Add list exclusive property stl support 2023-06-07 14:48:43 +09:00
KMY
6182325d39 Remove reblogs from stl 2023-05-27 21:24:40 +09:00
KMY
f69db38c2f Fix login visibility is not streaming public 2023-05-25 17:37:44 +09:00
KMY
20497e0c21 Add login visibility 2023-05-24 17:41:47 +09:00
KMY
a9fef4a8cf Fix self unlisted posts are not picked by stl antennas 2023-05-23 14:30:53 +09:00
KMY
ed8f7d3572 Fix unlisted posts are not picked by stl antennas 2023-05-23 14:10:51 +09:00
KMY
111c25d0da All boosts are picked by stl antenna 2023-05-23 12:40:13 +09:00
KMY
bcee8befcf Improve stl antenna sql when federation posts 2023-05-19 09:09:21 +09:00
KMY
0f9d40ceef Fix stl is not pick all reblogs 2023-05-18 09:46:20 +09:00
KMY
27d022096e Fix stl mode picking unlisted/private posts 2023-05-18 09:44:11 +09:00
KMY
5fa4e98a65 Update antenna stl mode 2023-05-14 10:29:26 +09:00
KMY
1c174a6f7b Add antenna ignore reboot setting 2023-05-10 12:37:46 +09:00
KMY
7c31932828 Remove duplicate of checking block on antenna 2023-05-10 12:30:01 +09:00
KMY
83e802a547 Merge commit '346c54bba7' into kb_migration_development 2023-05-10 10:56:07 +09:00
KMY
7d237611d9 Add stl antenna mode 2023-05-10 09:42:29 +09:00
KMY
421d2d825b Make antenna distribute active user only 2023-05-09 22:13:13 +09:00
KMY
5c418472e7 Make antenna able to insert home 2023-05-09 17:08:54 +09:00
KMY
9429f5b60c Make antenna able to insert home 2023-05-09 15:07:29 +09:00
KMY
b7ef24d3e8 Merge branch 'kb_development' into kb_migration 2023-05-07 14:11:18 +09:00
KMY
50118163f7 Fix antenna sql 2023-05-02 20:21:35 +09:00
KMY
3a1a6ba39e Merge commit '15fd712464' into kb_migration 2023-05-01 15:05:34 +09:00
KMY
bb7fa1d060 Remove searchability filter in antenna 2023-04-27 14:03:40 +09:00
KMY
e45b78c10e Update @status.account to @account 2023-04-27 11:06:07 +09:00
KMY
c82781449d Remove unnecessary code 2023-04-26 12:09:01 +09:00
KMY
9db152db38 Fix queries count in fan_out antennas 2023-04-26 11:23:54 +09:00
KMY
4dcce3feef Add antenna with_media_only 2023-04-25 16:42:14 +09:00
KMY
69df23d8d9 Add block support with antenna 2023-04-24 17:04:37 +09:00
KMY
2fef21664b Add antenna and bio-searchability support 2023-04-24 10:06:25 +09:00
KMY
bb665eb942 Fix public unlisted streaming 2023-03-05 14:42:26 +09:00
KMY
ed3abf4f2a Add public_unlisted scope as status privacy 2023-03-05 13:24:31 +09:00
Eugen Rochko
5f9e47be34
Add caching for payload serialization during fan-out (#19642) 2022-11-04 13:21:06 +01:00
Eugen Rochko
c3f0621a59
Add ability to follow hashtags (#18809) 2022-07-17 13:49:29 +02:00
Eugen Rochko
3917353645
Fix single Redis connection being used across all threads (#18135)
* Fix single Redis connection being used across all Sidekiq threads

* Fix tests
2022-04-28 17:47:34 +02:00
Eugen Rochko
d17fb70131
Change how changes to media attachments are stored for edits (#17696)
* Change how changes to media attachments are stored for edits

Fix not being able to re-order media attachments

* Fix not broadcasting updates when polls/media is changed through ActivityPub

* Various fixes and improvements

* Update app/models/report.rb

Co-authored-by: Claire <claire.github-309c@sitedethib.com>

* Add tracking of media attachment description changes

* Change poll in status edit to have a structure closer to the real one

Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2022-03-09 09:06:17 +01:00
Eugen Rochko
8f03b7a2fb
Add notifications when a reblogged status has been updated (#17404)
* Add notifications when a reblogged status has been updated

* Change wording to say "edit" instead of "update" and add missing controls

* Replace previous update notifications with the most up-to-date one
2022-02-11 22:20:19 +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
Claire
166cc5b89d
Fix local distribution of edited statuses (#17380)
Because `FanOutOnWriteService#update?` was broken, edits were considered as new
toots and a regular `update` payload was sent.
2022-01-26 20:53:50 +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
ThibG
966593393e
Fix DMs not appearing into timelines (#15182)
Fixes #15179
2020-11-19 00:23:46 +01:00
Eugen Rochko
1c308af84c
Change own direct-visibility statuses to be in the home feed again (#14711)
And remove highlighting in web UI

Full circle from #8940
2020-09-01 13:30:42 +02:00
Takeshi Umeda
b1bb1906be
Fix limited follower id in fan-out-on-write service (#14709) 2020-08-31 18:11:27 +02:00
Eugen Rochko
ce8f33dd2f
Fix inefficiencies in fan-out-on-write service (#14682) 2020-08-30 12:33:59 +02:00
Takeshi Umeda
d8bad8fbf6
Fix not publishing update of remote timeline (#13745)
* Fix not publishing update of remote timeline

* fix @ missing

* if/unless to if/else
2020-05-12 15:24:35 +02:00
Eugen Rochko
5e35aa8280
Fix non-lowercase hashtags not being picked up by the streaming API (#11508)
Regression from f371b32

Fix hashtag links always being lowercase
2019-08-07 10:01:19 +02:00
Eugen Rochko
be202f9377
Accept the same payload in multiple inboxes and deliver (#9150) 2018-10-30 15:03:55 +01:00
Eugen Rochko
ddd30f331c
Improve support for aspects/circles (#8950)
* Add silent column to mentions

* Save silent mentions in ActivityPub Create handler and optimize it

Move networking calls out of the database transaction

* Add "limited" visibility level masked as "private" in the API

Unlike DMs, limited statuses are pushed into home feeds. The access
control rules between direct and limited statuses is almost the same,
except for counter and conversation logic

* Ensure silent column is non-null, add spec

* Ensure filters don't check silent mentions for blocks/mutes

As those are "this person is also allowed to see" rather than "this
person is involved", therefore does not warrant filtering

* Clean up code

* Use Status#active_mentions to limit returned mentions

* Fix code style issues

* Use Status#active_mentions in Notification

And remove stream_entry eager-loading from Notification
2018-10-17 17:13:04 +02:00
Eugen Rochko
87fdd139b8
Do not push DMs into the home feed (#8940)
* Do not push DMs into the home feed

* Show DMs column after sending a DM, if DMs column is not already shown
2018-10-11 01:31:03 +02:00