]>
cat aescling's git repositories - mastodon.git/log
Eugen Rochko [Mon, 30 Dec 2019 03:38:30 +0000 (04:38 +0100)]
Fix settings pages being cacheable by the browser (#12714)
Fix #12255
Eugen Rochko [Mon, 30 Dec 2019 03:38:18 +0000 (04:38 +0100)]
Fix HTML error pages being returned when JSON is expected (#12713)
Fix #12509
See also #12214
Eugen Rochko [Mon, 30 Dec 2019 02:55:11 +0000 (03:55 +0100)]
Fix undefined error regression in status component in web UI (#12712)
Regression from #12661
chr v1.x [Mon, 30 Dec 2019 02:17:54 +0000 (18:17 -0800)]
Fix backups stopping due to read timeouts (#12281)
* Make BackupService resilient to read timeouts
If an attachment read times out, assume that the resources is
inaccessible and continue the backup without it. This fixes #12280.
* Both errors on one line
Shlee [Sun, 29 Dec 2019 16:00:43 +0000 (00:00 +0800)]
Circleci - Upgrade to Buster Images (#12705)
* Update config.yml
* Update Gemfile.lock
Takeshi Umeda [Sun, 29 Dec 2019 15:59:25 +0000 (00:59 +0900)]
Fix shortNumberFormat to within 3 chars without units (#12706)
ThibG [Sun, 29 Dec 2019 04:41:26 +0000 (05:41 +0100)]
Fix batch actions on non-pending tags in admin interface (#12537)
- Allow batch actions on unreviewed tags
- Hide checkboxes when batch actions aren't available
Matt Panaro [Sun, 29 Dec 2019 04:39:48 +0000 (23:39 -0500)]
Summary: fix slowness due to layout thrashing when reloading a large … (#12661)
* Summary: fix slowness due to layout thrashing when reloading a large set of status updates
in order to limit the maximum size of a status in a list view (e.g. the home timeline), so as to avoid having to scroll all the way through an abnormally large status update (see https://github.com/tootsuite/mastodon/pull/8205), the following steps are taken:
•the element containing the status is rendered in the browser
•its height is calculated, to determine if it exceeds the maximum height threshold.
Unfortunately for performance, these steps are carried out in the componentDidMount(/Update) method, which also performs style modifications on the element. The combination of height request and style modification during javascript evaluation in the browser leads to layout-thrashing, where the elements are repeatedly re-laid-out (see https://developers.google.com/web/fundamentals/performance/rendering/avoid-large-complex-layouts-and-layout-thrashing & https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Performance_best_practices_for_Firefox_fe_engineers).
The solution implemented here is to memoize the collapsed state in Redux the first time the status is seen (e.g. when fetched as part of a small batch, to populate the home timeline) , so that on subsequent re-renders, the value can be queried, rather than recalculated. This strategy is derived from https://github.com/tootsuite/mastodon/pull/4439 & https://github.com/tootsuite/mastodon/pull/4909, and should resolve https://github.com/tootsuite/mastodon/issues/12455.
Andrew Lin (https://github.com/onethreeseven) is thanked for his assistance in root cause analysis and solution brainstorming
* remove getSnapshotBeforeUpdate from status
* remove componentWillUnmount from status
* persist last-intersected status update and restore when ScrollableList is restored
e.g. when navigating from home-timeline to a status conversational thread and <Back again
* cache currently-viewing status id to avoid calling redux with identical value
* refactor collapse toggle to pass explicit boolean
ThibG [Sun, 29 Dec 2019 04:39:08 +0000 (05:39 +0100)]
Fix old migrations failing because of strong_migrations update (#12692)
Fixes #12690
The `strong_migrations` update from
ba2eac8824a85aa9541f8070ed7bcd22b9982cc8
introduced a check for `change_column_null` specific to Postgres. This rejects
old migrations.
This commit just wraps old migrations with `safety_assured` to bypass this
check. Alternatives would have been to:
- Disable that check entirely (a possibility added in that same
`strong_migrations` version) for Mastodon, but it makes sense to write new
migrations without such a strong lock.
- Rewrite the old migrations to do it in a way that do not require an exclusive
lock. I thought fixing those old migrations for performance wasn't worth the
pain. Also, if I understand correctly, the next version of
`strong_migrations` is going to include a helper to do that. We could update
those migrations at that point.
dependabot-preview[bot] [Fri, 27 Dec 2019 02:41:55 +0000 (11:41 +0900)]
[Security] Bump handlebars from 4.2.0 to 4.5.3 (#12694)
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.2.0 to 4.5.3. **This update includes a security fix.**
- [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.2.0...v4.5.3)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Wed, 25 Dec 2019 00:15:31 +0000 (09:15 +0900)]
Bump @babel/runtime from 7.7.6 to 7.7.7 (#12670)
Bumps [@babel/runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-runtime) from 7.7.6 to 7.7.7.
- [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.7/packages/babel-runtime)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Wed, 25 Dec 2019 00:15:03 +0000 (09:15 +0900)]
Bump enzyme from 3.10.0 to 3.11.0 (#12675)
Bumps [enzyme](https://github.com/airbnb/enzyme/tree/HEAD/packages/enzyme) from 3.10.0 to 3.11.0.
- [Release notes](https://github.com/airbnb/enzyme/releases)
- [Changelog](https://github.com/airbnb/enzyme/blob/master/CHANGELOG.md)
- [Commits](https://github.com/airbnb/enzyme/commits/enzyme@3.11.0/packages/enzyme)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Tue, 24 Dec 2019 18:15:44 +0000 (03:15 +0900)]
Bump object.values from 1.1.0 to 1.1.1 (#12625)
Bumps [object.values](https://github.com/es-shims/Object.values) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/es-shims/Object.values/releases)
- [Changelog](https://github.com/es-shims/Object.values/blob/master/CHANGELOG.md)
- [Commits](https://github.com/es-shims/Object.values/compare/v1.1.0...v1.1.1)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Tue, 24 Dec 2019 17:42:11 +0000 (02:42 +0900)]
Bump @babel/preset-env from 7.7.6 to 7.7.7 (#12672)
Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.7.6 to 7.7.7.
- [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.6...v7.7.7)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Tue, 24 Dec 2019 17:40:58 +0000 (02:40 +0900)]
Bump css-loader from 3.3.2 to 3.4.0 (#12673)
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 3.3.2 to 3.4.0.
- [Release notes](https://github.com/webpack-contrib/css-loader/releases)
- [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/css-loader/compare/v3.3.2...v3.4.0)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Tue, 24 Dec 2019 17:38:44 +0000 (02:38 +0900)]
Bump mini-css-extract-plugin from 0.8.0 to 0.9.0 (#12674)
Bumps [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin) from 0.8.0 to 0.9.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.8.0...v0.9.0)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Tue, 24 Dec 2019 17:33:12 +0000 (02:33 +0900)]
Bump sass from 1.23.3 to 1.24.0 (#12676)
Bumps [sass](https://github.com/sass/dart-sass) from 1.23.3 to 1.24.0.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.23.3...1.24.0)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Tue, 24 Dec 2019 17:27:14 +0000 (02:27 +0900)]
Bump rubocop from 0.77.0 to 0.78.0 (#12677)
Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 0.77.0 to 0.78.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.77.0...v0.78.0)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Tue, 24 Dec 2019 17:25:51 +0000 (02:25 +0900)]
Bump array-includes from 3.1.0 to 3.1.1 (#12671)
Bumps [array-includes](https://github.com/es-shims/array-includes) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/es-shims/array-includes/releases)
- [Changelog](https://github.com/es-shims/array-includes/blob/master/CHANGELOG.md)
- [Commits](https://github.com/es-shims/array-includes/compare/v3.1.0...v3.1.1)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Tue, 24 Dec 2019 17:25:14 +0000 (02:25 +0900)]
Bump faker from 2.8.1 to 2.9.0 (#12680)
Bumps [faker](https://github.com/faker-ruby/faker) from 2.8.1 to 2.9.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.8.1...v2.9.0)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Mon, 23 Dec 2019 21:38:19 +0000 (22:38 +0100)]
Bump strong_migrations from 0.5.0 to 0.5.1 (#12679)
Bumps [strong_migrations](https://github.com/ankane/strong_migrations) from 0.5.0 to 0.5.1.
- [Release notes](https://github.com/ankane/strong_migrations/releases)
- [Changelog](https://github.com/ankane/strong_migrations/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ankane/strong_migrations/compare/v0.5.0...v0.5.1)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Mon, 23 Dec 2019 21:37:35 +0000 (22:37 +0100)]
Bump rails from 5.2.4 to 5.2.4.1 (#12682)
Bumps [rails](https://github.com/rails/rails) from 5.2.4 to 5.2.4.1.
- [Release notes](https://github.com/rails/rails/releases)
- [Commits](https://github.com/rails/rails/compare/v5.2.4...v5.2.4.1)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Mon, 23 Dec 2019 21:36:06 +0000 (22:36 +0100)]
Bump rack-attack from 6.2.1 to 6.2.2 (#12681)
Bumps [rack-attack](https://github.com/kickstarter/rack-attack) from 6.2.1 to 6.2.2.
- [Release notes](https://github.com/kickstarter/rack-attack/releases)
- [Changelog](https://github.com/kickstarter/rack-attack/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kickstarter/rack-attack/compare/v6.2.1...v6.2.2)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Mon, 23 Dec 2019 21:35:04 +0000 (22:35 +0100)]
Bump oj from 3.9.2 to 3.10.0 (#12683)
Bumps [oj](https://github.com/ohler55/oj) from 3.9.2 to 3.10.0.
- [Release notes](https://github.com/ohler55/oj/releases)
- [Changelog](https://github.com/ohler55/oj/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/ohler55/oj/compare/v3.9.2...v3.10.0)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Aries [Mon, 23 Dec 2019 17:12:22 +0000 (02:12 +0900)]
Fix sample SAML_ACS_URL, SAML_ISSUER (#12669)
BSKY [Mon, 23 Dec 2019 06:27:55 +0000 (15:27 +0900)]
Use eslint cache (#12668)
trwnh [Sun, 22 Dec 2019 21:22:09 +0000 (15:22 -0600)]
Update link to install docs (#12666)
Dan Hunsaker [Sun, 22 Dec 2019 07:55:27 +0000 (00:55 -0700)]
Correct the Nanobox deploy hooks for order and context (#12663)
One hook was actually duplicated incorrectly; this has been fixed. Another hook was re-ordered for better results in actual use.
Sasha Sorokin [Thu, 19 Dec 2019 11:47:55 +0000 (18:47 +0700)]
Use different strings on exports page (#12569)
Currently the page re-uses strings from other contexts which doesn't fit
very well - strings incorrectly lowercase-d and pluralized, when they
don't need to be, because it's a table.
This commit changes page to re-use accounts.posts_tab_heading for toots,
and admin.accounts for "Following" and "Follows". This all should look
more aesthetically pleasing.
ThibG [Thu, 19 Dec 2019 11:47:19 +0000 (12:47 +0100)]
Fix manual scrolling issue on Firefox/Windows (#12648)
Fixes #12607
`will-change: transform` apparently makes manual scrolling impossible on
Firefox/Windows. While this should probably be considered a Firefox bug,
`will-change: transform` seem like a very aggressive performance hint that
may possibly make the browser consume more resources than needed, especially
in multiple-column mode.
This was originally added to improve scrolling performances on mobile, but
I think this isn't necessary anymore, because of the two following reasons:
- `contain: paint` (which is implied by `contain: strict`, which we apply
whenever the browser supports grids) should have similar effects
- in single-column mode, the scrolling container is the root element, which
I believe is optimized in at least Chromium
Keep in mind that I have not been able to make in-depth benchmarks, and
especially not been able to try on mobile, so performances should probably
be investigated further…
Marcin Mikołajczak [Wed, 18 Dec 2019 22:39:08 +0000 (23:39 +0100)]
fix multiple space (#12655)
dependabot-preview[bot] [Wed, 18 Dec 2019 22:21:51 +0000 (07:21 +0900)]
[Security] Bump rack from 2.0.7 to 2.0.8 (#12654)
Bumps [rack](https://github.com/rack/rack) from 2.0.7 to 2.0.8. **This update includes a security fix.**
- [Release notes](https://github.com/rack/rack/releases)
- [Changelog](https://github.com/rack/rack/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rack/rack/compare/2.0.7...2.0.8)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Eugen Rochko [Wed, 18 Dec 2019 18:04:43 +0000 (19:04 +0100)]
Fix unsafe column type change in migration (#12653)
ThibG [Wed, 18 Dec 2019 15:56:59 +0000 (16:56 +0100)]
Fix custom emoji category creation silently erroring out on duplicate category (#12647)
Instead, just re-use the existing category if any.
Fixes #12608
ThibG [Wed, 18 Dec 2019 15:56:39 +0000 (16:56 +0100)]
Remove unused translatable strings (#12643)
* Remove unused “salmon_url” string
* Remove more unused translatable strings
The following strings all used to be on the admin account page
but aren't used anymore: profile_url, outbox_url, followers_url, feed_url
ThibG [Wed, 18 Dec 2019 15:56:06 +0000 (16:56 +0100)]
Fix link crawler not specifying accepted content-type (#12646)
The link crawler expects HTML documents, so set the `Accept`
header accordingly.
Fixes #12618
Takeshi Umeda [Wed, 18 Dec 2019 15:55:21 +0000 (00:55 +0900)]
Add signature to exported status (#12649)
Bèr Kessels [Wed, 18 Dec 2019 15:54:29 +0000 (16:54 +0100)]
Fix typo in login feature-test. (#12651)
Takeshi Umeda [Wed, 18 Dec 2019 15:54:03 +0000 (00:54 +0900)]
Fix an error when ActivityPub::FetchRemoteStatusService url is called with nil (#12652)
dependabot-preview[bot] [Tue, 17 Dec 2019 23:58:53 +0000 (08:58 +0900)]
Bump rails from 5.2.3 to 5.2.4 (#12584)
* Bump rails from 5.2.3 to 5.2.4
Bumps [rails](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>
* sprockets ~> 3.7
dependabot-preview[bot] [Tue, 17 Dec 2019 19:04:30 +0000 (04:04 +0900)]
Bump json-ld-preloaded from 3.0.4 to 3.0.6 (#12361)
Bumps [json-ld-preloaded](https://github.com/ruby-rdf/json-ld-preloaded) from 3.0.4 to 3.0.6.
- [Release notes](https://github.com/ruby-rdf/json-ld-preloaded/releases)
- [Commits](https://github.com/ruby-rdf/json-ld-preloaded/compare/3.0.4...3.0.6)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Tue, 17 Dec 2019 18:54:42 +0000 (03:54 +0900)]
Bump react-redux from 7.1.1 to 7.1.3 (#12626)
Bumps [react-redux](https://github.com/reduxjs/react-redux) from 7.1.1 to 7.1.3.
- [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/v7.1.1...v7.1.3)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Tue, 17 Dec 2019 18:53:15 +0000 (03:53 +0900)]
Bump webpacker from 4.2.0 to 4.2.2 (#12632)
Bumps [webpacker](https://github.com/rails/webpacker) from 4.2.0 to 4.2.2.
- [Release notes](https://github.com/rails/webpacker/releases)
- [Changelog](https://github.com/rails/webpacker/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rails/webpacker/compare/v4.2.0...v4.2.2)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Tue, 17 Dec 2019 18:42:25 +0000 (03:42 +0900)]
Bump eslint-plugin-import from 2.19.0 to 2.19.1 (#12622)
Bumps [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import) from 2.19.0 to 2.19.1.
- [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.19.0...v2.19.1)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Tue, 17 Dec 2019 18:42:02 +0000 (03:42 +0900)]
Bump copy-webpack-plugin from 5.0.5 to 5.1.1 (#12621)
Bumps [copy-webpack-plugin](https://github.com/webpack-contrib/copy-webpack-plugin) from 5.0.5 to 5.1.1.
- [Release notes](https://github.com/webpack-contrib/copy-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/copy-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/copy-webpack-plugin/compare/v5.0.5...v5.1.1)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Tue, 17 Dec 2019 18:41:49 +0000 (03:41 +0900)]
Bump css-loader from 3.2.0 to 3.3.2 (#12624)
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 3.2.0 to 3.3.2.
- [Release notes](https://github.com/webpack-contrib/css-loader/releases)
- [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/css-loader/compare/v3.2.0...v3.3.2)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Tue, 17 Dec 2019 18:40:34 +0000 (03:40 +0900)]
Bump array-includes from 3.0.3 to 3.1.0 (#12627)
Bumps [array-includes](https://github.com/es-shims/array-includes) from 3.0.3 to 3.1.0.
- [Release notes](https://github.com/es-shims/array-includes/releases)
- [Changelog](https://github.com/es-shims/array-includes/blob/master/CHANGELOG.md)
- [Commits](https://github.com/es-shims/array-includes/compare/v3.0.3...v3.1.0)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Tue, 17 Dec 2019 18:36:49 +0000 (03:36 +0900)]
Bump doorkeeper from 5.2.2 to 5.2.3 (#12630)
Bumps [doorkeeper](https://github.com/doorkeeper-gem/doorkeeper) from 5.2.2 to 5.2.3.
- [Release notes](https://github.com/doorkeeper-gem/doorkeeper/releases)
- [Changelog](https://github.com/doorkeeper-gem/doorkeeper/blob/master/CHANGELOG.md)
- [Commits](https://github.com/doorkeeper-gem/doorkeeper/compare/v5.2.2...v5.2.3)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Tue, 17 Dec 2019 18:34:20 +0000 (03:34 +0900)]
Bump stackprof from 0.2.13 to 0.2.14 (#12631)
Bumps [stackprof](https://github.com/tmm1/stackprof) from 0.2.13 to 0.2.14.
- [Release notes](https://github.com/tmm1/stackprof/releases)
- [Changelog](https://github.com/tmm1/stackprof/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tmm1/stackprof/compare/v0.2.13...v0.2.14)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Tue, 17 Dec 2019 18:32:51 +0000 (03:32 +0900)]
Bump parallel_tests from 2.29.2 to 2.30.0 (#12634)
Bumps [parallel_tests](https://github.com/grosser/parallel_tests) from 2.29.2 to 2.30.0.
- [Release notes](https://github.com/grosser/parallel_tests/releases)
- [Commits](https://github.com/grosser/parallel_tests/compare/v2.29.2...v2.30.0)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
ThibG [Tue, 17 Dec 2019 12:33:36 +0000 (13:33 +0100)]
Changes to tootctl statuses remove (#11267)
* Fix comments in statuses_cli
The comment for the part of query keeping statuses which have replies was
incorrect, explaining the part of the query kept favourited statuses instead
* Keep statuses favourited by local users in tootctl statuses remove
* Do delete old replies that are not direct interactions with local users
* Skip reblogs of local statuses instead of all reblogs
* Optimize some queries
* Keep old statuses with recent reblogs
* Add option to clear toots from followed accounts too
ThibG [Tue, 17 Dec 2019 12:32:57 +0000 (13:32 +0100)]
Clean up OStatus-related codepaths (#12173)
* Remove “protocol” argument and return value, as only ActivityPub is supported
* Remove FetchRemoteAccountService, only use ActivityPub::FetchRemoteAccountService
* Fix tests
ThibG [Tue, 17 Dec 2019 12:31:56 +0000 (13:31 +0100)]
Fixes featured hashtag setting page erroring out instead of rejecting invalid tags (#12436)
* Revert "Fix ignoring whole status because of one invalid hashtag (#11621)"
This reverts commit
dff46b260b2f7d765d254c84a4b89105c7de5e97 .
* Fix statuses being rejected because of invalid hashtag names
* Add spec for invalid hashtag names in statuses
* Add test for featured tags controller
scd31 [Tue, 17 Dec 2019 12:30:58 +0000 (12:30 +0000)]
Increase max backup size (#12602)
* Increased max backup size
* partially reverted schema.rb
dependabot-preview[bot] [Tue, 17 Dec 2019 01:20:49 +0000 (10:20 +0900)]
Bump @babel/preset-env from 7.7.4 to 7.7.6 (#12623)
Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.7.4 to 7.7.6.
- [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.4...v7.7.6)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Tue, 17 Dec 2019 01:19:58 +0000 (10:19 +0900)]
Bump compression-webpack-plugin from 3.0.0 to 3.0.1 (#12620)
Bumps [compression-webpack-plugin](https://github.com/webpack-contrib/compression-webpack-plugin) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/webpack-contrib/compression-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/compression-webpack-plugin/blob/v3.0.1/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/compression-webpack-plugin/compare/v3.0.0...v3.0.1)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Tue, 17 Dec 2019 01:19:20 +0000 (10:19 +0900)]
Bump faker from 2.8.0 to 2.8.1 (#12633)
Bumps [faker](https://github.com/faker-ruby/faker) from 2.8.0 to 2.8.1.
- [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.8.0...v2.8.1)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Alice Gaudon [Mon, 16 Dec 2019 22:55:50 +0000 (23:55 +0100)]
Admin setting to disable default follows (#12566)
Thomas Citharel [Mon, 16 Dec 2019 22:55:28 +0000 (23:55 +0100)]
Add Event activity-type support (#12637)
This adds support for Event AP type in Mastodon. Events are converted
into toots by taking their title (AS name) and their URL (AP ID). Event
picture is also brought in if available.
Testable by fetching event content from https://test.mobilizon.org
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Sasha Sorokin [Mon, 16 Dec 2019 22:55:16 +0000 (05:55 +0700)]
Improve report page structure (#12615)
* Move resolved button to the heading
This is one of the commits on improving overall reports page structure.
It changes where resolved button is located, moving it to the heading,
right next to the "Report #n" header, so-called "hot-place" to look at.
To accomplish this we have to declare one more content variable, change
admin dashboard template to respect it and CSS files for minor styling,
so buttons are inlined and centrally aligned according to the heading.
* Move actions buttons below the report table
I believe that actions to react on report should not be located at the
top of the page, instead they should be either after the table or
reporter's comment. This is just a logical sign that you should not
react to the report without reading all the details first.
Acid Chicken (硫酸鶏) [Mon, 16 Dec 2019 22:55:02 +0000 (07:55 +0900)]
Fix tooltip messages of multiple poll switcher are reversed (#12616)
dependabot-preview[bot] [Mon, 16 Dec 2019 22:53:38 +0000 (23:53 +0100)]
[Security] Bump excon from 0.62.0 to 0.71.0 (#12638)
Bumps [excon](https://github.com/excon/excon) from 0.62.0 to 0.71.0. **This update includes a security fix.**
- [Release notes](https://github.com/excon/excon/releases)
- [Changelog](https://github.com/excon/excon/blob/master/changelog.txt)
- [Commits](https://github.com/excon/excon/compare/v0.62.0...v0.71.0)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Bèr Kessels [Fri, 13 Dec 2019 13:04:57 +0000 (14:04 +0100)]
Ignore development specfic env file (#12606)
Sasha Sorokin [Thu, 12 Dec 2019 18:50:23 +0000 (01:50 +0700)]
Avoid using pluralize on moderation pages (#12589)
Pluralize function from Rails framework does not work with other
languages than English, moreover it does not even work properly with
English [1]. Not that the latest applies to this context, it's just
a sign that we best to avoid this function, especially when there are
more reliable ways.
This commit changes how reports pages generated in order to avoid usage
of pluralize function, replacing it with default translation function,
called with given counter. On top of that, we have to make strings
pluralizable, so have to change locale files.
[1]: https://medium.com/@anna7/
b3927de2ca8e #6a60
trwnh [Thu, 12 Dec 2019 18:50:08 +0000 (12:50 -0600)]
Fix typo in tootctl statuses remove (#12603)
dependabot-preview[bot] [Thu, 12 Dec 2019 17:57:44 +0000 (02:57 +0900)]
Bump nokogiri from 1.10.5 to 1.10.7 (#12586)
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.10.5 to 1.10.7.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.10.5...v1.10.7)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Thu, 12 Dec 2019 17:57:32 +0000 (02:57 +0900)]
Bump rubocop from 0.76.0 to 0.77.0 (#12585)
Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 0.76.0 to 0.77.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.76.0...v0.77.0)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Wed, 11 Dec 2019 11:39:11 +0000 (20:39 +0900)]
Bump aws-sdk-s3 from 1.57.0 to 1.59.0 (#12581)
Bumps [aws-sdk-s3](https://github.com/aws/aws-sdk-ruby) from 1.57.0 to 1.59.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.57.0...v1.59.0)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Wed, 11 Dec 2019 11:37:37 +0000 (20:37 +0900)]
Bump yargs from 13.3.0 to 15.0.2 (#12574)
Bumps [yargs](https://github.com/yargs/yargs) from 13.3.0 to 15.0.2.
- [Release notes](https://github.com/yargs/yargs/releases)
- [Changelog](https://github.com/yargs/yargs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/yargs/compare/v13.3.0...v15.0.2)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Wed, 11 Dec 2019 11:37:08 +0000 (20:37 +0900)]
Bump es6-symbol from 3.1.2 to 3.1.3 (#12577)
Bumps [es6-symbol](https://github.com/medikoo/es6-symbol) from 3.1.2 to 3.1.3.
- [Release notes](https://github.com/medikoo/es6-symbol/releases)
- [Changelog](https://github.com/medikoo/es6-symbol/blob/master/CHANGELOG.md)
- [Commits](https://github.com/medikoo/es6-symbol/compare/v3.1.2...v3.1.3)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Wed, 11 Dec 2019 11:36:28 +0000 (20:36 +0900)]
Bump eslint-plugin-import from 2.18.2 to 2.19.0 (#12580)
Bumps [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import) from 2.18.2 to 2.19.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.18.2...v2.19.0)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Wed, 11 Dec 2019 11:32:52 +0000 (20:32 +0900)]
Bump @babel/core from 7.7.4 to 7.7.5 (#12578)
Bumps [@babel/core](https://github.com/babel/babel) from 7.7.4 to 7.7.5.
- [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.4...v7.7.5)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Wed, 11 Dec 2019 11:32:26 +0000 (20:32 +0900)]
Bump @babel/runtime from 7.7.4 to 7.7.6 (#12579)
Bumps [@babel/runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-runtime) from 7.7.4 to 7.7.6.
- [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.6/packages/babel-runtime)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Wed, 11 Dec 2019 11:31:53 +0000 (20:31 +0900)]
Bump @babel/plugin-transform-runtime from 7.7.4 to 7.7.6 (#12575)
Bumps [@babel/plugin-transform-runtime](https://github.com/babel/babel) from 7.7.4 to 7.7.6.
- [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.4...v7.7.6)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Wed, 11 Dec 2019 11:31:03 +0000 (20:31 +0900)]
Bump react from 16.10.2 to 16.12.0 (#12573)
Bumps [react](https://github.com/facebook/react/tree/HEAD/packages/react) from 16.10.2 to 16.12.0.
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/v16.12.0/packages/react)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Wed, 11 Dec 2019 00:03:00 +0000 (01:03 +0100)]
Bump terser-webpack-plugin from 2.2.1 to 2.2.2 (#12576)
Bumps [terser-webpack-plugin](https://github.com/webpack-contrib/terser-webpack-plugin) from 2.2.1 to 2.2.2.
- [Release notes](https://github.com/webpack-contrib/terser-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/terser-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v2.2.1...v2.2.2)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Tue, 10 Dec 2019 23:55:03 +0000 (00:55 +0100)]
Bump strong_migrations from 0.4.2 to 0.5.0 (#12583)
Bumps [strong_migrations](https://github.com/ankane/strong_migrations) from 0.4.2 to 0.5.0.
- [Release notes](https://github.com/ankane/strong_migrations/releases)
- [Changelog](https://github.com/ankane/strong_migrations/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ankane/strong_migrations/compare/v0.4.2...v0.5.0)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Tue, 10 Dec 2019 23:52:43 +0000 (00:52 +0100)]
Bump sidekiq-unique-jobs from 6.0.15 to 6.0.18 (#12582)
Bumps [sidekiq-unique-jobs](https://github.com/mhenrixon/sidekiq-unique-jobs) from 6.0.15 to 6.0.18.
- [Release notes](https://github.com/mhenrixon/sidekiq-unique-jobs/releases)
- [Changelog](https://github.com/mhenrixon/sidekiq-unique-jobs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mhenrixon/sidekiq-unique-jobs/compare/v6.0.15...v6.0.18)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Eugen Rochko [Tue, 10 Dec 2019 18:39:02 +0000 (19:39 +0100)]
Revert "Fix an eslint warning (#12426)" (#12596)
This reverts commit
054ef83fc5808596643dd366286b4e85446b850c .
Eugen Rochko [Tue, 10 Dec 2019 06:40:01 +0000 (07:40 +0100)]
Add `S3_OVERRIDE_PATH_STYLE` environment variable (#12594)
To support Exoscale
Eugen Rochko [Tue, 10 Dec 2019 06:39:54 +0000 (07:39 +0100)]
Fix missing error templates for non-HTML requests (#12593)
Sasha Sorokin [Mon, 9 Dec 2019 03:30:58 +0000 (10:30 +0700)]
Use codeblock for native redirect URI (#12570)
This commit changes how doorkeeper.applications.help.native_redirect_uri
string is being formatted to use <code> tag for native_redirect_uri
placeholder. This makes the URI look more distinguishable.
Eugen Rochko [Mon, 9 Dec 2019 03:26:00 +0000 (04:26 +0100)]
Fix error handling in `tootctl media remove-orphans` (#12571)
Eugen Rochko [Sun, 8 Dec 2019 14:37:12 +0000 (15:37 +0100)]
Add `tootctl media remove-orphans` (#12568)
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
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
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>
Hinaloe [Wed, 4 Dec 2019 23:51:07 +0000 (08:51 +0900)]
Highlight border when focusing poll-form footer (#12544)
Jeong Arm [Wed, 4 Dec 2019 23:50:51 +0000 (08:50 +0900)]
Fix media open hotkey (#12546)
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)
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
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>
ThibG [Wed, 4 Dec 2019 03:34:31 +0000 (04:34 +0100)]
Fix old migration failing with new status default scope (#12493)
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
trwnh [Tue, 3 Dec 2019 18:56:34 +0000 (12:56 -0600)]
Return `discoverable` via REST API (fix #12507) (#12508)
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()
tateisu [Mon, 2 Dec 2019 20:05:27 +0000 (05:05 +0900)]
add S3_OPEN_TIMEOUT environment variable (#12459)
Yamagishi Kazutoshi [Mon, 2 Dec 2019 18:55:08 +0000 (03:55 +0900)]
Move rspec examples to tmp dir (#12539)
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>
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>