about summary refs log tree commit diff
path: root/lib
AgeCommit message (Collapse)Author
2019-01-01Add tootctl accounts follow ACCT (#9414)Eugen Rochko
Fix #9369
2018-12-24Add REST API for creating an account (#9572)Eugen Rochko
* 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
2018-12-24Update emoji codepoint mappings to v11.0 (#9618)Eugen Rochko
2018-12-18Fix tootctl accounts rotate not updating public keys (#9556)Eugen Rochko
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
2018-12-03Improve account suspension speed and completeness (#9290)Eugen Rochko
- 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
2018-12-02Bump version to 2.6.5 (#9413)Eugen Rochko
2018-12-02Preload common JSON-LD contexts (#9412)ThibG
Fixes #9411
2018-11-30Bump version to 2.6.4 (#9402)Eugen Rochko
2018-11-30Bump version to 2.6.3 (#9391)Eugen Rochko
2018-11-27Bump version to 2.6.2 (#9370)Eugen Rochko
2018-11-20Touch account on successful response, change char shown when culled (#9293)Renato "Lond" Cerqueira
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
2018-11-16Fix "tootctl media remove" can't count the file size (#9288)mayaeh
* Fixed an issue where "tootctl media remove" can not count the file size. * Fixed the problem pointed out by codeclimate.
2018-11-08Fix nil error regression from #9229 in tootctl media remove (#9239)Eugen Rochko
Fix #9237
2018-11-08Display amount of freed disk space in tootctl media remove (#9229)Eugen Rochko
* Display amount of freed disk space in tootctl media remove Fix #9213 * Fix code style issue
2018-10-31Bump version to 2.6.1 (#9172)Eugen Rochko
2018-10-30Bump version to 2.6.0 (#9149)Eugen Rochko
* Bump version to 2.6.0 * Update CHANGELOG.md
2018-10-30Bump version to 2.6.0rc4 (#9164)Eugen Rochko
* Bump version to 2.6.0rc4 * Update CHANGELOG.md
2018-10-29Bump version to 2.6.0rc3 (#9142)Eugen Rochko
* Bump version to 2.6.0rc3 * Update CHANGELOG.md
2018-10-27Do not remove "dead" domains in tootctl accounts cull (#9108)Eugen Rochko
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
2018-10-25cli: set exit_on_failure for all CLI classes (#9094)Sascha
2018-10-25Bump version to 2.6.0rc2 (#9087)Eugen Rochko
* Bump version to 2.6.0rc2 * Update CHANGELOG.md
2018-10-22Fix cull tripping on nil in last_webfingered_at (#9051)Eugen Rochko
Fix #8741
2018-10-21Fix tootctl cull on dead servers (#9041)Jeong Arm
* Delete first 9 accounts on dead servers * Clean up code by moving dead server culling to the end
2018-10-21Handle if username is not found on tootctl feeds build (#9040)Jeong Arm
2018-10-21Bump version to 2.6.0rc1 (#9025)Eugen Rochko
* Bump version to 2.6.0rc1 * Update AUTHORS.md * Update CHANGELOG.md
2018-10-12Bump version to 2.5.2 (#8960)Eugen Rochko
2018-10-11Bump version to 2.5.1 (#8953)Eugen Rochko
2018-10-08rubocop issues - Cleaning up (#8912)ashleyhull-versent
* cleanup pass * undo mistakes * fixed. * revert
2018-10-04Add tootctl settings registrations open (#8829)Eugen Rochko
2018-09-29Fix tootctl accounts reattaching not unsuspending deleted account (#8812)Eugen Rochko
2018-09-28Add tootctl accounts backup (#8811)Eugen Rochko
2018-09-17Unconditionally re-encode locally-uploaded images to strip metadata (#8714)ThibG
This strips metadata on file upload by re-encoding the files, at the cost of possible slight image quality decrease and processing resources.
2018-09-14Move more tasks to tootctl (#8675)Eugen Rochko
* 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
2018-09-14Misc. typos (#8694)luzpaz
Found via `codespell -q 3 --skip="./app/javascript/mastodon/locales,./config/locales"`
2018-09-10using mailto scheme in AUTHORS.md (#8663)rinsuki
2018-09-10Add rake task for generating AUTHORS.md (#8661)nightpool
* add rake task for generating AUTHORS.md * update AUTHORS.md * rubocop
2018-09-09tootctl accounts [add|del|cull] (#8642)Eugen Rochko
* 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
2018-09-02Bump version to 2.5.0Eugen Rochko
2018-09-01Bump version to 2.5.0rc2Eugen Rochko
2018-09-01Fix wrong string being used on login failure when using LDAP (#8534)Eugen Rochko
Fix #8527
2018-08-31Add --verbose and --dry-run option to tootctl media remove (#8519)mayaeh
* Add --verbose and --dry-run options to CLI interface for removing remote media. * Fix coding style problem.
2018-08-29Fix CLI interface for removing remote media (#8506)mayaeh
* Fix that can't delete media files even if "tootctl media remove" execute when "--background" not attached. * Revert This reverts commit 5aa7e09645b27bae38a26030148b23e553ee2662. * Change to obtain and pass all columns when "--background" option is false.
2018-08-26Add CLI task for rotating keys (#8466)Eugen Rochko
* If an Update is signed with known key, skip re-following procedure Because it means the remote actor did *not* lose their database * Add CLI method for rotating keys bin/tootctl accounts rotate [USERNAME] Generates a new RSA key per account and sends out an Update activity signed with the old key. * Key rotation: Space out Update fan-outs every 5 minutes per 1000 accounts * Skip suspended accounts in key rotation
2018-08-26Fix low-hanging rubocop gripes (#8458)Quint Guvernator
* rubocop: quit being so picky * rubocop: miscellany * rubocop: prefer present to blank
2018-08-26Fix NUM_DAYS in rake mastodon:media:remove_remote and print warning (#8462)Eugen Rochko
Remove old deprecated rake tasks
2018-08-26Add CLI interface for importing custom emoji (#8437)Eugen Rochko
bin/tootctl emoji import PATH_TO_TAR Fix #8435
2018-08-25Rename S3_CLOUDFRONT_HOST to S3_ALIAS_HOST. (#8423)M Somerville
Still check for S3_CLOUDFRONT_HOST for existing installs.
2018-08-25Add improved CLI interface for removing remote media (#8411)Eugen Rochko
./bin/tootctl media remove --days 7 --background Make the old rake task point to it
2018-08-23Bump version to 2.5.0rc1 (#8356)Eugen Rochko
2018-08-21Get rid of all batch order warnings (#8334)Eugen Rochko