Commit Graph

20 Commits (e906677092ca2f38abd918436ea5967c096d555f)

Author SHA1 Message Date
Eugen Rochko 762157ee4e Fix for single status pages 8 years ago
Eugen Rochko 85d89b472d Optimized n+1 queries in accounts Atom and HTML views
Added stack trace for SQL queries in development
Removed badly thought out accounts/lookup API
8 years ago
Eugen Rochko 0f4bc56719 Improving production logs, removing n+1 on media attachments in atom,
adding attachments display to static views
8 years ago
Eugen Rochko 54ea7f5dfe Case-insensitive search by usernames 8 years ago
Eugen Rochko a08e724476 Fix subscriptions:clear task, refactor feeds, refactor streamable activites
and atom feed generation to some extent, as well as the way mentions are
stored
9 years ago
Eugen Rochko 9594f0e858 Fix preloading 9 years ago
Eugen Rochko 0f5bbb999c Pre-loading polymorphic associations for Atom feeds 9 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)
9 years ago
Eugen Rochko 7e00a21ea6 Small optimizations in Atom feeds 9 years ago
Eugen Rochko 19a259915e Security update 9 years ago
Eugen Rochko e14b76c7cb On following/followers pages, show most recent first 9 years ago
Eugen Rochko 71ae4dd3d2 Adding public following and followers pages, fix #3 9 years ago
Eugen Rochko c349200761 Removing some unused gems, adding pagination to profiles, fix #10 9 years ago
Eugen Rochko aab9f57e36 Adding config for puma, dashboard layout, fixing some queries 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 aab330eb2d Adjusting design of public pages, optimizing account page queries 9 years ago
Eugen Rochko ab80ebdeec Adjusting design of profile and entry pages, linkify mentions in statuses 9 years ago
Eugen Rochko 3b4e04dc32 Fixing some bugs, adding pending test examples 9 years ago
Eugen Rochko 0e8f59c16f Refactoring Grape API methods into normal controllers & other things 9 years ago