ThibG
ea28c8f63b
Fix media description in various media modals ( #8678 )
2018-09-13 20:31:59 +02:00
ThibG
0b39d19dbf
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
2018-09-13 20:31:33 +02:00
ThibG
aab57388be
Auto-focus emoji picker's search field ( #8688 )
...
Fixes #6056
2018-09-13 20:31:11 +02:00
ThibG
51dc5ed529
Autofocus comment textarea in report modal ( #8689 )
2018-09-13 15:27:29 +02:00
ThibG
28abd3f699
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
2018-09-13 15:18:47 +02:00
Eugen Rochko
50978383f9
Group reports by target account ( #8674 )
...
* Group reports by target account
* Improve CSS
2018-09-13 03:44:08 +02:00
rhoio
c2c352f511
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
2018-09-13 01:50:41 +02:00
ThibG
f555f38ea6
Add a few black emojis that are to have a white outline ( #8597 )
2018-09-10 18:26:47 +02:00
ThibG
441238b938
Handle relative URLs when fetching OEmbed/OpenGraph cards ( #8669 )
2018-09-10 18:26:28 +02:00
rinsuki
14604c384f
using mailto scheme in AUTHORS.md ( #8663 )
2018-09-10 02:01:03 +02:00
nightpool
b778e40d7d
Add rake task for generating AUTHORS.md ( #8661 )
...
* add rake task for generating AUTHORS.md
* update AUTHORS.md
* rubocop
2018-09-10 01:31:42 +02:00
Eugen Rochko
2aee3c9f23
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
2018-09-09 13:33:36 +02:00
Eugen Rochko
72a8ca84e0
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
2018-09-09 04:10:44 +02:00
Evgeny Petrov
87f294a33c
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
2018-09-09 10:38:13 +09:00
Daigo 3 Dango
1705dd5310
Adjust Aptfile for Heroku-18 stack ( #8588 )
2018-09-09 02:10:58 +02:00
Sorin Davidoi
82887c0c1b
feat(css): Styled scrollbars in Firefox Nightly ( #8653 )
...
You currently need to enable `layout.css.scrollbar-colors.enabled` in `about:config` in Firefox
Nightly.
2018-09-09 02:08:49 +02:00
Sorin Davidoi
0b1c90bf88
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.
2018-09-08 23:54:28 +02:00
Renato "Lond" Cerqueira
e3e4ed714a
Use animation config for avatar in profile pages ( #8614 )
...
Fixes #7380 .
2018-09-07 05:43:09 +02:00
abcang
5aecdb64bc
config/boot is required first ( #8619 )
2018-09-07 05:42:54 +02:00
Sorin Davidoi
0c756cfd54
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/
2018-09-07 05:42:16 +02:00
ThibG
462d4f6b80
Fix dropdown arrow position ( #8637 )
2018-09-07 01:18:46 +02:00
Aditoo17
97be484888
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
2018-09-05 08:50:06 +09:00
Eugen Rochko
b7ec70d486
Redirect from old authorize_follow path ( #8584 )
...
To avoid error due to nginx proxy caching the webfinger response
2018-09-03 00:10:28 +02:00
Eugen Rochko
e3fdf02943
Bump version to 2.5.0
2018-09-02 22:32:27 +02:00
Eugen Rochko
9768e9f6ab
Enable ro and ta locales in Rails ( #8583 )
...
* Enable ro and ta locales in Rails
* Add Tamil and Romanian to language dropdown
2018-09-02 22:31:53 +02:00
Eugen Rochko
64f01b2e7d
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
2018-09-02 22:31:35 +02:00
Marcin Mikołajczak
fb9fc05f0c
i18n: Update Polish translation ( #8581 )
...
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
2018-09-02 22:14:48 +02:00
Eugen Rochko
696d73931c
Fix nil error in admin_account_link_to helper ( #8578 )
...
Fix #8573
2018-09-02 19:10:32 +02:00
Eugen Rochko
2b99bba92c
Update README.md
...
Add link to quick start guide, link to general documentation, fix link to list of servers, remove Liberapay
2018-09-02 18:32:25 +02:00
Eugen Rochko
9f4618d7a6
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
2018-09-02 18:20:26 +02:00
ThibG
56caf50db7
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”
2018-09-02 16:13:06 +02:00
Frederic Hemberger
e84ae0d8a2
Add aria-label to floatingActionButton ( #8574 )
2018-09-02 15:51:06 +02:00
Eugen Rochko
5facd13c76
Add weblate widget to README
2018-09-02 14:41:46 +02:00
Alix R
d21e46bba6
Add Corsican locale data ( #8566 )
2018-09-02 20:23:38 +09:00
Evgeny Petrov
6997fe6d8a
[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
2018-09-02 20:21:54 +09:00
Eugen Rochko
b59191cf68
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
2018-09-02 03:14:46 +02:00
Eugen Rochko
00d1699a96
Whitelist report notification param in Settings::NotificationsController ( #8560 )
...
Bug in #8559
2018-09-02 02:05:32 +02:00
Eugen Rochko
601a0dc6cc
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
2018-09-02 00:11:58 +02:00
M Somerville
f21c1c58ce
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.
2018-09-01 19:42:02 +02:00
Yamagishi Kazutoshi
8a0670a54e
Integrating :one
and :other
in ar.yml ( #8555 )
2018-09-01 19:41:21 +02:00
Yamagishi Kazutoshi
35beafabe9
Fix static URL when disable autoplay ( #8548 )
2018-09-01 16:09:24 +02:00
Eugen Rochko
894e01163b
Bump version to 2.5.0rc2
2018-09-01 03:37:43 +02:00
trwnh
150ec66461
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
2018-09-01 03:36:36 +02:00
Eugen Rochko
32d3152852
Fix wrong string being used on login failure when using LDAP ( #8534 )
...
Fix #8527
2018-09-01 03:35:37 +02:00
ThibG
b13f1d470a
Do not show follow button on moved or memorial accounts ( #8546 )
...
This restores the logic from before the public profile redesign. Fixes #8503
2018-08-31 20:33:01 +02:00
caasi Huang
b61793b3fc
Translate more messages to Traditional Chinese ( #8543 )
2018-08-31 23:22:03 +09:00
ThibG
108623e86d
Self-notify on accepting follow requests ( #8541 )
2018-08-31 15:17:31 +02:00
Renato "Lond" Cerqueira
d516e7fa62
Fix autoplay issue with spoiler tag ( #8540 )
...
Add tests to avoid similar issues in the future
2018-08-31 15:16:59 +02:00
Yamagishi Kazutoshi
699ab3075b
Save button for relays translatable ( #8539 )
2018-08-31 15:15:21 +02:00
Yamagishi Kazutoshi
724a6fa7e4
Normalize Welsh ( #8538 )
2018-08-31 15:12:06 +02:00