ThibG
f8160b68b3
Only focus first element of dropdown menus if using keyboard ( #8679 )
...
* Only focus first item of dropdown if it was opened via keyboard
* Improve keyboard VS mouse navigation of dropdown menus
6 years ago
ThibG
09a87b2cdb
Auto-focus emoji picker's search field ( #8688 )
...
Fixes #6056
6 years ago
ThibG
661a89ea74
Autofocus comment textarea in report modal ( #8689 )
6 years ago
ThibG
7fa4144d48
Fix building assets in test environment ( #8691 )
...
Webpacker (Ruby wrapper to webpack) uses RAILS_ENV-based environments while
the javascript configuration for webpack re-reads this configuration file using
the NODE_ENV environment variable. This means that when RAILS_ENV=test, running
“assets:precompile” compiled the production packs in “public/packs” while
webpacker expects them in “public/packs-test”. This causes Ruby to recompile
them on-the-fly, possibly leading to race conditions in parallel_tests.
This changes:
- Disables on-the-fly compilation in test environment
- Changes the javascript part to read the correct environment
6 years ago
Eugen Rochko
011437dcb5
Group reports by target account ( #8674 )
...
* Group reports by target account
* Improve CSS
6 years ago
rhoio
7b7c26063e
Highlight active tab in action bar ( #8673 )
...
* NavLinks with activeclass instead of Link in actionbar to highlight active tab
* highlight border-bottom in action bar consistent to public view
6 years ago
ThibG
bda0f7ac73
Add a few black emojis that are to have a white outline ( #8597 )
6 years ago
ThibG
bd9e47e9be
Handle relative URLs when fetching OEmbed/OpenGraph cards ( #8669 )
6 years ago
rinsuki
25dd523887
using mailto scheme in AUTHORS.md ( #8663 )
6 years ago
nightpool
b0b484ba18
Add rake task for generating AUTHORS.md ( #8661 )
...
* add rake task for generating AUTHORS.md
* update AUTHORS.md
* rubocop
6 years ago
Eugen Rochko
47ea318479
tootctl accounts [add|del|cull] ( #8642 )
...
* CLI interface for creating/deleting local users
- tootctl accounts add USERNAME
- tootctl accounts del USERNAME
* Add CLI interface for culling remote users that no longer exist
- tootctl accounts cull
6 years ago
Eugen Rochko
2288d50a7b
Add force_login option to OAuth authorize page ( #8655 )
...
* Add force_login option to OAuth authorize page
For when a user needs to sign into an app from multiple accounts
on the same server
* When logging out from modal header, redirect back after re-login
6 years ago
Evgeny Petrov
2492c12281
RU: Translation fixes ( #8652 )
...
* RU: Fixed typos and wrong translations
* RU: Added missing "chosen_languages" string
* RU: Fixed translation for "Features" tab in Admin Dashboard
* Shortened "Mobile apps" string, lowercased "following" string (it needs plurals btw), fixed typo at "copy" string.
* Fixed "media only" string, shortened "Content warning" placeholder, edited "mute thread" translation
* RU: Fixed "Reply to all" translation, Re-worded "short description" translation
6 years ago
Daigo 3 Dango
675f4705c7
Adjust Aptfile for Heroku-18 stack ( #8588 )
6 years ago
Sorin Davidoi
8fefcb86ea
feat(css): Styled scrollbars in Firefox Nightly ( #8653 )
...
You currently need to enable `layout.css.scrollbar-colors.enabled` in `about:config` in Firefox
Nightly.
6 years ago
Sorin Davidoi
6f3d934bc1
feat(cookies): Use the same-site attribute to lax ( #8626 )
...
CSFR-prevention is already implemented but adding this doesn't hurt.
A brief introduction to Same-Site cookies (and the difference between strict and
lax) can be found at
https://blog.mozilla.org/security/2018/04/24/same-site-cookies-in-firefox-60/
TLDR: We use lax since we want the cookies to be sent when the user navigates
safely from an external site.
6 years ago
Renato "Lond" Cerqueira
7607f4778b
Use animation config for avatar in profile pages ( #8614 )
...
Fixes #7380 .
6 years ago
abcang
2058af4a26
config/boot is required first ( #8619 )
6 years ago
Sorin Davidoi
10680f93e7
feat(auth/session_controller): Send Clear-Site-Data when logging out ( #8627 )
...
Will clear the browser's cache, cookies and storage.
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Clear-Site-Data
https://w3c.github.io/webappsec-clear-site-data/
6 years ago
ThibG
0c5db3163a
Fix dropdown arrow position ( #8637 )
6 years ago
Aditoo17
8c96fd4967
Add Czech language option and locale data ( #8594 )
...
* Added Czech language option
* Added Czech language option
* Add Czech locale data
* Delete duplicate locale-data/cs.js
Duplicate locale-data is ignored in Mastodon.
see https://github.com/tootsuite/mastodon/blob/v2.5.0/config/webpack/generateLocalePacks.js#L25-L35
6 years ago
Eugen Rochko
ccc2f608c5
Redirect from old authorize_follow path ( #8584 )
...
To avoid error due to nginx proxy caching the webfinger response
6 years ago
Eugen Rochko
b65a9b7243
Bump version to 2.5.0
6 years ago
Eugen Rochko
14a300b428
Enable ro and ta locales in Rails ( #8583 )
...
* Enable ro and ta locales in Rails
* Add Tamil and Romanian to language dropdown
6 years ago
Eugen Rochko
78b89e7a5d
Weblate translations (2018-09-02) ( #8582 )
...
* Translated using Weblate (Serbian)
Currently translated at 72.4% (499 of 689 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/sr/
* Translated using Weblate (Serbian)
Currently translated at 77.6% (535 of 689 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/sr/
* Translated using Weblate (Dutch)
Currently translated at 100,0% (83 of 83 strings)
Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/nl/
* Translated using Weblate (Dutch)
Currently translated at 100.0% (689 of 689 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/nl/
* Translated using Weblate (Corsican)
Currently translated at 99.7% (687 of 689 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/co/
* Translated using Weblate (Dutch)
Currently translated at 100.0% (334 of 334 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/nl/
* Translated using Weblate (Korean)
Currently translated at 100.0% (689 of 689 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/ko/
* Translated using Weblate (Dutch)
Currently translated at 100.0% (83 of 83 strings)
Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/nl/
* Translated using Weblate (Serbian)
Currently translated at 72.3% (60 of 83 strings)
Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/sr/
* Translated using Weblate (German)
Currently translated at 100.0% (334 of 334 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/de/
* Translated using Weblate (Serbian)
Currently translated at 92.8% (77 of 83 strings)
Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/sr/
* Translated using Weblate (Serbian)
Currently translated at 100.0% (83 of 83 strings)
Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/sr/
Језик писања? Нисам сигуран
* Translated using Weblate (Corsican)
Currently translated at 99.9% (688 of 689 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/co/
* Translated using Weblate (Serbian)
Currently translated at 98.8% (330 of 334 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/sr/
* Translated using Weblate (Serbian)
Currently translated at 100.0% (334 of 334 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/sr/
Favourites је веома тешко превести у овом контексту, па сам измислио "омиљеновање", а за boosts - подршка се чини као добра ријеч за превод.
* Translated using Weblate (Occitan)
Currently translated at 100,0% (334 of 334 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/oc/
* Translated using Weblate (Occitan)
Currently translated at 100,0% (83 of 83 strings)
Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/oc/
* Translated using Weblate (Serbian)
Currently translated at 100.0% (334 of 334 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/sr/
Favourites је веома тешко превести у овом контексту, па сам измислио "омиљеновање", а за boosts - подршка се чини као добра ријеч за превод.
* Translated using Weblate (German)
Currently translated at 100.0% (334 of 334 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/de/
* Translated using Weblate (German)
Currently translated at 99.7% (687 of 689 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/de/
* Translated using Weblate (Serbian)
Currently translated at 100.0% (334 of 334 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/sr/
* Translated using Weblate (Serbian)
Currently translated at 100.0% (83 of 83 strings)
Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/sr/
* i18n-tasks noramlize && yarn manage:translations
6 years ago
Marcin Mikołajczak
e1b79c69e1
i18n: Update Polish translation ( #8581 )
...
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
6 years ago
Eugen Rochko
e926811724
Fix nil error in admin_account_link_to helper ( #8578 )
...
Fix #8573
6 years ago
Eugen Rochko
447d733913
Update README.md
...
Add link to quick start guide, link to general documentation, fix link to list of servers, remove Liberapay
6 years ago
Eugen Rochko
dc8eb5305f
Weblate translations (2018-09-02) ( #8577 )
...
* Translated using Weblate (Polish)
Currently translated at 100.0% (83 of 83 strings)
Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/pl/
* Translated using Weblate (Korean)
Currently translated at 100.0% (83 of 83 strings)
Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/ko/
* Translated using Weblate (Czech)
Currently translated at 100.0% (83 of 83 strings)
Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/cs/
* Added translation using Weblate (Tamil)
* Translated using Weblate (Greek)
Currently translated at 100.0% (83 of 83 strings)
Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/el/
* Translated using Weblate (Corsican)
Currently translated at 100.0% (334 of 334 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/co/
* Translated using Weblate (Corsican)
Currently translated at 100.0% (83 of 83 strings)
Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/co/
* Translated using Weblate (Persian)
Currently translated at 100.0% (83 of 83 strings)
Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/fa/
* Translated using Weblate (Romanian)
Currently translated at 100.0% (334 of 334 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/ro/
* Added translation using Weblate (Romanian)
* Added translation using Weblate (Romanian)
* Added translation using Weblate (Romanian)
* i18n-tasks normalize && yarn manage:translations
* Fix ro YML files
6 years ago
ThibG
fdda332e4d
Update docker config and move some workers to different queues ( #8345 )
...
* Reorder docker-compose's sidekiq queues to match config/sidekiq.yml
* Make the ̀“mailers” queue higher priority than “pull”
6 years ago
Frederic Hemberger
7c12c7b124
Add aria-label to floatingActionButton ( #8574 )
6 years ago
Eugen Rochko
988befb059
Add weblate widget to README
6 years ago
Alix R
b0e3fffa1f
Add Corsican locale data ( #8566 )
6 years ago
Evgeny Petrov
2caeeb951f
[RU] Added translation for the following sections: ( #8570 )
...
* Added translation for the following sections:
• Empty followers, mutes, boosts etc. lists
• Keyboard shortcuts
• "About"
• Plurals for statuses, users and subscribers counters
• Relays, Custom CSS and suspensions settings.
• Remote interactions
• Other misc stuff
* i18n-tasks normalize
6 years ago
Eugen Rochko
d97e383851
Weblate translations (2018-09-01) ( #8561 )
...
* Translated using Weblate (German)
Currently translated at 99.9% (687 of 688 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/de/
* Translated using Weblate (German)
Currently translated at 100,0% (334 of 334 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/de/
* Translated using Weblate (German)
Currently translated at 100.0% (334 of 334 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/de/
* Translated using Weblate (Japanese)
Currently translated at 99.9% (688 of 689 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/ja/
* Translated using Weblate (Dutch)
Currently translated at 100,0% (689 of 689 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/nl/
* Translated using Weblate (Japanese)
Currently translated at 100.0% (334 of 334 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/ja/
* Translated using Weblate (Greek)
Currently translated at 99.9% (688 of 689 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/el/
* Translated using Weblate (Catalan)
Currently translated at 100,0% (334 of 334 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/ca/
* Translated using Weblate (Catalan)
Currently translated at 100,0% (689 of 689 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/ca/
* Translated using Weblate (Arabic)
Currently translated at 98.1% (676 of 689 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/ar/
* Translated using Weblate (French)
Currently translated at 99.9% (688 of 689 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/fr/
* Translated using Weblate (Slovak)
Currently translated at 100.0% (334 of 334 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/sk/
* Translated using Weblate (Catalan)
Currently translated at 100.0% (334 of 334 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/ca/
* Translated using Weblate (Persian)
Currently translated at 99.7% (687 of 689 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/fa/
* Translated using Weblate (Welsh)
Currently translated at 7.3% (6 of 82 strings)
Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/cy/
* Translated using Weblate (Slovak)
Currently translated at 100.0% (334 of 334 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/sk/
* Translated using Weblate (Welsh)
Currently translated at 100.0% (334 of 334 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/cy/
* Translated using Weblate (Welsh)
Currently translated at 15.5% (107 of 689 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/cy/
* Translated using Weblate (Welsh)
Currently translated at 1.6% (1 of 62 strings)
Translation: Mastodon/Devise
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/devise/cy/
* Translated using Weblate (Welsh)
Currently translated at 15.8% (109 of 689 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/cy/
* Translated using Weblate (French)
Currently translated at 99.9% (688 of 689 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/fr/
* Translated using Weblate (French)
Currently translated at 100.0% (334 of 334 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/fr/
* Translated using Weblate (Occitan)
Currently translated at 99.9% (688 of 689 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/oc/
* Translated using Weblate (Occitan)
Currently translated at 100.0% (334 of 334 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/oc/
* Translated using Weblate (Danish)
Currently translated at 100,0% (689 of 689 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/da/
* Translated using Weblate (Occitan)
Currently translated at 99.7% (333 of 334 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/oc/
* Translated using Weblate (Slovak)
Currently translated at 100.0% (334 of 334 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/sk/
* Translated using Weblate (Czech)
Currently translated at 99.9% (688 of 689 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/cs/
* Added translation using Weblate (Romanian)
* Translated using Weblate (Romanian)
Currently translated at 47.9% (160 of 334 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/ro/
* i18n-tasks normalize && yarn manage:translations
6 years ago
Eugen Rochko
075e162319
Whitelist report notification param in Settings::NotificationsController ( #8560 )
...
Bug in #8559
6 years ago
Eugen Rochko
c593d6df9c
Add preference for report notification e-mails, skip for duplicates ( #8559 )
...
If an unresolved report for the same target account already exists,
no new notification is generated
6 years ago
M Somerville
a060beee72
Skip VS15 (Emoji textual presentation). ( #8553 )
...
Mastodon converts all Emoji to images, whether they have a VS15 after
them or not, but leaves the VS15 in the string, which is displayed as
a black box in Safari.
6 years ago
Yamagishi Kazutoshi
5c609c7419
Integrating `:one` and `:other` in ar.yml ( #8555 )
6 years ago
Yamagishi Kazutoshi
0e661dd2e9
Fix static URL when disable autoplay ( #8548 )
6 years ago
Eugen Rochko
08721170da
Bump version to 2.5.0rc2
6 years ago
trwnh
6a147f8377
Fix the display of missing lists ( #8523 )
...
* Fix the display of missing lists
See #6786 -- this fixes part of the issue pertaining to lists that don't exist. I copied the Column being returned from the missing status logic, which works fine. Prior to this, the missing lists logic would generate a column with no back button and with a broken layout. This doesn't fix the broken display of missing accounts -- the column construction pertaining to that logic happens in multiple external functions.
* import ColumnBackButton
missed the import with the first commit
6 years ago
Eugen Rochko
50f226348f
Fix wrong string being used on login failure when using LDAP ( #8534 )
...
Fix #8527
6 years ago
ThibG
45c0f5433c
Do not show follow button on moved or memorial accounts ( #8546 )
...
This restores the logic from before the public profile redesign. Fixes #8503
6 years ago
caasi Huang
55880c7098
Translate more messages to Traditional Chinese ( #8543 )
6 years ago
ThibG
0b62585748
Self-notify on accepting follow requests ( #8541 )
6 years ago
Renato "Lond" Cerqueira
fe56d26f7b
Fix autoplay issue with spoiler tag ( #8540 )
...
Add tests to avoid similar issues in the future
6 years ago
Yamagishi Kazutoshi
50d8cf8aed
Save button for relays translatable ( #8539 )
6 years ago
Yamagishi Kazutoshi
11c515e7e2
Normalize Welsh ( #8538 )
6 years ago
Eugen Rochko
562250246c
Add Welsh language option ( #8536 )
6 years ago