0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-06-30 09:48:08 +02:00

99 Commits

Author SHA1 Message Date
Lunny Xiao
c67ada10ae Merge branch 'main' into lunny/project_workflow 2026-05-28 21:00:47 -07:00
Lunny Xiao
61b1a39efe
chore: Move import path from code.gitea.io/gitea to gitea.dev (#37873) 2026-05-26 15:49:31 -07:00
Lunny Xiao
cc25afa752 Merge branch 'main' into lunny/project_workflow 2026-05-14 22:20:49 -07:00
Icy Avocado
81692ceafa
Allow multiple projects per issue and pull requests (#36784)
Add ability to add and remove multiple projects per issue
and pull request.

Resolve #12974

---------

Signed-off-by: Icy Avocado <avocado@ovacoda.com>
Co-authored-by: Tyrone Yeh <siryeh@gmail.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: OpenCode (gpt-5.2-codex) <opencode@openai.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Claude (Opus 4.7) <noreply@anthropic.com>
2026-04-30 22:38:05 +08:00
silverwind
aba87285f0
Remove dead code identified by deadcode tool (#37271)
Ran [`deadcode`](https://pkg.go.dev/golang.org/x/tools/cmd/deadcode)
(`-test ./...`) to find functions, methods and error types unreachable
from any call path (including tests), and removed the truly-dead ones.

Co-authored-by: Claude (Opus 4.7) <noreply@anthropic.com>
2026-04-20 07:52:48 +00:00
Myers Carpenter
2f5b5a9e9c
Add project column picker to issue and pull request sidebar (#37037)
Why? You are working on a ticket, it's ready to be moved to the QA
column in your project. Currently you have to go to the project, find
the issue card, then move it. With this change you can move the issue's
column on the issue page.

When an issue or pull request belongs to a project board, a dropdown
appears in the sidebar to move it between columns without opening the
board view. Read-only users see the current column name instead.

* Fix #13520
* Replace #30617

This was written using Claude Code and Opus. 

Closed:

<img width="1346" height="507" alt="image"
src="https://github.com/user-attachments/assets/7c1ea7ee-b71c-40af-bb14-aeb1d2beff73"
/>

Open:
<img width="1315" height="577" alt="image"
src="https://github.com/user-attachments/assets/4d64b065-44c2-42c7-8d20-84b5caea589a"
/>

---------

Signed-off-by: silverwind <me@silverwind.io>
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Claude (Opus 4.7) <noreply@anthropic.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: Nicolas <bircni@icloud.com>
Co-authored-by: Cursor <cursor@cursor.com>
2026-04-19 12:53:02 +00:00
Lunny Xiao
b2e3f9b5a0 Merge branch 'main' into lunny/project_workflow 2026-04-04 17:15:07 -07:00
wxiaoguang
6ca5573718
Refactor issue sidebar and fix various problems (#37045)
Fix various legacy problems, including:

* Don't create default column when viewing an empty project
* Fix layouts for Windows
* Fix (partially) #15509
* Fix (partially) #17705

The sidebar refactoring: it is a clear partial-reloading approach,
brings better user experiences, and it makes "Multiple projects" /
"Project column on issue sidebar" feature easy to be added.

---------

Signed-off-by: wxiaoguang <wxiaoguang@gmail.com>
2026-03-31 10:03:52 +08:00
Lunny Xiao
f13ae8a2e7
adjustment 2026-02-22 20:20:50 -08:00
Lunny Xiao
0cc0615926
adjustment 2026-02-22 16:53:38 -08:00
wxiaoguang
201f8e2ab3 fix 2026-02-22 14:06:07 +08:00
Lunny Xiao
726c510f6c Merge branch 'main' into lunny/project_workflow 2026-02-20 16:14:44 -08:00
Lunny Xiao
7b5de594cd
Fix permission check on org project operations (#36318) 2026-01-14 17:29:33 +00:00
Lunny Xiao
3d0448a55d
Remove unnecessary index 2025-12-29 12:34:11 -08:00
Lunny Xiao
e21fb903e3
Fix migration 2025-10-28 11:41:34 -07:00
Lunny Xiao
ae282397be
Fix lint and fix wrong migrations 2025-10-25 16:30:27 -07:00
Lunny Xiao
12feb0ee26
Add unit test and integration test 2025-10-25 16:03:53 -07:00
Lunny Xiao
635649d3bd
add translations 2025-10-24 23:59:13 -07:00
Lunny Xiao
3d081b300f
Fix bug 2025-10-24 21:35:11 -07:00
Lunny Xiao
323a24e12c
Fix bug 2025-10-24 18:37:19 -07:00
Lunny Xiao
903d605fe1
improvements 2025-10-24 10:55:10 -07:00
Lunny Xiao
c2419f8c5b
improvements 2025-10-23 22:24:52 -07:00
Lunny Xiao
822387aa38
support labels filter 2025-10-23 11:06:44 -07:00
Lunny Xiao
74fc30ff71
Support add labels and remove labels for issue's project column changed event 2025-10-23 00:47:34 -07:00
Lunny Xiao
b191ded690
Fix 2025-10-22 22:40:49 -07:00
Lunny Xiao
990d8000fd
improvements 2025-09-04 10:01:53 -07:00
Lunny Xiao
f681274e5d
enable/disable 2025-09-03 22:06:58 -07:00
Lunny Xiao
af5ba854d9
improvements 2025-09-03 21:59:46 -07:00
Lunny Xiao
20b4ce5446
improvements 2025-09-03 16:24:42 -07:00
Lunny Xiao
6af504562b
new layout 2025-09-03 13:09:28 -07:00
Lunny Xiao
5481800fe8
some improvements 2025-09-02 21:42:47 -07:00
Lunny Xiao
bf9511e63c Merge branch 'main' into lunny/project_workflow 2025-09-02 11:39:15 -07:00
wxiaoguang
0cbaa0b662
Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
Lunny Xiao
65cd3f5309
Use db.WithTx/WithTx2 instead of TxContext when possible (#35130) 2025-07-22 10:02:01 -07:00
Lunny Xiao
a4f8408190 Merge branch 'main' into lunny/project_workflow 2025-07-05 21:59:44 -07:00
TheFox0x7
eb36a4554e
enforce nolint scope (#34851)
enable nolintlint scope requirement
add comments to new directives so it's more obvious why they are in
place

---

I can also toggle the mandatory comments on if that's something of
interest.

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: Giteabot <teabot@gitea.io>
2025-06-27 07:59:55 +02:00
silverwind
1f35435b81
Run gopls modernize on codebase (#34751)
Recent modernize fixes:
https://github.com/golang/tools/commits/master/gopls/internal/analysis/modernize
2025-06-18 01:48:09 +00:00
Lunny Xiao
7c66abcd9d
Use database to store the project workflow data 2025-06-09 18:26:31 -07:00
Lunny Xiao
e7365c7294 Merge branch 'main' into lunny/project_workflow 2025-04-12 21:45:39 -07:00
Lunny Xiao
b37cb32ad6
Add web routers for project workflow 2025-04-06 12:41:25 -07:00
TheFox0x7
ee3c82f874
Enable addtional linters (#34085)
enable mirror, usestdlibbars and perfsprint 
part of: https://github.com/go-gitea/gitea/issues/34083

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-04-01 10:14:01 +00:00
TheFox0x7
0fde8ecd55
Enable testifylint rules (#34075)
enable testifylint rules disabled in:
https://github.com/go-gitea/gitea/pull/34054
2025-03-31 01:53:48 -04:00
Lunny Xiao
7fefa37271
Some work 2025-03-28 23:36:24 -07:00
Lunny Xiao
34dd91a476 Merge branch 'main' into lunny/project_workflow 2025-03-28 21:25:10 -07:00
Lunny Xiao
6c8fb8d455
Small refactor to reduce unnecessary database queries and remove duplicated functions (#33779) 2025-03-04 18:25:20 +00:00
Lunny Xiao
69de5a65c2
Fix project issues list and counting (#33594)
Co-authored-by: delvh <dev.lh@web.de>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-02-17 05:14:56 +00:00
John Smith
a025fa70ab
Add alphabetical project sorting (#33504)
Fixes #33500
2025-02-05 19:09:43 +00:00
Lunny Xiao
fb12ed211e
add workflow 2025-01-08 17:25:02 -08:00
Lunny Xiao
f2c7d32484 Merge branch 'main' into lunny/project_workflow 2025-01-08 16:42:37 -08:00
Lunny Xiao
20c7fba601
Use project's redirect url instead of composing url (#33058)
Fix #32992

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2024-12-31 19:19:53 +08:00