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/db
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>
3 weeks ago
..
install Implement FSFE REUSE for golang files (#21840) 2 years ago
paginator Move more functions to db.Find (#28419) 4 months ago
collation.go Partially enable MSSQL case-sensitive collation support (#29238) 3 months ago
common.go Fix NuGet search endpoints (#25613) 10 months ago
consistency.go Fix oauth2 builtin application logic (#30304) 2 months ago
context.go Fix misuse of `TxContext` (#30061) 2 months ago
context_committer_test.go Fix halfCommitter and WithTx (#22366) 1 year ago
context_test.go Always reuse transaction (#22362) 1 year ago
convert.go Recommend/convert to use case-sensitive collation for MySQL/MSSQL (#28662) 5 months ago
engine.go Fix various problems around projects board view (#30696) 3 weeks ago
engine_test.go Rename `Sync2` -> `Sync` (#26479) 10 months ago
error.go Refactor deletion (#28610) 5 months ago
index.go Fix index generation parallelly failure (#25235) 12 months ago
index_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
iterate.go refactor: make db iterate context aware (#27710) 7 months ago
iterate_test.go Remove GetByBean method because sometimes it's danger when query condition parameter is zero and also introduce new generic methods (#28220) 6 months ago
list.go Fix joins in `db.Find(AndCount)` (#28978) 4 months ago
list_test.go Use db.Find instead of writing methods for every object (#28084) 6 months ago
log.go Replace `interface{}` with `any` (#25686) 11 months ago
main_test.go make writing main test easier (#27270) 8 months ago
name.go Implement FSFE REUSE for golang files (#21840) 2 years ago
search.go Split lfs size from repository size (#22900) 11 months ago
sequence.go Refactor `setting.Database.UseXXX` to methods (#23354) 1 year ago
sql_postgres_with_schema.go Fix .golangci.yml (#22868) 1 year ago