Commit Graph

268 Commits (c9f42a7b851ed80442cbfba8ba4a3a0ec062f8da)

Author SHA1 Message Date
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