You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/services
Gusted 61f939359d
Use a better OlderThan for DeleteInactiveUsers (#19693)
* Use a better OlderThan for DeleteInactiveUsers

- Currently the OlderThan is zero, for instances that enable or run this
task this could actually delete just new users that still need to
confirm their email. This patch fixes that by setting the default to the
`ActiveCodeLives` setting, which corresponds to the amount of time that
a user can active their account, thus avoiding the issue of deleting
unactivated email users.

* Use correct duration
3 years ago
..
agit more context for models (#19511) 3 years ago
asymkey Use for a repo action one database transaction (#19576) 3 years ago
attachment Use a struct as test options (#19393) 3 years ago
auth Move user password verification after checking his groups on ldap auth (#19587) 3 years ago
automerge Move access and repo permission to models/perm/access (#19350) 3 years ago
comments Move some issue methods as functions (#19255) 3 years ago
context Add `ContextUser` to http request context (#18798) 3 years ago
cron Use a better OlderThan for DeleteInactiveUsers (#19693) 3 years ago
externalaccount Refactor auth package (#17962) 3 years ago
forms Repository level enable package or disable (#19323) 3 years ago
gitdiff Calculate filename hash only once (#19654) 3 years ago
issue Move access and repo permission to models/perm/access (#19350) 3 years ago
lfs Move access and repo permission to models/perm/access (#19350) 3 years ago
mailer Added X-Mailer header to outgoing emails (#19562) 3 years ago
migrations Update go tool dependencies (#19676) 3 years ago
mirror Remove `git.Command.Run` and `git.Command.RunInDir*` (#19280) 3 years ago
org Use a struct as test options (#19393) 3 years ago
packages Package registry changes (#19305) 3 years ago
pull Move access and repo permission to models/perm/access (#19350) 3 years ago
release Use a struct as test options (#19393) 3 years ago
repository Move access and repo permission to models/perm/access (#19350) 3 years ago
task Use a more general (and faster) method to sanitize URLs with credentials (#19239) 3 years ago
user Use a struct as test options (#19393) 3 years ago
webhook Use queue instead of memory queue in webhook send service (#19390) 3 years ago
wiki Move some helper files out of models (#19355) 3 years ago