Commit Graph

7698 Commits (ccf5ddfd8823139a9b22d0a0d7aad3c2a6e6a5ca)

Author SHA1 Message Date
Thibaut Girka 9193dde5eb Add unread notifications badge to the mobile navbar 2018-09-07 20:37:17 +02:00
Thibaut Girka 9f86627233 Add unread notifications badge to the navigation bar 2018-09-07 20:37:17 +02:00
Thibaut Girka dc381facbd Add notification badge to favicon 2018-09-07 20:37:17 +02:00
Thibaut Girka 44b647abe7 Count unread notifications when window loses focus 2018-09-07 20:37:17 +02:00
Thibaut Girka 3fd407b859 Keep track of unread notifications when the notification column isn't mounted 2018-09-07 20:37:17 +02:00
Thibaut Girka a89a5127c4 Accurately count deleted unread notifications 2018-09-07 20:37:17 +02:00
Thibaut Girka bd64d11f76 [Glitch] Audio.prototype.seek is undefined
Port dfeb3ba74f to glitch-soc
2018-09-07 20:37:17 +02:00
Thibaut Girka 66dd890390 Fix dropdown arrow position 2018-09-07 09:45:33 +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
Thibaut Girka bd90f20e0c Fix public profile's “show more” links styling 2018-09-05 13:46:19 +02:00
Thibaut Girka 743b67f796 Port SCSS changes from a68079e6ee 2018-09-05 13:46:19 +02:00
Thibaut Girka db0e83cf2e Port SCSS changes from 5c32fbce98 2018-09-05 13:46:19 +02:00
Thibaut Girka f5ba261067 Port SCSS changes from 273e8f0474 2018-09-05 13:46:19 +02:00
Thibaut Girka d465da45b4 Pause video playback if toot is collapsed or CWs folded (fixes #146) 2018-09-05 11:58:56 +02:00
Thibaut Girka 58fc8be184 Fix videos being cropped 2018-09-05 11:58:43 +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
Thibaut Girka 9002ec066a Fix interactions between CW and sensitive flag when spoilersAlwaysOn is set 2018-09-04 19:40:57 +02:00
Thibaut Girka 345a38fe21 Fix “sensitive” media warning and upload form colors in Mastodon-light 2018-09-04 18:50:26 +02:00
Thibaut Girka 04f631bc3f Outline white/grey/blue emojis 2018-09-04 16:01:41 +02:00
Thibaut Girka 75b4af5a84 Light theme overhaul 2018-09-04 16:01:41 +02:00
Thibaut Girka c1d0f6fc54 [Glitch] Add white outline to black emoji
Inspired from 6b9e5026fd
2018-09-04 15:40:27 +02:00
Thibaut Girka aaa3de166f Fix emoji autosuggest when using a CDN for assets 2018-09-04 15:05:31 +02:00
Thibaut Girka 8099901c9a Disable focus points for letterboxed media 2018-09-04 13:31:55 +02:00
Thibaut Girka 434a287861 Fix full-width margins 2018-09-04 13:31:55 +02:00
Thibaut Girka 4567e42341 Media gallery styling closer to upstream's 2018-09-04 13:31:55 +02:00
Thibaut Girka d83eb4f9c7 [Glitch] Do not override ctrl/cmd+click in media gallery 2018-09-04 13:31:55 +02:00
Rey Tucker 121747b190 Add manifest_src to CSP
Fixes manifest.json not being loaded because of CSP violation

h/t https://vulpine.club/@binary/100662852252438648
2018-09-03 22:37:54 +02:00
Thibaut Girka 34ecec8c85 Add admin links to status and account menus (fixes #673)
If the current logged-in user is an admin, add quick links to the admin
interface in account and toot dropdown menu. Suggestion by @ashkitten
2018-09-03 18:19:11 +02:00
Thibaut Girka 63fe7a2d7a Allow to show a specific status in the admin interface 2018-09-03 18:19:11 +02:00
Thibaut Girka d937c65f2c Let the front-end know the current account is a moderator 2018-09-03 18:19:11 +02:00
Thibaut Girka c50c4d4a8f [Glitch] Skip VS15 (Emoji textual presentation)
Port f21c1c58ce to glitch-soc
2018-09-03 18:18:50 +02:00
Thibaut Girka c11159af5f [Glitch] Add aria-label to floatingActionButton
Port e84ae0d8a2 to glitch-soc
2018-09-03 18:18:39 +02:00
Thibaut Girka ea2054e2f5 [Glitch] Inactive header in main profile to match column
Port 2903971e04 to glitch-soc
2018-09-03 18:18:24 +02:00
Thibaut Girka 725735af14 Fix CI badge, as we have switched from Travis to CircleCI 2018-09-03 17:41:28 +02:00
ThibG b71e4161f4 Merge pull request #702 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
2018-09-03 17:40:03 +02:00
Thibaut Girka 7134c1f522 Merge branch 'master' into glitch-soc/merge-upstream
Conflicts:
	README.md

Discarded upstream changes to the README, kept our version.
2018-09-03 14:33:06 +02:00
Thibaut Girka 7ed6f60a74 Fixes columns scrolling to top when opening media modal
Fixes #700
2018-09-03 14:24:10 +02: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