puni9869
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								4744cb32e2 
								
							 
						 
						
							
							
								
								Fix margin on the `new/edit milestone` page ( #25801 )  
							
							 
							
							... 
							
							
							
							There is some distortion in desktop and mobile ui for new/edit milestone
page.
Fixing the new/edit milestone page for desktop and mobile ui
Design background
https://uxplanet.org/primary-secondary-action-buttons-c16df9b36150 
https://balsamiq.com/learn/articles/button-design-best-practices/ 
<details>
  <summary>Screen shots</summary>
  
Before:


After


</details>
---------
Co-authored-by: Denys Konovalov <privat@denyskon.de>
Co-authored-by: Giteabot <teabot@gitea.io> 
							
						 
						
							2023-07-12 10:36:56 +00:00  
						
					 
				
					
						
							
							
								 
								wxiaoguang
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								cee352bb38 
								
							 
						 
						
							
							
								
								Show correct SSL Mode on "install page" ( #25818 )  
							
							 
							
							
							
						 
						
							2023-07-11 18:09:23 -04:00  
						
					 
				
					
						
							
							
								 
								wxiaoguang
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								fa0b5b14c2 
								
							 
						 
						
							
							
								
								Make "install page" respect environment config ( #25648 )  
							
							 
							
							... 
							
							
							
							Replace #25580 
Fix  #19453 
The problem was: when users set "GITEA__XXX__YYY" , the "install page"
doesn't respect it.
So, to make the result consistent and avoid surprising end users, now
the "install page" also writes the environment variables to the config
file.
And, to make things clear, there are enough messages on the UI to tell
users what will happen.
There are some necessary/related changes to `environment-to-ini.go`:
* The "--clear" flag is removed and it was incorrectly written there.
The "clear" operation should be done if INSTALL_LOCK=true
* The "--prefix" flag is removed because it's never used, never
documented and it only causes inconsistent behavior.
 
							
						 
						
							2023-07-09 22:43:37 +00:00  
						
					 
				
					
						
							
							
								 
								silverwind
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								61e0d1a767 
								
							 
						 
						
							
							
								
								Enable H014 and H023 djlint rules ( #25786 )  
							
							 
							
							... 
							
							
							
							Enable these rules:
- H014 | More than 2 blank lines.
- H023 | Do not use entity references.
There are more potential rules to enable but they are blocked by bugs in
the linter:
- https://github.com/Riverside-Healthcare/djLint/issues/711 
- https://github.com/Riverside-Healthcare/djLint/issues/712  
							
						 
						
							2023-07-09 20:33:25 +00:00  
						
					 
				
					
						
							
							
								 
								Denys Konovalov
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								be23b73e85 
								
							 
						 
						
							
							
								
								Restructure issue list template, styles ( #25750 )  
							
							 
							
							... 
							
							
							
							This PR does various modifications on the issue list shared template:
- restructure layout to achieve better responsiveness
-  fix various style issues
- restructure styles (better result with less code :)
- remove numerous `gt-*` patches and other unneeded classes -> use
existing css classes
<details>
<summary>Before:</summary>



</details>
<details>
<summary>After:</summary>



</details>
---------
Co-authored-by: silverwind <me@silverwind.io> 
							
						 
						
							2023-07-09 19:38:01 +00:00  
						
					 
				
					
						
							
							
								 
								wxiaoguang
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								84c78650cc 
								
							 
						 
						
							
							
								
								Fix notification list bugs ( #25781 )  
							
							 
							
							... 
							
							
							
							Fix  #25627 
1. `ctx.Data["Link"]` should use relative URL but not AppURL
2. The `data-params` is incorrect because it doesn't contain "page". JS
can simply use "window.location.search" to construct the AJAX URL
3. The `data-xxx` and `id` in notification_subscriptions.tmpl were
copied&pasted, they don't have affect. 
							
						 
						
							2023-07-09 18:42:31 +00:00  
						
					 
				
					
						
							
							
								 
								hiifong
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								d58096ec31 
								
							 
						 
						
							
							
								
								Fix the wrong default branch name displayed by checkout ( #25777 )  
							
							 
							
							... 
							
							
							
							Related: #22743 
Before:

After:
 
							
						 
						
							2023-07-09 11:09:06 +02:00  
						
					 
				
					
						
							
							
								 
								silverwind
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								f8bb1018ae 
								
							 
						 
						
							
							
								
								Tweak repo topics bar ( #25769 )  
							
							 
							
							... 
							
							
							
							Minor tweaks to repo topics:
- Use gap instead of margin to align "Manage Topics" when no topics
present
- Add margin to description instead
Before:
<img width="1232" alt="Screenshot 2023-07-08 at 13 08 15"
src="https://github.com/go-gitea/gitea/assets/115237/a5d3586c-6cbf-4b74-8137-11d91f2cbb45 ">
<img width="1233" alt="Screenshot 2023-07-08 at 13 08 05"
src="https://github.com/go-gitea/gitea/assets/115237/59b18d93-e4cb-4f2b-9bc2-d6aa63f93827 ">
After:
<img width="1232" alt="Screenshot 2023-07-08 at 13 08 42"
src="https://github.com/go-gitea/gitea/assets/115237/470d42ad-3f7e-40f9-b0a1-203b4af77eb9 ">
<img width="1231" alt="Screenshot 2023-07-08 at 13 08 32"
src="https://github.com/go-gitea/gitea/assets/115237/42d18048-748c-4a3f-ab89-3403866cef34 ">
--------- 
							
						 
						
							2023-07-08 18:12:30 +00:00  
						
					 
				
					
						
							
							
								 
								puni9869
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								2ff0c12a95 
								
							 
						 
						
							
							
								
								Repository Archived text title center align ( #25767 )  
							
							 
							
							... 
							
							
							
							Archive text title center align
<details>
  <summary>Screen shots</summary>
  
 Before

After 


BTW On github

</details>
---------
Co-authored-by: Giteabot <teabot@gitea.io> 
							
						 
						
							2023-07-08 10:57:17 +00:00  
						
					 
				
					
						
							
							
								 
								wxiaoguang
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								cc00fd50f3 
								
							 
						 
						
							
							
								
								Clarify "text-align" CSS helpers, fix clone button padding ( #25763 )  
							
							 
							
							... 
							
							
							
							Changes:
* Rename gt-tl/gt-tc/gt-tr to gt-text-left/gt-text-center/gt-text-right
* The gt-ab and gt-br-0 are removed because they are not needed anymore
* Fix the clone dropdown button padding by ":not(.icon)"
Before:
<details>

</details>
After:
<details>

</details>
Fixes  #25758 
Co-authored-by: Giteabot <teabot@gitea.io> 
							
						 
						
							2023-07-08 11:53:56 +02:00  
						
					 
				
					
						
							
							
								 
								Lunny Xiao
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								6375419468 
								
							 
						 
						
							
							
								
								Newly pushed branches hints on repository home page ( #25715 )  
							
							 
							
							... 
							
							
							
							This PR will display a pull request creation hint on the repository home
page when there are newly created branches with no pull request. Only
the recent 6 hours and 2 updated branches will be displayed.
Inspired by #14003  
Replace #14003  
Resolves  #311 
Resolves  #13196 
Resolves  #23743 
co-authored by @kolaente 
							
						 
						
							2023-07-08 05:19:00 +02:00  
						
					 
				
					
						
							
							
								 
								Maxim Slipenko
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								e0a780d75b 
								
							 
						 
						
							
							
								
								Translate untranslated string in issues list ( #25759 )  
							
							 
							
							
							
						 
						
							2023-07-07 22:36:39 +00:00  
						
					 
				
					
						
							
							
								 
								wxiaoguang
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								3780795b93 
								
							 
						 
						
							
							
								
								Reformat some templates ( #25756 )  
							
							 
							
							... 
							
							
							
							Only: indent/dedent/newline 
							
						 
						
							2023-07-07 18:06:49 +00:00  
						
					 
				
					
						
							
							
								 
								wxiaoguang
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								128d77a3a0 
								
							 
						 
						
							
							
								
								Following up fixes for "Fix inconsistent user profile layout across tabs" ( #25739 )  
							
							 
							
							... 
							
							
							
							Follow
https://github.com/go-gitea/gitea/pull/25625#issuecomment-1621577816 
1. Fix the incorrect "project view" layout
2. Fix the "follow/unfollow" link on "packages" and "projects" tab
Before:

After:

---------
Co-authored-by: Giteabot <teabot@gitea.io> 
							
						 
						
							2023-07-07 17:27:12 +02:00  
						
					 
				
					
						
							
							
								 
								hiifong
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								a6a9389c70 
								
							 
						 
						
							
							
								
								Hide `add file` button for pull mirrors ( #25748 )  
							
							 
							
							... 
							
							
							
							I think hiding the add file button for mirror repositories that can keep the ui clean.
Before:

After:
 
							
						 
						
							2023-07-07 13:36:14 +00:00  
						
					 
				
					
						
							
							
								 
								wxiaoguang
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								98088befae 
								
							 
						 
						
							
							
								
								Fix broken translations for package documantion ( #25742 )  
							
							 
							
							... 
							
							
							
							The code was just copied&pasted, it causes problems now.
There are a lot (for every package) broken translations. eg:
```
# en-US
conda.documentation = For more information on the Conda registry, see 
<a target="_blank" rel="noopener noreferrer" href="%s">the documentation</a>.
# fr-FR (and many languages)
conda.documentation=Pour plus d'informations sur le registre Conda, voir 
<a target="_blank" rel="noopener noreferrer" href="https://docs.gitea.io/fr-fr/packages/conda/ ">la documentation</a>.
```
To resolve the problem fundamentally, use a general string, and trigger
the re-translating on Crowdin side.
And, it should really really really avoid introducing too much
copied&pasted code ....... 
							
						 
						
							2023-07-07 10:47:26 +02:00  
						
					 
				
					
						
							
							
								 
								puni9869
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								2af30f715e 
								
							 
						 
						
							
							
								
								Fix inconsistent user profile layout across tabs ( #25625 )  
							
							 
							
							... 
							
							
							
							Fix ::User Profile Page  Project Tab Have Inconsistent Layout and Style
Added the big_avator for consistency in the all header_items tabs.
Fixes : #24871 
> ### Description
> in the user profile page the `Packages` and `Projects` tab have small
icons for user but other tabs have bigger profile picture with user
info:
> 
> ### Screenshots
> ### **For Packages And Projects:**
>

> 
> ### **For Other Tabs:**
>

> 
## Before

 ## After changes
Project View 
<img width="1394" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/95d181d7-8e61-496d-9899-7b825c91ad56 ">
Packages View
<img width="1378" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/7f5fd60f-6b18-4fa8-8c56-7b0d45d1a610 ">
## Org view for projects page
<img width="1385" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/6400dc89-a5ae-4f0a-831b-5b6efa020d89 ">
## Org view for packages page
<img width="1387" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/4e1e9ffe-1e4b-4334-8657-de11b5fd31d0 ">
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: Giteabot <teabot@gitea.io>
Co-authored-by: silverwind <me@silverwind.io> 
							
						 
						
							2023-07-06 18:59:24 +00:00  
						
					 
				
					
						
							
							
								 
								sebastian-sauer
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								f03d95f0a9 
								
							 
						 
						
							
							
								
								Allow/fix review (approve/reject) of empty PRs ( #25690 )  
							
							 
							
							... 
							
							
							
							gitea allows to create empty PRs.
Currently when you need approvals for a merge, you have to manually add
/files to the url to get to the files tab to approve / reject the PR.
This PR allows to open the files tab via the normal tab / link and then
fixes the layout of the files tab.
**Screenshots:**
Before:

After:

---------
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Giteabot <teabot@gitea.io> 
							
						 
						
							2023-07-06 15:33:04 +00:00  
						
					 
				
					
						
							
							
								 
								Lunny Xiao
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								d17a848fe2 
								
							 
						 
						
							
							
								
								Disable run user change in installation page ( #22499 )  
							
							 
							
							... 
							
							
							
							The run user should not be changed on the installation page because it
will not be any effect to Gitea.
This PR disabled the input box of run user. 
							
						 
						
							2023-07-06 10:14:51 +08:00  
						
					 
				
					
						
							
							
								 
								Earl Warren
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								e1edd7a8e9 
								
							 
						 
						
							
							
								
								Show correct naming for 1 comment ( #25704 )  
							
							 
							
							... 
							
							
							
							- Resolves https://codeberg.org/forgejo/forgejo/issues/948 
Co-authored-by: Gusted <postmaster@gusted.xyz>
Co-authored-by: Giteabot <teabot@gitea.io> 
							
						 
						
							2023-07-05 19:53:38 +00:00  
						
					 
				
					
						
							
							
								 
								Lunny Xiao
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								90b3b3dbf8 
								
							 
						 
						
							
							
								
								Fix tags header and pretty format numbers ( #25624 )  
							
							 
							
							... 
							
							
							
							This caused by #23465  
							
						 
						
							2023-07-05 04:11:42 +00:00  
						
					 
				
					
						
							
							
								 
								Denys Konovalov
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								00dbba7f42 
								
							 
						 
						
							
							
								
								Several fixes for mobile UI ( #25634 )  
							
							 
							
							... 
							
							
							
							Resolves  #25622  
<details>
<summary>Screenshots</summary>







</details>
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: silverwind <me@silverwind.io> 
							
						 
						
							2023-07-04 17:45:45 +00:00  
						
					 
				
					
						
							
							
								 
								silverwind
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								0006169f38 
								
							 
						 
						
							
							
								
								Actions list enhancements ( #25601 )  
							
							 
							
							... 
							
							
							
							Various small enhancements to the actions list. Before and after:
<img width="1264" alt="Screenshot 2023-06-30 at 00 11 40"
src="https://github.com/go-gitea/gitea/assets/115237/bb4162ee-cdcf-4a73-b05e-f9521562edbb ">
<img width="1264" alt="Screenshot 2023-06-30 at 00 09 51"
src="https://github.com/go-gitea/gitea/assets/115237/52a70ea9-4bb3-406e-904b-0fdaafde9582 ">
---------
Co-authored-by: Giteabot <teabot@gitea.io> 
							
						 
						
							2023-07-04 09:59:47 +00:00  
						
					 
				
					
						
							
							
								 
								wxiaoguang
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								eea58a5d55 
								
							 
						 
						
							
							
								
								Fix UI misalignment on user setting page ( #25629 )  
							
							 
							
							... 
							
							
							
							Fix  #25628 
Diff with ignoring space:
https://github.com/go-gitea/gitea/pull/25629/files?diff=unified&w=1 
The "modal" shouldn't appear between "ui attached segment", otherwise
these segments lose margin-top.
After the fix:
<details>




</details> 
							
						 
						
							2023-07-03 20:38:06 +00:00  
						
					 
				
					
						
							
							
								 
								wxiaoguang
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								45bc180a15 
								
							 
						 
						
							
							
								
								Make "cancel" buttons have proper type in modal forms ( #25618 )  
							
							 
							
							... 
							
							
							
							Replace #25446 , fix  #25438 
All "cancel" buttons which do not have "type" should not submit the
form, should not be triggered by "Enter".
This is a complete fix for all modal dialogs.
The major change is "modules/aria/modal.js", "devtest" related code is
for demo/test purpose. 
							
						 
						
							2023-07-03 14:04:50 +08:00  
						
					 
				
					
						
							
							
								 
								Lunny Xiao
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								7735da1c66 
								
							 
						 
						
							
							
								
								Display branch commit status ( #25608 )  
							
							 
							
							... 
							
							
							
							Fix  #10388 
This PR adds a status icon for every branch which has a status check for
the latest commit on branch list page.
<img width="1313" alt="图片"
src="https://github.com/go-gitea/gitea/assets/81045/727cd540-d03a-40c6-a7dd-e87c118af0ac "> 
							
						 
						
							2023-07-03 03:32:21 +00:00  
						
					 
				
					
						
							
							
								 
								derelm
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								5b79eeabd1 
								
							 
						 
						
							
							
								
								use css on labels ( #25626 )  
							
							 
							
							... 
							
							
							
							Changes html to use CSS label class similar to
`templates/shared/actions/runner_list.tmpl` 
							
						 
						
							2023-07-03 02:33:28 +00:00  
						
					 
				
					
						
							
							
								 
								hiifong
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								36f1fa7792 
								
							 
						 
						
							
							
								
								Support displaying diff stats in PR tab bar ( #25387 )  
							
							 
							
							... 
							
							
							
							Fix  #25326 
---------
Co-authored-by: silverwind <me@silverwind.io> 
							
						 
						
							2023-07-03 01:00:28 +00:00  
						
					 
				
					
						
							
							
								 
								Lunny Xiao
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								de981c39e6 
								
							 
						 
						
							
							
								
								Fix bug of branches API with tests ( #25578 )  
							
							 
							
							... 
							
							
							
							Fix  #25558 
Extract from #22743 
This PR added a repository's check when creating/deleting branches via
API. Mirror repository and archive repository cannot do that. 
							
						 
						
							2023-07-01 10:52:52 +08:00  
						
					 
				
					
						
							
							
								 
								puni9869
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								4583cbd615 
								
							 
						 
						
							
							
								
								Adding  branch-name copy  to clipboard branches screen. ( #25596 )  
							
							 
							
							... 
							
							
							
							Adding  branch-name copy  to clipboard and button in branches screen
Replaces #25569 
Fixes  #25120 
New mocks:
<img width="876" alt="Screenshot 2023-06-30 at 12 01 41 AM"
src="https://github.com/go-gitea/gitea/assets/80308335/a34ab00f-5625-4529-ba17-f2bf7af58e2a ">
<img width="822" alt="Screenshot 2023-06-30 at 12 03 59 AM"
src="https://github.com/go-gitea/gitea/assets/80308335/3a32dffc-52cd-49e1-a437-6d11d58d0939 ">
<img width="476" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/85e8f361-5cb7-45d4-aced-ad2523d54ab0 "> 
							
						 
						
							2023-06-30 18:16:17 +00:00  
						
					 
				
					
						
							
							
								 
								sebastian-sauer
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								ed8a8af99f 
								
							 
						 
						
							
							
								
								Use AfterCommitId to get commit for Viewed functionality ( #25529 )  
							
							 
							
							... 
							
							
							
							the PullHeadCommitID is not always available when the PR is merged.
Not sure if this is the best solution but in my simple tests it looks
like this fixes the problem - happy to get any feedback.
hopefully fixes https://github.com/go-gitea/gitea/issues/24813  
							
						 
						
							2023-07-01 00:08:18 +08:00  
						
					 
				
					
						
							
							
								 
								JakobDev
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								254a82842a 
								
							 
						 
						
							
							
								
								Add API for changing Avatars ( #25369 )  
							
							 
							
							... 
							
							
							
							This adds an API for uploading and Deleting Avatars for of Users, Repos
and Organisations. I'm not sure, if this should also be added to the
Admin API.
Resolves  #25344 
---------
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Giteabot <teabot@gitea.io> 
							
						 
						
							2023-06-29 23:22:55 +00:00  
						
					 
				
					
						
							
							
								 
								Ed Silkworth
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								9fd63aaad1 
								
							 
						 
						
							
							
								
								read-only checkboxes don't appear and don't entirely act the way one might expect ( #25573 )  
							
							 
							
							... 
							
							
							
							This pull request fades read-only checkboxes and checkmark, and it makes
the checkboxes act more read-only/disabled by not changing the
border-color when clicked.
Examples using light mode:
 
| Before | After |
| - | - |
| 
| 
|
| 
| 
|
| | read-only checkboxes and checkmark are faded<br>and the checkboxes
act more read-only/disabled |
Fixes/Closes/Resolves #25076 
---------
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> 
							
						 
						
							2023-06-30 00:16:53 +02:00  
						
					 
				
					
						
							
							
								 
								KN4CK3R
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								cf2356062f 
								
							 
						 
						
							
							
								
								Redirect to package after version deletion ( #25594 )  
							
							 
							
							... 
							
							
							
							Related #25559 
Current behaviour:
1. Deletion of a package version
2. Redirect to the owners package list
New behaviour:
1. Deletion of a package version
2.1. If there are more versions available, redirect to the package again
2.2. If there are no versions available, redirect to the owners package
list 
							
						 
						
							2023-06-29 17:01:14 +00:00  
						
					 
				
					
						
							
							
								 
								silverwind
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								64f2d70262 
								
							 
						 
						
							
							
								
								Replace fomantic divider module with our own ( #25539 )  
							
							 
							
							... 
							
							
							
							Should look exactly like before for normal dividers. "Horizontal" ones
look better because they no longer use image backgrounds.
<img width="917" alt="Screenshot 2023-06-27 at 19 07 56"
src="https://github.com/go-gitea/gitea/assets/115237/d97d8dec-6859-44a8-85ba-e4549b4dd9df ">
<img width="914" alt="Screenshot 2023-06-27 at 19 05 58"
src="https://github.com/go-gitea/gitea/assets/115237/8bf98544-2d82-4ebf-ac68-d6dc237bd6b2 ">
<img width="1246" alt="Screenshot 2023-06-27 at 19 00 42"
src="https://github.com/go-gitea/gitea/assets/115237/36a6bb21-6029-4f53-8bee-535f55c66fed ">
<img width="344" alt="Screenshot 2023-06-27 at 18 58 15"
src="https://github.com/go-gitea/gitea/assets/115237/a9e70aee-8e6b-4ea1-9e93-19c9f96aec6e ">
<img width="823" alt="Screenshot 2023-06-27 at 18 56 22"
src="https://github.com/go-gitea/gitea/assets/115237/e7a497cd-f262-4683-8872-23c3c8cce32f ">
<img width="330" alt="Screenshot 2023-06-27 at 19 21 11"
src="https://github.com/go-gitea/gitea/assets/115237/42f24149-a655-4c7e-bd26-8ab52db6446b "> 
							
						 
						
							2023-06-29 20:24:22 +08:00  
						
					 
				
					
						
							
							
								 
								Lunny Xiao
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								6e19484f4d 
								
							 
						 
						
							
							
								
								Sync branches into databases ( #22743 )  
							
							 
							
							... 
							
							
							
							Related #14180 
Related #25233  
Related #22639 
Close  #19786 
Related #12763  
This PR will change all the branches retrieve method from reading git
data to read database to reduce git read operations.
- [x] Sync git branches information into database when push git data
- [x] Create a new table `Branch`, merge some columns of `DeletedBranch`
into `Branch` table and drop the table `DeletedBranch`.
- [x] Read `Branch` table when visit `code` -> `branch` page
- [x] Read `Branch` table when list branch names in `code` page dropdown
- [x] Read `Branch` table when list git ref compare page
- [x] Provide a button in admin page to manually sync all branches.
- [x] Sync branches if repository is not empty but database branches are
empty when visiting pages with branches list
- [x] Use `commit_time desc` as the default FindBranch order by to keep
consistent as before and deleted branches will be always at the end.
---------
Co-authored-by: Jason Song <i@wolfogre.com> 
							
						 
						
							2023-06-29 10:03:20 +00:00  
						
					 
				
					
						
							
							
								 
								HesterG
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								5a871932f0 
								
							 
						 
						
							
							
								
								Fix milestones deletion ( #25583 )  
							
							 
							
							... 
							
							
							
							Close  #25557  
Fix regression from #25315 
`data-id` is still needed for deleting milestone. 
							
						 
						
							2023-06-29 10:17:18 +02:00  
						
					 
				
					
						
							
							
								 
								HesterG
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								c6f1fb1c6d 
								
							 
						 
						
							
							
								
								Use fetch form action for lock/unlock/pin/unpin on sidebar ( #25380 )  
							
							 
							
							... 
							
							
							
							Before:
<img width="364" alt="Screen Shot 2023-06-20 at 11 59 11"
src="https://github.com/go-gitea/gitea/assets/17645053/ad284b7e-8d21-43be-b178-bbcfd37cb5bd ">
Might trigger many posts when keep clicking the buttons above.
<img width="448" alt="Screen Shot 2023-06-20 at 11 52 28"
src="https://github.com/go-gitea/gitea/assets/17645053/a60aa6ac-af74-45e4-b13a-512b436b81b0 ">
<img width="678" alt="Screen Shot 2023-06-20 at 11 52 37"
src="https://github.com/go-gitea/gitea/assets/17645053/d6662700-3643-4cc7-a2ec-64e1c0f5fbdb ">
After (PR sidebar, Same for issue):
https://github.com/go-gitea/gitea/assets/17645053/9df3ad1f-e29c-439b-8bde-e6b917d63cc6 
For delete, it is using `base/modal_actions_confirm` subtemplate, and we
might need another general solution for this (maybe add another
attribute to the subtemplate or something)
---------
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Giteabot <teabot@gitea.io>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> 
							
						 
						
							2023-06-29 04:16:04 +00:00  
						
					 
				
					
						
							
							
								 
								Vitaliy Filippov
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								f0b773e0ce 
								
							 
						 
						
							
							
								
								Support downloading raw task logs ( #24451 )  
							
							 
							
							... 
							
							
							
							Hi!
This pull request adds support for downloading raw task logs for Gitea
Actions, similar to Github Actions
It looks like the following:
 
							
						 
						
							2023-06-29 10:58:56 +08:00  
						
					 
				
					
						
							
							
								 
								a1012112796
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								4aba8a6a5f 
								
							 
						 
						
							
							
								
								Split lfs size from repository size ( #22900 )  
							
							 
							
							... 
							
							
							
							releated to #21820 
- Split `Size` in repository table as two new colunms, one is `GitSize`
for git size, the other is `LFSSize` for lfs data. still store full size
in `Size` colunm.
- Show full size on ui, but show each of them by a `title`;  example:

- Return full size in api response.
---------
Signed-off-by: a1012112796 <1012112796@qq.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: DmitryFrolovTri <23313323+DmitryFrolovTri@users.noreply.github.com>
Co-authored-by: Giteabot <teabot@gitea.io> 
							
						 
						
							2023-06-28 22:41:02 +00:00  
						
					 
				
					
						
							
							
								 
								Georg Dangl
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								9538842364 
								
							 
						 
						
							
							
								
								Use correct response code in push mirror creation response in v1_json.tmpl ( #25476 )  
							
							 
							
							... 
							
							
							
							In the process of doing a bit of automation via the API, we've
discovered a _small_ issue in the Swagger definition. We tried to create
a push mirror for a repository, but our generated client raised an
exception due to an unexpected status code.
When looking at this function:
3c7f5ed7b5/routers/api/v1/repo/mirror.go (L236-L240) 
We see it defines `201 - Created` as response:
3c7f5ed7b5/routers/api/v1/repo/mirror.go (L260-L262) 
But it actually returns `200 - OK`:
3c7f5ed7b5/routers/api/v1/repo/mirror.go (L373) 
So I've just updated the Swagger definitions to match the code😀 
---------
Co-authored-by: Giteabot <teabot@gitea.io> 
							
						 
						
							2023-06-28 22:00:19 +00:00  
						
					 
				
					
						
							
							
								 
								wxiaoguang
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								b6693a2c9a 
								
							 
						 
						
							
							
								
								Align language menu icon and fit the footer area ( #25556 )  
							
							 
							
							... 
							
							
							
							Close  #25551  
							
						 
						
							2023-06-28 14:57:50 +00:00  
						
					 
				
					
						
							
							
								 
								HesterG
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								c082689471 
								
							 
						 
						
							
							
								
								Use flex instead of float for sort button and search input ( #25519 )  
							
							 
							
							... 
							
							
							
							Right now some sort buttons beside search input are unclickable because
#25338  removed `max-width` and the sort button is using float, sort
button is then covered by the `input`.
The way to fix this in this PR is changing the layout to `flex` and put
`input form` and sort `button` into `secondary menu`.
After:
<img width="1411" alt="Screen Shot 2023-06-26 at 16 40 52"
src="https://github.com/go-gitea/gitea/assets/17645053/63c12b17-793a-4ae7-bbda-f67b13b87212 ">
<img width="1428" alt="Screen Shot 2023-06-26 at 16 34 06"
src="https://github.com/go-gitea/gitea/assets/17645053/cb7d967e-355d-4cb0-955c-6139580fc17a ">
<img width="716" alt="Screen Shot 2023-06-26 at 16 34 22"
src="https://github.com/go-gitea/gitea/assets/17645053/c74b5ef2-d46e-4487-8794-28bec984bb36 ">
<img width="1424" alt="Screen Shot 2023-06-26 at 16 34 32"
src="https://github.com/go-gitea/gitea/assets/17645053/8a5fdc05-a2c5-4ec4-979d-15a21501fe14 ">
<img width="1425" alt="Screen Shot 2023-06-26 at 16 35 21"
src="https://github.com/go-gitea/gitea/assets/17645053/eb73cd31-3914-4bc9-92ab-aba56f25128b ">
<img width="1437" alt="Screen Shot 2023-06-26 at 16 36 14"
src="https://github.com/go-gitea/gitea/assets/17645053/1c3b4595-bb26-491f-aa68-60dc9ab22b84 "> 
							
						 
						
							2023-06-28 20:10:36 +08:00  
						
					 
				
					
						
							
							
								 
								KN4CK3R
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								426a49d481 
								
							 
						 
						
							
							
								
								Change `Regenerate Secret` button display ( #25534 )  
							
							 
							
							... 
							
							
							
							Fixes  #25527 
Preview:
 
							
						 
						
							2023-06-27 15:20:52 +00:00  
						
					 
				
					
						
							
							
								 
								wxiaoguang
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								6dbcf6fbc5 
								
							 
						 
						
							
							
								
								Fix admin-dl-horizontal ( #25512 )  
							
							 
							
							... 
							
							
							
							

---------
Co-authored-by: HesterG <hestergong@gmail.com>
Co-authored-by: silverwind <me@silverwind.io> 
							
						 
						
							2023-06-27 09:14:45 +00:00  
						
					 
				
					
						
							
							
								 
								silverwind
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								c71e8abbc3 
								
							 
						 
						
							
							
								
								Add toasts to UI ( #25449 )  
							
							 
							
							... 
							
							
							
							Fixes https://github.com/go-gitea/gitea/issues/24353 
In some case like async success/error, it is useful to show toasts in UI. 
							
						 
						
							2023-06-27 02:45:24 +00:00  
						
					 
				
					
						
							
							
								 
								wxiaoguang
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								ddf96f68cc 
								
							 
						 
						
							
							
								
								Use JSON response for "user/logout" ( #25522 )  
							
							 
							
							... 
							
							
							
							The request sent to "user/logout" is from "link-action", it expects to
get JSON response. 
							
						 
						
							2023-06-26 21:36:10 +02:00  
						
					 
				
					
						
							
							
								 
								silverwind
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								da6df0d063 
								
							 
						 
						
							
							
								
								Fix migrate page layout on mobile ( #25507 )  
							
							 
							
							... 
							
							
							
							Fixes: https://github.com/go-gitea/gitea/issues/25462 
On supporting browsers, text in description is [wrapped
equally](https://caniuse.com/css-text-wrap-balance ).
<img width="488" alt="Screenshot 2023-06-26 at 00 17 21"
src="https://github.com/go-gitea/gitea/assets/115237/cb8e3a50-6225-4a8c-a6c0-f35a17d2af76 ">
<img width="1254" alt="Screenshot 2023-06-26 at 00 14 51"
src="https://github.com/go-gitea/gitea/assets/115237/0885404e-973e-45ce-b41e-5cb265a4cd1e "> 
							
						 
						
							2023-06-26 09:57:36 +00:00  
						
					 
				
					
						
							
							
								 
								wxiaoguang
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								d5f007539a 
								
							 
						 
						
							
							
								
								Clarify the reason why the user can't add a new email if there is a pending activation ( #25509 )  
							
							 
							
							... 
							
							
							
							 
							
						 
						
							2023-06-26 04:52:49 +00:00  
						
					 
				
					
						
							
							
								 
								sebastian-sauer
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								7609f2f27e 
								
							 
						 
						
							
							
								
								Link to existing PR when trying to open a new PR on the same branches ( #25494 )  
							
							 
							
							... 
							
							
							
							when trying to create a PR for an existing PRs branch combination link
to the PR directly and not just to the repo.
Before:

After:
 
							
						 
						
							2023-06-25 10:03:36 +00:00