Commit Graph

593 Commits (496f466d73610f24821d7806541c749e8e5dda97)

Author SHA1 Message Date
Eugen Rochko 8b93f45f3d Fix paperclip config 8 years ago
Eugen Rochko f114bc7bb7 Update Paperclip config to allow plugging in Minio instead of AWS 8 years ago
Eugen Rochko f978b06dd1 Add suspend account functionality to admin UI 8 years ago
Eugen Rochko 1357c1cb3d Add single user mode 8 years ago
Eugen a910cdd54d Merge pull request #338 from stamak/uk.yml
Add Ukrainian localization file uk.yml
8 years ago
Stanislav Makar 0e18bbe3e2 Add Ukrainian localization file uk.yml
Closes: #337
8 years ago
Eugen Rochko b362de2232 Adding configurable e-mail blacklist 8 years ago
Eugen Rochko 9d9f796130 Adding more to admin accounts UI 8 years ago
Eugen Rochko f763e844e8 Do not use expiring links after all 8 years ago
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)
8 years ago
Eugen Rochko 290ffb63cd Fix cloudfront config 8 years ago
Eugen Rochko d3bd10dfe4 Add Cloudfront support 8 years ago
Stanislav Makar ea91286aaa Add Ukrainian localization file doorkeeper.uk.yml
Closes: #334
8 years ago
Andrea Faulds 1c1102008f Fix line endings for Portuguese locale 8 years ago
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
8 years ago
unsmell 66e55d60e1 Create pt localisation files in /config/locales/ 8 years ago
Eugen Rochko 6ff93845d5 Add basic OEmbed provider API, fix #247 8 years ago
Eugen Rochko 14bd46946d Per-status control for unlisted mode, also federation for unlisted mode
Fix #233, fix #268
8 years ago
Eugen Rochko 356d3874eb Normalize localizations, add stub for admin/accounts 8 years ago
Eugen Rochko 5973ca3d11 Upgrade Paperclip to 5, AWS-SDK to 2, do not generate medium/small versions of avatars 8 years ago
Eugen Rochko cc70f28f19 Adding rack timeout of 30sec, PuSH jobs moved to push queue so they
can be processed separately
8 years ago
Eugen Rochko c0555f2db6 Don't rate-limit PuSH endpoints 8 years ago
Eugen Rochko 4e351baf88 Fix URLs in inline-rendered XML 8 years ago
Eugen 41ef277da3 Fix URLs in ApplicationController.renderer 8 years ago
Eugen Rochko 27fc49d745 Add simple admin overview of PuSH subscriptions 8 years ago
Eugen Rochko 66ab0d0d56 Enabling portuguese and hungarian translations, which are awfully incomplete 8 years ago
Eugen Rochko 2d2c81765b Adding embedded PuSH server 8 years ago
Eugen 26287b6e7d Merge pull request #275 from kodacs/master
Hungarian translation for Mastodon.
8 years ago
Eugen Rochko 6c82dfcf5f Fix CDN_HOST variable requirement 8 years ago
Eugen Rochko dda9ac9222 Fix reset date format when rate limited 8 years ago
kodacs b503a5e05e #275 fix missing i18n item 8 years ago
kodacs 7bd559158b fixing yamls for #275 8 years ago
kodacs 6586408c69 fix #275 8 years ago
nicolas 959e4b8198 Merge branch 'master' into french-translation 8 years ago
nicolas 9bb885805c Update simple_form.fr.yml 8 years ago
Eugen Rochko 1ff0d5aea6 Normalized locale files 8 years ago
Eugen 1c9e21a507 Merge pull request #273 from nclm/french-translation
French localisation update
8 years ago
Eugen Rochko 71401659b8 Fix #65 - Options to block notifications from people you don't follow/who don't follow you 8 years ago
kodacs eb3a12bba6 Server side HU translation + Toot fix. 8 years ago
nicolas d0122045f4 Update simple_form.fr.yml 8 years ago
nicolas 4cc6684881 Update fr.yml 8 years ago
Eugen Rochko 8efa081f21 Remove Neo4J 8 years ago
Eugen Rochko 8e34bed7cc Mini Profiler not working well, remove it 8 years ago
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 8 years ago
nicolas 23677bc51e Merge branch 'master' into french-translation 8 years ago
nicolas 1e95fbb10b Update doorkeeper.fr.yml
e
8 years ago
nicolas 94f96a6e85 Update doorkeeper.fr.yml 8 years ago
Eugen Rochko fc90d38893 Moving some counter queries out of subqueries in the API 8 years ago
Eugen Rochko 4a422650bb Fix broken locales 8 years ago
nicolas 82cb34916a Update fr.yml 8 years ago
nicolas ba4c03de71 Update simple_form.fr.yml
silenced mode + edits
8 years ago
nicolas 89dab7c534 Merging code updates (Unlisted Mode) 8 years ago
Eugen Rochko 1788164352 Local accounts can control "silenced" attribute which removes them from public timeline 8 years ago
nicolas 64cfbbcc55 Adding French locale 8 years ago
nicolas 46d9076e99 Importing doorkeeper.fr.yml
From https://github.com/doorkeeper-gem/doorkeeper-i18n/blob/master/rails/locales/fr.yml
8 years ago
nicolas 12e9f789ab Importing devise.fr.yml
From https://gist.github.com/qsypoq/4cf3b858ff8242ffb013
8 years ago
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
8 years ago
nicolas a3afea7b9d First version for simple_form.fr.yml 8 years ago
nicolas fc87243c39 First version for fr.yml 8 years ago
nicolas 05823c325c Create devise.fr.yml 8 years ago
nicolas 753115ff57 Create doorkeeper.fr.yml 8 years ago
nicolas 8504110d45 Create simple_form.fr.yml 8 years ago
nicolas e9980a9b8b Create fr.yml 8 years ago
Eugen Rochko db58235930 Fixes for the Spanish translation 8 years ago
Eugen Rochko 38dd85daab Adding notifications column 8 years ago
Eugen Rochko da2ef4d676 Adding unified streamable notifications 8 years ago
Victorhck c12125e6b5 improvements in text made by Ekaitz 8 years ago
Victorhck 0b48973733 fix typos, and suggestions made by Ekaitz 8 years ago
Eugen Rochko 8977fde8ed Fix up Spanish translations 8 years ago
Victorhck d68750d7dc Finished spanish translation config files 8 years ago
Eugen 93e47c7135 Fix wrong language declaration 8 years ago
Eugen 5cda7f6bbb Fix wrong language declaration 8 years ago
victorhck a6ed09441c finished spanish translation config files 8 years ago
Eugen Rochko c7a1b78536 Activating Spanish i18n 8 years ago
Victorhck 367b05d733 Spanish translation for devise.es.yml 8 years ago
Victorhck a05fe70c24 finished spanish translation for es.yml 8 years ago
victorhck 084668c170 started sp translations config locales 8 years ago
Eugen Rochko 85d1b74ac3 Adding german localization 8 years ago
Eugen Rochko 116ab27e08 i18n for devise mailer too 8 years ago
Eugen Rochko 2c766bd4b4 Add user locale setting 8 years ago
Eugen Rochko 546c4718e7 Localizations for most server-side strings 8 years ago
Eugen Rochko 3ce6ac0ce2 Adding some localizations 8 years ago
Eugen Rochko fdc17bea58 Fix rubocop issues, introduce usage of frozen literal to improve performance 8 years ago
Eugen Rochko d42ed78aa4 Fix #110 - Make web UI use browser history, change links in e-mails to link to that 8 years ago
Eugen Rochko 09218d4c01 Use full-text search for autosuggestions 8 years ago
Eugen Rochko ff229aa978 Fix #141 - Add "Server: Mastodon" header to responses 8 years ago
Eugen Rochko 448ab18a20 Replace setting custom CORS headers with rack-cors, set it on /oauth/token endpoint 8 years ago
Eugen Rochko b13e7dda1f API pagination for all collections using Link header 8 years ago
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
8 years ago
Eugen Rochko 86574ea524 Adding Emoji One 8 years ago
Eugen Rochko 2f21f4cc01 Fix region setting for AWS gem 8 years ago
Eugen Rochko dbe00a4156 Improved configuration from ENV, cleaned up timeline filter methods
to be more readable, add extra logging to process feed service
8 years ago
Eugen Rochko b835f4aa1c Fix insecure S3 URLs 8 years ago
Eugen Rochko d14967e1c8 Fix URL configuration when S3 is enabled 8 years ago
Eugen Rochko 45230c56ab Improve S3 config 8 years ago
Eugen Rochko 3ab193bc3f Adding optional S3, fail-mastodon 8 years ago
Eugen Rochko 48b9619439 Adding hashtags 8 years ago
Eugen Rochko 6471a548fe Add pghero for analyzing postgres performance in production 8 years ago
Eugen Rochko 829d189f44 Add tests for recently added API end points 8 years ago
Eugen Rochko e4671adc25 Fix reblogged/favourited caching; add API endpoints for who favd/reblogged status 8 years ago
Eugen Rochko e7723ab662 Add puma preloading, decrease DB pool size to size of threads per worker 8 years ago
Eugen Rochko 53fb7b1aa8 Replace in-memory cache store with redis store, should decrease memory
footprint of each running process by 128mb
8 years ago
Eugen Rochko a59d10d3df Fix missing default headers 8 years ago
Eugen Rochko 9467b900a2 Make cookies https-only if LOCAL_HTTPS is true, set X-Frame-Options to DENY,
add permissive CORS to API controllers
8 years ago
Eugen Rochko dd03118098 Fix follow icon changing plus to minus, add terms page stub 8 years ago
Eugen Rochko e0a197650a Adding common followers API, fixing fallback query again 8 years ago
Eugen Rochko 720d1f8f3d Restrict access to oauth/applications to admins only 8 years ago
Eugen Rochko a9e40a3d80 Adding OAuth access scopes, fixing OAuth authorization UI, adding rate limiting
to the API
8 years ago
Eugen Rochko 43df35213e Improving all forms 8 years ago
Eugen Rochko d5e086a47b Adding application/jrd+json webfinger resource 8 years ago
Eugen Rochko dd02fc0ec4 More debugging 8 years ago
Eugen Rochko 6611e3a2ef More debugging 8 years ago
Eugen Rochko 4baca34a45 Do not compress JS (perhaps it removes source maps, needed for debugging) 8 years ago
Eugen Rochko c9a7e6e1e3 Enable source maps 8 years ago
Eugen Rochko e21a3fe0cd Adding sync of follow relationships to Neo4J, accounts/suggestions API 8 years ago
Eugen Rochko 7a6d95f70c E-mail preferences page 8 years ago
Eugen Rochko 1f650d327d Adding public timeline 8 years ago
Eugen Rochko 3554d638b3 Fix #72 - add follow/unfollow button to public profiles 8 years ago
Waldir Pimenta 4f654eb822 use consistent capitalization for subject lines 8 years ago
Yann Vaillant 038a407b9e
Update default devise wording to include reference to Mastodon
Fix #68
8 years ago
Eugen Rochko fe77921e47 Catching more exceptions that slipped through, removing AR logging from
production as it's very verbose and not very useful
8 years ago
Eugen Rochko 7b9a4af311 API for blocking and unblocking 8 years ago
Eugen Rochko fc198a8b4c Adding e-mail confirmations 8 years ago
Eugen Rochko d74da1a89a Small fixes 8 years ago
Eugen Rochko f06f295890 Fix doorkeeper skip_authorization 8 years ago
Eugen Rochko 6d7290f47c Add API for getting info about authenticated user: /api/v1/accounts/verify_credentials 8 years ago
Eugen Rochko 4909bbf415 Add logging for outgoing http requests 8 years ago
Eugen Rochko 492224b93f Allow non-https redirect URIs for OAuth apps (AndStatus seems to require this) 8 years ago
Eugen Rochko e63aebff7a Adding landing page 8 years ago
Eugen Rochko 4f9b7432dd Fix #52 - Add API versioning (v1) 8 years ago
Eugen Rochko 7e14eefc81 Replace logo, fix #57 - delete/unreblog/unfavourite API, fix #45 - app
registration API
8 years ago
Eugen Rochko 3b56350121 Fix #6 - Rate limit GET reqs to 300/5min, POST to 100/5min 8 years ago
Eugen Rochko e46abc71ca Fix notifications in UI, added new API for fetching account relationships 8 years ago
Eugen Rochko bd5ad304ba Adding media controller, 1 webm/compose form allowed, previews generated 8 years ago
Eugen Rochko 5b0cef9781 Setting up preliminary "detailed" routes in the UI, new API end-point for fetching status context 8 years ago
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
8 years ago
Eugen Rochko 509c18eb13 Fix local follows, 404 in logs 8 years ago
Eugen Rochko 0f4bc56719 Improving production logs, removing n+1 on media attachments in atom,
adding attachments display to static views
8 years ago
Eugen Rochko eec0dc46a6 PostStatusService can attach media to status, ProcessFeedService likewise 8 years ago
Eugen Rochko ae1fac0062 Add API to upload media attachments 8 years ago
Eugen Rochko 413e700fe0 Enhancing test suite but I think the problem might have been caching setting 8 years ago
Eugen Rochko 1022d682dc Normalized data in Redux, fix for asset URLs when rendered outside request 8 years ago
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
8 years ago
Eugen Rochko 44e57f64dd Improving statuses, adding a composer drawer, which doesn't work yet 8 years ago
Eugen Rochko bc0692d75b Removing mini-profiler that doesn't work, formatting timelines a bit better 8 years ago
Eugen Rochko 49520d6e62 Adding React.js, Redux, revamping dashboard 8 years ago
Eugen Rochko 68c93f8b85 Final fix for ActionCable origin issues 8 years ago
Eugen Rochko 8985f8e66c Fixing more configuration issues with ActionCable 8 years ago
Eugen Rochko 5a8c149f6b Fix ActionCable origin checking 8 years ago
Eugen Rochko 8459acd123 Fix for force SSL issue with websockets 8 years ago
Eugen Rochko 6426819b6f Fix tests 8 years ago
Eugen Rochko 6deb9f966e Live timelines using ActionCable 8 years ago
Eugen Rochko 10ba09f546 Upgrade to Rails 5.0.0.1 8 years ago
Eugen Rochko 6c480c8429 Oops, typo 9 years ago
Eugen Rochko 85b00d19b8 Moving Salmon notifications to background processing, fixing mini-profiler
behaviour with Turbolinks enabled, optimizing Rabl for production
9 years ago
Eugen Rochko 5764d52b04 Fix Sidekiq pooling issues. Remove API docs from homepage, replace with
a basic home timeline
9 years ago
Eugen Rochko bb98ee489d Up the number of pooled DB connections to cover both Sidekiq and Puma workers 9 years ago
Eugen Rochko 318886287b Fixing some stuff for Turbolinks, adding gzip on top, fixing a n+1 query 9 years ago
Eugen Rochko 36f3da3cde Adjust down the number of Sidekiq threads to 5 (default of 25 is way too high) 9 years ago
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
9 years ago
Eugen Rochko 42dcb0d4cb Adding Sidekiq for background processing (firstly just of mailers) 9 years ago
Eugen Rochko f14f462eaf Adding Turbolinks, adding status posting form on homepage 9 years ago
Eugen Rochko 9d55529318 Fix text color in dashboard inputs, sanitize remote status content in UI,
simplify FanOutOnWriteService, add /api/accounts/lookup method
9 years ago
Eugen Rochko 253ab26520 Adding more tests for helpers 9 years ago
Eugen Rochko b640f35621 Writing out more tests, fixed some bugs 9 years ago
Eugen Rochko e2b846f630 Adding letter opener for development and Rack::Attack for future rate limiting implementations 9 years ago
Eugen Rochko 71ae4dd3d2 Adding public following and followers pages, fix #3 9 years ago
Eugen Rochko 9cb690c706 Access tokens no longer expire, case-insensitive local username validation, as well as case-insensitive Webfinger look-up 9 years ago
Eugen Rochko 48d66a2055 Fixing the docker container setup (with assets compilation &co) 9 years ago
Eugen Rochko 2c374cd97c Adding e-mail configuration 9 years ago
Eugen Rochko b17202ca0f Adding a docker-compose template for running Mastodon easily 9 years ago
Eugen Rochko 6fec8afc3f Bind oauth applications to users 9 years ago
Eugen Rochko 3441361568 Adding simple_form, adding profile settings, header image 9 years ago
Eugen Rochko 1aa477ac2f Customized more doorkeeper views, only logged in users can create oauth apps 9 years ago
Eugen Rochko aab9f57e36 Adding config for puma, dashboard layout, fixing some queries 9 years ago
Eugen Rochko 447cfef62d Improving feed queries, switching API to doorkeeper authentication 9 years ago
Eugen Rochko b919f39b31 Customizing doorkeeper views for authorizing app 9 years ago
Eugen Rochko 6c4c84b161 Distrubute statuses as a fan-out-on-write system, with optional precomputing 9 years ago
Eugen Rochko fe57f6330f API methods for retrieving home and mentions timelines 9 years ago
Eugen Rochko f099bc6091 Adding API for favouriting a status 9 years ago
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.
9 years ago
Eugen Rochko c605b828b5 Adding routes to follow, unfollow, favourite and reblog (locally known models) 9 years ago
Eugen Rochko 6045b6cb18 Customizing devise views and controllers 9 years ago
Eugen Rochko 7e93da3f8d Removing grape and adding devise 9 years ago
Eugen Rochko 23d08c6749 Changing the use of config constants to the Rails configuration object 9 years ago
Eugen Rochko 0e8f59c16f Refactoring Grape API methods into normal controllers & other things 9 years ago
Eugen Rochko ee73d35eea Incoming Salmon requests can be turned into follows and unfollows 9 years ago
Eugen Rochko fa33750105 Adding reblogs, favourites, improving atom generation 9 years ago
Eugen Rochko 3b0bc18db9 Improved Atom rendering templates, added README 9 years ago
Eugen Rochko 2bc48e9064 Individual atom entries 9 years ago
Eugen Rochko 1dad72bf13 Fixes and general progress 9 years ago
Eugen Rochko 709c6685a9 Made some progress 9 years ago
Eugen Rochko 9c4856bdb1 Initial commit 9 years ago