]> cat aescling's git repositories - mastodon.git/log
mastodon.git
6 years agoMerge pull request #1251 from ThibG/glitch-soc/merge-upstream
ThibG [Sun, 8 Dec 2019 20:27:36 +0000 (21:27 +0100)]
Merge pull request #1251 from ThibG/glitch-soc/merge-upstream

Merge upstream changes

6 years agoFix erroneous inclusion of upstream code
Thibaut Girka [Sat, 7 Dec 2019 14:53:04 +0000 (15:53 +0100)]
Fix erroneous inclusion of upstream code

6 years ago[Glitch] Highlight border when focusing poll-form footer
Hinaloe [Wed, 4 Dec 2019 23:51:07 +0000 (08:51 +0900)]
[Glitch] Highlight border when focusing poll-form footer

Port eb551c480d4c687d75d6bc94915adfcd8aae93fb to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
6 years ago[Glitch] Add basic support for group actors
Takeshi Umeda [Wed, 4 Dec 2019 19:36:33 +0000 (04:36 +0900)]
[Glitch] Add basic support for group actors

Port f43f1e01840cd0bad7a88c90d9ea44b183a2a15d to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
6 years ago[Glitch] Fix poll options not being selectable via keyboard
ThibG [Tue, 3 Dec 2019 18:53:16 +0000 (19:53 +0100)]
[Glitch] Fix poll options not being selectable via keyboard

Port c05ed8a6254bc82fda3ae0fd3934dc2cdcf7c82d to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
6 years ago[Glitch] Add follow_request notification type
ThibG [Sun, 1 Dec 2019 16:25:29 +0000 (17:25 +0100)]
[Glitch] Add follow_request notification type

Port 911cc144815babf83ddf99f2daa3682021d401b8 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
6 years ago[Glitch] upgrade/replace websocket.js to @gamestdio/websocket v2
Shlee [Wed, 4 Dec 2019 11:45:49 +0000 (19:45 +0800)]
[Glitch] upgrade/replace websocket.js to @gamestdio/websocket v2

Port f92ed32df4489210ab0ef557f1df90bc5e97d8e6 to glitch-soc

Co-authored-by: hina <hina@hinaloe.net>
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
6 years agoMerge branch 'master' into glitch-soc/merge-upstream
Thibaut Girka [Sat, 7 Dec 2019 11:28:59 +0000 (12:28 +0100)]
Merge branch 'master' into glitch-soc/merge-upstream

Conflicts:
- package.json
  Not really a conflict, caused by an additional dependency in glitch-soc.
- yarn.lock
  Not really a conflict, caused by an additional dependency in glitch-soc.

