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
wxiaoguang a008486f5c
Refactor DeleteInactiveUsers, fix bug and add tests (#30206)
1. check `IsActive` before calling `IsLastAdminUser`.
2. Fix some comments and error messages.
3. Don't `return err` if "removing file" fails in `DeleteUser`.
4. Remove incorrect `DeleteInactiveEmailAddresses`. Active users could
also have inactive emails, and inactive emails do not support
"olderThan"
5. Add tests
12 months ago
..
actions Add API for `Variables` (#29520) 12 months ago
agit A small refactor for agit implementation (#29614) 1 year ago
asymkey Fix some pending problems (#29985) 1 year ago
attachment Add support for API blob upload of release attachments (#29507) 1 year ago
auth Migrate margin and padding helpers to tailwind (#30043) 1 year ago
automerge Simplify how git repositories are opened (#28937) 1 year ago
context Refactor external URL detection (#29973) 1 year ago
contexttest Make "/user/login" page redirect if the current user has signed in (#29583) 1 year ago
convert Performance improvements for pull request list page (#29900) 1 year ago
cron Move some asymkey functions to service layer (#28894) 1 year ago
doctor Fix gitea doctor will remove repo-avatar files when execute command `storage-archives` (#30094) 1 year ago
externalaccount Revert "Support SAML authentication (#25165)" (#29358) 1 year ago
feed More `db.DefaultContext` refactor (#27265) 1 year ago
forms Add a warning for disallowed email domains (#29658) 1 year ago
gitdiff Fix incorrect diff expander for deletion of last lines in a file (#29501) 1 year ago
indexer Fix missing issue search index update when changing status (#28325) 1 year ago
issue Fix Add/Remove WIP on pull request title failure (#29999) 1 year ago
lfs Move context from modules to services (#29440) 1 year ago
mailer Use relative links for commits, mentions, and issues in markdown (#29427) 1 year ago
markup Move context from modules to services (#29440) 1 year ago
migrations Fix duplicate migrated milestones (#30102) 1 year ago
mirror Use repo object format name instead of detecting from git repository (#29702) 1 year ago
notify Update status and code index after changing the default branch (#27018) 2 years ago
org Delete repos of org when purge delete user (#27273) 1 year ago
packages remove util.OptionalBool and related functions (#29513) 1 year ago
pull Prevent re-review and dismiss review actions on closed and merged PRs (#30065) 12 months ago
release Use repo object format name instead of detecting from git repository (#29702) 1 year ago
repository Use db.ListOptionsAll instead of db.ListOptions{ListAll: true} (#29995) 1 year ago
secrets Refactor deletion (#28610) 1 year ago
task Fix incorrect ctx usage in defer function (#27740) 1 year ago
uinotification Penultimate round of `db.DefaultContext` refactor (#27414) 1 year ago
user Refactor DeleteInactiveUsers, fix bug and add tests (#30206) 12 months ago
webhook Fix possible data race on tests (#30093) 1 year ago
wiki Move get/set default branch from git package to gitrepo package to hide repopath (#29126) 1 year ago