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 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							63ab92d797 
							
						 
					 
					
						
						
							
							Pre-register OAuth2 applications for git credential helpers ( #26291 )  
						
						... 
						
						
						
						This PR is an extended implementation of #25189  and builds upon the
proposal by @hickford in #25653 , utilizing some ideas proposed
internally by @wxiaoguang.
Mainly, this PR consists of a mechanism to pre-register OAuth2
applications on startup, which can be enabled or disabled by modifying
the `[oauth2].DEFAULT_APPLICATIONS` parameter in app.ini. The OAuth2
applications registered this way are being marked as "locked" and
neither be deleted nor edited over UI to prevent confusing/unexpected
behavior. Instead, they're being removed if no longer enabled in config.

The implemented mechanism can also be used to pre-register other OAuth2
applications in the future, if wanted.
Co-authored-by: hickford <mirth.hickford@gmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
---------
Co-authored-by: M Hickford <mirth.hickford@gmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> 
						
						
					 
					
						2023-08-09 14:24:07 +02:00 
						 
				 
			
				
					
						
							
							
								KN4CK3R 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e6f8e9318b 
							
						 
					 
					
						
						
							
							Use flex classes in package settings ( #26314 )  
						
						... 
						
						
						
						Regression of #25790 
Fixes  #26310 
---------
Co-authored-by: Giteabot <teabot@gitea.io> 
						
						
					 
					
						2023-08-08 18:28:24 +02:00 
						 
				 
			
				
					
						
							
							
								Panagiotis "Ivory" Vasilopoulos 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							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 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							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 
						 
				 
			
				
					
						
							
							
								Earl Warren 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							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 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							71d253f42e 
							
						 
					 
					
						
						
							
							Remove unnecessary template helper DisableGravatar ( #26386 )  
						
						... 
						
						
						
						And one "AllowedUserVisibilityModes" was missing, add it.
Co-authored-by: Giteabot <teabot@gitea.io> 
						
						
					 
					
						2023-08-08 08:29:14 +00:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							78b2a1cc36 
							
						 
					 
					
						
						
							
							Remove unnecessary template helper repoAvatar ( #26387 )  
						
						... 
						
						
						
						And simplify the "repo/icon" code 
						
						
					 
					
						2023-08-08 15:29:35 +08:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							6913053223 
							
						 
					 
					
						
						
							
							Start using template context function ( #26254 )  
						
						... 
						
						
						
						Before:
* `{{.locale.Tr ...}}`
* `{{$.locale.Tr ...}}`
* `{{$.root.locale.Tr ...}}`
* `{{template "sub" .}}`
* `{{template "sub" (dict "locale" $.locale)}}`
* `{{template "sub" (dict "root" $)}}`
* .....
With context function: only need to `{{ctx.Locale.Tr ...}}`
The "ctx" could be considered as a super-global variable for all
templates including sub-templates.
To avoid potential risks (any bug in the template context function
package), this PR only starts using "ctx" in "head.tmpl" and
"footer.tmpl" and it has a "DataRaceCheck". If there is anything wrong,
the code can be fixed or reverted easily. 
						
						
					 
					
						2023-08-08 01:22:47 +00:00 
						 
				 
			
				
					
						
							
							
								KN4CK3R 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							0c6ae61229 
							
						 
					 
					
						
						
							
							Allow package cleanup from admin page ( #25307 )  
						
						... 
						
						
						
						Until now expired package data gets deleted daily by a cronjob. The
admin page shows the size of all packages and the size of unreferenced
data. The users (#25035 , #20631 ) expect the deletion of this data if
they run the cronjob from the admin page but the job only deletes data
older than 24h.
This PR adds a new button which deletes all expired data.

---------
Co-authored-by: silverwind <me@silverwind.io> 
						
						
					 
					
						2023-08-08 00:46:10 +00:00 
						 
				 
			
				
					
						
							
							
								CaiCandong 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							3a42743b3a 
							
						 
					 
					
						
						
							
							Fix incorrect sort link with  .profile  repository ( #26374 )  
						
						... 
						
						
						
						fix  #26360  
					
						2023-08-07 19:59:17 +00:00 
						 
				 
			
				
					
						
							
							
								delvh 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							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 
						 
				 
			
				
					
						
							
							
								CaiCandong 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							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 
						 
				 
			
				
					
						
							
							
								yp05327 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							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 
						 
				 
			
				
					
						
							
							
								yp05327 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							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 
						 
				 
			
				
					
						
							
							
								Kerwin Bryant 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							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 
						 
				 
			
				
					
						
							
							
								yp05327 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							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 
						 
				 
			
				
					
						
							
							
								Panagiotis "Ivory" Vasilopoulos 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							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 
						 
				 
			
				
					
						
							
							
								Earl Warren 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							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 
						 
				 
			
				
					
						
							
							
								puni9869 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							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 
						 
				 
			
				
					
						
							
							
								Yarden Shoham 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							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 
						 
				 
			
				
					
						
							
							
								Zettat123 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							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 
						 
				 
			
				
					
						
							
							
								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 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							7e160f8824 
							
						 
					 
					
						
						
							
							Reduce margins on user settings page, introduce flex-container ( #26046 )  
						
						... 
						
						
						
						Same as https://github.com/go-gitea/gitea/pull/26026  but for the user
settings page. It introduces a new `flex-container` class and shares it
across both pages.
Before and After:
<img width="1264" alt="Screenshot 2023-07-21 at 19 35 57"
src="https://github.com/go-gitea/gitea/assets/115237/1358dab4-55c0-40ce-a4d5-673099304f3d ">
<img width="1269" alt="Screenshot 2023-07-21 at 19 35 42"
src="https://github.com/go-gitea/gitea/assets/115237/34812f6d-dc65-4009-b977-90e03efdc6d1 "> 
						
						
					 
					
						2023-07-31 07:16:03 +00:00 
						 
				 
			
				
					
						
							
							
								JakobDev 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							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 
						 
				 
			
				
					
						
							
							
								silverwind 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							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 
						 
				 
			
				
					
						
							
							
								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 
						 
				 
			
				
					
						
							
							
								puni9869 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							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 
						 
				 
			
				
					
						
							
							
								Kerwin Bryant 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							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 
						 
				 
			
				
					
						
							
							
								Panagiotis "Ivory" Vasilopoulos 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							1c89f15f42 
							
						 
					 
					
						
						
							
							Use calendar icon for Joined on... in profiles ( #26215 )  
						
						
						
						
					 
					
						2023-07-29 19:34:49 +08:00 
						 
				 
			
				
					
						
							
							
								sebastian-sauer 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							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 
						 
				 
			
				
					
						
							
							
								puni9869 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							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 
						 
				 
			
				
					
						
							
							
								puni9869 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							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 
						 
				 
			
				
					
						
							
							
								delvh 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							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 
						 
				 
			
				
					
						
							
							
								yp05327 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							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 
						 
				 
			
				
					
						
							
							
								yp05327 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							f9e5d980bc 
							
						 
					 
					
						
						
							
							Fix wrong branch name in rename branch modal ( #26146 )  
						
						... 
						
						
						
						Before:

After:
 
						
						
					 
					
						2023-07-26 11:26:17 +00:00 
						 
				 
			
				
					
						
							
							
								caicandong 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							f2cc4daf60 
							
						 
					 
					
						
						
							
							Doc update swagger doc for POST /orgs/{org}/teams  ( #26155 )  
						
						... 
						
						
						
						close  #26111  
					
						2023-07-26 10:22:56 +00:00 
						 
				 
			
				
					
						
							
							
								caicandong 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							13359581df 
							
						 
					 
					
						
						
							
							refactor improve NoBetterThan ( #26126 )  
						
						... 
						
						
						
						- The `NoBetterThan` function can only handle comparisons between
"pending," "success," "error," and "failure." For any other comparison,
we directly return false. This prevents logic errors like the one in
#26121 .
- The callers of the `NoBetterThan` function should also avoid making
incomparable calls.
---------
Co-authored-by: yp05327 <576951401@qq.com>
Co-authored-by: puni9869 <80308335+puni9869@users.noreply.github.com> 
						
						
					 
					
						2023-07-26 08:52:07 +00:00 
						 
				 
			
				
					
						
							
							
								Lunny Xiao 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							5dc37ef97a 
							
						 
					 
					
						
						
							
							Display deprecated warning in admin panel pages as well as in the log file ( #26094 )  
						
						... 
						
						
						
						This PR includes #26007  's changes but have a UI to prompt administrator
about the deprecated settings as well as the log or console warning.
Then users will have enough time to notice the problem and don't have
surprise like before.
<img width="1293" alt="图片"
src="https://github.com/go-gitea/gitea/assets/81045/c33355f0-1ea7-4fb3-ad43-cd23cd15391d ">
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> 
						
						
					 
					
						2023-07-26 03:53:37 +00:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							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 
						 
				 
			
				
					
						
							
							
								puni9869 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							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 
						 
				 
			
				
					
						
							
							
								caicandong 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							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 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ad5ce59800 
							
						 
					 
					
						
						
							
							Improve commit graph alignment and truncating ( #26112 )  
						
						... 
						
						
						
						Fix  #26101 
 
					
						2023-07-25 10:17:41 +00:00 
						 
				 
			
				
					
						
							
							
								JakobDev 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							6598d0291c 
							
						 
					 
					
						
						
							
							Allow Organisations to have a E-Mail ( #25082 )  
						
						... 
						
						
						
						Resolves  #25057 
This adds a E-Mail field to Organisations. The E-Mail is just shown on
the Profile when it is visited by a logged in User. The E-mail is not
used for something else.
**Screenshots:**


---------
Co-authored-by: Denys Konovalov <kontakt@denyskon.de>
Co-authored-by: Denys Konovalov <privat@denyskon.de>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: Giteabot <teabot@gitea.io> 
					
						2023-07-25 08:26:27 +00:00 
						 
				 
			
				
					
						
							
							
								caicandong 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							4211efe8b7 
							
						 
					 
					
						
						
							
							fix Missing 404 swagger response docs for /admin/users/{username} ( #26086 )  
						
						... 
						
						
						
						close  #26079  
					
						2023-07-24 10:48:44 +02:00 
						 
				 
			
				
					
						
							
							
								HesterG 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							24c3bb95ac 
							
						 
					 
					
						
						
							
							Categorize admin settings sidebar panel ( #26030 )  
						
						... 
						
						
						
						This PR reorganize and categorize the admin settings sidebar panel into
groups:
- User Accounts, User Emails, Organizations, Authentication Sources ->
Identity & Access
- Repositories, Packages -> Code Assets
- Webhooks, Applications -> Integrations
Before:
<img width="1346" alt="Screen Shot 2023-07-21 at 10 30 28"
src="https://github.com/go-gitea/gitea/assets/17645053/e0c5ae83-464f-4aaa-8bab-2c5258c9278d ">
After:
all configurable settings enabled (package, oauth, webhook)
<img width="1153" alt="Screen Shot 2023-07-21 at 10 27 30"
src="https://github.com/go-gitea/gitea/assets/17645053/88acf3f5-0623-4307-8654-69c654d80874 ">
all configurable settings disabled (package, oauth, webhook)
<img width="1391" alt="Screen Shot 2023-07-21 at 10 25 19"
src="https://github.com/go-gitea/gitea/assets/17645053/9e13aa60-e75c-4077-afd6-3da9e0ae18dd ">
only oauth enabled
<img width="1323" alt="Screen Shot 2023-07-21 at 10 26 23"
src="https://github.com/go-gitea/gitea/assets/17645053/ce4f9ec0-b141-4d5e-ac13-46d001724dc5 ">
only webhook enabled
<img width="1350" alt="Screen Shot 2023-07-21 at 10 26 55"
src="https://github.com/go-gitea/gitea/assets/17645053/702491bd-083e-44fa-82bc-52c4571e54ac "> 
						
						
					 
					
						2023-07-24 09:05:16 +08:00 
						 
				 
			
				
					
						
							
							
								Lunny Xiao 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a12a5f3652 
							
						 
					 
					
						
						
							
							Fix duplicated url prefix on issue context menu ( #26066 )  
						
						... 
						
						
						
						Fix  #26060  
					
						2023-07-23 11:56:43 +02:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a7e8273574 
							
						 
					 
					
						
						
							
							Fix the truncate and alignment problem for some admin tables ( #26042 )  
						
						... 
						
						
						
						Some "text truncate email" code were just copied&pasted, they are not
suitable for most admin tables.
For the table layouts, some "max-width" helpers could be very helpful.
At least, we can get rid of the confusing "email" CSS class.


 
						
						
					 
					
						2023-07-22 10:54:48 +00:00