Commit Graph

672 Commits (75d0903317a3f2db3c91ea3a7abace073825da75)
 

Author SHA1 Message Date
Alyssa Ross 75d0903317 Add .env.test
It took me ages to get Mastodon set up with the tests passing because
the environment variables I needed to define weren't documented and I
had to work them out one at a time.

This change adds a .env.test file, and makes it so it isn't ignored by
git. I think it makes sense for the .env.test file to be in git, since
there's nothing secret in it, but other approaches would be to have a
.env.test.sample (like the corresponding one for production), or to set
these values in a test helper, or to adapt the tests to work with
environments other than this one. I'd be happy to make these changes if
that would be preferred.

Being able to get set up and run the tests is a pretty important part of
being able to contribute to Mastodon (or your test coverage with
suffer!), so having some sort of solution like this one is vital.
8 years ago
Eugen Rochko b6ee2fb1c6 Add some OpenGraph tags to public statuses 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
Eugen 7baca3fe4d Merge pull request #242 from TazeTSchnitzel/media_uri_obfuscation
Rename media to avoid exposing filename (fixes #207)
8 years ago
Alyssa Ross cefef2c571 Extract filename obfuscation into module 8 years ago
Eugen Rochko cbc50016eb Follow/unfollow button outside of dropdown, also make favs/reblogs update indicator instantly and
then adjust to failure later if the request fails
8 years ago
Eugen Rochko 7cee27f517 Fix unfollows not clearing reblogs, fix blocks not clearing reblogs and notifications,
skip ActionCable for follow/unfollow/block events, instead clear UI from
blocked account's posts instantly if block request succeeds. Add forgotten
i18n for sensitive content
8 years ago
Andrea Faulds 7161f91313 Rename media to avoid exposing filename (fixes #207) 8 years ago
Eugen Rochko 3373ae02de Merge branch 'development' 8 years ago
Eugen Rochko 79a0135869 Cache accounts/:id/statuses and single statuses too 8 years ago
Eugen Rochko 2112a81e86 Adding content sensitivity toggle, spoilers for media 8 years ago
Eugen d74cef45aa Merge pull request #227 from nclm/french-translation
Missing lines in the French translation
8 years ago
nicolas e8725d2d98 Rename ‘Publier’ to ‘Pouet’ in French locale.
🎺 https://mastodon.social/users/Pierrec/updates/100589
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 5434ad3002 Add content spoilers for media in sensitive-content statuses 8 years ago
Eugen Rochko 0603971894 Adding sensitive marker to statuses in API 8 years ago
Andrea Faulds 82191b3383 Explain application secrets (#217) 8 years ago
Eugen Rochko 4bdb6a0eaf Rename "publish" to "toot" in english locale, fix lightbox showing old image
before loading new one, cache notifications API, fix missing follow button
on public profiles
8 years ago
Eugen Rochko 9b53c7d353 Fix #168 - Turn off e-mail notifications by default 8 years ago
Eugen Rochko cf912e01fd Implement includes caching for timelines APIs 8 years ago
Eugen Rochko 5c78547198 More query optimizations 8 years ago
Eugen Rochko fc90d38893 Moving some counter queries out of subqueries in the API 8 years ago
Eugen Rochko 4b5b953d42 Upgrade to latest Rails, which apparently improves ActionCable performance 8 years ago
Eugen Rochko 45c7ee39b3 Remove unneeded indices, improve error handling in background workers, don't needlessly reload reblogged status, send Devise e-mails asynchronously 8 years ago
nicolas f5dd152e1a Merge pull request #2 from Gargron/master
Merge
8 years ago
Eugen Rochko 95db6cbe28 Merge branch 'nclm-french-translation' 8 years ago
Eugen Rochko 4a422650bb Fix broken locales 8 years ago
nicolas c7031fd535 Update fr.jsx 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
nicolas f9bd3d8808 Adding French locale to mastodon.jsx 8 years ago
nicolas 115ce90578 Adding French locale to settings_helper.rb 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 7abbb02824 Fix #163 - No need for Safari chrome on iOS 8 years ago
nicolas 835d5483fe First version for fr.jsx 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 6b6243a186 Create fr.jsx 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 627a85f4e4 Better error message in doorkeeper json response 8 years ago