2166 Commits

Author SHA1 Message Date
Jason Song
409f11cb73
feat: use template modal 2023-01-10 18:30:18 +08:00
Jason Song
5e9d4f7b9c
Merge branch 'main' into feature/bots 2023-01-09 10:42:38 +08:00
delvh
b878155b87
Replace can not with cannot (#22372)
Fixes #22371.
2023-01-08 18:25:28 +00:00
Jason Song
e249b39224
chore: rename to actions.runners.last_online 2023-01-06 18:08:43 +08:00
Jason Song
aba1c03fee
feat: improve listing runs 2023-01-06 16:29:10 +08:00
Jason Song
6f6bfc5d51
feat: more translations 2023-01-06 15:55:47 +08:00
Jason Song
e61d655929
feat: show no runners available 2023-01-06 15:33:02 +08:00
Jason Song
243b769754
feat: locale status for runner 2023-01-06 15:07:44 +08:00
Jason Song
91dfef0425
feat: LocaleString for status 2023-01-06 15:02:03 +08:00
Jason Song
a6f8f10670
fix: add docs link for runner 2023-01-06 14:41:07 +08:00
Jason Song
2ac8410bab
fix: translation keys 2023-01-05 18:24:16 +08:00
Jason Song
730af9be50
fix: add missing translations 2023-01-05 17:59:21 +08:00
Jason Song
b884772652
Apply suggestions from code review
Co-authored-by: delvh <dev.lh@web.de>
2023-01-05 11:59:32 +08:00
Jason Song
53afbcecad
Merge branch 'main' into feature/bots 2023-01-03 09:43:23 +08:00
KN4CK3R
b1a4eb40a1 [skip ci] Updated licenses and gitignores 2023-01-01 00:19:35 +00:00
Jason Song
567996d06a
Merge branch 'main' into feature/bots 2022-12-26 10:30:37 +08:00
Lunny Xiao
3bd49f7801 [skip ci] Updated licenses and gitignores 2022-12-25 00:19:36 +00:00
Jason Song
9eafbada53
chore: reorganize locale of actions 2022-12-22 17:29:41 +08:00
Jason Song
abf96d1f4d
chore: remove secrets ini 2022-12-22 15:38:38 +08:00
Jason Song
d183b32aa8
Merge branch 'main' into feature/bots 2022-12-22 12:00:41 +08:00
Jason Song
88e813d1ca
Revert "Add simple master key provider for secret encryption"
This reverts commit d4e84c0433461c553ef048bba36c549a9014c649.
2022-12-22 11:45:06 +08:00
Reo
48d71b7d6b
Add Feed for Releases and Tags (#21696)
Fixes #19091

Add Feed for Releases and Tags, can be accessed through
`reponame/releases.rss`, `reponame/releases.atom`, `reponame/tags.rss`,
and `reponame/tags.atom`

Signed-off-by: Reo <reo_999@proton.me>
2022-12-21 15:06:26 -06:00
Jason Song
659055138b
Secrets storage with SecretKey encrypted (#22142)
Fork of #14483, but [gave up
MasterKey](https://github.com/go-gitea/gitea/pull/14483#issuecomment-1350728557),
and fixed some problems.

Close #12065.
Needed by #13539.

Featrues:
- Secrets for repo and org, not user yet.
- Use SecretKey to encrypte/encrypt secrets.
- Trim spaces of secret value.
- Add a new locale ini block, to make it easy to support secrets for
user.

Snapshots:

Repo level secrets:

![image](https://user-images.githubusercontent.com/9418365/207823319-b8a4903f-38ca-4af7-9d05-336a5af906f3.png)

Rrg level secrets

![image](https://user-images.githubusercontent.com/9418365/207823371-8bd02e93-1928-40d1-8c76-f48b255ace36.png)

Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: delvh <dev.lh@web.de>
Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
2022-12-20 17:07:13 +08:00
Jason Song
ab98c3ff43
Merge branch 'main' into feature/bots 2022-12-19 18:26:28 +08:00
zeripath
998fe26051 [skip ci] Updated licenses and gitignores 2022-12-18 00:19:33 +00:00
Jason Song
dfa1b6168d
Merge branch 'main' into feature/bots 2022-12-12 10:46:13 +08:00
KN4CK3R
601d126627 [skip ci] Updated licenses and gitignores 2022-12-11 00:19:34 +00:00
Jason Song
d378a78c79
Merge branch 'main' into feature/bots 2022-12-09 16:20:28 +08:00
Jason Song
8fb1e53ca2
Rename actions to operations on UI (#22067)
Use "operations" to indicate "some something can be done", to prevent
users from confusing it with CICD.

Releated to: #13539.

Snapshots:

<img width="389" alt="image"
src="https://user-images.githubusercontent.com/9418365/206409797-a99bac25-2d38-4066-b9ab-27a4f6fe67e7.png">
<img width="398" alt="image"
src="https://user-images.githubusercontent.com/9418365/206410099-bbd258a9-54d9-4664-8d95-31d29cb35209.png">
<img width="442" alt="image"
src="https://user-images.githubusercontent.com/9418365/206410218-009a3103-a9b9-4d0c-86b6-540dda5bce89.png">

I'm not a native English speaker, but I think "operations" may be good
enough, and Gitea already uses this word:

<img width="1440" alt="image"
src="https://user-images.githubusercontent.com/9418365/206410671-4a718b14-0603-40cb-bdcb-f6f84d1f5e24.png">
2022-12-08 21:14:09 +08:00
Jason Song
3dc7ffc925
fix: add settings.actions_desc 2022-12-08 17:41:25 +08:00
Jason Song
223782ca4c
refactor: rename to actions 2022-12-06 15:16:25 +08:00
Jason Song
bd1af5b7f8
Merge branch 'main' into feature/bots 2022-12-05 14:31:00 +08:00
zeripath
d084ce306a [skip ci] Updated licenses and gitignores 2022-12-04 00:19:34 +00:00
Jason Song
847d65d724
Merge branch 'main' into feature/bots 2022-11-30 18:25:36 +08:00
花墨
7020c4afb7
Fix leaving organization bug on user settings -> orgs (#21983)
Fix #21772

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2022-11-30 17:00:00 +08:00
Jason Song
26ac9ab57d
Merge branch 'go-gitea:main' into feature/bots 2022-11-30 16:05:24 +08:00
luzpaz
fdfd77f478
Fix typos (#21979)
Found via codespell
2022-11-29 18:41:29 -06:00
Jason Song
66b558017f
Merge branch 'main' into feature/bots 2022-11-28 17:23:53 +08:00
KN4CK3R
32590db4ca [skip ci] Updated licenses and gitignores 2022-11-27 00:19:33 +00:00
Lunny Xiao
2ecb59c092 rename builds -> bots 2022-11-25 17:48:48 +08:00
Jason Song
705aaf3eb2 feat: stop zombie and endless tasks 2022-11-25 17:48:46 +08:00
Lunny Xiao
8ec691f3ce Almost finished 2022-11-25 17:48:46 +08:00
Lunny Xiao
e43e3f9518 improve UI 2022-11-25 17:48:46 +08:00
Lauris BH
d4e84c0433 Add simple master key provider for secret encryption 2022-11-25 17:48:46 +08:00
Lunny Xiao
d69423a3b0 UI improvement 2022-11-25 17:48:45 +08:00
fuxiaohei
f633ec9704 feat(runner): create new token for creating new runner 2022-11-25 17:48:45 +08:00
Lunny Xiao
5a479bb034 Add builds UI 2022-11-25 17:48:43 +08:00
kolaente
13746f070d
feat: add button to quickly clear merge message (#21548)
This PR adds a button to allow quickly clearing the merge message of a
PR. The button will remove everything but the git trailers.

I found myself often pruning the commit message before merging,
especially for PRs generated by renovate - renovate puts a very long and
detailed comment with the full changelog in each PR it opens. This
clutters the commit message. However, I want to explicitly preserve the
git commit trailers. Doing this manually works, but having a button is a
lot easier.

Screenshot:

![image](https://user-images.githubusercontent.com/13721712/197337525-d456d0f8-1f7c-43a9-815d-ca93b1e7a90a.png)

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: delvh <dev.lh@web.de>
2022-11-23 18:24:03 +08:00
silverwind
c2fb27beb4
Improvements for Content Copy (#21842)
It now supports copying Markdown, SVG and Images (not in Firefox
currently because of lacking
[`ClipboardItem`](https://developer.mozilla.org/en-US/docs/Web/API/ClipboardItem)
support, but can be enabled in `about:config` and works). It will fetch
the data if in a rendered view or when it's an image.

Followup to https://github.com/go-gitea/gitea/pull/21629.
2022-11-21 17:59:42 +08:00
KN4CK3R
32db62515f
Add package registry cleanup rules (#21658)
Fixes #20514
Fixes #20766
Fixes #20631

This PR adds Cleanup Rules for the package registry. This allows to
delete unneeded packages automatically. Cleanup rules can be set up from
the user or org settings.
Please have a look at the documentation because I'm not a native english
speaker.

Rule Form

![grafik](https://user-images.githubusercontent.com/1666336/199330792-c13918a6-e196-4e71-9f53-18554515edca.png)

Rule List

![grafik](https://user-images.githubusercontent.com/1666336/199331261-5f6878e8-a80c-4985-800d-ebb3524b1a8d.png)

Rule Preview

![grafik](https://user-images.githubusercontent.com/1666336/199330917-c95e4017-cf64-4142-a3e4-af18c4f127c3.png)

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2022-11-20 16:08:38 +02:00