David Roetzel
e00fe2dab7
Merge 8968d3a410
into 8b34daf254
2025-05-03 11:04:45 +00:00
Claire
9ed6a14d45
Add support for ingesting quote policies ( #34479 )
2025-04-28 08:48:27 +00:00
Claire
df2611a10f
Add initial support for ingesting and verifying remote quote posts ( #34370 )
2025-04-17 07:45:23 +00:00
David Roetzel
f106686f47
Add specs for model hooks
2025-04-10 11:05:06 +02:00
David Roetzel
c94e298746
Put FASP support behind a feature flag
2025-04-08 15:03:47 +02:00
David Roetzel
a09ce4f6d8
Fix typo
2025-04-08 15:03:11 +02:00
David Roetzel
69cc06bf5b
Select what to share with fasp
...
Only share statuses where the account has `#indexable` set
to `true`.
Only share accounts where `#discoverable` is set to `true`, with
one exception: If `#discoverable` has just been set to `false`
this is an important information for the fasp.
2025-04-08 15:02:54 +02:00
David Roetzel
28dc6e5f09
Humble beginnings of fasp data sharing.
...
Subscriptions can be made and new statuses will be announced to
subscribed fasp.
2025-04-08 15:02:31 +02:00
Matt Jankowski
b4e56822c7
Fix Style/MapToHash
cop ( #34327 )
2025-03-31 14:08:02 +00:00
Jonny Saunders
46e13dd81c
Add Fetch All Replies Part 1: Backend ( #32615 )
...
Signed-off-by: sneakers-the-rat <sneakers-the-rat@protonmail.com>
Co-authored-by: jonny <j@nny.fyi>
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Co-authored-by: Kouhai <66407198+kouhaidev@users.noreply.github.com>
2025-03-12 09:03:01 +00:00
Matt Jankowski
50013b10a5
Add Status::Visibility
concern to hold visibility logic ( #33578 )
2025-01-14 14:32:57 +00:00
Matt Jankowski
477412d62a
Use hash arguments to select
when possible (Rails 7.2) ( #32917 )
2024-11-18 14:58:45 +00:00
Matt Jankowski
68b545ef33
Add Status.not_direct_visibility
scope ( #32065 )
2024-11-07 10:32:33 +00:00
Jonny Saunders
9074c1fac9
Use likes
and shares
totalItems on status creations and updates ( #32620 )
2024-10-28 04:55:18 +00:00
Christian Schmidt
8cdc148167
Handle invalid visibility ( #31571 )
2024-09-12 13:29:55 +00:00
Claire
d41b43ed4f
Limit attachments to MEDIA_ATTACHMENTS_LIMIT
when returning posts through the API ( #30932 )
2024-07-08 07:41:50 +00:00
Eugen Rochko
128987eded
Add support for fediverse:creator
OpenGraph tag ( #30398 )
2024-05-29 01:34:33 +02:00
Matt Jankowski
c61e356475
Add Status::MEDIA_ATTACHMENTS_LIMIT
configuration constant ( #30433 )
2024-05-27 09:49:44 +00:00
Claire
e5062b7135
Fix post deletion not being deferred when those are part of an account warning ( #30163 )
2024-05-06 09:52:34 +00:00
Matt Jankowski
88882fbbee
Move Rails/HABTM cop out of todo ( #30118 )
2024-05-02 09:40:05 +00:00
Matt Jankowski
ac7f4d57bb
Use composable query in Status.without_replies
scope ( #30086 )
2024-04-29 09:55:37 +00:00
Matt Jankowski
caad1e2628
Add scope Status.distributable_visibility
( #29950 )
2024-04-16 13:16:54 +00:00
Matt Jankowski
3159c0a547
Add scope Status.list_eligible_visibility
( #29951 )
2024-04-16 09:17:03 +00:00
Claire
babbf6017d
Remove caching in cache_collection
( #29862 )
2024-04-08 13:46:13 +00:00
Matt Jankowski
1d0a43f6a3
Use composable query in Status.not_domain_blocked_by_account
scope ( #29766 )
2024-03-27 09:59:45 +00:00
Matt Jankowski
6c3e718b86
Remove setting of sensitive
value (default false, not null) in Status model ( #29589 )
2024-03-14 13:56:59 +00:00
Matt Jankowski
0bc17a3d48
Use enum-generated public_visibility
scope on Status ( #28156 )
2024-03-14 09:31:57 +00:00
Wolfgang Fournès
cfadb87077
Update enum syntax to use the new Rails 7.0 style ( #29217 )
2024-02-16 14:54:23 +00:00
Matt Jankowski
9d413cbaf8
Fix Rails/WhereExists
cop in app/models ( #28863 )
2024-01-24 09:57:49 +00:00
Matt Jankowski
aaa6f2e930
Group common class_name
options in associations ( #28779 )
2024-01-18 12:29:41 +00:00
Matt Jankowski
4ccba94489
Remove unused *_silenced_accounts
scopes on Status ( #28644 )
2024-01-08 13:35:53 +00:00
Claire
2bf84b93d4
Fix media attachment order of remote posts ( #28469 )
2023-12-22 15:10:39 +00:00
Matt Jankowski
3918dc68c7
Use composite primary key for PreviewCardsStatus
model ( #28208 )
2023-12-07 14:49:05 +00:00
Matt Jankowski
f70f39dd04
Add explicit dependent: nil
to associations ( #28169 )
2023-12-01 15:52:47 +00:00
Matt Jankowski
440b80b2e7
Model concerns organization into module namespaces ( #28149 )
2023-12-01 11:00:41 +00:00
Eugen Rochko
0d14fcebae
Change link previews to keep original URL from the status ( #27312 )
2023-11-13 09:58:28 +00:00
Claire
9e77ab7db2
Change private statuses index to index without crutches ( #26713 )
2023-08-29 17:51:13 +02:00
jsgoldstein
30c191aaa0
Add new public status index ( #26344 )
...
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2023-08-24 16:40:04 +02:00
Claire
60b9fa641d
Fix cached posts including stale stats ( #26409 )
2023-08-17 16:11:48 +02:00
Claire
d5bee37c57
Fix missing cached preview cards attributes ( #26343 )
2023-08-04 16:13:47 +02:00
Matt Jankowski
644c5fddd8
Refactor Status.tagged_with_all
for brakeman SQL injection warning ( #25941 )
2023-07-13 15:52:37 +02:00
Matt Jankowski
0b249ebdb0
Extract StatusSafeReblogInsert concern from Status ( #24821 )
2023-05-04 14:06:20 +02:00
Matt Jankowski
b5c4b47746
Fix Rails/ActiveRecordCallbacksOrder cop ( #24689 )
2023-05-02 18:23:35 +02:00
Matt Jankowski
af824db398
Fix Rails/InverseOf cop ( #24732 )
2023-04-30 14:06:53 +02:00
Claire
f53d009778
Refactor Status._insert_record
slightly and tighten the test around reblogs of discarded statuses ( #24516 )
2023-04-12 12:47:05 +02:00
Claire
2626097869
Fix Rails cache namespace being overriden with v2
for cached statuses ( #24202 )
2023-03-22 15:47:44 +01:00
Vyr Cossont
94cbd808b5
Webhooks for local status.create, status.update, account.update ( #24133 )
2023-03-19 07:47:54 +01:00
Christian Schmidt
bd047acc35
Replace Status#translatable?
with language matrix in separate endpoint ( #24037 )
2023-03-16 11:07:24 +01:00
Christian Schmidt
5a8c651e8f
Only offer translation for supported languages ( #23879 )
2023-03-03 21:06:31 +01:00
Nick Schonning
9909b4b653
Autofix Rubocop Rails/WhereEquals ( #23759 )
2023-02-21 03:20:56 +09:00