]> cat aescling's git repositories - mastodon.git/log
mastodon.git
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 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 agoMerge pull request #1161 from ThibG/glitch-soc/cherry-pick-upstream
ThibG [Sun, 14 Jul 2019 23:04:31 +0000 (01:04 +0200)]
Merge pull request #1161 from ThibG/glitch-soc/cherry-pick-upstream

Cherry pick changes from upstream

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 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 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 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 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 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 agoAdd link to edit each listed filter
Thibaut Girka [Sun, 14 Jul 2019 21:32:42 +0000 (23:32 +0200)]
Add link to edit each listed filter

6 years agoMake some strings translatable
Thibaut Girka [Sun, 14 Jul 2019 19:59:13 +0000 (21:59 +0200)]
Make some strings translatable

6 years agoMinor refactoring
Thibaut Girka [Sun, 14 Jul 2019 19:43:49 +0000 (21:43 +0200)]
Minor refactoring

6 years agoMove the “Show why” button inline
Thibaut Girka [Sun, 14 Jul 2019 19:39:07 +0000 (21:39 +0200)]
Move the “Show why” button inline

6 years agoImplement feature to add filtered phrases to content warnings
Thibaut Girka [Fri, 12 Jul 2019 16:53:40 +0000 (18:53 +0200)]
Implement feature to add filtered phrases to content warnings

6 years agoImplement option to completely hide filtered toots
Thibaut Girka [Fri, 12 Jul 2019 16:33:55 +0000 (18:33 +0200)]
Implement option to completely hide filtered toots

6 years agoAdd options to configure filtering behavior
Thibaut Girka [Fri, 12 Jul 2019 16:27:43 +0000 (18:27 +0200)]
Add options to configure filtering behavior

6 years agoAdd a way to know why a status has been filtered, and show it anyway
Thibaut Girka [Fri, 12 Jul 2019 14:01:33 +0000 (16:01 +0200)]
Add a way to know why a status has been filtered, and show it anyway

6 years agoDo not keep polls pre-filled in thread mode
Thibaut Girka [Sun, 14 Jul 2019 22:21:01 +0000 (00:21 +0200)]
Do not keep polls pre-filled in thread mode

6 years agoFix error boundary CSS
Thibaut Girka [Sun, 14 Jul 2019 22:16:31 +0000 (00:16 +0200)]
Fix error boundary CSS

6 years agoFix report dialog crashing when a toot gets deleted
Thibaut Girka [Wed, 10 Jul 2019 17:12:51 +0000 (19:12 +0200)]
Fix report dialog crashing when a toot gets deleted

Fixes #1155

6 years agoMerge pull request #1152 from ThibG/glitch-soc/merge-upstream
ThibG [Sun, 7 Jul 2019 20:26:10 +0000 (22:26 +0200)]
Merge pull request #1152 from ThibG/glitch-soc/merge-upstream

Merge upstream changes

6 years agoRe-add route for direct timeline
Thibaut Girka [Sun, 7 Jul 2019 12:12:41 +0000 (14:12 +0200)]
Re-add route for direct timeline

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

Port c07cca4727041ea5a5721acbc603d4bfb45a15a6 to glitch-soc

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 agoMerge commit 'c07cca4727041ea5a5721acbc603d4bfb45a15a6' into glitch-soc/merge-upstream
Thibaut Girka [Sun, 7 Jul 2019 11:49:31 +0000 (13:49 +0200)]
Merge commit 'c07cca4727041ea5a5721acbc603d4bfb45a15a6' into glitch-soc/merge-upstream

Unlike upstream, kept the direct timeline endpoint, as it is still of use in
glitch-soc.

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 agoAllow serializing local-only toots in backup service
Thibaut Girka [Fri, 5 Jul 2019 19:34:03 +0000 (21:34 +0200)]
Allow serializing local-only toots in backup service

Fixes #1153

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 ago[Glitch] Memoize ancestorIds and descendantIds in detailed status view
ThibG [Tue, 2 Jul 2019 14:03:54 +0000 (16:03 +0200)]
[Glitch] Memoize ancestorIds and descendantIds in detailed status view

Port 99924f282f53593e670c70a38450a1c0e2d24c20 to glitch-soc

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

Port dc88d226e1fdb20499d6e81838b81894b2d0be2d to glitch-soc

6 years agoMerge branch 'master' into glitch-soc/merge-upstream
Thibaut Girka [Thu, 4 Jul 2019 14:21:39 +0000 (16:21 +0200)]
Merge branch 'master' into glitch-soc/merge-upstream

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 agoMinor cleanup and maybe minor performance improvements
Thibaut Girka [Sat, 29 Jun 2019 16:10:54 +0000 (18:10 +0200)]
Minor cleanup and maybe minor performance improvements

6 years agoMinor optimization regarding regexp filtering in timelines
Thibaut Girka [Sat, 29 Jun 2019 13:24:44 +0000 (15:24 +0200)]
Minor optimization regarding regexp filtering in timelines

6 years agoUse strict equality rather than Immutable.is as the compared props are values
Thibaut Girka [Mon, 1 Jul 2019 10:45:18 +0000 (12:45 +0200)]
Use strict equality rather than Immutable.is as the compared props are values

6 years agoAssume children of visible IntersectionObserverArticle always change
Thibaut Girka [Sun, 30 Jun 2019 16:05:37 +0000 (18:05 +0200)]
Assume children of visible IntersectionObserverArticle always change

This fixes multiple issues, while adding few computations

