Commit Graph

19928 Commits

Author SHA1 Message Date
xinitx
28adf2541d !110 完善了devcontainer相关功能细节
完善了devcontainer相关功能细节 见https://gitee.com/devstar/devstar/issues/ID2H25
2025-10-31 07:44:19 +00:00
孟宁
130bb879f2 !109 添加了对webterminal:latest镜像拉取异常处理
* 添加了对webterminal:latest镜像拉取异常处理
* Merge branch 'main' into custom/devstar
2025-10-20 09:50:53 +00:00
xinitx
9071a754f4 !108 给devcontainer增加变量和脚本功能
给devcontainer增加变量和脚本功能

- 能从devstar.cn上获取预定义的DEVSTAR_开头的变量或脚本
- 添加到脚本管理中的变量名,在devcontainer启动时会自动执行,然后才执行devcontainer.json中用户自定义脚本,其中可以调用设置的变量或脚本
- 变量或脚本在用户设置、项目设置和后台管理中都可以添加,如有重名优先级为:用户设置 > 项目设置 > 后台管理
2025-10-18 08:53:50 +00:00
xinitx
95db97af94 !99 add devcontainer feature
* VSCode一类IDE的DevStar插件相关的功能或地址的命名以vscode为前缀替代原来的devstar前缀,命名上的指向性更明确
* add devcontainer feature
2025-09-20 01:56:37 +00:00
ilovcaitlyn
e394f631a6 !107 fixed-bug of .gitea/workflows/devstar-studio-autotest.yaml
fixed-bug of .gitea/workflows/devstar-studio-autotest.yaml
2025-09-12 05:51:05 +00:00
ilovcaitlyn
4f60c1578d !105 add ci/cd autotest and wechat test
1.微信功能相关测试
2.修复make test错误
  * `objectformat`扩展是Git在2.42版本左右引入的,用于支持SHA256哈希,因此需要git --version >1.42

