Commit Graph

56 Commits (1d273e4430adf71aa138e924d2e74cb1bee3f501)

Author SHA1 Message Date
Eugen Rochko 920ba5fc4e Fix - Add list of blocked users to the UI; clean up failed push notifications API
Try to fix Travis CI setup
Eugen Rochko 3f075c7794 API for apps to register for push notifications
Eugen Rochko ba192f12e3 Added optional two-factor authentication
Eugen Rochko 0430f7c0fa Fix spoiler_text not having "not null" constraint
Eugen Rochko 51a7047367 Fix order of migrations
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
blackle bf0f6eb62d Implement a click-to-view spoiler system
Eugen Rochko 434cf8237e Optional domain block attribute that prevents media attachments from being downloaded
Eugen Rochko 6d98a73180 Domain blocks now have varying severity - auto-suspend vs auto-silence
Eugen Rochko f0de621e76 Fix - Fetch and display previews of URLs using OpenGraph tags
Effy Elden d6bc0e8db4 Add tracking of OAuth app that posted a status, extend OAuth apps to have optional website field, add application details to API, show application name and website on detailed status views. Resolves
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 Rochko 75f80bef10 Persist UI settings, add missing localizations for German
Eugen Rochko 7b9f8766e8 Fix - Generate random unique 14-byte (19 characters) shortcodes
for local attachments, use them in URLs. Check status privacy
before redirecting to actual file.
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 80e02b90e4 Private visibility on statuses prevents non-followers from seeing those
Filters out hidden stream entries from Atom feed
Blocks now generate hidden stream entries, can be used to federate blocks
Private statuses cannot be reblogged (generates generic 422 error for now)
POST /api/v1/statuses now takes visibility=(public|unlisted|private) param instead of unlisted boolean
Statuses JSON now contains visibility=(public|unlisted|private) field
Eugen Rochko 39cc9fde8a Add account suspension
Eugen Rochko 565cd95bca Keep timelines in the UI trimmed when possible
Eugen Rochko b14b5e3b44 Improve notification model
Eugen Rochko 816284d739 Fix - Reload all accounts when fetching from cache
Eugen Rochko 165498f110 Make data migration more merciful
Eugen Rochko 3114e55c7a Fix - self-replies to appear in public timelines again
Eugen Rochko 14bd46946d Per-status control for unlisted mode, also federation for unlisted mode
Fix , fix 
Eugen Rochko 4a2347da41 Track successful PuSH deliveries
Eugen Rochko 2d2c81765b Adding embedded PuSH server
Eugen Rochko 0603971894 Adding sensitive marker to statuses in API
Eugen Rochko 45c7ee39b3 Remove unneeded indices, improve error handling in background workers, don't needlessly reload reblogged status, send Devise e-mails asynchronously
Eugen Rochko 38dd85daab Adding notifications column
Eugen Rochko da2ef4d676 Adding unified streamable notifications
Eugen Rochko 2c766bd4b4 Add user locale setting
Eugen Rochko 48b9619439 Adding hashtags
Eugen Rochko 62292797ec Adding hashtag model
Eugen Rochko 909d0d5e88 Adding public timeline silencing
Eugen Rochko 22a8801dbc Adding domain blocks
Eugen Rochko 06016453bd Adding user settings (model and mailer), no form yet
Eugen Rochko 9d59d7b463 Adding a block model and filter mentions from blocked users (fix )
Eugen Rochko fc198a8b4c Adding e-mail confirmations
Eugen Rochko 7e14eefc81 Replace logo, fix - delete/unreblog/unfavourite API, fix - app
registration API
Eugen Rochko 608a2bfffc Upgrade to PubSubHubbub 0.4 (removing verify_token)
Eugen Rochko 059ebbf48d Separate PuSH subscriptions from following, add mastodon:push:refresh task,
respect hub.lease_seconds (fix )
Eugen Rochko ae1fac0062 Add API to upload media attachments
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 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 02e4fb2e06 Only re-download avatar if URL changed (fix )
Eugen Rochko 8767a98fbb Adding CSS for form errors, adding missing indices
Eugen Rochko 6fec8afc3f Bind oauth applications to users
Eugen Rochko 3441361568 Adding simple_form, adding profile settings, header image
Eugen Rochko b919f39b31 Customizing doorkeeper views for authorizing app
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.