32d9c47ec7 
								
							 
						 
						
							
							
								
								Add RTL rendering support to Markdown ( #24816 )  
							
							... 
							
							
							
							Support RTL content in Markdown:

Example document:
https://try.gitea.io/silverwind/symlink-test/src/branch/master/bidi-text.md 
Same on GitHub:
https://github.com/silverwind/symlink-test/blob/master/bidi-text.md 
`dir=auto` enables a browser heuristic that sets the text direction
automatically. It is the only way to get automatic text direction.
Ref: https://codeberg.org/Codeberg/Community/issues/1021 
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> 
							
						 
						
							2023-05-20 23:02:52 +02:00  
				
					
						
							
							
								 
						
							
								3288252dda 
								
							 
						 
						
							
							
								
								Fix duplicate tooltip hiding ( #24814 )  
							
							... 
							
							
							
							A tippy instance's role is actually on `props.role`. This makes
duplicate tooltip hiding work again after
https://github.com/go-gitea/gitea/pull/24688 . 
							
						 
						
							2023-05-19 20:12:30 +00:00  
				
					
						
							
							
								 
						
							
								c641a22f2a 
								
							 
						 
						
							
							
								
								Mute repo names in dashboard repo list ( #24811 )  
							
							... 
							
							
							
							# Before

# After

Signed-off-by: Yarden Shoham <git@yardenshoham.com>
Co-authored-by: Giteabot <teabot@gitea.io> 
							
						 
						
							2023-05-19 17:03:09 +00:00  
				
					
						
							
							
								 
						
							
								a103b79f60 
								
							 
						 
						
							
							
								
								Rework label colors ( #24790 )  
							
							... 
							
							
							
							Introduce `--color-label-fg`, `--color-label-bg` and
`--color-label-hover-bg`, decoupling the label styles from other color
variables. I've set the colors so that non-interactive labels like on
tabs are dark-on-light on light theme, which imho looks better than
previous light-on-dark.
In the screenshot below, the leftmost label has hover, the second one
has active.
<img width="786" alt="Screenshot 2023-05-18 at 12 48 26"
src="https://github.com/go-gitea/gitea/assets/115237/d989bb68-504a-4406-b5f6-419ed9609f90 ">
<img width="789" alt="Screenshot 2023-05-18 at 13 04 07"
src="https://github.com/go-gitea/gitea/assets/115237/689a281a-a2b7-45e8-a5ee-dafb7a35e105 ">
---------
Co-authored-by: Giteabot <teabot@gitea.io> 
							
						 
						
							2023-05-19 16:30:24 +00:00  
				
					
						
							
							
								 
						
							
								acde12a8a2 
								
							 
						 
						
							
							
								
								Fix max width and margin of comment box on conversation page ( #24809 )  
							
							... 
							
							
							
							Fix regression from #23937 
The changes should only be limited to `.conversation-holder
.comment-code-cloud`, otherwise it will affect the `.comment-code-cloud`
in conversation tab
Before:
<img width="962" alt="Screen Shot 2023-05-19 at 18 22 25"
src="https://github.com/go-gitea/gitea/assets/17645053/0db01d04-2581-48f9-b46c-497836b1f12b ">
After:
<img width="997" alt="Screen Shot 2023-05-19 at 18 35 01"
src="https://github.com/go-gitea/gitea/assets/17645053/5d14b67b-88c1-46c6-b859-fd41752b3ebb ">
---------
Co-authored-by: Giteabot <teabot@gitea.io> 
							
						 
						
							2023-05-19 16:02:34 +00:00  
				
					
						
							
							
								 
						
							
								c757765a9e 
								
							 
						 
						
							
							
								
								Implement actions artifacts ( #22738 )  
							
							... 
							
							
							
							Implement action artifacts server api.
This change is used for supporting
https://github.com/actions/upload-artifact  and
https://github.com/actions/download-artifact  in gitea actions. It can
run sample workflow from doc
https://docs.github.com/en/actions/using-workflows/storing-workflow-data-as-artifacts .
The api design is inspired by
https://github.com/nektos/act/blob/master/pkg/artifacts/server.go  and
includes some changes from gitea internal structs and methods.
Actions artifacts contains two parts:
- Gitea server api and storage (this pr implement basic design without
some complex cases supports)
- Runner communicate with gitea server api (in comming)
Old pr https://github.com/go-gitea/gitea/pull/22345  is outdated after
actions merged. I create new pr from main branch.

Add artifacts list in actions workflow page. 
							
						 
						
							2023-05-19 21:37:57 +08:00  
				
					
						
							
							
								 
						
							
								1e1e8b5d43 
								
							 
						 
						
							
							
								
								Fix OAuth loading state ( #24788 )  
							
							... 
							
							
							
							Fix regression from https://github.com/go-gitea/gitea/pull/24740  where
the loading state was not showing because the `oauth-login-image` class
was removed. Replaced the Fomantic loader with a pure CSS loader and
cleaned up the HTML.
Diff:
https://github.com/go-gitea/gitea/pull/24788/files?diff=unified&w=1 

Co-authored-by: Giteabot <teabot@gitea.io> 
							
						 
						
							2023-05-18 11:50:11 +00:00  
				
					
						
							
							
								 
						
							
								6a3a54cf48 
								
							 
						 
						
							
							
								
								Remove background on user dashboard filter bar ( #24779 )  
							
							... 
							
							
							
							Was only an issue on arc-green:
### Before
<img width="313" alt="Screenshot 2023-05-17 at 23 33 15"
src="https://github.com/go-gitea/gitea/assets/115237/0f6916c6-c6c3-43c8-84cc-24b0a9800a43 ">
### After
<img width="310" alt="Screenshot 2023-05-17 at 23 32 52"
src="https://github.com/go-gitea/gitea/assets/115237/207d3d7f-ce6f-4170-b426-e743be760185 ">
Co-authored-by: Giteabot <teabot@gitea.io> 
							
						 
						
							2023-05-18 09:27:29 +02:00  
				
					
						
							
							
								 
						
							
								040970c320 
								
							 
						 
						
							
							
								
								Enable two vue eslint rules ( #24780 )  
							
							... 
							
							
							
							These two rules are no longer violated, so we can enable them again. 
							
						 
						
							2023-05-17 22:00:34 -04:00  
				
					
						
							
							
								 
						
							
								4aacc3ac78 
								
							 
						 
						
							
							
								
								Add two eslint plugins ( #24776 )  
							
							... 
							
							
							
							Add these two plugins and autofix issues:
-
[eslint-plugin-no-use-extend-native](https://github.com/dustinspecker/eslint-plugin-no-use-extend-native )
-
[eslint-plugin-array-func](https://github.com/freaktechnik/eslint-plugin-array-func ) 
							
						 
						
							2023-05-18 09:14:31 +08:00  
				
					
						
							
							
								 
						
							
								29096d8ef5 
								
							 
						 
						
							
							
								
								Make the color of zero-contribution-squares in the activity heatmap more subtle ( #24758 )  
							
							... 
							
							
							
							The previous color had a too high contrast with the background.
---------
Co-authored-by: silverwind <me@silverwind.io> 
							
						 
						
							2023-05-17 10:55:34 +00:00  
				
					
						
							
							
								 
						
							
								e7c2231dee 
								
							 
						 
						
							
							
								
								Support for status check pattern ( #24633 )  
							
							... 
							
							
							
							This PR is to allow users to specify status checks by patterns. Users
can enter patterns in the "Status Check Pattern" `textarea` to match
status checks and each line specifies a pattern. If "Status Check" is
enabled, patterns cannot be empty and user must enter at least one
pattern.
Users will no longer be able to choose status checks from the table. But
a __*`Matched`*__ mark will be added to the matched checks to help users
enter patterns.
Benefits:
- Even if no status checks have been completed, users can specify
necessary status checks in advance.
- More flexible. Users can specify a series of status checks by one
pattern.
Before:

After:

---------
Co-authored-by: silverwind <me@silverwind.io> 
							
						 
						
							2023-05-17 16:11:13 +08:00  
				
					
						
							
							
								 
						
							
								bdd3007c87 
								
							 
						 
						
							
							
								
								Fix WEBP image copying ( #24743 )  
							
							... 
							
							
							
							Fix regression from https://github.com/go-gitea/gitea/pull/23801 , where
I forgot that the new module will not throw, so the `catch` handlers
were never triggered and in turn, the WEBP was not converted to PNG. 
							
						 
						
							2023-05-16 04:45:36 +00:00  
				
					
						
							
							
								 
						
							
								b926f96da7 
								
							 
						 
						
							
							
								
								Reorganize CSS files ( #24739 )  
							
							... 
							
							
							
							Reorganize various CSS files for clarity, group together by subdirectory
in `index.css`. This reorders some of the rules, but I don't think it
should introduce any issues because of that. 
							
						 
						
							2023-05-16 00:13:30 -04:00  
				
					
						
							
							
								 
						
							
								a7e18b9fb7 
								
							 
						 
						
							
							
								
								Rework Oauth login buttons, swap github logo to monocolor ( #24740 )  
							
							... 
							
							
							
							Diff without whitespace:
https://github.com/go-gitea/gitea/pull/24740/files?diff=unified&w=1 
- Use SVGs for GitHub and GitLab oauth providers
- Replace section wrapping with a divider
- Rework icon rendering, increase size from 32px to 40px
Before:
<img width="853" alt="Screenshot 2023-05-15 at 21 54 23"
src="https://github.com/go-gitea/gitea/assets/115237/6ab5cfb4-46ff-469a-bd1f-06780d4a6a0b ">
After (more providers):
<img width="849" alt="Screenshot 2023-05-15 at 21 51 21"
src="https://github.com/go-gitea/gitea/assets/115237/fa84f92f-98e0-4aed-9357-5d62ddd98195 ">
<img width="856" alt="Screenshot 2023-05-15 at 21 56 45"
src="https://github.com/go-gitea/gitea/assets/115237/d3edd7ed-dadd-4302-aca7-08f20adc220e ">
Ref: https://codeberg.org/Codeberg/Community/issues/1023 
---------
Co-authored-by: Giteabot <teabot@gitea.io> 
							
						 
						
							2023-05-15 22:46:51 +00:00  
				
					
						
							
							
								 
						
							
								5968c63a11 
								
							 
						 
						
							
							
								
								Add Go package registry ( #24687 )  
							
							... 
							
							
							
							Fixes  #7608 
This PR adds a Go package registry usable with the Go proxy protocol.
 
						
							2023-05-14 23:38:40 +08:00  
				
					
						
							
							
								 
						
							
								53a00017bb 
								
							 
						 
						
							
							
								
								Fix flash of unstyled content in action view page ( #24712 )  
							
							... 
							
							
							
							# Before

# After

Ref: https://github.com/go-gitea/gitea/issues/24625 
Signed-off-by: Yarden Shoham <git@yardenshoham.com>
Co-authored-by: Giteabot <teabot@gitea.io> 
							
						 
						
							2023-05-14 14:58:59 +00:00  
				
					
						
							
							
								 
						
							
								b92c142c97 
								
							 
						 
						
							
							
								
								Clean up various avatar dimensions ( #24701 )  
							
							... 
							
							
							
							Clean up a few cases where avatar dimensions were overwritten via CSS,
which were no longer needed or were possible to set via HTML width.
Also included are two small fixes:
- Fix one more case of incorrect avatar offset on review timeline
- Vertically center avatars in review sidebar
There is more to be done here, but some of the work depends on Fomantic
`comment` module removal, or in the case of org member lists, a refactor
of the `avatarlink` template to accept a size.
<img width="371" alt="image"
src="https://github.com/go-gitea/gitea/assets/115237/9c5902fb-2b89-4a7d-a152-60e74c3b2c56 ">
<img width="306" alt="image"
src="https://github.com/go-gitea/gitea/assets/115237/c8d92e2a-91c9-4f4a-a7de-6ae1a6bc0479 ">
---------
Co-authored-by: Giteabot <teabot@gitea.io> 
							
						 
						
							2023-05-14 14:15:59 +00:00  
				
					
						
							
							
								 
						
							
								11552a779f 
								
							 
						 
						
							
							
								
								Remove Fomantic comment module ( #24703 )  
							
							... 
							
							
							
							Remove the comment module and put the styles that we still need into a
separate file, eliminating about 2/3 of the CSS in line count. 
							
						 
						
							2023-05-14 04:21:24 +00:00  
				
					
						
							
							
								 
						
							
								4810fe55e3 
								
							 
						 
						
							
							
								
								Add status indicator on main home screen for each repo ( #24638 )  
							
							... 
							
							
							
							It will show the calculated commit status state of the latest commit on
the default branch for each repository in the dashboard repo list
- Closes  #15620 
# Before

# After

---------
Signed-off-by: Yarden Shoham <git@yardenshoham.com>
Co-authored-by: delvh <dev.lh@web.de>
Co-authored-by: Giteabot <teabot@gitea.io> 
							
						 
						
							2023-05-13 21:59:01 +00:00  
				
					
						
							
							
								 
						
							
								8a8b753647 
								
							 
						 
						
							
							
								
								Improve button-ghost, remove tertiary button ( #24692 )  
							
							... 
							
							
							
							<img width="474" alt="image"
src="https://github.com/go-gitea/gitea/assets/2114189/7fd231f9-71c3-4769-ba96-37a5b77cf224 ">
<img width="557" alt="image"
src="https://github.com/go-gitea/gitea/assets/2114189/c9945f61-39b4-4711-aea8-c34ef1d714c5 ">
<img width="641" alt="image"
src="https://github.com/go-gitea/gitea/assets/2114189/691be76e-74fd-420d-9b9e-ba1f3b08e0b4 ">
And a page to test buttons:
<details>
<img width="451" alt="image"
src="https://github.com/go-gitea/gitea/assets/2114189/5f61da24-2f36-40ad-a9bb-2205da5f5f04 ">
</details>
---------
Co-authored-by: Giteabot <teabot@gitea.io>
Co-authored-by: silverwind <me@silverwind.io> 
							
						 
						
							2023-05-13 20:38:22 +00:00  
				
					
						
							
							
								 
						
							
								82224c54e0 
								
							 
						 
						
							
							
								
								Improve avatar uploading / resizing / compressing, remove Fomantic card module ( #24653 )  
							
							... 
							
							
							
							Fixes : #8972 
Fixes : #24263 
And I think it also (partially) fix  #24263  (no need to convert) ,
because users could upload any supported image format if it isn't larger
than AVATAR_MAX_ORIGIN_SIZE
The main idea: 
* if the uploaded file size is not larger than AVATAR_MAX_ORIGIN_SIZE,
use the origin
* if the resized size is larger than the origin, use the origin
Screenshots:
JPG:
<details>

</details>
APNG:
<details>


</details>
WebP (animated)
<details>

</details>
The only exception: if a WebP image is larger than MaxOriginSize and it
is animated, then current `webp` package can't decode it, so only in
this case it isn't supported. IMO no need to support such case: why a
user would upload a 1MB animated webp as avatar? crazy .....
---------
Co-authored-by: silverwind <me@silverwind.io> 
						
							2023-05-13 20:59:11 +02:00  
				
					
						
							
							
								 
						
							
								9173e079ae 
								
							 
						 
						
							
							
								
								Add Alpine package registry ( #23714 )  
							
							... 
							
							
							
							This PR adds an Alpine package registry. You can follow [this
tutorial](https://wiki.alpinelinux.org/wiki/Creating_an_Alpine_package )
to build a *.apk package for testing.
This functionality is similar to the Debian registry (#22854 ) and
therefore shares some methods. I marked this PR as blocked because it
should be merged after #22854 .

---------
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Giteabot <teabot@gitea.io> 
							
						 
						
							2023-05-12 17:27:50 +00:00  
				
					
						
							
							
								 
						
							
								80bde0141b 
								
							 
						 
						
							
							
								
								Only hide tooltip tippy instances ( #24688 )  
							
							... 
							
							
							
							Fix regression from https://github.com/go-gitea/gitea/pull/24648  where
it was hiding non-tooltip tippy instances, like for example in the
review panel which itself is a tippy instance, but with a different
`role`. 
							
						 
						
							2023-05-12 16:58:55 +00:00  
				
					
						
							
							
								 
						
							
								ec8ea58dbe 
								
							 
						 
						
							
							
								
								Rename ".button-link" to ".button-ghost" ( #24670 )  
							
							... 
							
							
							
							Mainstream frameworks:
* https://getbootstrap.com/docs/5.0/components/buttons/ 
* https://primer.style/css/components/buttons#link-button 
* https://nextui.org/docs/components/button#light 
* https://coreui.io/react/docs/components/button/ 
* https://design-system.hpe.design/components/button 
* https://chakra-ui.com/docs/components/button/usage#button-variants 
* https://mui.com/material-ui/react-button/ 
All (at least most?) of them make "link" button have "underline" when
hovering.
So, a "link" is a "link", when it's hovered, it should have the
underline by default. To be strict, Gitea's "button-link" is not
link-style, so it needs a better name.
Actually, for the "plain" button, there are some different approaches:
* Some frameworks just make "default" button as no style (not feasible
in Gitea/Fomantic UI)
* Primer uses "btn-invisible", which is not a proper word
* NextUI uses "light", which is not a proper word, either ...
* CoreUI / ChakraUI uses "ghost", I think this name is acceptable.
Welcome to suggest better name for such button.
Or, we just call it ".button-plain" or ".button-simple", in fact I
prefer such simple and clear name. 
							
						 
						
							2023-05-12 14:58:44 +00:00  
				
					
						
							
							
								 
						
							
								b5c26fa825 
								
							 
						 
						
							
							
								
								Add markdown preview to Submit Review Textarea ( #24672 )  
							
							... 
							
							
							
							Before:

After:

---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: Giteabot <teabot@gitea.io> 
							
						 
						
							2023-05-12 10:53:41 +00:00  
				
					
						
							
							
								 
						
							
								a96c73f979 
								
							 
						 
						
							
							
								
								Remove svg.svg class, restore .rss-icon ( #24667 )  
							
							... 
							
							
							
							Fix regression from https://github.com/go-gitea/gitea/pull/24476  where
the `svg.svg` class misaligns SVG icons across the site and streched
buttons unintentionally in vertical height.
Before (button 30.3px):
<img width="157" alt="Screenshot 2023-05-11 at 22 09 42"
src="https://github.com/go-gitea/gitea/assets/115237/0fd137ab-ab52-4cf8-afca-c45776d526d0 ">
After (button 30px):
<img width="160" alt="Screenshot 2023-05-11 at 22 09 59"
src="https://github.com/go-gitea/gitea/assets/115237/4b741f4b-0fd2-4fae-9bee-16a7deb098e8 ">
[vertical-align:
middle](https://developer.mozilla.org/en-US/docs/Web/CSS/vertical-align )
is not suitable to align icons to text because
> Aligns the middle of the element with the baseline plus half the
x-height of the parent.
Example of `vertical-align: middle` from MDN:
<img width="232" alt="Screenshot 2023-05-11 at 22 29 28"
src="https://github.com/go-gitea/gitea/assets/115237/179fb756-85a1-4cab-8219-1a4958f333e2 ">
So I think the
[existing](365bb77a54/web_src/css/svg.css (L3)https://github.com/go-gitea/gitea/assets/115237/0cd6edf5-12c0-4bdb-8771-a900f5ba2d35 ">
Co-authored-by: Giteabot <teabot@gitea.io> 
							
						 
						
							2023-05-12 10:23:53 +00:00  
				
					
						
							
							
								 
						
							
								4aec1f87a4 
								
							 
						 
						
							
							
								
								Remove highlight in repo list ( #24675 )  
							
							... 
							
							
							
							Before:

After:

private or internal repos have `lock` icon, no need to add highlights to
them. 
							
						 
						
							2023-05-12 10:00:17 +02:00  
				
					
						
							
							
								 
						
							
								f6e029e6c7 
								
							 
						 
						
							
							
								
								Make repo migration cancelable and fix various bugs ( #24605 )  
							
							... 
							
							
							
							Replace #12917 
Close  #24601 
Close  #12845 




---------
Co-authored-by: Yarden Shoham <git@yardenshoham.com>
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Giteabot <teabot@gitea.io> 
							
						 
						
							2023-05-11 08:25:46 +00:00  
				
					
						
							
							
								 
						
							
								bcd0733a64 
								
							 
						 
						
							
							
								
								Only show one tippy at a time ( #24648 )  
							
							... 
							
							
							
							Because our tippy instances have an `interactiveBorder`, it's possible
to bring up two instances at once, which is undesirable.
<img width="256" alt="Screenshot 2023-05-10 at 23 03 04"
src="https://github.com/go-gitea/gitea/assets/115237/3a9a1775-78c1-46d4-a8a5-503ab7dca0d8 ">
Prevent this by keeping track of visible tippy instances and hiding
others when one is shown. Tippy also has the [singleton
addon](https://atomiks.github.io/tippyjs/v6/addons/#singleton ) for the
same purpose, but it's unsuitable to us because we don't init all
tooltips at once. 
							
						 
						
							2023-05-11 05:40:54 +00:00  
				
					
						
							
							
								 
						
							
								67db6b6976 
								
							 
						 
						
							
							
								
								RSS icon fixes ( #24476 )  
							
							... 
							
							
							
							Fix regression from https://github.com/go-gitea/gitea/pull/24471  where
CSS rules for `.icon.grey` were removed which were in use by the RSS
icons.
Gave them their own class instead, removed a wrapper and also fixed
vertical alignment on them. Additionally, did a few related fixes on the
org header for alignment.
Fixes: https://github.com/go-gitea/gitea/issues/24584 
<img width="196" alt="Screenshot 2023-05-01 at 22 39 40"
src="https://user-images.githubusercontent.com/115237/235528228-959e2385-c1d2-4d5c-baec-e3784d459653.png ">
<img width="216" alt="Screenshot 2023-05-01 at 22 44 20"
src="https://user-images.githubusercontent.com/115237/235528231-95cbff86-5672-48eb-b214-8bdcefa1612c.png ">
<img width="120" alt="Screenshot 2023-05-01 at 22 56 36"
src="https://user-images.githubusercontent.com/115237/235529844-b94ab554-3259-4d0c-b040-82aed7d1a111.png ">
<img width="372" alt="Screenshot 2023-05-01 at 22 54 25"
src="https://user-images.githubusercontent.com/115237/235529744-1a9c201b-5692-4122-9765-2f201a322a9e.png ">
<img width="477" alt="Screenshot 2023-05-01 at 22 55 28"
src="https://user-images.githubusercontent.com/115237/235529748-62188554-9927-42ef-bc94-7052bce266e2.png ">
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> 
							
						 
						
							2023-05-10 22:27:02 +00:00  
				
					
						
							
							
								 
						
							
								f7ede92f82 
								
							 
						 
						
							
							
								
								Notification list enhancements, fix striped tables on dark theme ( #24639 )  
							
							... 
							
							
							
							- Make code block rendering via backticks work
- Remove link color unless hovered
- Remove table stripes and fix stripes rendering on dark theme for other
tables
- Introduce new `button-link` class discussed previously for buttons
that look and act like links and apply it to the two right-side buttons
- Reduce box padding by 8px on each side
- Fix "Mark all read" button margin-right
- brighten `--color-markup-code-block` on arc-green
### Before
<img width="1216" alt="Screenshot 2023-05-10 at 20 00 30"
src="https://github.com/go-gitea/gitea/assets/115237/66da9ec2-dd09-4ef0-8f1d-1822a18b6b43 ">
<img width="1211" alt="Screenshot 2023-05-10 at 20 00 48"
src="https://github.com/go-gitea/gitea/assets/115237/f48e30a2-9a00-4723-93aa-79b97ca0ba0c ">
### After
<img width="1222" alt="Screenshot 2023-05-10 at 20 09 59"
src="https://github.com/go-gitea/gitea/assets/115237/c956e0d0-b3d9-42a4-a3ed-f0431c22bf3f ">
<img width="1218" alt="Screenshot 2023-05-10 at 20 05 34"
src="https://github.com/go-gitea/gitea/assets/115237/f72c1628-3961-4c28-9263-07cdf7531316 "> 
							
						 
						
							2023-05-10 21:59:58 +00:00  
				
					
						
							
							
								 
						
							
								23ae939ef3 
								
							 
						 
						
							
							
								
								Improve "goto issue by number" button ( #24577 )  
							
							... 
							
							
							
							Follow #24479 





---------
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Giteabot <teabot@gitea.io> 
							
						 
						
							2023-05-10 15:50:58 +00:00  
				
					
						
							
							
								 
						
							
								ea7954f069 
								
							 
						 
						
							
							
								
								Modify luminance calculation and extract related functions into single files ( #24586 )  
							
							... 
							
							
							
							Close  #24508 
Main changes:
As discussed in the issue
1. Change luminance calculation function to use [Relative
Luminance](https://www.w3.org/WAI/GL/wiki/Relative_luminance )
2. Move the luminance related functions into color.go/color.js
3. Add tests for both the files (Not sure if test cases are too many
now)
Before (tests included by `UseLightTextOnBackground` are labels started
with `##`):
https://try.gitea.io/HesterG/testrepo/labels 
After:
<img width="1307" alt="Screen Shot 2023-05-08 at 13 37 55"
src="https://user-images.githubusercontent.com/17645053/236742562-fdfc3a4d-2fab-466b-9613-96f2bf96b4bc.png ">
<img width="1289" alt="Screen Shot 2023-05-08 at 13 38 06"
src="https://user-images.githubusercontent.com/17645053/236742570-022db68e-cec0-43bb-888a-fc54f5332cc3.png ">
<img width="1299" alt="Screen Shot 2023-05-08 at 13 38 20"
src="https://user-images.githubusercontent.com/17645053/236742572-9af1de45-fb7f-460b-828d-ba25fae20f51.png ">
---------
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Giteabot <teabot@gitea.io> 
						
							2023-05-10 11:19:03 +00:00  
				
					
						
							
							
								 
						
							
								ae0fa64ef6 
								
							 
						 
						
							
							
								
								Review fixes and enhancements ( #24526 )  
							
							... 
							
							
							
							- Fix regression with icons wrapping from
https://github.com/go-gitea/gitea/pull/24459 
- Fix box misalignment on small screen
- Fix avatar misalignment on review comment
- Fix incorrect underline hover effect on review icons
- Move status icon to left side in review box
- Enhance review icon colors, add helper function for it
- Add missing inline avatars in review comments
- Tweak icon sizes because some octicons have inconsistent sizing
### Before
<img width="655" alt="Screenshot 2023-05-04 at 20 50 28"
src="https://user-images.githubusercontent.com/115237/236301230-92325507-6e03-47ac-bfb4-c9ddde310571.png ">
<img width="260" alt="Screenshot 2023-05-04 at 20 50 42"
src="https://user-images.githubusercontent.com/115237/236301236-0dfa50e7-b8fc-4179-ae68-d872bc90f1f3.png ">
### After
<img width="498" alt="Screenshot 2023-05-04 at 20 55 08"
src="https://user-images.githubusercontent.com/115237/236301810-23862c2c-c0a9-43a4-a3eb-ee611c14a7f4.png ">
<img width="219" alt="Screenshot 2023-05-04 at 20 55 16"
src="https://user-images.githubusercontent.com/115237/236301817-d0de02ea-6ab5-43e1-9183-6b3848b72995.png ">
---------
Co-authored-by: Giteabot <teabot@gitea.io> 
							
						 
						
							2023-05-10 09:16:44 +00:00  
				
					
						
							
							
								 
						
							
								ae9ac50072 
								
							 
						 
						
							
							
								
								Make the actions control button look like an actual button ( #24611 )  
							
							... 
							
							
							
							- Follows #24595 
# Before



# After



---------
Signed-off-by: Yarden Shoham <git@yardenshoham.com>
Co-authored-by: Giteabot <teabot@gitea.io>
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> 
							
						 
						
							2023-05-10 08:09:23 +00:00  
				
					
						
							
							
								 
						
							
								de7dcc7cd9 
								
							 
						 
						
							
							
								
								Add a tooltip to the job rerun button ( #24617 )  
							
							... 
							
							
							
							This one doesn't look very good as a real button (at least not in the
ways I tried), so I've opted to simply add a tooltip for it.
# Before

# After

Signed-off-by: Yarden Shoham <git@yardenshoham.com> 
							
						 
						
							2023-05-10 07:37:10 +00:00  
				
					
						
							
							
								 
						
							
								9a0652f0b2 
								
							 
						 
						
							
							
								
								Attach a tooltip to the action status icon ( #24614 )  
							
							... 
							
							
							
							To clearly communicate the current state of the action






---------
Signed-off-by: Yarden Shoham <git@yardenshoham.com> 
							
						 
						
							2023-05-09 21:39:16 +02:00  
				
					
						
							
							
								 
						
							
								c090f87a8d 
								
							 
						 
						
							
							
								
								Add Gitea Profile Readmes ( #23260 )  
							
							... 
							
							
							
							Implements displaying a README.md file present in a users ```.profile```
repository on the users profile page. If no such repository/file is
present, the user's profile page remains unchanged.
Example of user with ```.profile/README.md```

Example of user without ```.profile/README.md```

This pull request closes the feature request in #12233  
Special thanks to @techknowlogick for the help in the Gitea discord!
---------
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: Yarden Shoham <hrsi88@gmail.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: yp05327 <576951401@qq.com>
Co-authored-by: Yarden Shoham <git@yardenshoham.com> 
							
						 
						
							2023-05-09 05:57:24 +00:00  
				
					
						
							
							
								 
						
							
								2ee72d011f 
								
							 
						 
						
							
							
								
								Add permission check for moving issue action in project view page ( #24589 )  
							
							... 
							
							
							
							Fix  #22954 
Only users who have write permission can move issues in the project view page. 
						
							2023-05-09 00:50:16 -04:00  
				
					
						
							
							
								 
						
							
								d5b2bf9044 
								
							 
						 
						
							
							
								
								Update JS dependencies, add new eslint rules ( #24597 )  
							
							... 
							
							
							
							- Update all JS dependencies
- Enable new eslint rules, fix issue (some via autofix)
- Fix some missed eslint rule renames from [unicorn
v25](https://github.com/sindresorhus/eslint-plugin-unicorn/releases/tag/v25.0.0 )
- Tested Monaco, Katex, Swagger UI
---------
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Giteabot <teabot@gitea.io> 
							
						 
						
							2023-05-09 02:35:49 +00:00  
				
					
						
							
							
								 
						
							
								46e97986f5 
								
							 
						 
						
							
							
								
								Attach a tooltip to the action control button ( #24595 )  
							
							... 
							
							
							
							The first time I saw the big red X button I thought something failed but
apparently, it was just a "Cancel" button
# Before



# After



---------
Signed-off-by: Yarden Shoham <git@yardenshoham.com>
Co-authored-by: Giteabot <teabot@gitea.io>
Co-authored-by: silverwind <me@silverwind.io> 
							
						 
						
							2023-05-08 23:59:59 +00:00  
				
					
						
							
							
								 
						
							
								c4303efc23 
								
							 
						 
						
							
							
								
								Support markdown editor for issue template ( #24400 )  
							
							... 
							
							
							
							Fixes  #24398 
Task:
- [x] Reusing "textarea" like GitHub seems more friendly to users.
- [x] ^V image pasting and file uploading handling.
<details><summary>screenshots</summary>


Display only one markdown editor:

Support file upload and ^V image pasting

</details>
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: silverwind <me@silverwind.io> 
						
							2023-05-08 22:22:52 +00:00  
				
					
						
							
							
								 
						
							
								9ad5b59cd9 
								
							 
						 
						
							
							
								
								Do not select line numbers when selecting text from the action run logs ( #24594 )  
							
							... 
							
							
							
							- Fixes  #24578 
# Before

# After

Signed-off-by: Yarden Shoham <git@yardenshoham.com> 
							
						 
						
							2023-05-08 20:50:05 +02:00  
				
					
						
							
							
								 
						
							
								1144b1d129 
								
							 
						 
						
							
							
								
								Add goto issue id function ( #24479 )  
							
							... 
							
							
							
							for
https://github.com/go-gitea/gitea/issues/4109#issuecomment-1527104992 
Supports format:
`#1234`
`Org/Repo#1234`
---------
Co-authored-by: techknowlogick <techknowlogick@gitea.io> 
							
						 
						
							2023-05-07 23:44:16 +08:00  
				
					
						
							
							
								 
						
							
								97b70a0cd4 
								
							 
						 
						
							
							
								
								Add org visibility label to non-organization's dashboard ( #24558 )  
							
							
							
						 
						
							2023-05-07 08:33:43 +08:00  
				
					
						
							
							
								 
						
							
								05209f0d1d 
								
							 
						 
						
							
							
								
								Add RPM registry ( #23380 )  
							
							... 
							
							
							
							Fixes  #20751 
This PR adds a RPM package registry. You can follow [this
tutorial](https://opensource.com/article/18/9/how-build-rpm-packages ) to
build a *.rpm package for testing.
This functionality is similar to the Debian registry (#22854 ) and
therefore shares some methods. I marked this PR as blocked because it
should be merged after #22854 .
 
						
							2023-05-05 20:33:37 +00:00  
				
					
						
							
							
								 
						
							
								0c657112a3 
								
							 
						 
						
							
							
								
								Display warning when user try to rename default branch ( #24512 )  
							
							... 
							
							
							
							Follow #24380 
It's better to warn users when they try to rename the default branch.

---------
Co-authored-by: techknowlogick <matti@mdranta.net>
Co-authored-by: Jason Song <i@wolfogre.com>
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Giteabot <teabot@gitea.io> 
							
						 
						
							2023-05-04 22:54:38 +00:00  
				
					
						
							
							
								 
						
							
								5d77691d42 
								
							 
						 
						
							
							
								
								Improve template system and panic recovery ( #24461 )  
							
							... 
							
							
							
							Partially for #24457 
Major changes:
1. The old `signedUserNameStringPointerKey` is quite hacky, use
`ctx.Data[SignedUser]` instead
2. Move duplicate code from `Contexter` to `CommonTemplateContextData`
3. Remove incorrect copying&pasting code `ctx.Data["Err_Password"] =
true` in API handlers
4. Use one unique `RenderPanicErrorPage` for panic error page rendering
5. Move `stripSlashesMiddleware` to be the first middleware
6. Install global panic recovery handler, it works for both `install`
and `web`
7. Make `500.tmpl` only depend minimal template functions/variables,
avoid triggering new panics
Screenshot:
<details>

</details> 
							
						 
						
							2023-05-04 14:36:34 +08:00  
				
					
						
							
							
								 
						
							
								4a722c9a45 
								
							 
						 
						
							
							
								
								Make Issue/PR/projects more compact, misc CSS tweaks ( #24459 )  
							
							... 
							
							
							
							- Remove various horizontal dividers on repo pages that didn't provide
visual benefit
- Remove label/milestone pills on single issue/pr page
- Remove issue-related pill buttons on projects page
- Increase contrast of color-secondary on arc-green
- Improve notifications icon, make circle bigger
- Remove some inline styles
- Fix focus in issue/pr title edit and select all text on button click
### Issue and PR before and after
<img width="1249" alt="Screenshot 2023-05-01 at 11 44 22"
src="https://user-images.githubusercontent.com/115237/235436662-a708288e-84fb-4b2e-a5a2-3a1c17d28f6c.png ">
<img width="1248" alt="Screenshot 2023-05-01 at 11 58 51"
src="https://user-images.githubusercontent.com/115237/235437992-f863e483-f3cc-4cc1-8204-fd223647a0c9.png ">
### Projects before and after
<img width="1255" alt="Screenshot 2023-05-01 at 11 41 02"
src="https://user-images.githubusercontent.com/115237/235436433-0deb85d6-4e7d-4e74-847f-254cc70a0cf9.png ">
<img width="1267" alt="Screenshot 2023-05-01 at 11 40 03"
src="https://user-images.githubusercontent.com/115237/235436431-715b13cb-f78c-4d86-b27a-9229f9738c5b.png ">
### Releases before and after
<img width="1243" alt="Screenshot 2023-05-01 at 11 41 12"
src="https://user-images.githubusercontent.com/115237/235436457-b655ee6f-03b8-4595-8d8c-b15ea469e988.png ">
<img width="1240" alt="Screenshot 2023-05-01 at 11 40 10"
src="https://user-images.githubusercontent.com/115237/235436456-05a2a0dd-7cbb-4f26-b0d3-4f667df4bb95.png ">
### Misc
<img width="58" alt="Screenshot 2023-05-01 at 10 49 13"
src="https://user-images.githubusercontent.com/115237/235432494-936ce995-6e22-47bc-ab2d-c9e93d31987d.png ">
<img width="57" alt="Screenshot 2023-05-01 at 18 57 08"
src="https://user-images.githubusercontent.com/115237/235492430-1d32cfe0-0f2c-467c-b2fa-925b27e30e0e.png ">
Issue title edit and wrap:
<img width="1238" alt="Screenshot 2023-05-01 at 12 34 40"
src="https://user-images.githubusercontent.com/115237/235441407-d5067a57-e586-4865-a652-282e5944abb4.png ">
<img width="1232" alt="Screenshot 2023-05-01 at 12 06 24"
src="https://user-images.githubusercontent.com/115237/235438710-1a543dda-220f-4d87-8f93-f1710c0695f0.png ">
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> 
							
						 
						
							2023-05-03 17:58:59 -04:00  
				
					
						
							
							
								 
						
							
								48e3e38ee0 
								
							 
						 
						
							
							
								
								Clean up polluted styles and remove dead CSS code ( #24497 )  
							
							... 
							
							
							
							Follow #24393 
The funny history:
* At the beginning, `.ui.message` was polluted by `text-align: center`
* Then people do `<div class="ui ... message text left">`
* But `.ui.left` is polluted by `float: left`
* Then people do `#xxx .ui.message { width: 100% !important;}`
The code just becomes more and more hacky.
After removing the pollution,  everything becomes clear and straight.
And, this PR also does:
1. Remove the `package.css`, its styles could be provided by `top
aligned`
2. Remove `#avatar-arrow`, dead code
Screenshot:


Co-authored-by: Giteabot <teabot@gitea.io> 
							
						 
						
							2023-05-03 14:32:10 -04:00  
				
					
						
							
							
								 
						
							
								a9ed87ce4a 
								
							 
						 
						
							
							
								
								Fix EasyMDE toolbar ( #24489 )  
							
							... 
							
							
							
							Fixes https://github.com/go-gitea/gitea/issues/24486 
The "clean block" button is gone because I could not find a matching
octicon. Order of buttons is roughly equal to textarea.
<img width="824" alt="Screenshot 2023-05-02 at 21 10 00"
src="https://user-images.githubusercontent.com/115237/235762593-ceccb260-e665-4932-ac8a-ef6fe8406a3c.png ">
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> 
							
						 
						
							2023-05-03 01:23:39 -04:00  
				
					
						
							
							
								 
						
							
								3ae997614a 
								
							 
						 
						
							
							
								
								Enhance stylelint rule config, remove dead CSS ( #24472 )  
							
							... 
							
							
							
							Make this stylelint rule match on more properties.
The dead CSS relates to the navbar, which currently has classes:
```
ui top secondary stackable main menu following bar light
```
Which means `.following.bar .top.menu` can never match, so remove this
dead CSS as well as inactive `z-index` and `left` on it.
Commits table striping becomes more visible on dark theme, but I don't
think it's worth introducing a new color until
https://github.com/go-gitea/gitea/pull/24423  is ready, which would have
to remove it again:
<img width="668" alt="Screenshot 2023-05-01 at 18 41 49"
src="https://user-images.githubusercontent.com/115237/235489873-6b272899-1d78-443a-872c-ee7731c269f9.png ">
<img width="680" alt="Screenshot 2023-05-01 at 18 41 41"
src="https://user-images.githubusercontent.com/115237/235489878-1b9468af-c74f-48a6-a469-9eba57cfcb4d.png "> 
							
						 
						
							2023-05-02 23:15:52 -04:00  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								c0ddec8a2a 
								
							 
						 
						
							
							
								
								Revert "Add Debian package registry" ( #24412 )  
							
							... 
							
							
							
							Reverts go-gitea/gitea#22854  
							
						 
						
							2023-04-28 18:06:41 -04:00  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								83022013c8 
								
							 
						 
						
							
							
								
								Fix layouts of admin table / adapt repo / email test  ( #24370 )  
							
							... 
							
							
							
							Ref:
https://github.com/go-gitea/gitea/pull/24315#pullrequestreview-1403034993 
And fix the incorrect layout for "dasbboard", the "form" shouldn't
follow `<h4 class="ui top attached header">`, so move it to inner.
Diff with ignoring spaces:
https://github.com/go-gitea/gitea/pull/24370/files?diff=unified&w=1 
A known bug: the adapt/delete button doesn't work due to a historical
messy logic, will fix it in next PR (#24374 )



 
							
						 
						
							2023-04-28 09:48:41 +08:00  
				
					
						
							
							
								 
						
							
								63a401ac40 
								
							 
						 
						
							
							
								
								Move secrets and runners settings to actions settings ( #24200 )  
							
							... 
							
							
							
							This PR moves the secrets and runners settings to actions settings on
all settings(repo,org,user,admin) levels.
After this PR, if
[ENABLED](5e7543fcf4/custom/conf/app.example.ini (L2604)https://user-images.githubusercontent.com/17645053/234489731-15822d21-38e1-4560-8bbe-69f122376abc.png ">
2. User Level
"Secrets Management"
<img width="1427" alt="Screen Shot 2023-04-26 at 14 34 30"
src="https://user-images.githubusercontent.com/17645053/234489795-68c9c0cb-24f8-4f09-95c6-458ab914c313.png ">
3. Repo and Organization Levels
"Runners Management" and "Secrets Management" 
   Org:
<img width="1437" alt="Screen Shot 2023-04-26 at 14 35 07"
src="https://user-images.githubusercontent.com/17645053/234489996-f3af5ebb-d354-46ca-9087-a0b586845281.png ">
<img width="1433" alt="Screen Shot 2023-04-26 at 14 35 14"
src="https://user-images.githubusercontent.com/17645053/234490004-3abf8fed-81fd-4ce2-837a-935dade1793d.png ">
    Repo:
<img width="1419" alt="Screen Shot 2023-04-26 at 14 34 50"
src="https://user-images.githubusercontent.com/17645053/234489904-80c11038-4b58-462c-9d0b-8b7cf70bc2b3.png ">
    
<img width="1430" alt="Screen Shot 2023-04-26 at 14 34 57"
src="https://user-images.githubusercontent.com/17645053/234489918-4e8d1fe2-9bcd-4d8a-96c1-238a8088d92e.png ">
It also finished these tasks :
- [x] rename routers function "runners" to "actions", and refactor
related file names
- [x] check and modify part of the runners related functions to match
their name
- [x] Fix backend check caused by fmt check
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> 
							
						 
						
							2023-04-27 20:08:47 -04:00  
				
					
						
							
							
								 
						
							
								50133b02bd 
								
							 
						 
						
							
							
								
								Add eslint-plugin-regexp ( #24361 )  
							
							... 
							
							
							
							Add
[`eslint-plugin-regexp`](https://github.com/ota-meshi/eslint-plugin-regexp )
and fix discovered issues. Config is mostly the recommended one, but I
relaxed a few rules. 
							
						 
						
							2023-04-26 22:08:16 -04:00  
				
					
						
							
							
								 
						
							
								8f57aa014b 
								
							 
						 
						
							
							
								
								Alert error message if open dependencies are included in the issues that try to batch close ( #24329 )  
							
							... 
							
							
							
							fix  #24185  
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> 
						
							2023-04-26 12:54:17 -04:00  
				
					
						
							
							
								 
						
							
								f1a4330306 
								
							 
						 
						
							
							
								
								Modify width of ui container, fine tune css for settings pages and org header ( #24315 )  
							
							... 
							
							
							
							Close  #24302  
Part of #24229 , Follows #24246 
This PR focused on CSS style fine-tune, main changes:
1. Give `.ui.ui.ui.container` a width of `1280px` with a max-width of
`calc(100vw - 64px)`, so the main contents looks better on large
devices.
2. Share styles for table elements in all levels settings pages to fix
overflow of runners table on mobile and for consistency (The headers on
mobile can be further improved, but haven't found a proper way yet).
3. Use [stackable
grid](https://fomantic-ui.com/collections/grid.html#stackable ) and
[device column width](https://fomantic-ui.com/examples/responsive.html )
for responsiveness for some pages (repo/org collaborators settings
pages, org teams related page)
4. Fixed  #24302  by sharing label related CSS in reporg.css
5. Fine tune repo tags settings page
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> 
						
							2023-04-26 11:59:08 -04:00  
				
					
						
							
							
								 
						
							
								4d5c803f8b 
								
							 
						 
						
							
							
								
								Fix Monaco IOS keyboard button ( #24341 )  
							
							... 
							
							
							
							Fix https://github.com/go-gitea/gitea/issues/16188 . Turns out the
element was completely misaligned by fomantic styles. Add most of the
original styles in `!important` form to fix.
Tapping the button doesn't do anything useful in Simulator.app, but I
guess it's still better to not outright hide it in case it has a
possiblity to work.
<img width="121" alt="image"
src="https://user-images.githubusercontent.com/115237/234379685-4e67f8cd-7e91-4bcc-8e17-9d5b2ebed6cd.png ">
Co-authored-by: Giteabot <teabot@gitea.io> 
							
						 
						
							2023-04-26 01:31:50 -04:00  
				
					
						
							
							
								 
						
							
								75e35fb03a 
								
							 
						 
						
							
							
								
								Fix runner button height ( #24338 )  
							
							... 
							
							
							
							Fixes https://github.com/go-gitea/gitea/issues/24326 .
Set size class and downsize any such buttons that have a dropdown icon
because the dropdown icon increases button height artificially.
[`:has()`](https://developer.mozilla.org/en-US/docs/Web/CSS/:has ) is not
supported in Firefox yet, but works fine with the experimental pref
enabled. I see this as a graceful degradation in unsupporting browsers. 
							
						 
						
							2023-04-26 00:09:29 -04:00  
				
					
						
							
							
								 
						
							
								59d060622d 
								
							 
						 
						
							
							
								
								Improve RSS ( #24335 )  
							
							... 
							
							
							
							Follow  #22719 
### Major changes
1. `ServerError` doesn't do format, so remove the `%s`
2. Simplify `RenderBranchFeed` (slightly)
3. Remove unused `BranchFeedRSS`
4. Make `feed.RenderBranchFeed` respect `EnableFeed` config
5. Make `RepoBranchTagSelector.vue` respect `EnableFeed` setting,
otherwise there is always RSS icon
6. The `(branchURLPrefix + item.url).replace('src', 'rss')` doesn't seem
right for all cases, for example, the string `src` could appear in
`branchURLPrefix`, so we need a separate `rssURLPrefix`
7. The `<a>` in Vue menu needs `@click.stop`, otherwise the menu itself
would be triggered at the same time
8. Change `<a><button></button></a>` to `<a role=button>`
9. Use `{{PathEscapeSegments .TreePath}}` instead of `{{range $i, $v :=
.TreeNames}}/{{$v}}{{end}}`
Screenshot of changed parts:
<details>



</details>
### Other thoughts
Should we remove the RSS icon from the branch dropdown list? It seems
too complex for a list UI, and users already have the chance to get the
RSS feed URL from "branches" page.
---------
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: silverwind <me@silverwind.io> 
							
						 
						
							2023-04-25 22:53:44 -04:00  
				
					
						
							
							
								 
						
							
								5f21e0f8eb 
								
							 
						 
						
							
							
								
								Automatically select the org when click create repo from org dashboard ( #24325 )  
							
							... 
							
							
							
							
In org dashboard, the create repo link will be `repo/create?org={orgId}` 
							
						 
						
							2023-04-25 22:25:29 -04:00  
				
					
						
							
							
								 
						
							
								ee6fa8d633 
								
							 
						 
						
							
							
								
								Restore bold on repolist ( #24337 )  
							
							... 
							
							
							
							Looking at it again, it does look a bit "odd" without bold, so revert
the repolist change done in
https://github.com/go-gitea/gitea/pull/24307 .
<img width="141" alt="image"
src="https://user-images.githubusercontent.com/115237/234331813-c6e2402f-e099-43b3-aed6-46a0e24e3899.png "> 
							
						 
						
							2023-04-25 17:19:22 -04:00  
				
					
						
							
							
								 
						
							
								0e8045d8ea 
								
							 
						 
						
							
							
								
								Fix template function DateTime ( #24317 )  
							
							... 
							
							
							
							Before, 500 error
 
							
						 
						
							2023-04-25 15:48:30 -04:00  
				
					
						
							
							
								 
						
							
								30c1cd9775 
								
							 
						 
						
							
							
								
								Add tags list for repos whose release setting is disabled ( #23465 )  
							
							... 
							
							
							
							Close  #23427  
Co-Author: @wxiaoguang 
If a repo's release setting is enabled, the logic has't changed.
Clicking the "Tags" button will jump to `/{user}/{repo}/tags` and
`templates/repo/release/list.tmpl` template will be used.
<img
src="https://user-images.githubusercontent.com/15528715/224939362-bd8974fd-08b0-4f79-a114-3389d15847ca.png "
width="600px" />
If the release setting is disabled, clicking the "Tags" button will
still jump to `/{user}/{repo}/tags` but a new template
`templates/repo/tag/list.tmpl` will be used.
<img
src="https://user-images.githubusercontent.com/15528715/233834564-74741e49-f4e9-47c8-ac12-e306642798dc.png "
width="600px" />
Since both templates above need to render the tags list, I moved the
tags list to a shared template located in
`templates/repo/tag/table.tmpl`.
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: Giteabot <teabot@gitea.io> 
						
							2023-04-25 18:29:00 +02:00  
				
					
						
							
							
								 
						
							
								56d4893b2a 
								
							 
						 
						
							
							
								
								Add RSS Feeds for branches and files ( #22719 )  
							
							... 
							
							
							
							Fix  #22228  adding RSS feeds for branches and files. 
RSS feeds are accessed through:
* [gitea]/src/branch/{branch}.rss
* [gitea]/src/branch/{branch}/{file_name}.rss
No changes have been made to the UI to expose the feed urls for branches
and files. 
						
							2023-04-25 22:08:29 +08:00  
				
					
						
							
							
								 
						
							
								f16b668980 
								
							 
						 
						
							
							
								
								Make SVG in dropdown menu have the same margin-right as IMG ( #24316 )  
							
							... 
							
							
							
							Fix  #24226 

Co-authored-by: silverwind <me@silverwind.io> 
						
							2023-04-25 07:34:37 -04:00  
				
					
						
							
							
								 
						
							
								20a3b03fe5 
								
							 
						 
						
							
							
								
								Add --font-weight-bold and set previous bold to 601 ( #24307 )  
							
							... 
							
							
							
							Fix  #24305 
According to MDN, "bold" starts from 700, some fonts do not provide
"bolding" for weight 600
https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight 
---------
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Giteabot <teabot@gitea.io> 
						
							2023-04-24 13:46:00 -04:00  
				
					
						
							
							
								 
						
							
								75c62054a6 
								
							 
						 
						
							
							
								
								Improve some modal action buttons ( #24289 )  
							
							... 
							
							
							
							Follow #24097  and #24285 
And add a devtest page for modal action button testing.
http://localhost:3000/devtest/fomantic-modal 
Now the `modal_actions_confirm.tmpl` could support: green / blue /
yellow positive buttons, the negative button is "secondary".
ps: this PR is only a small improvement, there are still a lot of
buttons not having proper colors. In the future these buttons could be
improved by this approach.
These buttons could also be improved according to the conclusion of
#24285  in the future.

And add GitHub-like single danger button (context:
https://github.com/go-gitea/gitea/issues/24285#issuecomment-1519100312 )

---------
Co-authored-by: silverwind <me@silverwind.io> 
							
						 
						
							2023-04-24 07:08:59 -04:00  
				
					
						
							
							
								 
						
							
								774d1a0fbd 
								
							 
						 
						
							
							
								
								Tweak pull request branch delete ui ( #23951 )  
							
							... 
							
							
							
							- Move delete button to right and remove red color on it.
- Remove CLI instructions when PR has been merged.
Before:
<img width="855" alt="Screenshot 2023-04-06 at 20 21 47"
src="https://user-images.githubusercontent.com/115237/230463178-95735fc0-9632-4d51-bbd5-2131c40186c4.png ">
After:
<img width="865" alt="Screenshot 2023-04-06 at 20 23 17"
src="https://user-images.githubusercontent.com/115237/230463347-8155cbf9-4e58-421a-93a8-56ce6188dab8.png ">
After (deleted):
<img width="860" alt="Screenshot 2023-04-06 at 20 19 30"
src="https://user-images.githubusercontent.com/115237/230463442-f53d7500-191d-4d75-a097-d100a461672a.png ">
---------
Co-authored-by: Giteabot <teabot@gitea.io> 
							
						 
						
							2023-04-23 14:12:36 -04:00  
				
					
						
							
							
								 
						
							
								476a043a5f 
								
							 
						 
						
							
							
								
								Refactor delete_modal_actions template and use it for project column related actions ( #24097 )  
							
							... 
							
							
							
							Co-Author: @wxiaoguang 
This PR is to fix
https://github.com/go-gitea/gitea/issues/23318#issuecomment-1506275446  .
The way to fix this in this PR is to use `delete_modal_actions.tmpl`
here both to fix this issue and keep ui consistency (as suggested by
[TODO
here](4299c3b7db/templates/projects/view.tmpl (L161)https://user-images.githubusercontent.com/17645053/233825650-76307e65-9255-44bb-80e8-7062f58ead1b.png ">
<img width="786" alt="Screen Shot 2023-04-23 at 15 17 21"
src="https://user-images.githubusercontent.com/17645053/233825652-4dc6f7d1-a180-49fb-a468-d60950eaee0d.png ">
Test for functionalities:
https://user-images.githubusercontent.com/17645053/233826857-76376fda-022c-42d0-b0f3-339c17ca4e59.mov 
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> 
							
						 
						
							2023-04-23 17:24:19 +08:00  
				
					
						
							
							
								 
						
							
								3cc87370c3 
								
							 
						 
						
							
							
								
								Improve emoji and mention matching ( #24255 )  
							
							... 
							
							
							
							Prioritize matches that start with the given text, then matches that
contain the given text.
I wanted to add a heart emoji on a pull request comment so I started
writing `:`, `h`, `e`, `a`, `r` (at this point I still couldn't find the
heart), `t`... The heart was not on the list, that's weird - it feels
like I made a typo or a mistake. This fixes that.
This also feels more like GitHub's emoji auto-complete.
# Before

# After

---------
Signed-off-by: Yarden Shoham <git@yardenshoham.com>
Co-authored-by: silverwind <me@silverwind.io> 
							
						 
						
							2023-04-22 11:32:34 -04:00  
				
					
						
							
							
								 
						
							
								7447b39de7 
								
							 
						 
						
							
							
								
								Fix footer display ( #24251 )  
							
							... 
							
							
							
							Fix  #24249 
Diff with ignoring spaces:
https://github.com/go-gitea/gitea/pull/24251/files?diff=split&w=1 
Screenshots:
<details>
<img width="1440" alt="image"
src="https://user-images.githubusercontent.com/2114189/233592840-d9ef7296-64eb-4e48-a598-300807a7c2f9.png ">
<img width="923" alt="image"
src="https://user-images.githubusercontent.com/2114189/233593015-16edc531-43c2-4ff0-b27e-ca75dbadce0c.png ">
</details>
---------
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Giteabot <teabot@gitea.io> 
						
							2023-04-22 01:58:59 -04:00  
				
					
						
							
							
								 
						
							
								948a9ee5e8 
								
							 
						 
						
							
							
								
								Fix label color, fix divider in dropdown ( #24215 )  
							
							... 
							
							
							
							Two small CSS fixes:
1. Fix basic primary label hover
2. Fix border color of divider in dropdown and remove margin so it looks
better with hover effect, as discussed in
https://github.com/go-gitea/gitea/pull/24143 : 
							
						 
						
							2023-04-20 21:53:17 -04:00  
				
					
						
							
							
								 
						
							
								8ea33baa1c 
								
							 
						 
						
							
							
								
								Introduce eslint-plugin-no-jquery/no-event-shorthand ( #24198 )  
							
							... 
							
							
							
							https://github.com/go-gitea/gitea/pull/24098#issuecomment-1514010690 
---------
Co-authored-by: silverwind <me@silverwind.io> 
						
							2023-04-20 05:28:27 -04:00  
				
					
						
							
							
								 
						
							
								6793ef0069 
								
							 
						 
						
							
							
								
								Use secondary pointing menu for tabs on user/organization home page ( #24162 )  
							
							... 
							
							
							
							Close  #24108 
Use secondary pointing menu for tabs on user/organization home page so
the tabs look the same.
Main changes:
1. modified a part of dom structure in
`templates/user/overview/header.tmpl` to make it the same as
`templates/org/header.tmpl` in order to produce the same ui.
2. Move some css to `web_src/css/shared/repoorgshared.css` to make them
shareable between `templates/user/overview/header.tmpl` and
`templates/org/header.tmpl`
After:
https://user-images.githubusercontent.com/17645053/232400617-2add5bec-d483-4ab1-b48d-eaee157f7b09.mov 
For further improvements. Need some thoughts: 
For [this
TODO](729ad294cb/templates/user/overview/header.tmpl (L1)729ad294cb/templates/user/overview/header.tmpl (L2-L17)729ad294cb/templates/org/header.tmpl (L1-L16) 
						
							2023-04-20 04:58:26 -04:00  
				
					
						
							
							
								 
						
							
								de2268ffab 
								
							 
						 
						
							
							
								
								Fix issue attachment handling ( #24202 )  
							
							... 
							
							
							
							Close  #24195 
Some of the changes are taken from my another fix
f07b0de997#20147  (although that PR was discarded ....)
The bug is:
1. The old code doesn't handle `removedfile` event correctly
2. The old code doesn't provide attachments for type=CommentTypeReview
This PR doesn't intend to refactor the "upload" code to a perfect state
(to avoid making the review difficult), so some legacy styles are kept.
---------
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Giteabot <teabot@gitea.io> 
						
							2023-04-20 02:39:44 -04:00  
				
					
						
							
							
								 
						
							
								b39a5bbbd6 
								
							 
						 
						
							
							
								
								Make wiki title supports dashes and improve wiki name related features ( #24143 )  
							
							... 
							
							
							
							Close  #7570 
1. Clearly define the wiki path behaviors, see
`services/wiki/wiki_path.go` and tests
2. Keep compatibility with old contents
3. Allow to use dashes in titles, eg: "2000-01-02 Meeting record"
4. Add a "Pages" link in the dropdown, otherwise users can't go to the
Pages page easily.
5. Add a "View original git file" link in the Pages list, even if some
file names are broken, users still have a chance to edit or remove it,
without cloning the wiki repo to local.
6. Fix 500 error when the name contains prefix spaces.
This PR also introduces the ability to support sub-directories, but it
can't be done at the moment due to there are a lot of legacy wiki data,
which use "%2F" in file names.


Co-authored-by: Giteabot <teabot@gitea.io> 
						
							2023-04-19 13:50:10 -04:00  
				
					
						
							
							
								 
						
							
								738f2af527 
								
							 
						 
						
							
							
								
								Fix Resolve Conversation not working in Conversation view ( #24191 )  
							
							... 
							
							
							
							It only worked in the Files Changed view.
Caused by #23639 . 
							
						 
						
							2023-04-19 13:05:25 -04:00  
				
					
						
							
							
								 
						
							
								fcad9fd19f 
								
							 
						 
						
							
							
								
								Vertical widths of containers removed ( #24184 )  
							
							... 
							
							
							
							A vertical overflow appears in Firefox 112/MacOS 12.6 when the system
setting for scrollbars is to "Always" show them.
--- 
Here, the fixed 100vw container widths are removed, which removes the
overflow. It is, however, only simulated in Developer Tools in latest
Firefox and Chromium, so please test on a Gitea installation. 
							
						 
						
							2023-04-19 12:13:00 -04:00  
				
					
						
							
							
								 
						
							
								f30cc9faa9 
								
							 
						 
						
							
							
								
								Add unset default project column ( #23531 )  
							
							... 
							
							
							
							Close: https://github.com/go-gitea/gitea/issues/23401  
							
						 
						
							2023-04-19 10:28:28 -04:00