Commit Graph
6007 Commits
Author SHA1 Message Date
ThibGandGitHub ac8a788370 Fix functional user requirements in whitelist mode (#14093)
Fixes #14092
2020-06-19 19:18:47 +02:00
ThibGandGitHub 755e8c76ab Fix initial audio volume not corresponding to what's displayed (#14057) 2020-06-15 16:43:30 +02:00
Eugen RochkoandGitHub 3e9dc4044b Add hints about incomplete remote content to web UI (#14031) 2020-06-14 22:29:40 +02:00
b1484cf3ce Fixed emoji detection problem to append border (#14020)
* Fixed emoji detection problem to append border

* Add tests

* Add missing semicolon

* Fixed wrong result when includes different variation selector

* Add missing semicolon

* Remove grapheme-splitter and Change emoji list to array from string

* Update comment

* Remove spaces

Co-authored-by: ThibG <thib@sitedethib.com>
2020-06-10 21:56:14 +02:00
ThibGandGitHub c813789e06 Fix TL sometimes jumping when closing modals (#14019)
Fixes #14018
2020-06-10 13:57:13 +02:00
ThibGandGitHub cc6b8a9615 Fix WebUI crash when processing accounts before page is loaded (#14015) 2020-06-09 20:53:20 +02:00
ThibGandGitHub 6b6a9d0ea3 Add hotkey for toggling content warning composer field (#13987) 2020-06-09 10:32:32 +02:00
ThibGandGitHub 89f40b6c3e Make domain block/silence/reject-media code more robust (#13424)
* Split media cleanup from reject-media domain blocks to its own service

* Slightly improve ClearDomainMediaService error handling

* Lower DomainClearMediaWorker to lowest-priority queue

* Do not catch ActiveRecord::RecordNotFound in domain block workers

* Fix DomainBlockWorker spec labels

* Add some specs

* Change domain blocks to immediately mark accounts as suspended

Rather than doing so sequentially, account after account, while cleaning
their data. This doesn't change much about the time the block takes to
complete, but it immediately prevents interaction with the blocked domain,
while up to now, it would only be guaranteed when the process ends.
2020-06-09 10:32:00 +02:00
Bei LiandGitHub 384d64894a Update “status” to “toot” for en.json (#13877) 2020-06-09 10:28:57 +02:00
ThibGandGitHub db319c0fdc Improve rendering of emoji which do not contrast with background (#13772)
* Refactor list of emoji requiring added outlines so that it can be theme-specific

* Split inaccessible emoji to emoji requiring an outline and ones that can be inverted

* Drop the “silouhettes” from black emoji as they seem to have changed color

* Add inaccessible emojis list for the light theme

* Use bordered emoji variant instead of unreliable CSS
2020-06-09 10:28:23 +02:00
Mélanie ChauvelandGitHub ac3c83ef6f Improve wording and add titles on moderated servers section in /about/more (#13930) 2020-06-09 10:28:02 +02:00
Takeshi UmedaandGitHub d890abfcab Fix performance of follow import (#13836) 2020-06-09 10:26:58 +02:00
Eugen RochkoandGitHub 72a7cfaa39 Add e-mail-based sign in challenge for users with disabled 2FA (#14013) 2020-06-09 10:23:06 +02:00
Takeshi UmedaandGitHub 8b6d97fb7c Add limit parameter to rss (#13743) 2020-06-09 00:18:47 +02:00
Takeshi UmedaandGitHub 13f065da05 Add visibility parameter in share page (#13023)
* Add visibility parameter in share page

* Restrict to default privacy
2020-06-09 00:16:30 +02:00
c66403b257 FIX: filters ignore media descriptions (#13837)
* FIX: filters ignore media descriptions

* remove parentheses to make codeclimate happy

* combine the text and run the regular expression only once.

https://github.com/tootsuite/mastodon/pull/13837#discussion_r431752581

* Fix use of “filter” instead of “compact”, fix coding style issues

Co-authored-by: Thibaut Girka <thib@sitedethib.com>
2020-06-09 00:11:42 +02:00
ThibGandGitHub 8e96510b25 Hide sensitive preview cards with blurhash (#13985)
* Use preview card blurhash in WebUI

* Handle sensitive preview cards
2020-06-06 17:41:56 +02:00
ThibGandGitHub 346d9b3d2e Add blurhash to preview cards (#13984)
Fixes #13001
2020-06-05 23:10:41 +02:00
ThibGandGitHub bf6745b9c3 Fix unpermitted operations on custom emojis leading to cryptic errors (#13951)
* Display appropriate error when performing unpermitted operation on custom emoji

Fixes #13897

* Remove links to custom emoji actions not performable by moderators
2020-06-05 15:23:27 +02:00
ThibGandGitHub aed3a436a2 Fix serialization of replies when some of them are URIs (#13957)
* Fix serialization of replies when some of them are URIs

Fixes #13956

* Add test
2020-06-04 19:03:31 +02:00
Eugen RochkoandGitHub f669b8bcce Fix wrong route helper in encrypted messages controller (#13952)
And add `created_at` to encrypted message serializer
2020-06-03 20:32:15 +02:00
Mélanie ChauvelandGitHub 77619b1654 Put “Add new domain block” button on /admin/instances in header (#13934) 2020-06-03 20:19:14 +02:00
ThibGandGitHub bf94934623 Fix account redirect confirmation message talking about moved followers (#13950)
Fixes #13949
2020-06-03 20:18:19 +02:00
Takeshi UmedaandGitHub 643065799b Fix activity not being signed (#13948) 2020-06-03 08:33:30 +02:00
Eugen RochkoandGitHub 5d8398c8b8 Add E2EE API (#13820) 2020-06-02 19:24:53 +02:00
Yamagishi KazutoshiandGitHub f96a891853 Fix ref attr for react-textarea-autozsize (#13936) 2020-06-02 03:24:04 +02:00
ThibGandGitHub 51ff679b9d Fix admin page crashing when trying to block an invalid domain name (#13884)
* Fix admin page crashing when trying to block an invalid domain name

Fixes #13880

* Fix trailing and leading spaces not being properly stripped for domain blocks
2020-06-01 03:47:20 +02:00
ThibGandGitHub eeddb1a624 Fix unsent toot confirmation dialog not popping up in single column (#13888) 2020-05-31 20:38:56 +02:00
Christopher ChoiandGitHub b4a8400afd Adjust flash alert contrast for better readability (#13892) 2020-05-31 20:35:18 +02:00
Brian C. LindnerandGitHub 64154c5161 Allow Ctrl-click to keep EmojiPicker window open (#13896) 2020-05-31 20:34:34 +02:00
ThibGandGitHub cc650bc023 Fix timeline markers in Firefox (regression from #13887) (#13889)
Unfortunately, Firefox does not support the `keepalive` parameter
I used in the previous PR. However it supports the `navigator.sendBeacon`
API that allows that kind of things, but does not allow setting headers.

Therefore, this PR replaces it with a `sendBeacon` call that passes the
bearer token in the POST data.

Doorkeeper will then handle the auth token out of the box, as long as
it is passed as form data. Passing the query as JSON does not work.
2020-05-29 19:25:57 +02:00
ThibGandGitHub 5aff2a6957 Fix timeline markers not working on Chrome (#13887)
* Periodically save timeline markers

This saves timeline markers immediately upon message arrival, but not more
than once every 5 minutes.

This does not change how the markers are saved on closing the window,
except that it avoids submitting them if there is no need for it.

* Use the Fetch API when possible instead of XHR on window unload
2020-05-29 16:14:16 +02:00
Mélanie ChauvelandGitHub 40d81620b0 Change wording from “Hide media” to “Hide image/images” in Web UI (#13834) 2020-05-25 12:30:34 +02:00
exstral 4f8e446456 missing comma in hometown macaron theme 2020-05-25 01:11:37 +02:00
exstral f03131519b change emoji button to more neutral emoji 2020-05-25 01:06:41 +02:00
exstral 4c52d67a66 use the hometown logo on public pages 2020-05-25 00:04:04 +02:00
Takeshi UmedaandGitHub 8e056bd82e Fix csv upload (#13835) 2020-05-24 09:15:23 +02:00
Takeshi UmedaandGitHub e6706d171a Fix searchable status without explicitly mentioning it (#13829) 2020-05-23 05:47:25 +02:00
Takeshi UmedaandGitHub 3a1a21ad57 Fix local streaming of hashtag timelines (#13827) 2020-05-23 05:46:29 +02:00
Darius Kazemi 7b81b1b24f fixing logic for 3rd party apps, should now work 2020-05-17 09:56:03 -07:00
Darius Kazemi 2dbaa1d38a Fix scrollbar appearing on small width screens
Fixes #52.
2020-05-16 18:02:09 -07:00
Emma WinstonandDarius Kazemi 6cdcf3e21a Macaron theme tweaks 2020-05-16 17:47:51 -07:00
Darius Kazemi 8b75cc93f1 Adding sensible federation default for third party clients
Fixes #48.
2020-05-16 17:18:09 -07:00
Darius Kazemi 24934e5fdd Increment Hometown version 2020-05-16 13:09:52 -07:00
Darius Kazemi c7a78558ea Fixing merge & local pinned post leak 2020-05-16 13:01:41 -07:00
Darius Kazemi 877a478466 Merge tag 'v3.1.4' into hometown-dev 2020-05-15 15:34:04 -07:00
ThibGandGitHub a319c1e60f Add support for summary field for media description (#13763) 2020-05-15 17:08:59 +02:00
ThibGandGitHub 27ea7c13a5 Fix hashtag search performing account search as well (#13758) 2020-05-14 23:37:37 +02:00
ThibGandGitHub 71fce71c94 Fix webfinger returning wrong status code on malformed or missing param (#13759)
Fixes #13757
2020-05-14 23:28:06 +02:00
Eugen RochkoandGitHub c9dcc2d39f Fix regression in sparkline style in web UI (#13753) 2020-05-14 09:01:23 +02:00