Commit Graph

319 Commits (28636f43e4b0c04befa243b847c38e81c90f1289)

Author SHA1 Message Date
Darius Kazemi f96f45ef12 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
5 years ago
Eugen Rochko 24552b5160
Add whitelist mode (#11291) 5 years ago
dependabot-preview[bot] 15de24a425 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 ago
mayaeh 0d80f686d8 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 ago
Clar Fon a6b4440115 Remove pre from version, add extra suffix variable (#11407) 6 years ago
Eugen Rochko e64e6a03dd
Add categories for custom emojis (#11196)
Fix #7940
6 years ago
Eugen Rochko b5c772c3d4
Bump version to 2.9.2 (#11152) 6 years ago
Eugen Rochko 84f945d64c
Bump version to 2.9.1 (#11143) 6 years ago
Eugen Rochko 8f23726918
Fix converted media being saved with original extension and mime type (#11130) 6 years ago
Eugen Rochko c9eeb2e832
Bump version to 2.9.0 (#11074) 6 years ago
Eugen Rochko 275f09ccab
Bump version to 2.9.0rc2 (#11070) 6 years ago
Eugen Rochko 0949c43ab3
Bump version to 2.9.0rc1 (#11004) 6 years ago
Darius Kazemi 4431ce52a6 Specify gzip required in tootctl emoji help (#11000) 6 years ago
Eugen Rochko 5cdb4c483f
Forward port version bumps to 2.8.3 and 2.8.4 (#10819)
* Bump version to 2.8.3

* Bump version to 2.8.4
6 years ago
ThibG 14f6ce2885 Record account suspend/silence time and keep track of domain blocks (#10660)
* Record account suspend/silence time and keep track of domain blocks

* Also unblock users who were suspended/silenced before dates were recorded

* Add tests

* Keep track of suspending date for users suspended through the CLI

* Show accurate number of accounts that would be affected by unsuspending an instance

* Change migration to set silenced_at and suspended_at

* Revert "Also unblock users who were suspended/silenced before dates were recorded"

This reverts commit a015c65d2d.

* Switch from using suspended and silenced to suspended_at and silenced_at

* Add post-deployment migration script to remove `suspended` and `silenced` columns

* Use Account#silence! and Account#suspend! instead of updating the underlying property

* Add silenced_at and suspended_at migration to post-migration

* Change account fabricator to translate suspended and silenced attributes

* Minor fixes

* Make unblocking domains always retroactive
6 years ago
Jeong Arm 03801fcaa5 Remove custom emojis on "tootctl domains purge" (#10721)
* Remove custom emojis on domains purge

* Change message "Removing" to "Removed"
6 years ago
Eugen Rochko 2508370f44
Bump version to 2.8.2 (#10703) 6 years ago
Ushitora Anqou 56880fa76a Add SOURCE_TAG to show source repository's tag (#10698) 6 years ago
Eugen Rochko 8025a41a1f
Add `tootctl cache clear` (#10689) 6 years ago
Eugen Rochko 5f9f610a23
Bump version to 2.8.1 (#10687) 6 years ago
Eugen Rochko d77ee3f276
Fix accounts created through tootctl not being always pre-approved (#10684)
Add `--approve` option to `tootctl accounts modify`
6 years ago
Eugen Rochko fba96c808d
Add blurhash (#10630)
* Add blurhash

* Use fallback color for spoiler when blurhash missing

* Federate the blurhash and accept it as long as it's at most 5x5

* Display unknown media attachments as blurhash placeholders

* Improve style of embed actions and spoiler button

* Change blurhash resolution from 3x3 to 4x4

* Improve dependency definitions

* Fix code style issues
6 years ago
Sho Kusano 3e6c7f3617 Configrationable repository url (#10600)
* config: Add GITHUB_REPOSITORY for repository name

* config: Add SOURCE_BASE_URL for repository url

* Show source_url and repository name on getting started
6 years ago
Eugen Rochko 6afab2587d
Bump version to 2.8.0 (#10550) 6 years ago
Eugen Rochko 830c2a9ccb
Bump version to 2.8.0rc3 (#10535) 6 years ago
Eugen Rochko c03f926cf3
Bump version to 2.8.0rc2 (#10501) 6 years ago
Takeshi Umeda 08ba69b538 Add `tootctl accounts reset-relationships` (#10483)
* Add `tootctl accounts reset`

* Rename reset to reset-relationships

* Improve command description
6 years ago
Eugen Rochko 20d301c383
Fix missing long description on `tootctl statuses remove` (#10482) 6 years ago
Eugen Rochko 6689e572f3
Add `tootctl emoji purge` (#10481)
Fix #10441
6 years ago
Eugen Rochko e007c7a99b
Add `tootctl accounts approve` (#10480) 6 years ago
Ben Lubar e6814a332c Fix `tootctl accounts cull` (#10460)
* List the actual accounts that would have been culled during a dry run.

Otherwise, the dry run mode is basically useless.

* Prevent unreachable domains from inheriting the previous status code.

* Update CHANGELOG.md for #10460.
6 years ago
Jeong Arm 67eb47e25f Simplify culling and fix race condition (#10440) 6 years ago
Eugen Rochko ac650d7a13
Bump version to 2.8.0rc1 (#10340)
Update AUTHORS.md
Update CHANGELOG.md
6 years ago
Eugen Rochko 026dd75208
Add `tootctl self-destruct` (#10367)
Fix #10305
6 years ago
Eugen Rochko 5d41532d94
Add `tootctl search deploy` to avoid ugly rake task syntax (#10403) 6 years ago
Eugen Rochko 51e154f5e8
Admission-based registrations mode (#10250)
Fix #6856
Fix #6951
6 years ago
Eugen Rochko 67665023c3
Add `tootctl statuses remove` to sweep unreferenced statuses (#10063)
Query by @tateisu

Fix #1554
6 years ago
Eugen Rochko 7d5e2dda78
Bump version to 2.7.4 (#10179) 6 years ago
Eugen Rochko 96db7191d8
Bump version to 2.7.3 (#10102) 6 years ago
Eugen Rochko 7853be1f06
Bump version to 2.7.2 (#10067) 6 years ago
Eugen Rochko 28866d329b
Bump version to 2.7.1 (#9932) 6 years ago
Stanislas 01bc2f84a9 Fix SUPERUSER postgres command (#9877) 6 years ago
Eugen Rochko e9cd3636c6
Fix `tootctl accounts delete` not deleting user record as well (#9874) 6 years ago
Eugen Rochko 7cf85c0133
Bump version to 2.7.0 6 years ago
Eugen Rochko 9fd6443487
Add translators to AUTHORS.md (#9865) 6 years ago
Eugen Rochko 7c3fddeab4
Change CHANGELOG.md references from pull requests to authors (#9864)
Add `rake repo:changelog` to do that automatically
6 years ago
Eugen Rochko 57e79eb1c2
Bump to 2.7.0rc3 6 years ago
Eugen Rochko b59818d4ab
Bump version to 2.7.0rc2 (#9836) 6 years ago
Eugen Rochko 3c218cd76d
Add `tootctl --version` (#9835) 6 years ago
Eugen Rochko 59e3a7f87b
Fix `tootctl domains crawl` with JSON format output crash (#9820)
Fix #9817
6 years ago