3.前端,后端单元测试CI流水线
2025-08-31 07:11:20 +00:00
vecmatex
92675898ad !103 增加了本地调试CI/CD脚本的简明指南.gitea/workflows/README.md
增加了本地调试CI/CD脚本的简明指南.gitea/workflows/README.md
2025-08-26 10:05:05 +00:00
孟宁
974bf5b05a !98 为DevStar定制home宣传页面
* 为DevStar定制home宣传页面
2025-08-17 02:31:14 +00:00
孟宁
a8cf86f709 !95 make devstar & CI/CD
* make devstar && CI/CD
2025-08-10 06:38:14 +00:00
vecmatex
b9ff967366 !94 实现devstar可以在对应配置的k8s上添加和删除runner
* 修复runners.go中关于ctx的编译报错
* Merge branch 'main' of gitee.com:devstar/devstar into feature/runner
* 实现devstar可以在对应配置的k8s上添加和删除runner
* 实现了修改runner的标签的功能
* 单机部署环境下实现Web界面上启动和删除runner
* 启动时能够自动启动act_runner
2025-08-10 03:29:09 +00:00
孟宁
68512a67c8 !93 add DevStar模板 in /repo/create
* 减少不必要更改,恢复GenerateGitContent
* 清理一些不必要的格式差异
* add DevStar模板 in /repo/create
2025-08-09 07:30:07 +00:00
孟宁
bdefb59a5b !91 porting wechat login from dev branch
Merge pull request !91 from 孟宁/feature/wechat
2025-07-29 07:20:46 +00:00
孟宁
e1cd3f9ba6 porting wechat login from dev branch 2025-07-28 16:05:40 +08:00
孟宁
5d0d30fba8 !90 fixed-bug: unknown flag: --disable-content-trust
Merge pull request !90 from 孟宁/custom/devstar
2025-07-24 09:26:11 +00:00
孟宁
3cf1fe3fcb fixed-bug: unknown flag: --disable-content-trust 2025-07-24 17:24:42 +08:00
孟宁
b6b762e9b5 !89 fixed-bug: CI脚本
Merge pull request !89 from 孟宁/custom/devstar
2025-07-24 08:54:16 +00:00
孟宁
f8c63c80b7 fixed-bug: CI脚本 2025-07-24 16:52:59 +08:00
root
4bb00e7017 fixed-bug: CI脚本 2025-07-24 16:49:00 +08:00
孟宁
3a44e5cd8d !88 合并定制化logo、备案号和构建调试安装脚本
* 开发环境配置方法、CI脚本、安装脚本
* 备案号可配置BEIAN_NUMBER = 苏ICP备888888888号-1 in [server] of app.ini
* custom logo feature in -/admin/config/settings
2025-07-24 07:58:02 +00:00
root
812373d716 开发环境配置方法、CI脚本、安装脚本 2025-07-24 15:50:17 +08:00
孟宁
ec0f63e362 备案号可配置BEIAN_NUMBER = 苏ICP备888888888号-1 in [server] of app.ini 2025-07-21 17:15:34 +08:00
孟宁
abccf0f174 custom logo feature in -/admin/config/settings 2025-07-20 13:26:57 +08:00
wxiaoguang
6599efb3b1 Fix user's sign email check (#35045)
Fix #21692
2025-07-12 15:13:01 +08:00
GiteaBot
6090d70915 [skip ci] Updated translations via Crowdin 2025-07-12 00:38:42 +00:00
Lunny Xiao
1352080ef7 Fix incorrect comment diff hunk parsing, fix github asset ID nil panic (#35046)
* Fix missing the first char when parsing diff hunk header
* Fix #35040
* Fix #35049

----

Introduced in
https://github.com/go-gitea/gitea/pull/12047/files#diff-de48c2f70e24ff5603180acf8b5ce9d0356ede8a45bfbf2a485707282ace6d6aR268

Before:

<img width="487" height="167" alt="image"
src="https://github.com/user-attachments/assets/17524c76-a296-4b4b-a4f9-c5150c41bae5"
/>

After:

<img width="749" height="144" alt="image"
src="https://github.com/user-attachments/assets/bcb12c76-c1ae-40f1-81b7-183d15f891db"
/>

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-07-11 15:18:41 -07:00
NorthRealm
56eccb4995 Add Notifications section in User Settings (#35008)
Related: #34982

---------

Signed-off-by: NorthRealm <155140859+NorthRealm@users.noreply.github.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-07-11 10:17:52 +08:00
Lunny Xiao
b46623f6a5 Fix updating user visibility (#35036)
Fix #35030

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-07-10 16:17:28 -07:00
Lunny Xiao
7a15334656 Fix git commit committer parsing and add some tests (#35007)
* Fix #34991
* Fix #34882

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-07-10 19:03:36 +00:00
wxiaoguang
a5a3d9b101 Refactor OpenIDConnect to support SSH/FullName sync (#34978)
* Fix #26585
* Fix #28327
* Fix #34932
2025-07-10 18:35:59 +00:00
wxiaoguang
6ab6d4e17f Support base64-encoded agit push options (#35037) 2025-07-10 18:08:40 +00:00
Naxdy
32152a0ac0 Also display "recently pushed branch" alert on PR view (#35001)
This commit adds the "You recently pushed to branch X" alert also to PR
overview, as opposed to only the repository's home page.

GitHub also shows this alert on the PR list, as well as the home page.

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: Giteabot <teabot@gitea.io>
2025-07-10 17:17:56 +00:00
wxiaoguang
f35dcfd489 Make submodule link work with relative path (#35034)
Fix #35033
2025-07-10 16:38:42 +00:00
silverwind
36a19f2569 Update to go 1.24.5 (#35031)
https://go.dev/doc/devel/release#go1.24.5
2025-07-10 11:48:36 -04:00
TheFox0x7
4b174e44a8 Improve CLI commands (#34973)
Improve help related commands and flags and add tests

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-07-10 19:36:55 +08:00
silverwind
091b3e696d Tweak eslint config, fix new issues (#35019)
1. Enable
[`@typescript-eslint/no-unnecessary-type-conversion`](https://typescript-eslint.io/rules/no-unnecessary-type-conversion/),
I think the two cases that were hit are safe cases.
2. Disable `no-new-func`, `@typescript-eslint/no-implied-eval` does the
same but better.
2025-07-10 08:28:25 +00:00
Scion
af0196c145 Fix ListWorkflowRuns OpenAPI response model. (#35026)
Change the OpenAPI response of `ListWorkflowRuns` to `WorkflowRunsList`
like it is supposed to be.

---------

Signed-off-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-07-10 05:58:07 +00:00
Anbraten
ea809a5220 Partially refresh notifications list (#35010)
This PR prevents full reloads for the notifications list when changing a
notifications status (read, unread, pinned).

---------

Co-authored-by: Anton Bracke <anton.bracke@fastleansmart.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-07-10 04:15:14 +00:00
GiteaBot
b6d6402a1b [skip ci] Updated translations via Crowdin 2025-07-10 00:38:31 +00:00
Peter Udeh
4321747342 Docs/fix typo and grammar in CONTRIBUTING.md (#35024) 2025-07-10 06:11:42 +08:00
Neha Prasad
4669c64164 fix: improve english grammar and readability in locale_en-US.ini (#35017) 2025-07-09 17:33:18 -04:00
silverwind
1e86b7dad0 Add labeler config for topic/code-linting (#35020)
So that we don't have to manually set this label anymore.
2025-07-09 17:20:44 +00:00
wxiaoguang
211135b4bb Fix various problems (#35012)
* Fix #35011
* Fix incorrect log message for "Protocol"
* Remove unnecessary styles, fix "comment-header" wrap, fix label height
2025-07-09 16:46:51 +00:00
Scion
bb0c84e8c3 Fix the response format for actions/workflows. (#35009)
This PR fixes the response format for the OpenAPI Spec of
`ActionsListRepositoryWorkflows`.
It was specified in the OpenAPI spec as returning a `[]*ActionWorkflow`,
but it actually should return a `api.ActionWorkflowResponse`.

The test already expects an `api.ActionWorkflowResponse` like expected.
2025-07-09 22:32:02 +08:00
wxiaoguang
55f350542c Refactor mail template and support preview (#34990) 2025-07-09 10:25:25 +08:00
GiteaBot
2cc3368610 [skip ci] Updated translations via Crowdin 2025-07-09 00:38:25 +00:00
Lunny Xiao
f1b78f3cdd Fix bug when displaying git user avatar in commits list (#35003)
A quick fix for #34991 

`ValidateCommitsWithEmails` will create a fake user for a git commit
user with a related Gitea user. The UI should not display a link for
such users.
2025-07-08 22:49:30 +00:00
silverwind
d3d357a4a4 Tweak placement of diff file menu (#34999)
Small tweak for better visual placement. Before:

<img width="175" alt="Screenshot 2025-07-08 at 18 16 51"
src="https://github.com/user-attachments/assets/766cfc82-1382-4aaa-8e99-c254665a0480"
/>

After:

<img width="134" alt="Screenshot 2025-07-08 at 18 16 34"
src="https://github.com/user-attachments/assets/2653dfcc-29be-4922-a4de-3257db7b66fd"
/>

Placement matches the "..." button above.
2025-07-09 00:44:14 +03:00
wxiaoguang
4e10adc871 Start automerge check again after the conflict check and the schedule (#34989)
Fix #34988

Co-authored-by: posativ
2025-07-08 14:51:16 +00:00
wxiaoguang
3763c2ae28 Refactor time tracker UI (#34983)
Although we decided to "reduce the button amount" on the side bar, not
only one user reported that the "time tracker dropdown" is not easy to
use.

So the best we can do at the moment is: move the buttons to the sidebar
again.

Fix #34979
2025-07-08 08:59:31 +00:00
GiteaBot
08682212ab [skip ci] Updated translations via Crowdin 2025-07-08 00:37:29 +00:00