]> cat aescling's git repositories - mastodon.git/log
mastodon.git
6 years agoAdd setting to disable the anti-spam (#11296)
ThibG [Wed, 17 Jul 2019 19:09:15 +0000 (21:09 +0200)]
Add setting to disable the anti-spam (#11296)

* Add environment variable to disable the anti-spam

* Move antispam setting to admin settings

* Fix typo

* antispam → spam_check

6 years agoChange terms and privacy policy pages to always be accessible (#11334)
Eugen Rochko [Wed, 17 Jul 2019 17:29:37 +0000 (19:29 +0200)]
Change terms and privacy policy pages to always be accessible (#11334)

Fix #11328

6 years agoFix custom CSS controller (#11336)
ThibG [Wed, 17 Jul 2019 15:14:25 +0000 (17:14 +0200)]
Fix custom CSS controller (#11336)

6 years agoExtend AUTHORIZED_FETCH mode to user blocks as well (#11332)
ThibG [Tue, 16 Jul 2019 23:53:37 +0000 (01:53 +0200)]
Extend AUTHORIZED_FETCH mode to user blocks as well (#11332)

* Extend AUTHORIZED_FETCH mode to user blocks as well

* Move decision to deny access to StatusPolicy

6 years agoFix caching headers in ActivityPub endpoints (#11331)
ThibG [Tue, 16 Jul 2019 22:00:39 +0000 (00:00 +0200)]
Fix caching headers in ActivityPub endpoints (#11331)

* Fix reverse-proxy caching in public fetch mode

* Fix caching in ActivityPub-specific controllers

6 years agoRemove unused Account#magic_key (#11327)
ThibG [Tue, 16 Jul 2019 12:25:56 +0000 (14:25 +0200)]
Remove unused Account#magic_key (#11327)

6 years agoMake puma bind address configurable with BIND env var (#11326)
Daigo 3 Dango [Tue, 16 Jul 2019 04:51:36 +0000 (18:51 -1000)]
Make puma bind address configurable with BIND env var (#11326)

6 years agoAdd option to disable real-time updates in web UI (#9984)
Eugen Rochko [Tue, 16 Jul 2019 04:30:47 +0000 (06:30 +0200)]
Add option to disable real-time updates in web UI (#9984)

Fix #9031
Fix #7913

6 years agoBump eslint-plugin-jsx-a11y from 6.2.1 to 6.2.3 (#11314)
dependabot-preview[bot] [Mon, 15 Jul 2019 16:24:26 +0000 (01:24 +0900)]
Bump eslint-plugin-jsx-a11y from 6.2.1 to 6.2.3 (#11314)

Bumps [eslint-plugin-jsx-a11y](https://github.com/evcohen/eslint-plugin-jsx-a11y) from 6.2.1 to 6.2.3.
- [Release notes](https://github.com/evcohen/eslint-plugin-jsx-a11y/releases)
- [Changelog](https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/CHANGELOG.md)
- [Commits](https://github.com/evcohen/eslint-plugin-jsx-a11y/compare/v6.2.1...v6.2.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoBump webpack from 4.34.0 to 4.35.3 (#11309)
dependabot-preview[bot] [Mon, 15 Jul 2019 16:13:58 +0000 (01:13 +0900)]
Bump webpack from 4.34.0 to 4.35.3 (#11309)

Bumps [webpack](https://github.com/webpack/webpack) from 4.34.0 to 4.35.3.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.34.0...v4.35.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoBump lodash from 4.17.13 to 4.17.14 (#11312)
dependabot-preview[bot] [Mon, 15 Jul 2019 16:06:30 +0000 (01:06 +0900)]
Bump lodash from 4.17.13 to 4.17.14 (#11312)

Bumps [lodash](https://github.com/lodash/lodash) from 4.17.13 to 4.17.14.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.13...4.17.14)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoBump @babel/runtime from 7.4.5 to 7.5.4 (#11315)
dependabot-preview[bot] [Mon, 15 Jul 2019 16:04:46 +0000 (01:04 +0900)]
Bump @babel/runtime from 7.4.5 to 7.5.4 (#11315)

Bumps [@babel/runtime](https://github.com/babel/babel) from 7.4.5 to 7.5.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.4.5...v7.5.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoBump eslint-plugin-import from 2.17.3 to 2.18.0 (#11310)
dependabot-preview[bot] [Mon, 15 Jul 2019 15:52:23 +0000 (00:52 +0900)]
Bump eslint-plugin-import from 2.17.3 to 2.18.0 (#11310)

Bumps [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import) from 2.17.3 to 2.18.0.
- [Release notes](https://github.com/benmosher/eslint-plugin-import/releases)
- [Changelog](https://github.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md)
- [Commits](https://github.com/benmosher/eslint-plugin-import/compare/v2.17.3...v2.18.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoFix consistent interpolations (#11317)
Yamagishi Kazutoshi [Mon, 15 Jul 2019 14:10:24 +0000 (23:10 +0900)]
Fix consistent interpolations (#11317)

6 years agoAdd periodic removal of older thumbnails for preview cards (#11304)
Eugen Rochko [Mon, 15 Jul 2019 05:50:14 +0000 (07:50 +0200)]
Add periodic removal of older thumbnails for preview cards (#11304)

6 years agoNew Crowdin translations (#11153)
Eugen Rochko [Mon, 15 Jul 2019 04:12:05 +0000 (06:12 +0200)]
New Crowdin translations (#11153)

* New translations activerecord.en.yml (Indonesian)
[ci skip]

* New translations activerecord.en.yml (Italian)
[ci skip]

* New translations simple_form.en.yml (Persian)
[ci skip]

* New translations simple_form.en.yml (Norwegian)
[ci skip]

* New translations en.yml (Russian)
[ci skip]

* New translations simple_form.en.yml (Finnish)
[ci skip]

* New translations en.yml (Serbian (Cyrillic))
[ci skip]

* New translations en.yml (Serbian (Latin))
[ci skip]

* New translations en.yml (Spanish)
[ci skip]

* New translations en.yml (Swedish)
[ci skip]

* New translations en.yml (Tamil)
[ci skip]

* New translations en.yml (Telugu)
[ci skip]

* New translations en.yml (Thai)
[ci skip]

* New translations en.yml (Turkish)
[ci skip]

* New translations en.yml (Ukrainian)
[ci skip]

* New translations en.yml (Welsh)
[ci skip]

* New translations simple_form.en.yml (Dutch)
[ci skip]

* New translations simple_form.en.yml (Esperanto)
[ci skip]

* New translations simple_form.en.yml (French)
[ci skip]

* New translations simple_form.en.yml (Galician)
[ci skip]

* New translations simple_form.en.yml (Georgian)
[ci skip]

* New translations simple_form.en.yml (German)
[ci skip]

* New translations simple_form.en.yml (Greek)
[ci skip]

* New translations simple_form.en.yml (Hebrew)
[ci skip]

* New translations simple_form.en.yml (Hungarian)
[ci skip]

* New translations simple_form.en.yml (Ido)
[ci skip]

* New translations simple_form.en.yml (Indonesian)
[ci skip]

* New translations simple_form.en.yml (Italian)
[ci skip]

* New translations simple_form.en.yml (Korean)
[ci skip]

* New translations doorkeeper.en.yml (Welsh)
[ci skip]

* New translations simple_form.en.yml (Occitan)
[ci skip]

* New translations en.yml (Occitan)
[ci skip]

* New translations en.yml (Occitan)
[ci skip]

* New translations simple_form.en.yml (Japanese)
[ci skip]

* New translations simple_form.en.yml (Japanese)
[ci skip]

* New translations simple_form.en.yml (Japanese)
[ci skip]

* New translations simple_form.en.yml (Japanese)
[ci skip]

* New translations simple_form.en.yml (Japanese)
[ci skip]

* New translations en.json (Italian)
[ci skip]

* New translations simple_form.en.yml (Greek)
[ci skip]

* New translations simple_form.en.yml (Czech)
[ci skip]

* New translations simple_form.en.yml (Basque)
[ci skip]

* New translations en.yml (Thai)
[ci skip]

* New translations simple_form.en.yml (German)
[ci skip]

* New translations en.yml (Polish)
[ci skip]

* New translations simple_form.en.yml (Polish)
[ci skip]

* New translations en.yml (Chinese Simplified)
[ci skip]

* New translations en.yml (Chinese Simplified)
[ci skip]

* New translations doorkeeper.en.yml (Chinese Simplified)
[ci skip]

* New translations simple_form.en.yml (Japanese)
[ci skip]

* New translations simple_form.en.yml (Thai)
[ci skip]

* New translations en.json (Thai)
[ci skip]

* New translations simple_form.en.yml (Slovak)
[ci skip]

* New translations simple_form.en.yml (Corsican)
[ci skip]

* New translations simple_form.en.yml (Corsican)
[ci skip]

* New translations simple_form.en.yml (Chinese Simplified)
[ci skip]

* New translations en.json (Chinese Simplified)
[ci skip]

* New translations en.yml (Chinese Simplified)
[ci skip]

* New translations simple_form.en.yml (Chinese Simplified)
[ci skip]

* New translations en.json (Chinese Simplified)
[ci skip]

* New translations en.json (Chinese Simplified)
[ci skip]

* New translations en.json (Chinese Simplified)
[ci skip]

* New translations en.json (Chinese Simplified)
[ci skip]

* New translations en.yml (Chinese Simplified)
[ci skip]

* New translations en.json (Chinese Simplified)
[ci skip]

* New translations en.json (Chinese Simplified)
[ci skip]

* New translations en.yml (Chinese Simplified)
[ci skip]

* New translations simple_form.en.yml (Chinese Simplified)
[ci skip]

* New translations en.json (Chinese Simplified)
[ci skip]

* New translations en.yml (Slovenian)
[ci skip]

* New translations en.yml (Slovenian)
[ci skip]

* New translations en.yml (Slovenian)
[ci skip]

* New translations en.yml (Slovenian)
[ci skip]

* New translations en.yml (Slovenian)
[ci skip]

* New translations en.yml (Slovenian)
[ci skip]

* New translations en.json (Chinese Simplified)
[ci skip]

* New translations en.yml (Chinese Simplified)
[ci skip]

* New translations simple_form.en.yml (Chinese Simplified)
[ci skip]

* New translations simple_form.en.yml (Galician)
[ci skip]

* New translations en.json (Galician)
[ci skip]

* New translations en.json (Chinese Simplified)
[ci skip]

* New translations en.yml (Chinese Simplified)
[ci skip]

* New translations en.json (Chinese Simplified)
[ci skip]

* New translations en.yml (Chinese Simplified)
[ci skip]

* New translations en.yml (Occitan)
[ci skip]

* New translations en.json (Portuguese, Brazilian)
[ci skip]

* New translations en.json (Portuguese, Brazilian)
[ci skip]

* New translations en.json (Spanish)
[ci skip]

* New translations en.json (Spanish)
[ci skip]

* New translations en.json (Spanish)
[ci skip]

* New translations en.json (Spanish)
[ci skip]

* New translations en.yml (Occitan)
[ci skip]

* New translations doorkeeper.en.yml (Welsh)
[ci skip]

* New translations en.json (Spanish)
[ci skip]

* New translations en.json (Spanish)
[ci skip]

* New translations simple_form.en.yml (Welsh)
[ci skip]

* New translations activerecord.en.yml (Welsh)
[ci skip]

* New translations en.yml (Slovak)
[ci skip]

* New translations en.yml (Chinese Simplified)
[ci skip]

* New translations en.json (Chinese Simplified)
[ci skip]

* New translations en.yml (Chinese Simplified)
[ci skip]

* New translations en.yml (Occitan)
[ci skip]

* New translations en.yml (Occitan)
[ci skip]

* New translations en.yml (Albanian)
[ci skip]

* New translations activerecord.en.yml (Serbian (Latin))
[ci skip]

* New translations doorkeeper.en.yml (Serbian (Latin))
[ci skip]

* New translations devise.en.yml (Serbian (Latin))
[ci skip]

* New translations en.yml (Arabic)
[ci skip]

* New translations en.yml (Basque)
[ci skip]

* New translations en.yml (Esperanto)
[ci skip]

* New translations en.yml (Hebrew)
[ci skip]

* New translations en.yml (Greek)
[ci skip]

* New translations en.yml (German)
[ci skip]

* New translations en.yml (Georgian)
[ci skip]

* New translations en.yml (Galician)
[ci skip]

* New translations en.yml (French)
[ci skip]

* New translations en.yml (Finnish)
[ci skip]

* New translations en.yml (Dutch)
[ci skip]

* New translations en.yml (Danish)
[ci skip]

* New translations en.yml (Corsican)
[ci skip]

* New translations en.yml (Chinese Traditional, Hong Kong)
[ci skip]

* New translations en.yml (Chinese Traditional)
[ci skip]

* New translations en.yml (Chinese Simplified)
[ci skip]

* New translations en.yml (Catalan)
[ci skip]

* New translations en.yml (Hungarian)
[ci skip]

* New translations en.yml (Indonesian)
[ci skip]

* New translations en.yml (Czech)
[ci skip]

* New translations simple_form.en.yml (Serbian (Latin))
[ci skip]

* New translations en.yml (Italian)
[ci skip]

* New translations en.yml (Persian)
[ci skip]

* New translations en.yml (Serbian (Latin))
[ci skip]

* New translations en.yml (Serbian (Cyrillic))
[ci skip]

* New translations en.yml (Russian)
[ci skip]

* New translations en.yml (Portuguese, Brazilian)
[ci skip]

* New translations en.yml (Portuguese)
[ci skip]

* New translations en.yml (Polish)
[ci skip]

* New translations en.yml (Occitan)
[ci skip]

* New translations en.yml (Slovenian)
[ci skip]

* New translations en.yml (Norwegian)
[ci skip]

* New translations en.yml (Lithuanian)
[ci skip]

* New translations en.yml (Korean)
[ci skip]

* New translations en.yml (Kazakh)
[ci skip]

* New translations en.yml (Japanese)
[ci skip]

* New translations en.yml (Slovak)
[ci skip]

* New translations en.yml (Spanish)
[ci skip]

* New translations en.yml (Swedish)
[ci skip]

* New translations en.yml (Welsh)
[ci skip]

* New translations en.yml (Ukrainian)
[ci skip]

* New translations en.yml (Turkish)
[ci skip]

* New translations en.yml (Thai)
[ci skip]

* New translations en.json (Chinese Simplified)
[ci skip]

* New translations devise.en.yml (Chinese Simplified)
[ci skip]

* New translations en.json (Russian)
[ci skip]

* New translations en.json (Russian)
[ci skip]

* New translations en.json (Russian)
[ci skip]

* New translations en.json (Russian)
[ci skip]

* New translations en.json (Russian)
[ci skip]

* New translations en.yml (Basque)
[ci skip]

* New translations simple_form.en.yml (Basque)
[ci skip]

* New translations en.yml (Basque)
[ci skip]

* New translations doorkeeper.en.yml (Basque)
[ci skip]

* New translations en.json (Korean)
[ci skip]

* New translations doorkeeper.en.yml (Slovak)
[ci skip]

* New translations en.yml (Finnish)
[ci skip]

* New translations en.yml (Esperanto)
[ci skip]

* New translations en.yml (Dutch)
[ci skip]

* New translations en.yml (Danish)
[ci skip]

* New translations en.yml (Corsican)
[ci skip]

* New translations en.yml (Chinese Traditional, Hong Kong)
[ci skip]

* New translations en.yml (Chinese Simplified)
[ci skip]

* New translations en.yml (Catalan)
[ci skip]

* New translations en.yml (Chinese Traditional)
[ci skip]

* New translations en.yml (Basque)
[ci skip]

* New translations en.yml (Asturian)
[ci skip]

* New translations en.yml (Arabic)
[ci skip]

* New translations en.yml (Albanian)
[ci skip]

* New translations en.yml (Czech)
[ci skip]

* New translations en.yml (French)
[ci skip]

* New translations en.yml (Galician)
[ci skip]

* New translations en.yml (Georgian)
[ci skip]

* New translations en.yml (German)
[ci skip]

* New translations en.yml (Greek)
[ci skip]

* New translations en.yml (Hungarian)
[ci skip]

* New translations en.yml (Italian)
[ci skip]

* New translations en.yml (Japanese)
[ci skip]

* New translations en.yml (Kazakh)
[ci skip]

* New translations en.yml (Korean)
[ci skip]

* New translations en.yml (Lithuanian)
[ci skip]

* New translations en.yml (Occitan)
[ci skip]

* New translations en.yml (Persian)
[ci skip]

* New translations en.yml (Polish)
[ci skip]

* New translations en.yml (Portuguese)
[ci skip]

* New translations en.yml (Portuguese, Brazilian)
[ci skip]

* New translations en.yml (Serbian (Cyrillic))
[ci skip]

* New translations en.yml (Russian)
[ci skip]

* New translations en.yml (Slovak)
[ci skip]

* New translations en.yml (Spanish)
[ci skip]

* New translations en.yml (Swedish)
[ci skip]

* New translations en.yml (Thai)
[ci skip]

* New translations en.yml (Ukrainian)
[ci skip]

* New translations en.yml (Welsh)
[ci skip]

* New translations en.yml (Russian)
[ci skip]

* New translations simple_form.en.yml (Russian)
[ci skip]

* New translations simple_form.en.yml (Russian)
[ci skip]

* New translations en.json (Thai)
[ci skip]

* New translations en.json (Thai)
[ci skip]

* New translations simple_form.en.yml (Thai)
[ci skip]

* New translations simple_form.en.yml (Thai)
[ci skip]

* New translations en.json (Spanish)
[ci skip]

* New translations en.yml (Spanish)
[ci skip]

* New translations en.yml (Spanish)
[ci skip]

* New translations en.yml (Spanish)
[ci skip]

* New translations en.yml (Spanish)
[ci skip]

* New translations en.yml (Spanish)
[ci skip]

* New translations doorkeeper.en.yml (Spanish)
[ci skip]

* New translations doorkeeper.en.yml (Spanish)
[ci skip]

* New translations en.json (Spanish)
[ci skip]

* New translations en.yml (Spanish)
[ci skip]

* New translations en.yml (Spanish)
[ci skip]

* New translations simple_form.en.yml (Spanish)
[ci skip]

* New translations simple_form.en.yml (Spanish)
[ci skip]

* New translations simple_form.en.yml (Spanish)
[ci skip]

* New translations doorkeeper.en.yml (Spanish)
[ci skip]

* New translations en.json (Slovak)
[ci skip]

* New translations devise.en.yml (Slovak)
[ci skip]

* New translations doorkeeper.en.yml (Slovak)
[ci skip]

* New translations en.json (Chinese Simplified)
[ci skip]

* New translations en.json (Chinese Simplified)
[ci skip]

* New translations en.yml (Slovak)
[ci skip]

* New translations simple_form.en.yml (Japanese)
[ci skip]

* New translations en.json (Bengali)
[ci skip]

* New translations en.json (Bengali)
[ci skip]

* New translations en.json (Bengali)
[ci skip]

* New translations en.json (Bengali)
[ci skip]

* New translations en.json (Bengali)
[ci skip]

* New translations en.json (Bengali)
[ci skip]

* New translations en.json (Bengali)
[ci skip]

* New translations en.json (Bengali)
[ci skip]

* New translations en.json (Bengali)
[ci skip]

* New translations en.json (Bengali)
[ci skip]

* New translations en.json (Bengali)
[ci skip]

* New translations activerecord.en.yml (Bengali)
[ci skip]

* New translations devise.en.yml (Bengali)
[ci skip]

* New translations devise.en.yml (Bengali)
[ci skip]

* New translations devise.en.yml (Bengali)
[ci skip]

* New translations devise.en.yml (Bengali)
[ci skip]

* New translations devise.en.yml (Bengali)
[ci skip]

* New translations devise.en.yml (Bengali)
[ci skip]

* i18n-tasks normalize

* yarn manage:translations

6 years agoChange default interface of web and streaming from 0.0.0.0 to 127.0.0.1 (#11302)
Eugen Rochko [Mon, 15 Jul 2019 03:56:35 +0000 (05:56 +0200)]
Change default interface of web and streaming from 0.0.0.0 to 127.0.0.1 (#11302)

6 years agoDisable LDSigning when AUTHORIZED_FETCH is set to true (#11295)
ThibG [Mon, 15 Jul 2019 00:29:39 +0000 (02:29 +0200)]
Disable LDSigning when AUTHORIZED_FETCH is set to true (#11295)

6 years agoFix leaking private statuses the admin account follows (#11300)
ThibG [Mon, 15 Jul 2019 00:29:04 +0000 (02:29 +0200)]
Fix leaking private statuses the admin account follows (#11300)

Now that the request is signed, it can return private toots. Do not leak them.

6 years agoBump handlebars from 4.1.0 to 4.1.2 (#11293)
PatOnTheBack [Sun, 14 Jul 2019 05:05:11 +0000 (01:05 -0400)]
Bump handlebars from 4.1.0 to 4.1.2 (#11293)

Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.1.0 to 4.1.2.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.1.0...v4.1.2)

Signed-off-by: dependabot[bot] <support@github.com>
6 years agoBump rubocop-rails from 2.0.1 to 2.2.0 (#11257)
dependabot-preview[bot] [Sat, 13 Jul 2019 14:52:08 +0000 (23:52 +0900)]
Bump rubocop-rails from 2.0.1 to 2.2.0 (#11257)

Bumps [rubocop-rails](https://github.com/rubocop-hq/rubocop-rails) from 2.0.1 to 2.2.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.0.1...v2.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoAdd a spam check (#11217)
Eugen Rochko [Sat, 13 Jul 2019 14:45:50 +0000 (16:45 +0200)]
Add a spam check (#11217)

* Add a spam check

* Use Nilsimsa to generate locality-sensitive hashes and compare using Levenshtein distance

* Add more tests

* Add exemption when the message is a reply to something that mentions the sender

* Use Nilsimsa Compare Value instead of Levenshtein distance

* Use MD5 for messages shorter than 10 characters

* Add message to automated report, do not add non-public statuses to
automated report, add trust level to accounts and make unsilencing
raise the trust level to prevent repeated spam checks on that account

* Expire spam check data after 3 months

* Add support for local statuses, reduce expiration to 1 week, always create a report

* Add content warnings to the spam check and exempt empty statuses

* Change Nilsimsa threshold to 95 and make sure removed statuses are removed from the spam check

* Add all matched statuses into automatic report

6 years agoChange the retry limit in error of web push notification (#11292)
han@highemelry [Fri, 12 Jul 2019 16:46:21 +0000 (01:46 +0900)]
Change the retry limit in error of web push notification (#11292)

- Change the maximum count of retry for web push notification (Default -> 5).
   - In case of high load of subscribe server, the retries will be repeated many times.
   - Because the retries occupy the default queue, maximum retry count should be reduced.

6 years agoAdd ActivityPub secure mode (#11269)
Eugen Rochko [Thu, 11 Jul 2019 18:11:09 +0000 (20:11 +0200)]
Add ActivityPub secure mode (#11269)

* Add HTTP signature requirement for served ActivityPub resources

* Change `SECURE_MODE` to `AUTHORIZED_FETCH`

* Add 'Signature' to 'Vary' header and improve code style

* Improve code style by adding `public_fetch_mode?` method

6 years agoFix BlockService trying to reject incorrect follow request (#11288)
ThibG [Thu, 11 Jul 2019 12:50:27 +0000 (14:50 +0200)]
Fix BlockService trying to reject incorrect follow request (#11288)

Fixes #11148

6 years agoAdd HTTP signatures to all outgoing ActivityPub GET requests (#11284)
Eugen Rochko [Thu, 11 Jul 2019 12:49:55 +0000 (14:49 +0200)]
Add HTTP signatures to all outgoing ActivityPub GET requests (#11284)

6 years ago[Security] Bump lodash from 4.17.11 to 4.17.13 (#11287)
dependabot-preview[bot] [Thu, 11 Jul 2019 04:33:07 +0000 (06:33 +0200)]
[Security] Bump lodash from 4.17.11 to 4.17.13 (#11287)

Bumps [lodash](https://github.com/lodash/lodash) from 4.17.11 to 4.17.13. **This update includes security fixes.**
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.11...4.17.13)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoRefactor fetching of remote resources (#11251)
Eugen Rochko [Wed, 10 Jul 2019 16:59:28 +0000 (18:59 +0200)]
Refactor fetching of remote resources (#11251)

6 years agoDrop magic-public-key from webfinger replies as it's only used for OStatus (#11280)
ThibG [Wed, 10 Jul 2019 15:10:43 +0000 (17:10 +0200)]
Drop magic-public-key from webfinger replies as it's only used for OStatus (#11280)

6 years agoFix handling of webfinger redirects in ResolveAccountService (#11279)
ThibG [Wed, 10 Jul 2019 15:10:12 +0000 (17:10 +0200)]
Fix handling of webfinger redirects in ResolveAccountService (#11279)

6 years agoFix old migration script depending on the StreamEntry model (#11278)
ThibG [Wed, 10 Jul 2019 15:09:10 +0000 (17:09 +0200)]
Fix old migration script depending on the StreamEntry model (#11278)

6 years agoFix activity being rendered within activity due to caching (#11271)
Eugen Rochko [Tue, 9 Jul 2019 22:43:30 +0000 (00:43 +0200)]
Fix activity being rendered within activity due to caching (#11271)

Fix #11270

6 years agoRefactor domain block checks (#11268)
Eugen Rochko [Tue, 9 Jul 2019 01:27:35 +0000 (03:27 +0200)]
Refactor domain block checks (#11268)

6 years agoFix Status.remote scope matching *all* statuses (#11265)
ThibG [Mon, 8 Jul 2019 16:17:22 +0000 (18:17 +0200)]
Fix Status.remote scope matching *all* statuses (#11265)

6 years agoRemove unused remote unfollow controller (#11250)
Eugen Rochko [Mon, 8 Jul 2019 10:04:06 +0000 (12:04 +0200)]
Remove unused remote unfollow controller (#11250)

6 years agoRefactor controllers for statuses, accounts, and more (#11249)
Eugen Rochko [Mon, 8 Jul 2019 10:03:45 +0000 (12:03 +0200)]
Refactor controllers for statuses, accounts, and more (#11249)

6 years agoBump faker from 1.9.3 to 1.9.6 (#11259)
dependabot-preview[bot] [Mon, 8 Jul 2019 09:29:00 +0000 (18:29 +0900)]
Bump faker from 1.9.3 to 1.9.6 (#11259)

Bumps [faker](https://github.com/stympy/faker) from 1.9.3 to 1.9.6.
- [Release notes](https://github.com/stympy/faker/releases)
- [Changelog](https://github.com/stympy/faker/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stympy/faker/compare/v1.9.3...1.9.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoBump simplecov from 0.16.1 to 0.17.0 (#11260)
dependabot-preview[bot] [Mon, 8 Jul 2019 09:28:33 +0000 (18:28 +0900)]
Bump simplecov from 0.16.1 to 0.17.0 (#11260)

Bumps [simplecov](https://github.com/colszowka/simplecov) from 0.16.1 to 0.17.0.
- [Release notes](https://github.com/colszowka/simplecov/releases)
- [Changelog](https://github.com/colszowka/simplecov/blob/master/CHANGELOG.md)
- [Commits](https://github.com/colszowka/simplecov/compare/v0.16.1...v0.17.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoBump aws-sdk-s3 from 1.43.0 to 1.45.0 (#11262)
dependabot-preview[bot] [Mon, 8 Jul 2019 09:26:41 +0000 (18:26 +0900)]
Bump aws-sdk-s3 from 1.43.0 to 1.45.0 (#11262)

Bumps [aws-sdk-s3](https://github.com/aws/aws-sdk-ruby) from 1.43.0 to 1.45.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.43.0...v1.45.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoBump tzinfo-data from 1.2019.1 to 1.2019.2 (#11258)
dependabot-preview[bot] [Mon, 8 Jul 2019 09:26:12 +0000 (18:26 +0900)]
Bump tzinfo-data from 1.2019.1 to 1.2019.2 (#11258)

Bumps [tzinfo-data](https://github.com/tzinfo/tzinfo-data) from 1.2019.1 to 1.2019.2.
- [Release notes](https://github.com/tzinfo/tzinfo-data/releases)
- [Commits](https://github.com/tzinfo/tzinfo-data/compare/v1.2019.1...v1.2019.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoBump eslint-plugin-react from 7.12.1 to 7.14.2 (#11253)
dependabot-preview[bot] [Mon, 8 Jul 2019 09:25:20 +0000 (18:25 +0900)]
Bump eslint-plugin-react from 7.12.1 to 7.14.2 (#11253)

Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react) from 7.12.1 to 7.14.2.
- [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.12.1...v7.14.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoBump @babel/plugin-proposal-class-properties from 7.4.4 to 7.5.0 (#11254)
dependabot-preview[bot] [Mon, 8 Jul 2019 09:24:38 +0000 (18:24 +0900)]
Bump @babel/plugin-proposal-class-properties from 7.4.4 to 7.5.0 (#11254)

Bumps [@babel/plugin-proposal-class-properties](https://github.com/babel/babel) from 7.4.4 to 7.5.0.
- [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.4.4...v7.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoBump compression-webpack-plugin from 2.0.0 to 3.0.0 (#11224)
dependabot-preview[bot] [Mon, 8 Jul 2019 07:49:47 +0000 (16:49 +0900)]
Bump compression-webpack-plugin from 2.0.0 to 3.0.0 (#11224)

Bumps [compression-webpack-plugin](https://github.com/webpack-contrib/compression-webpack-plugin) from 2.0.0 to 3.0.0.
- [Release notes](https://github.com/webpack-contrib/compression-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/compression-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/compression-webpack-plugin/compare/v2.0.0...v3.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoBump intl-relativeformat from 2.2.0 to 6.4.2 (#11255)
dependabot-preview[bot] [Mon, 8 Jul 2019 07:49:26 +0000 (16:49 +0900)]
Bump intl-relativeformat from 2.2.0 to 6.4.2 (#11255)

Bumps [intl-relativeformat](https://github.com/formatjs/formatjs) from 2.2.0 to 6.4.2.
- [Release notes](https://github.com/formatjs/formatjs/releases)
- [Commits](https://github.com/formatjs/formatjs/compare/intl-relativeformat@2.2.0...intl-relativeformat@6.4.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoBump react-redux from 6.0.1 to 7.1.0 (#11256)
dependabot-preview[bot] [Mon, 8 Jul 2019 07:48:44 +0000 (16:48 +0900)]
Bump react-redux from 6.0.1 to 7.1.0 (#11256)

Bumps [react-redux](https://github.com/reduxjs/react-redux) from 6.0.1 to 7.1.0.
- [Release notes](https://github.com/reduxjs/react-redux/releases)
- [Changelog](https://github.com/reduxjs/react-redux/blob/master/CHANGELOG.md)
- [Commits](https://github.com/reduxjs/react-redux/compare/v6.0.1...v7.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoFix BackupService crashing when an attachment is missing (#11241)
ThibG [Mon, 8 Jul 2019 00:24:25 +0000 (02:24 +0200)]
Fix BackupService crashing when an attachment is missing (#11241)

* Fix BackupService crashing when an attachment is missing

For various reasons such as admin error or out-of-sync media and
database backups, it might be possible for local attachments to be lost.

This commit allows the BackupService to continue its work even if some media
file is missing.

* Change error message

6 years agoUpdate fuubar dependency to 2.4.1 (#11248)
Georg Gadinger [Sun, 7 Jul 2019 16:13:19 +0000 (18:13 +0200)]
Update fuubar dependency to 2.4.1 (#11248)

See also: thekompanee/fuubar#111

6 years agoRemove Atom feeds and old URLs in the form of `GET /:username/updates/:id` (#11247)
Eugen Rochko [Sun, 7 Jul 2019 14:16:51 +0000 (16:16 +0200)]
Remove Atom feeds and old URLs in the form of `GET /:username/updates/:id` (#11247)

6 years agoFix URLs appearing twice in errors of ActivityPub::DeliveryWorker (#11231)
Eugen Rochko [Sun, 7 Jul 2019 01:37:01 +0000 (03:37 +0200)]
Fix URLs appearing twice in errors of ActivityPub::DeliveryWorker (#11231)

6 years agoFix support for HTTP proxies (#11245)
ThibG [Sun, 7 Jul 2019 00:05:38 +0000 (02:05 +0200)]
Fix support for HTTP proxies (#11245)

* Disable incorrect check for hidden services in Socket

Hidden services can only be accessed with an HTTP proxy, in which
case the host seen by the Socket class will be the proxy, not the
target host.

Hidden services are already filtered in `Request#initialize`.

* Use our Socket class to connect to HTTP proxies

Avoid the timeout logic being bypassed

* Add support for IP addresses in Request::Socket

* Refactor a bit, no need to keep the DNS resolver around

6 years agoRemove Salmon and PubSubHubbub (#11205)
Eugen Rochko [Sat, 6 Jul 2019 21:26:16 +0000 (23:26 +0200)]
Remove Salmon and PubSubHubbub (#11205)

* Remove Salmon and PubSubHubbub endpoints

* Add error when trying to follow OStatus accounts

* Fix new accounts not being created in ResolveAccountService

6 years agoOnly scroll to the compose form if it's not horizontally in the viewport (#11246)
ThibG [Sat, 6 Jul 2019 16:18:08 +0000 (18:18 +0200)]
Only scroll to the compose form if it's not horizontally in the viewport (#11246)

Avoids jumping the scroll around vertically when giving it focus and
editing long toots.

6 years agoFix option to send e-mail notification about account action always being true (#11242)
Eugen Rochko [Sat, 6 Jul 2019 11:54:32 +0000 (13:54 +0200)]
Fix option to send e-mail notification about account action always being true (#11242)

6 years agoFix HTTP requests to IPv6 hosts (#11240)
ThibG [Fri, 5 Jul 2019 20:03:00 +0000 (22:03 +0200)]
Fix HTTP requests to IPv6 hosts (#11240)

6 years agoRemove deprecated REST API `GET /api/v1/statuses/:id/card` (#11213)
Eugen Rochko [Fri, 5 Jul 2019 00:15:24 +0000 (02:15 +0200)]
Remove deprecated REST API `GET /api/v1/statuses/:id/card` (#11213)

6 years agoRemove deprecated REST API `POST /api/v1/notifications/dismiss?id=:id` (#11214)
Eugen Rochko [Fri, 5 Jul 2019 00:15:13 +0000 (02:15 +0200)]
Remove deprecated REST API `POST /api/v1/notifications/dismiss?id=:id` (#11214)

6 years agoRemove deprecated REST API `GET /api/v1/timelines/direct` (#11212)
Eugen Rochko [Fri, 5 Jul 2019 00:14:56 +0000 (02:14 +0200)]
Remove deprecated REST API `GET /api/v1/timelines/direct` (#11212)

6 years agoMemoize ancestorIds and descendantIds in detailed status view (#11234)
ThibG [Tue, 2 Jul 2019 14:03:54 +0000 (16:03 +0200)]
Memoize ancestorIds and descendantIds in detailed status view (#11234)

6 years agoRemove unused StatsD code and expose StatsD as a global variable (#11232)
Eugen Rochko [Tue, 2 Jul 2019 09:34:39 +0000 (11:34 +0200)]
Remove unused StatsD code and expose StatsD as a global variable (#11232)

The instrumentation code was used for StatsD metrics collection
prior to the switch to the nsa gem and should have been removed
at that point as it no longer does anything at all

6 years agoFix statsd UDP sockets not being cleaned up in Sidekiq (#11230)
Eugen Rochko [Mon, 1 Jul 2019 23:01:17 +0000 (01:01 +0200)]
Fix statsd UDP sockets not being cleaned up in Sidekiq (#11230)

6 years agoChange ActivityPub::DeliveryWorker to not retry HTTP 501 errors (#11233)
Eugen Rochko [Mon, 1 Jul 2019 22:59:53 +0000 (00:59 +0200)]
Change ActivityPub::DeliveryWorker to not retry HTTP 501 errors (#11233)

6 years agoWhen deleting & redrafting a poll, fill in closest expires_in (#11203)
ThibG [Mon, 1 Jul 2019 22:36:16 +0000 (00:36 +0200)]
When deleting & redrafting a poll, fill in closest expires_in (#11203)

Use the smallest preset expires_in such that the new poll would
not expire before the old one.

In the typical case of a quick delete & redraft, this results in
using the same poll duration.

Fixes #10567

6 years agoAdd request pool to improve delivery performance (#10353)
Eugen Rochko [Mon, 1 Jul 2019 22:34:38 +0000 (00:34 +0200)]
Add request pool to improve delivery performance (#10353)

* Add request pool to improve delivery performance

Fix #7909

* Ensure connection is closed when exception interrupts execution

* Remove Timeout#timeout from socket connection

* Fix infinite retrial loop on HTTP::ConnectionError

* Close sockets on failure, reduce idle time to 90 seconds

* Add MAX_REQUEST_POOL_SIZE option to limit concurrent connections to the same server

* Use a shared pool size, 512 by default, to stay below open file limit

* Add some tests

* Add more tests

* Reduce MAX_IDLE_TIME from 90 to 30 seconds, reap every 30 seconds

* Use a shared pool that returns preferred connection but re-purposes other ones when needed

* Fix wrong connection being returned on subsequent calls within the same thread

* Reduce mutex calls on flushes from 2 to 1 and add test for reaping

6 years agoChange domain block behaviour to prevent creation of accounts from suspended domains...
Eugen Rochko [Mon, 1 Jul 2019 17:13:30 +0000 (19:13 +0200)]
Change domain block behaviour to prevent creation of accounts from suspended domains (#11219)

6 years agoBump rubocop from 0.71.0 to 0.72.0 (#11229)
dependabot-preview[bot] [Mon, 1 Jul 2019 13:36:45 +0000 (22:36 +0900)]
Bump rubocop from 0.71.0 to 0.72.0 (#11229)

Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 0.71.0 to 0.72.0.
- [Release notes](https://github.com/rubocop-hq/rubocop/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop/compare/v0.71.0...v0.72.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoBump capybara from 3.24.0 to 3.25.0 (#11225)
dependabot-preview[bot] [Mon, 1 Jul 2019 13:34:51 +0000 (22:34 +0900)]
Bump capybara from 3.24.0 to 3.25.0 (#11225)

Bumps [capybara](https://github.com/teamcapybara/capybara) from 3.24.0 to 3.25.0.
- [Release notes](https://github.com/teamcapybara/capybara/releases)
- [Changelog](https://github.com/teamcapybara/capybara/blob/master/History.md)
- [Commits](https://github.com/teamcapybara/capybara/compare/3.24.0...3.25.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoBump memory_profiler from 0.9.13 to 0.9.14 (#11227)
dependabot-preview[bot] [Mon, 1 Jul 2019 13:34:25 +0000 (22:34 +0900)]
Bump memory_profiler from 0.9.13 to 0.9.14 (#11227)

Bumps [memory_profiler](https://github.com/SamSaffron/memory_profiler) from 0.9.13 to 0.9.14.
- [Release notes](https://github.com/SamSaffron/memory_profiler/releases)
- [Changelog](https://github.com/SamSaffron/memory_profiler/blob/master/CHANGELOG.md)
- [Commits](https://github.com/SamSaffron/memory_profiler/compare/v0.9.13...v0.9.14)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoBump bullet from 6.0.0 to 6.0.1 (#11228)
dependabot-preview[bot] [Mon, 1 Jul 2019 13:33:54 +0000 (22:33 +0900)]
Bump bullet from 6.0.0 to 6.0.1 (#11228)

Bumps [bullet](https://github.com/flyerhzm/bullet) from 6.0.0 to 6.0.1.
- [Release notes](https://github.com/flyerhzm/bullet/releases)
- [Changelog](https://github.com/flyerhzm/bullet/blob/master/CHANGELOG.md)
- [Commits](https://github.com/flyerhzm/bullet/compare/6.0.0...6.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoBump eslint-plugin-promise from 4.1.1 to 4.2.1 (#11223)
dependabot-preview[bot] [Mon, 1 Jul 2019 12:29:56 +0000 (21:29 +0900)]
Bump eslint-plugin-promise from 4.1.1 to 4.2.1 (#11223)

Bumps [eslint-plugin-promise](https://github.com/xjamundx/eslint-plugin-promise) from 4.1.1 to 4.2.1.
- [Release notes](https://github.com/xjamundx/eslint-plugin-promise/releases)
- [Changelog](https://github.com/xjamundx/eslint-plugin-promise/blob/master/CHANGELOG.md)
- [Commits](https://github.com/xjamundx/eslint-plugin-promise/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoBump webpack-cli from 3.3.4 to 3.3.5 (#11221)
dependabot-preview[bot] [Mon, 1 Jul 2019 12:23:40 +0000 (21:23 +0900)]
Bump webpack-cli from 3.3.4 to 3.3.5 (#11221)

Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 3.3.4 to 3.3.5.
- [Release notes](https://github.com/webpack/webpack-cli/releases)
- [Changelog](https://github.com/webpack/webpack-cli/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-cli/compare/v3.3.4...v3.3.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoFix expiration date of filters being set to “Never” when editing them (#11204)
ThibG [Sun, 30 Jun 2019 14:11:21 +0000 (16:11 +0200)]
Fix expiration date of filters being set to “Never” when editing them (#11204)

When editing a custom filter, select the shortest preset duration that
still covers the remaining time of that filter.

Fixes #9506

6 years agoFix support for MP4 files that are actually M4V files (#11210)
Eugen Rochko [Sun, 30 Jun 2019 14:10:43 +0000 (16:10 +0200)]
Fix support for MP4 files that are actually M4V files (#11210)

Resolve #11187

6 years agoOptimize makeGetStatus (#11211)
ThibG [Sat, 29 Jun 2019 22:12:38 +0000 (00:12 +0200)]
Optimize makeGetStatus (#11211)

* Optimize makeGetStatus

Because `ImmutableList.filter` always returns a new object and `createSelector`
memoizes based on object identity, the selector returned by `makeGetStatus`
would *always* execute.

To avoid that, we wrap `getFilters` into a new memoizer that memoizes based on
deep equality, thus returning the same object as long as the filters haven't
changed, allowing the memoization of `makeGetStatus` to work.

Furthermore, we memoize the compiled regexs instead of recomputing them each
time the selector is called.

* Fix memoized result being cleared too often

* Make notifications use memoized getFiltersRegex

6 years agoWhen sending a toot, ensure a CW is only set if the CW field is visible (#11206)
ThibG [Sat, 29 Jun 2019 16:32:36 +0000 (18:32 +0200)]
When sending a toot, ensure a CW is only set if the CW field is visible (#11206)

In some occasions, such as the browser or a browser extension auto-filling
the existing but disabled/hidden CW field, a CW can be set without the user
knowing.

6 years agoUse ScrollToOptions for smooth scrolling if supported (#11207)
ThibG [Sat, 29 Jun 2019 16:32:06 +0000 (18:32 +0200)]
Use ScrollToOptions for smooth scrolling if supported (#11207)

6 years agoDisplay FTS warning based on actual search term, not the one being typed (#11202)
ThibG [Fri, 28 Jun 2019 17:29:11 +0000 (19:29 +0200)]
Display FTS warning based on actual search term, not the one being typed (#11202)

Follow-up to #11112

6 years agoAdd categories for custom emojis (#11196)
Eugen Rochko [Fri, 28 Jun 2019 13:54:10 +0000 (15:54 +0200)]
Add categories for custom emojis (#11196)

Fix #7940

6 years agoFix swiping columns on mobile sometimes failing (#11200)
ThibG [Fri, 28 Jun 2019 11:52:15 +0000 (13:52 +0200)]
Fix swiping columns on mobile sometimes failing (#11200)

Fixes #9779

6 years agoAdd message telling FTS is disabled when no toot can be found because of this (#11112)
ThibG [Thu, 27 Jun 2019 19:12:26 +0000 (21:12 +0200)]
Add message telling FTS is disabled when no toot can be found because of this (#11112)

* Add message telling FTS is disabled when no toot can be found because of this

Fixes #11082

* Remove info icon and reword message

6 years agoFix account URI in UpdatePollSerializer (#11194)
ThibG [Thu, 27 Jun 2019 17:41:55 +0000 (19:41 +0200)]
Fix account URI in UpdatePollSerializer (#11194)

* Fix account URI in UpdatePollSerializer

Fixes #11185

* Add specs

6 years agoFix NameError (#11192)
mayaeh [Thu, 27 Jun 2019 07:16:55 +0000 (16:16 +0900)]
Fix NameError (#11192)

6 years agoAdd option to disable blurhash previews (#11188)
ThibG [Wed, 26 Jun 2019 17:33:04 +0000 (19:33 +0200)]
Add option to disable blurhash previews (#11188)

* Add option to disable blurhash previews

* Update option text

* Change options order

6 years agoAdd support for Audio activities (#11189)
ThibG [Wed, 26 Jun 2019 17:32:36 +0000 (19:32 +0200)]
Add support for Audio activities (#11189)

Fixes #11127

6 years agoScroll to compose form rather than reply indicator on focus (#11182)
ThibG [Wed, 26 Jun 2019 12:28:36 +0000 (14:28 +0200)]
Scroll to compose form rather than reply indicator on focus (#11182)

6 years agoRemoved extra pipes from regex. (#11181)
PatOnTheBack [Wed, 26 Jun 2019 00:16:24 +0000 (20:16 -0400)]
Removed extra pipes from regex. (#11181)

6 years agoBump stringz from 1.0.0 to 2.0.0 (#11168)
dependabot-preview[bot] [Tue, 25 Jun 2019 18:51:35 +0000 (20:51 +0200)]
Bump stringz from 1.0.0 to 2.0.0 (#11168)

Bumps [stringz](https://github.com/sallar/stringz) from 1.0.0 to 2.0.0.
- [Release notes](https://github.com/sallar/stringz/releases)
- [Changelog](https://github.com/sallar/stringz/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sallar/stringz/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoFix unnecessary SQL query performed on unauthenticated requests (#11179)
Eugen Rochko [Tue, 25 Jun 2019 18:18:15 +0000 (20:18 +0200)]
Fix unnecessary SQL query performed on unauthenticated requests (#11179)

6 years agoBump eslint from 5.11.1 to 5.16.0 (#11165)
dependabot-preview[bot] [Tue, 25 Jun 2019 13:51:57 +0000 (22:51 +0900)]
Bump eslint from 5.11.1 to 5.16.0 (#11165)

Bumps [eslint](https://github.com/eslint/eslint) from 5.11.1 to 5.16.0.
- [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/v5.11.1...v5.16.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoBump derailed_benchmarks from 1.3.5 to 1.3.6 (#11171)
dependabot-preview[bot] [Tue, 25 Jun 2019 13:49:44 +0000 (22:49 +0900)]
Bump derailed_benchmarks from 1.3.5 to 1.3.6 (#11171)

Bumps [derailed_benchmarks](https://github.com/schneems/derailed_benchmarks) from 1.3.5 to 1.3.6.
- [Release notes](https://github.com/schneems/derailed_benchmarks/releases)
- [Changelog](https://github.com/schneems/derailed_benchmarks/blob/master/CHANGELOG.md)
- [Commits](https://github.com/schneems/derailed_benchmarks/compare/v1.3.5...v1.3.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoBump aws-sdk-s3 from 1.42.0 to 1.43.0 (#11172)
dependabot-preview[bot] [Tue, 25 Jun 2019 13:45:32 +0000 (22:45 +0900)]
Bump aws-sdk-s3 from 1.42.0 to 1.43.0 (#11172)

Bumps [aws-sdk-s3](https://github.com/aws/aws-sdk-ruby) from 1.42.0 to 1.43.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.42.0...v1.43.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoBump parallel_tests from 2.29.0 to 2.29.1 (#11169)
dependabot-preview[bot] [Tue, 25 Jun 2019 13:39:35 +0000 (22:39 +0900)]
Bump parallel_tests from 2.29.0 to 2.29.1 (#11169)

Bumps [parallel_tests](https://github.com/grosser/parallel_tests) from 2.29.0 to 2.29.1.
- [Release notes](https://github.com/grosser/parallel_tests/releases)
- [Commits](https://github.com/grosser/parallel_tests/compare/v2.29.0...v2.29.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoBump dotenv-rails from 2.7.2 to 2.7.4 (#11170)
dependabot-preview[bot] [Tue, 25 Jun 2019 13:37:26 +0000 (22:37 +0900)]
Bump dotenv-rails from 2.7.2 to 2.7.4 (#11170)

Bumps [dotenv-rails](https://github.com/bkeepers/dotenv) from 2.7.2 to 2.7.4.
- [Release notes](https://github.com/bkeepers/dotenv/releases)
- [Changelog](https://github.com/bkeepers/dotenv/blob/master/Changelog.md)
- [Commits](https://github.com/bkeepers/dotenv/compare/v2.7.2...v2.7.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoBump mini-css-extract-plugin from 0.5.0 to 0.7.0 (#11167)
dependabot-preview[bot] [Tue, 25 Jun 2019 13:36:57 +0000 (22:36 +0900)]
Bump mini-css-extract-plugin from 0.5.0 to 0.7.0 (#11167)

Bumps [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin) from 0.5.0 to 0.7.0.
- [Release notes](https://github.com/webpack-contrib/mini-css-extract-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/mini-css-extract-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/mini-css-extract-plugin/compare/v0.5.0...v0.7.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoBump webpack-dev-server from 3.5.1 to 3.7.2 (#11166)
dependabot-preview[bot] [Tue, 25 Jun 2019 13:32:58 +0000 (22:32 +0900)]
Bump webpack-dev-server from 3.5.1 to 3.7.2 (#11166)

Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server) from 3.5.1 to 3.7.2.
- [Release notes](https://github.com/webpack/webpack-dev-server/releases)
- [Changelog](https://github.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-dev-server/compare/v3.5.1...v3.7.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoBump babel-loader from 8.0.5 to 8.0.6 (#11164)
dependabot-preview[bot] [Tue, 25 Jun 2019 13:24:49 +0000 (22:24 +0900)]
Bump babel-loader from 8.0.5 to 8.0.6 (#11164)

Bumps [babel-loader](https://github.com/babel/babel-loader) from 8.0.5 to 8.0.6.
- [Release notes](https://github.com/babel/babel-loader/releases)
- [Changelog](https://github.com/babel/babel-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel-loader/compare/v8.0.5...v8.0.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoApply filters to poll options (#11174)
ThibG [Tue, 25 Jun 2019 12:45:14 +0000 (14:45 +0200)]
Apply filters to poll options (#11174)

* Apply filters to poll options in WebUI

Fixes #11128

* Apply filters to poll options server-side

* Add poll options to searchable text

6 years agoFix unconverted PRs in the changelog (#11155)
Eugen Rochko [Sat, 22 Jun 2019 16:13:52 +0000 (18:13 +0200)]
Fix unconverted PRs in the changelog (#11155)

6 years agoBump version to 2.9.2 (#11152)
Eugen Rochko [Sat, 22 Jun 2019 15:28:26 +0000 (17:28 +0200)]
Bump version to 2.9.2 (#11152)

6 years agoNew Crowdin translations (#11144)
Eugen Rochko [Sat, 22 Jun 2019 15:26:09 +0000 (17:26 +0200)]
New Crowdin translations (#11144)

* New translations simple_form.en.yml (Japanese)
[ci skip]

* New translations en.json (Catalan)
[ci skip]

* New translations doorkeeper.en.yml (Catalan)
[ci skip]

* New translations en.json (Slovenian)
[ci skip]

* New translations en.json (Slovenian)
[ci skip]

* New translations en.json (Slovenian)
[ci skip]

* New translations en.json (Slovenian)
[ci skip]

* New translations doorkeeper.en.yml (Galician)
[ci skip]

* New translations en.json (Arabic)
[ci skip]

* New translations en.json (Slovenian)
[ci skip]

* New translations doorkeeper.en.yml (German)
[ci skip]

* New translations en.json (Slovenian)
[ci skip]

* i18n-tasks normalize

* yarn manage:translations

6 years agoFix audio-only OGG and WebM files not being processed as such (#11151)
Eugen Rochko [Sat, 22 Jun 2019 14:54:06 +0000 (16:54 +0200)]
Fix audio-only OGG and WebM files not being processed as such (#11151)

Also, because Chrome sends audio/mp3 instead of audio/mpeg as it's
supposed to, we need to whitelist that mime type as well