forgejo/services
Gusted 190383dbf8
[BUG] Don't delete inactive emails explicitly
- `user_model.DeleteInactiveEmailAddresses` related code was added in
Gogs as part to delete inactive users, however since then the related
code to delete users has changed and this code now already delete email
addresses of the user, it's therefore not needed anymore to
`DeleteInactiveEmailAddresses`.
- The call to `DeleteInactiveEmailAddresses` can actually cause issues.
As the associated user might not have been deleted, because it
was not older than the specified `olderThan` argument. Therefore causing
a database inconsistency and lead to internal server errors if the user
tries to activate their account.
- Adds unit test to verify correct behavior (fails without this patch).
2024-03-29 15:14:09 +01:00
..
actions Merge pull request '[ACTIONS] port scheduled actions from Gitea' (#2826) from earl-warren/forgejo:wip-gitea-schedule into forgejo 2024-03-27 06:23:56 +00:00
agit Use the database object format name but not read from git repoisitory everytime and fix possible migration wrong objectformat when migrating a sha256 repository (#29294) 2024-02-26 22:30:26 +01:00
asymkey
attachment Add support for API blob upload of release attachments (#29507) 2024-03-06 12:10:46 +08:00
auth Fix the bug that user may logout if he switch pages too fast (#29962) 2024-03-26 19:04:26 +01:00
automerge
context Merge pull request '[PORT] Unify search boxes (gitea#29530)' (#2688) from snematoda/port-29530 into forgejo 2024-03-24 05:33:13 +00:00
contexttest Make "/user/login" page redirect if the current user has signed in (#29583) 2024-03-11 23:36:58 +07:00
convert Merge pull request '[ACTIONS] port scheduled actions from Gitea' (#2826) from earl-warren/forgejo:wip-gitea-schedule into forgejo 2024-03-27 06:23:56 +00:00
cron
doctor Fix some pending problems (#29985) 2024-03-26 19:04:26 +01:00
externalaccount
feed
forgejo
forms [REFACTOR] webhook gogs endpoint 2024-03-27 15:38:39 +01:00
gitdiff [PERFORMANCE] git check-attr on bare repo if supported 2024-03-28 10:52:51 +01:00
indexer
issue [Port] gitea#29999: Fix Add/Remove WIP on pull request title failure 2024-03-29 12:21:51 +01:00
lfs Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
mailer Use relative links for commits, mentions, and issues in markdown (#29427) 2024-03-20 08:46:28 +01:00
markup Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
migrations [Windows] prevent ? in testdata path 2024-03-15 13:15:46 +01:00
mirror Use repo object format name instead of detecting from git repository (#29702) 2024-03-20 08:46:28 +01:00
notify
org
packages packages: skip error logging on duplicate 2024-03-24 07:12:31 +01:00
pull [Port] gitea#29842: Notify reviewers added via CODEOWNERS 2024-03-28 14:58:39 +01:00
release Use repo object format name instead of detecting from git repository (#29702) 2024-03-20 08:46:28 +01:00
repository Merge pull request '[PERFORMANCE] git check-attr on bare repo if supported' (#2763) from oliverpool/forgejo:check_attr_bare into forgejo 2024-03-28 11:14:52 +00:00
secrets
task
uinotification
user [BUG] Don't delete inactive emails explicitly 2024-03-29 15:14:09 +01:00
webhook [REFACTOR] webhook gogs endpoint 2024-03-27 15:38:39 +01:00
wiki Fix an actions schedule bug (#28942) 2024-03-25 16:27:32 +01:00