Eugen Rochko
626a544d08
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
2018-12-03 01:32:08 +01:00
Eugen Rochko
9b85750348
Bump version to 2.6.5 ( #9413 )
2018-12-02 17:41:38 +01:00
Eugen Rochko
ecc22893f6
Bump version to 2.6.4 ( #9402 )
2018-11-30 21:38:09 +01:00
Eugen Rochko
ab3f2aba04
Bump version to 2.6.3 ( #9391 )
2018-11-30 14:20:15 +01:00
Eugen Rochko
163c5e6893
Bump version to 2.6.2 ( #9370 )
2018-11-27 13:56:47 +01:00
Renato "Lond" Cerqueira
55aa92b893
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
2018-11-20 22:25:32 +01:00
mayaeh
214aab8715
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.
2018-11-16 09:47:40 +01:00
Eugen Rochko
eed84cacba
Fix nil error regression from #9229 in tootctl media remove ( #9239 )
...
Fix #9237
2018-11-08 21:55:59 +01:00
Eugen Rochko
a178e66988
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
2018-11-08 21:06:26 +01:00
Eugen Rochko
56e256b686
Bump version to 2.6.1 ( #9172 )
2018-10-31 01:04:45 +01:00
Eugen Rochko
15fd0fb2cf
Bump version to 2.6.0 ( #9149 )
...
* Bump version to 2.6.0
* Update CHANGELOG.md
2018-10-30 22:06:59 +01:00
Eugen Rochko
4c8ac98fa0
Bump version to 2.6.0rc4 ( #9164 )
...
* Bump version to 2.6.0rc4
* Update CHANGELOG.md
2018-10-30 17:37:49 +01:00
Eugen Rochko
e6c91483fb
Bump version to 2.6.0rc3 ( #9142 )
...
* Bump version to 2.6.0rc3
* Update CHANGELOG.md
2018-10-29 14:15:54 +01:00
Eugen Rochko
f435af86e7
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
2018-10-27 22:56:16 +02:00
Sascha
94b16add64
cli: set exit_on_failure for all CLI classes ( #9094 )
2018-10-25 16:05:33 +02:00
Eugen Rochko
9035c156c2
Bump version to 2.6.0rc2 ( #9087 )
...
* Bump version to 2.6.0rc2
* Update CHANGELOG.md
2018-10-25 04:42:25 +02:00
Eugen Rochko
7f1b063420
Fix cull tripping on nil in last_webfingered_at ( #9051 )
...
Fix #8741
2018-10-22 16:58:08 +02:00
Jeong Arm
e1a7e7b9cc
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
2018-10-21 22:52:27 +02:00
Jeong Arm
2f0318d360
Handle if username is not found on tootctl feeds build ( #9040 )
2018-10-21 16:42:22 +02:00
Eugen Rochko
bb62322411
Bump version to 2.6.0rc1 ( #9025 )
...
* Bump version to 2.6.0rc1
* Update AUTHORS.md
* Update CHANGELOG.md
2018-10-21 00:49:36 +02:00
Eugen Rochko
6cd4eaaee7
Bump version to 2.5.2 ( #8960 )
2018-10-12 00:24:09 +02:00
Eugen Rochko
a441df3e19
Bump version to 2.5.1 ( #8953 )
2018-10-11 02:29:32 +02:00
ashleyhull-versent
00d31a292c
rubocop issues - Cleaning up ( #8912 )
...
* cleanup pass
* undo mistakes
* fixed.
* revert
2018-10-08 04:50:11 +02:00
Eugen Rochko
1a1160ee24
Add tootctl settings registrations open ( #8829 )
2018-10-04 16:05:54 +02:00
Eugen Rochko
20beab56e4
Fix tootctl accounts reattaching not unsuspending deleted account ( #8812 )
2018-09-29 18:40:40 +09:00
Eugen Rochko
6dd97b97be
Add tootctl accounts backup ( #8811 )
2018-09-28 03:34:24 +02:00
Eugen Rochko
26d73847cb
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
2018-09-14 17:42:22 +02:00
luzpaz
1bce70d3c7
Misc. typos ( #8694 )
...
Found via `codespell -q 3 --skip="./app/javascript/mastodon/locales,./config/locales"`
2018-09-14 00:53:09 +02:00
Eugen Rochko
2aee3c9f23
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
2018-09-09 13:33:36 +02:00
Eugen Rochko
e3fdf02943
Bump version to 2.5.0
2018-09-02 22:32:27 +02:00
Eugen Rochko
894e01163b
Bump version to 2.5.0rc2
2018-09-01 03:37:43 +02:00
mayaeh
6823e24a9d
Add --verbose and --dry-run option to tootctl media remove ( #8519 )
...
* Add --verbose and --dry-run options to CLI interface for removing remote media.
* Fix coding style problem.
2018-08-31 03:46:13 +02:00
mayaeh
2adac68cc7
Fix CLI interface for removing remote media ( #8506 )
...
* 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-29 18:35:09 +02:00
Eugen Rochko
1d319c531e
Add CLI task for rotating keys ( #8466 )
...
* 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-26 20:21:03 +02:00
Eugen Rochko
7271a40d09
Add CLI interface for importing custom emoji ( #8437 )
...
bin/tootctl emoji import PATH_TO_TAR
Fix #8435
2018-08-26 16:53:06 +02:00
Eugen Rochko
e6e845f74d
Add improved CLI interface for removing remote media ( #8411 )
...
./bin/tootctl media remove --days 7 --background
Make the old rake task point to it
2018-08-25 13:25:39 +02:00
Eugen Rochko
fc45d4a096
Bump version to 2.5.0rc1 ( #8356 )
2018-08-23 23:30:57 +02:00
Eugen Rochko
13df3889f0
Redesign public profiles and toots ( #8068 )
2018-07-28 19:25:33 +02:00
Eugen Rochko
54a78d1837
Bump version to 2.4.3
2018-07-11 11:21:27 +02:00
Eugen Rochko
ea88974c04
Bump version to 2.4.3rc3
2018-07-11 01:31:23 +02:00
Eugen Rochko
52fd091fe7
Bump version to 2.4.3rc2
2018-07-07 22:23:52 +02:00
Eugen Rochko
47fd3f260c
Bump version to 2.4.3rc1
2018-07-05 21:08:03 +02:00
Eugen Rochko
5db8a0ba36
Bump version to 2.4.2
2018-06-19 01:45:00 +02:00
Eugen Rochko
d2a1e2e850
Bump version to 2.4.2rc3
2018-06-19 00:19:54 +02:00
Eugen Rochko
8b2ab128a2
Bump version to 2.4.2rc2
2018-06-18 23:01:52 +02:00
Eugen Rochko
5bcb18127c
Bump version to 2.4.2rc1
2018-06-15 20:38:41 +02:00
Eugen Rochko
daf9bf9f12
Bump version to 2.4.1
2018-06-10 17:20:56 +02:00
Eugen Rochko
e23ccfa059
Bump version to 2.4.1rc4
2018-06-10 00:39:56 +02:00
Eugen Rochko
e28866b313
Bump version to 2.4.1rc3
2018-06-06 21:27:06 +02:00
Eugen Rochko
36528f28a5
Bump version to 2.4.1rc2
2018-06-05 11:53:30 +00:00
Eugen Rochko
eebe7fb2d5
Bump version to 2.4.1rc1
2018-05-30 19:16:41 +02:00
Eugen Rochko
8205147d04
Bump version to 2.4.0
2018-05-22 19:39:35 +02:00
Eugen Rochko
bbdce87b80
Bump version to 2.4.0rc5
2018-05-21 16:05:31 +02:00
Eugen Rochko
604eae1677
Bump version to 2.4.0rc4
2018-05-19 18:38:10 +02:00
MIYAGI Hikaru
7dbf83d6b8
User agent for WebFinger ( #7531 )
...
* User agent for WebFinger
* local_domain → web_domain
* 'http' is away accidentally...
2018-05-18 01:47:22 +02:00
Eugen Rochko
dceab1af01
Bump version to 2.4.0rc3
2018-05-14 17:46:44 +02:00
Eugen Rochko
759b2b9c99
Bump version to 2.4.0rc2
2018-05-14 14:49:38 +02:00
Eugen Rochko
0dcb01855c
Bump version to 2.4.0rc1 ( #7283 )
2018-05-06 11:50:00 +02:00
ThibG
f2ecedaab5
Fixes/do not override timestamps ( #7336 )
...
* Revert "Fixes/do not override timestamps (#7331 )"
This reverts commit 9c1e1005f4
.
* Document Snowflake ID corner-case a bit more
Snowflake IDs are used for two purposes: making object identifiers harder to
guess and ensuring they are in chronological order. For this reason, they
are based on the `created_at` attribute of the object.
Unfortunately, inserting items with older snowflakes IDs will break the
assumption of consumers of the paging APIs that new items will always have
a greater identifier than the last seen one.
* Add `override_timestamps` virtual attribute to not correlate snowflake ID with created_at
2018-05-03 23:02:46 +02:00
Eugen Rochko
0370c0f4d6
Add support for separate Redis for cache ( #7272 )
...
* Add support for separate Redis for cache
CACHE_REDIS_URL to allow using a different Redis server for cache
purposes, with cache-specific configuration such as key eviction
* Fix code style issues
2018-04-27 01:37:59 +02:00
Yamagishi Kazutoshi
3aee1034e5
Add extract_foreign_key_action to Mastodon::MigrationHelpers ( #7195 )
2018-04-20 12:21:28 +02:00
Eugen Rochko
ebba6fb7f5
Fix UniqueUsernameValidator comparison ( #6926 )
...
Comparison was downcasing only one side, therefore if previously
existing account had a non-lowercase spelling, it would be ignored
when checking for duplicates.
New rake task `mastodon:maintenance:find_duplicate_usernames` will
help find constraint violations that might have occured from the
presence of this bug.
Bump version to 2.3.3
2018-03-27 04:33:57 +02:00
Eugen Rochko
3939ca8a33
Bump version to 2.3.2
2018-03-22 14:13:46 +01:00
Eugen Rochko
f4ef86a334
Bump version to 2.3.2rc5
2018-03-22 11:31:52 +01:00
Eugen Rochko
8ccf42c149
Bump version to 2.3.2rc4
2018-03-20 23:49:24 +01:00
Eugen Rochko
fd86b58568
Bump version to 2.3.2rc3
2018-03-19 12:20:57 +01:00
Eugen Rochko
a9538ac293
Bump version to 2.3.2rc2
2018-03-17 15:28:52 +01:00
Eugen Rochko
64d5c8a512
Bump version to 2.3.2rc1
2018-03-17 14:07:00 +01:00
Eugen Rochko
61ad11683d
Bump version to 2.3.1
2018-03-13 15:50:15 +01:00
Eugen Rochko
3bf841c74e
Bump version to 2.3.1rc3
2018-03-13 09:21:21 +01:00
Eugen Rochko
9350e691cc
Bump version to 2.3.1rc2
2018-03-12 12:48:49 +01:00
Eugen Rochko
b744cfee18
Bump version to 2.3.1rc1
2018-03-11 15:13:13 +01:00
Eugen Rochko
f08bc1f188
Bump version to 2.3.0
2018-03-09 12:59:58 +01:00
Eugen Rochko
38e93a9541
Bump version to 2.3.0rc3
2018-03-08 11:19:02 +01:00
Eugen Rochko
5b2d4c84d9
Bump version to 2.3.0rc2
2018-03-07 12:06:23 +01:00
Eugen Rochko
4bd1403368
Bump version to 2.3.0rc1
2018-03-01 20:50:23 +01:00
Eugen Rochko
9d2cb4d12d
Bump version to 2.2.0
2018-01-29 01:12:36 +01:00
Eugen Rochko
9c212f0f28
ASSET_HOST is wrong env variable. Fix to CDN_HOST ( #6372 )
2018-01-29 01:06:39 +01:00
Eugen Rochko
de667c2a95
Bump to 2.2.0rc2
2018-01-24 04:16:30 +01:00
Eugen Rochko
8f60c22ba4
Fix #6311 : Replace relative URLs in CSS only for Premailer ( #6335 )
2018-01-24 02:57:14 +01:00
Eugen Rochko
b9794f1a49
Bump version to 2.2.0rc1
2018-01-20 16:27:19 +01:00
Eugen Rochko
896cadceed
Improve HTML e-mails based on Litmus tests ( #6301 )
...
* Use PNG images in HTML e-mails
* Make webpack use URLs with host so fonts load inside HTML e-mails
Convert this back to a relative URL in the premailer CSS loader
since local requests are quicker
* Improve responsive design
* Add missing PNG icon
2018-01-20 01:32:21 +01:00
Eugen Rochko
9613c3238c
HTML e-mails for UserMailer ( #6256 )
...
- premailer gem to turn CSS into inline styles automatically
- rework UserMailer templates
- reword UserMailer templates
2018-01-16 03:29:11 +01:00
Eugen Rochko
87dd894cf4
Bump version to 2.1.3
2018-01-08 19:15:31 +01:00
Eugen Rochko
76268627c2
Bump version to 2.1.2
2018-01-05 04:52:06 +01:00
Eugen Rochko
a0273c2c5e
Bump version to 2.1.1 ( #6164 )
2018-01-04 16:40:26 +01:00
Daigo 3 Dango
64ae134e7b
Remove period from the version number ( #6039 )
...
2.1.0. -> 2.1.0
2017-12-15 21:38:25 +01:00
Eugen Rochko
b23c9ab7de
Bump version to 2.1.0 🎆
2017-12-15 19:14:57 +01:00
Eugen Rochko
1079099d2b
Bump version to 2.1.0rc6
2017-12-15 02:00:28 +01:00
Eugen Rochko
d4849787c5
Bump version to 2.1.0rc5
2017-12-13 20:53:39 +01:00
Eugen Rochko
cae49f11c7
Bump version to 2.1.0rc4
2017-12-13 12:45:12 +01:00
Eugen Rochko
a6fdeedb47
Bump version to 2.1.0rc3
2017-12-09 02:42:59 +01:00
Eugen Rochko
3126869f5a
Bump version to 2.1.0rc2
2017-12-08 01:47:08 +01:00
Eugen Rochko
11a9900269
Bump version to 2.1.0rc1 ( #5834 )
2017-12-06 16:13:32 +01:00
Yamagishi Kazutoshi
fba46b6072
Using double splat operator ( #5859 )
2017-12-06 11:41:57 +01:00
ysksn
08cb63c360
Remove empty strings ( #5732 )
2017-11-17 10:52:30 +09:00
Eugen Rochko
b222a9d5ee
Bump version to 2.0.0 🐘
2017-10-18 13:53:56 +02:00
Eugen Rochko
cb48c98e02
Bump version to 2.0.0rc4
2017-10-17 23:16:35 +02:00
Eugen Rochko
7603119d3a
Bump version to 2.0.0rc3
2017-10-16 16:29:00 +02:00
aschmitz
93e3eaf95d
Fix #5329 ( #5332 )
...
This fixes #5329 , which occurred when using MigrationHelpers on a
table that Postgres estimated to be non-empty when it was actually
empty.
2017-10-11 21:20:39 +02:00