Commit Graph

781 Commits (bb4c3831b2466438d04f5b7064ac688c2a30cb98)

Author SHA1 Message Date
Eugen Rochko 175a9b9caa Fix - Style OAuth authorized applications page
Add ability to search accounts by display name
Eugen Rochko 9d4cad6307 Improve glow
Eugen Rochko 8132cf8153 Add GET /api/v1/accounts/:id/statuses/media that returns only statuses with media attachments
Make replies default to privacy settings of the status being replied to
Eugen Rochko d0f087db2d Add UI to view report details, remove reported statuses, quick links to resolve/silence/suspend from report
Eugen Rochko 24ba7c9762 Adding index overview for reports in admin UI
Eugen Rochko ff49649130 Expose Link headers via CORS
Eugen Rochko 5426f06ac2 Fix admin UI for accounts somewhat
Eugen Rochko 3b81baaaaf Adding POST /api/v1/reports API, and a UI for submitting reports
Eugen Rochko 63886bdc59 Fix - Display TOTP secret next to QR code
Eugen Rochko 138d21aea8 Update service timeout setting from 15s to 90s
Eugen Rochko 0518492158 Stop trying to shoehorn all Salmon updates into the poor database-connected
StreamEntry model. Simply render Salmon slaps as they are needed
Eugen Rochko d2619e0b53 Site title is now a setting
shel 2d6f603c2b Add link to other instances text
Text for link to other instances
Eugen 9d5fb49cd8 Merge pull request from evanminto/activitypub-account
Expose ActivityStreams 2.0 representation of accounts
Eugen Rochko 347a153b3d Add API modifiers to limit returned toots from public/hashtag timelines
to only those from local users; Add link to "extended information" to
getting started in the UI; Add defaults for posting privacy; Change
how publish button looks depending on posting privacy chosen
Evan Minto 94e213c6c1 Reuse existing controller and route
Eugen Rochko 77e13c2bc9 Removing failed push notification API, make context loads use cache
Eugen Rochko 19b9e1e2c3 Preheat status cache
Evan Minto 8bd8ea7c04 Remove unnecessary leftover code
Evan Minto e2fbf8bc74 Add an account endpoint for ActivityPub and link to it on HTML profile pages
Eugen Rochko ccb8ac8573 Make the streaming API also handle websockets (because trying to get the browser EventSource interface to
work flawlessly was a nightmare). WARNING: This commit makes the web UI connect to the streaming API instead
of ActionCable like before. This means that if you are upgrading, you should set that up beforehand.
Eugen Rochko d9ca46b464 Cleaning up format of broadcast real-time messages, removing
redis-backed "mentions" timeline as redundant (given notifications)
Eugen Rochko 1da0ce5c7c Looks like log level :debug is required for activerecord times to be tracked
Eugen Rochko 65402d9c09 Fix activerecord logging in production
Eugen Rochko c2fbd144cf Add "open in web" link to detailed public status pages
Eugen Rochko a2a85e8549 Add capistrano to development environment
Eugen Rochko 3f075c7794 API for apps to register for push notifications
Eugen Rochko 23b997ae55 Split 2FA login into two prompts
Eugen Rochko f4bc9620a9 Update settings to re-use admin layout, one big navigation tree, improve settings forms
Eugen Rochko 76e970c856 Do not automatically login after password reset, as it would circumvent two-factor auth (if enabled)
Do not require e-mail address changes to be re-confirmed, it's only trouble for no real benefit
Eugen Rochko ba192f12e3 Added optional two-factor authentication
Eugen Rochko f6a5977f0b Fix key names in statsd
Eugen Rochko d567f21d4f Improve StatsD instrumentation
Eugen Rochko 7329fbd8a4 Fix up timeout, improve contrast on "show more", add responsive style
for extremely wide monitors
Eugen Rochko cc5c1e5feb Removed accidental n+1 query from notifications, updated some deps,
improved how "show more" link looks
Effy Elden 07b9a10d4d Add redirect for /admin => /admin/settings
Eugen Rochko 999cde94a6 Instead of using spoiler boolean and spoiler_text, simply check for non-blank spoiler_text
Federate spoiler_text using warning attribute on <content /> instead of a <category term="spoiler" />
Clean up schema file from accidental development migrations
Eugen Rochko f392030ab8 Add /api/v1/notifications/clear, non-existing link cards for statuses will
now return empty hash instead of throwing a 404 error. When following,
merge into timeline will filter statuses
Eugen 956da43e19 Fix error
Eugen Rochko 61aee0006e Override Rack::Request to use the same trusted proxy settings as Rails
Eugen Rochko 67befe5463 Allow to specify trusted proxies through env
Eugen Rochko e028406db4 Fix code style
Eugen Rochko d72dd38c13 Merge branch 'master' of https://github.com/ineffyble/mastodon into ineffyble-master
Eugen Rochko 3a4b5961be Method to fetch a single notification
Effy Elden 5fef55c11a Set remote dev environments to use letter_opener_web, add default .env.vagrant variables
Eugen Rochko f0de621e76 Fix - Fetch and display previews of URLs using OpenGraph tags
Eugen Rochko f051c2e813 Fix statsd null backend not being initialized properly
Eugen Rochko 306eb6e9c9 Add optional StatsD performance tracking
Eugen Rochko fcb5a85cdd Add sounds for notifications. Boop by @jk@mastodon.social
Effy Elden ab4f5f5da5 Add Heroku deployment support
Eugen 16f9490d33 Merge pull request from ineffyble/fix-paperclip-s3-acl
Fix S3 default settings
Eugen Rochko e9737c2235 Fix tests, add applications to eager loading/cache for statuses, fix
application website validation, don't link to app website if website isn't set,
also comment out animated boost icon from  until it's consistent with non-animated version
Effy Elden a097dd489b Change default S3 ACL string used by Paperclip from 'public' (which is invalid) to 'public-read'
Effy Elden e45fed58cb Add a textual 'Back to Mastodon' link in footer of settings pages
Eugen Rochko c01dd089ff Adding about/more page with extended information that can be set up by an admin
Eugen Rochko e25170f960 Add extended about page stub
Eugen Rochko b11fdc3ae3 Migrate from ledermann/rails-settings to rails-settings-cached which allows global settings
with YAML-defined defaults. Add admin page for editing global settings. Add "site_description"
setting that would show as a paragraph on the frontpage
Eugen 4292cf60ae Fix env variable name
Eugen Rochko 75f80bef10 Persist UI settings, add missing localizations for German
Eugen Rochko 2e71bb031b Fix Paperclip timeout setting. Fix bug introduced in
Eugen Rochko 7ddec6e7c3 Add read timeout to paperclip when it's downloading remote images
Jessica Stokes bb033c1d37
"Reblog" -> "boost" in more places
A couple of places were using "reblog" rather than "boost" - this updates them to match the web UI
Eugen Rochko 2b0b7ff1b8 Fix - /web now loads a page
Eugen Rochko 8f47f6a7ec Adding remote follow button
Eugen Rochko a302e56f9a Add API for retrieving favourites
Eugen Rochko 49834a6e7f Add API for retrieving blocked accounts
Eugen Rochko d7dc84439c Add ability to use remote follow function on other sites
Eugen Rochko eca6110fc4 Add preferences for follow request notification e-mails
Eugen Rochko 2146ac91a0 Follow requests send e-mail notifications, but are excluded from notifications API
Better initial state for unlisted/nsfw toggles
Eugen Rochko 3689c119f0 Replacing follow requests in the settings area with in-UI column
Eugen Rochko 004382e4d0 Adding follow requests API
Eugen Rochko b302b9202b Add page for authorizing/rejecting follow requests
Eugen Rochko 3c841c7306 Adjust wording
Eugen Rochko 05b13c38b5 Re-enable Webfinger for locked accounts but don't handle "follow" events
coming in via Salmon.

