86c848e65c
[skip ci] Updated translations via Crowdin
2024-08-15 00:27:03 +00:00
7d1348350e
[skip ci] Updated translations via Crowdin
2024-08-14 00:28:12 +00:00
a4dac59643
Fixes for unreachable project issues when transfer repository from organization ( #31770 )
...
When transferring repositories that have issues linked to a project
board to another organization, the issues remain associated with the
original project board. This causes the columns in the project board to
become bugged, making it difficult to move other issues in or out of the
affected columns. As a solution, I removed the issue relations since the
other organization does not have this project table.
Fix for #31538
Co-authored-by: Jason Song <i@wolfogre.com>
2024-08-13 02:53:43 +00:00
5bcab0b702
[skip ci] Updated translations via Crowdin
2024-08-13 00:28:59 +00:00
64ef3898e0
[skip ci] Updated licenses and gitignores
2024-08-12 00:29:12 +00:00
e45a4c9829
Move repository visibility to danger zone in the settings area ( #31126 )
...
Moved repository visibility to the danger zone in the settings area. To
change the visibility, it is necessary to go to the danger zone, click
on the private/public button, and accept the change in the modal.
Resolves: #23826
---
## Screenshots
<details>
<summary>Before</summary>
Private repo:

Public repo:

</details>
<details>
<summary>After</summary>
Make private:

Make private modal


Make public:

Make public modal

</details>
---------
Co-authored-by: Kemal Zebari <60799661+kemzeb@users.noreply.github.com>
2024-08-11 07:50:54 +03:00
ff1779d7cf
[skip ci] Updated translations via Crowdin
2024-08-11 00:31:26 +00:00
9633f336c8
Add warning message in merge instructions when AutodetectManualMerge
was not enabled ( #31805 )
...
not enabled
quick-f-i-x https://github.com/go-gitea/gitea/issues/31433 ? , maybe
need more disscusion about better solutions.
example view:

adtion notes about how to enable `AutodetectManualMerge`

Signed-off-by: a1012112796 <1012112796@qq.com>
2024-08-10 01:09:34 +00:00
791d7fc76a
Add issue comment when moving issues from one column to another of the project ( #29311 )
...
Fix #27278
Replace #27816
This PR adds a meta-comment for an issue when dragging an issue from one
column to another of a project.
<img width="600" alt="image"
src="https://github.com/go-gitea/gitea/assets/81045/5fc1d954-430e-4db0-aaee-a00006fa91f5 ">
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: yp05327 <576951401@qq.com>
2024-08-09 01:29:02 +00:00
aa1055fe16
[skip ci] Updated translations via Crowdin
2024-08-09 00:27:50 +00:00
c649a04da1
[skip ci] Updated licenses and gitignores
2024-08-05 00:28:44 +00:00
0b7eb38b24
[skip ci] Updated translations via Crowdin
2024-08-04 00:30:13 +00:00
2a1ed0cc11
[skip ci] Updated translations via Crowdin
2024-08-03 00:27:17 +00:00
687c118248
Clear up old Actions logs ( #31735 )
...
Part of #24256 .
Clear up old action logs to free up storage space.
Users will see a message indicating that the log has been cleared if
they view old tasks.
<img width="1361" alt="image"
src="https://github.com/user-attachments/assets/9f0f3a3a-bc5a-402f-90ca-49282d196c22 ">
Docs: https://gitea.com/gitea/docs/pulls/40
---------
Co-authored-by: silverwind <me@silverwind.io>
2024-08-02 00:42:08 +00:00
7674eafe31
[skip ci] Updated translations via Crowdin
2024-08-01 00:31:07 +00:00
9ac57c957f
Improve names of cron jobs for Actions ( #31736 )
...
Before:
<img width="1641" alt="image"
src="https://github.com/user-attachments/assets/60fa3f3e-cf19-4903-b080-616aef28057b ">
After:
<img width="1674" alt="image"
src="https://github.com/user-attachments/assets/b04fd01e-838d-45c3-9655-cb39a2f7d1f2 ">
2024-07-31 03:03:30 +00:00
666c2b23b1
[skip ci] Updated translations via Crowdin
2024-07-31 00:23:19 +00:00
75d0b61546
Fix the display of project type for deleted projects ( #31732 )
...
Fix : #31727
After:

2024-07-30 04:37:43 +00:00
e0a408e6f3
Add permission check when creating PR ( #31033 )
...
user should be a collaborator of the base repo to create a PR
2024-07-29 02:21:22 +00:00
88decb6913
[skip ci] Updated licenses and gitignores
2024-07-29 00:28:39 +00:00
a40192dc12
[skip ci] Updated translations via Crowdin
2024-07-27 00:27:00 +00:00
cc044818c3
Support delete user email in admin panel ( #31690 )
...



---------
Co-authored-by: Jason Song <i@wolfogre.com>
2024-07-25 18:11:04 +08:00
7bd127522f
[skip ci] Updated translations via Crowdin
2024-07-25 00:27:15 +00:00
ad91a59c18
[skip ci] Updated translations via Crowdin
2024-07-23 00:27:23 +00:00
d919df4f09
[skip ci] Updated translations via Crowdin
2024-07-21 00:30:14 +00:00
a8d0c879c3
add skip secondary authorization option for public oauth2 clients ( #31454 )
2024-07-19 14:28:30 -04:00
03c8c2683c
[skip ci] Updated translations via Crowdin
2024-07-18 00:27:07 +00:00
de1a5506d1
[skip ci] Updated translations via Crowdin
2024-07-17 00:27:54 +00:00
e8d4b7a8b1
Added default sorting milestones by name ( #27084 )
...
#26996
Added default sorting for milestones by name.
Additional, name for sorting closestduedate and furthestduedate was
broken, so I fixed it.
---------
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2024-07-16 10:08:54 +02:00
d73623d526
[skip ci] Updated translations via Crowdin
2024-07-12 00:27:07 +00:00
4913edaa70
Display app name in the registration email title ( #31562 )
...
I changed the title of the registation email from "Welcome to Gitea" to
"Welcome to (appname)". I did this by substituting 'Gitea' in
register_notify to %s and formating the registration title in mail.go. I
changed this for all the languages I could, but I struggled to changed
the translation file for Farsi. I have attached the screenshots of
before and after and the related issue below.
Related issue:
https://github.com/go-gitea/gitea/issues/31108
Before change:

After:

---------
Signed-off-by: Sunny Wan <Sunnywan2020@gmail.com>
Co-authored-by: 6543 <6543@obermui.de>
2024-07-11 23:23:31 +00:00
017ea19e5d
[skip ci] Updated translations via Crowdin
2024-07-08 00:28:11 +00:00
5115c278ff
[skip ci] Updated translations via Crowdin
2024-07-07 00:29:37 +00:00
264f74c02a
[skip ci] Updated translations via Crowdin
2024-07-06 00:26:24 +00:00
12cb1d2998
Allow force push to protected branches ( #28086 )
...
Fixes #22722
### Problem
Currently, it is not possible to force push to a branch with branch
protection rules in place. There are often times where this is necessary
(CI workflows/administrative tasks etc).
The current workaround is to rename/remove the branch protection,
perform the force push, and then reinstate the protections.
### Solution
Provide an additional section in the branch protection rules to allow
users to specify which users with push access can also force push to the
branch. The default value of the rule will be set to `Disabled`, and the
UI is intuitive and very similar to the `Push` section.
It is worth noting in this implementation that allowing force push does
not override regular push access, and both will need to be enabled for a
user to force push.
This applies to manual force push to a remote, and also in Gitea UI
updating a PR by rebase (which requires force push)
This modifies the `BranchProtection` API structs to add:
- `enable_force_push bool`
- `enable_force_push_whitelist bool`
- `force_push_whitelist_usernames string[]`
- `force_push_whitelist_teams string[]`
- `force_push_whitelist_deploy_keys bool`
### Updated Branch Protection UI:
<img width="943" alt="image"
src="https://github.com/go-gitea/gitea/assets/79623665/7491899c-d816-45d5-be84-8512abd156bf ">
### Pull Request `Update branch by Rebase` option enabled with source
branch `test` being a protected branch:

<img width="1038" alt="image"
src="https://github.com/go-gitea/gitea/assets/79623665/57ead13e-9006-459f-b83c-7079e6f4c654 ">
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2024-07-05 18:21:56 +00:00
9c00dda33a
Refactor login page ( #31530 )
...
As requested in
https://github.com/go-gitea/gitea/pull/31504#issuecomment-2196196646 .
This PR refactor the login page:



# Changes
- [x] use separate box for passkey login and go to registration
- [x] move forgot passoword next to password label
- [x] fix password required label `*` and padding
- [x] remove tabs from login page
---------
Co-authored-by: silverwind <me@silverwind.io>
2024-07-05 20:10:09 +03:00
3bd87fb170
[skip ci] Updated translations via Crowdin
2024-07-01 00:30:50 +00:00
91745ae46f
Add Passkey login support ( #31504 )
...
closes #22015
After adding a passkey, you can now simply login with it directly by
clicking `Sign in with a passkey`.

Note for testing. You need to run gitea using `https` to get the full
passkeys experience.
---------
Co-authored-by: silverwind <me@silverwind.io>
2024-06-29 22:50:03 +00:00
35ce7a5e0e
[skip ci] Updated translations via Crowdin
2024-06-26 00:26:17 +00:00
24f4ebb8a9
[skip ci] Updated translations via Crowdin
2024-06-25 00:26:08 +00:00
b3ed1e0e62
[skip ci] Updated translations via Crowdin
2024-06-22 00:25:47 +00:00
7adf8d7727
[skip ci] Updated translations via Crowdin
2024-06-19 00:26:25 +00:00
363c123598
Add cache test for admins ( #31265 )
...
Add a test to probe the cache similar to the email test func.



---------
Co-authored-by: delvh <dev.lh@web.de>
Co-authored-by: silverwind <me@silverwind.io>
2024-06-17 21:22:39 +02:00
129206da45
[skip ci] Updated licenses and gitignores
2024-06-17 00:27:39 +00:00
c70d4f03c9
[skip ci] Updated translations via Crowdin
2024-06-16 00:28:50 +00:00
23147494a7
[skip ci] Updated translations via Crowdin
2024-06-15 00:26:00 +00:00
5b56d13e0d
[skip ci] Updated translations via Crowdin
2024-06-14 00:27:38 +00:00
47ca61d8ba
Improve detecting empty files ( #31332 )
...
Co-authored-by: silverwind <me@silverwind.io>
2024-06-13 01:06:46 +00:00
1844dc6c1d
[skip ci] Updated translations via Crowdin
2024-06-11 00:26:13 +00:00
4f7d6feab7
[skip ci] Updated translations via Crowdin
2024-06-10 00:27:20 +00:00