yp05327
004ab3758c
Fix wrong link in `protect_branch_name_pattern_desc` ( #28313 )
...
The current href will link to
`https://domain/owner/repo/settings/branches/github.com/gobwas/glob `
12 months ago
yp05327
a6a674e26a
Add guide page to actions when there's no workflows ( #28145 )
...
Before:
![image](https://github.com/go-gitea/gitea/assets/18380374/599d40c1-9b8d-4189-9286-c9c36fb780dd )
After:
![image](https://github.com/go-gitea/gitea/assets/18380374/848a73d1-aaec-478f-93a7-adcc7ee18907 )
1 year ago
Lunny Xiao
0c0d17f17e
Fix empty action run title ( #28113 )
...
Fix #27901
1 year ago
Jason Song
0c72256ab4
Fix typo in `packages.cleanup.success` ( #28133 )
...
Follow
https://github.com/go-gitea/gitea/pull/28129#discussion_r1398971596
1 year ago
Jason Song
0e1b381ff6
Add missing `packages.cleanup.success` ( #28129 )
...
Used at
a3348bfc4d/routers/web/admin/packages.go (L111)
<img width="1325" alt="image"
src="https://github.com/go-gitea/gitea/assets/9418365/60edc1fa-eea8-4d74-a7ec-96bd5461a53f ">
1 year ago
GiteaBot
a3348bfc4d
[skip ci] Updated translations via Crowdin
1 year ago
GiteaBot
f586937297
[skip ci] Updated translations via Crowdin
1 year ago
GiteaBot
024fe11cd3
[skip ci] Updated licenses and gitignores
1 year ago
GiteaBot
80715ae5c7
[skip ci] Updated translations via Crowdin
1 year ago
yp05327
dcb648ee71
Add `Hide/Show all checks` button to commit status check ( #26284 )
...
Step one for a GitHub like commit status check ui:
![image](https://github.com/go-gitea/gitea/assets/18380374/22953b88-1f91-4d19-bc57-ad92d33fa11f )
![image](https://github.com/go-gitea/gitea/assets/18380374/78572a49-c9b0-472b-86a8-8293197e807b )
![image](https://github.com/go-gitea/gitea/assets/18380374/bc5c8d1c-2ab5-4b03-b8c6-20c34b86d856 )
Step two:
![image](https://github.com/go-gitea/gitea/assets/18380374/938b359e-8823-4192-b82d-55fa40b986fd )
![image](https://github.com/go-gitea/gitea/assets/18380374/2de5bb8f-40f5-462a-8d6d-bac13a32bc2a )
The design now will list all commit status checks which takes too much
space.
This is a pre-improve for #26247
---------
Co-authored-by: delvh <dev.lh@web.de>
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
1 year ago
GiteaBot
5a76759c9c
[skip ci] Updated translations via Crowdin
1 year ago
GiteaBot
f089be91da
[skip ci] Updated translations via Crowdin
1 year ago
Danila Fominykh
0c21af3728
Package repository/documentation link unification ( #27804 )
...
Some translations are duplicated for the same package fields; it should
be possible to use the same approach. Checked packages to use the same
forms in templates.
1. Removed repeated translations for the same fields
2. Linked template files to the same translation fields
3. Added repository site link for nuget packages
1 year ago
Joel Wetzell
46dd02702d
Fix typo when updating email address ( #27789 )
...
- correct text that is shown when attempting to change an email address
1 year ago
Brecht Van Lommel
7a286e4753
Improve pull request command line instructions ( #27778 )
...
* Show checkout instructions also when there is no permission to push,
for anyone who wants to locally test the changes.
* First checkout the branch exactly as is, without immediately having to
solve merge conflicts. Leave this to the merge step, since it's often
convenient to test a change without worrying about this.
* Use `git fetch -u`, so an existing local branch is updated when
re-testing the same pull request. But not the more risky `git fetch -f`
in to handle force pushes, as we don't want to accidentally overwrite
important local changes.
* Show different merge command depending on the chosen merge style,
interactively updated.
1 year ago
Gerd Katzenbeisser
31f8880bc2
Show placeholder email in privacy popup ( #27770 )
...
This PR will show the _noreply_ address in the privacy popup
_keep_email_private_popup_.
I had to look into the source code to figure out which E-Mail Adress I
had to use on gitea.com to hide it from public access.
According to the contribution guidelines I only updated the en-US
translation file.
Co-authored-by: Hakito <hakito@git.example.com>
1 year ago
tomholford
e3afe4a248
teams: new View button ( #27685 )
...
Per the discussion on #22054 , the flow for adding a new team member to
an org is not intuitive for new Gitea users.
The ideal solution would be to add a new button on the Org > Members
index view (see the screenshot mockup in the issue description).
However, this would require a refactor of the UX for the flow. The
current flow has an implicit context of which team within the org the
new member is being added to ('Owners' by default). From the Members
index, there is no implicit context; the flow would have to add a picker
for which team the new member should be added to.
So, as a stopgap, this change simply adds a button to the Teams index
page that performs the same action as clicking on the title of the team
(a behavior that is currently too obscure as indicated in the comments
on the issue). This should reduce support burden and serve as a decent
temporary measure until the Add Member flow is refactored.
---------
Co-authored-by: tomholford <tomholford@users.noreply.github.com>
1 year ago
Denys Konovalov
16cfa17844
fix issues in translation file ( #27699 )
...
- use correct comment sign for INI (`;`)
- remove duplicated `repo.branch.search` key
- remove duplicated spaces & similar
1 year ago
GiteaBot
a5bdcfc863
[skip ci] Updated translations via Crowdin
1 year ago
6543
adbc995c34
Show total TrackedTime on issue/pull/milestone lists ( #26672 )
...
TODOs:
- [x] write test for `GetIssueTotalTrackedTime`
- [x] frontport kitharas template changes and make them mobile-friendly
---
![image](https://github.com/go-gitea/gitea/assets/24977596/6713da97-201f-4217-8588-4c4cec157171 )
![image](https://github.com/go-gitea/gitea/assets/24977596/3a45aba8-26b5-4e6a-b97d-68bfc2bf9024 )
---
*Sponsored by Kithara Software GmbH*
1 year ago
GiteaBot
63e391ed17
[skip ci] Updated translations via Crowdin
1 year ago
Denys Konovalov
0271114e64
cleanup repo details icons/labels ( #27644 )
...
Fix #27596
Change confusing behavior when showing information about a repo via
labels and icons. Implement changes proposed by @lng2020 in
https://github.com/go-gitea/gitea/pull/27627#pullrequestreview-1678787673 .
1 year ago
GiteaBot
d1f85525d0
[skip ci] Updated licenses and gitignores
1 year ago
GiteaBot
4f6043f554
[skip ci] Updated translations via Crowdin
1 year ago
KN4CK3R
c6c829fe3f
Enhanced auth token / remember me ( #27606 )
...
Closes #27455
> The mechanism responsible for long-term authentication (the 'remember
me' cookie) uses a weak construction technique. It will hash the user's
hashed password and the rands value; it will then call the secure cookie
code, which will encrypt the user's name with the computed hash. If one
were able to dump the database, they could extract those two values to
rebuild that cookie and impersonate a user. That vulnerability exists
from the date the dump was obtained until a user changed their password.
>
> To fix this security issue, the cookie could be created and verified
using a different technique such as the one explained at
https://paragonie.com/blog/2015/04/secure-authentication-php-with-long-term-persistence#secure-remember-me-cookies .
The PR removes the now obsolete setting `COOKIE_USERNAME`.
1 year ago
GiteaBot
ee6a390675
[skip ci] Updated translations via Crowdin
1 year ago
GiteaBot
3e9a379d38
[skip ci] Updated translations via Crowdin
1 year ago
GiteaBot
d020343269
[skip ci] Updated translations via Crowdin
1 year ago
GiteaBot
50166d1f7c
[skip ci] Updated translations via Crowdin
1 year ago
GiteaBot
4aae15af7a
[skip ci] Updated translations via Crowdin
1 year ago
Lunny Xiao
f40538e667
Remove unnecessary desc for openssh key cron task ( #27515 )
1 year ago
GiteaBot
4bde16e1ba
[skip ci] Updated translations via Crowdin
1 year ago
GiteaBot
68b3fe88d5
[skip ci] Updated translations via Crowdin
1 year ago
GiteaBot
6cdeb7798b
[skip ci] Updated translations via Crowdin
1 year ago
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.
1 year ago
GiteaBot
976d1760ac
[skip ci] Updated translations via Crowdin
1 year ago
GiteaBot
b37f3332f1
[skip ci] Updated translations via Crowdin
1 year ago
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
![grafik](https://github.com/go-gitea/gitea/assets/51889757/164d5d20-728d-4365-9cb5-c37e95857cdf )
![grafik](https://github.com/go-gitea/gitea/assets/51889757/90bfffd2-abd4-4847-b8e2-db4231700a6d )
1 year ago
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>
1 year ago
GiteaBot
c9cc57f130
[skip ci] Updated licenses and gitignores
1 year ago
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>
1 year ago
GiteaBot
4f169e4b47
[skip ci] Updated translations via Crowdin
1 year ago
Lunny Xiao
c3b7231966
Add protected branch name description ( #27257 )
...
Co-authored-by: delvh <dev.lh@web.de>
1 year ago
yp05327
3945c26722
Improve tree not found page ( #26570 )
...
Before:
![before](https://github.com/go-gitea/gitea/assets/18380374/383822d5-7d77-4ec3-b49b-4ab1e8b167ce )
After:
![after](https://github.com/go-gitea/gitea/assets/18380374/32afa0a3-fa05-4087-b96e-7d067f0ed756 )
In Github:
https://github.com/yp05327/test/blob/main/test.drawio
Updated:
UI changed
![image](https://github.com/go-gitea/gitea/assets/18380374/41ed07ff-b815-4b4e-9779-5ab36b5f3980 )
![image](https://github.com/go-gitea/gitea/assets/18380374/5d7b28d6-a2fc-4d4c-8d6d-d93f9c9a270b )
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: delvh <dev.lh@web.de>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
1 year ago
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
![image](https://github.com/go-gitea/gitea/assets/19504461/28505f69-a9a2-43a8-8b19-a0cdac3ddc5a )
---------
Co-authored-by: Denys Konovalov <kontakt@denyskon.de>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
1 year ago
GiteaBot
e8840e7e2b
[skip ci] Updated translations via Crowdin
1 year ago
GiteaBot
e74a3b18af
[skip ci] Updated translations via Crowdin
1 year ago
GiteaBot
3f82ca38af
[skip ci] Updated translations via Crowdin
1 year ago
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
![image](https://github.com/go-gitea/gitea/assets/20454870/e783d0d8-b433-440e-b95f-50d7c42613d3 )
![image](https://github.com/go-gitea/gitea/assets/20454870/b4886151-9f32-4e83-8001-dd3f20c23d70 )
# After
![image](https://github.com/go-gitea/gitea/assets/20454870/74b76a72-0818-4143-8548-5d42c4119a05 )
![image](https://github.com/go-gitea/gitea/assets/20454870/d5ae4e5c-c1ac-4751-a072-e6f7511b1e07 )
Signed-off-by: Yarden Shoham <git@yardenshoham.com>
1 year ago
GiteaBot
c2eed61329
[skip ci] Updated translations via Crowdin
1 year ago