6 years agoRevert to using upstream's optimisations
Thibaut Girka [Sun, 30 Jun 2019 08:24:56 +0000 (10:24 +0200)]
Revert to using upstream's optimisations

This *does* break things, as `shouldComponentUpdate` assume the
children to never change!

6 years agoFix error boundary DOM
Thibaut Girka [Mon, 1 Jul 2019 11:38:00 +0000 (13:38 +0200)]
Fix error boundary DOM

6 years agoFix some React warnings
Thibaut Girka [Sat, 29 Jun 2019 08:43:45 +0000 (10:43 +0200)]
Fix some React warnings

6 years agoMerge pull request #1148 from ThibG/glitch-soc/merge-upstream
ThibG [Mon, 1 Jul 2019 17:30:46 +0000 (19:30 +0200)]
Merge pull request #1148 from ThibG/glitch-soc/merge-upstream

Merge upstream changes

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 ago[Glitch] When sending a toot, ensure a CW is only set if the CW field is visible
Thibaut Girka [Sun, 30 Jun 2019 09:09:54 +0000 (11:09 +0200)]
[Glitch] When sending a toot, ensure a CW is only set if the CW field is visible

Partial port of ccc7fe3e1d04c7cabad916e4e57c7739743d5c91 to glitch-soc

It doesn't ensure the field isn't changed, just that it isn't submitted if
the field isn't visible. Ensuring the field isn't changed would require
reworking the “always show CW field” feature.

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

Port f895bf198470c1d4a0299b454433fdf1c35ee2b0 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
6 years ago[Glitch] Use ScrollToOptions for smooth scrolling if supported
ThibG [Sat, 29 Jun 2019 16:32:06 +0000 (18:32 +0200)]
[Glitch] Use ScrollToOptions for smooth scrolling if supported

Port 84ff3938426da348e31651dfad376d83a9784343 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
6 years agoMerge branch 'master' into glitch-soc/merge-upstream
Thibaut Girka [Sun, 30 Jun 2019 08:59:45 +0000 (10:59 +0200)]
Merge branch 'master' into glitch-soc/merge-upstream

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 agoMerge pull request #1146 from ThibG/glitch-soc/merge-upstream
ThibG [Fri, 28 Jun 2019 20:35:54 +0000 (22:35 +0200)]
Merge pull request #1146 from ThibG/glitch-soc/merge-upstream

Merge upstream changes

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

Port front-end changes from e64e6a03dd1e0978fee48f0596dcfbc7fd29958f to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
6 years ago[Glitch] Fix swiping columns on mobile sometimes failing
ThibG [Fri, 28 Jun 2019 11:52:15 +0000 (13:52 +0200)]
[Glitch] Fix swiping columns on mobile sometimes failing

Port 072158ee973f8e09a0abd34a825d9bce038a5d68 to glitch-soc

6 years agoMerge branch 'master' into glitch-soc/merge-upstream
Thibaut Girka [Fri, 28 Jun 2019 19:36:50 +0000 (21:36 +0200)]
Merge branch 'master' into glitch-soc/merge-upstream

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 agoMerge pull request #1145 from ThibG/glitch-soc/merge-upstream
ThibG [Fri, 28 Jun 2019 17:11:06 +0000 (19:11 +0200)]
Merge pull request #1145 from ThibG/glitch-soc/merge-upstream

Merge upstream changes

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

Port ca8944728f4568bbef8edae99382cd44cbc144d6 to glitch-soc

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 agoMerge branch 'master' into glitch-soc/merge-upstream
Thibaut Girka [Fri, 28 Jun 2019 10:11:45 +0000 (12:11 +0200)]
Merge branch 'master' into glitch-soc/merge-upstream

6 years agoChange search components classes and styling to match upstream
Thibaut Girka [Thu, 27 Jun 2019 20:30:55 +0000 (22:30 +0200)]
Change search components classes and styling to match upstream

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 agoUse a redis-cached feed for the DM timeline
Thibaut Girka [Tue, 25 Jun 2019 20:56:32 +0000 (22:56 +0200)]
Use a redis-cached feed for the DM timeline

6 years agoMerge pull request #1142 from ThibG/glitch-soc/merge-upstream
ThibG [Thu, 27 Jun 2019 14:43:55 +0000 (16:43 +0200)]
Merge pull request #1142 from ThibG/glitch-soc/merge-upstream

Merge upstream changes

6 years agoMerge branch 'master' into glitch-soc/merge-upstream
Thibaut Girka [Thu, 27 Jun 2019 13:48:23 +0000 (15:48 +0200)]
Merge branch 'master' into glitch-soc/merge-upstream

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

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

Port 3086c645fde2345d34e401bdf3e2f19f19da3294 to glitch-soc

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

Port 5b20284f6f7ebb2514d81fb27fcaa40f8edf14ff to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
6 years ago[Glitch] Apply filters to poll options in WebUI
ThibG [Tue, 25 Jun 2019 12:45:14 +0000 (14:45 +0200)]
[Glitch] Apply filters to poll options in WebUI

Port 47ef4a6c7a74072daff8b23c4af3e300bb75ba1a to glitch-soc

6 years agoMerge branch 'master' into glitch-soc/merge-upstream
Thibaut Girka [Wed, 26 Jun 2019 20:54:09 +0000 (22:54 +0200)]
Merge branch 'master' into glitch-soc/merge-upstream

Conflicts:
- app/controllers/settings/preferences_controller.rb
- app/lib/user_settings_decorator.rb
- app/models/user.rb
- config/locales/simple_form.en.yml

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)