wxiaoguang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							d2f6588b66 
							
						 
					 
					
						
						
							
							Remove incorrect and unnecessary Escape from templates ( #29394 )  
						
						... 
						
						
						
						Follow #29165 
* some of them are incorrect, which would lead to double escaping (eg:
`(print (Escape $.RepoLink)`)
* other of them are not necessary, because `Tr` handles strings&HTML
automatically
Suggest to review by "unified view":
https://github.com/go-gitea/gitea/pull/29394/files?diff=unified&w=0  
						
						
					 
					
						2024-02-25 14:02:20 +00:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							f9207b0947 
							
						 
					 
					
						
						
							
							Refactor Safe modifier ( #29392 )  
						
						... 
						
						
						
						After this PR: no need to play with the Safe/Escape tricks anymore. See
the changes for more details. 
						
						
					 
					
						2024-02-25 10:45:56 +00:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							10c7996b5a 
							
						 
					 
					
						
						
							
							Remove RenderEmojiPlain from template helper ( #29375 )  
						
						... 
						
						
						
						RenderEmojiPlain(emoji.ReplaceAliases) should be called explicitly for
some contents, but not for everything.
Actually in modern days, in most cases it doesn't need such
"ReplaceAliases". So only keep it for issue/PR titles.
If anyone really needs to do ReplaceAliases for some contents, I will
propose a following fix. 
						
						
					 
					
						2024-02-24 22:34:51 +00:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c9d0e63c20 
							
						 
					 
					
						
						
							
							Remove unnecessary "Str2html" modifier from templates ( #29319 )  
						
						... 
						
						
						
						Follow #29165  
						
						
					 
					
						2024-02-22 18:05:47 +00:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							7a1557d2cc 
							
						 
					 
					
						
						
							
							Remove unnecessary "Safe" modifier from templates ( #29318 )  
						
						... 
						
						
						
						Follow #29165  
						
						
					 
					
						2024-02-22 17:02:33 +00:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a784ed3d6c 
							
						 
					 
					
						
						
							
							Use "Safe" modifier for manually constructed safe HTML strings in templates ( #29227 )  
						
						... 
						
						
						
						Follow #29165 . These HTML strings are safe to be rendered directly, to
avoid double-escaping. 
						
						
					 
					
						2024-02-18 01:48:59 +00:00 
						 
				 
			
				
					
						
							
							
								Yarden Shoham 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							0157db84b1 
							
						 
					 
					
						
						
							
							Fix label for pointing to a name instead of id in webhook settings ( #29209 )  
						
						... 
						
						
						
						Here's the spec for the `for` attribute:
https://html.spec.whatwg.org/multipage/forms.html#attr-label-for 
Signed-off-by: Yarden Shoham <git@yardenshoham.com> 
						
						
					 
					
						2024-02-17 14:32:43 +00:00 
						 
				 
			
				
					
						
							
							
								Yarden Shoham 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							7132a0ba75 
							
						 
					 
					
						
						
							
							Reference labels by IDs instead of names in keys settings ( #29194 )  
						
						... 
						
						
						
						Here's the spec for the `for` attribute:
https://html.spec.whatwg.org/multipage/forms.html#attr-label-for 
Signed-off-by: Yarden Shoham <git@yardenshoham.com> 
						
						
					 
					
						2024-02-16 13:59:48 +00:00 
						 
				 
			
				
					
						
							
							
								Tim-Nicas Oelschläger 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							374e886f51 
							
						 
					 
					
						
						
							
							Change webhook-type in create-view ( #29114 )  
						
						... 
						
						
						
						It's now possible to change webhook-type in create-view.
before:

after:

---------
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Giteabot <teabot@gitea.io> 
						
						
					 
					
						2024-02-15 14:59:48 +01:00 
						 
				 
			
				
					
						
							
							
								Chris Copeland 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							47b5965862 
							
						 
					 
					
						
						
							
							Add merge style fast-forward-only ( #28954 )  
						
						... 
						
						
						
						With this option, it is possible to require a linear commit history with
the following benefits over the next best option `Rebase+fast-forward`:
The original commits continue existing, with the original signatures
continuing to stay valid instead of being rewritten, there is no merge
commit, and reverting commits becomes easier.
Closes  #24906  
						
						
					 
					
						2024-02-12 23:37:23 +01:00 
						 
				 
			
				
					
						
							
							
								Tim-Nicas Oelschläger 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							28db539d9c 
							
						 
					 
					
						
						
							
							Show more settings for empty repositories ( #29130 )  
						
						... 
						
						
						
						Shows more settings for empty repositories (Fixes  #29060 ) 
						
						
					 
					
						2024-02-11 14:10:04 +00:00 
						 
				 
			
				
					
						
							
							
								Jason Song 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							0d136df3f0 
							
						 
					 
					
						
						
							
							Remove useless template file ( #29053 )  
						
						... 
						
						
						
						Removed `templates/repo/settings/nav.tmpl`.
I don't think it's still used.
On main branch:
<img width="521" alt="image"
src="https://github.com/go-gitea/gitea/assets/9418365/c0bf958c-698a-4348-840e-3ade0312bd6e ">
On commit 755eec745fa324fdd13078f0147638f8731652ba (the commit that
created this file):
<img width="615" alt="image"
src="https://github.com/go-gitea/gitea/assets/9418365/5156b26d-1ecd-4197-a0a6-dc2d17652ff4 "> 
						
						
					 
					
						2024-02-05 09:23:08 +00:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e6265cf59d 
							
						 
					 
					
						
						
							
							Fix incorrect button CSS usages ( #29015 )  
						
						
						
						
					 
					
						2024-02-01 21:28:50 +00:00 
						 
				 
			
				
					
						
							
							
								yp05327 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							64faecefe1 
							
						 
					 
					
						
						
							
							Fix UI Spacing Errors in mirror settings ( #28990 )  
						
						
						
						
					 
					
						2024-02-01 00:04:23 +00:00 
						 
				 
			
				
					
						
							
							
								JakobDev 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							f3ba3e922d 
							
						 
					 
					
						
						
							
							Don't run push mirrors for archived repos ( #27140 )  
						
						... 
						
						
						
						Fixes https://codeberg.org/forgejo/forgejo/issues/612 
At the moment push mirrors are still run if a repo is archived. This PR
fixes this. 
						
						
					 
					
						2024-01-24 02:32:57 +00:00 
						 
				 
			
				
					
						
							
							
								Jimmy Praet 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							5d3fdd1212 
							
						 
					 
					
						
						
							
							Add branch protection setting for ignoring stale approvals ( #28498 )  
						
						... 
						
						
						
						Fixes  #27114 .
* In Gitea 1.12 (#9532 ), a "dismiss stale approvals" branch protection
setting was introduced, for ignoring stale reviews when verifying the
approval count of a pull request.
* In Gitea 1.14 (#12674 ), the "dismiss review" feature was added.
* This caused confusion with users (#25858 ), as "dismiss" now means 2
different things.
* In Gitea 1.20 (#25882 ), the behavior of the "dismiss stale approvals"
branch protection was modified to actually dismiss the stale review.
For some users this new behavior of dismissing the stale reviews is not
desirable.
So this PR reintroduces the old behavior as a new "ignore stale
approvals" branch protection setting.
---------
Co-authored-by: delvh <dev.lh@web.de> 
					
						2024-01-15 07:20:01 +00:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ad0b637d46 
							
						 
					 
					
						
						
							
							Fix button size in "attached header right" ( #28770 )  
						
						... 
						
						
						
						Before:
<details>


</details>
After:

 
						
						
					 
					
						2024-01-12 14:43:40 +00:00 
						 
				 
			
				
					
						
							
							
								Lunny Xiao 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c65f8623e6 
							
						 
					 
					
						
						
							
							Hide code related setting options in repository when code unit is disabled ( #28631 )  
						
						... 
						
						
						
						Since #20805 , code can be hidden.
However, the related settings are still shown even though they don't
have any meaning then.
https://github.com/go-gitea/gitea/assets/81045/5fdee54d-ac81-418a-82f7-eadff048cedd  
						
						
					 
					
						2024-01-10 11:55:59 +00:00 
						 
				 
			
				
					
						
							
							
								David Øvrelid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							128eac9e0b 
							
						 
					 
					
						
						
							
							Fix duplicate ID when deleting repo ( #28520 )  
						
						... 
						
						
						
						There is an accessibility issue in the interface when attempting to
delete a repository. When I click on "Delete repository," a dialog box
appears, requiring confirmation to proceed with the repository deletion.
However, when I press the "Repo name" label, the wrong input field gains
focus. The focused field is located behind the dialog and is intended
for renaming the repository. 
						
						
					 
					
						2023-12-19 04:40:05 +00:00 
						 
				 
			
				
					
						
							
							
								silverwind 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							cbc0b7307d 
							
						 
					 
					
						
						
							
							Use flex-container for repo and org settings ( #27418 )  
						
						... 
						
						
						
						Same as https://github.com/go-gitea/gitea/pull/26046  but for repo and
org settings pages, reducing the margins between the boxes:
<img width="1247" alt="Screenshot 2023-10-03 at 23 25 19"
src="https://github.com/go-gitea/gitea/assets/115237/4e68ad5e-5fdc-4466-aefb-ec71bf411d45 ">
<img width="1255" alt="Screenshot 2023-10-03 at 23 27 12"
src="https://github.com/go-gitea/gitea/assets/115237/9068369b-a75d-401e-8b8d-3bd4bbe097dc ">
Co-authored-by: Giteabot <teabot@gitea.io> 
						
						
					 
					
						2023-10-04 08:47:54 +02:00 
						 
				 
			
				
					
						
							
							
								Lunny Xiao 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c3b7231966 
							
						 
					 
					
						
						
							
							Add protected branch name description ( #27257 )  
						
						... 
						
						
						
						Co-authored-by: delvh <dev.lh@web.de> 
						
						
					 
					
						2023-09-29 14:02:35 +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 
						 
				 
			
				
					
						
							
							
								Yarden Shoham 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e6d8b14620 
							
						 
					 
					
						
						
							
							Disable Test Delivery and Replay webhook buttons when webhook is inactive ( #27211 )  
						
						... 
						
						
						
						These buttons are now disabled when the webhook is not active.
The buttons were always enabled before this change.
- Fixes  #26824 
- Replaces #26814 
# Before


# After


Signed-off-by: Yarden Shoham <git@yardenshoham.com> 
						
						
					 
					
						2023-09-25 07:33:00 +00:00 
						 
				 
			
				
					
						
							
							
								Denys Konovalov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							2325fe777d 
							
						 
					 
					
						
						
							
							cleanup locale function usage ( #27227 )  
						
						
						
						
					 
					
						2023-09-24 20:31:58 +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 
						 
				 
			
				
					
						
							
							
								KN4CK3R 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c766140dad 
							
						 
					 
					
						
						
							
							Add RemoteAddress to mirrors ( #26952 )  
						
						... 
						
						
						
						This PR adds a new field `RemoteAddress` to both mirror types which
contains the sanitized remote address for easier (database) access to
that information. Will be used in the audit PR if merged. 
						
						
					 
					
						2023-09-16 16:03:02 +00:00 
						 
				 
			
				
					
						
							
							
								Kerwin Bryant 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a38eca3f52 
							
						 
					 
					
						
						
							
							Fix Fomantic's line-height causing vertical scrollbars to appear ( #26961 )  
						
						... 
						
						
						
						Before:

After:

---  
1. **Remove the scroll bar exception that in the a tag**  
2. **Reduce the actual width of the a tag to the actual width of the
content**

As shown in the screenshot, the red box area should not be clickable 
						
						
					 
					
						2023-09-13 09:08:45 +00:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							739e47cd80 
							
						 
					 
					
						
						
							
							Improve repo/user/org search  ( #27030 )  
						
						... 
						
						
						
						* Fix a regression from #26809  (the `data-org` is missing)
* Remove unnecessary style
Screenshots:


 
						
						
					 
					
						2023-09-12 16:44:48 +00: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 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							419003adb2 
							
						 
					 
					
						
						
							
							Improve SSH Key / GPG Key / Deploy Key UI ( #26949 )  
						
						... 
						
						
						
						1. In many cases, the `flex-list` has previous and next `gt-hidden`
siblings, so relax the CSS selector to remove all ".segument .flex-list"
paddings.
2. Make the "Add key" button can toggle
3. Move help message into the related segment(panel). Otherwise users
would misread the message, eg: the SSH help seemed for GPG because they
are so near
4. Move modal element into the segment element, otherwise it affects the
layout 
						
						
					 
					
						2023-09-07 01:13:11 +00:00 
						 
				 
			
				
					
						
							
							
								Kerwin Bryant 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							9b0743ae33 
							
						 
					 
					
						
						
							
							Extract common code to new template ( #26933 )  
						
						... 
						
						
						
						Same as #26903  
						
						
					 
					
						2023-09-06 10:11:06 +00:00 
						 
				 
			
				
					
						
							
							
								Kerwin Bryant 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							65588b732c 
							
						 
					 
					
						
						
							
							Extract common code to new template ( #26903 )  
						
						... 
						
						
						
						I noticed that the code of several new webhook pages is highly
repetitive, so I pulled out the common parts to a new template, unified
reference, unified maintenance
---------
Co-authored-by: KN4CK3R <admin@oldschoolhack.me> 
						
						
					 
					
						2023-09-05 12:00:28 +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 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							19a1e1b20e 
							
						 
					 
					
						
						
							
							Remove polluted .ui.right ( #26825 )  
						
						... 
						
						
						
						Each change is tested manually line by line. There are too many changes
so I can't share dozens of screenshots.
In short:
1. `ui right` could be still used in `ui top attached header`, because
there is a special case.
2. A lot of `ui right` are just no-op, so they can be removed safely.
3. Some of the `ui right` should be replaced by `gt-float-right` (to
avoid breaking, leave them to the future).
4. A few of the `ui right` could be rewritten by flex. 
						
						
					 
					
						2023-08-31 02:29:59 +00:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							1bb9b1c4d9 
							
						 
					 
					
						
						
							
							Remove polluted ".ui.left" style ( #26809 )  
						
						
						
						
					 
					
						2023-08-30 21:46:24 +08:00 
						 
				 
			
				
					
						
							
							
								Lunny Xiao 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							476b9d1589 
							
						 
					 
					
						
						
							
							Use docs.gitea.com instead of docs.gitea.io ( #26739 )  
						
						
						
						
					 
					
						2023-08-27 11:59:12 +00:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							4fdb09de58 
							
						 
					 
					
						
						
							
							Fix incorrect "tabindex" attributes ( #26733 )  
						
						... 
						
						
						
						Fix  #26731 
Almost all "tabindex" in code are incorrect.
1. All "input/button" by default are focusable, so no need to use "tabindex=0"
2. All "div/span" by default are not focusable, so no need to use "tabindex=-1"
3. All "dropdown" are focusable by framework, so no need to use "tabindex"
4. Some tabindex values are incorrect (eg: `new_form.tmpl`), so remove them
Co-authored-by: Giteabot <teabot@gitea.io> 
					
						2023-08-26 10:44:00 +08:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							576644d815 
							
						 
					 
					
						
						
							
							Simplify helper CSS classes and avoid abuse ( #26728 )  
						
						... 
						
						
						
						Removed CSS helper classes (some of them are not useful while some of
them are abused often)
* `gt-db`: in most cases it could be replaced by `gt-df` and the flex
layout should be encouraged. Other cases: either it does need the
`gt-df` (eg: by using `div` directly) or it is an abuse (eg: the warning
message in a form)
* `gt-di`: it doesn't seem useful, or it could be replaced by `gt-dib`
in most cases.
* `gt-dif`: not useful, it could be replaced by `flex-text-inline` or
`gt-df`
* `gt-js`: never used
* All `<i class="icon gt-df gt-ac gt-jc">` could be written as `<i
class="icon">`
## Some UI samples
### Admin Notice

### Admin Stacktrace

### Org Home

### Org Team Repo

### Release List

### User Setting Application Token Scope

Co-authored-by: Giteabot <teabot@gitea.io> 
						
						
					 
					
						2023-08-26 01:35:10 +02:00 
						 
				 
			
				
					
						
							
							
								silverwind 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							f626366f53 
							
						 
					 
					
						
						
							
							Fix link in mirror docs ( #26719 )  
						
						... 
						
						
						
						Fix hash fragment in this link
Co-authored-by: Giteabot <teabot@gitea.io> 
						
						
					 
					
						2023-08-25 17:13:07 +02:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e8b990999f 
							
						 
					 
					
						
						
							
							Make "link-action" backend code respond correct JSON content ( #26680 )  
						
						... 
						
						
						
						Otherwise the `link-action` JS code couldn't parse the response.
Co-authored-by: Giteabot <teabot@gitea.io> 
						
						
					 
					
						2023-08-23 17:36:57 +08:00 
						 
				 
			
				
					
						
							
							
								Earl Warren 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							50fc22eecf 
							
						 
					 
					
						
						
							
							Add ThreadID parameter for Telegram webhooks ( #25996 )  
						
						... 
						
						
						
						Telegram has recently implemented threads (channels) for group chats.
Co-authored-by: neveraskedtoexist <matikot415@gmail.com> 
						
						
					 
					
						2023-08-13 14:00:06 +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 
						 
				 
			
				
					
						
							
							
								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 
						 
				 
			
				
					
						
							
							
								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 
						 
				 
			
				
					
						
							
							
								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 
						 
				 
			
				
					
						
							
							
								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 
						 
				 
			
				
					
						
							
							
								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 
						 
				 
			
				
					
						
							
							
								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 
						 
				 
			
				
					
						
							
							
								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