Commit Graph

64 Commits (ba84b6d4d7b2e1ccdcbfcdd5e0d09fbfdb241f45)

Author SHA1 Message Date
Eugen Rochko 0f5bbb999c Pre-loading polymorphic associations for Atom feeds 10 years ago
Eugen Rochko 7e58303a8d Limit Atom feeds to 20 items by default, add pagination by max_id
(But there are no Atom feed pagination elements yet)
10 years ago
Eugen Rochko 7e00a21ea6 Small optimizations in Atom feeds 10 years ago
Eugen Rochko 19a259915e Security update 10 years ago
Eugen Rochko e14b76c7cb On following/followers pages, show most recent first 10 years ago
Eugen Rochko 71ae4dd3d2 Adding public following and followers pages, fix #3 10 years ago
Eugen Rochko c349200761 Removing some unused gems, adding pagination to profiles, fix #10 10 years ago
Eugen Rochko aab9f57e36 Adding config for puma, dashboard layout, fixing some queries 10 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.
10 years ago
Eugen Rochko c605b828b5 Adding routes to follow, unfollow, favourite and reblog (locally known models) 10 years ago
Eugen Rochko aab330eb2d Adjusting design of public pages, optimizing account page queries 10 years ago
Eugen Rochko ab80ebdeec Adjusting design of profile and entry pages, linkify mentions in statuses 10 years ago
Eugen Rochko 3b4e04dc32 Fixing some bugs, adding pending test examples 10 years ago
Eugen Rochko 0e8f59c16f Refactoring Grape API methods into normal controllers & other things 10 years ago