Commit Graph

279 Commits (309043b158f5a4187b6f603f346ed17ee6ddb190)

Author SHA1 Message Date
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
Eugen Rochko ee5e24807f
Add `tootctl domains crawl` (#9809) 6 years ago
Eugen Rochko 15aed1ee6c
Bump version to 2.7.0rc1 (#9718) 6 years ago
Eugen Rochko ed12619985
Add tootctl accounts follow ACCT (#9414)
Fix #9369
6 years ago
Eugen Rochko 5d2fc6de32
Add REST API for creating an account (#9572)
* Add REST API for creating an account

The method is available to apps with a token obtained via the client
credentials grant. It creates a user and account records, as well as
an access token for the app that initiated the request. The user is
unconfirmed, and an e-mail is sent as usual.

The method returns the access token, which the app should save for
later. The REST API is not available to users with unconfirmed
accounts, so the app must be smart to wait for the user to click a
link in their e-mail inbox.

The method is rate-limited by IP to 5 requests per 30 minutes.

* Redirect users back to app from confirmation if they were created with an app

* Add tests

* Return 403 on the method if registrations are not open

* Require agreement param to be true in the API when creating an account
6 years ago
Eugen Rochko 2ee779dcd3
Update emoji codepoint mappings to v11.0 (#9618) 6 years ago
Eugen Rochko 857e8eb312
Fix tootctl accounts rotate not updating public keys (#9556)
This allowed you to brick your system when running that command, because the accounts would continue to advertise the old public key, but sign things with the new one
6 years ago
Eugen Rochko 6ddf0432e7
Improve account suspension speed and completeness (#9290)
- Some associations were missing from the clean-up
- Some attributes were not reset on suspension
- Skip federation and streaming deletes when purging a dead domain
- Move account association definitions to concern
6 years ago
Eugen Rochko 2df5ef18ae
Bump version to 2.6.5 (#9413) 6 years ago
ThibG 84e5ed43e7 Preload common JSON-LD contexts (#9412)
Fixes #9411
6 years ago
Eugen Rochko c480da375b
Bump version to 2.6.4 (#9402) 6 years ago
Eugen Rochko d037e88277
Bump version to 2.6.3 (#9391) 6 years ago
Eugen Rochko 637d0ed838
Bump version to 2.6.2 (#9370) 6 years ago
Renato "Lond" Cerqueira c66739b418 Touch account on successful response, change char shown when culled (#9293)
Just the color is not enough change since not everyone uses colored
terminals.
Touching the account makes it so that the account is not in the
threshold window in case of running again
6 years ago
mayaeh 8f7e3d3772 Fix "tootctl media remove" can't count the file size (#9288)
* Fixed an issue where "tootctl media remove" can not count the file size.

* Fixed the problem pointed out by codeclimate.
6 years ago
Eugen Rochko 16a16f62c7
Fix nil error regression from #9229 in tootctl media remove (#9239)
Fix #9237
6 years ago
Eugen Rochko 3ddb460449
Display amount of freed disk space in tootctl media remove (#9229)
* Display amount of freed disk space in tootctl media remove

Fix #9213

* Fix code style issue
6 years ago
Eugen Rochko ba06a5f485
Bump version to 2.6.1 (#9172) 6 years ago
Eugen Rochko 50ce347ef9
Bump version to 2.6.0 (#9149)
* Bump version to 2.6.0

* Update CHANGELOG.md
6 years ago
Eugen Rochko 66019b0ec4
Bump version to 2.6.0rc4 (#9164)
* Bump version to 2.6.0rc4

* Update CHANGELOG.md
6 years ago
Eugen Rochko e84da282f6
Bump version to 2.6.0rc3 (#9142)
* Bump version to 2.6.0rc3

* Update CHANGELOG.md
6 years ago
Eugen Rochko 6f78500d4f
Do not remove "dead" domains in tootctl accounts cull (#9108)
Leave `tootctl accounts cull` to simply check removed accounts from
live domains, and skip temporarily unavailable domains, while listing
them in the final output for further action.

Add `tootctl domains purge DOMAIN` to be able to purge a domain from
that list manually
6 years ago
Sascha b9d7021c1b cli: set exit_on_failure for all CLI classes (#9094) 6 years ago
Eugen Rochko 2f0797bdbd
Bump version to 2.6.0rc2 (#9087)
* Bump version to 2.6.0rc2

* Update CHANGELOG.md
6 years ago
Eugen Rochko f5b8bd4392
Fix cull tripping on nil in last_webfingered_at (#9051)
Fix #8741
6 years ago
Jeong Arm 2e18ad74dc Fix tootctl cull on dead servers (#9041)
* Delete first 9 accounts on dead servers

* Clean up code by moving dead server culling to the end
6 years ago
Jeong Arm 68f0e4d54e Handle if username is not found on tootctl feeds build (#9040) 6 years ago
Eugen Rochko f468bfb830
Bump version to 2.6.0rc1 (#9025)
* Bump version to 2.6.0rc1

* Update AUTHORS.md

* Update CHANGELOG.md
6 years ago
Eugen Rochko ef43f1d2ca
Bump version to 2.5.2 (#8960) 6 years ago
Eugen Rochko e6c01171de
Bump version to 2.5.1 (#8953) 6 years ago
ashleyhull-versent f194857ac9 rubocop issues - Cleaning up (#8912)
* cleanup pass

* undo mistakes

* fixed.

* revert
6 years ago
Eugen Rochko 186024a058
Add tootctl settings registrations open (#8829) 6 years ago
Eugen Rochko ac07bfb018 Fix tootctl accounts reattaching not unsuspending deleted account (#8812) 6 years ago
Eugen Rochko 38f5f9cf5b
Add tootctl accounts backup (#8811) 6 years ago
ThibG 9b32898e3c Unconditionally re-encode locally-uploaded images to strip metadata (#8714)
This strips metadata on file upload by re-encoding the files, at the cost
of possible slight image quality decrease and processing resources.
6 years ago
Eugen Rochko 6a3f9b7e53
Move more tasks to tootctl (#8675)
* Move more tasks to tootctl

- tootctl feeds build
- tootctl feeds clear
- tootctl accounts refresh

Clean up exit codes and help messages

* Move user modifying to tootctl

* Improve user modification through CLI, rename commands

add -> create
mod -> modify
del -> delete

To remove ambiguity

* Fix code style issues

* Fix not being able to unset admin/mod role
6 years ago
luzpaz 40dd19be37 Misc. typos (#8694)
Found via `codespell -q 3 --skip="./app/javascript/mastodon/locales,./config/locales"`
6 years ago
rinsuki 25dd523887 using mailto scheme in AUTHORS.md (#8663) 6 years ago
nightpool b0b484ba18 Add rake task for generating AUTHORS.md (#8661)
* add rake task for generating AUTHORS.md

* update AUTHORS.md

* rubocop
6 years ago
Eugen Rochko 47ea318479
tootctl accounts [add|del|cull] (#8642)
* CLI interface for creating/deleting local users

- tootctl accounts add USERNAME
- tootctl accounts del USERNAME

* Add CLI interface for culling remote users that no longer exist

- tootctl accounts cull
6 years ago
Eugen Rochko b65a9b7243
Bump version to 2.5.0 6 years ago