forgejo/models
Lunny Xiao d91839692f
Fix various problems around projects board view (#30696)
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.

- [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>
(cherry picked from commit a303c973e0264dab45a787c4afa200e183e0d953)

Conflicts:
	routers/web/web.go
	e91733468ef726fc9365aa4820cdd5f2ddfdaa23 Add missing database transaction for new issue (#29490) was not cherry-picked
	services/issue/issue.go
	fe6792dff3 Enable/disable owner and repo projects independently (#28805) was not cherry-picked
(cherry picked from commit 7d3ca90dfe)

(cherry picked from commit 084bec89ed7ae0816fc2d8db6784ad22523d1fc4)
2024-05-14 15:51:15 +02:00
..
actions Avoid user does not exist error when detecting schedule actions when the commit author is an external user (#30357) (#30409) 2024-04-15 16:36:33 +02:00
activities Teach activities.GetFeeds() how to avoid returning duplicates 2024-05-09 18:37:30 +00:00
admin
asymkey Clean up log messages (#30313) 2024-04-15 16:11:14 +02:00
auth Fix wrong table name (#30557) (#30651) 2024-04-26 14:39:47 +02:00
avatars Replace 10 more gt- classes with tw- (#29945) 2024-03-26 19:04:27 +01:00
db Fix various problems around projects board view (#30696) 2024-05-14 15:51:15 +02:00
dbfs
fixtures test: webhook fix branch filter tests 2024-04-30 08:17:10 +00:00
forgejo/semver
forgejo_migrations Do not update PRs based on events that happened before they existed 2024-04-12 10:41:19 +02:00
git Merge pull request '[v1.22/gitea] week 2024-18 cherry pick v7.0 (take 2)' (#3580) from earl-warren/forgejo:wip-v7.0-gitea-cherry-pick into v7.0/forgejo 2024-05-01 12:36:57 +00:00
issues Fix various problems around projects board view (#30696) 2024-05-14 15:51:15 +02:00
migrations Fix wrong table name (#30557) (#30651) 2024-04-26 14:39:47 +02:00
organization Check the token's owner and repository when registering a runner (#30406) 2024-04-16 11:43:08 +02:00
packages Fix package list performance (#30520) (#30616) 2024-04-21 18:19:06 +02:00
perm Users with read permission of pull requests can be assigned too (#27263) 2024-02-26 22:30:27 +01:00
project Fix various problems around projects board view (#30696) 2024-05-14 15:51:15 +02:00
pull
repo Get repo list with OrderBy alpha should respect owner too (#30784) (#30875) 2024-05-14 15:27:25 +02:00
secret Make runs-on support variable expression (#29468) 2024-03-11 23:36:59 +07:00
shared/types
system
unit
unittest [Windows] prevent ? in testdata path 2024-03-15 13:15:46 +01:00
user [v7.0/forgejo] Add optional pronoun field in user settings (#3076) 2024-04-06 13:23:43 +00:00
webhook webhook: add admin-hooks tests 2024-04-09 21:57:34 +00:00
error.go
fixture_generation.go
fixture_test.go
main_test.go
org.go
org_team.go
org_team_test.go
org_test.go
repo.go
repo_test.go
repo_transfer.go
repo_transfer_test.go