Commit Graph

7476 Commits (44192cb9d2ee78960de45e1ae95dc24112a8b27f)

Author SHA1 Message Date
Thibaut Girka 44192cb9d2 Only focus first item of dropdown if it was opened via keyboard 2018-09-13 20:32:08 +02:00
Thibaut Girka 9631397395 [Glitch] Highlight active tab in action bar
Port 7b7c26063e to glitch-soc
2018-09-13 17:13:29 +02:00
Thibaut Girka 634a1ddc6a Autofocus comment textarea in report modal 2018-09-13 17:03:48 +02:00
Thibaut Girka 6acc3e1fbd Auto-focus emoji picker's search field 2018-09-13 15:32:23 +02:00
Thibaut Girka ae2ffc7af1 Fix building assets in test environment
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:32:02 +02:00
Thibaut Girka 22a48adabc Fix composer actions modal 2018-09-11 22:04:06 +02:00
Thibaut Girka ad5aaf60c6 Fix action modal links 2018-09-11 22:04:06 +02:00
ThibG 8bf74adabd Merge pull request #724 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
2018-09-11 20:09:00 +02:00
Thibaut Girka 12abb0f530 Fix media description in various media modals 2018-09-11 18:29:19 +02:00
Thibaut Girka 5b7d0fcdb9 Fix incorrect disabled boost button color when reduce-motion is set 2018-09-11 18:03:48 +02:00
Thibaut Girka 19de7be7e6 Do not clear local storage on log out 2018-09-11 17:00:22 +02:00
Thibaut Girka 4dd208f482 Merge branch 'master' into glitch-soc/merge-upstream
Conflicts:
	app/controllers/oauth/authorizations_controller.rb

Just two changes being too close to one another.
Took both.
2018-09-11 16:51:26 +02:00
Thibaut Girka 22de1c6c17 [Glitch] Hide floating action button on thread views
Port 692d03239b to glitch-soc
2018-09-11 16:29:46 +02:00
Thibaut Girka 7dd2c28836 Fix status embed card links color 2018-09-10 19:53:55 +02:00
Thibaut Girka e6aa730195 [Glitch] After click to embed video, autoplay it
Port 1cf9467613 to glitch-soc
2018-09-10 19:53:55 +02:00
Thibaut Girka ddbf9887cd [Glitch] Click card to embed external content
Port front-end changes from 0357e93a91 to glitch-soc
2018-09-10 19:53:55 +02:00
Thibaut Girka 6e3625c5bc [Glitch] Fix oEmbed image_modal src.
Port 7da34ff0a3 to glitch-soc
2018-09-10 19:53:55 +02:00
Thibaut Girka c48345969f [Glitch] Ensure link thumbnails are not stretched to super low quality
Port front-end changes from 46cce9ee4b to glitch-soc
2018-09-10 19:53:55 +02:00
Thibaut Girka 9b7139099f [Glitch] Add embed_url to preview cards
Port front-end changes from ce3989fc6a to glitch-soc
2018-09-10 19:53:55 +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
Thibaut Girka 3dc5051f03 Add preferences for notification badges 2018-09-07 20:37:17 +02:00
Thibaut Girka 46fcc9fd96 Move compose box options to their own page 2018-09-07 20:37:17 +02:00
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