Eugen Rochko
fd35d69b4f
Change note length validation to ignore mention domains and URLs ( #9717 )
...
Fix #4419
2019-01-05 07:16:46 +01:00
Sir-Boops
60b0585743
Remove uneeded command and switch to images for TOR ( #9438 )
2019-01-04 16:15:09 +01:00
Eugen Rochko
f63fff4689
Fix unreadable text color in report modal for some statuses ( #9716 )
...
Fix #9697
2019-01-04 13:54:56 +01:00
ThibG
631a91cbc0
Add quick links to the admin interface in the WebUI ( #8545 )
...
* Allow to show a specific status in the admin interface
* Let the front-end know the current account is a moderator
* Add admin links to status and account menus
If the current logged-in user is an admin, add quick links to the admin
interface in account and toot dropdown menu. Suggestion by @ashkitten
* Use @statuses.first instead of @statuses[0]
2019-01-04 13:10:43 +01:00
Eugen Rochko
39d81be7de
Display fallback link card thumbnail when none is given ( #9715 )
2019-01-04 12:44:46 +01:00
Eugen Rochko
1bd7044dbc
Add mod and moderator to list of default reserved usernames ( #9713 )
2019-01-04 12:29:39 +01:00
Eugen Rochko
7c4a15a9e8
Add preview cards to non-detailed statuses on public pages ( #9714 )
2019-01-04 11:40:02 +01:00
Yamagishi Kazutoshi
566540ec71
Increase files checked by ESLint ( #9705 )
2019-01-04 11:28:38 +01:00
Eugen Rochko
82abf9b371
Fix admin UI view of local followers ( #9712 )
...
Regression from #9700
2019-01-04 11:28:14 +01:00
dependabot[bot]
d3f2258ac6
Bump rubocop from 0.61.1 to 0.62.0 ( #9702 )
...
Bumps [rubocop](https://github.com/rubocop-hq/rubocop ) from 0.61.1 to 0.62.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.61.1...v0.62.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-03 08:22:01 +01:00
dependabot[bot]
38f35886d7
Bump parallel_tests from 2.27.0 to 2.27.1 ( #9703 )
...
Bumps [parallel_tests](https://github.com/grosser/parallel_tests ) from 2.27.0 to 2.27.1.
- [Release notes](https://github.com/grosser/parallel_tests/releases )
- [Commits](https://github.com/grosser/parallel_tests/compare/v2.27.0...v2.27.1 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-03 15:59:04 +09:00
dependabot[bot]
872e1a3018
Bump webpush from 0.3.4 to 0.3.5 ( #9701 )
...
Bumps [webpush](https://github.com/zaru/webpush ) from 0.3.4 to 0.3.5.
- [Release notes](https://github.com/zaru/webpush/releases )
- [Changelog](https://github.com/zaru/webpush/blob/master/CHANGELOG.md )
- [Commits](https://github.com/zaru/webpush/compare/v0.3.4...v0.3.5 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-03 15:58:04 +09:00
Eugen Rochko
93f560423b
Fix list of local followers showing remote followers in admin UI ( #9700 )
2019-01-03 06:40:16 +01:00
ysksn
cd51dfdd76
Add specs for UrlValidator ( #9699 )
2019-01-03 13:10:20 +09:00
ysksn
3cab7b9a17
Add specs for UnreservedUsernameValidator ( #9698 )
...
* Add specs for UnreservedUsernameValidator
* Use instance variable
2019-01-03 13:10:02 +09:00
dependabot[bot]
2340af313b
Bump tty-prompt from 0.18.0 to 0.18.1 ( #9683 )
...
Bumps [tty-prompt](https://github.com/piotrmurach/tty-prompt ) from 0.18.0 to 0.18.1.
- [Release notes](https://github.com/piotrmurach/tty-prompt/releases )
- [Changelog](https://github.com/piotrmurach/tty-prompt/blob/master/CHANGELOG.md )
- [Commits](https://github.com/piotrmurach/tty-prompt/compare/v0.18.0...v0.18.1 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-02 22:39:40 +01:00
dependabot[bot]
9a05d6def6
Bump pry-rails from 0.3.8 to 0.3.9 ( #9682 )
...
Bumps [pry-rails](https://github.com/rweng/pry-rails ) from 0.3.8 to 0.3.9.
- [Release notes](https://github.com/rweng/pry-rails/releases )
- [Commits](https://github.com/rweng/pry-rails/compare/v0.3.8...v0.3.9 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-02 22:39:23 +01:00
dependabot[bot]
0affc26c26
Bump httplog from 1.1.1 to 1.2.0 ( #9681 )
...
Bumps [httplog](https://github.com/trusche/httplog ) from 1.1.1 to 1.2.0.
- [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.1.1...v1.2.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-02 22:39:02 +01:00
dependabot[bot]
6a887e5d0c
Bump tzinfo-data from 1.2018.7 to 1.2018.9 ( #9684 )
...
Bumps [tzinfo-data](https://github.com/tzinfo/tzinfo-data ) from 1.2018.7 to 1.2018.9.
- [Release notes](https://github.com/tzinfo/tzinfo-data/releases )
- [Commits](https://github.com/tzinfo/tzinfo-data/compare/v1.2018.7...v1.2018.9 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-02 22:38:18 +01:00
dependabot[bot]
f46f0b9224
Bump oj from 3.7.4 to 3.7.6 ( #9685 )
...
Bumps [oj](https://github.com/ohler55/oj ) from 3.7.4 to 3.7.6.
- [Release notes](https://github.com/ohler55/oj/releases )
- [Changelog](https://github.com/ohler55/oj/blob/master/CHANGELOG.md )
- [Commits](https://github.com/ohler55/oj/compare/v3.7.4...v3.7.6 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-02 22:37:50 +01:00
ThibG
5932f28dd0
Fix CircleCI ( #9695 )
2019-01-02 20:48:22 +01:00
Eugen Rochko
6936271536
Improve e-mail digest ( #9689 )
...
- Reduce time-to-digest from 20 to 7 days
- Fetch mentions starting from +1 day since last login
- Fix case when last login is more recent than last e-mail
- Do not render all mentions, only 40, but show number in subject
- Do not send digest to moved accounts
- Do send digest to silenced accounts
2019-01-02 10:47:32 +01:00
Yamagishi Kazutoshi
735940a1bf
Upgrade ESLint to v5.x ( #9694 )
2019-01-02 07:28:53 +01:00
ThibG
ffcaa4719a
Ensure blocked user unfollows blocker if Block/Undo Block are processed out of order ( #9687 )
...
* Ensure blocked user unfollows blocker if Block/Undo Block are processed out of order
* Add specs for Block causing unfollow and for out-of-order Block + Undo
2019-01-02 01:12:02 +01:00
Eugen Rochko
ebe56fbca1
Upgrade default Ruby version to 2.6.0 ( #9688 )
2019-01-01 16:40:17 +01:00
Eugen Rochko
611a9ff3fe
Add tootctl accounts follow ACCT ( #9414 )
...
Fix #9369
2019-01-01 16:24:26 +01:00
ThibG
fe1c04eed4
Fix icon alignment in onboarding interaction screen ( #9686 )
2019-01-01 16:19:51 +01:00
Eugen Rochko
9244a06846
Add CSV export for lists and domain blocks ( #9677 )
...
Fix #6893
Fix #9268
2019-01-01 13:44:04 +01:00
ThibG
e29480083a
Restore ReplyDistributionWorker to allow existing jobs to be processed ( #9676 )
2019-01-01 13:43:11 +01:00
Yamagishi Kazutoshi
6eae9c5601
Installing libxml2 and libxslt on Docker ( #9680 )
2019-01-01 04:03:54 +01:00
Eugen Rochko
5fee09d35f
Remove visible timestamps for notifications ( #9675 )
...
Revert #9423 . Issues with line breaks / clutter.
2018-12-31 18:12:07 +01:00
Yamagishi Kazutoshi
101a46ac24
Update dependencies for Node.js (2018-12-31) ( #9669 )
...
* Update react-* to v16.7.0
* Upgrade react-hotkeys to v1.1.4
* Update react-intl to v2.7.2
* Update react-select to v2.2.0
* Update react-swipeable-views to v0.13.0
* Upgrade react-textarea-autosize to v7.1.0
* Upgrade redux to v4.0.1
* Upgrade reselect to v4.0.0
* Update raf to v3.4.1
* Update enzyme to v3.8.0
* Update rails-ujs to v5.2.2
* Update axios to v0.18.0
* Update http-link-header to v1.0.2
* Update rellax to v1.7.1
* Update intersection-observer to v0.5.1
* Update stringz to v1.0.0
* Upgrade babel-eslint to v10.0.1
* Update @babel/* to v7.2.x
* Update babel-plugin-react-intl to v3.0.1
* Update babel-plugin-transform-react-remove-prop-types to v0.4.21
* Upgrade dotenv to v6.2.0
* Update express to v4.16.4
* Update webpack to v4.28.3
* Upgrade autoprefixer to v9.4.3
* Update babel-loader to v8.0.4
* Upgrade css-loader to v2.1.0
* Upgrade file-loader to v3.0.1
* Update marky to v1.2.1
* Update mini-css-extract-plugin to v0.5.0
* Update offline-plugin to v5.0.6
* Update style-loader to v0.23.1
* Update eslint-plugin-jsx-a11y to v6.1.2
* yarn upgrade
* fix
* Replace webpack-manifest-plugin to webpack-assets-manifest
* Replace node-zopfli to @gfz/zopfli
* Remove monkey-patch for http-link-header
2018-12-31 18:11:48 +01:00
kodai
9648c59d6f
Fix links not being verified ( #9673 )
...
Fix #9365
2018-12-31 15:29:10 +01:00
Fred Wenzel
99272005f0
Install both rvm gpg keys in vagrant ( #9670 )
2018-12-31 05:08:50 +01:00
Jeong Arm
c176b4ec80
Skip full text search if failed ( #9654 )
...
* Skip full text search if failed
* Move rescue block to "perform_statuses_search!"
2018-12-30 19:00:29 +01:00
ThibG
0244534700
Avoid duplicate work by merging ReplyDistributionWorker into DistributionWorker ( #9660 )
2018-12-30 19:00:04 +01:00
ThibG
9bc77287d2
Do not ignore federated reports targetting already-reported accounts ( #9534 )
2018-12-30 18:58:51 +01:00
ThibG
88b8ddfd9c
Immediately go back in browser history upon successfully sending toot ( #9663 )
...
Avoids possible misleading delay before redirection during which the
composer would be cleared and redrawn.
2018-12-30 18:58:25 +01:00
Takeshi Umeda
c3a406ec62
If it is disabled, remove the link of the profile directory ( #9665 )
2018-12-30 18:57:50 +01:00
ThibG
cd5a929037
Fix crash when clearing uninitialized timeline ( #9662 )
2018-12-30 18:57:39 +01:00
ThibG
bdc44c3558
Reduce usage of LD signatures ( #9659 )
...
* Do not LDS-sign Follow, Accept, Reject, Undo, Block
* Do not use LDS for Create activities of private toots
* Minor cleanup
* Ignore unsigned activities instead of misattributing them
* Use status.distributable? instead of querying visibility directly
2018-12-30 09:48:59 +01:00
ysksn
41afd670c9
Add specs for FollowLimitValidator ( #9655 )
2018-12-29 08:24:52 +01:00
ysksn
5eb6d7e3e0
Add specs for BlackListedEmailValidator ( #9651 )
...
* Add specs for BlackListedEmailValidator
* Use instance variable
2018-12-29 07:23:44 +01:00
ashleyhull-versent
9d9b81ff42
Replace Ruby 2.3 with 2.6 in CircleCI ( #9652 )
...
* Update config.yml
* Update Gemfile
* dropping ruby 2.3
2.3 EOL date: scheduled for 2019-03-31
* Updating docker containers
* Update Gemfile
2018-12-29 07:23:07 +01:00
ysksn
a3b4684435
Add specs for DisallowedHashtagsValidator ( #9653 )
...
In order to implement tests easier, `#select_tags` created.
2018-12-29 07:22:51 +01:00
Eugen Rochko
4e3131f02f
Add handler for Move activity ( #9629 )
2018-12-29 02:24:36 +01:00
Ben Lubar
02a84db787
Add healthcheck commands to docker-compose.yml ( #9143 )
...
This will allow Docker to be automatically check the health of services.
Docker won't do anything other than showing the state in the output of
"docker-compose ps" by default, but some management tools may watch for
container health events.
Here's what my local instance looks like right now:
Name Command State Ports
-------------------------------------------------------------------------------------------------------------
mastodon_db_1 docker-entrypoint.sh postgres Up (healthy)
mastodon_es_1 /usr/local/bin/docker-entr ... Up (healthy)
mastodon_redis_1 docker-entrypoint.sh redis ... Up (healthy)
mastodon_redis_cache_1 docker-entrypoint.sh redis ... Up (healthy)
mastodon_sidekiq_1 /sbin/tini -- bundle exec ... Up 3000/tcp, 4000/tcp
mastodon_streaming_1 /sbin/tini -- yarn start Up (healthy) 3000/tcp, 127.0.0.1:4000->4000/tcp
mastodon_web_1 /sbin/tini -- bash -c rm - ... Up (healthy) 127.0.0.1:3000->3000/tcp, 4000/tcp
2018-12-29 00:43:41 +01:00
ysksn
44c1647ea1
Add specs for StatusPinValidator ( #9648 )
2018-12-28 18:09:32 +09:00
ysksn
c4559969b4
Add pending specs for StatusLengthValidator ( #9647 )
...
* Add pending specs of StatusLengthValidator
* Use instance variable
2018-12-28 08:18:47 +01:00
mayaeh
6429b2f94f
Change the icon to "reply-all" when reply to other accounts ( #9378 )
2018-12-28 03:51:32 +01:00