a370efc13f 
								
							 
						 
						
							
							
								
								Use template context function for avatar rendering ( #26385 )  
							
							... 
							
							
							
							Introduce `AvatarUtils`, no need to pass `$.Context` to every
sub-template, and simplify the template helper functions. 
							
						 
						
							2023-08-10 11:19:39 +08:00  
				
					
						
							
							
								 
						
							
								daf7092863 
								
							 
						 
						
							
							
								
								Improve multiple strings in en-US locale ( #26213 )  
							
							... 
							
							
							
							I kept sending pull requests that consisted of one-line changes. It's
time to
settle this once and for all. (Maybe.)
- Explain Gitea behavior and the consequences of each
  setting better, so that the user does not have to consult
  the docs.
- Do not use different spellings of identical terms
  interchangeably, e.g. `e-mail` and `email`.
- Use more conventional terms to describe the same things,
  e.g. `Confirm Password` instead of `Re-Type Password`.
- Introduces additional clarification for Mirror Settings
- Small adjustments in test
- This is a cry for help.
- Grammar and spelling consistencies for en-US locale
  (e.g. cancelled -> canceled)
- Introduce tooltip improvements.
---------
Co-authored-by: delvh <dev.lh@web.de>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: Giteabot <teabot@gitea.io> 
							
						 
						
							2023-08-08 15:25:05 +00:00  
				
					
						
							
							
								 
						
							
								4fc4f6e634 
								
							 
						 
						
							
							
								
								Refactor "editorconfig" ( #26391 )  
							
							... 
							
							
							
							There are 2 kinds of ".Editorconfig" in code, one is `JSON string` for
the web edtior, another is `*editorconfig.Editorconfig` for the file
rendering (used by `TabSizeClass`)
This PR distinguish them with different names.
And by the way, change the default tab size from 8 to 4, I think few
people would like to use 8-size tabs nowadays. 
							
						 
						
							2023-08-08 10:44:19 +00:00  
				
					
						
							
							
								 
						
							
								20f47bbca9 
								
							 
						 
						
							
							
								
								fix generated source URL on rendered files ( #26364 )  
							
							... 
							
							
							
							- The permalink and 'Reference in New issue' URL of an renderable file
(those where you can see the source and a rendered version of it, such
as markdown) doesn't contain `?display=source`. This leads the issue
that the URL doesn't have any effect, as by default the rendered version
is shown and thus not the source.
- Add `?display=source` to the permalink URL and to 'Reference in New
Issue' if it's renderable file.
- Add integration testing.
Refs: https://codeberg.org/forgejo/forgejo/pulls/1088 
Co-authored-by: Gusted <postmaster@gusted.xyz>
Co-authored-by: Giteabot <teabot@gitea.io> 
							
						 
						
							2023-08-08 09:04:04 +00:00  
				
					
						
							
							
								 
						
							
								78b2a1cc36 
								
							 
						 
						
							
							
								
								Remove unnecessary template helper repoAvatar ( #26387 )  
							
							... 
							
							
							
							And simplify the "repo/icon" code 
							
						 
						
							2023-08-08 15:29:35 +08:00  
				
					
						
							
							
								 
						
							
								8736b134bd 
								
							 
						 
						
							
							
								
								Display human-readable text instead of cryptic filemodes ( #26352 )  
							
							... 
							
							
							
							Now, you don't need to be a git expert anymore to know what these
numbers mean.
## Before

## After

or when the mode actually changed:
 
							
						 
						
							2023-08-06 21:52:34 +02:00  
				
					
						
							
							
								 
						
							
								9ac6bb053c 
								
							 
						 
						
							
							
								
								Hide `last indexed SHA` when a repo could not be indexed yet ( #26340 )  
							
							... 
							
							
							
							Now, for a new repo without any commit, the Last indexed SHA field looks like this:
Before:

After: 

Fixes  #26336  
							
						 
						
							2023-08-05 13:04:14 +02:00  
				
					
						
							
							
								 
						
							
								e5011a0e6d 
								
							 
						 
						
							
							
								
								Remove commit load branches and tags in wiki repo ( #26304 )  
							
							... 
							
							
							
							If click `load branches and tags`, you will get 500 error from backend,
as it is a wiki repo.


Co-authored-by: Giteabot <teabot@gitea.io> 
							
						 
						
							2023-08-04 15:49:43 +00:00  
				
					
						
							
							
								 
						
							
								30eae5a40c 
								
							 
						 
						
							
							
								
								Fix incorrect color of selected assignees when create issue ( #26324 )  
							
							... 
							
							
							
							Before:

After:

Co-authored-by: Giteabot <teabot@gitea.io> 
							
						 
						
							2023-08-04 14:14:30 +00:00  
				
					
						
							
							
								 
						
							
								865d2221c0 
								
							 
						 
						
							
							
								
								Add `Retry` button when creating a mirror-repo fails ( #26228 )  
							
							... 
							
							
							
							fixed  #26156  
* Added a retry button in the frontend (only displayed when the status
is abnormal)
* After clicking Retry, the backend adds the task back to the task queue


---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> 
						
							2023-08-04 10:21:32 +08:00  
				
					
						
							
							
								 
						
							
								d74c2228e3 
								
							 
						 
						
							
							
								
								Remove nonsense `<a>` for commit status check icon ( #26287 )  
							
							... 
							
							
							
							We are using `<a>` for commit status check icon with no link. So it is
clickable but this is no sense.
I think we can convert this to `div`.

Co-authored-by: Giteabot <teabot@gitea.io> 
							
						 
						
							2023-08-03 19:58:41 +02:00  
				
					
						
							
							
								 
						
							
								0827fbd49c 
								
							 
						 
						
							
							
								
								Make confusable character warning less jarring ( #25069 )  
							
							... 
							
							
							
							This commit assumes that the warning can be made more discreet
so as to make it less annoying for the people that do not actually
need the warning, without necessarily increasing the risk for those
that do need it.
This doesn't fix the underlying problem of the warning being shown
in certain cases that, say, a certain kind of whitespace character
like 0x1E could be absolutely justifiable from a technical
perspective.
---------
Co-authored-by: delvh <dev.lh@web.de> 
							
						 
						
							2023-08-03 22:16:06 +08:00  
				
					
						
							
							
								 
						
							
								6ed4626ed5 
								
							 
						 
						
							
							
								
								Merge `templates/projects/list.tmpl` and `templates/repo/projects/list.tmpl` together ( #26265 )  
							
							... 
							
							
							
							(cherry picked from commit 473862a1d599382ca022482e2e044025872d240b)
Refs: https://codeberg.org/forgejo/forgejo/pulls/1126 
Co-authored-by: Louis Seubert <louis.seubert.ls@gmail.com>
Co-authored-by: Giteabot <teabot@gitea.io> 
							
						 
						
							2023-08-01 16:54:54 +00:00  
				
					
						
							
							
								 
						
							
								ab388deb0e 
								
							 
						 
						
							
							
								
								Allow editing push mirrors after creation ( #26151 )  
							
							... 
							
							
							
							Allow users to edit the sync interval for existing push mirrors.
Currently, there is no way to modify the interval once the mirror is
created.
<details>
  <summary>Screenshots</summary>
  
## Before
<img width="936" alt="Screenshot 2023-07-26 at 9 31 21 AM"
src="https://github.com/go-gitea/gitea/assets/80308335/35b8a40c-4320-474c-a866-1dea0f1fa0de ">
## After
<img width="945" alt="Screenshot 2023-07-26 at 9 44 40 AM"
src="https://github.com/go-gitea/gitea/assets/80308335/ee12e12f-0f68-4feb-90eb-33366f5997d3 ">
### On hover
<img width="247" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/2f32de45-bd50-4150-9623-3be2ef3ea7f8 ">
<img width="237" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/49f4ab4d-ccff-4489-80ce-a9788a73c3bb ">
<img width="245" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/165fc888-9d48-438a-b730-d4beb12122af ">
### Edit modal
<img width="905" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/2a7ca24b-4f36-4e0e-9799-39f2ecc46413 ">
### Only valid times are allowed
<img width="728" alt="Screenshot 2023-07-26 at 9 50 01 AM"
src="https://github.com/go-gitea/gitea/assets/80308335/ced6d330-c235-4e29-8f17-28daddcf1444 ">
<img width="853" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/8636f62a-70d1-4684-a3e8-b205adc03580 ">
</details>
Fixes  #21295 
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> 
							
						 
						
							2023-08-01 16:00:59 +00:00  
				
					
						
							
							
								 
						
							
								edd93fcfbc 
								
							 
						 
						
							
							
								
								Fix due date rendering the wrong date in issue ( #26268 )  
							
							... 
							
							
							
							Closes  #26263 
We have to pass the date without the time.
# Before

# After

Signed-off-by: Yarden Shoham <git@yardenshoham.com> 
						
							2023-08-01 16:21:04 +02:00  
				
					
						
							
							
								 
						
							
								9a65d011f6 
								
							 
						 
						
							
							
								
								Some fixes of the prompt of new branches ( #26257 )  
							
							... 
							
							
							
							Related to #26239 
This PR makes some fixes:
- do not show the prompt for mirror repos and repos with pull request
units disabled
- use `commit_time` instead of `updated_unix`, as `commit_time` is the
real time when the branch was pushed 
							
						 
						
							2023-08-01 07:25:11 +00:00  
				
					
						
							
							
								 
						
							
								b9baed2c74 
								
							 
						 
						
							
							
								
								Introduce `flex-list` & `flex-item` elements for Gitea UI ( #25790 )  
							
							... 
							
							
							
							This PR introduces a new UI element type for Gitea called `flex-item`.
It consists of a horizontal card with a leading, main and trailing part:

The idea behind it is that in Gitea UI, we have many cases where we use
this kind of layout, but it is achieved in many different ways:
  - grid layout
  - `.ui.list` with additional hacky flexbox
- `.ui.key.list` - looks to me like a style set originally created for
ssh/gpg key list, was used in many other places
  - `.issue.list` - created for issue cards, used in many other places
  - ...
This new style is based on `.issue.list`, specifically the refactoring
of it done in #25750 .
In this PR, the new element is introduced and lots of templates are
being refactored to use that style. This allows to remove a lot of
page-specific css, makes many of the elements responsive or simply
provides a cleaner/better-looking way to present information.
A devtest section with the new style is also available.
<details>
<summary>Screenshots (left: before, right: after)</summary>



















</details>
---------
Co-authored-by: Giteabot <teabot@gitea.io> 
							
						 
						
							2023-08-01 00:13:42 +02:00  
				
					
						
							
							
								 
						
							
								72363be7ca 
								
							 
						 
						
							
							
								
								Use shared template for webhook icons ( #26242 )  
							
							... 
							
							
							
							Fixes: https://github.com/go-gitea/gitea/issues/26241  
							
						 
						
							2023-07-31 08:00:52 +00:00  
				
					
						
							
							
								 
						
							
								aba9096999 
								
							 
						 
						
							
							
								
								Show image size on view page ( #25884 )  
							
							... 
							
							
							
							This simply shows the Image size on the view page. This is useful, if
you search a image with a specific size.
 
							
						 
						
							2023-07-31 05:04:45 +00:00  
				
					
						
							
							
								 
						
							
								04d7ced063 
								
							 
						 
						
							
							
								
								De-emphasize issue sidebar buttons ( #26171 )  
							
							... 
							
							
							
							I find the colored buttons in the issue sidebar distracting, given that
they are not primary actions, I think we can de-colorize them.
Before:
<img width="285" alt="Screenshot 2023-07-26 at 19 42 22"
src="https://github.com/go-gitea/gitea/assets/115237/7e784805-4e01-4199-94bb-0538a0130264 ">
<img width="288" alt="Screenshot 2023-07-26 at 19 43 06"
src="https://github.com/go-gitea/gitea/assets/115237/3a89c661-e24a-4ebf-a585-d404d0a6a78a ">
<img width="285" alt="Screenshot 2023-07-26 at 19 44 36"
src="https://github.com/go-gitea/gitea/assets/115237/c1aa8c13-6f41-4763-8149-d1c07cb4be5c ">:
After:
<img width="286" alt="Screenshot 2023-07-26 at 19 42 04"
src="https://github.com/go-gitea/gitea/assets/115237/74d640c2-e0ab-4fef-87aa-9e788e9010e2 ">
<img width="285" alt="Screenshot 2023-07-26 at 19 42 51"
src="https://github.com/go-gitea/gitea/assets/115237/3b69976a-9aa4-4e1c-8df3-4168f4a9fcf9 ">
<img width="286" alt="Screenshot 2023-07-26 at 19 45 15"
src="https://github.com/go-gitea/gitea/assets/115237/897222fd-4df2-4d99-98eb-e5f8fb77c4d6 "> 
							
						 
						
							2023-07-30 22:46:53 +00:00  
				
					
						
							
							
								 
						
							
								aa723dea9b 
								
							 
						 
						
							
							
								
								Don't autosize textarea in diff view ( #26233 )  
							
							... 
							
							
							
							Resizing the comment editor can be a very expensive operation because it
triggers page reflows, which on large PRs can take upwards of seconds to
complete. Disable this mechanism on the diff page only where we know
that the page can get large.
Fixes https://github.com/go-gitea/gitea/issues/26201  for the textarea
editor.
I don't think this can be fixed for EasyMDE because as far as I can
tell, it exposes no option to disable this resizing.
---------
Co-authored-by: Giteabot <teabot@gitea.io> 
							
						 
						
							2023-07-31 00:11:15 +02:00  
				
					
						
							
							
								 
						
							
								11074258fc 
								
							 
						 
						
							
							
								
								Fix commit compare style ( #26209 )  
							
							... 
							
							
							
							as title
Fixes : #25825 
Before
<img width="1334" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/c54a41b0-39bd-4094-a956-081a8f4128f2 ">
After change
<img width="1340" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/c112d235-6bbe-4bcb-9529-78da3ab0fa14 ">
Co-authored-by: Giteabot <teabot@gitea.io> 
							
						 
						
							2023-07-29 16:19:12 +00:00  
				
					
						
							
							
								 
						
							
								05d0b7ca91 
								
							 
						 
						
							
							
								
								Fixed incorrect locale references ( #26218 )  
							
							... 
							
							
							
							Fixed two incorrect headers for setting the page navigation bar:
* User settings page, should not use the title "`org.settings`"
* Repo settings page, should not use the title "`org.settings`" 
							
						 
						
							2023-07-29 21:34:22 +08:00  
				
					
						
							
							
								 
						
							
								1c89f15f42 
								
							 
						 
						
							
							
								
								Use calendar icon for `Joined on...` in profiles ( #26215 )  
							
							
							
						 
						
							2023-07-29 19:34:49 +08:00  
				
					
						
							
							
								 
						
							
								55532061c8 
								
							 
						 
						
							
							
								
								Add commits dropdown in PR files view and allow commit by commit review ( #25528 )  
							
							... 
							
							
							
							This PR adds a new dropdown to select a commit or a commit range
(shift-click like github) of a Pull Request.
After selection of a commit only the changes of this commit will be shown.
When selecting a range of commits the diff of this range is shown.
This allows to review a PR commit by commit or by viewing only commit ranges.
The "Show changes since your last review" mechanism github uses is implemented, too.
When reviewing a single commit or a commit range the "Viewed" functionality is disabled.
## Screenshots
### The commit dropdown

### Selecting a commit range

### Show changes of a single commit only

### Show changes of a commit range

Fixes https://github.com/go-gitea/gitea/issues/20989 
Fixes https://github.com/go-gitea/gitea/issues/19263 
---------
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: delvh <dev.lh@web.de> 
							
						 
						
							2023-07-28 21:18:12 +02:00  
				
					
						
							
							
								 
						
							
								1d8d90fd37 
								
							 
						 
						
							
							
								
								Fixing the align of commit stats in commit_page template. ( #26161 )  
							
							... 
							
							
							
							Fixing the align center to row and space around for commit_page
template. 
							
						 
						
							2023-07-28 13:12:44 -04:00  
				
					
						
							
							
								 
						
							
								16afe4f631 
								
							 
						 
						
							
							
								
								Add tooltip to describe LFS table column and color `delete LFS file` button red ( #26181 )  
							
							... 
							
							
							
							Fix: https://github.com/go-gitea/gitea/issues/26152 
Thease changes are related to UX and accessibility changes in desktop
mode.
<img width="50" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/30a75b50-4f8d-4108-9219-2c69b2a8fa6f ">
Also  this is incomplete header 
<img width="264" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/87837076-dfc7-4a68-863a-795edf61eb02 ">
Lets add a tooltip if it is applicable or add `title` attribute so that
it will be clearly visible.
After 

 
							
						 
						
							2023-07-27 13:39:09 +00:00  
				
					
						
							
							
								 
						
							
								bd6ef71854 
								
							 
						 
						
							
							
								
								Show branches and tags that contain a commit ( #25180 )  
							
							... 
							
							
							
							Now, you can see for a commit which existing branches and tags contain it.
You first have to click on the `load branches and tags` button, they are not preloaded by default.
All branches and tags are ordered descending by creation date.
You can even see without much hassle if the given commit is already part of the default branch.
Closes  #25152  
## Screenshots
### Initial

### Loaded

---------
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> 
							
						 
						
							2023-07-27 12:47:41 +02:00  
				
					
						
							
							
								 
						
							
								1c6c38fa6e 
								
							 
						 
						
							
							
								
								Improve display of Labels/Projects/Assignees sort options ( #25886 )  
							
							... 
							
							
							
							Labels:
Before: (no highlights)

After:


Projects:
Before: (no highlights)

After:


Assignee:
Before: (no highlights)

After:

 
							
						 
						
							2023-07-26 13:00:50 +00:00  
				
					
						
							
							
								 
						
							
								f9e5d980bc 
								
							 
						 
						
							
							
								
								Fix wrong branch name in rename branch modal ( #26146 )  
							
							... 
							
							
							
							Before:

After:
 
							
						 
						
							2023-07-26 11:26:17 +00:00  
				
					
						
							
							
								 
						
							
								9ed3700ad2 
								
							 
						 
						
							
							
								
								Fix LFS object list style ( #26133 )  
							
							... 
							
							
							
							Close  #26104  . Only a quick fix, the UI is not perfect.
Before:
<details>


</details>
After:
<details>


</details> 
						
							2023-07-26 10:00:52 +08:00  
				
					
						
							
							
								 
						
							
								5a56f9699c 
								
							 
						 
						
							
							
								
								Fix UI for release tag page / wiki page / subscription page ( #25948 )  
							
							... 
							
							
							
							Agenda:
This PR contains UI fixes for release tag page / wiki page /
subscription page.
Here is the list of changes made in this PR.
1. Release tag page
a. In the New Release page the whole ui got change. Now it is covering
in full page page with mobile view port. Description about the release
the editor preview now has a min-height. and the check boxes for
`Prerelease` and option are left aligned. Couple of divider are added.
2. Subscription page: 
a. In the subscription page the ui was distorted in mobile view. Now its
fix. Couple of unused styles were removed.
3. Create Wiki page:- 
a. In the page the preview of markdown is now contains a fix min-height
so this it will not distorted in desktop view and a divider is added
before action buttons. Couple of unused styles were removed.
# Before
## Release page
<img width="1391" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/319dec2e-08cf-40c5-920a-d651930ee28e ">
<img width="494" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/03249f40-2d36-4552-bb93-43832aac2f8b ">
<img width="1390" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/bf8b2d31-4857-480b-abd9-66a3ae6e24d8 ">
<img width="484" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/c3a58210-a337-4c8e-89a6-edb3975986bb ">
Editor 
<img width="958" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/3bdd299d-d12b-4774-ace9-7184b1a57b18 ">
Editor preview
<img width="1293" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/2b61c528-c018-4800-ab86-07aae56adecd ">
<img width="484" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/ff7bc5ee-9dc0-4f78-a0b1-94277ab27700 ">
#### After
<img width="1439" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/94f7e073-5977-40bd-98ef-0711ed0815cc ">
<img width="1384" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/83e3105f-c1ee-4329-b90f-8bb724dac50f ">
<img width="1440" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/05f024a5-52eb-4072-8599-d6ca12f6fad1 ">
<img width="1387" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/c73f069b-572a-4a13-aaa9-fc5b4dd3420d ">
<img width="1440" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/2f98f012-8e64-4a12-9595-5acdef18f85c ">
Markdown preview change
<img width="1368" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/31e583ec-48f6-4f1a-8b56-0164fcb127a5 ">
Wiki page
Before
<img width="1393" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/9c9cfdf6-3c2a-4f47-883b-76624d96f9a0 ">
<img width="499" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/522ad573-1ad2-4fa2-8bf7-48a3dded14e7 ">
Preview of mark down. 
<img width="488" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/998f3c25-9fca-43c8-b1ff-648aab291727 ">
Footer 
<img width="490" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/89c6cf4e-4599-4403-bac8-285efdd9361a ">
After
<img width="1389" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/1ee0fc72-f864-44c0-b2e4-e0e8a8470204 ">
<img width="498" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/b35b9a5d-8e26-4869-a6ed-6cef1f4a87a6 ">
<img width="499" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/b40bcbaa-fca6-42ab-9556-f950811b565d ">
Preview tab block has min-height 
<img width="1392" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/4a53d6c2-596c-423a-91b1-533cef734f93 ">
Mobile view
<img width="496" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/c5ffc4c9-3c21-4cad-bc32-2ea3f0644a08 ">
<img width="497" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/08dd560f-4333-41ec-95b9-8154910d2254 ">
<img width="496" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/9fba8f55-727b-4756-a4a6-2070c719b15b ">
## Subscription page
### Before
<img width="1393" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/0a7d561b-f56c-4ebe-93bd-952abecd437f ">
<img width="492" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/4dc44d0c-ea81-4130-8afb-8f271c029e8a ">
After
<img width="1394" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/a3567e30-2b5b-49d6-9ecb-2ab481ea4d36 ">
<img width="494" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/024da9e2-dfc4-4672-95cc-a6ac034d9712 ">
<img width="508" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/b748ecea-427c-4f8b-a1bf-08f82f9a42e6 "> 
							
						 
						
							2023-07-25 17:53:16 +00:00  
				
					
						
							
							
								 
						
							
								ab72f7ee4a 
								
							 
						 
						
							
							
								
								remove IsWarning in  tmpl ( #26120 )  
							
							... 
							
							
							
							This problem occurs because in #25839 , the warning status has been
removed, but there is something in the tmpl that hasn't been changed.
related #25839 
close  #26118  
							
						 
						
							2023-07-25 12:09:01 +00:00  
				
					
						
							
							
								 
						
							
								ad5ce59800 
								
							 
						 
						
							
							
								
								Improve commit graph alignment and truncating ( #26112 )  
							
							... 
							
							
							
							Fix  #26101 
 
						
							2023-07-25 10:17:41 +00:00  
				
					
						
							
							
								 
						
							
								a12a5f3652 
								
							 
						 
						
							
							
								
								Fix duplicated url prefix on issue context menu ( #26066 )  
							
							... 
							
							
							
							Fix  #26060  
						
							2023-07-23 11:56:43 +02:00  
				
					
						
							
							
								 
						
							
								2f0e79e639 
								
							 
						 
						
							
							
								
								Use frontend fetch for branch dropdown component  ( #25719 )  
							
							... 
							
							
							
							- Send request to get branch/tag list, use loading icon when waiting for
response.
- Only fetch when the first time branch/tag list shows.
- For backend, removed assignment to `ctx.Data["Branches"]` and
`ctx.Data["Tags"]` from `context/repo.go` and passed these data wherever
needed.
- Changed some `v-if` to `v-show` and used native `svg` as mentioned in
https://github.com/go-gitea/gitea/pull/25719#issuecomment-1631712757  to
improve perfomance when there are a lot of branches.
- Places Used the dropdown component:
     Repo Home Page
    
<img width="1429" alt="Screen Shot 2023-07-06 at 12 17 51"
src="https://github.com/go-gitea/gitea/assets/17645053/6accc7b6-8d37-4e88-ae1a-bd2b3b927ea0 ">
    Commits Page
<img width="1431" alt="Screen Shot 2023-07-06 at 12 18 34"
src="https://github.com/go-gitea/gitea/assets/17645053/2d0bf306-d1e2-45a8-a784-bc424879f537 ">
    Specific commit -> operations -> cherry-pick
    
<img width="758" alt="Screen Shot 2023-07-06 at 12 23 28"
src="https://github.com/go-gitea/gitea/assets/17645053/1e557948-3881-4e45-a625-8ef36d45ae2d ">
    Release Page
    
<img width="1433" alt="Screen Shot 2023-07-06 at 12 25 05"
src="https://github.com/go-gitea/gitea/assets/17645053/3ec82af1-15a4-4162-a50b-04a9502161bb ">
- Demo
https://github.com/go-gitea/gitea/assets/17645053/d45d266b-3eb0-465a-82f9-57f78dc5f9f3 
- Note:
UI of dropdown menu could be improved in another PR as it should apply
to more dropdown menus.
Fix  #14180 
---------
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> 
							
						 
						
							2023-07-21 11:20:04 +00:00  
				
					
						
							
							
								 
						
							
								dbbae67f44 
								
							 
						 
						
							
							
								
								Remove commit status running and warning from the dashboard repo list ( #26036 )  
							
							... 
							
							
							
							Also added comments so the next time the dashboard repo list won't be
forgotten
Follows #25839 
Signed-off-by: Yarden Shoham <git@yardenshoham.com> 
							
						 
						
							2023-07-21 10:32:25 +00:00  
				
					
						
							
							
								 
						
							
								840830b655 
								
							 
						 
						
							
							
								
								Remove commit status running and warning to align GitHub ( #25839 )  
							
							... 
							
							
							
							Fix  #25776 . Close  #25826 .
In the discussion of #25776 , @wolfogre's suggestion was to remove the
commit status of `running` and `warning` to keep it consistent with
github.
references:
-
https://docs.github.com/en/rest/commits/statuses?apiVersion=2022-11-28#about-commit-statuses 
## ⚠️  BREAKING ⚠️ 
So the commit status of Gitea will be consistent with GitHub, only
`pending`, `success`, `error` and `failure`, while `warning` and
`running` are not supported anymore.
---------
Co-authored-by: Jason Song <i@wolfogre.com> 
						
							2023-07-21 16:24:36 +08:00  
				
					
						
							
							
								 
						
							
								037c9895a7 
								
							 
						 
						
							
							
								
								Support copy protected branch from template repository ( #25889 )  
							
							... 
							
							
							
							Fix  #14303  
						
							2023-07-21 12:32:47 +08:00  
				
					
						
							
							
								 
						
							
								dcb607d3cf 
								
							 
						 
						
							
							
								
								Make pending commit status yellow again ( #25935 )  
							
							... 
							
							
							
							With the introduction of Actions, the pending commit icon has changed
from yellow to grey for Drone integrations which never set the "running"
status, so it stays in "pending" until completion.
I find it better to have this icon colored like on 1.19. Now both the
"pending" and "running" icons look the same, but I guess we could add an
animation to the "running" state similar to GitHub has to it later.
Before:
<img width="339" alt="Screenshot 2023-07-17 at 19 14 19"
src="https://github.com/go-gitea/gitea/assets/115237/2f4886e4-74fd-42ea-b59e-9af8f141bf1f ">
After:
<img width="335" alt="Screenshot 2023-07-17 at 19 14 30"
src="https://github.com/go-gitea/gitea/assets/115237/53189642-e72d-47f6-9cbe-f14eda28f730 ">
Also, it matches GH's icon:
<img width="466" alt="image"
src="https://github.com/go-gitea/gitea/assets/115237/5804ff90-d223-4a3c-8093-7a9abbaacf87 ">
---------
Co-authored-by: delvh <dev.lh@web.de> 
							
						 
						
							2023-07-18 16:59:02 +00:00  
				
					
						
							
							
								 
						
							
								d473de0c2d 
								
							 
						 
						
							
							
								
								Make `add line comment` buttons focusable ( #25894 )  
							
							... 
							
							
							
							Use a real button and add an aria-label.
Additionally, show the button whenever it is focused.
See https://codeberg.org/forgejo/forgejo/issues/998  for explanation.
Our handling of this button is now equal to that of GitHub.
Nothing has changed visually. 
							
						 
						
							2023-07-15 11:45:34 +02:00  
				
					
						
							
							
								 
						
							
								dc679fc9fa 
								
							 
						 
						
							
							
								
								Fix incorrect release count ( #25879 )  
							
							... 
							
							
							
							Release count is not correct:
https://try.gitea.io/yp05327/testrepo/tags 

https://try.gitea.io/yp05327/testrepo/releases 

https://try.gitea.io/yp05327/testrepo/releases/tag/testtag 

We already have correct release count, no need to calculate it again.
c5e187c389/modules/context/repo.go (L547) 
							
						 
						
							2023-07-14 08:47:17 +00:00  
				
					
						
							
							
								 
						
							
								61c9268c56 
								
							 
						 
						
							
							
								
								Fix wrong usage of PathEscapeSegments in branch list page ( #25864 )  
							
							... 
							
							
							
							Before:

emmm, don't know how to write a good title to describe this issue.
If you have a good idea, I can change the title.
The fix code is copied from L122. Not sure it is right or not.
@lunny 
Maybe `DefaultBranchBranch` is also typo?
Two `Branch` in variable name . 
							
						 
						
							2023-07-14 06:08:38 +00:00  
				
					
						
							
							
								 
						
							
								b81c013057 
								
							 
						 
						
							
							
								
								Don't stack PR tab menu on small screens ( #25789 )  
							
							... 
							
							
							
							the stacking takes up screen space - display the tabs as the navigation
bar. github uses the same layout.
Screenshots (left before, right after):


Large screen:
 
							
						 
						
							2023-07-14 01:54:20 +00:00  
				
					
						
							
							
								 
						
							
								eec45b43db 
								
							 
						 
						
							
							
								
								move issue filters to shared template ( #25729 )  
							
							... 
							
							
							
							Issue filters are being used on repo list page and on milestone issues
page, and the code is mostly duplicated.
This PR does the following changes:
- move issue filters into a shared template
- allow filtering milestone issues by project, so no need to hide this
filter on milestone issues page
- remove some dead code (e. g. issue actions in milestone issues
template)
- fix label filter dropdown width
---------
Co-authored-by: 6543 <6543@obermui.de> 
							
						 
						
							2023-07-13 20:00:38 +00:00  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								d58096ec31 
								
							 
						 
						
							
							
								
								Fix the wrong default branch name displayed by checkout ( #25777 )  
							
							... 
							
							
							
							Related: #22743 
Before:

After:
 
							
						 
						
							2023-07-09 11:09:06 +02:00  
				
					
						
							
							
								 
						
							
								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