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
Lunny Xiao a303c973e0
Fix various problems around projects board view (#30696)
# The problem
The previous implementation will start multiple POST requests from the
frontend when moving a column and another bug is moving the default
column will never be remembered in fact.

# What's changed

- [x] This PR will allow the default column to move to a non-first
position
- [x] And it also uses one request instead of multiple requests when
moving the columns
- [x] Use a star instead of a pin as the icon for setting the default
column action
- [x] Inserted new column will be append to the end
- [x] Fix #30701 the newly added issue will be append to the end of the
default column
- [x] Fix when deleting a column, all issues in it will be displayed
from UI but database records exist.
- [x] Add a limitation for columns in a project to 20. So the sorting
will not be overflow because it's int8.

---------

Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
9 months ago
..
actions Update misspell to 0.5.1 and add `misspellings.csv` (#30573) 10 months ago
activities Reduce unnecessary database queries on actions table (#30509) 10 months ago
admin
asymkey Enable more `revive` linter rules (#30608) 10 months ago
auth Fix wrong table name (#30557) 10 months ago
avatars Replace 10 more gt- classes with tw- (#29945) 11 months ago
db Fix various problems around projects board view (#30696) 9 months ago
dbfs
fixtures Update misspell to 0.5.1 and add `misspellings.csv` (#30573) 10 months ago
git Fix duplicate status check contexts (#30660) 10 months ago
issues Fix various problems around projects board view (#30696) 9 months ago
migrations Rename migration package name for 1.22-rc1 (#30730) 10 months ago
organization Resolve lint for unused parameter and unnecessary type arguments (#30750) 10 months ago
packages Fix package list performance (#30520) 10 months ago
perm Clarify permission "HasAccess" behavior (#30585) 10 months ago
project Fix various problems around projects board view (#30696) 9 months ago
pull
repo Refactor AppURL usage (#30885) 9 months ago
secret Make runs-on support variable expression (#29468) 11 months ago
shared/types Refactor locale&string&template related code (#29165) 1 year ago
system
unit Allow everyone to read or write a wiki by a repo unit setting (#30495) 10 months ago
unittest Add some tests to clarify the "must-change-password" behavior (#30693) 10 months ago
user Refactor AppURL usage (#30885) 9 months ago
webhook Store webhook event in database (#29145) 11 months ago
error.go
fixture_generation.go
fixture_test.go
main_test.go
org.go Add user blocking (#29028) 12 months ago
org_team.go Clarify permission "HasAccess" behavior (#30585) 10 months ago
org_team_test.go Add user blocking (#29028) 12 months ago
org_test.go Add user blocking (#29028) 12 months ago
repo.go
repo_test.go
repo_transfer.go chore: use errors.New to replace fmt.Errorf with no parameters will much better (#30621) 10 months ago