Earl Warren
6c151b847d
Merge branch 'rebase-forgejo-i18n' into wip-forgejo
2023-10-09 22:18:38 +02:00
fnetx
1f923c92f2
[I18N] Move source locales to other folder
...
(cherry picked from commit d38ad85a05
)
(cherry picked from commit b94f9b8c1b
)
(cherry picked from commit c728ce8b32
)
(cherry picked from commit 2911286336
)
(cherry picked from commit bd4dc797c7
)
(cherry picked from commit 35889addf9
)
(cherry picked from commit 9eaf321db4
)
(cherry picked from commit 7b64ef0c9b
)
(cherry picked from commit 6cd86bf244
)
(cherry picked from commit 275dd36f58
)
(cherry picked from commit d5ace5a0ae
)
(cherry picked from commit c067466f8c
)
(cherry picked from commit 0d51a2228f
)
(cherry picked from commit 4973e19dd3
)
(cherry picked from commit f553b4d543
)
(cherry picked from commit 18312a6f74
)
(cherry picked from commit d09dc97f8b
)
(cherry picked from commit 10c552e54e
)
(cherry picked from commit edf895e866
)
(cherry picked from commit 786a486cfc
)
(cherry picked from commit 2aa16d5cb9
)
(cherry picked from commit 1e940cf6cd
)
(cherry picked from commit 7355f3a653
)
(cherry picked from commit e630328f5f
)
(cherry picked from commit 4f819cb97c
)
(cherry picked from commit 3ffdabd3ed
)
(cherry picked from commit df4fb86007
)
(cherry picked from commit 3826909cbb
)
(cherry picked from commit d9825f7165
)
(cherry picked from commit 78ce758e60
)
(cherry picked from commit e94fb8986b
)
(cherry picked from commit 55043c590c
)
(cherry picked from commit 432885ecc6
)
2023-10-09 19:54:26 +02:00
fnetx
431c925de4
[I18N] Rename upstream files
...
(cherry picked from commit 2d67a9a621
)
(cherry picked from commit 4eac51f6a4
)
(cherry picked from commit 34401a28f5
)
(cherry picked from commit 7210b45a61
)
(cherry picked from commit cc741116d2
)
(cherry picked from commit 67a160ef0a
)
(cherry picked from commit adb2587672
)
(cherry picked from commit 1b57a3d601
)
(cherry picked from commit 02fbbf0538
)
(cherry picked from commit 164af88c4b
)
(cherry picked from commit 5102d0aded
)
(cherry picked from commit f1e1e620f4
)
(cherry picked from commit 2bd4ab7b46
)
(cherry picked from commit 28b511a33a
)
(cherry picked from commit dc501ba1c1
)
(cherry picked from commit 252d336537
)
(cherry picked from commit 8208f11db0
)
(cherry picked from commit da711c70b5
)
(cherry picked from commit 62e9a4d917
)
(cherry picked from commit 7fe6e09073
)
(cherry picked from commit cfd6782313
)
(cherry picked from commit 5188e3a0f1
)
(cherry picked from commit 5d741ae440
)
(cherry picked from commit b8a72e0111
)
(cherry picked from commit 2fbbf1ef8d
)
(cherry picked from commit 33597ea6c0
)
(cherry picked from commit 966e0cf8c0
)
(cherry picked from commit 38d0da9167
)
(cherry picked from commit b740ebf5f6
)
(cherry picked from commit 36e0978f6e
)
(cherry picked from commit 98e157c222
)
(cherry picked from commit 1ec680eb7f
)
(cherry picked from commit 23848b7ce7
)
2023-10-09 19:54:25 +02:00
Gusted
6334d5677e
[PRIVACY] Add a DNS method to fetch new updates
...
- Use TXT records in order to determine the latest available version.
- This addresses a valid privacy issue, as with HTTP requests the server
can keep track(estimated) of how many instances are using Forgejo, with
DNS that's basically not possible as the server will never receive any
data, as the only ones receiving data are DNS resolvers.
(cherry picked from commit 0baefb546a
)
(cherry picked from commit e8ee41880b
)
(cherry picked from commit 7eca4f3bf1
)
(cherry picked from commit 6dde3992dc
)
(cherry picked from commit fb3a37fbfc
)
(cherry picked from commit 8304af1e9d
)
(cherry picked from commit 0543a7d12a
)
(cherry picked from commit c3a22933b7
)
(cherry picked from commit e243707694
)
(cherry picked from commit 7eb6d1bcf7
)
(cherry picked from commit 1d7b9535cd
)
(cherry picked from commit 05920dce67
)
(cherry picked from commit f173f27d7c
)
(cherry picked from commit 90e1c9340e
)
(cherry picked from commit de68610ea7
)
(cherry picked from commit 8d5757ea04
)
(cherry picked from commit c7a7fff316
)
(cherry picked from commit 39ac8b8fc1
)
(cherry picked from commit 9889203301
)
[PRIVACY]: Adjust update checker description
- Resolves #323
- Adjust the description of the update check function on the
installation page to describe the privacy method instead of the HTTP
method by checking gitea.io
(cherry picked from commit 61eae5b105
)
(cherry picked from commit 091def20a1
)
(cherry picked from commit d5d11bf45a
)
(cherry picked from commit 71863d4707
)
(cherry picked from commit 11ece4aab1
)
(cherry picked from commit afdd7e714f
)
(cherry picked from commit 39170e2f1d
)
(cherry picked from commit 4b3a52aab8
)
(cherry picked from commit 9d763c5fc8
)
(cherry picked from commit 638db15482
)
(cherry picked from commit a52bfdd8e7
)
(cherry picked from commit dc93d00e85
)
(cherry picked from commit 0bc4b3508c
)
(cherry picked from commit 3f760d85a4
)
(cherry picked from commit ecc2716785
)
2023-10-09 19:54:10 +02:00
cassiozareck
55c70a0e18
[FEAT] add Forgero Git Service
...
Signed-off-by: cassiozareck <cassiomilczareck@gmail.com>
(cherry picked from commit a878adfe62
)
Adding description and Forgejo SVG
(cherry picked from commit 13738c0380
)
Undo reordering and tmpl redirection
(cherry picked from commit 9ae51c46f4
)
(cherry picked from commit 70fffdc61d
)
(cherry picked from commit c0ebfa9da3
)
(cherry picked from commit 9922c92787
)
(cherry picked from commit 00c0effbc7
)
(cherry picked from commit e4c9525b13
)
(cherry picked from commit 09d7b83211
)
(cherry picked from commit bbcd5975c9
)
2023-10-09 19:11:03 +02:00
GiteaBot
4aae15af7a
[skip ci] Updated translations via Crowdin
2023-10-09 00:23:39 +00:00
Lunny Xiao
f40538e667
Remove unnecessary desc for openssh key cron task ( #27515 )
2023-10-08 14:23:39 +00:00
GiteaBot
4bde16e1ba
[skip ci] Updated translations via Crowdin
2023-10-08 00:25:56 +00:00
GiteaBot
68b3fe88d5
[skip ci] Updated translations via Crowdin
2023-10-07 00:22:38 +00:00
GiteaBot
6cdeb7798b
[skip ci] Updated translations via Crowdin
2023-10-06 00:23:05 +00:00
wxiaoguang
9f8d59858a
Refactor system setting ( #27000 )
...
This PR reduces the complexity of the system setting system.
It only needs one line to introduce a new option, and the option can be
used anywhere out-of-box.
It is still high-performant (and more performant) because the config
values are cached in the config system.
2023-10-05 09:08:19 +08:00
GiteaBot
976d1760ac
[skip ci] Updated translations via Crowdin
2023-10-05 00:23:21 +00:00
GiteaBot
b37f3332f1
[skip ci] Updated translations via Crowdin
2023-10-04 00:23:10 +00:00
delvh
e709bc199f
Differentiate between push
and pull
mirror sync in progress
( #27390 )
...
Previously, if you had both a push and a pull mirror, the message did
not clarify if you've accidentally synchronized the wrong one.
Additionally fixed two typos that were encountered while debugging.
## Screenshots


2023-10-02 14:52:18 +00:00
Denys Konovalov
33de64cb21
link to file from its history ( #27354 )
...
Fixes #3852
Fixes https://github.com/go-gitea/gitea/issues/26707
Add a button on file history which directs you to the file at the
selected commit.
Co-authored-by: silverwind <me@silverwind.io>
2023-10-02 04:04:32 +00:00
GiteaBot
c9cc57f130
[skip ci] Updated licenses and gitignores
2023-10-02 00:23:46 +00:00
puni9869
50070550a8
Hide archived labels when filtering by labels on the issue list ( #27115 )
...
Followup https://github.com/go-gitea/gitea/pull/26820
## Archived labels UI for issue filter and issue filter actions for
issues/pull request pages.
Changed:
* Enhanced the Issue filter and Issue filter actions UI page to
seamlessly incorporate a list of archived labels.
* Pagination functionality is same as before. If archived label checkbox
is checked then we are adding a query string`archived=true` in the url
to save the state of page.
* Issue filter actions menu is separated into different template.
* Adding the archived flag in issue url labels.
* Pull Request page is also work the same.
Outsourced:
* Defer the implementation of specialized handling for archived labels
to upcoming pull requests. This step will be undertaken subsequent to
the successful merge of this pull request.
Screenshots
### Issue page
<img width="1360" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/d7efb2ef-5b2b-449d-83f0-d430a32ec432 ">
### Issue page with label filter on archived label checkbox when not
checked --> No archived label is there in list
<img width="1249" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/ceea68ef-91f2-4693-910f-2e25e236bfc9 ">
### Issue page with label filter on archived label checkbox when checked
--> Show archived label in the list.
<img width="710" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/2414d26b-2079-4c3c-bd9e-f2f5411bcabf ">
### Issue page with label filter on issue action menu on archived label
checkbox when checked --> Show archived label in the list.
<img width="409" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/259cac87-3e21-4778-99a2-a6a0b8c81178 ">
### Applied the archived=true in Issue labels when archived checkbox is
checked.
<img width="984" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/657ce3db-c0ae-402e-b12d-3b580d3c2ed0 ">
---
Part of https://github.com/go-gitea/gitea/issues/25237
---------
Signed-off-by: puni9869 <punitinani1@hotmail.com>
Co-authored-by: delvh <dev.lh@web.de>
Co-authored-by: Giteabot <teabot@gitea.io>
2023-10-01 09:04:39 -04:00
GiteaBot
4f169e4b47
[skip ci] Updated translations via Crowdin
2023-09-30 00:22:01 +00:00
Lunny Xiao
c3b7231966
Add protected branch name description ( #27257 )
...
Co-authored-by: delvh <dev.lh@web.de>
2023-09-29 14:02:35 +00:00
yp05327
3945c26722
Improve tree not found page ( #26570 )
...
Before:

After:

In Github:
https://github.com/yp05327/test/blob/main/test.drawio
Updated:
UI changed


---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: delvh <dev.lh@web.de>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2023-09-29 07:42:39 +00:00
Dmitry Sharshakov
5e02e3b7ee
Add support for forking single branch ( #25821 )
...
Fixes #25117
Add UI for choosing branch to fork
Change default branch on single-branch forks

---------
Co-authored-by: Denys Konovalov <kontakt@denyskon.de>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2023-09-29 09:48:39 +08:00
GiteaBot
e8840e7e2b
[skip ci] Updated translations via Crowdin
2023-09-29 00:23:01 +00:00
GiteaBot
e74a3b18af
[skip ci] Updated translations via Crowdin
2023-09-28 00:22:57 +00:00
GiteaBot
3f82ca38af
[skip ci] Updated translations via Crowdin
2023-09-26 00:23:08 +00:00
Yarden Shoham
e6d8b14620
Disable Test Delivery
and Replay
webhook buttons when webhook is inactive ( #27211 )
...
These buttons are now disabled when the webhook is not active.
The buttons were always enabled before this change.
- Fixes #26824
- Replaces #26814
# Before


# After


Signed-off-by: Yarden Shoham <git@yardenshoham.com>
2023-09-25 07:33:00 +00:00
GiteaBot
c2eed61329
[skip ci] Updated translations via Crowdin
2023-09-25 00:24:48 +00:00
Denys Konovalov
63b25e816d
fix issues on action runners page ( #27226 )
...
- switch from some weird status badge to label
- translate untranslated `Reset registration token` string
- change documentation link from act_runner README to Gitea Docs site
- fix "No runners available" message width
- use `ctx.Locale.Tr` where possible

2023-09-24 14:12:21 -04:00
GiteaBot
383edf2fd7
[skip ci] Updated translations via Crowdin
2023-09-22 00:22:57 +00:00
GiteaBot
2001ffee3f
[skip ci] Updated translations via Crowdin
2023-09-21 00:22:27 +00:00
puni9869
a50d9af876
Display archived labels specially when listing labels ( #26820 )
...
Follow up https://github.com/go-gitea/gitea/pull/26741
Changes:
Added archived label for org labels and added into issue filter list.
Part of https://github.com/go-gitea/gitea/issues/25237
---------
Signed-off-by: puni9869 <punitinani1@hotmail.com>
Co-authored-by: silverwind <me@silverwind.io>
2023-09-18 04:54:05 +00:00
GiteaBot
558eea69bd
[skip ci] Updated licenses and gitignores
2023-09-18 00:23:39 +00:00
Lunny Xiao
47b878858a
Search branches ( #27055 )
...
Resolve #25233
<img width="1315" alt="图片"
src="https://github.com/go-gitea/gitea/assets/81045/3ba59b58-471a-4e1b-985c-87edac2268c0 ">
<img width="1297" alt="图片"
src="https://github.com/go-gitea/gitea/assets/81045/b6caa12f-323b-4f70-9c44-ef91cb71a26c ">
2023-09-17 08:24:40 +00:00
GiteaBot
ea83c0647c
[skip ci] Updated translations via Crowdin
2023-09-17 00:24:27 +00:00
KN4CK3R
ed64f1c2b8
Support .git-blame-ignore-revs
file ( #26395 )
...
Closes #26329
This PR adds the ability to ignore revisions specified in the
`.git-blame-ignore-revs` file in the root of the repository.

The banner is displayed in this case. I intentionally did not add a UI
way to bypass the ignore file (same behaviour as Github) but you can add
`?bypass-blame-ignore=true` to the url manually.
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2023-09-16 17:42:34 +00:00
GiteaBot
684ab403aa
[skip ci] Updated translations via Crowdin
2023-09-16 00:21:59 +00:00
GiteaBot
f8a1094406
[skip ci] Updated translations via Crowdin
2023-09-15 00:22:32 +00:00
Lunny Xiao
198a9ca635
Display all user types and org types on admin management UI ( #27050 )
...
Follow #24026
<img width="1049" alt="图片"
src="https://github.com/go-gitea/gitea/assets/81045/d3fc5159-b5e7-411a-b6f8-4a111a027e6b ">
---------
Co-authored-by: delvh <dev.lh@web.de>
2023-09-14 06:53:36 +00:00
GiteaBot
d0318c4ae0
[skip ci] Updated translations via Crowdin
2023-09-14 00:22:27 +00:00
GiteaBot
7d56459c6c
[skip ci] Updated translations via Crowdin
2023-09-13 00:22:36 +00:00
GiteaBot
f599814001
[skip ci] Updated translations via Crowdin
2023-09-12 00:21:32 +00:00
GiteaBot
148c9c4b05
[skip ci] Updated translations via Crowdin
2023-09-11 00:22:57 +00:00
GiteaBot
a20e0affba
[skip ci] Updated translations via Crowdin
2023-09-10 00:23:48 +00:00
GiteaBot
049b9f3718
[skip ci] Updated translations via Crowdin
2023-09-09 00:21:42 +00:00
Lunny Xiao
9c0a3532a4
Add a new column schedule_id for action_run to track ( #26975 )
...
Fix #26971
And the UI now will display it's scheduled but not triggered by a push.
<img width="954" alt="图片"
src="https://github.com/go-gitea/gitea/assets/81045/d211845c-457e-4c3e-af1f-a0d654d3f365 ">
2023-09-08 23:01:19 +08:00
GiteaBot
6cbbd51ad4
[skip ci] Updated translations via Crowdin
2023-09-08 00:21:56 +00:00
Lunny Xiao
f20e317d6d
Improve hint when uploading a too large avatar ( #26935 )
...
Fix #26390
---------
Co-authored-by: delvh <dev.lh@web.de>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: Giteabot <teabot@gitea.io>
Co-authored-by: silverwind <me@silverwind.io>
2023-09-07 13:35:45 +00:00
GiteaBot
9860dba566
[skip ci] Updated translations via Crowdin
2023-09-07 00:22:15 +00:00
FuXiaoHei
460a2b0edf
Artifacts retention and auto clean up ( #26131 )
...
Currently, Artifact does not have an expiration and automatic cleanup
mechanism, and this feature needs to be added. It contains the following
key points:
- [x] add global artifact retention days option in config file. Default
value is 90 days.
- [x] add cron task to clean up expired artifacts. It should run once a
day.
- [x] support custom retention period from `retention-days: 5` in
`upload-artifact@v3`.
- [x] artifacts link in actions view should be non-clickable text when
expired.
2023-09-06 07:41:06 +00:00
Lunny Xiao
31c92d9695
Add missing translation ( #26926 )
...
Fix #26923
2023-09-05 22:13:08 -04:00
wxiaoguang
c17fd68be7
Show queue's active worker number ( #26896 )
2023-09-04 21:07:32 +08:00