木木田 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							8be6da3e2f 
							
						 
					 
					
						
						
							
							Add ntlm authentication support for mail ( #23811 )  
						
						... 
						
						
						
						Add ntlm authentication support for mail
use "github.com/Azure/go-ntlmssp"
---------
Co-authored-by: yangtan_win <YangTan@Fitsco.com.cn>
Co-authored-by: silverwind <me@silverwind.io> 
						
						
					 
					
						2023-05-02 17:40:46 -04:00 
						 
				 
			
				
					
						
							
							
								yp05327 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							bcdd3c30af 
							
						 
					 
					
						
						
							
							Fix test delivery button in repo webhook settings page ( #24478 )  
						
						... 
						
						
						
						Caused by
https://github.com/go-gitea/gitea/pull/24246/files#diff-2bfe41d93dbb409583a4f945902e46bb513f60f1c9301649c1689200c4f1466eR1 
Class `new` was removed in #24246 , but in function
`initCompWebHookEditor`, it will check `.new.webhook`.
So in repo webhook settings page, `initCompWebHookEditor` will init
nothing, and no response after click the test delivery button.
da65b7ad47/web_src/js/features/comp/WebHookEditor.js (L6-L9) 
						
						
					 
					
						2023-05-02 21:58:18 +02:00 
						 
				 
			
				
					
						
							
							
								KN4CK3R 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							bf999e4069 
							
						 
					 
					
						
						
							
							Add Debian package registry ( #24426 )  
						
						... 
						
						
						
						Co-authored-by: @awkwardbunny
This PR adds a Debian package registry.
You can follow [this
tutorial](https://www.baeldung.com/linux/create-debian-package ) to build
a *.deb package for testing.
Source packages are not supported at the moment and I did not find
documentation of the architecture "all" and how these packages should be
treated.

Part of #20751 .
Revised copy of #22854 .
---------
Co-authored-by: Brian Hong <brian@hongs.me>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: Giteabot <teabot@gitea.io> 
						
						
					 
					
						2023-05-02 12:31:35 -04:00 
						 
				 
			
				
					
						
							
							
								silverwind 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							1f52560ca4 
							
						 
					 
					
						
						
							
							Enable whitespace rendering on selection in Monaco ( #24444 )  
						
						... 
						
						
						
						Remove the
[renderWhitespace](https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.IEditorOptions.html#renderWhitespace )
override, so the default value of `selection` takes over and makes
whitespace visible on selection.
<img width="128" alt="Screenshot 2023-04-30 at 19 09 41"
src="https://user-images.githubusercontent.com/115237/235366707-d598268d-03cc-4839-a195-c460bddae99b.png ">
Co-authored-by: Giteabot <teabot@gitea.io> 
						
						
					 
					
						2023-05-02 09:31:38 -04:00 
						 
				 
			
				
					
						
							
							
								silverwind 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							d6f8238492 
							
						 
					 
					
						
						
							
							Replace N/A with - everywhere ( #24474 )  
						
						... 
						
						
						
						Followup to https://github.com/go-gitea/gitea/pull/24427 .
Reasoning is that `N/A` is specific to english while `-` is
language-neutral and does not need translation.
Before:
<img width="891" alt="Screenshot 2023-05-01 at 20 58 20"
src="https://user-images.githubusercontent.com/115237/235511592-8a36d0f2-34ff-4dbe-b642-67c0ade644fe.png ">
After:
<img width="901" alt="Screenshot 2023-05-01 at 20 59 59"
src="https://user-images.githubusercontent.com/115237/235511594-d49f6d09-92e8-4e99-be7b-2a37f5d24129.png "> 
						
						
					 
					
						2023-05-02 05:54:29 -04:00 
						 
				 
			
				
					
						
							
							
								KN4CK3R 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							df00ccacc9 
							
						 
					 
					
						
						
							
							Fix invite display ( #24447 )  
						
						... 
						
						
						
						Regression of #23901 
Before

After

---------
Co-authored-by: Giteabot <teabot@gitea.io> 
						
						
					 
					
						2023-05-02 09:59:31 +02:00 
						 
				 
			
				
					
						
							
							
								GiteaBot 
							
						 
					 
					
						
						
						
						
							
						
						
							da65b7ad47 
							
						 
					 
					
						
						
							
							[skip ci] Updated translations via Crowdin  
						
						
						
						
					 
					
						2023-05-02 00:23:19 +00:00 
						 
				 
			
				
					
						
							
							
								techknowlogick 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e8887de090 
							
						 
					 
					
						
						
							
							replace PR docker dry run in drone with Actions ( #24475 )  
						
						... 
						
						
						
						As before with past PRs to switch Drone pipelines to use (GitHub)
Actions.
---------
Co-authored-by: silverwind <me@silverwind.io> 
						
						
					 
					
						2023-05-01 16:39:36 -04:00 
						 
				 
			
				
					
						
							
							
								techknowlogick 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							2b241ac914 
							
						 
					 
					
						
						
							
							correct env vars  
						
						
						
						
					 
					
						2023-05-01 14:31:11 -04:00 
						 
				 
			
				
					
						
							
							
								techknowlogick 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							1ceaef26b8 
							
						 
					 
					
						
						
							
							nightly image tag for releases  
						
						
						
						
					 
					
						2023-05-01 14:18:56 -04:00 
						 
				 
			
				
					
						
							
							
								silverwind 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							fa506cd571 
							
						 
					 
					
						
						
							
							Remove font-awesome and fomantic icon module ( #24471 )  
						
						... 
						
						
						
						Fixes https://github.com/go-gitea/gitea/issues/10410 .
This PR removes around 120kB of CSS. 
						
						
					 
					
						2023-05-01 13:25:54 -04:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							3e7101dd64 
							
						 
					 
					
						
						
							
							Improve "new-menu" ( #24465 )  
						
						... 
						
						
						
						I am not sure what "new-menu" means, but I think we need to fix these
problems:
1. it shouldn't have "stackable", which makes the items stacked when
width is small. the `new-menu` already has `overflow: auto`
2. `justify-content: center` doesn't work with `overflow: auto` (for
small width), so use `margin: auto`
*
https://bhch.github.io/posts/2021/04/centring-flex-items-and-allowing-overflow-scroll/ 
3. `runner-new-menu` is dead code (copying & pasting ?) 
						
						
					 
					
						2023-05-01 12:08:37 -04:00 
						 
				 
			
				
					
						
							
							
								silverwind 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							5adf32b48e 
							
						 
					 
					
						
						
							
							Remove fomantic breadcrumb module ( #24463 )  
						
						... 
						
						
						
						### File path before/after
<img width="522" alt="Screenshot 2023-05-01 at 13 23 33"
src="https://user-images.githubusercontent.com/115237/235445636-57776038-c98e-4cab-8abe-045138a76958.png ">
<img width="522" alt="Screenshot 2023-05-01 at 13 24 08"
src="https://user-images.githubusercontent.com/115237/235445638-70bef62a-1b70-41f8-ba51-728db4d54402.png ">
### File edit before/after
<img width="499" alt="Screenshot 2023-05-01 at 13 24 46"
src="https://user-images.githubusercontent.com/115237/235445676-7b3cc23e-289b-40a6-8d4f-0d7fb2efb55e.png ">
<img width="497" alt="Screenshot 2023-05-01 at 13 24 52"
src="https://user-images.githubusercontent.com/115237/235445677-db9f3974-8456-46de-a32b-9198110c0540.png ">
### Cherry-pick before/after
<img width="590" alt="Screenshot 2023-05-01 at 13 25 30"
src="https://user-images.githubusercontent.com/115237/235445717-99445024-1bb2-46d4-9bd8-8086bad57d34.png ">
<img width="582" alt="Screenshot 2023-05-01 at 13 25 37"
src="https://user-images.githubusercontent.com/115237/235445720-9c1dc497-eb23-4e10-a727-27f4d6df69e6.png "> 
						
						
					 
					
						2023-05-01 11:40:02 -04:00 
						 
				 
			
				
					
						
							
							
								yp05327 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							5987f00523 
							
						 
					 
					
						
						
							
							Add rerun workflow button and refactor to use SVG octicons ( #24350 )  
						
						... 
						
						
						
						Changes:
- Add rerun workflow button. Then users can rerun the whole workflow by
only one-click.
- Refactor to use SVG octicons in RepoActionView.vue



---------
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> 
						
						
					 
					
						2023-05-01 22:14:20 +08:00 
						 
				 
			
				
					
						
							
							
								silverwind 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							18fc4f5289 
							
						 
					 
					
						
						
							
							Remove .lgtm and reference to old bot ( #24464 )  
						
						... 
						
						
						
						Since we now use
[gitea-backporter](https://github.com/GiteaBot/gitea-backporter ) for
LGTM, we no longer need this. 
						
						
					 
					
						2023-05-01 08:49:30 -04:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ce16ff6219 
							
						 
					 
					
						
						
							
							Remove unnecessary g-menu-stackable-scrollable ( #24462 )  
						
						... 
						
						
						
						Fix  #24460 
That's a mistake but ..... no idea why I wrote so ... remove it. 
					
						2023-05-01 12:51:14 +02:00 
						 
				 
			
				
					
						
							
							
								silverwind 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							1bd2772235 
							
						 
					 
					
						
						
							
							Replace remaining fontawesome dropdown icons with SVG ( #24455 )  
						
						... 
						
						
						
						- Replace leftover dropdown triangles with SVG
- Replace remove icon with SVG and add styling for it:
<img width="817" alt="Screenshot 2023-05-01 at 00 40 05"
src="https://user-images.githubusercontent.com/115237/235379271-4674d4f7-b11e-4d6d-90f9-1478325443ca.png ">
<img width="816" alt="Screenshot 2023-05-01 at 00 46 56"
src="https://user-images.githubusercontent.com/115237/235379451-b515afb3-9773-4f6f-a259-e7048235bcba.png "> 
						
						
					 
					
						2023-05-01 05:35:02 -04:00 
						 
				 
			
				
					
						
							
							
								KN4CK3R 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							00d998a513 
							
						 
					 
					
						
						
							
							Move links out of translation ( #24446 )  
						
						... 
						
						
						
						Addition to
https://github.com/go-gitea/gitea/pull/24426#discussion_r1181261215 
I updated all existing translations too because otherwise they would
show something like
> For more information on the Container registry, see [the
documentation](#).%!(EXTRA
string=https://docs.gitea.io/en-us/packages/container/ )
---------
Co-authored-by: Giteabot <teabot@gitea.io> 
						
						
					 
					
						2023-05-01 09:17:27 +02:00 
						 
				 
			
				
					
						
							
							
								techknowlogick 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							8d33ce08b1 
							
						 
					 
					
						
						
							
							target correct conditional  
						
						
						
						
					 
					
						2023-05-01 00:31:50 -04:00 
						 
				 
			
				
					
						
							
							
								GiteaBot 
							
						 
					 
					
						
						
						
						
							
						
						
							c205d559f9 
							
						 
					 
					
						
						
							
							[skip ci] Updated licenses and gitignores  
						
						
						
						
					 
					
						2023-05-01 00:25:30 +00:00 
						 
				 
			
				
					
						
							
							
								KN4CK3R 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							fe2fe85263 
							
						 
					 
					
						
						
							
							Set stop_on_error ( #24453 )  
						
						... 
						
						
						
						Current air version runs the old binary if the build fails. This
restores the old behaviour.
```
...
code.gitea.io/gitea/services/cron
code.gitea.io/gitea/routers/web/user/setting
code.gitea.io/gitea/routers/web/org
make[2]: *** [Makefile:814: gitea] Error 1
make[2]: Leaving directory '/src'
failed to build, error: exit status 2
running...
2023/04/30 21:04:11 cmd/web.go:125:runWeb() [I] Starting Gitea on PID: 29153
2023/04/30 21:04:11 cmd/web.go:178:runWeb() [I] Global init
...
```
Reference: https://github.com/cosmtrek/air/pull/336  
						
						
					 
					
						2023-04-30 18:31:16 -04:00 
						 
				 
			
				
					
						
							
							
								Yarden Shoham 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							97991596bd 
							
						 
					 
					
						
						
							
							Remove all direct references to font-awesome ( #24448 )  
						
						... 
						
						
						
						- Related #10410 
- I had to add an SVG for an empty checkbox
https://github.com/primer/octicons/issues/942 
# Before

# After

---------
Signed-off-by: Yarden Shoham <git@yardenshoham.com> 
						
						
					 
					
						2023-05-01 00:02:56 +02:00 
						 
				 
			
				
					
						
							
							
								silverwind 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							6981885303 
							
						 
					 
					
						
						
							
							Add ui-monospace and SF Mono to --fonts-monospace ( #24442 )  
						
						... 
						
						
						
						- Add `ui-monospace` to support Safari 13.4+.
- Add `SF Mono` variant to support the font on non-mac.
- Quote fonts as per [W3C
recommendation](https://www.w3.org/TR/2018/REC-css-fonts-3-20180920/#propdef-font-family ).
> it is recommended to quote font family names that contain white space,
digits, or punctuation characters other than hyphens
Fixes: https://github.com/go-gitea/gitea/issues/22125  
						
						
					 
					
						2023-04-30 14:58:32 -04:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							2a56666fd2 
							
						 
					 
					
						
						
							
							Fix incorrect CurrentUser check for docker rootless ( #24441 )  
						
						... 
						
						
						
						The IsRunUserMatchCurrentUser logic is fragile, the "SSH" config is not
ready when it executes. 
						
						
					 
					
						2023-04-30 14:14:57 -04:00 
						 
				 
			
				
					
						
							
							
								silverwind 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							f7cf7e6848 
							
						 
					 
					
						
						
							
							Fix config list overflow and layout ( #24312 )  
						
						... 
						
						
						
						Fixes: https://github.com/go-gitea/gitea/issues/24299 
<img width="531" alt="Screenshot 2023-04-24 at 21 05 40"
src="https://user-images.githubusercontent.com/115237/234091905-9db42697-87b3-40a0-bd18-9e910ad8a2ae.png "> 
						
						
					 
					
						2023-04-30 13:32:07 -04:00 
						 
				 
			
				
					
						
							
							
								techknowlogick 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a4c13af578 
							
						 
					 
					
						
						
							
							Move docs pipelines to use Actions ( #24434 )  
						
						... 
						
						
						
						similar to #24314 , this moves drone cron pipelines to (GitHub) Actions.
As these are mostly compatible with Gitea Actions, when we start to
dogfood, these will already be migrated.
I also removed the discord notify pipeline, as it hasn't been working
for several months. 
						
						
					 
					
						2023-04-30 12:23:26 -04:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							14c142b0bc 
							
						 
					 
					
						
						
							
							Improve issue list filter ( #24425 )  
						
						... 
						
						
						
						Partial regression of #24393 , not only regression, but broken for long
time, 24393 didn't really improve it but used wrong `overflow: scroll`.
Actually, that "ui secondary filter menu labels" shouldn't be set as
scrollable (I missed that at that time), the problem is: if a "ui menu"
has "dropdown" items, then it should not be scrollable. Otherwise the
dropdown menu can't be shown correctly.
And there are more problems:
* The "issue-filters" shouldn't be used anywhere else (copying&pasting
problem again ....)
* There is also an "issue-actions" container, it should also be fixed.
* There are similar problems on the milestone page.
* The old comment in code: "grid column" doesn't work well.
The major changes of this PR are: use "flex: 1" instead of "ui grid
column".
After this PR, not 100% perfect but much better than before. 
						
						
					 
					
						2023-04-30 11:51:20 -04:00 
						 
				 
			
				
					
						
							
							
								sillyguodong 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e8173c2c33 
							
						 
					 
					
						
						
							
							Move Rename branch from repo settings page to the page of branches list ( #24380 )  
						
						... 
						
						
						
						Co-Author: @wxiaoguang
It is more convenient that user just need to enter a new branch name after he selects the branch which he want to rename.
So this PR move the function of renaming branch to the page of branches list.
This PR also restyle the button of `new branch`, `download`, `delete`....
https://user-images.githubusercontent.com/33891828/235277997-413060bb-759f-430a-b5c4-df5e40ffcd28.mov 
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> 
						
						
					 
					
						2023-04-30 23:08:51 +08:00 
						 
				 
			
				
					
						
							
							
								Lunny Xiao 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							3f0651d4d6 
							
						 
					 
					
						
						
							
							Improve milestone filter on issues page ( #22423 )  
						
						... 
						
						
						
						Now we have `All milestones`, `No milestones`, `Open milestones` and
`Closed milestones`.
Fix  #11924 
Fix  #22411  
<img width="1166" alt="image"
src="https://user-images.githubusercontent.com/81045/212243375-95eea035-a972-44b8-8088-53db614cb07e.png "> 
						
						
					 
					
						2023-04-30 09:12:49 -04:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e3750370df 
							
						 
					 
					
						
						
							
							Use globally shared HTMLRender ( #24436 )  
						
						... 
						
						
						
						The old `HTMLRender` is not ideal.
1. It shouldn't be initialized multiple times, it consumes a lot of
memory and is slow.
2. It shouldn't depend on short-lived requests, the `WatchLocalChanges`
needs a long-running context.
3. It doesn't make sense to use FuncsMap slice.
HTMLRender was designed to only work for GItea's specialized 400+
templates, so it's good to make it a global shared instance. 
						
						
					 
					
						2023-04-30 08:22:23 -04:00 
						 
				 
			
				
					
						
							
							
								silverwind 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							8f4dafcd4e 
							
						 
					 
					
						
						
							
							Rework header bar on issue, pull requests and milestone ( #24420 )  
						
						... 
						
						
						
						- Make search bar dynamic full width via flexbox
- Make all buttons `small` so font size is the same for all elements in
the header
- Remove primary color from search field, add SVG icon like on Code tab
- Fix button vertical padding being enlarged by SVG icons
[View diff without
whitespace](https://github.com/go-gitea/gitea/pull/24420/files?diff=unified&w=1 )
<img width="1226" alt="Screenshot 2023-04-29 at 11 58 53"
src="https://user-images.githubusercontent.com/115237/235296851-74848267-664f-4c1f-b94c-a1b94196ff75.png ">
<img width="1219" alt="Screenshot 2023-04-29 at 11 59 39"
src="https://user-images.githubusercontent.com/115237/235296852-bcfde5ed-8658-43c2-b7e5-3ad84611e76f.png ">
Mobile:
<img width="437" alt="Screenshot 2023-04-29 at 11 59 52"
src="https://user-images.githubusercontent.com/115237/235296860-99263373-7b27-4540-868c-a93e70f281ca.png ">
<img width="433" alt="Screenshot 2023-04-29 at 12 00 00"
src="https://user-images.githubusercontent.com/115237/235296862-6cf64317-a864-405a-a00f-b5ab620349f5.png "> 
						
						
					 
					
						2023-04-29 23:33:25 -04:00 
						 
				 
			
				
					
						
							
							
								GiteaBot 
							
						 
					 
					
						
						
						
						
							
						
						
							0f52beb6b7 
							
						 
					 
					
						
						
							
							[skip ci] Updated translations via Crowdin  
						
						
						
						
					 
					
						2023-04-30 00:25:54 +00:00 
						 
				 
			
				
					
						
							
							
								Yarden Shoham 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							cc84c58aff 
							
						 
					 
					
						
						
							
							Remove unused setting time.FORMAT ( #24430 )  
						
						... 
						
						
						
						It's loaded and then never used.
---------
Co-authored-by: Giteabot <teabot@gitea.io> 
						
						
					 
					
						2023-04-29 22:51:43 +02:00 
						 
				 
			
				
					
						
							
							
								KN4CK3R 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a18919bba6 
							
						 
					 
					
						
						
							
							Fix user-cards format ( #24428 )  
						
						... 
						
						
						
						Fixes  #24418  
					
						2023-04-29 15:43:01 -04:00 
						 
				 
			
				
					
						
							
							
								yp05327 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							cc64a92560 
							
						 
					 
					
						
						
							
							Add follow organization and fix the logic of following page ( #24345 )  
						
						... 
						
						
						
						

Maybe we can fix user card tmpl in #24319 ?
Or maybe a list is better here

---------
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Giteabot <teabot@gitea.io> 
						
						
					 
					
						2023-04-29 15:13:58 -04:00 
						 
				 
			
				
					
						
							
							
								Yarden Shoham 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							94d6b5b09d 
							
						 
					 
					
						
						
							
							Add "Updated" column for admin repositories list ( #24429 )  
						
						... 
						
						
						
						- Closes  #12454 
# Before

# After

Signed-off-by: Yarden Shoham <git@yardenshoham.com> 
						
						
					 
					
						2023-04-29 20:40:10 +02:00 
						 
				 
			
				
					
						
							
							
								Matthew Walowski 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							f766b00293 
							
						 
					 
					
						
						
							
							Add ability to specify '--not' from GetAllCommits ( #24409 )  
						
						... 
						
						
						
						For my specific use case, I'd like to get all commits that are on one
branch but NOT on the other branch.
For instance, I'd like to get all the commits on `Branch1` that are not
also on `master` (I.e. all commits that were made after `Branch1` was
created).
This PR adds a `not` query param that gets passed down to the `git log`
command to allow the user to exclude items from `GetAllCommits`.
See [git
documentation](https://git-scm.com/docs/git-log#Documentation/git-log.txt---not )
---------
Co-authored-by: Giteabot <teabot@gitea.io> 
						
						
					 
					
						2023-04-29 08:34:14 -04: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 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							5a5ab8ef5a 
							
						 
					 
					
						
						
							
							Start cleaning the messy ".ui.left / .ui.right", improve label list page, fix stackable menu ( #24393 )  
						
						... 
						
						
						
						Since 2015/2016, there is a global pollution: ".ui.left" / ".ui.right".
Fomantic UI doesn't work this way, it just conflicts with many Fomantic
definitions.
This PR starts the cleaning work of such techinical debts.
And, the "label list" page has been quite messy for long time, for
example, why "li" appears in "div" ......
And fix  #24296 
<details>





</details> 
						
						
					 
					
						2023-04-29 07:35:59 -04:00 
						 
				 
			
				
					
						
							
							
								Hester Gong 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							72e956b79a 
							
						 
					 
					
						
						
							
							Improve protected branch setting page ( #24379 )  
						
						... 
						
						
						
						Main changes:
1. Change html structure of protected branch page, use [`grouped
fields`](https://fomantic-ui.com/collections/form.html#grouped-fields )
instead of `fields` for better margin, and wrap `grouped fields` around
related `field`s, remove unnecessary `<div id="protection_box"
class="fields">` outer div
2. Changed some order of field to make them more categorized, used `ui
dividing header` for categorization and fine tune css.
Before:
<img width="1907" alt="Screen Shot 2023-04-27 at 14 56 19"
src="https://user-images.githubusercontent.com/17645053/234783731-bce8a7ce-dfc9-4d47-a3a8-b962ebea9467.png ">
<img width="1849" alt="Screen Shot 2023-04-27 at 14 56 30"
src="https://user-images.githubusercontent.com/17645053/234783740-c47d314e-5e2d-4854-98fd-c88f85ef3584.png ">
<img width="1872" alt="Screen Shot 2023-04-27 at 14 56 36"
src="https://user-images.githubusercontent.com/17645053/234783745-18e35a75-07e8-451d-b001-f9bcf16fcab5.png ">
After:
https://user-images.githubusercontent.com/17645053/235114568-da010aad-7654-4410-ab8c-5d0fce7edadb.mov 
3. Changed "Enable Merge Whitelist" to radio checkbox, and added "Enable
Merge" radio checkbox, which are exclusive
Before:
<img width="926" alt="Screen Shot 2023-04-28 at 13 08 29"
src="https://user-images.githubusercontent.com/17645053/235059233-75790f7a-e5ea-4e1c-82c6-509fef8b84b3.png ">
After:
<img width="942" alt="Screen Shot 2023-04-28 at 13 09 28"
src="https://user-images.githubusercontent.com/17645053/235059367-852d1f61-8407-4126-8c79-315b9c1ffada.png ">
4. Add a link to set default branch on branch list page (with reference
to github)
https://user-images.githubusercontent.com/17645053/234787404-61c1c7b6-aabf-429f-a109-5b690e4e0b5a.mov 
5. Removed dead codes.
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Giteabot <teabot@gitea.io> 
						
						
					 
					
						2023-04-29 06:44:52 -04:00 
						 
				 
			
				
					
						
							
							
								silverwind 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							fc62992518 
							
						 
					 
					
						
						
							
							Skip known flaky queue tests on CI environment ( #24419 )  
						
						... 
						
						
						
						Random CI failures are annoying. It's better to just skip the affected
tests so maintainers can use their valuable time for more productive
topics.
Related: https://github.com/go-gitea/gitea/issues/23608 
Related: https://github.com/go-gitea/gitea/issues/23977 
Related: https://github.com/go-gitea/gitea/issues/18703  
						
						
					 
					
						2023-04-29 11:53:11 +02:00 
						 
				 
			
				
					
						
							
							
								Earl Warren 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							9cf721e446 
							
						 
					 
					
						
						
							
							getting the tag list does not require being signed in ( #24413 )  
						
						... 
						
						
						
						Fixes: https://codeberg.org/forgejo/forgejo/issues/681  
						
						
					 
					
						2023-04-29 00:40:55 -04:00 
						 
				 
			
				
					
						
							
							
								6543 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							0bd05a9f1c 
							
						 
					 
					
						
						
							
							Add integration test for API raw content reference formats ( #24388 )  
						
						... 
						
						
						
						This pull request adds an integration test to validate the behavior of
raw content API's reference handling for all supported formats .
close  #24242 
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> 
						
						
					 
					
						2023-04-28 22:38:22 -04:00 
						 
				 
			
				
					
						
							
							
								GiteaBot 
							
						 
					 
					
						
						
						
						
							
						
						
							ef9e0ce9c9 
							
						 
					 
					
						
						
							
							[skip ci] Updated translations via Crowdin  
						
						
						
						
					 
					
						2023-04-29 00:23:39 +00:00 
						 
				 
			
				
					
						
							
							
								Yarden Shoham 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c0ddec8a2a 
							
						 
					 
					
						
						
							
							Revert "Add Debian package registry" ( #24412 )  
						
						... 
						
						
						
						Reverts go-gitea/gitea#22854  
						
						
					 
					
						2023-04-28 18:06:41 -04:00 
						 
				 
			
				
					
						
							
							
								KN4CK3R 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							bf77e2163b 
							
						 
					 
					
						
						
							
							Add Debian package registry ( #22854 )  
						
						... 
						
						
						
						Co-authored-by: @awkwardbunny
This PR adds a Debian package registry. You can follow [this
tutorial](https://www.baeldung.com/linux/create-debian-package ) to build
a *.deb package for testing. Source packages are not supported at the
moment and I did not find documentation of the architecture "all" and
how these packages should be treated.
---------
Co-authored-by: Brian Hong <brian@hongs.me>
Co-authored-by: techknowlogick <techknowlogick@gitea.io> 
						
						
					 
					
						2023-04-28 17:51:36 -04:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							bc4e06109d 
							
						 
					 
					
						
						
							
							Make repo size style matches others (commits/branches/tags) ( #24408 )  
						
						... 
						
						
						
						The "unit" part shouldn't have bold style. 
						
						
					 
					
						2023-04-28 17:23:19 -04:00 
						 
				 
			
				
					
						
							
							
								John Olheiser 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							bc784a705b 
							
						 
					 
					
						
						
							
							Override alias template to preserve anchor fragment ( #24394 )  
						
						... 
						
						
						
						This PR fixes an annoyance where docs aliases aren't preserving their
anchor fragments.
The refactor included aliases to keep old links from dying, but
currently they redirect without their anchor, which was used _often_ to
jump to sections.
This overrides the alias template with an alternative that preserves the
anchor fragment.
To note, this is just a copy of the [embedded
template](5c7b79cf7f/tpl/tplimpl/embedded/templates/alias.html 
						
						
					 
					
						2023-04-28 15:51:17 -05:00 
						 
				 
			
				
					
						
							
							
								Yarden Shoham 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							3843252938 
							
						 
					 
					
						
						
							
							Changelog 1.19.2 ( #24365 ) ( #24403 )  
						
						... 
						
						
						
						Frontport #24365 
Add changelog for 1.19.2
Signed-off-by: jolheiser <john.olheiser@gmail.com>
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
Co-authored-by: Giteabot <teabot@gitea.io> 
						
						
					 
					
						2023-04-28 15:20:52 -04:00 
						 
				 
			
				
					
						
							
							
								yp05327 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							5bc9f7fcf9 
							
						 
					 
					
						
						
							
							Improve commit date in commit graph ( #24399 )  
						
						... 
						
						
						
						The commit date time is based on server's time zone not user's local
time zone.
Before:

After:
 
						
						
					 
					
						2023-04-28 14:58:59 -04:00