Commit Graph

441 Commits (df1ce2350ccbedf145ad9a1b98582610cea80604)

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
9 years ago
Eugen Rochko f97fc9744f Use FanOutOnWriteService AFTER processing mentions 9 years ago
Eugen Rochko 071f64d317 Fix #13, Atom feeds now contain formatted post content 9 years ago
Eugen Rochko 580b91c387 Fix more subtle bugs with first_or_create 9 years ago
Eugen Rochko 48aeacd5f9 Fixed ANOTHER first_or_create bug. Seriously who came up with that API smh 9 years ago
Eugen Rochko 9a7485d034 Fix typo on /api/accounts/:id/statuses, fix potential case-sensitivity issue
when registering incoming status mentions, add Travis CI file
9 years ago
Eugen Rochko af7ae348d7 Include AtomBuilderHelper (which declared url_for_target) to all services 9 years ago
Eugen Rochko d022975444 Fixing small bug with FollowRemoteAccountService usage 9 years ago
Eugen Rochko 086d487145 Fix unfollows 9 years ago
Eugen Rochko 75b3339a99 Respect "delete" verb on remote feeds 9 years ago
Eugen Rochko 1aa477ac2f Customized more doorkeeper views, only logged in users can create oauth apps 9 years ago
Eugen Rochko 447cfef62d Improving feed queries, switching API to doorkeeper authentication 9 years ago
Eugen Rochko 6c4c84b161 Distrubute statuses as a fan-out-on-write system, with optional precomputing 9 years ago
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.
9 years ago
Eugen Rochko c605b828b5 Adding routes to follow, unfollow, favourite and reblog (locally known models) 9 years ago
Eugen Rochko 23d08c6749 Changing the use of config constants to the Rails configuration object 9 years ago
Eugen Rochko 0e8f59c16f Refactoring Grape API methods into normal controllers & other things 9 years ago
Eugen Rochko 11ff92c9d7 Adding a test for ReblogService, fixing mentions for remote statuses 9 years ago
Eugen Rochko 47d50b0e39 A lot of fixes from a live test 9 years ago
Eugen Rochko 9ec03ab5f5 Ping hubs when following somebody, too 9 years ago
Eugen Rochko 8fada4fae2 When posting a status or reblogging one, ping hubs about the feed update 9 years ago
Eugen Rochko ad5ae3f60e Update profile information and download avatar of remote accounts 9 years ago
Eugen Rochko f16b31f077 Adding a bunch of tests 9 years ago
Eugen Rochko 44c5958203 Fixed small bugs and code style offences 9 years ago
Eugen Rochko 71fe24096c Adding a Mention model, test stubs 9 years ago
Eugen Rochko 42eeecba3f Service to reblog statuses 9 years ago
Eugen Rochko c967802c43 Notify remote users about mentions 9 years ago
Eugen Rochko 79609d6270 Add service for posting statuses (normal and replies), mention regex to
fetch webfinger information of mentioned accounts
9 years ago
Eugen Rochko 8da8387afe Add shared statuses to the database 9 years ago
Eugen Rochko fa7868675d Send Salmon interactions 9 years ago
Eugen Rochko 10eb47a33e Do not PuSH-subscribe to remote accounts when creating them for salmon 9 years ago
Eugen Rochko 784b9cca6a Forgotten argument fix 9 years ago
Eugen Rochko 9411e8c35a Feed processing except fetching remote statuses 9 years ago
Eugen Rochko 79baf2fd99 Process favourites, reblogs and replies from Salmon 9 years ago
Eugen Rochko ee73d35eea Incoming Salmon requests can be turned into follows and unfollows 9 years ago
Eugen Rochko fa33750105 Adding reblogs, favourites, improving atom generation 9 years ago
Eugen Rochko 3b0bc18db9 Improved Atom rendering templates, added README 9 years ago
Eugen Rochko 2bc48e9064 Individual atom entries 9 years ago
Eugen Rochko 1dad72bf13 Fixes and general progress 9 years ago
Eugen Rochko 709c6685a9 Made some progress 9 years ago
Eugen Rochko 9c4856bdb1 Initial commit 9 years ago