Commit Graph

1141 Commits (a1ac2a73fffa2a8e1b3aa71041fd01c1587e0d5f)

Author SHA1 Message Date
Eugen Rochko 66a2107527 Turns out that replies don't have to have the type comment. Changed handling
of those to depend on presence of <thr:in-reply-to /> instead
Eugen Rochko f97fc9744f Use FanOutOnWriteService AFTER processing mentions
Eugen Rochko 071f64d317 Fix , Atom feeds now contain formatted post content
Eugen Rochko 580b91c387 Fix more subtle bugs with first_or_create
Eugen Rochko 48aeacd5f9 Fixed ANOTHER first_or_create bug. Seriously who came up with that API smh
Eugen Rochko 9a7485d034 Fix typo on /api/accounts/:id/statuses, fix potential case-sensitivity issue
when registering incoming status mentions, add Travis CI file
Eugen Rochko af7ae348d7 Include AtomBuilderHelper (which declared url_for_target) to all services
Eugen Rochko d022975444 Fixing small bug with FollowRemoteAccountService usage
Eugen Rochko 086d487145 Fix unfollows
Eugen Rochko 75b3339a99 Respect "delete" verb on remote feeds
Eugen Rochko 1aa477ac2f Customized more doorkeeper views, only logged in users can create oauth apps
Eugen Rochko 447cfef62d Improving feed queries, switching API to doorkeeper authentication
Eugen Rochko 6c4c84b161 Distrubute statuses as a fan-out-on-write system, with optional precomputing
Eugen Rochko ab6696e855 Adding doorkeeper, adding a REST API
POST /api/statuses                  Params: status (text contents), in_reply_to_id (optional)
GET  /api/statuses/:id
POST /api/statuses/:id/reblog

GET  /api/accounts/:id
GET  /api/accounts/:id/following
GET  /api/accounts/:id/followers
POST /api/accounts/:id/follow
POST /api/accounts/:id/unfollow

POST /api/follows                  Params: uri (e.g. user@domain)

OAuth authentication is currently disabled, but the API can be used with HTTP Auth.
Eugen Rochko c605b828b5 Adding routes to follow, unfollow, favourite and reblog (locally known models)
Eugen Rochko 23d08c6749 Changing the use of config constants to the Rails configuration object
Eugen Rochko 0e8f59c16f Refactoring Grape API methods into normal controllers & other things
Eugen Rochko 11ff92c9d7 Adding a test for ReblogService, fixing mentions for remote statuses
Eugen Rochko 47d50b0e39 A lot of fixes from a live test
Eugen Rochko 9ec03ab5f5 Ping hubs when following somebody, too
Eugen Rochko 8fada4fae2 When posting a status or reblogging one, ping hubs about the feed update
Eugen Rochko ad5ae3f60e Update profile information and download avatar of remote accounts
Eugen Rochko f16b31f077 Adding a bunch of tests
Eugen Rochko 44c5958203 Fixed small bugs and code style offences
Eugen Rochko 71fe24096c Adding a Mention model, test stubs
Eugen Rochko 42eeecba3f Service to reblog statuses
Eugen Rochko c967802c43 Notify remote users about mentions
Eugen Rochko 79609d6270 Add service for posting statuses (normal and replies), mention regex to
fetch webfinger information of mentioned accounts
Eugen Rochko 8da8387afe Add shared statuses to the database
Eugen Rochko fa7868675d Send Salmon interactions
Eugen Rochko 10eb47a33e Do not PuSH-subscribe to remote accounts when creating them for salmon
Eugen Rochko 784b9cca6a Forgotten argument fix
Eugen Rochko 9411e8c35a Feed processing except fetching remote statuses
Eugen Rochko 79baf2fd99 Process favourites, reblogs and replies from Salmon
Eugen Rochko ee73d35eea Incoming Salmon requests can be turned into follows and unfollows
Eugen Rochko fa33750105 Adding reblogs, favourites, improving atom generation
Eugen Rochko 3b0bc18db9 Improved Atom rendering templates, added README
Eugen Rochko 2bc48e9064 Individual atom entries
Eugen Rochko 1dad72bf13 Fixes and general progress
Eugen Rochko 709c6685a9 Made some progress
Eugen Rochko 9c4856bdb1 Initial commit