diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-03-25 16:10:14 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-03-25 16:10:14 +0100 |
commit | 5764d52b04b04381d52896737eb2ffdfe1f87cfd (patch) | |
tree | cf8d3b6a1706df893bea320ac590ed0e73afc94f /app/views/home | |
parent | bb98ee489d096c438d3e299deb15e47dfe9b5bff (diff) |
Fix Sidekiq pooling issues. Remove API docs from homepage, replace with
a basic home timeline
Diffstat (limited to 'app/views/home')
-rw-r--r-- | app/views/home/index.html.haml | 112 |
1 files changed, 4 insertions, 108 deletions
diff --git a/app/views/home/index.html.haml b/app/views/home/index.html.haml index 70f91d4a3..a663bf37b 100644 --- a/app/views/home/index.html.haml +++ b/app/views/home/index.html.haml @@ -4,111 +4,7 @@ .form-actions = f.button :submit, 'Post update' -%hr/ - -%h3 OAuth2 -%p All API methods require a valid access token. - -%h3 Statuses -%ul.api-descriptions - %li - .address - %samp.method GET - %samp /api/statuses/home - .description - Returns user's home timeline - %li - .address - %samp.method GET - %samp /api/statuses/mentions - .description - Returns user's mentions timeline - %li - .address - %samp.method POST - %samp /api/statuses - .options - Options: - = succeed ',' do - %samp status - %samp in_reply_to_id - .description - Creates a new status, optionally as a response to another, from user's account. Returns the new status. - %li - .address - %samp.method GET - %samp /api/statuses/:id - .description - Returns a single status - %li - .address - %samp.method POST - %samp /api/statuses/:id/reblog - .description - Reblogs a status from user's account. Returns the target status. - %li - .address - %samp.method POST - %samp /api/statuses/:id/favourite - .description - Favourites a status from user's account. Returns the target status. - -%h3 Accounts -%ul.api-descriptions - %li - .address - %samp.method GET - %samp /api/accounts/:id - .description - Returns a single account - %li - .address - %samp.method GET - %samp /api/accounts/:id/statuses - .description - Returns an account's statuses - %li - .address - %samp.method GET - %samp /api/accounts/:id/followers - .description - Returns accounts following an account - %li - .address - %samp.method GET - %samp /api/accounts/:id/following - .description - Returns the accounts the target account follows - %li - .address - %samp.method POST - %samp /api/accounts/:id/follow - .description - Follows target account from the user's account. Returns the target account. - %li - .address - %samp.method POST - %samp /api/accounts/:id/unfollow - .description - Unfollows target account from the user's account. Returns the target account. - %li - .address - %samp.method GET - %samp /api/accounts/lookup - .options - Options: - %samp usernames - .description - Returns accounts for a comma-separated list of usernames - -%h3 Follows -%ul.api-descriptions - %li - .address - %samp.method POST - %samp /api/follows - .options - Options: - %samp uri - .description - Follows a user, regardless of where they are, from user's account. URI assumed to be of username@domain form. Returns the target account. +- content_for :raw_content do + .activity-stream.activity-stream-embedded + - @timeline.each do |status| + = render partial: 'stream_entries/status', locals: { status: status } |