Commit Graph

99 Commits (1389d5d7fd9e9081423d5ed6e28ab8bdee0415fa)

Author SHA1 Message Date
Eugen Rochko d14967e1c8 Fix URL configuration when S3 is enabled
Eugen Rochko 45230c56ab Improve S3 config
Eugen Rochko 3ab193bc3f Adding optional S3, fail-mastodon
Eugen Rochko 9467b900a2 Make cookies https-only if LOCAL_HTTPS is true, set X-Frame-Options to DENY,
add permissive CORS to API controllers
Eugen Rochko 720d1f8f3d Restrict access to oauth/applications to admins only
Eugen Rochko a9e40a3d80 Adding OAuth access scopes, fixing OAuth authorization UI, adding rate limiting
to the API
Eugen Rochko 43df35213e Improving all forms
Eugen Rochko d5e086a47b Adding application/jrd+json webfinger resource
Eugen Rochko e21a3fe0cd Adding sync of follow relationships to Neo4J, accounts/suggestions API
Eugen Rochko 3554d638b3 Fix - add follow/unfollow button to public profiles
Eugen Rochko f06f295890 Fix doorkeeper skip_authorization
Eugen Rochko 4909bbf415 Add logging for outgoing http requests
Eugen Rochko 492224b93f Allow non-https redirect URIs for OAuth apps (AndStatus seems to require this)
Eugen Rochko 7e14eefc81 Replace logo, fix - delete/unreblog/unfavourite API, fix - app
registration API
Eugen Rochko 3b56350121 Fix - Rate limit GET reqs to 300/5min, POST to 100/5min
Eugen Rochko 1022d682dc Normalized data in Redux, fix for asset URLs when rendered outside request
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
Eugen Rochko 44e57f64dd Improving statuses, adding a composer drawer, which doesn't work yet
Eugen Rochko bc0692d75b Removing mini-profiler that doesn't work, formatting timelines a bit better
Eugen Rochko 68c93f8b85 Final fix for ActionCable origin issues
Eugen Rochko 8985f8e66c Fixing more configuration issues with ActionCable
Eugen Rochko 5a8c149f6b Fix ActionCable origin checking
Eugen Rochko 6426819b6f Fix tests
Eugen Rochko 6deb9f966e Live timelines using ActionCable
Eugen Rochko 10ba09f546 Upgrade to Rails 5.0.0.1
Eugen Rochko 85b00d19b8 Moving Salmon notifications to background processing, fixing mini-profiler
behaviour with Turbolinks enabled, optimizing Rabl for production
Eugen Rochko 5764d52b04 Fix Sidekiq pooling issues. Remove API docs from homepage, replace with
a basic home timeline
Eugen Rochko 318886287b Fixing some stuff for Turbolinks, adding gzip on top, fixing a n+1 query
Eugen Rochko 36f3da3cde Adjust down the number of Sidekiq threads to 5 (default of 25 is way too high)
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
Eugen Rochko 42dcb0d4cb Adding Sidekiq for background processing (firstly just of mailers)
Eugen Rochko b640f35621 Writing out more tests, fixed some bugs
Eugen Rochko e2b846f630 Adding letter opener for development and Rack::Attack for future rate limiting implementations
Eugen Rochko 9cb690c706 Access tokens no longer expire, case-insensitive local username validation, as well as case-insensitive Webfinger look-up
Eugen Rochko 2c374cd97c Adding e-mail configuration
Eugen Rochko 6fec8afc3f Bind oauth applications to users
Eugen Rochko 3441361568 Adding simple_form, adding profile settings, header image
Eugen Rochko 1aa477ac2f Customized more doorkeeper views, only logged in users can create oauth apps
Eugen Rochko aab9f57e36 Adding config for puma, dashboard layout, fixing some queries
Eugen Rochko 447cfef62d Improving feed queries, switching API to doorkeeper authentication
Eugen Rochko b919f39b31 Customizing doorkeeper views for authorizing app
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 7e93da3f8d Removing grape and adding devise
Eugen Rochko 23d08c6749 Changing the use of config constants to the Rails configuration object
Eugen Rochko ee73d35eea Incoming Salmon requests can be turned into follows and unfollows
Eugen Rochko 1dad72bf13 Fixes and general progress
Eugen Rochko 709c6685a9 Made some progress
Eugen Rochko 9c4856bdb1 Initial commit