GiteaBot
d39253ea04
[skip ci] Updated translations via Crowdin
2024-02-17 00:23:24 +00:00
GiteaBot
7f1db5a7f7
[skip ci] Updated translations via Crowdin
2024-02-16 00:23:19 +00:00
Şahin Akkaya
d3fcf32989
Implement contributors graph ( #27882 )
...
Continuation of https://github.com/go-gitea/gitea/pull/25439 . Fixes #847
Before:
<img width="1296" alt="image"
src="https://github.com/go-gitea/gitea/assets/32161460/24571ac8-b254-43c9-b178-97340f0dc8a9 ">
----
After:
<img width="1296" alt="image"
src="https://github.com/go-gitea/gitea/assets/32161460/c60b2459-9d10-4d42-8d83-d5ef0f45bf94 ">
---
#### Overview
This is the implementation of a requested feature: Contributors graph
(#847 )
It makes Activity page a multi-tab page and adds a new tab called
Contributors. Contributors tab shows the contribution graphs over time
since the repository existed. It also shows per user contribution graphs
for top 100 contributors. Top 100 is calculated based on the selected
contribution type (commits, additions or deletions).
---
#### Demo
(The demo is a bit old but still a good example to show off the main
features)
<video src="https://github.com/go-gitea/gitea/assets/32161460/9f68103f-8145-4cc2-94bc-5546daae7014 " controls width="320" height="240">
<a href="https://github.com/go-gitea/gitea/assets/32161460/9f68103f-8145-4cc2-94bc-5546daae7014 ">Download</a>
</video>
#### Features:
- Select contribution type (commits, additions or deletions)
- See overall and per user contribution graphs for the selected
contribution type
- Zoom and pan on graphs to see them in detail
- See top 100 contributors based on the selected contribution type and
selected time range
- Go directly to users' profile by clicking their name if they are
registered gitea users
- Cache the results so that when the same repository is visited again
fetching data will be faster
---------
Co-authored-by: silverwind <me@silverwind.io >
Co-authored-by: hiifong <i@hiif.ong >
Co-authored-by: delvh <dev.lh@web.de >
Co-authored-by: 6543 <6543@obermui.de >
Co-authored-by: yp05327 <576951401@qq.com >
2024-02-15 23:21:13 +01:00
GiteaBot
7fcfa38a5b
[skip ci] Updated translations via Crowdin
2024-02-13 00:24:22 +00:00
Chris Copeland
6e8bc93729
Add merge style fast-forward-only ( #28954 )
...
With this option, it is possible to require a linear commit history with
the following benefits over the next best option `Rebase+fast-forward`:
The original commits continue existing, with the original signatures
continuing to stay valid instead of being rewritten, there is no merge
commit, and reverting commits becomes easier.
Closes #24906
2024-02-12 23:37:23 +01:00
GiteaBot
1f637717e3
[skip ci] Updated translations via Crowdin
2024-02-12 00:24:21 +00:00
GiteaBot
770f697cdd
[skip ci] Updated translations via Crowdin
2024-02-10 00:22:56 +00:00
GiteaBot
f3cb5de53e
[skip ci] Updated translations via Crowdin
2024-02-06 00:23:28 +00:00
GiteaBot
2eac889efa
[skip ci] Updated licenses and gitignores
2024-02-05 00:25:25 +00:00
GiteaBot
bee7e511d5
[skip ci] Updated translations via Crowdin
2024-02-01 00:25:05 +00:00
yp05327
5daf0f71cb
Fix UI Spacing Errors in mirror settings ( #28990 )
2024-02-01 00:04:23 +00:00
Mike Cifelli
aa2d9f2dc3
Update golang links to use https ( #28980 )
...
Many of the golang links point to the old site and don't use https. This
pull request updates these outdated links to https://go.dev .
https://github.com/go-gitea/gitea/issues/28979
2024-01-30 03:11:11 +02:00
GiteaBot
9cad24b410
[skip ci] Updated licenses and gitignores
2024-01-29 00:24:21 +00:00
GiteaBot
4b88035c5d
[skip ci] Updated translations via Crowdin
2024-01-25 00:25:21 +00:00
JakobDev
995938cd76
Show in Web UI if file is vendored and generated ( #28620 )
...
This simple shows in the Web UI is a file is vendored and/or generated.


---------
Co-authored-by: delvh <dev.lh@web.de >
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
2024-01-24 13:51:37 +08:00
JakobDev
12ade3d234
Allow to sync tags from admin dashboard ( #28045 )
...
Inspired by #28043
This PR adds a option to the Admin Dashboard to sync all tags to the
database.

2024-01-24 03:02:04 +00:00
JakobDev
56b6e86d9b
Don't run push mirrors for archived repos ( #27140 )
...
Fixes https://codeberg.org/forgejo/forgejo/issues/612
At the moment push mirrors are still run if a repo is archived. This PR
fixes this.
2024-01-24 02:32:57 +00:00
GiteaBot
f9271e0708
[skip ci] Updated translations via Crowdin
2024-01-24 00:25:44 +00:00
Luca Zulberti
dc7072f979
Add missing exclusive in advanced label options ( #28322 )
...
Hi, I think these changes could be useful for default labels when
creating new repos.
The PR includes the following changes:
- Add missing exclusive flag for Kind/ scope in labels.
- Move Breaking label into new Compat/ scope.
2024-01-22 07:56:17 +00:00
GiteaBot
d30a90bb4e
[skip ci] Updated licenses and gitignores
2024-01-22 00:26:33 +00:00
yp05327
bc02754989
Don't show new pr button when page is not compare pull ( #26431 )
...
Before:

After:

(TestOrg:test is a tag not branch)
Problem:
In the template, we will not add `compare pull` class when
`PageIsComparePull` is false.
ce476e6350/templates/repo/diff/compare.tmpl (L2)
But in the js, we are using `.repository.compare.pull` to find the
button:
ce476e6350/web_src/js/features/repo-legacy.js (L552-L563)
So, if `PageIsComparePull` is false, the `New Pull Request` button will
be there, but has no response when we click it.
2024-01-21 15:13:00 +00:00
Adam Majer
9e6179d714
Add support for sha256 repositories ( #23894 )
...
Currently only SHA1 repositories are supported by Gitea. This adds
support for alternate SHA256 with the additional aim of easier support
for additional hash types in the future.
Fixes : #13794
Limited by: https://github.com/go-git/go-git/issues/899
Depend on: #28138
<img width="776" alt="图片" src="https://github.com/go-gitea/gitea/assets/81045/5448c9a7-608e-4341-a149-5dd0069c9447 ">
---------
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: 6543 <6543@obermui.de >
2024-01-19 17:05:02 +01:00
KN4CK3R
cb3ba6de2d
Fix some RPM registry flaws ( #28782 )
...
Related #26984
(https://github.com/go-gitea/gitea/pull/26984#issuecomment-1889588912 )
Fix admin cleanup message.
Fix models `Get` not respecting default values.
Rebuild RPM repository files after cleanup.
Do not add RPM group to package version name.
Force stable sorting of Alpine/Debian/RPM repository data.
Fix missing deferred `Close`.
Add tests for multiple RPM groups.
Removed non-cached `ReplaceAllStringRegex`.
If there are multiple groups available, it's stated in the package
installation screen:

2024-01-19 11:37:10 +00:00
yp05327
d8ca592909
Fix display latest sync time for pull mirrors on the repo page ( #28841 )
...
Follow #28712
1. Missing Locale word `mirror_sync`
2. Maybe forgot checking the conflict from #27760
Before:

After:

2024-01-18 18:27:07 +08:00
Jimmy Praet
a8a6cd51ec
Add branch protection setting for ignoring stale approvals ( #28498 )
...
Fixes #27114 .
* In Gitea 1.12 (#9532 ), a "dismiss stale approvals" branch protection
setting was introduced, for ignoring stale reviews when verifying the
approval count of a pull request.
* In Gitea 1.14 (#12674 ), the "dismiss review" feature was added.
* This caused confusion with users (#25858 ), as "dismiss" now means 2
different things.
* In Gitea 1.20 (#25882 ), the behavior of the "dismiss stale approvals"
branch protection was modified to actually dismiss the stale review.
For some users this new behavior of dismissing the stale reviews is not
desirable.
So this PR reintroduces the old behavior as a new "ignore stale
approvals" branch protection setting.
---------
Co-authored-by: delvh <dev.lh@web.de >
2024-01-15 07:20:01 +00:00
yp05327
75008ca948
Forbid removing the last admin user ( #28337 )
...
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
2024-01-15 06:51:43 +00:00
wxiaoguang
8b42d434a2
Recommend/convert to use case-sensitive collation for MySQL/MSSQL ( #28662 )
...
Mainly for MySQL/MSSQL.
It is important for Gitea to use case-sensitive database charset
collation. If the database is using a case-insensitive collation, Gitea
will show startup error/warning messages, and show the errors/warnings
on the admin panel's Self-Check page.
Make `gitea doctor convert` work for MySQL to convert the collations of
database & tables & columns.
* Fix #28131
## ⚠️ BREAKING ⚠️
It is not quite breaking, but it's highly recommended to convert the
database&table&column to a consistent and case-sensitive collation.
2024-01-10 11:03:23 +00:00
GiteaBot
b1278bb96c
[skip ci] Updated licenses and gitignores
2024-01-08 00:26:06 +00:00
GiteaBot
27d4f7f069
[skip ci] Updated translations via Crowdin
2024-01-07 00:27:22 +00:00
wackbyte
cc52cf98aa
Fix grammar in actions.variables.id_not_exist (en-US) ( #28680 )
...
Fixes the capitalization and grammar of the key.
2024-01-03 10:43:38 +00:00
wackbyte
babebe950e
Fix grammar issues on the repository Actions page (en-US) ( #28679 )
...
Fixes a few grammar issues in the en-US localization of the repository
Actions page.
2024-01-03 10:42:56 +00:00
GiteaBot
e99339eabd
[skip ci] Updated translations via Crowdin
2024-01-01 00:27:55 +00:00
GiteaBot
a20b993c8c
[skip ci] Updated translations via Crowdin
2023-12-29 00:20:25 +00:00
GiteaBot
4008c21b18
[skip ci] Updated translations via Crowdin
2023-12-28 00:24:21 +00:00
GiteaBot
1b3b6a68c4
[skip ci] Updated translations via Crowdin
2023-12-27 00:23:45 +00:00
GiteaBot
29d1e75f50
[skip ci] Updated translations via Crowdin
2023-12-26 00:24:05 +00:00
GiteaBot
6638dd94f0
[skip ci] Updated licenses and gitignores
2023-12-25 00:25:23 +00:00
GiteaBot
f2d2bc5d3c
[skip ci] Updated translations via Crowdin
2023-12-20 00:20:44 +00:00
yp05327
383cd4ed10
Only check online runner when detecting matching runners in workflows ( #28286 )
...
Mentioned:
[#28277 ](https://github.com/go-gitea/gitea/issues/28277#issuecomment-1831325276 )
We should only check online runner when detecting matching runners in
workflows,
as if runner is not online, the workflow will not run.

2023-12-18 16:06:19 +00:00
GiteaBot
8caae2a6b1
[skip ci] Updated translations via Crowdin
2023-12-18 00:25:45 +00:00
The Magician
5a49974934
Remove duplicate option in admin screen and now-unused translation keys ( #28492 )
...
Resolves https://github.com/go-gitea/gitea/issues/28451 .
This change follows the recommendation by wxiaoguang to remove the
"Disable Minimum Key Size Check" from the "Service Configuration"
section of the UI, because this option belongs to the "SSH
Configuration" section of the administration menu and already has a
functioning indicator in that section of the UI.
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2023-12-17 04:33:37 +00:00
GiteaBot
5acaca2778
[skip ci] Updated translations via Crowdin
2023-12-17 00:26:56 +00:00
GiteaBot
b88118a532
[skip ci] Updated translations via Crowdin
2023-12-13 00:24:37 +00:00
GiteaBot
6d2958e159
[skip ci] Updated translations via Crowdin
2023-12-12 00:25:05 +00:00
GiteaBot
614f84177c
[skip ci] Updated licenses and gitignores
2023-12-11 00:25:45 +00:00
GiteaBot
5ee53429c5
[skip ci] Updated translations via Crowdin
2023-12-09 00:24:26 +00:00
Panagiotis "Ivory" Vasilopoulos
72eed56eac
Improve text in Security settings ( #28393 )
...
- en-US: Rename "Scratch Tokens" to "single-use recovery keys".
Longer, but clearer.
- Improve titles
- TOTP: Improve description
- TOTP: Inform user about Scratch Tokens to encourage TOTP usage
- WebAuthn: Add loss of access warning
2023-12-08 00:38:55 +02:00
GiteaBot
878e863b4a
[skip ci] Updated translations via Crowdin
2023-12-07 00:24:32 +00:00
GiteaBot
9aac13d317
[skip ci] Updated translations via Crowdin
2023-12-06 00:25:02 +00:00
GiteaBot
485b105252
[skip ci] Updated licenses and gitignores
2023-12-04 00:25:15 +00:00