]> cat aescling's git repositories - mastodon.git/log
mastodon.git
6 years agoAdd GIF and WebP support for custom emojis (#11519)
Eugen Rochko [Thu, 8 Aug 2019 21:03:09 +0000 (23:03 +0200)]
Add GIF and WebP support for custom emojis (#11519)

Fix #11466

6 years agoFix “read more” button behing hidden (regression from #11404) (#11522)
ThibG [Thu, 8 Aug 2019 15:05:50 +0000 (17:05 +0200)]
Fix “read more” button behing hidden (regression from #11404) (#11522)

* Fix “read more” button behing hidden (regression from #11404)

This has the side-effect of putting the “Read more” button below possibly
trunctated polls instead of putting the poll below the “Read more”

* Remove dead code

6 years agoFix "cancel follow request" button having unreadable text in web UI (#11521)
Eugen Rochko [Thu, 8 Aug 2019 06:56:55 +0000 (08:56 +0200)]
Fix "cancel follow request" button having unreadable text in web UI (#11521)

Fix #11478

6 years agoFix acct URIs with IDN domains not being resolved (#11520)
Eugen Rochko [Wed, 7 Aug 2019 19:14:08 +0000 (21:14 +0200)]
Fix acct URIs with IDN domains not being resolved (#11520)

Fix #11494

6 years agoAdd breakdown of usage by source to admin UI for hashtags (#11517)
Eugen Rochko [Wed, 7 Aug 2019 18:20:39 +0000 (20:20 +0200)]
Add breakdown of usage by source to admin UI for hashtags (#11517)

Allows determining where the majority of posts in a hashtag come
from on a given day at a glance.

6 years agoAdd domain block notes (#11515)
ThibG [Wed, 7 Aug 2019 18:20:23 +0000 (20:20 +0200)]
Add domain block notes (#11515)

* Add database columns for adding notes to domain blocks/restrctions

* Add admin UI to set private and public comments when blocking a domain

* Add text for private and public comments on domain blocks

* Show domain block comments in admin UI

* Add comments to the domain block undo page

* Make UnblockDomainService more robust regarding upgraded domain blocks

* Allow editing domain blocks

* Rename button from “undo domain block” to “view domain block” in account admin UI

* Change test to unsilence silenced users from upgraded blocks

6 years agoFix trending tags returning less items than requested sometimes (#11513)
Eugen Rochko [Wed, 7 Aug 2019 15:08:30 +0000 (17:08 +0200)]
Fix trending tags returning less items than requested sometimes (#11513)

Add better sorting defaults to the hashtags admin UI

Add "not reviewed" filter to hashtags admin UI

6 years agoAdd number of pending accounts and pending hashtags to admin dashboard (#11514)
Eugen Rochko [Wed, 7 Aug 2019 14:13:34 +0000 (16:13 +0200)]
Add number of pending accounts and pending hashtags to admin dashboard (#11514)

6 years agoImprove focus handling with dropdown menus (#11511)
ThibG [Wed, 7 Aug 2019 11:58:53 +0000 (13:58 +0200)]
Improve focus handling with dropdown menus (#11511)

- Focus first item when activated via keyboard
- When the dropdown menu closes, give back the focus to
  the actual element which was focused prior to opening the menu

6 years agoFix account tags not being saved correctly (#11507)
Eugen Rochko [Wed, 7 Aug 2019 08:01:55 +0000 (10:01 +0200)]
Fix account tags not being saved correctly (#11507)

* Fix account tags not being saved correctly

Regression from f371b32

Fix Tag#discoverable not returning tags where listable is nil instead of true

Add notice when saving hashtags in admin UI

Change public hashtag and directory pages to return 404 for forbidden tags

* Remove unused locale string

6 years agoFix non-lowercase hashtags not being picked up by the streaming API (#11508)
Eugen Rochko [Wed, 7 Aug 2019 08:01:19 +0000 (10:01 +0200)]
Fix non-lowercase hashtags not being picked up by the streaming API (#11508)

Regression from f371b32

Fix hashtag links always being lowercase

6 years agoFix featured tags not finding the right tag on save (#11504)
Eugen Rochko [Wed, 7 Aug 2019 08:00:58 +0000 (10:00 +0200)]
Fix featured tags not finding the right tag on save (#11504)

Regression from f371b32

6 years agoFix admin dashboard missing latest features (#11505)
Eugen Rochko [Tue, 6 Aug 2019 17:40:06 +0000 (19:40 +0200)]
Fix admin dashboard missing latest features (#11505)

Fix redis-namespace deprecation warning about administrative commands

6 years agoAdd trends UI with admin and user settings (#11502)
Eugen Rochko [Tue, 6 Aug 2019 15:57:52 +0000 (17:57 +0200)]
Add trends UI with admin and user settings (#11502)

6 years agoBump faker from 1.9.6 to 2.1.0 and update faker api (#11489)
Yusuke Nakamura [Tue, 6 Aug 2019 13:33:03 +0000 (22:33 +0900)]
Bump faker from 1.9.6 to 2.1.0 and update faker api (#11489)

* Bump faker from 1.9.6 to 2.1.0

Bumps [faker](https://github.com/stympy/faker) from 1.9.6 to 2.1.0.
- [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/1.9.6...v2.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Use faker api v2

https://github.com/stympy/faker/releases/tag/2.0

6 years agoRevert "Change links in webUI to rewrite misleading links (#11426)" (#11500)
Eugen Rochko [Tue, 6 Aug 2019 10:09:28 +0000 (12:09 +0200)]
Revert "Change links in webUI to rewrite misleading links (#11426)" (#11500)

This reverts commit b31b232edfcc7f04acf828bf6829ab716b290692.

6 years agoFix image uploads being perfectly white when canvas read access is blocked (#11499)
ThibG [Tue, 6 Aug 2019 10:08:19 +0000 (12:08 +0200)]
Fix image uploads being perfectly white when canvas read access is blocked (#11499)

Fixes #11496

6 years agoImprove keyboard navigation in privacy dropdown (#11492)
ThibG [Tue, 6 Aug 2019 09:59:58 +0000 (11:59 +0200)]
Improve keyboard navigation in privacy dropdown (#11492)

* Trap tab in privacy dropdown

* Give focus back to last focused element when privacy dropdown menu closes

* Actually give back focus to the element that had it before clicking the dropdown

6 years agoImprove dropdown menu keyboard navigation (#11491)
ThibG [Tue, 6 Aug 2019 09:59:46 +0000 (11:59 +0200)]
Improve dropdown menu keyboard navigation (#11491)

* Allow selecting menu items with the space bar in status dropdown menus

* Fix modals opened by keyboard navigation being immediately closed

* Fix menu items triggering modal actions

* Add Tab trapping inside dropdown menu

* Give focus back to last focused element when status dropdown menu closes

6 years agoTrap tab in modals (#11493)
ThibG [Tue, 6 Aug 2019 09:59:28 +0000 (11:59 +0200)]
Trap tab in modals (#11493)

6 years agoFix privacy dropdown active state when dropdown is placed on top of it (#11495)
ThibG [Tue, 6 Aug 2019 09:59:14 +0000 (11:59 +0200)]
Fix privacy dropdown active state when dropdown is placed on top of it (#11495)

6 years agoChange admin UI for hashtags and add back whitelisted trends (#11490)
Eugen Rochko [Mon, 5 Aug 2019 17:54:29 +0000 (19:54 +0200)]
Change admin UI for hashtags and add back whitelisted trends (#11490)

Fix #271

Add back the `GET /api/v1/trends` API with the caveat that it does
not return tags that have not been allowed to trend by the staff.

When a hashtag begins to trend (internally) and that hashtag has
not been previously reviewed by the staff, the staff is notified.

The new admin UI for hashtags allows filtering hashtags by where
they are used (e.g. in the profile directory), whether they have
been reviewed or are pending reviewal, they show by how many people
the hashtag is used in the directory, how many people used it
today, how many statuses with it have been created today, and it
allows fixing the name of the hashtag to make it more readable.

The disallowed hashtags feature has been reworked. It is now
controlled from the admin UI for hashtags instead of from
the file `config/settings.yml`

6 years agoBump rubocop from 0.73.0 to 0.74.0 (#11486)
dependabot-preview[bot] [Mon, 5 Aug 2019 09:53:30 +0000 (18:53 +0900)]
Bump rubocop from 0.73.0 to 0.74.0 (#11486)

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

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoBump webmock from 3.6.0 to 3.6.2 (#11488)
dependabot-preview[bot] [Mon, 5 Aug 2019 09:52:57 +0000 (18:52 +0900)]
Bump webmock from 3.6.0 to 3.6.2 (#11488)

Bumps [webmock](https://github.com/bblimke/webmock) from 3.6.0 to 3.6.2.
- [Release notes](https://github.com/bblimke/webmock/releases)
- [Changelog](https://github.com/bblimke/webmock/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bblimke/webmock/compare/v3.6.0...v3.6.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoBump dotenv-rails from 2.7.4 to 2.7.5 (#11487)
dependabot-preview[bot] [Mon, 5 Aug 2019 09:42:51 +0000 (18:42 +0900)]
Bump dotenv-rails from 2.7.4 to 2.7.5 (#11487)

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

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoBump @babel/plugin-transform-react-jsx-source from 7.2.0 to 7.5.0 (#11482)
dependabot-preview[bot] [Mon, 5 Aug 2019 09:25:56 +0000 (18:25 +0900)]
Bump @babel/plugin-transform-react-jsx-source from 7.2.0 to 7.5.0 (#11482)

Bumps [@babel/plugin-transform-react-jsx-source](https://github.com/babel/babel) from 7.2.0 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.2.0...v7.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
6 years agoBump capybara from 3.27.0 to 3.28.0 (#11484)
dependabot-preview[bot] [Mon, 5 Aug 2019 09:25:40 +0000 (18:25 +0900)]
Bump capybara from 3.27.0 to 3.28.0 (#11484)

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

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
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