Eugen Rochko
5f511324b6
Add validation of media attachments, clean up mastodon-own exception classes
7 years ago
Rakib Hasan
87a6bed9e9
previous commit was creating the status regardless
of mix of video and images in status, just wasn't rendering
the show action. I moved the validation before the status creation
7 years ago
Rakib Hasan
6f9ecd899e
revisted fix for #462
Moved validation to services/post_status_service.rb
7 years ago
Eugen Rochko
3beb24ad55
Use <summary> to encode content warnings instead
7 years ago
Eugen Rochko
999cde94a6
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
7 years ago
blackle
bf0f6eb62d
Implement a click-to-view spoiler system
7 years ago
Eugen Rochko
f0de621e76
Fix #463 - Fetch and display previews of URLs using OpenGraph tags
7 years ago
Eugen Rochko
e9737c2235
Fix tests, add applications to eager loading/cache for statuses, fix
application website validation, don't link to app website if website isn't set,
also comment out animated boost icon from #464 until it's consistent with non-animated version
7 years ago
Effy Elden
d6bc0e8db4
Add tracking of OAuth app that posted a status, extend OAuth apps to have optional website field, add application details to API, show application name and website on detailed status views. Resolves #11
7 years ago
Eugen Rochko
80e02b90e4
Private visibility on statuses prevents non-followers from seeing those
Filters out hidden stream entries from Atom feed
Blocks now generate hidden stream entries, can be used to federate blocks
Private statuses cannot be reblogged (generates generic 422 error for now)
POST /api/v1/statuses now takes visibility=(public|unlisted|private) param instead of unlisted boolean
Statuses JSON now contains visibility=(public|unlisted|private) field
7 years ago
Eugen Rochko
6de079a5af
Removing external hub completely, fix #333 fixing digit-only hashtags,
removing web app capability from non-webapp pages
7 years ago
Eugen Rochko
14bd46946d
Per-status control for unlisted mode, also federation for unlisted mode
Fix #233 , fix #268
8 years ago
Eugen Rochko
2d2c81765b
Adding embedded PuSH server
8 years ago
Eugen Rochko
0603971894
Adding sensitive marker to statuses in API
8 years ago
Eugen Rochko
fdc17bea58
Fix rubocop issues, introduce usage of frozen literal to improve performance
8 years ago
Eugen Rochko
48b9619439
Adding hashtags
8 years ago
Eugen Rochko
3319473b2c
Move PubSubHubbub pinging to a background worker
It can take as much as 0.5s if not longer to complete
8 years ago
Eugen Rochko
927333f4f8
Improve code style
8 years ago
Eugen Rochko
499beb4484
UI for uploading media attachments (and cancelling them)
Mostly resolves #8 , though attachments are still not displayed in public view
8 years ago
Eugen Rochko
eec0dc46a6
PostStatusService can attach media to status, ProcessFeedService likewise
8 years ago
Eugen Rochko
8eeec389c1
Add link to github project to footer, move FanOutOnWriteService calls to
DistributionWorker. That isn't the heaviest service, yet, but gotta start
somewhere
8 years ago
Eugen Rochko
f97fc9744f
Use FanOutOnWriteService AFTER processing mentions
8 years ago
Eugen Rochko
23d08c6749
Changing the use of config constants to the Rails configuration object
8 years ago
Eugen Rochko
0e8f59c16f
Refactoring Grape API methods into normal controllers & other things
8 years ago
Eugen Rochko
47d50b0e39
A lot of fixes from a live test
8 years ago
Eugen Rochko
8fada4fae2
When posting a status or reblogging one, ping hubs about the feed update
8 years ago
Eugen Rochko
71fe24096c
Adding a Mention model, test stubs
8 years ago
Eugen Rochko
42eeecba3f
Service to reblog statuses
8 years ago
Eugen Rochko
c967802c43
Notify remote users about mentions
8 years ago
Eugen Rochko
79609d6270
Add service for posting statuses (normal and replies), mention regex to
fetch webfinger information of mentioned accounts
8 years ago