Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Instance only statuses #8427

Closed
Closed
Changes from 1 commit
Commits
Show all changes
221 commits
Select commit Hold shift + click to select a range
ffaa814
Use backend from glitch-soc for instance-only toots
renatolond Aug 23, 2018
4969ea4
Base frontend on privacy dropdown
renatolond Aug 23, 2018
f37ca30
Add backend support for local_only on status create
renatolond Aug 25, 2018
c963e15
Add local_only indicator in the status action bar
renatolond Aug 24, 2018
b4ae56e
Add local_only indicator to detailed status
renatolond Aug 24, 2018
e1049a9
Normalize translations
renatolond Aug 26, 2018
6bef1a8
Add local_only to admin screens
renatolond Aug 26, 2018
469294d
Hide local statuses from user atom and from unlogged users
renatolond Sep 3, 2018
5497b5a
Add local only icon to status page
renatolond Sep 4, 2018
9d6e005
Fix issue with toggle in mobile
renatolond Oct 1, 2018
d42a06f
Add default federation option to settings
renatolond Oct 1, 2018
fde9668
Merge tag 'v2.6.0rc1' into instance_only_statuses
renatolond Oct 23, 2018
3306fad
Fix wrong configuration fetched
renatolond Oct 23, 2018
b9f0f79
Change setting wording
renatolond Oct 23, 2018
449e6e4
Check for empty "last_status" before sorting DM column (#9207)
sammy8806 Nov 5, 2018
430499f
Update resolve_url_service.rb (#9188)
mbajur Nov 5, 2018
5ee4fd4
Increase default column width from 330px to 350px (#9227)
Gargron Nov 8, 2018
330401b
Optimize the process of following someone (#9220)
Gargron Nov 8, 2018
b3c29ec
Fix follow limit validator reporting lower number past threshold (#9230)
Gargron Nov 8, 2018
4b2f254
Fix form validation flash message color and input borders (#9235)
Gargron Nov 8, 2018
21fd335
Display amount of freed disk space in tootctl media remove (#9229)
Gargron Nov 8, 2018
0f436de
Add "Show thread" link to self-replies (#9228)
Gargron Nov 8, 2018
63f168c
Fix nil error regression from #9229 in tootctl media remove (#9239)
Gargron Nov 8, 2018
f73b7e7
Improve ActiveRecord connection in on_worker_boot (#9238)
Gargron Nov 9, 2018
d06a724
Check that twitter:player is valid before using it (#9254)
ClearlyClaire Nov 10, 2018
886ef1c
Fix emoji update date processing (#9255)
ClearlyClaire Nov 10, 2018
4ce6ed2
Perform deep comparison for card data when receiving new props (#9270)
ClearlyClaire Nov 12, 2018
cd8575a
Fix null error introduced in #9270 (#9275)
Gargron Nov 12, 2018
a3ef076
Fix race condition causing shallow status with only a "favourited" at…
ClearlyClaire Nov 13, 2018
01a8ab9
Fix "tootctl media remove" can't count the file size (#9288)
mayaeh Nov 16, 2018
6d4438a
Remove intermediary arrays when creating hash maps from results (#9291)
Gargron Nov 16, 2018
ecc58c0
Prevent multiple handlers for Delete of Actor from running (#9292)
Gargron Nov 16, 2018
fa02f87
Fix filter ID not being a string in REST API (#9303)
Gargron Nov 19, 2018
c0736c4
Update Nginx config for Nanobox apps (#9310)
danhunsaker Nov 20, 2018
2c36d35
WebSub: ATOM before RSS (#9302)
Alkarex Nov 20, 2018
15dcb41
Touch account on successful response, change char shown when culled (…
renatolond Nov 20, 2018
12bdd7d
Ignore JSON-LD profile in mime type comparison (#9179)
valerauko Nov 22, 2018
a2cda74
Fix connect timeout not being enforced (#9329)
Gargron Nov 22, 2018
404dc97
Bump version to 2.6.2
Gargron Nov 23, 2018
ec20a5d
add loglevel to ffmpeg in gif upload (#9368)
Nov 27, 2018
49f49cf
Allow hyphens in the middle of remote user names (#9345)
ClearlyClaire Nov 27, 2018
cc0c167
Fix nil error when no DNS addresses are found for host (#9379)
Gargron Nov 27, 2018
58108b4
Don't count suspended users in user count (#9380)
Gargron Nov 27, 2018
442f335
Skip deliveries to inboxes that have already been marked as unavailab…
Gargron Nov 27, 2018
34de90c
Fix TLS handshake timeout not being enforced (#9381)
Gargron Nov 27, 2018
a1216e6
Bump version to 2.6.3
Gargron Nov 30, 2018
8257001
Remove npm-run-all dependency (#9401)
Gargron Nov 30, 2018
13979a8
Bump version to 2.6.4
Gargron Nov 30, 2018
f13d083
Preload common JSON-LD contexts (#9412)
ClearlyClaire Dec 2, 2018
e625425
Include replies to list owner and replies to list members in list sta…
ClearlyClaire Nov 21, 2018
887f9de
Bump version to 2.6.5
Gargron Dec 2, 2018
f5f9fc3
Merge tag 'v2.6.5' into instance_only_statuses
renatolond Dec 7, 2018
237952c
Only stream local-only toots to logged-in users
ClearlyClaire Nov 13, 2018
4207973
Merge tag 'v2.7.0rc1' into instance_only_statuses
renatolond Jan 9, 2019
e8161a1
Normalize translations
renatolond Jan 9, 2019
20ad816
Merge tag 'v2.7.0' into instance_only_statuses
renatolond Jan 22, 2019
e8012c1
Merge tag 'v2.7.1' into instance_only_statuses
renatolond Jan 31, 2019
88a1d0c
Bumps copyright year in README.md to 2019 (#9939)
sts10 Jan 28, 2019
e31970b
Fix link color in high-contrast theme, add underlines (#9949)
Gargron Jan 31, 2019
687a0cb
Replace unlock-alt icon with unlock (#9952)
clarfonthey Jan 31, 2019
fdf819b
Allow most kinds of characters in URL query (fixes #8408) (#8447)
JMendyk Feb 2, 2019
a742a09
Fix authorized applications list page design (#9969)
rinsuki Feb 4, 2019
5e7c75c
Fix not showing custom emojis in share page emoji picker (#9970)
rinsuki Feb 4, 2019
cd36ff4
[UI] Fix whitespace being applied to div instead of p (#9968)
trwnh Feb 5, 2019
edde07f
Hide misleading “You will be sent a confirmation e-mail” hint from ad…
ClearlyClaire Feb 5, 2019
e2afe5f
Fix Tombstone.delete_all ArgumentError (#9978)
abcang Feb 6, 2019
2a7c091
Only URLs extract with pre-escaped text (#9991)
hinaloe Feb 9, 2019
6ea4cd5
Fix URL linkifier grabbing full-width spaces and quotations (#9997)
Gargron Feb 9, 2019
d9f0c7f
Fix IntersectionObserverArticle not hiding some out-of-view items (#9…
ClearlyClaire Feb 6, 2019
e1dbdf7
Fix timeline jumps (#10001)
ClearlyClaire Feb 11, 2019
41ecf80
Don't focus spiler input when disabled spoiler (#10017)
hinaloe Feb 12, 2019
d662675
Move sending account Delete to anyone but the account's followers to …
ClearlyClaire Feb 12, 2019
27310a8
Add support for IPv6 only MXes in Email validation (#10009)
zoc Feb 12, 2019
1186b9a
Save IP address used for sign-up, not only sign-in (#10026)
ClearlyClaire Feb 12, 2019
f0f657e
Fix color of static page links in high contrast theme (#10028)
Gargron Feb 13, 2019
a46487e
Fix hashtags select styling in default and high contrast themes (#10029)
Gargron Feb 13, 2019
2a1adab
Fix style regressions on landing page (#10030)
Gargron Feb 13, 2019
5a04861
Add tight rate-limit for API deletions (#10042)
Gargron Feb 14, 2019
17a41e1
Fix hashtag column not subscribing to stream on mount (#10040)
Gargron Feb 14, 2019
737ac4b
Create Redisable#redis (#9633)
ysksn Feb 2, 2019
6c11f0f
Alternative handling of private self-boosts (#9998)
ClearlyClaire Feb 13, 2019
ef45411
Filter incoming Create activities by relation to local activity (#10005)
Gargron Feb 13, 2019
e84c761
Filter incoming Announce activities by relation to local activity (#1…
Gargron Feb 15, 2019
71b8316
Add logging for rejected ActivityPub payloads and add tests (#10062)
Gargron Feb 17, 2019
b163368
Fix Announce activities of unknown statuses not fetching those status…
Gargron Feb 17, 2019
8ad75ee
Fix relay enabling/disabling not resetting inbox availability status …
Gargron Feb 15, 2019
637f000
Change robots.txt to exclude some URLs (#10037)
Gargron Feb 13, 2019
45b2bb4
Change robots.txt to exclude only media proxy URLs (#10038)
nightpool Feb 14, 2019
1ad0d23
Improve image description user experience (#10036)
BenLubar Feb 14, 2019
77a7123
perf: run node directly when streaming (#10032)
nolanlawson Feb 13, 2019
5aa147b
Fix breaks when opening a reply tree in WebUI (#10046)
rinsuki Feb 14, 2019
7b59de4
Change conversations to always show names of other participants (#10047)
Gargron Feb 15, 2019
584f29e
Change buttons on timeline preview to open the interaction dialog (#1…
Gargron Feb 15, 2019
caf1450
Change error graphic to hover-to-play (#10055)
Gargron Feb 15, 2019
b6a5268
Add registrations attribute to instance entity in REST API (#10060)
Gargron Feb 16, 2019
98e3820
Add vapid_key to the application entity in the REST API (#10058)
Gargron Feb 16, 2019
33e8fa0
Fix mutes, blocks, domain blocks and follow requests not paginating (…
Gargron Feb 16, 2019
e5f4af2
Fix crash on public hashtag pages when streaming fails (#10061)
ClearlyClaire Feb 16, 2019
f3eb99a
Bump version to 2.7.2
Gargron Feb 17, 2019
153385e
Merge tag 'v2.7.2' into instance_only_statuses
renatolond Feb 19, 2019
546581d
Merge tag 'v2.8.0' into instance_only_statuses
renatolond Apr 13, 2019
a285462
Do not leak local-only toots to remote mentioned users
ClearlyClaire Apr 22, 2019
84c8b1e
Merge tag 'v2.8.2' into instance_only_statuses
renatolond May 7, 2019
b40dfc1
Add description on hover in media gallery (#10713)
ClearlyClaire May 6, 2019
9679ec4
Fix some colors of high contrast theme (#10711)
nzws May 7, 2019
7a6464b
Bring back crossed eye icon on gallery (#10715)
tribela May 8, 2019
c407a4e
Improve poll link accessibility (#10720)
MaciekBaron May 9, 2019
47e0928
Change icon and label depending on whether media is marked as sensiti…
ClearlyClaire May 10, 2019
91e25a2
Fix some colors in light theme (#10754)
nzws May 12, 2019
9e95af3
Adds click-able div that expands status (#10733) (#10766)
Dar13 May 15, 2019
ee17d81
Minor performance improvements and cleanup in formatter (#10765)
ClearlyClaire May 15, 2019
3c27687
Prevent from publicly boosting one's own private toots (#10775)
ClearlyClaire May 17, 2019
d587a94
add og:image:alt for media attachments in embeds (#10779)
BenLubar May 18, 2019
a6815a7
Add post-deployment migration script to delete public-boosts-of-priva…
ClearlyClaire May 19, 2019
94439a1
fix `isSubmitting` prop case (#10785)
hinaloe May 19, 2019
9222c26
Fix “invited by” not showing up for invited accounts in admin interfa…
ClearlyClaire May 19, 2019
370ec7e
Bump version to 2.8.3
Gargron May 19, 2019
9a881c7
Retry ActivityPub inbox delivery on HTTP 401 and 408 errors (#10812)
ClearlyClaire May 23, 2019
39d1d02
Move signature verification stoplight to the requests themselves (#10…
ClearlyClaire May 23, 2019
130fbf8
Fix possible race condition when processing statuses (#10815)
ClearlyClaire May 23, 2019
aa80292
Improve streaming server security (#10818)
ClearlyClaire May 24, 2019
7d92c2c
Bump version to 2.8.4
Gargron May 24, 2019
1e5b17b
Merge tag 'v2.8.4' into instance_only_statuses
renatolond Jun 3, 2019
f0a512c
Merge tag 'v2.9.2' into instance_only_statuses
renatolond Jun 25, 2019
405d6a7
Fix merge issues
renatolond Jun 30, 2019
c95ce1f
Fix account URI in UpdatePollSerializer (#11194)
ClearlyClaire Jun 27, 2019
de74794
Fix swiping columns on mobile sometimes failing (#11200)
ClearlyClaire Jun 28, 2019
aef567c
Fix option to send e-mail notification about account action always be…
Gargron Jul 6, 2019
5a06f68
Fix BackupService crashing when an attachment is missing (#11241)
ClearlyClaire Jul 8, 2019
8066717
Fix Status.remote scope matching *all* statuses (#11265)
ClearlyClaire Jul 8, 2019
6782922
Fix BlockService trying to reject incorrect follow request (#11288)
ClearlyClaire Jul 11, 2019
8904487
Fix invites not being disabled upon account suspension (#11412)
ClearlyClaire Jul 26, 2019
221110c
Update fuubar dependency to 2.4.1 (#11248)
nilsding Jul 7, 2019
0367ddb
Fix support for MP4 files that are actually M4V files (#11210)
Gargron Jun 30, 2019
5d79df0
Fix expiration date of filters being set to “Never” when editing them…
ClearlyClaire Jun 30, 2019
769bbd5
Fix statsd UDP sockets not being cleaned up in Sidekiq (#11230)
Gargron Jul 1, 2019
5cd97c6
Remove unused StatsD code and expose StatsD as a global variable (#11…
Gargron Jul 2, 2019
6a3876b
Fix some flash notices/alerts staying on unrelated pages (#11364)
ClearlyClaire Jul 19, 2019
d1d3684
Fix `alerts` booleans not being typecast correctly in push subscripti…
Gargron Jul 21, 2019
d588173
Optimize makeGetStatus (#11211)
ClearlyClaire Jun 29, 2019
363afe5
Memoize ancestorIds and descendantIds in detailed status view (#11234)
ClearlyClaire Jul 2, 2019
c83c87f
Fix boosting & unboosting preventing a boost from appearing in the TL…
ClearlyClaire Jul 30, 2019
74982c7
Fix delete regression (#11450)
Gargron Jul 31, 2019
6e28da2
Apply filters to poll options (#11174)
ClearlyClaire Jun 25, 2019
69680db
Fix unnecessary SQL query performed on unauthenticated requests (#11179)
Gargron Jun 25, 2019
0119092
Add message telling FTS is disabled when no toot can be found because…
ClearlyClaire Jun 27, 2019
5b3d70f
Display FTS warning based on actual search term, not the one being ty…
ClearlyClaire Jun 28, 2019
39741fa
Scroll to compose form rather than reply indicator on focus (#11182)
ClearlyClaire Jun 26, 2019
99b27a8
When sending a toot, ensure a CW is only set if the CW field is visib…
ClearlyClaire Jun 29, 2019
6abd849
When deleting & redrafting a poll, fill in closest expires_in (#11203)
ClearlyClaire Jul 1, 2019
16f3484
Only scroll to the compose form if it's not horizontally in the viewp…
ClearlyClaire Jul 6, 2019
af410c0
Display custom emoji in bio field names (#11350)
ClearlyClaire Jul 21, 2019
7f9431c
Play animated custom emoji on hover (#11348)
ClearlyClaire Jul 21, 2019
c8bf30d
Fix animate on hover in poll options without CW (#11404)
ClearlyClaire Jul 28, 2019
d9a0248
Change domain block behaviour to prevent creation of accounts from su…
Gargron Jul 1, 2019
f279569
Change ActivityPub::DeliveryWorker to not retry HTTP 501 errors (#11233)
Gargron Jul 1, 2019
b21c630
Change the retry limit in error of web push notification (#11292)
highemerly Jul 12, 2019
291d868
Change default interface of web and streaming from 0.0.0.0 to 127.0.0…
Gargron Jul 15, 2019
2e244b7
Make puma bind address configurable with BIND env var (#11326)
zunda Jul 16, 2019
227c561
Change terms and privacy policy pages to always be accessible (#11334)
Gargron Jul 17, 2019
212848b
Change language detection to include hashtags as words (#11341)
Gargron Jul 18, 2019
8c445c8
Fix only one middle dot being recognized in hashtags (#11345)
Gargron Jul 18, 2019
28f3b13
Change Dockerfile to bind to 0.0.0.0 instead of docker-compose.yml (#…
Gargron Jul 18, 2019
6c4a196
Fix sanitizing lists contents (#11354)
ClearlyClaire Jul 18, 2019
ad08668
Fix avatar animation on hover when not logged in (#11349)
ClearlyClaire Jul 19, 2019
d8b8c88
Added logout to dropdown menu (#11353)
koyuawsmbrtn Jul 19, 2019
dead24a
Disallow numeric-only hashtags (#11363)
ClearlyClaire Jul 19, 2019
9bb23b8
Change locale detection to run once per session (#8657)
Gargron Jul 21, 2019
4e4f73b
Bind servers to 0.0.0.0 in Procfile (#11378)
zunda Jul 22, 2019
ed27803
Change account domain block to clear out notifications and follows (#…
Gargron Jul 25, 2019
91fb945
Remove pre from version, add extra suffix variable (#11407)
clarfonthey Jul 26, 2019
a0896ae
Remove timestamps from converted images to make them deterministic (#…
Gargron Jul 27, 2019
c1bc34d
Prevent archiving when user set "noindex" (#11421)
tribela Jul 28, 2019
3f7614f
Disable list title validation button when list title is empty (#11475)
ClearlyClaire Aug 3, 2019
68da55e
Fix timestamp on featured tag (#11477)
tribela Aug 4, 2019
21e3671
Trap tab in modals (#11493)
ClearlyClaire Aug 6, 2019
d8cf2a0
Fix privacy dropdown active state when dropdown is placed on top of i…
ClearlyClaire Aug 6, 2019
ad6fcb2
Improve dropdown menu keyboard navigation (#11491)
ClearlyClaire Aug 6, 2019
cec93c3
Improve keyboard navigation in privacy dropdown (#11492)
ClearlyClaire Aug 6, 2019
c69f190
Fix image uploads being perfectly white when canvas read access is bl…
ClearlyClaire Aug 6, 2019
80e391a
Improve focus handling with dropdown menus (#11511)
ClearlyClaire Aug 7, 2019
6861534
Fix "cancel follow request" button having unreadable text in web UI (…
Gargron Aug 8, 2019
5432edb
Add GIF and WebP support for custom emojis (#11519)
Gargron Aug 8, 2019
b95281b
Fix pinned statuses API returning pagination headers (#11526)
Gargron Aug 8, 2019
d5963d9
Fix crash when saving invalid domain name (#11528)
Gargron Aug 8, 2019
80d8ff9
Fix “read more” button behing hidden (regression from #11404) (#11522)
ClearlyClaire Aug 8, 2019
06f906a
Bump version to 2.9.3
Gargron Aug 9, 2019
fbaaf24
Merge tag 'v2.9.3' into instance_only_statuses
renatolond Aug 10, 2019
a42a98b
Merge tag 'v3.0.1' into instance_only_statuses
renatolond Oct 21, 2019
e0f3a45
Merge tag 'v3.1.1' into instance_only_statuses
renatolond Feb 21, 2020
fa3f78e
Fix other sessions not being logged out on password change
Gargron Jun 23, 2020
951e997
Change rate limits for various paths
Gargron Jun 23, 2020
2d2e365
Fix media attachment enumeration
ClearlyClaire Jun 22, 2020
661f3f2
Bump version to 3.1.5
Gargron Jul 7, 2020
06b6353
Merge tag 'v3.1.5' into instance_only_statuses
renatolond Jul 15, 2020
8126ac0
Merge tag 'v3.2.0' into instance_only_statuses
renatolond Jul 27, 2020
aecdaf5
Do not serve account actors at all in limited federation mode (#14800)
ClearlyClaire Sep 14, 2020
0abfa06
Fix inefficiencies in fan-out-on-write service (#14682)
Gargron Aug 30, 2020
c98b775
Fix limited follower id in fan-out-on-write service (#14709)
noellabo Aug 31, 2020
4acfc3c
Fix handling of Reject Follow when a matching follow relationship exi…
ClearlyClaire Aug 1, 2020
8f79ed0
Fix reported statuses not being included in warning e-mail (#14778)
Gargron Sep 13, 2020
ce6aaed
Remove dependency on goldfinger gem (#14919)
Gargron Oct 7, 2020
3f4ccee
Fix videos with near-60 fps being rejected (#14684)
Gargron Aug 29, 2020
58c59af
Fix an error when file_file_size is nil in tootctl media remove (#14657)
noellabo Aug 24, 2020
856cb96
Fix new audio player features not working on Safari (#14465)
ClearlyClaire Aug 2, 2020
399c5f0
Change content-type to be always computed from file data (#14452)
ClearlyClaire Aug 2, 2020
469c4c7
Fix audio player on Safari (#14485)
ClearlyClaire Aug 2, 2020
1995a5c
Fix audio/video player not using CDN_HOST in media paths on public pa…
ClearlyClaire Aug 2, 2020
3b699f1
Fix thumbnail color extraction (#14464)
ClearlyClaire Aug 2, 2020
6db143e
Fix crash when failing to load emoji picker (#14525)
ClearlyClaire Aug 8, 2020
8b448ae
Fix `tootctl media` commands not handling snowflake ids for media_att…
ClearlyClaire Aug 9, 2020
aea0161
Add support for inlined objects in activity audience (#14514)
ClearlyClaire Aug 24, 2020
dd3a86e
Fix: also use custom private boost icon for detailed status (#14471)
OmmyZhang Aug 24, 2020
aa98655
Fix dereferencing remote statuses not using the correct account (#14656)
ClearlyClaire Aug 24, 2020
4ea7193
Add support for latest HTTP Signatures spec draft (#14556)
ClearlyClaire Aug 24, 2020
a583e54
Bump version to 3.2.1
Gargron Oct 19, 2020
92c4d90
Merge tag 'v3.2.1' into instance_only_statuses
renatolond Nov 19, 2020
cb085b4
Merge tag 'v3.3.0' into instance_only_statuses
renatolond Dec 27, 2020
1f47e8f
Fix for new listener detection
renatolond Dec 27, 2020
b43c50a
Fix old merges code
renatolond Dec 27, 2020
8ef1767
Merge tag 'v3.4.0' into instance_only_statuses
renatolond May 25, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix dereferencing remote statuses not using the correct account (#14656)
Follow-up to #14359

In the case of limited toots, the receiver may not be explicitly part of the
audience. If a specific user's inbox URI was specified, it makes sense to
dereference the toot from the corresponding user, instead of trying to find
someone in the explicit audience.
  • Loading branch information
ClearlyClaire authored and Gargron committed Oct 19, 2020
commit aa98655cf61e732fb3cfe7626347b79189f61b77
2 changes: 2 additions & 0 deletions app/lib/activitypub/activity.rb
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,8 @@ def dereference_object!
end

def signed_fetch_account
return Account.find(@options[:delivered_to_account_id]) if @options[:delivered_to_account_id].present?

first_mentioned_local_account || first_local_follower
end

Expand Down