Currently no way to prevent remote follows, but they will only receive public
and unlisted posts
Eugen Rochko b891a81008 Follow call on locked account creates follow request instead
Reflect "requested" relationship in API and UI
Reflect inability of private posts to be reblogged in the UI
Disable Webfinger for locked accounts
Eugen Rochko 2d2154ba75 Add "locked" flag to accounts, prevent blocked users from following, force-unfollow blocked users
Eugen Rochko 6d71044c85 Don't use rack timeout in any but production environments
Eugen Rochko e09d3a2c66 Fix - use window.location hack to let people login from sandboxed iOS homescreen
Eugen 6b67b55cee Merge pull request from victorhck/master
added two missings spanish  translations
Eugen Rochko 5ae1b39ec9 Adjusting public display of statuses to look similar to logged-in UI,
fix  with rich OEmbed display via iframe, fix  by hiding sensitive
content behind a spoiler on public pages
Eugen Rochko aed25932b5 Add OEmbed iframe HTML, convert emojis on public pages, increase size of attachment thumbnails
Eugen Rochko 6de079a5af Removing external hub completely, fix fixing digit-only hashtags,
removing web app capability from non-webapp pages
victorhck f5c8d64b6d added to missings spanish translations
Eugen Rochko 76ec907993 Improved admin UI
Eugen Rochko 0c491ea928 Fix translations
Stanislav Makar d2ab41aea4 Declare Ukrainian
Closes: 
Vladyslav 2c6c912076 Fix some translation errors.
Vladyslav d85c566960 Final steps for Ukrainian translation
Eugen Rochko 8b93f45f3d Fix paperclip config
Eugen Rochko f114bc7bb7 Update Paperclip config to allow plugging in Minio instead of AWS
Eugen Rochko f978b06dd1 Add suspend account functionality to admin UI
Eugen Rochko 1357c1cb3d Add single user mode
Eugen a910cdd54d Merge pull request from stamak/uk.yml
Add Ukrainian localization file uk.yml
Stanislav Makar 0e18bbe3e2 Add Ukrainian localization file uk.yml
Closes: 
Eugen Rochko b362de2232 Adding configurable e-mail blacklist
Eugen Rochko 9d9f796130 Adding more to admin accounts UI
Eugen Rochko f763e844e8 Do not use expiring links after all
Eugen Rochko 80c44ed9c1 Do not autoplay videos, display play button instead. Use expiring links when using S3. Do not keep originals
for avatars/headers, resize avatars down to 120x120 instead of 300x300. Set cache headers on S3 stuff, also
make it private (aka only accessible via expiring links to prevent hotlinking)
Eugen Rochko 290ffb63cd Fix cloudfront config
Eugen Rochko d3bd10dfe4 Add Cloudfront support
Stanislav Makar ea91286aaa Add Ukrainian localization file doorkeeper.uk.yml
Closes: 
Andrea Faulds 1c1102008f Fix line endings for Portuguese locale
Eugen Rochko 1d0321fc45 Fix pt translations, improve pre-cache queries, removing will_paginate
from accounts/tags because it's a terribly inefficient way to paginate
large sets of data
unsmell 66e55d60e1 Create pt localisation files in /config/locales/
Eugen Rochko 6ff93845d5 Add basic OEmbed provider API, fix
Eugen Rochko 14bd46946d Per-status control for unlisted mode, also federation for unlisted mode
Fix , fix 
Eugen Rochko 356d3874eb Normalize localizations, add stub for admin/accounts
Eugen Rochko 5973ca3d11 Upgrade Paperclip to 5, AWS-SDK to 2, do not generate medium/small versions of avatars
Eugen Rochko cc70f28f19 Adding rack timeout of 30sec, PuSH jobs moved to push queue so they
can be processed separately
Eugen Rochko c0555f2db6 Don't rate-limit PuSH endpoints
Eugen Rochko 4e351baf88 Fix URLs in inline-rendered XML
Eugen 41ef277da3 Fix URLs in ApplicationController.renderer
Eugen Rochko 27fc49d745 Add simple admin overview of PuSH subscriptions
Eugen Rochko 66ab0d0d56 Enabling portuguese and hungarian translations, which are awfully incomplete
Eugen Rochko 2d2c81765b Adding embedded PuSH server
Eugen 26287b6e7d Merge pull request from kodacs/master
Hungarian translation for Mastodon.
Eugen Rochko 6c82dfcf5f Fix CDN_HOST variable requirement
Eugen Rochko dda9ac9222 Fix reset date format when rate limited
kodacs b503a5e05e fix missing i18n item
kodacs 7bd559158b fixing yamls for
kodacs 6586408c69 fix
nicolas 959e4b8198 Merge branch 'master' into french-translation
nicolas 9bb885805c Update simple_form.fr.yml
Eugen Rochko 1ff0d5aea6 Normalized locale files
Eugen 1c9e21a507 Merge pull request from nclm/french-translation
French localisation update
Eugen Rochko 71401659b8 Fix - Options to block notifications from people you don't follow/who don't follow you
kodacs eb3a12bba6 Server side HU translation + Toot fix.
nicolas d0122045f4 Update simple_form.fr.yml
nicolas 4cc6684881 Update fr.yml
Eugen Rochko 8efa081f21 Remove Neo4J
Eugen Rochko 8e34bed7cc Mini Profiler not working well, remove it
Eugen Rochko 4f1d863615 Only distribute statuses to followers who signed in in the last 2 weeks, add rake task for clearing feeds of inactive users
nicolas 23677bc51e Merge branch 'master' into french-translation
nicolas 1e95fbb10b Update doorkeeper.fr.yml
e
nicolas 94f96a6e85 Update doorkeeper.fr.yml
Eugen Rochko fc90d38893 Moving some counter queries out of subqueries in the API
Eugen Rochko 4a422650bb Fix broken locales
nicolas 82cb34916a Update fr.yml
nicolas ba4c03de71 Update simple_form.fr.yml
silenced mode + edits
nicolas 89dab7c534 Merging code updates (Unlisted Mode)
Eugen Rochko 1788164352 Local accounts can control "silenced" attribute which removes them from public timeline
nicolas 64cfbbcc55 Adding French locale
nicolas 46d9076e99 Importing doorkeeper.fr.yml
From https://github.com/doorkeeper-gem/doorkeeper-i18n/blob/master/rails/locales/fr.yml
nicolas 12e9f789ab Importing devise.fr.yml
From https://gist.github.com/qsypoq/4cf3b858ff8242ffb013
Eugen Rochko 7944ed6fe5 Adding option to specify asset server, filter followers query by local accounts
during Fan Out On Write to load less stuff into memory
nicolas a3afea7b9d First version for simple_form.fr.yml
nicolas fc87243c39 First version for fr.yml
nicolas 05823c325c Create devise.fr.yml
nicolas 753115ff57 Create doorkeeper.fr.yml
nicolas 8504110d45 Create simple_form.fr.yml
nicolas e9980a9b8b Create fr.yml
Eugen Rochko db58235930 Fixes for the Spanish translation
Eugen Rochko 38dd85daab Adding notifications column
Eugen Rochko da2ef4d676 Adding unified streamable notifications
Victorhck c12125e6b5 improvements in text made by Ekaitz
Victorhck 0b48973733 fix typos, and suggestions made by Ekaitz
Eugen Rochko 8977fde8ed Fix up Spanish translations
Victorhck d68750d7dc Finished spanish translation config files
Eugen 93e47c7135 Fix wrong language declaration
Eugen 5cda7f6bbb Fix wrong language declaration
victorhck a6ed09441c finished spanish translation config files
Eugen Rochko c7a1b78536 Activating Spanish i18n
Victorhck 367b05d733 Spanish translation for devise.es.yml
Victorhck a05fe70c24 finished spanish translation for es.yml
victorhck 084668c170 started sp translations config locales
Eugen Rochko 85d1b74ac3 Adding german localization
Eugen Rochko 116ab27e08 i18n for devise mailer too
Eugen Rochko 2c766bd4b4 Add user locale setting
Eugen Rochko 546c4718e7 Localizations for most server-side strings
Eugen Rochko 3ce6ac0ce2 Adding some localizations
Eugen Rochko fdc17bea58 Fix rubocop issues, introduce usage of frozen literal to improve performance
Eugen Rochko d42ed78aa4 Fix - Make web UI use browser history, change links in e-mails to link to that
Eugen Rochko 09218d4c01 Use full-text search for autosuggestions
Eugen Rochko ff229aa978 Fix - Add "Server: Mastodon" header to responses
Eugen Rochko 448ab18a20 Replace setting custom CORS headers with rack-cors, set it on /oauth/token endpoint
Eugen Rochko b13e7dda1f API pagination for all collections using Link header
Eugen Rochko 9aecc0f48a Move timelines API from statuses to its own controller, add a check for
resources that require a user context vs those that don't (such as public timeline)

