Commit Graph

317 Commits (24d265d604ae01bdffb746671c8ea87a65abb97c)

Author SHA1 Message Date
Eugen Rochko 059ebbf48d Separate PuSH subscriptions from following, add mastodon:push:refresh task,
respect hub.lease_seconds (fix #46)
9 years ago
Eugen Rochko ae1fac0062 Add API to upload media attachments 9 years ago
Eugen Rochko 92afd29650 The frontend will now be an OAuth app, auto-authorized. The frontend will use an access token for API requests
Adding better errors for the API controllers, posting a simple status works from the frontend now
9 years ago
Eugen Rochko 10ba09f546 Upgrade to Rails 5.0.0.1 9 years ago
Eugen Rochko e24bfbde1a Fixing FanOutOnWriteService, fixing Sidekiq not having enough DB connections
in the pool, adding a throttle of 60rpm per IP, adding mini profiler, adding
admin status to users
9 years ago
Eugen Rochko 02e4fb2e06 Only re-download avatar if URL changed (fix #19) 9 years ago
Eugen Rochko 8767a98fbb Adding CSS for form errors, adding missing indices 9 years ago
Eugen Rochko 6fec8afc3f Bind oauth applications to users 9 years ago
Eugen Rochko 3441361568 Adding simple_form, adding profile settings, header image 10 years ago
Eugen Rochko b919f39b31 Customizing doorkeeper views for authorizing app 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 7e93da3f8d Removing grape and adding devise 10 years ago
Eugen Rochko 2c70f0ecaa Adding paperclip for avatars, fixing design of the public pages 10 years ago
Eugen Rochko 71fe24096c Adding a Mention model, test stubs 10 years ago
Eugen Rochko fa33750105 Adding reblogs, favourites, improving atom generation 10 years ago
Eugen Rochko 709c6685a9 Made some progress 10 years ago
Eugen Rochko 9c4856bdb1 Initial commit 10 years ago