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/models
wxiaoguang eedb8f4129
Only use supported sort order for "explore/users" page (#29430)
Thanks to inferenceus : some sort orders on the "explore/users" page
could list users by their lastlogintime/updatetime.

It leaks user's activity unintentionally. This PR makes that page only
use "supported" sort orders.

Removing the "sort orders" could also be a good solution, while IMO at
the moment keeping the "create time" and "name" orders is also fine, in
case some users would like to find a target user in the search result,
the "sort order" might help.

![image](https://github.com/go-gitea/gitea/assets/2114189/ce5c39c1-1e86-484a-80c3-33cac6419af8)
11 months ago
..
actions Artifact deletion in actions ui (#27172) 12 months ago
activities Revert "Speed up loading the dashboard on mysql/mariadb (#28546)" (#29006) 1 year ago
admin Next round of `db.DefaultContext` refactor (#27089) 1 year ago
asymkey Update tool dependencies (#29030) 1 year ago
auth Use `crypto/sha256` (#29386) 11 months ago
avatars Refactor some legacy code and remove unused code (#28622) 1 year ago
db Add slow SQL query warning (#27545) 11 months ago
dbfs make writing main test easier (#27270) 1 year ago
fixtures Allow non-admin users to delete review requests (#29057) 11 months ago
git Start to migrate from `util.OptionalBool` to `optional.Option[bool]` (#29329) 11 months ago
issues Add API to get PR by base/head (#29242) 11 months ago
migrations Use `crypto/sha256` (#29386) 11 months ago
organization Remove unused `KeyID`. (#29167) 12 months ago
packages Fix some RPM registry flaws (#28782) 1 year ago
perm Users with `read` permission of pull requests can be assigned too (#27263) 11 months ago
project Fix comment permissions (#28213) 1 year ago
pull Add support for sha256 repositories (#23894) 1 year ago
repo Users with `read` permission of pull requests can be assigned too (#27263) 11 months ago
secret Use db.Find instead of writing methods for every object (#28084) 1 year ago
shared/types Refactor locale&string&template related code (#29165) 12 months ago
system Refactor deletion (#28610) 1 year ago
unit Make actions default enabled for newly created repository if global configuraion enabled (#27482) 1 year ago
unittest Workaround to clean up old reviews on creating a new one (#28554) 12 months ago
user Only use supported sort order for "explore/users" page (#29430) 11 months ago
webhook Refactor deletion (#28610) 1 year ago
error.go Add merge style `fast-forward-only` (#28954) 12 months ago
fixture_generation.go Replace more db.DefaultContext (#27628) 1 year ago
fixture_test.go Replace more db.DefaultContext (#27628) 1 year ago
main_test.go make writing main test easier (#27270) 1 year ago
org.go Refactor deletion (#28610) 1 year ago
org_team.go Remove GetByBean method because sometimes it's danger when query condition parameter is zero and also introduce new generic methods (#28220) 1 year ago
org_team_test.go Reduce usage of `db.DefaultContext` (#27073) 1 year ago
org_test.go Replace more db.DefaultContext (#27628) 1 year ago
repo.go Refactor deletion (#28610) 1 year ago
repo_test.go Penultimate round of `db.DefaultContext` refactor (#27414) 1 year ago
repo_transfer.go Move some repository transfer functions to service layer (#28855) 1 year ago