/api/v1/statuses/public   -> /api/v1/timelines/public
/api/v1/statuses/home     -> /api/v1/timelines/home
/api/v1/statuses/mentions -> /api/v1/timelines/mentions
/api/v1/statuses/tag/:tag -> /api/v1/timelines/tag/:tag
Eugen Rochko 86574ea524 Adding Emoji One
Eugen Rochko 2f21f4cc01 Fix region setting for AWS gem
Eugen Rochko dbe00a4156 Improved configuration from ENV, cleaned up timeline filter methods
to be more readable, add extra logging to process feed service
Eugen Rochko b835f4aa1c Fix insecure S3 URLs
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 48b9619439 Adding hashtags
Eugen Rochko 6471a548fe Add pghero for analyzing postgres performance in production
Eugen Rochko 829d189f44 Add tests for recently added API end points
Eugen Rochko e4671adc25 Fix reblogged/favourited caching; add API endpoints for who favd/reblogged status
Eugen Rochko e7723ab662 Add puma preloading, decrease DB pool size to size of threads per worker
Eugen Rochko 53fb7b1aa8 Replace in-memory cache store with redis store, should decrease memory
footprint of each running process by 128mb
Eugen Rochko a59d10d3df Fix missing default headers
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 dd03118098 Fix follow icon changing plus to minus, add terms page stub
Eugen Rochko e0a197650a Adding common followers API, fixing fallback query again
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 dd02fc0ec4 More debugging
Eugen Rochko 6611e3a2ef More debugging
Eugen Rochko 4baca34a45 Do not compress JS (perhaps it removes source maps, needed for debugging)
Eugen Rochko c9a7e6e1e3 Enable source maps
Eugen Rochko e21a3fe0cd Adding sync of follow relationships to Neo4J, accounts/suggestions API
Eugen Rochko 7a6d95f70c E-mail preferences page
Eugen Rochko 1f650d327d Adding public timeline
Eugen Rochko 3554d638b3 Fix - add follow/unfollow button to public profiles
Waldir Pimenta 4f654eb822 use consistent capitalization for subject lines
Yann Vaillant 038a407b9e
Update default devise wording to include reference to Mastodon
Fix 
Eugen Rochko fe77921e47 Catching more exceptions that slipped through, removing AR logging from
production as it's very verbose and not very useful
Eugen Rochko 7b9a4af311 API for blocking and unblocking
Eugen Rochko fc198a8b4c Adding e-mail confirmations
Eugen Rochko d74da1a89a Small fixes
Eugen Rochko f06f295890 Fix doorkeeper skip_authorization
Eugen Rochko 6d7290f47c Add API for getting info about authenticated user: /api/v1/accounts/verify_credentials
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 e63aebff7a Adding landing page
Eugen Rochko 4f9b7432dd Fix - Add API versioning (v1)
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 e46abc71ca Fix notifications in UI, added new API for fetching account relationships
Eugen Rochko bd5ad304ba Adding media controller, 1 webm/compose form allowed, previews generated
Eugen Rochko 5b0cef9781 Setting up preliminary "detailed" routes in the UI, new API end-point for fetching status context
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
Eugen Rochko 509c18eb13 Fix local follows, 404 in logs
Eugen Rochko 0f4bc56719 Improving production logs, removing n+1 on media attachments in atom,
adding attachments display to static views
Eugen Rochko eec0dc46a6 PostStatusService can attach media to status, ProcessFeedService likewise
Eugen Rochko ae1fac0062 Add API to upload media attachments
Eugen Rochko 413e700fe0 Enhancing test suite but I think the problem might have been caching setting
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 49520d6e62 Adding React.js, Redux, revamping dashboard
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 8459acd123 Fix for force SSL issue with websockets
Eugen Rochko 6426819b6f Fix tests
Eugen Rochko 6deb9f966e Live timelines using ActionCable
Eugen Rochko 10ba09f546 Upgrade to Rails 5.0.0.1
Eugen Rochko 6c480c8429 Oops, typo
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 bb98ee489d Up the number of pooled DB connections to cover both Sidekiq and Puma workers
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 f14f462eaf Adding Turbolinks, adding status posting form on homepage
Eugen Rochko 9d55529318 Fix text color in dashboard inputs, sanitize remote status content in UI,
simplify FanOutOnWriteService, add /api/accounts/lookup method
Eugen Rochko 253ab26520 Adding more tests for helpers
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 71ae4dd3d2 Adding public following and followers pages, fix
Eugen Rochko 9cb690c706 Access tokens no longer expire, case-insensitive local username validation, as well as case-insensitive Webfinger look-up
Eugen Rochko 48d66a2055 Fixing the docker container setup (with assets compilation &co)
Eugen Rochko 2c374cd97c Adding e-mail configuration
Eugen Rochko b17202ca0f Adding a docker-compose template for running Mastodon easily
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 fe57f6330f API methods for retrieving home and mentions timelines
Eugen Rochko f099bc6091 Adding API for favouriting a status
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 c605b828b5 Adding routes to follow, unfollow, favourite and reblog (locally known models)
Eugen Rochko 6045b6cb18 Customizing devise views and controllers
Eugen Rochko 7e93da3f8d Removing grape and adding devise
Eugen Rochko 23d08c6749 Changing the use of config constants to the Rails configuration object
Eugen Rochko 0e8f59c16f Refactoring Grape API methods into normal controllers & other things
Eugen Rochko ee73d35eea Incoming Salmon requests can be turned into follows and unfollows
Eugen Rochko fa33750105 Adding reblogs, favourites, improving atom generation
Eugen Rochko 3b0bc18db9 Improved Atom rendering templates, added README
Eugen Rochko 2bc48e9064 Individual atom entries
Eugen Rochko 1dad72bf13 Fixes and general progress
Eugen Rochko 709c6685a9 Made some progress
Eugen Rochko 9c4856bdb1 Initial commit