2019-12-26 18:41:37 +01:00
|
|
|
# A file to store app information obtained when running `create-app`
|
2019-12-26 18:34:37 +01:00
|
|
|
APP_SECRET_FILE = "cleantootsapp.secret"
|
2019-12-26 18:41:37 +01:00
|
|
|
# A file to store the user secrets obtained when running `get-credentials`
|
|
|
|
USER_SECRET_FILE = "cleantootsuser.secret"
|
|
|
|
# Your Mastodon server URL
|
2019-12-26 18:34:37 +01:00
|
|
|
API_BASE_URL = "https://fosstodon.org"
|
2019-12-26 18:41:37 +01:00
|
|
|
|
|
|
|
# IDs of toots you want to protect (never delete)
|
2019-12-26 18:34:37 +01:00
|
|
|
PROTECTED_TOOTS = [
|
|
|
|
103361883565013391,
|
|
|
|
103362008817616000,
|
|
|
|
103363106195441418,
|
|
|
|
]
|
2019-12-26 18:41:37 +01:00
|
|
|
# Toots that have at least this number of boosts won't be deleted.
|
2019-12-26 18:34:37 +01:00
|
|
|
BOOST_LIMIT = 5
|
2019-12-26 18:41:37 +01:00
|
|
|
# Toots that have at least this number of favorites won't be deleted.
|
2019-12-26 18:34:37 +01:00
|
|
|
FAVORITE_LIMIT = 5
|
2019-12-26 18:41:37 +01:00
|
|
|
# Toots that are more recent than this number of days won't be deleted.
|
2019-12-26 18:34:37 +01:00
|
|
|
DAYS_COUNT = 30
|
2019-12-26 18:41:37 +01:00
|
|
|
# The timezone to use for dates comparisons.
|
2019-12-26 18:34:37 +01:00
|
|
|
TIMEZONE = "Europe/Paris"
|