]> cat aescling's git repositories - mastodon.git/log
mastodon.git
6 years agoBump webpack-cli from 3.3.5 to 3.3.6 (#11481)
dependabot-preview[bot] [Mon, 5 Aug 2019 09:00:15 +0000 (18:00 +0900)]
Bump webpack-cli from 3.3.5 to 3.3.6 (#11481)

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

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoBump eslint-plugin-react from 7.14.2 to 7.14.3 (#11480)
dependabot-preview[bot] [Mon, 5 Aug 2019 08:40:35 +0000 (17:40 +0900)]
Bump eslint-plugin-react from 7.14.2 to 7.14.3 (#11480)

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

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoFix timestamp on featured tag (#11477)
Jeong Arm [Sun, 4 Aug 2019 21:00:38 +0000 (06:00 +0900)]
Fix timestamp on featured tag (#11477)

It resolves #11338

6 years agoAdd option to exclude suspended domains/subdomains from tootctl domains crawl (#11454)
Darius Kazemi [Sat, 3 Aug 2019 17:11:09 +0000 (10:11 -0700)]
Add option to exclude suspended domains/subdomains from tootctl domains crawl (#11454)

* Add "--exclude-suspended" to tootctl domains crawl

This new option ignores any instances suspended server-wide as
well as their associated subdomains. This queries all domain
blocks up front, then runs a regexp on each domain. This improves
performance over what may be the obvious implementation, which is
to ask `DomainBlocks.blocked?(domain)` for each domain -- this
hits the DB many times, slowing things down considerably.

* cleaning up code style

* Compiling regex

* Removing ternary operator

6 years agoChange icon button styles to make hover/focus states more obvious (#11474)
ThibG [Sat, 3 Aug 2019 17:10:50 +0000 (19:10 +0200)]
Change icon button styles to make hover/focus states more obvious (#11474)

* Change icon buttons styles to make hover/focused states more obvious

* Fix CW button size inconsistency

* Fix icon button background color consistency

6 years agoDisable list title validation button when list title is empty (#11475)
ThibG [Sat, 3 Aug 2019 17:10:39 +0000 (19:10 +0200)]
Disable list title validation button when list title is empty (#11475)

6 years agoFix tag score not being updated when the tag is trending (#11465)
Eugen Rochko [Thu, 1 Aug 2019 17:57:09 +0000 (19:57 +0200)]
Fix tag score not being updated when the tag is trending (#11465)

6 years agoFix scroll to top in single column UI (#11463)
Eugen Rochko [Thu, 1 Aug 2019 17:17:17 +0000 (19:17 +0200)]
Fix scroll to top in single column UI (#11463)

6 years agoRemove XML version of Webfinger and remove links to Atom feeds (#11460)
Eugen Rochko [Thu, 1 Aug 2019 17:14:02 +0000 (19:14 +0200)]
Remove XML version of Webfinger and remove links to Atom feeds (#11460)

Fix #11453

6 years agoFix column header scrolling with the page (#11458)
Eugen Rochko [Thu, 1 Aug 2019 10:26:58 +0000 (12:26 +0200)]
Fix column header scrolling with the page (#11458)

Regression from aa22b38

6 years agoFix jumping of toot date when clicking spoiler button (#11449)
Mélanie Chauvel (ariasuni) [Wed, 31 Jul 2019 08:06:58 +0000 (10:06 +0200)]
Fix jumping of toot date when clicking spoiler button (#11449)

* Fix jumping of toot date when clicking spoiler button

* Fix lint

6 years agoFix delete regression (#11450)
Eugen Rochko [Wed, 31 Jul 2019 07:23:30 +0000 (09:23 +0200)]
Fix delete regression (#11450)

Regression from ff789a751a1c730e4d808410411196b76caff39c

6 years agoChange hashtag search to only return results that have trended in the past (#11448)
Eugen Rochko [Tue, 30 Jul 2019 18:29:50 +0000 (20:29 +0200)]
Change hashtag search to only return results that have trended in the past (#11448)

* Change hashtag search to only return results that have trended in the past

A way to eliminate typos and other one-off "junk" results

* Fix excluding exact matches that don't have a score

* Fix tests

6 years agoFix boosting & unboosting preventing a boost from appearing in the TL (#11405)
ThibG [Tue, 30 Jul 2019 11:18:23 +0000 (13:18 +0200)]
Fix boosting & unboosting preventing a boost from appearing in the TL (#11405)

* Fix boosting & unboosting preventing a boost from appearing in the TL

* Add tests

* Avoids side effects when aggregate_reblogs isn't true

6 years agoAdd hashtag score for better sorting of autosuggestions (#11427)
Eugen Rochko [Tue, 30 Jul 2019 11:10:40 +0000 (13:10 +0200)]
Add hashtag score for better sorting of autosuggestions (#11427)

* Add hashtag score for better sorting of autosuggestions

* Do not use `~<~` operator with no text_pattern_ops index

6 years agoChange links in webUI to rewrite misleading links (#11426)
ThibG [Tue, 30 Jul 2019 10:13:29 +0000 (12:13 +0200)]
Change links in webUI to rewrite misleading links (#11426)

* [WiP] Show host for “misleading” links

* Disallow misleading targets which domain names are prefixes of link text

* Move decodeIDNA to app/javascript/mastodon/utils

* Add support for international domain names

* Change link origin tag color to darker text color

* Handle links to domains starting with www. as shortened by Mastodon

* [WiP] Ignore links that cannot be misread as URLs, rewrite other links

6 years agoFix crash when expanding search results for hashtags (#11447)
ThibG [Tue, 30 Jul 2019 10:06:21 +0000 (12:06 +0200)]
Fix crash when expanding search results for hashtags (#11447)

6 years agoAdd whitelist mode (#11291)
Eugen Rochko [Tue, 30 Jul 2019 09:10:46 +0000 (11:10 +0200)]
Add whitelist mode (#11291)

6 years agoBump yargs from 12.0.5 to 13.3.0 (#11434)
dependabot-preview[bot] [Mon, 29 Jul 2019 18:42:19 +0000 (20:42 +0200)]
Bump yargs from 12.0.5 to 13.3.0 (#11434)

Bumps [yargs](https://github.com/yargs/yargs) from 12.0.5 to 13.3.0.
- [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/v12.0.5...v13.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agolet bundler fetch http_parser.rb submodules (#11444)
Milan [Mon, 29 Jul 2019 18:42:04 +0000 (20:42 +0200)]
let bundler fetch http_parser.rb submodules (#11444)

6 years agoFix tag normalization and migration not removing duplicate tags (#11441)
Eugen Rochko [Mon, 29 Jul 2019 18:40:21 +0000 (20:40 +0200)]
Fix tag normalization and migration not removing duplicate tags (#11441)

Fix #11428

6 years agoBump oj from 3.8.0 to 3.8.1 (#11435)
dependabot-preview[bot] [Mon, 29 Jul 2019 13:51:03 +0000 (22:51 +0900)]
Bump oj from 3.8.0 to 3.8.1 (#11435)

Bumps [oj](https://github.com/ohler55/oj) from 3.8.0 to 3.8.1.
- [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.8.0...v3.8.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoBump capybara from 3.26.0 to 3.27.0 (#11437)
dependabot-preview[bot] [Mon, 29 Jul 2019 13:48:56 +0000 (22:48 +0900)]
Bump capybara from 3.26.0 to 3.27.0 (#11437)

Bumps [capybara](https://github.com/teamcapybara/capybara) from 3.26.0 to 3.27.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.26.0...3.27.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoBump httplog from 1.3.1 to 1.3.2 (#11436)
dependabot-preview[bot] [Mon, 29 Jul 2019 13:39:54 +0000 (22:39 +0900)]
Bump httplog from 1.3.1 to 1.3.2 (#11436)

Bumps [httplog](https://github.com/trusche/httplog) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/trusche/httplog/releases)
- [Changelog](https://github.com/trusche/httplog/blob/master/CHANGELOG.md)
- [Commits](https://github.com/trusche/httplog/compare/v1.3.1...v1.3.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoBump brakeman from 4.5.1 to 4.6.1 (#11438)
dependabot-preview[bot] [Mon, 29 Jul 2019 13:37:02 +0000 (22:37 +0900)]
Bump brakeman from 4.5.1 to 4.6.1 (#11438)

Bumps [brakeman](https://github.com/presidentbeef/brakeman) from 4.5.1 to 4.6.1.
- [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.5.1...v4.6.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoBump sass from 1.20.3 to 1.22.7 (#11432)
dependabot-preview[bot] [Mon, 29 Jul 2019 13:30:44 +0000 (22:30 +0900)]
Bump sass from 1.20.3 to 1.22.7 (#11432)

Bumps [sass](https://github.com/sass/dart-sass) from 1.20.3 to 1.22.7.
- [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.20.3...1.22.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoBump aws-sdk-s3 from 1.45.0 to 1.46.0 (#11439)
dependabot-preview[bot] [Mon, 29 Jul 2019 13:29:17 +0000 (22:29 +0900)]
Bump aws-sdk-s3 from 1.45.0 to 1.46.0 (#11439)

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

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoBump autoprefixer from 9.6.0 to 9.6.1 (#11431)
dependabot-preview[bot] [Mon, 29 Jul 2019 13:06:15 +0000 (22:06 +0900)]
Bump autoprefixer from 9.6.0 to 9.6.1 (#11431)

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

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoFix emoji autosuggestions (#11442)
Eugen Rochko [Mon, 29 Jul 2019 13:04:49 +0000 (15:04 +0200)]
Fix emoji autosuggestions (#11442)

Regression from cfb2ed78231758a79af038a964ab7f7b7b35274e

6 years agoBump @babel/preset-env from 7.4.5 to 7.5.5 (#11433)
dependabot-preview[bot] [Mon, 29 Jul 2019 13:03:05 +0000 (22:03 +0900)]
Bump @babel/preset-env from 7.4.5 to 7.5.5 (#11433)

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

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoBump file-loader from 4.0.0 to 4.1.0 (#11430)
dependabot-preview[bot] [Mon, 29 Jul 2019 12:54:14 +0000 (21:54 +0900)]
Bump file-loader from 4.0.0 to 4.1.0 (#11430)

Bumps [file-loader](https://github.com/webpack-contrib/file-loader) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/webpack-contrib/file-loader/releases)
- [Changelog](https://github.com/webpack-contrib/file-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/file-loader/compare/v4.0.0...v4.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoRevert "Remove conversation URI (#11423)" (#11424)
Eugen Rochko [Sun, 28 Jul 2019 15:47:37 +0000 (17:47 +0200)]
Revert "Remove conversation URI (#11423)" (#11424)

This reverts commit 75f7f9930eb2a6f5c4041ec44fe0aa795c9ec449.

6 years agoRemove conversation URI (#11423)
Eugen Rochko [Sun, 28 Jul 2019 15:30:12 +0000 (17:30 +0200)]
Remove conversation URI (#11423)

It is not part of ActivityPub and will free up a lot of space

6 years agoAdd autosuggestions for hashtags (#11422)
Eugen Rochko [Sun, 28 Jul 2019 12:37:52 +0000 (14:37 +0200)]
Add autosuggestions for hashtags (#11422)

6 years agoBump json-ld-preloaded from 3.0.2 to 3.0.3 (#11316)
dependabot-preview[bot] [Sun, 28 Jul 2019 11:48:43 +0000 (13:48 +0200)]
Bump json-ld-preloaded from 3.0.2 to 3.0.3 (#11316)

* Bump json-ld-preloaded from 3.0.2 to 3.0.3

Bumps [json-ld-preloaded](https://github.com/ruby-rdf/json-ld-preloaded) from 3.0.2 to 3.0.3.
- [Release notes](https://github.com/ruby-rdf/json-ld-preloaded/releases)
- [Commits](https://github.com/ruby-rdf/json-ld-preloaded/compare/3.0.2...3.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* use json-ld edge

6 years agoAdd `tootctl preview_cards remove` (#11320)
mayaeh [Sun, 28 Jul 2019 11:48:19 +0000 (20:48 +0900)]
Add `tootctl preview_cards remove` (#11320)

* Add `tootctl preview_cards remove`

* fix code style

* Remove `Scheduler::PreviewCardsCleanupScheduler` file

* fix code style again
Add exclude case where image_file_name is blank

* Added a function to output confirmation if the specified number of days is less than 2 weeks

6 years agoFix animate on hover in poll options without CW (#11404)
ThibG [Sun, 28 Jul 2019 11:48:05 +0000 (13:48 +0200)]
Fix animate on hover in poll options without CW (#11404)

6 years agoPrevent archiving when user set "noindex" (#11421)
Jeong Arm [Sun, 28 Jul 2019 11:46:04 +0000 (20:46 +0900)]
Prevent archiving when user set "noindex" (#11421)

6 years agoChange contrast of status links that are not mentions nor hashtags (#11406)
ThibG [Sun, 28 Jul 2019 04:00:51 +0000 (06:00 +0200)]
Change contrast of status links that are not mentions nor hashtags (#11406)

6 years agoChange hashtags to preserve first-used casing (#11416)
Eugen Rochko [Sun, 28 Jul 2019 03:59:51 +0000 (05:59 +0200)]
Change hashtags to preserve first-used casing (#11416)

6 years agoFix tabs bar scrolling along with content on mobile (#11418)
Eugen Rochko [Sat, 27 Jul 2019 17:25:15 +0000 (19:25 +0200)]
Fix tabs bar scrolling along with content on mobile (#11418)

6 years agoImplement pending tests (#11415)
ysksn [Sat, 27 Jul 2019 08:24:26 +0000 (17:24 +0900)]
Implement pending tests (#11415)

6 years agoAdd search results pagination to web UI (#11409)
Eugen Rochko [Sat, 27 Jul 2019 03:49:50 +0000 (05:49 +0200)]
Add search results pagination to web UI (#11409)

* Add search results pagination to web UI

Fix #10737

* Fix code style issue

6 years agoAdd search syntax for operators and phrases (#11411)
Eugen Rochko [Sat, 27 Jul 2019 02:42:08 +0000 (04:42 +0200)]
Add search syntax for operators and phrases (#11411)

6 years agoRemove timestamps from converted images to make them deterministic (#11408)
Eugen Rochko [Sat, 27 Jul 2019 02:41:55 +0000 (04:41 +0200)]
Remove timestamps from converted images to make them deterministic (#11408)

6 years agoFix invites not being disabled upon account suspension (#11412)
ThibG [Fri, 26 Jul 2019 16:55:33 +0000 (18:55 +0200)]
Fix invites not being disabled upon account suspension (#11412)

* Disable invite links from disabled/suspended users

* Add has_many invites relationship to users

* Destroy unused invites when suspending an account

6 years agoRemove pre from version, add extra suffix variable (#11407)
Clar Fon [Fri, 26 Jul 2019 05:57:27 +0000 (01:57 -0400)]
Remove pre from version, add extra suffix variable (#11407)

6 years agoChange settings to show restricted accounts only what they have access to (#11394)
ThibG [Thu, 25 Jul 2019 02:22:09 +0000 (04:22 +0200)]
Change settings to show restricted accounts only what they have access to (#11394)

Follow-up to 964ae8eee593687f922c873fa7b378bb6e3e39bb

6 years agoChange account domain block to clear out notifications and follows (#11393)
Eugen Rochko [Thu, 25 Jul 2019 02:17:35 +0000 (04:17 +0200)]
Change account domain block to clear out notifications and follows (#11393)

6 years ago Don't delete periods when validating username uniqueness (#11392) (#11400)
Rey Tucker [Wed, 24 Jul 2019 12:19:17 +0000 (08:19 -0400)]
 Don't delete periods when validating username uniqueness (#11392) (#11400)

* Check to make sure usernames with '.' cannot be created

* Add test for instance actor account name conflicts

This makes sure that migration 20190715164535_add_instance_actor
won't fail if there's already an account that is named the same
as the domain (minus the .)

* Put the test into the correct context...

* Add another test to split this into two validations

* Don't delete periods when validating username uniqueness (#11392)

The 20190715164535_add_instance_actor migration fails if there's
already a username similar to the domain name, e.g. if you are
'vulpine.club' and have a user named 'vulpineclub', validation
fails.

Upon further review, usernames with periods are dropped by the
regular expression in the Account class, so we don't need to
worry about it here.

Fixes #11392

6 years agoRemove modules.localIdentName (#11398)
Yamagishi Kazutoshi [Tue, 23 Jul 2019 13:47:48 +0000 (22:47 +0900)]
Remove modules.localIdentName (#11398)

6 years agoFix scrolling in single-column mode on Chrome (#11395)
ThibG [Tue, 23 Jul 2019 13:47:18 +0000 (15:47 +0200)]
Fix scrolling in single-column mode on Chrome (#11395)

Fixes #11389

6 years agoBump active_model_serializers from 0.10.9 to 0.10.10 (#11311)
dependabot-preview[bot] [Tue, 23 Jul 2019 09:10:42 +0000 (11:10 +0200)]
Bump active_model_serializers from 0.10.9 to 0.10.10 (#11311)

* Bump active_model_serializers from 0.10.9 to 0.10.10

Bumps [active_model_serializers](https://github.com/rails-api/active_model_serializers) from 0.10.9 to 0.10.10.
- [Release notes](https://github.com/rails-api/active_model_serializers/releases)
- [Changelog](https://github.com/rails-api/active_model_serializers/blob/v0.10.10/CHANGELOG.md)
- [Commits](https://github.com/rails-api/active_model_serializers/compare/v0.10.9...v0.10.10)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Add root option to render method

6 years agoList columns within the method (#11377)
Daigo 3 Dango [Tue, 23 Jul 2019 09:08:11 +0000 (23:08 -1000)]
List columns within the method (#11377)

To avoid the exception:

NoMethodError: undefined method `perform' for nil:NilClass
.../vendor/bundle/ruby/2.6.0/gems/strong_migrations-0.4.1/lib/strong_migrations/migration.rb:14:in `method_missing'
.../vendor/bundle/ruby/2.6.0/gems/activerecord-5.2.3/lib/active_record/migration.rb:604:in `method_missing'
.../db/migrate/20170918125918_ids_to_bigints.rb:69:in `<class:IdsToBigints>'
.../db/migrate/20170918125918_ids_to_bigints.rb:3:in `<top (required)>'

6 years agoBump css-loader from 2.1.1 to 3.1.0 (#11382)
dependabot-preview[bot] [Tue, 23 Jul 2019 09:07:47 +0000 (11:07 +0200)]
Bump css-loader from 2.1.1 to 3.1.0 (#11382)

* Bump css-loader from 2.1.1 to 3.1.0

Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 2.1.1 to 3.1.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/v2.1.1...v3.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* localIdentName -> modules.localIdentName

6 years agoBump browser from 2.5.3 to 2.6.1 (#11388)
dependabot-preview[bot] [Mon, 22 Jul 2019 14:11:01 +0000 (23:11 +0900)]
Bump browser from 2.5.3 to 2.6.1 (#11388)

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

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoBump oj from 3.7.12 to 3.8.0 (#11387)
dependabot-preview[bot] [Mon, 22 Jul 2019 14:07:42 +0000 (23:07 +0900)]
Bump oj from 3.7.12 to 3.8.0 (#11387)

Bumps [oj](https://github.com/ohler55/oj) from 3.7.12 to 3.8.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.7.12...v3.8.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoBump rubocop from 0.72.0 to 0.73.0 (#11384)
dependabot-preview[bot] [Mon, 22 Jul 2019 14:06:34 +0000 (23:06 +0900)]
Bump rubocop from 0.72.0 to 0.73.0 (#11384)

Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 0.72.0 to 0.73.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.72.0...v0.73.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoBump premailer-rails from 1.10.2 to 1.10.3 (#11386)
dependabot-preview[bot] [Mon, 22 Jul 2019 14:05:34 +0000 (23:05 +0900)]
Bump premailer-rails from 1.10.2 to 1.10.3 (#11386)

Bumps [premailer-rails](https://github.com/fphilipe/premailer-rails) from 1.10.2 to 1.10.3.
- [Release notes](https://github.com/fphilipe/premailer-rails/releases)
- [Changelog](https://github.com/fphilipe/premailer-rails/blob/master/CHANGELOG.md)
- [Commits](https://github.com/fphilipe/premailer-rails/compare/v1.10.2...v1.10.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoBump capybara from 3.25.0 to 3.26.0 (#11385)
dependabot-preview[bot] [Mon, 22 Jul 2019 14:04:17 +0000 (23:04 +0900)]
Bump capybara from 3.25.0 to 3.26.0 (#11385)

Bumps [capybara](https://github.com/teamcapybara/capybara) from 3.25.0 to 3.26.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.25.0...3.26.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoChange unconfirmed user login behaviour (#11375)
Eugen Rochko [Mon, 22 Jul 2019 08:48:50 +0000 (10:48 +0200)]
Change unconfirmed user login behaviour (#11375)

Allow access to account settings, 2FA, authorized applications, and
account deletions to unconfirmed and pending users, as well as
users who had their accounts disabled. Suspended users cannot update
their e-mail or password or delete their account.

Display account status on account settings page, for example, when
an account is frozen, limited, unconfirmed or pending review.

After sign up, login users straight away and show a simple page that
tells them the status of their account with links to account settings
and logout, to reduce onboarding friction and allow users to correct
wrongly typed e-mail addresses.

Move the final sign-up step of SSO integrations to be the same
as above to reduce code duplication.

6 years agoBump eslint from 5.16.0 to 6.1.0 (#11383)
dependabot-preview[bot] [Mon, 22 Jul 2019 08:37:11 +0000 (17:37 +0900)]
Bump eslint from 5.16.0 to 6.1.0 (#11383)

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

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoBump babel-eslint from 10.0.1 to 10.0.2 (#11381)
dependabot-preview[bot] [Mon, 22 Jul 2019 08:36:55 +0000 (17:36 +0900)]
Bump babel-eslint from 10.0.1 to 10.0.2 (#11381)

Bumps [babel-eslint](https://github.com/babel/babel-eslint) from 10.0.1 to 10.0.2.
- [Release notes](https://github.com/babel/babel-eslint/releases)
- [Commits](https://github.com/babel/babel-eslint/compare/v10.0.1...v10.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoBump intl-relativeformat from 6.4.2 to 6.4.3 (#11380)
dependabot-preview[bot] [Mon, 22 Jul 2019 07:27:44 +0000 (16:27 +0900)]
Bump intl-relativeformat from 6.4.2 to 6.4.3 (#11380)

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

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoBump @clusterws/cws from 0.14.0 to 0.15.0 (#11379)
dependabot-preview[bot] [Mon, 22 Jul 2019 07:27:16 +0000 (16:27 +0900)]
Bump @clusterws/cws from 0.14.0 to 0.15.0 (#11379)

Bumps @clusterws/cws from 0.14.0 to 0.15.0.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoBind servers to 0.0.0.0 in Procfile (#11378)
Daigo 3 Dango [Mon, 22 Jul 2019 04:16:30 +0000 (18:16 -1000)]
Bind servers to 0.0.0.0 in Procfile (#11378)

* Bind to 0.0.0.0

* Make Procfile common to main and streaming apps

6 years agoAdd (back) rails-level JSON caching (#11333)
Eugen Rochko [Sun, 21 Jul 2019 20:32:16 +0000 (22:32 +0200)]
Add (back) rails-level JSON caching (#11333)

6 years agoFix boost to original audience not working on mobile (#11371)
ThibG [Sun, 21 Jul 2019 16:11:09 +0000 (18:11 +0200)]
Fix boost to original audience not working on mobile (#11371)

6 years agoPlay animated custom emoji on hover (#11348)
ThibG [Sun, 21 Jul 2019 16:10:40 +0000 (18:10 +0200)]
Play animated custom emoji on hover (#11348)

* Play animated custom emoji on hover in status

* Play animated custom emoji on hover in display names

* Play animated custom emoji on hover in bios/bio fields

* Add support for animation on hover on public pages emojis too

* Fix tests

* Code style cleanup

6 years agoFix `alerts` booleans not being typecast correctly in push subscription (#11343)
Eugen Rochko [Sun, 21 Jul 2019 16:10:07 +0000 (18:10 +0200)]
Fix `alerts` booleans not being typecast correctly in push subscription (#11343)

* Fix `alerts` booleans not being typecast correctly in push subscription

Fix #10789

* Fix typo

6 years agoChange locale detection to run once per session (#8657)
Eugen Rochko [Sun, 21 Jul 2019 16:08:02 +0000 (18:08 +0200)]
Change locale detection to run once per session (#8657)

Fix #6462

6 years agoRemove WebSub subscriptions (#11303)
Eugen Rochko [Sun, 21 Jul 2019 02:08:00 +0000 (04:08 +0200)]
Remove WebSub subscriptions (#11303)

6 years agoDisplay custom emoji in bio field names (#11350)
ThibG [Sun, 21 Jul 2019 01:40:27 +0000 (03:40 +0200)]
Display custom emoji in bio field names (#11350)

Already displayed in public pages, but not WebUI

6 years agoNot to create an account if already exist (#11366)
ysksn [Sun, 21 Jul 2019 01:40:08 +0000 (10:40 +0900)]
Not to create an account if already exist (#11366)

6 years agoDisallow numeric-only hashtags (#11363)
ThibG [Fri, 19 Jul 2019 21:22:35 +0000 (23:22 +0200)]
Disallow numeric-only hashtags (#11363)

* Add spec covering numeric-only hashtags

* Fix hashtag regex

6 years agoFix some flash notices/alerts staying on unrelated pages (#11364)
ThibG [Fri, 19 Jul 2019 21:13:21 +0000 (23:13 +0200)]
Fix some flash notices/alerts staying on unrelated pages (#11364)

6 years agoBump strong_migrations from 0.4.0 to 0.4.1 (#11307)
dependabot-preview[bot] [Fri, 19 Jul 2019 16:08:02 +0000 (01:08 +0900)]
Bump strong_migrations from 0.4.0 to 0.4.1 (#11307)

Bumps [strong_migrations](https://github.com/ankane/strong_migrations) from 0.4.0 to 0.4.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.4.0...v0.4.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoChange single-column mode to scroll the whole page (#11359)
Eugen Rochko [Fri, 19 Jul 2019 07:25:22 +0000 (09:25 +0200)]
Change single-column mode to scroll the whole page (#11359)

Fix #10840

6 years agoFix avatar animation on hover when not logged in (#11349)
ThibG [Fri, 19 Jul 2019 07:18:23 +0000 (09:18 +0200)]
Fix avatar animation on hover when not logged in (#11349)

6 years agoAdded logout to dropdown menu (#11353)
koyu [Fri, 19 Jul 2019 01:58:46 +0000 (03:58 +0200)]
Added logout to dropdown menu (#11353)

* Added logout to dropdown menu

* Triggering build-and-test with empty commit as it seems it failed due to some internal failure

* Looks fine, ready to review

* Added changes from review

* method can be null without any problems

* Also target can be null

6 years agoFix sanitizing lists contents (#11354)
ThibG [Thu, 18 Jul 2019 23:44:58 +0000 (01:44 +0200)]
Fix sanitizing lists contents (#11354)

* Add test

* Fix code for sanitizing nested lists stripping all tags

6 years agoAdd ActivityPub actor representing the entire server (#11321)
ThibG [Thu, 18 Jul 2019 23:44:42 +0000 (01:44 +0200)]
Add ActivityPub actor representing the entire server (#11321)

* Add support for an instance actor

* Skip username validation for local Application accounts

* Add migration script to create instance actor

* Make Codeclimate happy

* Switch to id -99 for instance actor

* Remove unused `icon` and `image` attributes from instance actor

* Use if/elsif/else instead of return + ternary operator

* Add instance actor to fresh installs

* Use instance actor as instance representative

Use instance actor for forwarding reports, relay operations, and spam
auto-reporting.

* Seed database in test environment

* Fix single-user mode

* Fix tests

* Fix specs to accomodate for an extra `Account`

* Auto-reject follows on instance actor

Following an instance actor might make sense, but we are not handling that
right now, so auto-reject.

* Fix webfinger lookup and serialization for instance actor

* Rename instance actor

* Make it clear in the HTML view that the instance actor should not be blocked

* Raise cache time for instance actor as there's no dynamic content

* Re-use /about/more with a flash message for instance actor profile

6 years agoChange Dockerfile to bind to 0.0.0.0 instead of docker-compose.yml (#11351)
Eugen Rochko [Thu, 18 Jul 2019 18:28:05 +0000 (20:28 +0200)]
Change Dockerfile to bind to 0.0.0.0 instead of docker-compose.yml (#11351)

6 years agoFix only one middle dot being recognized in hashtags (#11345)
Eugen Rochko [Thu, 18 Jul 2019 01:02:56 +0000 (03:02 +0200)]
Fix only one middle dot being recognized in hashtags (#11345)

Fix #10934

6 years agoAdd aac, m4a, 3gp to allowed audio formats (#11342)
Eugen Rochko [Thu, 18 Jul 2019 01:02:30 +0000 (03:02 +0200)]
Add aac, m4a, 3gp to allowed audio formats (#11342)

Fix #11186

6 years agoChange language detection to include hashtags as words (#11341)
Eugen Rochko [Thu, 18 Jul 2019 01:02:15 +0000 (03:02 +0200)]
Change language detection to include hashtags as words (#11341)

6 years agoBump rack-attack from 6.0.0 to 6.1.0 (#11313)
dependabot-preview[bot] [Wed, 17 Jul 2019 23:07:02 +0000 (01:07 +0200)]
Bump rack-attack from 6.0.0 to 6.1.0 (#11313)

Bumps [rack-attack](https://github.com/kickstarter/rack-attack) from 6.0.0 to 6.1.0.
- [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.0.0...v6.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoBump rubocop-rails from 2.2.0 to 2.2.1 (#11308)
dependabot-preview[bot] [Wed, 17 Jul 2019 23:06:39 +0000 (01:06 +0200)]
Bump rubocop-rails from 2.2.0 to 2.2.1 (#11308)

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

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoBump puma from 3.12.1 to 4.0.1 (#11306)
dependabot-preview[bot] [Wed, 17 Jul 2019 23:06:14 +0000 (01:06 +0200)]
Bump puma from 3.12.1 to 4.0.1 (#11306)

Bumps [puma](https://github.com/puma/puma) from 3.12.1 to 4.0.1.
- [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/v3.12.1...v4.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoFix typo in StatusPolicy (#11344)
ThibG [Wed, 17 Jul 2019 22:48:26 +0000 (00:48 +0200)]
Fix typo in StatusPolicy (#11344)

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>