techknowlogick 
								
							 
						 
						
							
							
								
							
							
	
	
	e96e440b8b 
 
						 
						
							
							
								
								
								add a shortcut to user's profile page to admin user details ( #27299 )  
							
							
							
							
						 
						
							2023-10-08 02:48:32 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									delvh 
								
							 
						 
						
							
							
								
							
							
	
	
	112f37c546 
 
						 
						
							
							
								
								
								Fix yet another ctx template bug ( #27417 )  
							
							... 
							
							
							
							
							Fixes  #27416  
						
							2023-10-04 02:11:01 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									JakobDev 
								
							 
						 
						
							
							
								
							
							
	
	
	cc5df26680 
 
						 
						
							
							
								
								
								Even more db.DefaultContext refactor ( #27352 )  
							
							... 
							
							
							
							
							Part of #27065 
---------
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: delvh <dev.lh@web.de> 
							
						 
						
							2023-10-03 10:30:41 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									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> 
							
						 
						
							2023-10-01 09:04:39 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									JakobDev 
								
							 
						 
						
							
							
								
							
							
	
	
	cf0df023be 
 
						 
						
							
							
								
								
								More db.DefaultContext refactor ( #27265 )  
							
							... 
							
							
							
							
							Part of #27065 
This PR touches functions used in templates. As templates are not static
typed, errors are harder to find, but I hope I catch it all. I think
some tests from other persons do not hurt. 
							
						 
						
							2023-09-29 12:12:54 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									wxiaoguang 
								
							 
						 
						
							
							
								
							
							
	
	
	93bd4351bf 
 
						 
						
							
							
								
								
								Fix more "locale" usages ( #27259 )  
							
							
							
							
						 
						
							2023-09-25 20:42:40 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									delvh 
								
							 
						 
						
							
							
								
							
							
	
	
	7960ba7e2b 
 
						 
						
							
							
								
								
								Always use ctx.Locale.Tr inside templates ( #27231 )  
							
							
							
							
						 
						
							2023-09-25 08:56:50 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Denys Konovalov 
								
							 
						 
						
							
							
								
							
							
	
	
	2325fe777d 
 
						 
						
							
							
								
								
								cleanup locale function usage ( #27227 )  
							
							
							
							
						 
						
							2023-09-24 20:31:58 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Denys Konovalov 
								
							 
						 
						
							
							
								
							
							
	
	
	63b25e816d 
 
						 
						
							
							
								
								
								fix issues on action runners page ( #27226 )  
							
							... 
							
							
							
							
							- switch from some weird status badge to label
- translate untranslated `Reset registration token` string
- change documentation link from act_runner README to Gitea Docs site
- fix "No runners available" message width
- use `ctx.Locale.Tr` where possible
 
							
						 
						
							2023-09-24 14:12:21 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Nanguan Lin 
								
							 
						 
						
							
							
								
							
							
	
	
	218e719ea8 
 
						 
						
							
							
								
								
								Fix the variable regexp pattern on web page ( #27161 )  
							
							... 
							
							
							
							
							same as (https://github.com/go-gitea/gitea/pull/26910 ) 
							
						 
						
							2023-09-21 09:03:13 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									silverwind 
								
							 
						 
						
							
							
								
							
							
	
	
	8099238618 
 
						 
						
							
							
								
								
								Change green buttons to primary color ( #27099 )  
							
							... 
							
							
							
							
							I think it's better if the primary actions have primary color instead of
green which fits better into the overall single-color UI design. This PR
currently replaces every green button with primary:
<img width="141" alt="Screenshot 2023-09-16 at 14 07 59"
src="https://github.com/go-gitea/gitea/assets/115237/843c1e50-4fb2-4ec6-84ba-0efb9472dcbe ">
<img width="161" alt="Screenshot 2023-09-16 at 14 07 51"
src="https://github.com/go-gitea/gitea/assets/115237/9442195a-a3b2-4a42-b262-8377d6f5c0d1 ">
Modal actions now use uncolored/primary instead of previous green/red
colors. I also removed the box-shadow on all basic buttons:
<img width="259" alt="Screenshot 2023-09-16 at 14 16 39"
src="https://github.com/go-gitea/gitea/assets/115237/5beea529-127a-44b0-8d4c-afa7b034a490 ">
<img width="261" alt="Screenshot 2023-09-16 at 14 17 42"
src="https://github.com/go-gitea/gitea/assets/115237/4757f7b2-4d46-49bc-a797-38bb28437b88 ">
The change currently includes the "Merge PR" button, for which we might
want to make an exception to match the icon color there:
<img width="442" alt="Screenshot 2023-09-16 at 14 33 53"
src="https://github.com/go-gitea/gitea/assets/115237/993ac1a5-c94d-4895-b76c-0d872181a70b "> 
							
						 
						
							2023-09-18 22:05:31 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									jladbrook 
								
							 
						 
						
							
							
								
							
							
	
	
	e33f112e01 
 
						 
						
							
							
								
								
								resolve issue with sort icons on admin/users and admin/runners ( #24360 )  
							
							... 
							
							
							
							
							Fixes  #24327  to avoid the sort icon changing the table header over
multiple lines and adds missing sort icons on the runners page. 
						
							2023-09-12 12:26:51 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									wxiaoguang 
								
							 
						 
						
							
							
								
							
							
	
	
	58abd4f06c 
 
						 
						
							
							
								
								
								Improve issue list layout ( #26983 )  
							
							... 
							
							
							
							
							Align everything with a new layout.
* Use "baseline" for some special elements, the "flex-item-icon" is for
the issue list only at the moment and I think it should be general
enough now (but not using "flex-item-leading" anymore in this case).
* Make the labels stretch themselves. 
							
						 
						
							2023-09-09 20:23:57 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									wxiaoguang 
								
							 
						 
						
							
							
								
							
							
	
	
	ffa4949eaa 
 
						 
						
							
							
								
								
								Improve flex list UI ( #26970 )  
							
							... 
							
							
							
							
							1. There is already `gt-ac`, so no need to introduce `flex-item-center`
2. The `flex-item-baseline` and `.flex-item-icon svg { margin-top: 1px
}` seem to be a tricky patch, they don't resolve the root problem, and
still cause misalignment in some cases.
* The root problem is: the "icon" needs to align with the sibling
"title"
    * So, make the "icon" and the "title" both have the same height 
3. `flex-text-inline` could only be used if the element is really
"inline", otherwise its `vertical-align` would make the box size change.
In most cases, `flex-text-block` is good enough.

---------
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Giteabot <teabot@gitea.io> 
							
						 
						
							2023-09-08 13:57:18 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Nanguan Lin 
								
							 
						 
						
							
							
								
							
							
	
	
	01e71e2a47 
 
						 
						
							
							
								
								
								Fix the secret regexp pattern on web page ( #26910 )  
							
							... 
							
							
							
							
							The error is caused by the web page not handling the post form
failure, which is 400 bad requests in this case. 
							
						 
						
							2023-09-05 20:15:19 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									BeYonme 
								
							 
						 
						
							
							
								
							
							
	
	
	918accaafa 
 
						 
						
							
							
								
								
								Relocate the RSS user feed button ( #26882 )  
							
							... 
							
							
							
							
							before:

after:

Co-authored-by: KN4CK3R <admin@oldschoolhack.me> 
							
						 
						
							2023-09-03 11:06:59 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									silverwind 
								
							 
						 
						
							
							
								
							
							
	
	
	9b76df53dc 
 
						 
						
							
							
								
								
								Minor dashboard tweaks, fix flex-list margins ( #26829 )  
							
							... 
							
							
							
							
							Some small dashboard tweaks:
- Remove margin-bottom from divider so first item does not appear to
have un-equal margins
- Restore previous icon color
- Add slight margin-right to icon
Before:
<img width="783" alt="Screenshot 2023-08-31 at 00 10 28"
src="https://github.com/go-gitea/gitea/assets/115237/b75f70d7-8704-4afb-866d-fea0484c52d4 ">
After:
<img width="783" alt="Screenshot 2023-08-31 at 00 10 08"
src="https://github.com/go-gitea/gitea/assets/115237/50ed0c47-6f7c-449e-a054-13091369d43f ">
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> 
							
						 
						
							2023-08-31 21:28:45 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									yp05327 
								
							 
						 
						
							
							
								
							
							
	
	
	bc930f332f 
 
						 
						
							
							
								
								
								Fix typo of RunerOwnerID ( #26508 )  
							
							
							
							
						 
						
							2023-08-15 23:10:40 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Panagiotis "Ivory" Vasilopoulos 
								
							 
						 
						
							
							
								
							
							
	
	
	73f6535406 
 
						 
						
							
							
								
								
								Fix URL of padlock icon in profile ( #26446 )  
							
							
							
							
						 
						
							2023-08-11 17:40:38 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									wxiaoguang 
								
							 
						 
						
							
							
								
							
							
	
	
	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 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Denys Konovalov 
								
							 
						 
						
							
							
								
							
							
	
	
	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 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Panagiotis "Ivory" Vasilopoulos 
								
							 
						 
						
							
							
								
							
							
	
	
	d58c542579 
 
						 
						
							
							
								
								
								Add 'Show on a map' button to Location in profile, fix layout ( #26214 )  
							
							... 
							
							
							
							
							Not too important, but I think that it'd be a pretty neat touch.
Also fixes some layout bugs introduced by a previous PR.
---------
Co-authored-by: Gusted <postmaster@gusted.xyz>
Co-authored-by: Caesar Schinas <caesar@caesarschinas.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> 
							
						 
						
							2023-07-31 08:44:45 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									silverwind 
								
							 
						 
						
							
							
								
							
							
	
	
	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 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									silverwind 
								
							 
						 
						
							
							
								
							
							
	
	
	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 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Panagiotis "Ivory" Vasilopoulos 
								
							 
						 
						
							
							
								
							
							
	
	
	1c89f15f42 
 
						 
						
							
							
								
								
								Use calendar icon for Joined on... in profiles ( #26215 )  
							
							
							
							
						 
						
							2023-07-29 19:34:49 +08: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 
								
							 
						 
						
							
							
								
							
							
	
	
	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 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									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 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									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 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									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 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									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 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									silverwind 
								
							 
						 
						
							
							
								
							
							
	
	
	af094fbb6c 
 
						 
						
							
							
								
								
								Introduce shared template for search inputs ( #25338 )  
							
							... 
							
							
							
							
							- Set
[type=search](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/search )
- Disable spellcheck
- Set maxLength 255 that I found in `templates/repo/issue/search.tmpl`
- Remove unnecessary `max-width`, it does nothing
---------
Co-authored-by: delvh <dev.lh@web.de>
Co-authored-by: Giteabot <teabot@gitea.io> 
							
						 
						
							2023-06-22 10:27:35 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									silverwind 
								
							 
						 
						
							
							
								
							
							
	
	
	656d3cc719 
 
						 
						
							
							
								
								
								Various UI fixes ( #25264 )  
							
							... 
							
							
							
							
							Numerous small UI fixes:
- Fix double border in collaborator list
- Fix system notice table background
- Mute links in repo and org lists
- Downsize projects edit buttons
- Improve milestones and project list rendering
- Condense milestone list entry to a single line of "metas"
- Mute ".." button in repo files list 
							
						 
						
							2023-06-21 21:59:49 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									sillyguodong 
								
							 
						 
						
							
							
								
							
							
	
	
	35a653d7ed 
 
						 
						
							
							
								
								
								Support configuration variables on Gitea Actions ( #24724 )  
							
							... 
							
							
							
							
							Co-Author: @silverwind @wxiaoguang 
Replace: #24404 
See:
- [defining configuration variables for multiple
workflows](https://docs.github.com/en/actions/learn-github-actions/variables#defining-configuration-variables-for-multiple-workflows )
- [vars
context](https://docs.github.com/en/actions/learn-github-actions/contexts#vars-context )
Related to:
- [x] protocol: https://gitea.com/gitea/actions-proto-def/pulls/7 
- [x] act_runner: https://gitea.com/gitea/act_runner/pulls/157 
- [x] act: https://gitea.com/gitea/act/pulls/43 
#### Screenshoot
Create Variable:


Workflow:
```yaml
  test_vars:
    runs-on: ubuntu-latest
    steps:
      - name: Print Custom Variables
        run: echo "${{ vars.test_key }}"
      - name: Try to print a non-exist var
        run: echo "${{ vars.NON_EXIST_VAR }}"
```
Actions Log:

---
This PR just implement the org / user (depends on the owner of the
current repository) and repo level variables, The Environment level
variables have not been implemented.
Because
[Environment](https://docs.github.com/en/actions/deployment/targeting-different-environments/using-environments-for-deployment#about-environments )
is a module separate from `Actions`. Maybe it would be better to create
a new PR to do it.
---------
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: Giteabot <teabot@gitea.io> 
							
						 
						
							2023-06-20 22:54:15 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									silverwind 
								
							 
						 
						
							
							
								
							
							
	
	
	f47744c3f1 
 
						 
						
							
							
								
								
								Update JS dependencies, remove space after emoji completion ( #25266 )  
							
							... 
							
							
							
							
							- Update all JS dependencies
- Enable stylint
[`media-feature-name-value-no-unknown`](https://stylelint.io/user-guide/rules/media-feature-name-value-no-unknown )
- Make use of new features in webpack and text-expander-element
- Tested Swagger and Mermaid
To explain the `text-expander-element` change: Before this version, the
element added a unavoidable space after emoji completion. Now that
https://github.com/github/text-expander-element/pull/36  is in, we gain
control over this space and I opted to remove it for emoji completion
and retain it for `@` mentions.
---------
Co-authored-by: Giteabot <teabot@gitea.io> 
							
						 
						
							2023-06-18 08:38:47 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									silverwind 
								
							 
						 
						
							
							
								
							
							
	
	
	e24f651c86 
 
						 
						
							
							
								
								
								Add template linting via djlint ( #25212 )  
							
							... 
							
							
							
							
							So I found this [linter](https://github.com/Riverside-Healthcare/djlint )
which features a mode for go templates, so I gave it a try and it did
find a number of valid issue, like unbalanced tags etc. It also has a
number of bugs, I had to disable/workaround many issues.
Given that this linter is written in python, this does add a dependency
on `python` >= 3.8 and `poetry` to the development environment to be
able to run this linter locally.
- `e.g.` prefixes on placeholders are removed because the linter had a
false-positive on `placeholder="e.g. cn=Search"` for the `attr=value`
syntax and it's not ideal anyways to write `e.g.` into a placeholder
because a placeholder is meant to hold a sample value.
- In `templates/repo/settings/options.tmpl` I simplified the logic to
not conditionally create opening tags without closing tags because this
stuff confuses the linter (and possibly the reader as well). 
							
						 
						
							2023-06-14 18:17:58 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									sillyguodong 
								
							 
						 
						
							
							
								
							
							
	
	
	8228751c55 
 
						 
						
							
							
								
								
								Support changing labels of Actions runner without re-registration ( #24806 )  
							
							... 
							
							
							
							
							close  #24540 
related:
- Protocol: https://gitea.com/gitea/actions-proto-def/pulls/9 
- Runner side: https://gitea.com/gitea/act_runner/pulls/201 
changes:
- Add column of `labels` to table `action_runner`, and combine the value
of `agent_labels` and `custom_labels` column to `labels` column.
- Store `labels` when registering `act_runner`.
- Update `labels` when `act_runner` starting and calling `Declare`.
- Users cannot modify the `custom labels` in edit page any more.
other changes:
- Store `version` when registering `act_runner`.
- If runner is latest version, parse version from `Declare`. But older
version runner still parse version from request header. 
						
							2023-06-13 22:28:31 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									silverwind 
								
							 
						 
						
							
							
								
							
							
	
	
	623b3b590e 
 
						 
						
							
							
								
								
								Button and color enhancements ( #24989 )  
							
							... 
							
							
							
							
							- Various corrections to button styles, especially secondary
- Remove focus highlight, it's annoying when it stays on button after
press
- Clearly define ghost and link buttons with demos in devtest
- Remove black, grey and tertiary buttons, they should not be used
- Make `arc-green` slightly darker
<img width="1226" alt="image"
src="https://github.com/go-gitea/gitea/assets/115237/8d89786a-01ab-40f8-ae5a-e17f40e35084 ">
<img width="1249" alt="image"
src="https://github.com/go-gitea/gitea/assets/115237/83651e6d-3c27-46ff-b8bd-ff344d70e949 ">
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: Giteabot <teabot@gitea.io> 
							
						 
						
							2023-06-09 08:37:47 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Yarden Shoham 
								
							 
						 
						
							
							
								
							
							
	
	
	abccb86b36 
 
						 
						
							
							
								
								
								Show bot label next to username when rendering autor link if the user is a bot ( #24943 )  
							
							... 
							
							
							
							
							If the user is a bot, we'll add a label next to the author link that
says `bot`. I didn't localize `bot` because passing `locale` into the
`autorlink` template would require changing all calls.
# Example
`yardenshoham` is a bot.
## Before

## After

---------
Signed-off-by: Yarden Shoham <git@yardenshoham.com> 
							
						 
						
							2023-05-26 18:58:11 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									silverwind 
								
							 
						 
						
							
							
								
							
							
	
	
	27c221aa5d 
 
						 
						
							
							
								
								
								Rework notifications list ( #24812 )  
							
							... 
							
							
							
							
							- Replace `<table>` with flexbox
- Add issue modification time and issue number
- Remove big title
- Replace tabs with menu items
- Add clicked item deletion on back button cache restoration
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> 
							
						 
						
							2023-05-25 02:31:26 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									silverwind 
								
							 
						 
						
							
							
								
							
							
	
	
	19993d8814 
 
						 
						
							
							
								
								
								Change --font-weight-bold to --font-weight-semibold and 600 value, introduce new font weight variables ( #24827 )  
							
							... 
							
							
							
							
							There was some recent discussion about this in Discord `ui-design`
channel and the conclusion was that
https://github.com/go-gitea/gitea/issues/24305  should have fixed their
OS font installation to have semibold weights.
I have now tested this 601 weight on a Windows 10 machine on Firefox
myself, and I immediately noticed that bold was excessivly bold and
rendering as 700 because browsers are biased towards bolder fonts. So
revert this back to the previous value. 
							
						 
						
							2023-05-21 23:37:32 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									silverwind 
								
							 
						 
						
							
							
								
							
							
	
	
	b92c142c97 
 
						 
						
							
							
								
								
								Clean up various avatar dimensions ( #24701 )  
							
							... 
							
							
							
							
							Clean up a few cases where avatar dimensions were overwritten via CSS,
which were no longer needed or were possible to set via HTML width.
Also included are two small fixes:
- Fix one more case of incorrect avatar offset on review timeline
- Vertically center avatars in review sidebar
There is more to be done here, but some of the work depends on Fomantic
`comment` module removal, or in the case of org member lists, a refactor
of the `avatarlink` template to accept a size.
<img width="371" alt="image"
src="https://github.com/go-gitea/gitea/assets/115237/9c5902fb-2b89-4a7d-a152-60e74c3b2c56 ">
<img width="306" alt="image"
src="https://github.com/go-gitea/gitea/assets/115237/c8d92e2a-91c9-4f4a-a7de-6ae1a6bc0479 ">
---------
Co-authored-by: Giteabot <teabot@gitea.io> 
							
						 
						
							2023-05-14 14:15:59 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									yp05327 
								
							 
						 
						
							
							
								
							
							
	
	
	49808136c5 
 
						 
						
							
							
								
								
								Display owner of a runner as a tooltip instead of static text ( #24377 )  
							
							... 
							
							
							
							
							Before:

After:


---------
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Giteabot <teabot@gitea.io>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> 
							
						 
						
							2023-05-12 08:43:27 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Yarden Shoham 
								
							 
						 
						
							
							
								
							
							
	
	
	46679554d0 
 
						 
						
							
							
								
								
								Change add_on translation to added_on and include placeholder for the date ( #24562 )  
							
							... 
							
							
							
							
							- Very similar to #24550 
The correct thing to do is to translate the entire phrase into a single
string. The previous translation assumed all languages have a space
between the "added on" and the date (and that "added on" comes before
the date).
Some languages, like Hebrew, have no space between the "added on" and
the date. For example:
```ini
added_on=נוסף ב-%s
```
("added" becomes נוסף, "on" is ב and when paired with a date we use a
dash to connect ב with the date)
---------
Signed-off-by: Yarden Shoham <git@yardenshoham.com>
Co-authored-by: delvh <dev.lh@web.de> 
							
						 
						
							2023-05-06 21:11:27 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									wxiaoguang 
								
							 
						 
						
							
							
								
							
							
	
	
	241b74f6c5 
 
						 
						
							
							
								
								
								Improve template helper ( #24417 )  
							
							... 
							
							
							
							
							It seems that we really need the "context function" soon. So we should
clean up the helper functions first.
Major changes:
* Improve StringUtils and add JsonUtils
* Remove one-time-use helper functions like CompareLink
* Move other code (no change) to util_avatar/util_render/util_misc (no
need to propose changes for them)
I have tested the changed templates:




---------
Co-authored-by: Giteabot <teabot@gitea.io> 
							
						 
						
							2023-04-29 08:02:29 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Hester Gong 
								
							 
						 
						
							
							
								
							
							
	
	
	63a401ac40 
 
						 
						
							
							
								
								
								Move secrets and runners settings to actions settings ( #24200 )  
							
							... 
							
							
							
							
							This PR moves the secrets and runners settings to actions settings on
all settings(repo,org,user,admin) levels.
After this PR, if
[ENABLED](5e7543fcf4/custom/conf/app.example.ini (L2604)https://user-images.githubusercontent.com/17645053/234489731-15822d21-38e1-4560-8bbe-69f122376abc.png ">
2. User Level
"Secrets Management"
<img width="1427" alt="Screen Shot 2023-04-26 at 14 34 30"
src="https://user-images.githubusercontent.com/17645053/234489795-68c9c0cb-24f8-4f09-95c6-458ab914c313.png ">
3. Repo and Organization Levels
"Runners Management" and "Secrets Management" 
   Org:
<img width="1437" alt="Screen Shot 2023-04-26 at 14 35 07"
src="https://user-images.githubusercontent.com/17645053/234489996-f3af5ebb-d354-46ca-9087-a0b586845281.png ">
<img width="1433" alt="Screen Shot 2023-04-26 at 14 35 14"
src="https://user-images.githubusercontent.com/17645053/234490004-3abf8fed-81fd-4ce2-837a-935dade1793d.png ">
    Repo:
<img width="1419" alt="Screen Shot 2023-04-26 at 14 34 50"
src="https://user-images.githubusercontent.com/17645053/234489904-80c11038-4b58-462c-9d0b-8b7cf70bc2b3.png ">
    
<img width="1430" alt="Screen Shot 2023-04-26 at 14 34 57"
src="https://user-images.githubusercontent.com/17645053/234489918-4e8d1fe2-9bcd-4d8a-96c1-238a8088d92e.png ">
It also finished these tasks :
- [x] rename routers function "runners" to "actions", and refactor
related file names
- [x] check and modify part of the runners related functions to match
their name
- [x] Fix backend check caused by fmt check
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> 
							
						 
						
							2023-04-27 20:08:47 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									yp05327 
								
							 
						 
						
							
							
								
							
							
	
	
	5141bbd9ba 
 
						 
						
							
							
								
								
								Display 'Unknown' when runner.version is empty ( #24378 )  
							
							... 
							
							
							
							
							Before:

After:
 
							
						 
						
							2023-04-27 16:44:38 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									yp05327 
								
							 
						 
						
							
							
								
							
							
	
	
	62ca5825f7 
 
						 
						
							
							
								
								
								Fix incorrect last online time in runner_edit.tmpl ( #24376 )  
							
							... 
							
							
							
							
							Before:

After:
 
							
						 
						
							2023-04-27 15:56:49 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									yp05327 
								
							 
						 
						
							
							
								
							
							
	
	
	62eafea3f9 
 
						 
						
							
							
								
								
								Add missed column title in runner management page ( #24328 )  
							
							... 
							
							
							
							
							 
							
						 
						
							2023-04-26 03:46:25 -04:00