Commit Graph

264 Commits (8a081ce588594154f93702ac2983cb7c0fca015a)

Author SHA1 Message Date
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
Eugen Rochko 77e13c2bc9 Removing failed push notification API, make context loads use cache
Eugen Rochko 19b9e1e2c3 Preheat status cache
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