forgejo/routers/web
Lunny Xiao 7d3ca90dfe
Fix various problems around projects board view ()
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  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 () was not cherry-picked
	services/issue/issue.go
	fe6792dff3 Enable/disable owner and repo projects independently () was not cherry-picked
2024-05-12 20:03:10 +02:00
..
admin Add codespell support and fix a good number of typos with its help () 2024-05-09 13:49:37 +00:00
auth Prevent automatic OAuth grants for public clients () 2024-05-05 12:15:40 +01:00
devtest
events
explore
feed Teach activities.GetFeeds() how to avoid returning duplicates 2024-05-09 18:33:33 +02:00
healthcheck Add health-check test 2024-04-06 00:34:55 +02:00
misc
org Fix various problems around projects board view () 2024-05-12 20:03:10 +02:00
repo Fix various problems around projects board view () 2024-05-12 20:03:10 +02:00
shared Fix various problems around projects board view () 2024-05-12 20:03:10 +02:00
user Add codespell support and fix a good number of typos with its help () 2024-05-09 13:49:37 +00:00
base.go
githttp.go
goget.go
home.go
metrics.go
nodeinfo.go
swagger_json.go
web.go Fix various problems around projects board view () 2024-05-12 20:03:10 +02:00
webfinger.go Enable more revive linter rules () 2024-04-28 15:39:00 +02:00