forgejo-federation/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
2022-05-13 14:49:22 +02:00
..
agit more context for models (#19511) 2022-04-28 13:48:48 +02:00
asymkey Use for a repo action one database transaction (#19576) 2022-05-03 21:46:28 +02:00
attachment Use a struct as test options (#19393) 2022-04-14 21:58:21 +08:00
auth Move user password verification after checking his groups on ldap auth (#19587) 2022-05-03 20:41:11 +08:00
automerge Move access and repo permission to models/perm/access (#19350) 2022-05-11 12:09:36 +02:00
comments Move some issue methods as functions (#19255) 2022-03-29 16:57:33 +02:00
context Add ContextUser to http request context (#18798) 2022-03-26 17:04:22 +08:00
cron Use a better OlderThan for DeleteInactiveUsers (#19693) 2022-05-13 14:49:22 +02:00
externalaccount Refactor auth package (#17962) 2022-01-02 21:12:35 +08:00
forms Repository level enable package or disable (#19323) 2022-05-08 17:51:50 +02:00
gitdiff Calculate filename hash only once (#19654) 2022-05-09 00:29:50 +02:00
issue Move access and repo permission to models/perm/access (#19350) 2022-05-11 12:09:36 +02:00
lfs Move access and repo permission to models/perm/access (#19350) 2022-05-11 12:09:36 +02:00
mailer Added X-Mailer header to outgoing emails (#19562) 2022-04-30 15:40:55 +02:00
migrations Update go tool dependencies (#19676) 2022-05-10 23:55:54 +02:00
mirror Remove git.Command.Run and git.Command.RunInDir* (#19280) 2022-04-01 10:55:30 +08:00
org Use a struct as test options (#19393) 2022-04-14 21:58:21 +08:00
packages Package registry changes (#19305) 2022-04-06 03:32:09 +02:00
pull Move access and repo permission to models/perm/access (#19350) 2022-05-11 12:09:36 +02:00
release Use a struct as test options (#19393) 2022-04-14 21:58:21 +08:00
repository Move access and repo permission to models/perm/access (#19350) 2022-05-11 12:09:36 +02:00
task Use a more general (and faster) method to sanitize URLs with credentials (#19239) 2022-03-31 10:25:40 +08:00
user Use a struct as test options (#19393) 2022-04-14 21:58:21 +08:00
webhook Use queue instead of memory queue in webhook send service (#19390) 2022-04-25 20:03:01 +02:00
wiki Move some helper files out of models (#19355) 2022-05-08 18:46:32 +02:00