6 years agoFix generic HTTP 500 error on duplicate records (#12563)
Eugen Rochko [Fri, 6 Dec 2019 21:40:06 +0000 (22:40 +0100)]
Fix generic HTTP 500 error on duplicate records (#12563)

Fix #12551
Fix #12547

6 years agoFix account search with no query (#12549)
trwnh [Fri, 6 Dec 2019 18:44:23 +0000 (12:44 -0600)]
Fix account search with no query (#12549)

* Fix account search with no query

Modeled after #12541. Fix #12548

* fix codeclimate

6 years ago[Security] Bump puma from 4.2.0 to 4.3.1 (#12559)
dependabot-preview[bot] [Fri, 6 Dec 2019 18:44:09 +0000 (19:44 +0100)]
[Security] Bump puma from 4.2.0 to 4.3.1 (#12559)

Bumps [puma](https://github.com/puma/puma) from 4.2.0 to 4.3.1. **This update includes a security fix.**
- [Release notes](https://github.com/puma/puma/releases)
- [Changelog](https://github.com/puma/puma/blob/master/History.md)
- [Commits](https://github.com/puma/puma/compare/v4.2.0...v4.3.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoHighlight border when focusing poll-form footer (#12544)
Hinaloe [Wed, 4 Dec 2019 23:51:07 +0000 (08:51 +0900)]
Highlight border when focusing poll-form footer (#12544)

6 years agoFix media open hotkey (#12546)
Jeong Arm [Wed, 4 Dec 2019 23:50:51 +0000 (08:50 +0900)]
Fix media open hotkey (#12546)

6 years agoRemove some duplicate methods from StatusHelper and reflect changes to AccountHelper...
Takeshi Umeda [Wed, 4 Dec 2019 23:50:40 +0000 (08:50 +0900)]
Remove some duplicate methods from StatusHelper and reflect changes to AccountHelper (#12545)

6 years agoAdd basic support for group actors (#12071)
Takeshi Umeda [Wed, 4 Dec 2019 19:36:33 +0000 (04:36 +0900)]
Add basic support for group actors (#12071)

* Show badge on group actor in WebUI

* Do not notify in case of  by following group actor

* If you mention group actor, also mention group actor followers

* Relax characters that can be used in username (same as Application)

* Revert "Relax characters that can be used in username (same as Application)"

This reverts commit 7e10a137b878d0db1b5252c52106faef5e09ca4b.

* Delete display_name method

6 years agoupgrade/replace websocket.js to @gamestdio/websocket v2 (#12543)
Shlee [Wed, 4 Dec 2019 11:45:49 +0000 (19:45 +0800)]
upgrade/replace websocket.js to @gamestdio/websocket v2 (#12543)

* Update stream.js

* Update package.json

* Update yarn.lock

Co-authored-by: hina <hina@hinaloe.net>
6 years agoFix old migration failing with new status default scope (#12493)
ThibG [Wed, 4 Dec 2019 03:34:31 +0000 (04:34 +0100)]
Fix old migration failing with new status default scope (#12493)

6 years agoFix error when using search API with no query (#12541)
Eugen Rochko [Wed, 4 Dec 2019 03:34:08 +0000 (04:34 +0100)]
Fix error when using search API with no query (#12541)

Fix #12462

6 years agoReturn `discoverable` via REST API (fix #12507) (#12508)
trwnh [Tue, 3 Dec 2019 18:56:34 +0000 (12:56 -0600)]
Return `discoverable` via REST API (fix #12507) (#12508)

6 years agoFix poll options not being selectable via keyboard (#12538)
ThibG [Tue, 3 Dec 2019 18:53:16 +0000 (19:53 +0100)]
Fix poll options not being selectable via keyboard (#12538)

* Fix poll options not being selectable via keyboard

Fixes #12384

* Improve styling of poll option checkboxes/radio buttons

* Use more appropriate ARIA roles for poll options

* Allow switching between single and multiple choice from keyboard

* Coding style

* Avoid using .bind()

6 years agoadd S3_OPEN_TIMEOUT environment variable (#12459)
tateisu [Mon, 2 Dec 2019 20:05:27 +0000 (05:05 +0900)]
add S3_OPEN_TIMEOUT environment variable (#12459)

6 years agoMove rspec examples to tmp dir (#12539)
Yamagishi Kazutoshi [Mon, 2 Dec 2019 18:55:08 +0000 (03:55 +0900)]
Move rspec examples to tmp dir (#12539)

6 years agoBump faker from 2.7.0 to 2.8.0 (#12531)
dependabot-preview[bot] [Mon, 2 Dec 2019 17:38:17 +0000 (02:38 +0900)]
Bump faker from 2.7.0 to 2.8.0 (#12531)

Bumps [faker](https://github.com/faker-ruby/faker) from 2.7.0 to 2.8.0.
- [Release notes](https://github.com/faker-ruby/faker/releases)
- [Changelog](https://github.com/faker-ruby/faker/blob/master/CHANGELOG.md)
- [Commits](https://github.com/faker-ruby/faker/compare/v2.7.0...v2.8.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoBump brakeman from 4.7.1 to 4.7.2 (#12530)
dependabot-preview[bot] [Mon, 2 Dec 2019 17:37:54 +0000 (02:37 +0900)]
Bump brakeman from 4.7.1 to 4.7.2 (#12530)

Bumps [brakeman](https://github.com/presidentbeef/brakeman) from 4.7.1 to 4.7.2.
- [Release notes](https://github.com/presidentbeef/brakeman/releases)
- [Changelog](https://github.com/presidentbeef/brakeman/blob/master/CHANGES.md)
- [Commits](https://github.com/presidentbeef/brakeman/compare/v4.7.1...v4.7.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoBump autoprefixer from 9.6.1 to 9.7.3 (#12519)
dependabot-preview[bot] [Mon, 2 Dec 2019 17:37:22 +0000 (02:37 +0900)]
Bump autoprefixer from 9.6.1 to 9.7.3 (#12519)

Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 9.6.1 to 9.7.3.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/9.6.1...9.7.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoUpdate ESLint and RuboCop in Code Climate (#12534)
Yamagishi Kazutoshi [Mon, 2 Dec 2019 17:25:43 +0000 (02:25 +0900)]
Update ESLint and RuboCop in Code Climate (#12534)

6 years agoFix blocking/unblocking users from status dropdown menu (#12535)
ThibG [Mon, 2 Dec 2019 17:25:24 +0000 (18:25 +0100)]
Fix blocking/unblocking users from status dropdown menu (#12535)

Fixes #12511

6 years agoBump eslint-plugin-react from 7.16.0 to 7.17.0 (#12524)
dependabot-preview[bot] [Mon, 2 Dec 2019 15:55:32 +0000 (00:55 +0900)]
Bump eslint-plugin-react from 7.16.0 to 7.17.0 (#12524)

Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react) from 7.16.0 to 7.17.0.
- [Release notes](https://github.com/yannickcr/eslint-plugin-react/releases)
- [Changelog](https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yannickcr/eslint-plugin-react/compare/v7.16.0...v7.17.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoBump blurhash from 1.0.0 to 1.1.3 (#12411)
dependabot-preview[bot] [Mon, 2 Dec 2019 14:18:59 +0000 (23:18 +0900)]
Bump blurhash from 1.0.0 to 1.1.3 (#12411)

Bumps [blurhash](https://github.com/woltapp/blurhash) from 1.0.0 to 1.1.3.
- [Release notes](https://github.com/woltapp/blurhash/releases)
- [Commits](https://github.com/woltapp/blurhash/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoBump aws-sdk-s3 from 1.55.0 to 1.57.0 (#12528)
dependabot-preview[bot] [Mon, 2 Dec 2019 14:03:46 +0000 (23:03 +0900)]
Bump aws-sdk-s3 from 1.55.0 to 1.57.0 (#12528)

Bumps [aws-sdk-s3](https://github.com/aws/aws-sdk-ruby) from 1.55.0 to 1.57.0.
- [Release notes](https://github.com/aws/aws-sdk-ruby/releases)
- [Changelog](https://github.com/aws/aws-sdk-ruby/blob/master/gems/aws-sdk-s3/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-ruby/compare/v1.55.0...v1.57.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoBump arrow-key-navigation from 1.0.2 to 1.1.0 (#12523)
dependabot-preview[bot] [Mon, 2 Dec 2019 13:59:12 +0000 (22:59 +0900)]
Bump arrow-key-navigation from 1.0.2 to 1.1.0 (#12523)

Bumps [arrow-key-navigation](https://github.com/nolanlawson/arrow-key-navigation) from 1.0.2 to 1.1.0.
- [Release notes](https://github.com/nolanlawson/arrow-key-navigation/releases)
- [Commits](https://github.com/nolanlawson/arrow-key-navigation/compare/v1.0.2...v1.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoBump tty-prompt from 0.19.0 to 0.20.0 (#12529)
dependabot-preview[bot] [Mon, 2 Dec 2019 13:58:07 +0000 (22:58 +0900)]
Bump tty-prompt from 0.19.0 to 0.20.0 (#12529)

Bumps [tty-prompt](https://github.com/piotrmurach/tty-prompt) from 0.19.0 to 0.20.0.
- [Release notes](https://github.com/piotrmurach/tty-prompt/releases)
- [Changelog](https://github.com/piotrmurach/tty-prompt/blob/master/CHANGELOG.md)
- [Commits](https://github.com/piotrmurach/tty-prompt/compare/v0.19.0...v0.20.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoBump rubocop-rails from 2.3.2 to 2.4.0 (#12532)
dependabot-preview[bot] [Mon, 2 Dec 2019 13:56:53 +0000 (22:56 +0900)]
Bump rubocop-rails from 2.3.2 to 2.4.0 (#12532)

Bumps [rubocop-rails](https://github.com/rubocop-hq/rubocop-rails) from 2.3.2 to 2.4.0.
- [Release notes](https://github.com/rubocop-hq/rubocop-rails/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop-rails/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop-rails/compare/v2.3.2...v2.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoBump fabrication from 2.20.2 to 2.21.0 (#12527)
dependabot-preview[bot] [Mon, 2 Dec 2019 13:55:43 +0000 (22:55 +0900)]
Bump fabrication from 2.20.2 to 2.21.0 (#12527)

Bumps [fabrication](https://github.com/paulelliott/fabrication) from 2.20.2 to 2.21.0.
- [Release notes](https://github.com/paulelliott/fabrication/releases)
- [Changelog](https://github.com/paulelliott/fabrication/blob/master/Changelog.markdown)
- [Commits](https://github.com/paulelliott/fabrication/compare/2.20.2...2.21.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoBump rails-ujs from 5.2.3 to 5.2.4 (#12526)
dependabot-preview[bot] [Mon, 2 Dec 2019 13:55:08 +0000 (22:55 +0900)]
Bump rails-ujs from 5.2.3 to 5.2.4 (#12526)

Bumps [rails-ujs](https://github.com/rails/rails) from 5.2.3 to 5.2.4.
- [Release notes](https://github.com/rails/rails/releases)
- [Commits](https://github.com/rails/rails/compare/v5.2.3...v5.2.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoBump eslint from 6.5.1 to 6.7.2 (#12522)
dependabot-preview[bot] [Mon, 2 Dec 2019 13:53:03 +0000 (22:53 +0900)]
Bump eslint from 6.5.1 to 6.7.2 (#12522)

Bumps [eslint](https://github.com/eslint/eslint) from 6.5.1 to 6.7.2.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v6.5.1...v6.7.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoFix notifications label (#12517)
mayaeh [Mon, 2 Dec 2019 12:39:53 +0000 (21:39 +0900)]
Fix notifications label (#12517)

* Fix translations not being displayed

* ran `yarn manage:translations en`

6 years agoRemove unnecessary dependencies (#12533)
Yamagishi Kazutoshi [Mon, 2 Dec 2019 12:38:53 +0000 (21:38 +0900)]
Remove unnecessary dependencies (#12533)

6 years agoLink to reports targetting instance in admin view (#12513)
ThibG [Sun, 1 Dec 2019 18:03:43 +0000 (19:03 +0100)]
Link to reports targetting instance in admin view (#12513)

6 years ago:sparkles: Add an LDAP Mail attribute config (#12053)
Mathieu Brunot [Sun, 1 Dec 2019 17:52:21 +0000 (18:52 +0100)]
:sparkles: Add an LDAP Mail attribute config (#12053)

Signed-off-by: mathieu.brunot <mathieu.brunot@monogramm.io>
6 years agoAdd follow_request notification type (#12198)
ThibG [Sun, 1 Dec 2019 16:25:29 +0000 (17:25 +0100)]
Add follow_request notification type (#12198)

* Add follow_request notification type

The notification type already existed in the backend but was never pushed
to the front-end. This also means translation strings were also available
for the backend, from the notification mailer.

Unlike other notification types, these are off by default, to match what
I remember of Gargron's view on the topic: that follow requests should not
clutter notifications and should instead be reviewed at the user's own
leisure in the dedicated column.

Since follow requests have their own column, I've deemed it unnecessary to
add a specific tab for them in the notification quick filter.

* Show follow request link in single-column if there are pending requests, even if account isn't locked

* Push follow requests from notifications to the follow_requests list

* Offer to accept or reject follow request from the notification

* Redesign follow request notification

6 years agoOnly normalize local polls (#12515)
ThibG [Sun, 1 Dec 2019 16:24:33 +0000 (17:24 +0100)]
Only normalize local polls (#12515)

Before this patch, if remote poll options have leading or trailing spaces,
the information stored locally won't match them, causing federated voting to
fail.

6 years agoMerge pull request #1250 from ThibG/glitch-soc/merge-upstream
ThibG [Sun, 1 Dec 2019 12:13:28 +0000 (13:13 +0100)]
Merge pull request #1250 from ThibG/glitch-soc/merge-upstream

Merge upstream changes

6 years ago[Glitch] Fix conversations not having an unread indicator in web UI
Eugen Rochko [Sun, 1 Dec 2019 06:06:20 +0000 (07:06 +0100)]
[Glitch] Fix conversations not having an unread indicator in web UI

Fix ed73376f1ca7ef5e254a3ec21e1ead85b2d34fd6 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
6 years ago[Glitch] Fix lost focus when modals open/close
ThibG [Sat, 30 Nov 2019 17:19:47 +0000 (18:19 +0100)]
[Glitch] Fix lost focus when modals open/close

Port 35b142a7ad19821483f900e81e915a7925fd4eaf to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
6 years agoMerge branch 'master' into glitch-soc/merge-upstream
Thibaut Girka [Sun, 1 Dec 2019 11:12:42 +0000 (12:12 +0100)]
Merge branch 'master' into glitch-soc/merge-upstream

6 years ago:sparkles: Convert LDAP username (#12461)
Mathieu Brunot [Sun, 1 Dec 2019 06:21:28 +0000 (07:21 +0100)]
:sparkles: Convert LDAP username (#12461)

* :sparkles: Convert LDAP username #12021

Signed-off-by: mathieu.brunot <mathieu.brunot@monogramm.io>
* :bug: Fix conversion var use

Signed-off-by: mathieu.brunot <mathieu.brunot@monogramm.io>
* :bug: Fix LDAP uid conversion test

Signed-off-by: mathieu.brunot <mathieu.brunot@monogramm.io>
* :ok_hand: Remove comments with ref to PR

Signed-off-by: mathieu.brunot <mathieu.brunot@monogramm.io>
* :ok_hand: Remove unnecessary paranthesis

Signed-off-by: mathieu.brunot <mathieu.brunot@monogramm.io>
* :wrench: Move space in conversion string

Signed-off-by: mathieu.brunot <mathieu.brunot@monogramm.io>
6 years agoSplit relationships page strings (#12502)
Sasha Sorokin [Sun, 1 Dec 2019 06:08:40 +0000 (13:08 +0700)]
Split relationships page strings (#12502)

Before this moment relationships managing page was using strings from
other context - from counters, but in order for translators to be able
to translate it relatively to the page, it must use separate strings.

I've split the strings for "Following" and "Followers" and put them to
"relationships" keyset in localization file. This should solve this
issue.

Fixes #10863

6 years agoFix conversations not having an unread indicator in web UI (#12506)
Eugen Rochko [Sun, 1 Dec 2019 06:06:20 +0000 (07:06 +0100)]
Fix conversations not having an unread indicator in web UI (#12506)

6 years agoFallback to Create audience when object has no defined audience (#12249)
ThibG [Sat, 30 Nov 2019 18:58:00 +0000 (19:58 +0100)]
Fallback to Create audience when object has no defined audience (#12249)

Fixes #11137

6 years agoAdd ability to filter reports by target account domain (#12154)
ThibG [Sat, 30 Nov 2019 18:53:58 +0000 (19:53 +0100)]
Add ability to filter reports by target account domain (#12154)

* Add ability to filter reports by target account domain

* Reword by_target_domain label

6 years agoLDAP & PAM added to OAuth password grant strategy (#7999) (#12390)
ntl-purism [Sat, 30 Nov 2019 18:44:59 +0000 (12:44 -0600)]
LDAP & PAM added to OAuth password grant strategy (#7999) (#12390)

When authenticating via OAuth, the resource owner password grant
strategy is allowed by Mastodon, but (without this PR), it does not
attempt to authenticate against LDAP or PAM. As a result, LDAP or PAM
authenticated users cannot sign in to Mastodon with their
email/password credentials via OAuth (for instance, for native/mobile
app users).

This PR fleshes out the authentication strategy supplied to doorkeeper
in its initializer by looking up the user with LDAP and/or PAM when
devise is configured to use LDAP/PAM backends. It attempts to follow the
same logic as the Auth::SessionsController for handling email/password
credentials.

Note #1: Since this pull request affects an initializer, it's unclear
how to add test automation.

Note #2: The PAM authentication path has not been manually tested. It
was added for completeness sake, and it is hoped that it can be manually
tested before merging.

6 years agoFix lost focus when modals open/close (#12437)
ThibG [Sat, 30 Nov 2019 17:19:47 +0000 (18:19 +0100)]
Fix lost focus when modals open/close (#12437)

* Fix lost focus after modal closes

Regression caused by the use of the wicg-inert polyfill

* Fix regression introduced by wicg-inert

* Catch errors to please CodeClimate

6 years agoMerge pull request #1249 from ThibG/glitch-soc/merge-upstream
ThibG [Sat, 30 Nov 2019 17:13:53 +0000 (18:13 +0100)]
Merge pull request #1249 from ThibG/glitch-soc/merge-upstream

Merge upstream changes

6 years ago[Glitch] Fix counter sizing
Sasha Sorokin [Fri, 29 Nov 2019 16:03:38 +0000 (23:03 +0700)]
[Glitch] Fix counter sizing

Port b532ead798c481fd03be9eb78e910d62654cdaa8 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
6 years ago[Glitch] Add hotkey for opening media files
ThibG [Fri, 29 Nov 2019 16:02:36 +0000 (17:02 +0100)]
[Glitch] Add hotkey for opening media files

Port a690b3e470ed85cc6f3f8fa7aec57d04b60a4705 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
6 years ago[Glitch] Fix pending upload count not being decremented on error
ThibG [Fri, 29 Nov 2019 16:02:18 +0000 (17:02 +0100)]
[Glitch] Fix pending upload count not being decremented on error

Port 667708f5b00ee8b7795eacd9c20d29f77c8ae602 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
6 years ago[Glitch] Fix OCR with delete & redraft
ThibG [Mon, 25 Nov 2019 00:42:51 +0000 (01:42 +0100)]
[Glitch] Fix OCR with delete & redraft

Port e7a7f88df7a763be6dad3a982829ef5a1b1dea09 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
6 years agoMerge branch 'master' into glitch-soc/merge-upstream
Thibaut Girka [Sat, 30 Nov 2019 16:29:44 +0000 (17:29 +0100)]
Merge branch 'master' into glitch-soc/merge-upstream

6 years agoFix counter sizing (#12446)
Sasha Sorokin [Fri, 29 Nov 2019 16:03:38 +0000 (23:03 +0700)]
Fix counter sizing (#12446)

Counter size is currently set to strict 33.3% width, but with it
counter may break in other languages than English. For example it is
already broken on Gargron's profile on mastodon.social using Russian
locale.

This commit changes "width" to "min-width", so counters still displayed
correctly, but if they need more width to fit text, they are now allowed
to take as many width as they need.

6 years agoUpdated NodeJS in Dockerfile (#12492)
Shlee [Fri, 29 Nov 2019 16:03:20 +0000 (00:03 +0800)]
Updated NodeJS in Dockerfile (#12492)

6 years agoImprove notifications page (#12497)
Sasha Sorokin [Fri, 29 Nov 2019 16:03:06 +0000 (23:03 +0700)]
Improve notifications page (#12497)

Currently notifications page seems a bit cluttered with no clear
separation between e-mail and filtering settings. This commit tries to
address them by adding clear separation with headers, hints and removing
continuously reused texts for events checkboxes.

6 years agoAdd hotkey for opening media files (#12498)
ThibG [Fri, 29 Nov 2019 16:02:36 +0000 (17:02 +0100)]
Add hotkey for opening media files (#12498)

* [WiP] Add hotkey to open media

* Give focus to play/pause button when opening video modal

6 years agoFix pending upload count not being decremented on error (#12499)
ThibG [Fri, 29 Nov 2019 16:02:18 +0000 (17:02 +0100)]
Fix pending upload count not being decremented on error (#12499)

The arguments were passed to the wrong function… also, there is no
need to have a conditional decrementation: failure to upload means
we marked an upload as pending, in all cases.

6 years agoFix n+1 query for bookmarks on statuses (#12494)
Eugen Rochko [Thu, 28 Nov 2019 03:08:00 +0000 (04:08 +0100)]
Fix n+1 query for bookmarks on statuses (#12494)

6 years agoFix proofs API being inaccessible in secure mode (#12495)
Eugen Rochko [Thu, 28 Nov 2019 03:07:49 +0000 (04:07 +0100)]
Fix proofs API being inaccessible in secure mode (#12495)

6 years agoLink move target account
Thibaut Girka [Sun, 24 Nov 2019 15:47:52 +0000 (16:47 +0100)]
Link move target account

6 years agoShow acct of target account
Thibaut Girka [Sun, 24 Nov 2019 15:36:04 +0000 (16:36 +0100)]
Show acct of target account

6 years agoAdd moved account warning
Thibaut Girka [Sun, 24 Nov 2019 14:57:27 +0000 (15:57 +0100)]
Add moved account warning

6 years agoDo not consider moved accounts as non-functional
Thibaut Girka [Thu, 31 Oct 2019 13:40:58 +0000 (14:40 +0100)]
Do not consider moved accounts as non-functional

This might be somewhat controversial, but putting a redirection up
makes the account unusable, which works against use cases such as
using the moved account as backup in case the new one temporarily fails
(sure, the redirection can be temporarily removed, but it is a hassle)

6 years agoBump net-ldap from 0.16.1 to 0.16.2 (#12479)
dependabot-preview[bot] [Wed, 27 Nov 2019 12:33:20 +0000 (21:33 +0900)]
Bump net-ldap from 0.16.1 to 0.16.2 (#12479)

Bumps [net-ldap](https://github.com/ruby-ldap/ruby-net-ldap) from 0.16.1 to 0.16.2.
- [Release notes](https://github.com/ruby-ldap/ruby-net-ldap/releases)
- [Changelog](https://github.com/ruby-ldap/ruby-net-ldap/blob/master/History.rdoc)
- [Commits](https://github.com/ruby-ldap/ruby-net-ldap/compare/v0.16.1...v0.16.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoBump parallel from 1.18.0 to 1.19.1 (#12475)
dependabot-preview[bot] [Wed, 27 Nov 2019 11:49:19 +0000 (20:49 +0900)]
Bump parallel from 1.18.0 to 1.19.1 (#12475)

Bumps [parallel](https://github.com/grosser/parallel) from 1.18.0 to 1.19.1.
- [Release notes](https://github.com/grosser/parallel/releases)
- [Commits](https://github.com/grosser/parallel/compare/v1.18.0...v1.19.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoUse override_csp options on pghero (#12489)
Yamagishi Kazutoshi [Wed, 27 Nov 2019 04:28:11 +0000 (13:28 +0900)]
Use override_csp options on pghero (#12489)

6 years agoBump browser from 2.6.1 to 2.7.1 (#12490)
dependabot-preview[bot] [Wed, 27 Nov 2019 04:19:27 +0000 (13:19 +0900)]
Bump browser from 2.6.1 to 2.7.1 (#12490)

Bumps [browser](https://github.com/fnando/browser) from 2.6.1 to 2.7.1.
- [Release notes](https://github.com/fnando/browser/releases)
- [Changelog](https://github.com/fnando/browser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/fnando/browser/compare/v2.6.1...v2.7.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoBump @babel/plugin-transform-react-inline-elements from 7.2.0 to 7.7.4 (#12467)
dependabot-preview[bot] [Wed, 27 Nov 2019 04:13:55 +0000 (13:13 +0900)]
Bump @babel/plugin-transform-react-inline-elements from 7.2.0 to 7.7.4 (#12467)

Bumps [@babel/plugin-transform-react-inline-elements](https://github.com/babel/babel) from 7.2.0 to 7.7.4.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.2.0...v7.7.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoBump @babel/preset-env from 7.7.1 to 7.7.4 (#12471)
dependabot-preview[bot] [Wed, 27 Nov 2019 03:24:13 +0000 (12:24 +0900)]
Bump @babel/preset-env from 7.7.1 to 7.7.4 (#12471)

Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.7.1 to 7.7.4.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.7.1...v7.7.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoBump rack-cors from 1.0.6 to 1.1.0 (#12477)
dependabot-preview[bot] [Wed, 27 Nov 2019 02:59:57 +0000 (11:59 +0900)]
Bump rack-cors from 1.0.6 to 1.1.0 (#12477)

Bumps [rack-cors](https://github.com/cyu/rack-cors) from 1.0.6 to 1.1.0.
- [Release notes](https://github.com/cyu/rack-cors/releases)
- [Changelog](https://github.com/cyu/rack-cors/blob/master/CHANGELOG.md)
- [Commits](https://github.com/cyu/rack-cors/compare/v1.0.6...v1.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoBump browser from 2.6.1 to 2.7.0 (#12476)
dependabot-preview[bot] [Wed, 27 Nov 2019 02:54:40 +0000 (11:54 +0900)]
Bump browser from 2.6.1 to 2.7.0 (#12476)

Bumps [browser](https://github.com/fnando/browser) from 2.6.1 to 2.7.0.
- [Release notes](https://github.com/fnando/browser/releases)
- [Changelog](https://github.com/fnando/browser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/fnando/browser/compare/v2.6.1...v2.7.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoBump charlock_holmes from 0.7.6 to 0.7.7 (#12474)
dependabot-preview[bot] [Wed, 27 Nov 2019 02:53:50 +0000 (11:53 +0900)]
Bump charlock_holmes from 0.7.6 to 0.7.7 (#12474)

Bumps [charlock_holmes](https://github.com/brianmario/charlock_holmes) from 0.7.6 to 0.7.7.
- [Release notes](https://github.com/brianmario/charlock_holmes/releases)
- [Commits](https://github.com/brianmario/charlock_holmes/compare/0.7.6...v0.7.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoBump @babel/plugin-transform-react-jsx-self from 7.2.0 to 7.7.4 (#12466)
dependabot-preview[bot] [Wed, 27 Nov 2019 02:36:47 +0000 (11:36 +0900)]
Bump @babel/plugin-transform-react-jsx-self from 7.2.0 to 7.7.4 (#12466)

Bumps [@babel/plugin-transform-react-jsx-self](https://github.com/babel/babel) from 7.2.0 to 7.7.4.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.2.0...v7.7.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoBump @babel/plugin-syntax-dynamic-import from 7.2.0 to 7.7.4 (#12469)
dependabot-preview[bot] [Wed, 27 Nov 2019 02:36:29 +0000 (11:36 +0900)]
Bump @babel/plugin-syntax-dynamic-import from 7.2.0 to 7.7.4 (#12469)

Bumps [@babel/plugin-syntax-dynamic-import](https://github.com/babel/babel) from 7.2.0 to 7.7.4.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.2.0...v7.7.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoBump @babel/runtime from 7.7.2 to 7.7.4 (#12472)
dependabot-preview[bot] [Wed, 27 Nov 2019 02:36:09 +0000 (11:36 +0900)]
Bump @babel/runtime from 7.7.2 to 7.7.4 (#12472)

Bumps [@babel/runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-runtime) from 7.7.2 to 7.7.4.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.7.4/packages/babel-runtime)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoBump @babel/plugin-transform-runtime from 7.5.5 to 7.7.4 (#12473)
dependabot-preview[bot] [Wed, 27 Nov 2019 02:35:39 +0000 (11:35 +0900)]
Bump @babel/plugin-transform-runtime from 7.5.5 to 7.7.4 (#12473)

Bumps [@babel/plugin-transform-runtime](https://github.com/babel/babel) from 7.5.5 to 7.7.4.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.5.5...v7.7.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoBump pghero from 2.3.0 to 2.4.1 (#12478)
dependabot-preview[bot] [Wed, 27 Nov 2019 00:03:02 +0000 (09:03 +0900)]
Bump pghero from 2.3.0 to 2.4.1 (#12478)

Bumps [pghero](https://github.com/ankane/pghero) from 2.3.0 to 2.4.1.
- [Release notes](https://github.com/ankane/pghero/releases)
- [Changelog](https://github.com/ankane/pghero/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ankane/pghero/compare/v2.3.0...v2.4.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoFix empty poll options not being filtered on remote poll update (#12484)
ThibG [Tue, 26 Nov 2019 21:46:31 +0000 (22:46 +0100)]
Fix empty poll options not being filtered on remote poll update (#12484)

If a poll contains empty options (which is apparently possible on Pleroma),
it is created without them. However, the poll update code doesn't filter
empty options, and thus:
1. Clear known votes, as it assumes the set of options has changed
2. Errors out because it tries adding empty options, which fails validation

This commit fixes that by filtering them out the same way they are filtered
out at poll creation time.

6 years agoFix OCR with delete & redraft (#12465)
ThibG [Mon, 25 Nov 2019 00:42:51 +0000 (01:42 +0100)]
Fix OCR with delete & redraft (#12465)

6 years agoRevert "Bump tesseract.js from 2.0.0-alpha.16 to 2.0.0-beta.2 (#12311)" (#12454)
ThibG [Sun, 24 Nov 2019 03:16:41 +0000 (04:16 +0100)]
Revert "Bump tesseract.js from 2.0.0-alpha.16 to 2.0.0-beta.2 (#12311)" (#12454)

This reverts commit 0c204426050071c7f0e1205f1526b091e8408d5a.

6 years agoMerge pull request #1247 from ThibG/glitch-soc/merge-upstream
ThibG [Sat, 23 Nov 2019 23:36:35 +0000 (00:36 +0100)]
Merge pull request #1247 from ThibG/glitch-soc/merge-upstream

Merge upstream changes

6 years ago[Glitch] Fix blur behind closed registration message
ThibG [Fri, 22 Nov 2019 14:56:59 +0000 (15:56 +0100)]
[Glitch] Fix blur behind closed registration message

Port SCSS changes from 42b3b019e01ee0c290a510483a2400e85cc250f1 to glitch flavour

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
6 years ago[Glitch] Change media description label to be context-sensitive
ThibG [Thu, 21 Nov 2019 10:39:07 +0000 (11:39 +0100)]
[Glitch] Change media description label to be context-sensitive

Port e86234b1e90975de6e507a86549f0eb4600c723b to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
6 years agoMerge branch 'master' into glitch-soc/merge-upstream
Thibaut Girka [Sat, 23 Nov 2019 18:03:01 +0000 (19:03 +0100)]
Merge branch 'master' into glitch-soc/merge-upstream

6 years agoFix an eslint warning (#12426)
Dimitri Merejkowsky [Fri, 22 Nov 2019 14:57:22 +0000 (15:57 +0100)]
Fix an eslint warning (#12426)

6 years agoFix blur behind closed registration message (#12442)
ThibG [Fri, 22 Nov 2019 14:56:59 +0000 (15:56 +0100)]
Fix blur behind closed registration message (#12442)

* Fix closed registration message blur

* Adjust overlay margins to account for blur

Fixes #12425

6 years agoFix OEmbed discovery not handling different URL variants in query (#12439)
Eugen Rochko [Thu, 21 Nov 2019 18:03:07 +0000 (19:03 +0100)]
Fix OEmbed discovery not handling different URL variants in query (#12439)

Fix #12433

6 years agoSimplify SQL query when performing account search amongst followings (#12302)
ThibG [Thu, 21 Nov 2019 16:35:04 +0000 (17:35 +0100)]
Simplify SQL query when performing account search amongst followings (#12302)

6 years agoFix FetchLinkCardServices crashing on a tags without a target (#12159)
ThibG [Thu, 21 Nov 2019 15:04:52 +0000 (16:04 +0100)]
Fix FetchLinkCardServices crashing on a tags without a target (#12159)

* Add test for links without targets

* Fix FetchLinkCardServices crashing on a tags without a target

6 years agoChange media description label to be context-sensitive (#12270)
ThibG [Thu, 21 Nov 2019 10:39:07 +0000 (11:39 +0100)]
Change media description label to be context-sensitive (#12270)

“Describe for the visually impaired” makes no sense when the uploaded media
is an audio file.

6 years agoChange domain block behavior to update user records before deleting data (#12247)
ThibG [Thu, 21 Nov 2019 10:36:16 +0000 (11:36 +0100)]
Change domain block behavior to update user records before deleting data (#12247)

When suspending or silencing a domain, one probably wants the silence or
suspend parts to take effect as soon as possible. Deleting media files can
take a while (possibly days), so perform silencing as soon as possible, and
clean up media afterwards.

6 years agoFix whitelist federation for subdomains (#12435)
noiob [Thu, 21 Nov 2019 10:35:39 +0000 (11:35 +0100)]
Fix whitelist federation for subdomains (#12435)

6 years agoMerge pull request #1246 from ThibG/glitch-soc/merge-upstream
ThibG [Thu, 21 Nov 2019 09:01:26 +0000 (10:01 +0100)]
Merge pull request #1246 from ThibG/glitch-soc/merge-upstream

Merge upstream changes