Lunny Xiao 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							89d7929711 
							
						 
					 
					
						
						
							
							Fix package link setting can only list limited repositories ( #35394 )  
						
						... 
						
						
						
						Fix  #24801 
<img width="1123" height="503" alt="image"
src="https://github.com/user-attachments/assets/823f4214-e08a-4506-9018-057c50e7fc52 "
/>
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: Giteabot <teabot@gitea.io> 
					
						2025-09-11 01:50:17 +02:00 
						 
				 
			
				
					
						
							
							
								Lunny Xiao 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c0f24bd803 
							
						 
					 
					
						
						
							
							Move organization's visibility change to danger zone. ( #34814 )  
						
						... 
						
						
						
						<img width="1185" alt="image"
src="https://github.com/user-attachments/assets/d48c4db2-df7c-43b3-986c-62e042190a51 "
/>
<img width="829" alt="image"
src="https://github.com/user-attachments/assets/772b8a14-6837-41f2-9d78-9f0489ef1c7d "
/>
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> 
						
						
					 
					
						2025-08-20 20:57:42 -07:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e0745eb14d 
							
						 
					 
					
						
						
							
							Refactor webhook and fix feishu/lark secret ( #34961 )  
						
						
						
						
					 
					
						2025-07-06 06:04:08 +00:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							327048c106 
							
						 
					 
					
						
						
							
							Refactor template helper ( #34819 )  
						
						... 
						
						
						
						FIx abuses and remove unused code
---------
Signed-off-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: silverwind <me@silverwind.io> 
						
						
					 
					
						2025-06-24 01:27:35 +08:00 
						 
				 
			
				
					
						
							
							
								Lunny Xiao 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ddd1e6ca83 
							
						 
					 
					
						
						
							
							Forks repository list page follow other repositories page ( #34784 )  
						
						... 
						
						
						
						Replace #24130  
Before:

After:
 
						
						
					 
					
						2025-06-21 12:27:25 -07:00 
						 
				 
			
				
					
						
							
							
								Lunny Xiao 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							7de114a332 
							
						 
					 
					
						
						
							
							Rework delete org and rename org UI ( #34762 )  
						
						... 
						
						
						
						# What's the problem of the original implementation
Renaming organization will mix with organization's information change
make the operation difficult to keep consistent.
This PR created a danger zone like what's repository setting. It also
moved organization's `rename` and `delete` operations to this zone. The
original updating repository will not change the name any more.
This is also a step to extract the `updaterepository` function
completely.
Before:


After:




---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> 
						
						
					 
					
						2025-06-21 18:21:48 +00:00 
						 
				 
			
				
					
						
							
							
								silverwind 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							aa2b3b2b1f 
							
						 
					 
					
						
						
							
							Misc CSS fixes ( #34638 )  
						
						... 
						
						
						
						1. apply [`text-wrap:
balance`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-wrap#balance )
to various places making the text wrapping nicer, moving
`empty-placeholder` CSS to base because it's not repo-specific.
<img width="537" alt="Screenshot 2025-06-07 at 15 09 00"
src="https://github.com/user-attachments/assets/8b37d031-269d-4ab3-ba59-2ac469c431e4 "
/>
<img width="514" alt="Screenshot 2025-06-07 at 15 11 16"
src="https://github.com/user-attachments/assets/27a63117-be1d-4797-80f7-9ed14cca41dc "
/>
<img width="346" alt="Screenshot 2025-06-07 at 15 22 26"
src="https://github.com/user-attachments/assets/2f371384-0330-4a00-bb79-bc3c50ba5c91 "
/>
2. fix overflow-related bug on actions run list, before:
<img width="302" alt="Screenshot 2025-06-07 at 15 26 26"
src="https://github.com/user-attachments/assets/d6607eeb-288b-4e81-a770-45a421c9c68c "
/>
After:
<img width="299" alt="Screenshot 2025-06-07 at 15 26 59"
src="https://github.com/user-attachments/assets/b0ddb66f-d4fe-4711-8ed9-eca08ce608f3 "
/> 
						
						
					 
					
						2025-06-07 19:57:07 +02:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							f63822fe64 
							
						 
					 
					
						
						
							
							Fix autofocus behavior ( #34397 )  
						
						... 
						
						
						
						The "autofocus" was abused or misbehaved:
1. When users visit a page but they are not going to change a field,
then the field shouldn't get "autofocus"
* the "auth" / "user" page: in most cases, users do not want to change
the names
    * see also the GitHub's "settings" page behavior.
2. There shouldn't be duplicate "autofocus" inputs in most cases, only
the first one focuses
3. When a panel is shown, the "autofocus" should get focus
    * "add ssh key" panel
This PR fixes all these problems and by the way remove duplicate
"isElemHidden" function. 
						
						
					 
					
						2025-05-08 18:26:18 +00:00 
						 
				 
			
				
					
						
							
							
								Kerwin Bryant 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c2c04ffff7 
							
						 
					 
					
						
						
							
							Add fullscreen mode as a more efficient operation way to view projects ( #34081 )  
						
						... 
						
						
						
						Maybe fix  #33482 , maybe fix  #34015 
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> 
						
						
					 
					
						2025-04-23 13:42:22 +08:00 
						 
				 
			
				
					
						
							
							
								Kerwin Bryant 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							dd0caf7e16 
							
						 
					 
					
						
						
							
							Fix various misalignments and overflows ( #34227 )  
						
						... 
						
						
						
						---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> 
						
						
					 
					
						2025-04-17 10:32:41 +00:00 
						 
				 
			
				
					
						
							
							
								bytedream 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							18a673bad1 
							
						 
					 
					
						
						
							
							Restore form inputs on organization create error ( #34201 )  
						
						... 
						
						
						
						Keeps the entered inputs when the "organization create" request
returns an error.
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> 
						
						
					 
					
						2025-04-15 08:21:51 +00:00 
						 
				 
			
				
					
						
							
							
								Exploding Dragon 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							4ddf94dee5 
							
						 
					 
					
						
						
							
							refactor organization menu ( #33928 )  
						
						... 
						
						
						
						Fix missing items in organization menu.
**Menu**
<details>
<summary>Show</summary>
Before:

After:

</details>
**Packages**
<details>
 keep it consistent with the other pages.
<summary>Show</summary>
Before:

After:

</details>
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> 
						
						
					 
					
						2025-04-10 12:12:55 -07:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							07c6087878 
							
						 
					 
					
						
						
							
							Fix team permission ( #34128 )  
						
						... 
						
						
						
						The `team.access_mode` should be either `none` or `admin/owner`.
For non-admin team, the real permissions are provided by `team_unit`. 
						
						
					 
					
						2025-04-08 04:15:15 +00:00 
						 
				 
			
				
					
						
							
							
								silverwind 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							1ea5216f4a 
							
						 
					 
					
						
						
							
							Replace text-align classes with tailwind ( #33905 )  
						
						... 
						
						
						
						Small refactor to remove these CSS classes in favor of tailwind.
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> 
						
						
					 
					
						2025-03-16 12:08:16 +00:00 
						 
				 
			
				
					
						
							
							
								Kerwin Bryant 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							f0f1737d4d 
							
						 
					 
					
						
						
							
							Refactor markup and pdf-viewer to use new init framework ( #33772 )  
						
						... 
						
						
						
						1. Add some "render-content" classes to "markup" elements when the
content is rendered
2. Use correct "markup" wrapper for "preview" (but not set that class on
the tab)
3. Remove incorrect "markup" class from LFS file view, because there is
no markup content
    * "edit-diff" is also removed because it does nothing
5. Use "initPdfViewer" for PDF viewer
6. Remove incorrect "content" class from milestone markup
7. Init all ".markup" elements by new init framework
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> 
						
						
					 
					
						2025-03-03 11:49:15 -08:00 
						 
				 
			
				
					
						
							
							
								Guillaume 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							748b731612 
							
						 
					 
					
						
						
							
							Improve button layout on small screens ( #33633 )  
						
						... 
						
						
						
						Fix  #33160  
Better "New Repository" & "New Migration" buttons on home page.
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> 
					
						2025-02-18 11:02:40 +00:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							f58f5bb3d8 
							
						 
					 
					
						
						
							
							Avoid duplicate SetContextValue call ( #33564 )  
						
						... 
						
						
						
						And fix FIXME and TODO 
						
						
					 
					
						2025-02-12 14:25:46 +08:00 
						 
				 
			
				
					
						
							
							
								Kerwin Bryant 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							40426addfa 
							
						 
					 
					
						
						
							
							Add cropping support when modifying the user/org/repo avatar ( #33498 )  
						
						... 
						
						
						
						Fixed  #33321 
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> 
					
						2025-02-06 21:07:44 +08:00 
						 
				 
			
				
					
						
							
							
								K Kovacs 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							34692a20b1 
							
						 
					 
					
						
						
							
							Worktime tracking for the organization level ( #19808 )  
						
						... 
						
						
						
						Dear Gitea team,
first of all, thanks for the great work you're doing with this project.
I'm planning to introduce Gitea at a client site, and noticed that while
there is time recording, there are no project-manager-friendly reports
to actually make use of that data, as were also mentioned by others in
#4870  #8684  and #13531 .
Since I had a little time last weekend, I had put together something
that I hope to be a useful contribution to this great project (while of
course useful for me too).
This PR adds a new "Worktime" tab to the Organisation level. There is a
date range selector (by default set to the current month), and there are
three possible views:
- by repository,
- by milestone, and
- by team member.
Happy to receive any feedback!
There are several possible future improvements of course (predefined
date ranges, charts, a member time sheet, matrix of repos/members, etc)
but I hope that even in this relatively simple state this would be
useful to lots of people.
<img width="1161" alt="Screen Shot 2022-05-25 at 22 12 58"
src="https://user-images.githubusercontent.com/118010/170366976-af00c7af-c4f3-4117-86d7-00356d6797a5.png ">
Keep up the good work!
Kristof
---------
Co-authored-by: user <user@kk-git1>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> 
						
						
					 
					
						2025-02-03 01:51:12 +08:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							9c00e065a1 
							
						 
					 
					
						
						
							
							Fix form width ( #33151 )  
						
						... 
						
						
						
						Fix  #33150  
					
						2025-01-08 23:57:18 +08:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ef736b7e27 
							
						 
					 
					
						
						
							
							Refactor legacy JS ( #33115 )  
						
						
						
						
					 
					
						2025-01-06 17:38:42 +08:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							68972a9947 
							
						 
					 
					
						
						
							
							Clean up legacy form CSS styles ( #33081 )  
						
						
						
						
					 
					
						2025-01-03 04:01:19 +00:00 
						 
				 
			
				
					
						
							
							
								Chai-Shi 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							0387195abb 
							
						 
					 
					
						
						
							
							[Feature] Private README.md for organization ( #32872 )  
						
						... 
						
						
						
						Implemented #29503 
---------
Co-authored-by: Ben Chang <ben_chang@htc.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> 
						
						
					 
					
						2024-12-31 04:22:09 +00:00 
						 
				 
			
				
					
						
							
							
								Lunny Xiao 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e4c4629465 
							
						 
					 
					
						
						
							
							Move RepoTransfer from models to models/repo sub package ( #32506 )  
						
						... 
						
						
						
						`RepoTransfer` now is at models, but if we want to move it into `repo`
model, it will depend on `Team`. So this PR also makes repo model depend
on org model to make it possible. Just refactor, no code change.
- [x] Move `DeleteOrganization` from `models/organization` to service
layer
- [x] Move `AccessibleTeamReposEnv` to `models/repo`
- [x] Move `RepoTransfer` from `models` to `models/repo`
- [x] Merge `getUserTeamIDs` and `GetUserTeamIDs`, Merge `GetUserTeams`
and `getUserTeams`.
- [x] Remove `Team`'s `Repos []*repo_model.Repository` to avoid dependency recycle. 
						
						
					 
					
						2024-12-18 11:44:16 +08:00 
						 
				 
			
				
					
						
							
							
								silverwind 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							1a07ebe549 
							
						 
					 
					
						
						
							
							Fix overflow on org header ( #32837 )  
						
						
						
						
					 
					
						2024-12-14 06:50:12 +00:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							96d3a03a08 
							
						 
					 
					
						
						
							
							Refactor LabelEdit ( #32752 )  
						
						... 
						
						
						
						And fix a regression:
https://github.com/go-gitea/gitea/pull/30053#discussion_r1874405470 
Major changes:
* rewrite without jquery
* remove the "delete modal", using "link-action" is good enough
* merge "new modal" and "edit modal" 
						
						
					 
					
						2024-12-08 02:35:28 +00:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c9e582c6b6 
							
						 
					 
					
						
						
							
							Refactor markdown editor and use it for milestone description editor ( #32688 )  
						
						... 
						
						
						
						Refactor markdown editor to clarify its "preview" behavior and remove
jQuery code.
Close  #15045 
---------
Co-authored-by: silverwind <me@silverwind.io> 
						
						
					 
					
						2024-12-04 02:11:34 +00:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							4a469c8e1b 
							
						 
					 
					
						
						
							
							Refactor template ctx and render utils ( #32422 )  
						
						... 
						
						
						
						Clean up the templates 
						
						
					 
					
						2024-11-05 14:04:26 +08:00 
						 
				 
			
				
					
						
							
							
								yp05327 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							dd1f67491f 
							
						 
					 
					
						
						
							
							Fix the missing menu in organization project view page ( #32313 )  
						
						... 
						
						
						
						#29248  didn't modify the view page.
The class name is not good enough, so this is a quick fix.
Before:
org:

user:

After:
org:

user: (no change)

Co-authored-by: Giteabot <teabot@gitea.io> 
					
						2024-10-30 19:05:40 +00:00 
						 
				 
			
				
					
						
							
							
								a1012112796 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							39d2fdefaf 
							
						 
					 
					
						
						
							
							Split org Propfile README to a new tab overview ( #31373 )  
						
						... 
						
						
						
						like user profile, add a new overviw tab to show profile READEME when it
is exist.
replace #31349  (another solution option)
example view:


---------
Signed-off-by: a1012112796 <1012112796@qq.com> 
						
						
					 
					
						2024-08-27 10:54:12 +08:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							059b2718a5 
							
						 
					 
					
						
						
							
							Right align the "Settings" menu item in overflow-menu ( #30764 )  
						
						... 
						
						
						
						I guess there could be enough people liking to make the Settings menu
item right aligned. As a site admin, I found it's easier to find the
right-aligned Settings menu item.
Tested with various sizes:


 
						
						
					 
					
						2024-04-30 04:26:13 +00:00 
						 
				 
			
				
					
						
							
							
								silverwind 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a3d9f0d915 
							
						 
					 
					
						
						
							
							Fix all rounded borders, change affected tab menus to pills ( #30707 )  
						
						... 
						
						
						
						Fixes https://github.com/go-gitea/gitea/issues/30673 , all 23 issues.
Notes:
- Tab bar menus had to change to pills because of unsolvable issue with
the border-radius as tab bar renders a overlapping border onto the box
below. And I think pills look better.
- Added padding to code editor empty preview message
- Hide monaco's built-in blue focus border, we don't need it and it
never showed before either.
- Label add menu is simplified, removing the nested segment.
<img width="1322" alt="Screenshot 2024-04-25 at 22 26 19"
src="https://github.com/go-gitea/gitea/assets/115237/7e394e0c-b7ad-417d-8e9f-12f1dea93ed1 ">
<img width="1326" alt="Screenshot 2024-04-25 at 22 28 00"
src="https://github.com/go-gitea/gitea/assets/115237/66c8499f-aa9f-4d95-8cca-ef13dfa82c65 ">
<img width="997" alt="Screenshot 2024-04-25 at 22 36 53"
src="https://github.com/go-gitea/gitea/assets/115237/07896102-c71d-4246-8173-c2bc2e1d3cae ">
<img width="832" alt="Screenshot 2024-04-25 at 22 56 09"
src="https://github.com/go-gitea/gitea/assets/115237/d83afc96-08ca-4adc-baf4-3d02804be57c ">
<img width="361" alt="Screenshot 2024-04-25 at 22 57 12"
src="https://github.com/go-gitea/gitea/assets/115237/c7371a68-00b5-47d8-84d0-ddc5268b2b2c ">
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: Giteabot <teabot@gitea.io> 
						
						
					 
					
						2024-04-29 20:53:15 +00:00 
						 
				 
			
				
					
						
							
							
								silverwind 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							aff7b7bdd2 
							
						 
					 
					
						
						
							
							Remove obsolete CSS text classes ( #30576 )  
						
						... 
						
						
						
						- `.text-thin` and `.text-italic` are not present in CSS so were doing nothing and I removed them.
- `.text.middle` was unused so I removed it.
- `.text.italic` is replaced with `tw-italic`.
- `.text.normal` had exactly one use and it wasn't even needed.
- add a `muted` class to the link to `org_profile_avatar.tmpl`.
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> 
						
						
					 
					
						2024-04-22 11:21:06 +00:00 
						 
				 
			
				
					
						
							
							
								silverwind 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							9946353282 
							
						 
					 
					
						
						
							
							Remove fomantic button module ( #30475 )  
						
						... 
						
						
						
						CSS-only module. Button colors are reduced to this:
<img width="639" alt="Screenshot 2024-04-14 at 15 36 07"
src="https://github.com/go-gitea/gitea/assets/115237/882d6c02-d1de-44f2-b707-db02a9f5070d ">
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> 
						
						
					 
					
						2024-04-14 17:53:52 +00:00 
						 
				 
			
				
					
						
							
							
								HEREYUA 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e8a99c8f92 
							
						 
					 
					
						
						
							
							Fix the spacing issue in the Project view ( #30415 )  
						
						... 
						
						
						
						**fix**:  [#30388 ](https://github.com/go-gitea/gitea/issues/30388 )
**before**

**after**
 
						
						
					 
					
						2024-04-12 02:08:58 +00:00 
						 
				 
			
				
					
						
							
							
								HEREYUA 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							0262c66ba6 
							
						 
					 
					
						
						
							
							Fix: Organization Interface Display Issue ( #30133 )  
						
						... 
						
						
						
						**Before**

**After**
 
						
						
					 
					
						2024-03-27 12:48:09 +00:00 
						 
				 
			
				
					
						
							
							
								silverwind 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ec3d467f15 
							
						 
					 
					
						
						
							
							Migrate gt-hidden to tw-hidden ( #30046 )  
						
						... 
						
						
						
						We have to define this one in helpers.css because tailwind only
generates a single class but certain things rely on this being
double-class. Command ran:
```sh
perl -p -i -e 's#gt-hidden#tw-hidden#g' web_src/js/**/* templates/**/* models/**/* web_src/css/**/*
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> 
						
						
					 
					
						2024-03-24 18:23:38 +00:00 
						 
				 
			
				
					
						
							
							
								silverwind 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							68ec9b4859 
							
						 
					 
					
						
						
							
							Migrate margin and padding helpers to tailwind ( #30043 )  
						
						... 
						
						
						
						This will conclude the refactor of 1:1 class replacements to tailwind,
except `gt-hidden`. Commands ran:
```bash
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-0#tw-$1$2-0#g'   {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-1#tw-$1$2-0.5#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-2#tw-$1$2-1#g'   {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-3#tw-$1$2-2#g'   {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-4#tw-$1$2-4#g'   {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-5#tw-$1$2-8#g'   {web_src/js,templates,routers,services}/**/*
``` 
						
						
					 
					
						2024-03-24 17:42:49 +01:00 
						 
				 
			
				
					
						
							
							
								silverwind 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							90a4f9a49e 
							
						 
					 
					
						
						
							
							Migrate gap helpers to tailwind ( #30034 )  
						
						... 
						
						
						
						Commands ran:
```sh
perl -p -i -e 's#gt-gap-0#tw-gap-0#g'   web_src/js/**/* templates/**/*
perl -p -i -e 's#gt-gap-1#tw-gap-0.5#g' web_src/js/**/* templates/**/*
perl -p -i -e 's#gt-gap-2#tw-gap-1#g'   web_src/js/**/* templates/**/*
perl -p -i -e 's#gt-gap-3#tw-gap-2#g'   web_src/js/**/* templates/**/*
perl -p -i -e 's#gt-gap-4#tw-gap-4#g'   web_src/js/**/* templates/**/*
perl -p -i -e 's#gt-gap-5#tw-gap-8#g'   web_src/js/**/* templates/**/*
perl -p -i -e 's#gt-gap-x-0#tw-gap-x-0#g'   web_src/js/**/* templates/**/*
perl -p -i -e 's#gt-gap-x-1#tw-gap-x-0.5#g' web_src/js/**/* templates/**/*
perl -p -i -e 's#gt-gap-x-2#tw-gap-x-1#g'   web_src/js/**/* templates/**/*
perl -p -i -e 's#gt-gap-x-3#tw-gap-x-2#g'   web_src/js/**/* templates/**/*
perl -p -i -e 's#gt-gap-x-4#tw-gap-x-4#g'   web_src/js/**/* templates/**/*
perl -p -i -e 's#gt-gap-x-5#tw-gap-x-8#g'   web_src/js/**/* templates/**/*
perl -p -i -e 's#gt-gap-y-0#tw-gap-y-0#g'   web_src/js/**/* templates/**/*
perl -p -i -e 's#gt-gap-y-1#tw-gap-y-0.5#g' web_src/js/**/* templates/**/*
perl -p -i -e 's#gt-gap-y-2#tw-gap-y-1#g'   web_src/js/**/* templates/**/*
perl -p -i -e 's#gt-gap-y-3#tw-gap-y-2#g'   web_src/js/**/* templates/**/*
perl -p -i -e 's#gt-gap-y-4#tw-gap-y-4#g'   web_src/js/**/* templates/**/*
perl -p -i -e 's#gt-gap-y-5#tw-gap-y-8#g'   web_src/js/**/* templates/**/* 
						
						
					 
					
						2024-03-24 14:31:35 +00:00 
						 
				 
			
				
					
						
							
							
								silverwind 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							75e2e5c736 
							
						 
					 
					
						
						
							
							Migrate font-size helpers to tailwind ( #30029 )  
						
						... 
						
						
						
						Migrate `gt-font-*` to `tw-text-*` All tailwind-original class names are
also available and render like they would with 16px root font size.
We currently have root font size at 14px, but I would like to eventually
migrate us to 16px so that the tailwind docs apply to us unchangend and
because 16px is the recommended root font size for web pages in general.
Also the number 16 is much better dividable than 14 so will result in
more integers. 
						
						
					 
					
						2024-03-23 21:22:15 +00:00 
						 
				 
			
				
					
						
							
							
								silverwind 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							04f9ad0568 
							
						 
					 
					
						
						
							
							Fix incorrect tailwind migration ( #30007 )  
						
						... 
						
						
						
						Fixes https://github.com/go-gitea/gitea/issues/30005 . Regression from
https://github.com/go-gitea/gitea/pull/29945 .
There was only once instance of `tw-content-center` before that PR, so I
just ran below command and reverted that one instance.
```sh
perl -p -i -e 's#tw-content-center#tw-items-center#g' web_src/js/**/* templates/**/* models/**/* tests/**/*
``` 
						
						
					 
					
						2024-03-22 20:51:29 +01:00 
						 
				 
			
				
					
						
							
							
								silverwind 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							f88ad5424f 
							
						 
					 
					
						
						
							
							Replace 10 more gt- classes with tw- ( #29945 )  
						
						... 
						
						
						
						Likely the biggest change of the tailwind refactors. Only thing of note
is that `tw-flex-1` resolves to `flex: 1 1 0%` while our `gt-f1` was
`flex: 1 1 0`, I don't think it will make any difference. Commands I've
ran:
```sh
perl -p -i -e 's#gt-vm#tw-align-middle#g' web_src/js/**/* templates/**/* models/**/*
perl -p -i -e 's#gt-fw#tw-flex-wrap#g' web_src/js/**/* templates/**/* models/**/*
perl -p -i -e 's#gt-f1#tw-flex-1#g' web_src/js/**/* templates/**/* models/**/*
perl -p -i -e 's#gt-fc#tw-flex-col#g' web_src/js/**/* templates/**/* models/**/*
perl -p -i -e 's#gt-sb#tw-justify-between#g' web_src/js/**/* templates/**/* models/**/*
perl -p -i -e 's#gt-je#tw-justify-end#g' web_src/js/**/* templates/**/* models/**/*
perl -p -i -e 's#gt-jc#tw-justify-center#g' web_src/js/**/* templates/**/* models/**/*
perl -p -i -e 's#gt-ac#tw-content-center#g' web_src/js/**/* templates/**/* models/**/* tests/**/*
perl -p -i -e 's#gt-df#tw-flex#g' web_src/js/**/* templates/**/* models/**/* tests/**/*
perl -p -i -e 's#gt-dib#tw-inline-block#g' web_src/js/**/* templates/**/* models/**/* tests/**/*
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> 
						
						
					 
					
						2024-03-22 13:45:10 +00:00 
						 
				 
			
				
					
						
							
							
								silverwind 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							34290a00c4 
							
						 
					 
					
						
						
							
							Migrate border and margin classes to Tailwind ( #29828 )  
						
						... 
						
						
						
						Used all existing css vars, other migrations are 1:1.
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> 
						
						
					 
					
						2024-03-18 14:47:05 +00:00 
						 
				 
			
				
					
						
							
							
								silverwind 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							256a1eeb9a 
							
						 
					 
					
						
						
							
							Add <overflow-menu>, rename webcomponents ( #29400 )  
						
						... 
						
						
						
						1. Add `<overflow-menu>` web component
2. Rename `<gitea-origin-url>` to `<origin-url>` and make filenames
match.
<img width="439" alt="image"
src="https://github.com/go-gitea/gitea/assets/115237/2fbe4ca4-110b-4ad2-8e17-c1e116ccbd74 ">
<img width="444" alt="Screenshot 2024-03-02 at 21 36 52"
src="https://github.com/go-gitea/gitea/assets/115237/aa8f786e-dc8c-4030-b12d-7cfb74bdfd6e ">
<img width="537" alt="Screenshot 2024-03-03 at 03 05 06"
src="https://github.com/go-gitea/gitea/assets/115237/fddd50aa-adf1-4b4b-bd7f-caf30c7b2245 ">


TODO:
- [x] Check if removal of `requestAnimationFrame` is possible to avoid
flash of content. Likely needs a `MutationObserver`.
- [x] Hide tippy when button is removed from DOM.
- [x] ~~Implement right-aligned items
(https://github.com/go-gitea/gitea/pull/28976 )~~. Not going to do it.
- [x] Clean up CSS so base element has no background and add background
via tailwind instead.
- [x] Use it for org and user page.
---------
Co-authored-by: Giteabot <teabot@gitea.io>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> 
						
						
					 
					
						2024-03-15 02:05:31 +00:00 
						 
				 
			
				
					
						
							
							
								Denys Konovalov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e0b002a4a8 
							
						 
					 
					
						
						
							
							Unify search boxes ( #29530 )  
						
						... 
						
						
						
						Unify all but a few search boxes to use uniform style, uniform
translations and shared templates where possible.
Remove a few duplicated search templates, e. g. code search.
<details><summary>Example after screenshots:</summary>




</details>
Also includes #29700  
Co-authored-by: 6543 <6543@obermui.de>
---------
Co-authored-by: 6543 <m.huber@kithara.com>
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Giteabot <teabot@gitea.io> 
						
						
					 
					
						2024-03-14 23:24:59 +00:00 
						 
				 
			
				
					
						
							
							
								KN4CK3R 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c337ff0ec7 
							
						 
					 
					
						
						
							
							Add user blocking ( #29028 )  
						
						... 
						
						
						
						Fixes  #17453 
This PR adds the abbility to block a user from a personal account or
organization to restrict how the blocked user can interact with the
blocker. The docs explain what's the consequence of blocking a user.
Screenshots:



---------
Co-authored-by: Lauris BH <lauris@nix.lv> 
					
						2024-03-04 08:16:03 +00:00 
						 
				 
			
				
					
						
							
							
								silverwind 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a2e90014ec 
							
						 
					 
					
						
						
							
							Replace some gt- classes with tw- ( #29570 )  
						
						... 
						
						
						
						Replace 18 `gt-` prefixes with `tw-` with perl replacement. I manually
checked them all with `rg` afterwards. 
						
						
					 
					
						2024-03-04 03:33:20 +00:00 
						 
				 
			
				
					
						
							
							
								Tim-Niclas Oelschläger 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e3524c63d6 
							
						 
					 
					
						
						
							
							Filter Repositories by type ( #29231 )  
						
						... 
						
						
						
						Filter Repositories by type (resolves  #1170 , #1318 )
before:

after:
 
						
						
					 
					
						2024-03-03 10:18:34 +00:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e71eb8930a 
							
						 
					 
					
						
						
							
							Refactor some Str2html code ( #29397 )  
						
						... 
						
						
						
						This PR touches the most interesting part of the "template refactoring".
1. Unclear variable type. Especially for "web/feed/convert.go":
sometimes it uses text, sometimes it uses HTML.
2. Assign text content to "RenderedContent" field, for example: `
project.RenderedContent = project.Description` in web/org/projects.go
3. Assign rendered content to text field, for example: `r.Note =
rendered content` in web/repo/release.go
4. (possible) Incorrectly calling `{{Str2html
.PackageDescriptor.Metadata.ReleaseNotes}}` in
package/content/nuget.tmpl, I guess the name Str2html misleads
developers to use it to "render string to html", but it only sanitizes.
if ReleaseNotes really contains HTML, then this is not a problem. 
						
						
					 
					
						2024-03-01 07:11:51 +00:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							f9207b0947 
							
						 
					 
					
						
						
							
							Refactor Safe modifier ( #29392 )  
						
						... 
						
						
						
						After this PR: no need to play with the Safe/Escape tricks anymore. See
the changes for more details. 
						
						
					 
					
						2024-02-25 10:45:56 +00:00