Eugen
c2b4bafc33
Fix #1813 - Alleviate extra requests when processing mentions ( #1938 )
...
The <link rel="mentioned" /> tag refers to accounts by href. So we were
matching the DB by the url attribute, and falling back to HTTP look-up.
However, GS and Mastodon use profile URLs as URIs, too, and the match
for that was missing. This could potentially alleviate some extra network
requests
8 years ago
Eugen
ba6b4c6e62
Make file attachment on MediaAttachment optional ( #1865 )
...
Create MediaAttachment but without actual file download when domain is blocked with reject_media set to true
Clean up old media files when creating a new domain block with reject_media set to true
Return remote_url in media attachments API if local file is not present
Undo domain block action in admin UI
Ability to enable reject_media from admin UI
8 years ago
ThibG
c45c67c2ac
Allow running mastodon on a different domain as the one used for identifying users ( #1267 )
...
* Allow running mastodon on a different domain as the one used for identifying users
* Alter documentation of WEB_DOMAIN to make clear it shouldn't be used unless the admin knows what they are doing
* Compare to web_domain instead of local_domain when dealing with feeds/API
* Correctly identify mentions to local accounts
Mentions URLs point to the person's web profile, i.e., the user page served on WEB_DOMAIN.
8 years ago
Eugen
697e4da6cb
Fix #1141 , fix #1126 - Avatar/profile info fetching ( #1215 )
...
* Fix #1141 , fix #1126 - Work through UpdateRemoteProfileService for both <feed> and <entry> top-level tags
* Improve code quality, remove line unrelated to fix
8 years ago
Eugen Rochko
cd68e54a7d
Split SalmonWorker into smaller parts, move profile updating into another job
8 years ago
Eugen Rochko
27d4971979
Fix casuality of processing remote mentions such that notifications
...
about them would be processed only after the entire status is processed
8 years ago
Eugen Rochko
b734ae3029
Skip remote media URLs that don't have a hostname
8 years ago
Eugen Rochko
ce193afa4f
Mentions in private statuses allow mentioned people to see them
8 years ago
Eugen Rochko
81be690f95
Fix #614 - extra reply-boolean on statuses to account for cases when replied-to
...
status is not in the system at time of distribution; fix #607 - reset privacy
settings to defaults when cancelling replies
8 years ago
Eugen Rochko
27ad4ce9e8
Do not run FetchLinkCardService on local URLs, increase file size limit to 8MB,
...
fix ProcessFeedService pushing status into distribution if called a second time
while the first is still running (i.e. when a PuSH comes after a Salmon slap),
fix not running escape on spoiler text before emojify
8 years ago
Eugen Rochko
4d011ee829
Use <summary> to encode content warnings instead
8 years ago
Eugen Rochko
959e064186
Instead of using spoiler boolean and spoiler_text, simply check for non-blank spoiler_text
...
Federate spoiler_text using warning attribute on <content /> instead of a <category term="spoiler" />
Clean up schema file from accidental development migrations
8 years ago
Eugen Rochko
3710d18889
Optional domain block attribute that prevents media attachments from being downloaded
8 years ago
Eugen Rochko
d8d22cfa6f
Instead of refusing to create accounts, domain blocks auto-suspend new accounts from that domain
8 years ago
Eugen Rochko
9d09b2c6b1
Fix preview cards layout, do preview card crawling for remote statuses
8 years ago
Eugen
4b384d6914
Fix too late return
8 years ago
Eugen Rochko
992c8d2c41
Add ruby version to Gemfile, move devDependencies in package.json to dependencies,
...
fix bug in process feed service
8 years ago
Eugen Rochko
b7c2c5d81d
Restoring old async behaviour of thread resolving as it proved to be more robust
8 years ago
Eugen Rochko
fb36684678
Thread resolving no longer needs to be separate from ProcessFeedService,
...
since that is only ever called in the background
8 years ago
Eugen Rochko
ca0757a6cf
Add account suspension
8 years ago
Eugen Rochko
8d4ef0b6c3
Per-status control for unlisted mode, also federation for unlisted mode
...
Fix #233 , fix #268
8 years ago
Eugen Rochko
23162b2893
Update hub URL and re-subscribe if hub URL changes
8 years ago
Eugen Rochko
f07b0dc82f
Remove unneeded indices, improve error handling in background workers, don't needlessly reload reblogged status, send Devise e-mails asynchronously
8 years ago
Eugen Rochko
3fc7820d6e
Call NotifyService about remote reblogs
8 years ago
Eugen Rochko
38025dfea3
Adding unified streamable notifications
8 years ago
Eugen Rochko
b373fb0ff6
Catch validation errors in ProcessFeedService so that one failing entry wouldn't stop others from going through
8 years ago
Eugen Rochko
d2029a8845
Don't create attachments if remote file cannot be fetched
8 years ago
Eugen Rochko
e71b152d89
Fix rubocop issues, introduce usage of frozen literal to improve performance
8 years ago
Eugen Rochko
6f0d312dc3
Force utf-8 encoding when processing XML
8 years ago
Eugen Rochko
0b03bbad67
Discard misattributed remote statuses, improve timelines filter
8 years ago
Eugen Rochko
c0ee14756f
Adding more logging
8 years ago
Eugen Rochko
ac79369f2b
Fix for thread resolve service and process feed service url method
8 years ago
Eugen Rochko
9da30e31c8
Fix region setting for AWS gem
8 years ago
Eugen Rochko
663c0edd8d
Fix typo
8 years ago
Eugen Rochko
434c3fb2f7
ProcessFeedService refactor
8 years ago
Eugen Rochko
8f0869876b
Improved configuration from ENV, cleaned up timeline filter methods
...
to be more readable, add extra logging to process feed service
8 years ago
Eugen Rochko
cb22dce970
Adding hashtags
8 years ago
Eugen Rochko
4762bb6b7a
Fix duplication of media attachments when a remote status reblogs a local one
8 years ago
Eugen Rochko
34bfc0f0dc
Fix up a few exceptions
8 years ago
Eugen Rochko
1af00c8193
Fixing namespaces issue
8 years ago
Eugen Rochko
61d7c88408
Fix namespace parsing in Atom feeds
8 years ago
Eugen Rochko
80217fd58b
Use Account#find_remote method when possible
8 years ago
Eugen Rochko
3d229e3937
Don't return unsaved status from ProcessFeedService
8 years ago
Eugen Rochko
33668b91f8
Adding test for ProcessFeedService
8 years ago
Eugen Rochko
5da603fb6f
Improve process feed service
8 years ago
Eugen Rochko
7cb55af441
Fix default assumed object type (note->activity), make stream entry threaded? check aware of orphaned replies
8 years ago
Eugen Rochko
b23c4b488c
Better comparison of "local" domain
8 years ago
Eugen Rochko
70e9dd0b5b
Blocking will prevent e-mail notifications from blocked user, blocks in UI
8 years ago
Eugen Rochko
d74da1a89a
Small fixes
8 years ago
Eugen Rochko
927333f4f8
Improve code style
8 years ago