Yarden Shoham 
							
						 
					 
					
						
						
							
						
						2089b974c8 
					 
					
						
						
							
							Remove jQuery AJAX from the repo tag edit form ( #29526 )  
						
						... 
						
						
						
						- Removed all jQuery AJAX calls and replaced with our fetch wrapper
- Tested the repo tag edit form functionality and it works as before
# Demo using `fetch` instead of jQuery AJAX

---------
Signed-off-by: Yarden Shoham <git@yardenshoham.com > 
						
						
					 
					
						2024-03-02 17:29:04 +08:00 
						 
				 
			
				
					
						
							
							
								Yarden Shoham 
							
						 
					 
					
						
						
							
						
						8a0a83a1b5 
					 
					
						
						
							
							Remove jQuery AJAX from common global functions ( #29528 )  
						
						... 
						
						
						
						- Removed all jQuery AJAX calls and replaced with our fetch wrapper
- Tested the locale change functionality and it works as before
- Tested the delete button functionality and it works as before
# Demo using `fetch` instead of jQuery AJAX

Signed-off-by: Yarden Shoham <git@yardenshoham.com > 
						
						
					 
					
						2024-03-02 16:48:14 +08:00 
						 
				 
			
				
					
						
							
							
								silverwind 
							
						 
					 
					
						
						
							
						
						6d9b7253a2 
					 
					
						
						
							
							Fix/Improve processWindowErrorEvent ( #29407 )  
						
						... 
						
						
						
						- `e.error` can be undefined in some cases which would raise an error
inside this error handler, fixed that.
- The displayed message mentions looking into the console, but in my
case of error from `ResizeObserver` there was nothing there, so add this
logging. I think this logging was once there but got lost during
refactoring. 
						
						
					 
					
						2024-02-28 22:20:53 +00:00 
						 
				 
			
				
					
						
							
							
								charles 
							
						 
					 
					
						
						
							
						
						252047ed2e 
					 
					
						
						
							
							Fix counter display number incorrectly displayed on the page ( #29448 )  
						
						... 
						
						
						
						issue : #28239 
The counter number script uses the 'checkbox' attribute to determine
whether an item is selected or not.
However, the input event only increments the counter value, and when
more items are displayed, it does not update all previously loaded
items.
As a result, the display becomes incorrect because it triggers the
update counter script, but checkboxes that are selected without the
'checked' attribute are not counted 
						
						
					 
					
						2024-02-28 21:23:49 +01:00 
						 
				 
			
				
					
						
							
							
								silverwind 
							
						 
					 
					
						
						
							
						
						82405f808d 
					 
					
						
						
							
							Fix URL calculation in clone input box ( #29470 )  
						
						... 
						
						
						
						Ported the function as-is and added comments so we don't forget about
this in the future.
Fixes: https://github.com/go-gitea/gitea/issues/29462  
						
						
					 
					
						2024-02-28 15:04:04 +00:00 
						 
				 
			
				
					
						
							
							
								Yarden Shoham 
							
						 
					 
					
						
						
							
						
						71e0f185f9 
					 
					
						
						
							
							Remove jQuery from the "find file" page ( #29456 )  
						
						... 
						
						
						
						- Switched to plain JavaScript
- Tested the file searching functionality and it works as before
# Demo using JavaScript without jQuery

---------
Signed-off-by: Yarden Shoham <git@yardenshoham.com >
Co-authored-by: Giteabot <teabot@gitea.io > 
						
						
					 
					
						2024-02-28 15:11:54 +01:00 
						 
				 
			
				
					
						
							
							
								Yarden Shoham 
							
						 
					 
					
						
						
							
						
						ed3892d843 
					 
					
						
						
							
							Remove jQuery AJAX from the archive download links ( #29380 )  
						
						... 
						
						
						
						- Removed all jQuery AJAX calls and replaced with our fetch wrapper
- Tested the repo archive download links dropdown functionality and it
works as before
# Demo using `fetch` instead of jQuery AJAX

---------
Signed-off-by: Yarden Shoham <git@yardenshoham.com > 
						
						
					 
					
						2024-02-25 16:53:44 +00:00 
						 
				 
			
				
					
						
							
							
								Tim-Niclas Oelschläger 
							
						 
					 
					
						
						
							
						
						756b952c52 
					 
					
						
						
							
							enforce maxlength in frontend ( #29389 )  
						
						... 
						
						
						
						Set maxlength attribute in frontend
to long file-name


(same for branch-name and commit-summary) 
						
						
					 
					
						2024-02-25 14:31:15 +00:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
						
						ea164aba4b 
					 
					
						
						
							
							Make actions animation rotate counterclockwisely ( #29378 )  
						
						... 
						
						
						
						Because the icon is: 

So it must rotate counterclockwisely 
						
						
					 
					
						2024-02-25 21:37:35 +08:00 
						 
				 
			
				
					
						
							
							
								Yarden Shoham 
							
						 
					 
					
						
						
							
						
						0676bf52f9 
					 
					
						
						
							
							Remove jQuery AJAX from the notice selection deletion button ( #29381 )  
						
						... 
						
						
						
						- Removed all jQuery AJAX calls and replaced with our fetch wrapper
- Tested the repo notice selection deletion button functionality and it
works as before
Signed-off-by: Yarden Shoham <git@yardenshoham.com > 
						
						
					 
					
						2024-02-25 20:36:11 +08:00 
						 
				 
			
				
					
						
							
							
								Jimmy Praet 
							
						 
					 
					
						
						
							
						
						2e33671f2c 
					 
					
						
						
							
							Add attachment support for code review comments ( #29220 )  
						
						... 
						
						
						
						Fixes  #27960 , #24411 , #12183 
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com > 
					
						2024-02-25 06:00:55 +00:00 
						 
				 
			
				
					
						
							
							
								Yarden Shoham 
							
						 
					 
					
						
						
							
						
						4e3d81e44e 
					 
					
						
						
							
							Remove jQuery from the code diff expansion buttons ( #29385 )  
						
						... 
						
						
						
						- Removed all jQuery AJAX calls and replaced with htmx
- Tested the code diff expansion buttons functionality and it works as
before plus a loading indicator
# Demo using `htmx` instead of jQuery AJAX

Signed-off-by: Yarden Shoham <git@yardenshoham.com > 
						
						
					 
					
						2024-02-25 05:07:23 +00:00 
						 
				 
			
				
					
						
							
							
								Yarden Shoham 
							
						 
					 
					
						
						
							
						
						1f6de13897 
					 
					
						
						
							
							Remove jQuery AJAX from the markdown editor preview ( #29384 )  
						
						... 
						
						
						
						- Removed all jQuery AJAX calls and replaced with our fetch wrapper
- Tested the markdown editor preview button functionality and it works
as before
# Demo using `fetch` instead of jQuery AJAX

Signed-off-by: Yarden Shoham <git@yardenshoham.com > 
						
						
					 
					
						2024-02-25 04:42:29 +00:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
						
						736c98be5c 
					 
					
						
						
							
							Refactor copy button event handler ( #29379 )  
						
						... 
						
						
						
						Use "closest" instead of "for-loop" 
						
						
					 
					
						2024-02-25 04:17:11 +00:00 
						 
				 
			
				
					
						
							
							
								Yarden Shoham 
							
						 
					 
					
						
						
							
						
						b616f666b8 
					 
					
						
						
							
							Remove jQuery AJAX from the repo commit graph ( #29373 )  
						
						... 
						
						
						
						- Removed all jQuery AJAX calls and replaced with our fetch wrapper
- Tested the repo collaborator mode dropdown functionality and it works
as before
# Demo using `fetch` instead of jQuery AJAX

Signed-off-by: Yarden Shoham <git@yardenshoham.com >
Co-authored-by: Giteabot <teabot@gitea.io > 
						
						
					 
					
						2024-02-25 12:09:55 +08:00 
						 
				 
			
				
					
						
							
							
								Yarden Shoham 
							
						 
					 
					
						
						
							
						
						15d071f4f8 
					 
					
						
						
							
							Remove jQuery AJAX from repo collaborator mode dropdown ( #29371 )  
						
						... 
						
						
						
						- Removed all jQuery AJAX calls and replaced with our fetch wrapper
- Tested the repo collaborator mode dropdown functionality and it works
as before
# Demo using `fetch` instead of jQuery AJAX

---------
Signed-off-by: Yarden Shoham <git@yardenshoham.com >
Co-authored-by: delvh <dev.lh@web.de >
Co-authored-by: Giteabot <teabot@gitea.io > 
						
						
					 
					
						2024-02-25 00:08:51 +01:00 
						 
				 
			
				
					
						
							
							
								Yarden Shoham 
							
						 
					 
					
						
						
							
						
						c86d033a3e 
					 
					
						
						
							
							Remove jQuery from the Unicode escape button ( #29369 )  
						
						... 
						
						
						
						- Switched to plain JavaScript
- Tested the Unicode escape button functionality and it works as before
# Demo using JavaScript without jQuery

---------
Signed-off-by: Yarden Shoham <git@yardenshoham.com >
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com > 
						
						
					 
					
						2024-02-24 20:11:51 +01:00 
						 
				 
			
				
					
						
							
							
								Yarden Shoham 
							
						 
					 
					
						
						
							
						
						267dbb4e93 
					 
					
						
						
							
							Remove jQuery from the issue reference context popup ( #29367 )  
						
						... 
						
						
						
						- Removed all jQuery calls
- Tested the context popup functionality and it works as before
# Demo without jQuery

---------
Signed-off-by: Yarden Shoham <git@yardenshoham.com >
Co-authored-by: Giteabot <teabot@gitea.io > 
						
						
					 
					
						2024-02-24 13:03:53 +01:00 
						 
				 
			
				
					
						
							
							
								Şahin Akkaya 
							
						 
					 
					
						
						
							
						
						d3982bcd81 
					 
					
						
						
							
							Implement recent commits graph ( #29210 )  
						
						... 
						
						
						
						This is the implementation of Recent Commits page. This feature was
mentioned on #18262 .
It adds another tab to Activity page called Recent Commits. Recent
Commits tab shows number of commits since last year for the repository. 
						
						
					 
					
						2024-02-24 10:22:51 +00:00 
						 
				 
			
				
					
						
							
							
								6543 
							
						 
					 
					
						
						
							
						
						4ba642d07d 
					 
					
						
						
							
							Revert "Support SAML authentication ( #25165 )" ( #29358 )  
						
						... 
						
						
						
						This reverts #25165  (5bb8d1924dhttps://github.com/go-gitea/gitea/pull/25165#issuecomment-1960670242 
temporary Open #5512  again 
						
						
					 
					
						2024-02-24 12:18:49 +08:00 
						 
				 
			
				
					
						
							
							
								Şahin Akkaya 
							
						 
					 
					
						
						
							
						
						875f5ea6d8 
					 
					
						
						
							
							Implement code frequency graph ( #29191 )  
						
						... 
						
						
						
						### Overview
This is the implementation of Code Frequency page. This feature was
mentioned on these issues: #18262 , #7392 .
It adds another tab to Activity page called Code Frequency. Code
Frequency tab shows additions and deletions over time since the
repository existed.
Before:
<img width="1296" alt="image"
src="https://github.com/go-gitea/gitea/assets/32161460/2603504f-aee7-4929-a8c4-fb3412a7a0f6 ">
After:
<img width="1296" alt="image"
src="https://github.com/go-gitea/gitea/assets/32161460/58c03721-729f-4536-a663-9f337f240963 ">
---
#### Features
- See additions deletions over time since repository existed
- Click on "Additions" or "Deletions" legend to show only one type of
contribution
- Use the same cache from Contributors page so that the loading of data
will be fast once it is cached by visiting either one of the pages
---------
Co-authored-by: Giteabot <teabot@gitea.io > 
						
						
					 
					
						2024-02-23 23:41:24 +00:00 
						 
				 
			
				
					
						
							
							
								Yarden Shoham 
							
						 
					 
					
						
						
							
						
						12d233faf7 
					 
					
						
						
							
							Remove jQuery from the stopwatch ( #29351 )  
						
						... 
						
						
						
						- Switched to plain JavaScript
- Tested the stopwatch functionality and it works as before
# Demo using JavaScript without jQuery

Signed-off-by: Yarden Shoham <git@yardenshoham.com > 
						
						
					 
					
						2024-02-23 22:19:54 +01:00 
						 
				 
			
				
					
						
							
							
								techknowlogick 
							
						 
					 
					
						
						
							
						
						5bb8d1924d 
					 
					
						
						
							
							Support SAML authentication ( #25165 )  
						
						... 
						
						
						
						Closes https://github.com/go-gitea/gitea/issues/5512 
This PR adds basic SAML support
- Adds SAML 2.0 as an auth source
- Adds SAML configuration documentation
- Adds integration test:
- Use bare-bones SAML IdP to test protocol flow and test account is
linked successfully (only runs on Postgres by default)
- Adds documentation for configuring and running SAML integration test
locally
Future PRs:
- Support group mapping
- Support auto-registration (account linking)
Co-Authored-By: @jackHay22
---------
Co-authored-by: jackHay22 <jack@allspice.io >
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: KN4CK3R <admin@oldschoolhack.me >
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
Co-authored-by: Jason Song <i@wolfogre.com >
Co-authored-by: morphelinho <morphelinho@users.noreply.github.com >
Co-authored-by: Zettat123 <zettat123@gmail.com >
Co-authored-by: Yarden Shoham <git@yardenshoham.com >
Co-authored-by: 6543 <6543@obermui.de >
Co-authored-by: silverwind <me@silverwind.io > 
						
						
					 
					
						2024-02-23 00:08:17 +00:00 
						 
				 
			
				
					
						
							
							
								silverwind 
							
						 
					 
					
						
						
							
						
						532da5ed5e 
					 
					
						
						
							
							Don't show third-party JS errors in production builds ( #29303 )  
						
						... 
						
						
						
						So we don't get issues like
https://github.com/go-gitea/gitea/issues/29080  and
https://github.com/go-gitea/gitea/issues/29273  any more. Only active in
[production
builds](https://webpack.js.org/guides/production/#specify-the-mode ), in
non-production the errors will still show. 
						
						
					 
					
						2024-02-22 21:21:43 +00:00 
						 
				 
			
				
					
						
							
							
								Yarden Shoham 
							
						 
					 
					
						
						
							
						
						eaede2de98 
					 
					
						
						
							
							Remove jQuery from the repo commit functions ( #29230 )  
						
						... 
						
						
						
						- Switched to plain JavaScript
- Tested the commit ellipsis button functionality and it works as before
- Tested the commits statuses tippy functionality and it works as before
- Tested the last commit loader functionality and it works as before
# Demo using JavaScript without jQuery


---------
Signed-off-by: Yarden Shoham <git@yardenshoham.com >
Co-authored-by: silverwind <me@silverwind.io > 
						
						
					 
					
						2024-02-22 17:13:25 +00:00 
						 
				 
			
				
					
						
							
							
								Yarden Shoham 
							
						 
					 
					
						
						
							
						
						f390d5eb4f 
					 
					
						
						
							
							Remove jQuery from the image pasting functionality ( #29324 )  
						
						... 
						
						
						
						- Switched to plain JavaScript
- Tested the image pasting functionality and it works as before
# Demo using JavaScript without jQuery

Signed-off-by: Yarden Shoham <git@yardenshoham.com > 
						
						
					 
					
						2024-02-22 17:35:58 +01:00 
						 
				 
			
				
					
						
							
							
								Yarden Shoham 
							
						 
					 
					
						
						
							
						
						4e536edaea 
					 
					
						
						
							
							Remove jQuery from the installation page ( #29284 )  
						
						... 
						
						
						
						- Switched to plain JavaScript
- Tested the installation page functionality and it works as before
# Demo using JavaScript without jQuery

Signed-off-by: Yarden Shoham <git@yardenshoham.com > 
						
						
					 
					
						2024-02-21 09:13:48 +01:00 
						 
				 
			
				
					
						
							
							
								silverwind 
							
						 
					 
					
						
						
							
						
						a5c570c1e0 
					 
					
						
						
							
							Remove jQuery .map() and enable eslint rules for it ( #29272 )  
						
						... 
						
						
						
						- Use case in `repo-commit` was tested until the point where the POST
request was sent with the same payload.
- Use case in `repo-legacy` was tested completely with comment editing.
- `jquery/no-fade` was disabled as well to stay in sync with
`no-jquery/no-fade`, had no violations. 
						
						
					 
					
						2024-02-21 00:05:17 +00:00 
						 
				 
			
				
					
						
							
							
								Yarden Shoham 
							
						 
					 
					
						
						
							
						
						ade1110e8b 
					 
					
						
						
							
							Remove jQuery from repo wiki creation page ( #29271 )  
						
						... 
						
						
						
						- Switched to plain JavaScript
- Tested the wiki creation form functionality and it works as before
# Demo using JavaScript without jQuery

---------
Signed-off-by: Yarden Shoham <git@yardenshoham.com >
Co-authored-by: silverwind <me@silverwind.io > 
						
						
					 
					
						2024-02-20 11:37:37 +01:00 
						 
				 
			
				
					
						
							
							
								Yarden Shoham 
							
						 
					 
					
						
						
							
						
						100031f5f1 
					 
					
						
						
							
							Remove jQuery from the repo migration form ( #29229 )  
						
						... 
						
						
						
						- Switched to plain JavaScript
- Tested the repo migration form functionality and it works as before
# Demo using JavaScript without jQuery

---------
Signed-off-by: Yarden Shoham <git@yardenshoham.com >
Co-authored-by: silverwind <me@silverwind.io > 
						
						
					 
					
						2024-02-19 23:34:35 +01:00 
						 
				 
			
				
					
						
							
							
								silverwind 
							
						 
					 
					
						
						
							
						
						5e72526da4 
					 
					
						
						
							
							Downscale pasted PNG images based on metadata ( #29123 )  
						
						... 
						
						
						
						Some images like MacOS screenshots contain
[pHYs](http://www.libpng.org/pub/png/book/chapter11.html#png.ch11.div.8 )
data which we can use to downscale uploaded images so they render in the
same dppx ratio in which they were taken.
Before:
<img width="584" alt="image"
src="https://github.com/go-gitea/gitea/assets/115237/50979e3a-5d5a-40dc-a0a4-36eb6e28f14a ">
After:
<img width="329" alt="image"
src="https://github.com/go-gitea/gitea/assets/115237/0690902a-f2fe-4c6b-97b3-6fdd67c21bad "> 
						
						
					 
					
						2024-02-19 02:23:06 +00:00 
						 
				 
			
				
					
						
							
							
								FuXiaoHei 
							
						 
					 
					
						
						
							
						
						67adc5c1dc 
					 
					
						
						
							
							Artifact deletion in actions ui ( #27172 )  
						
						... 
						
						
						
						Add deletion link in runs view page.
Fix  #26315 

When click deletion button. It marks this artifact `need-delete`.
This artifact would be deleted when actions cleanup cron task. 
						
						
					 
					
						2024-02-18 10:33:50 +00:00 
						 
				 
			
				
					
						
							
							
								Yarden Shoham 
							
						 
					 
					
						
						
							
						
						d73223bfc6 
					 
					
						
						
							
							Remove jQuery from the repo release form ( #29225 )  
						
						... 
						
						
						
						- Switched to plain JavaScript
- Tested the repo release form functionality and it works as before
# Demo using JavaScript without jQuery

---------
Signed-off-by: Yarden Shoham <git@yardenshoham.com >
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com > 
						
						
					 
					
						2024-02-18 09:22:09 +08:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
						
						658cbddbfb 
					 
					
						
						
							
							Make submit event code work with both jQuery event and native event ( #29223 )  
						
						... 
						
						
						
						Partially related to #29200  and fix other potential bugs.
Co-authored-by: Giteabot <teabot@gitea.io > 
						
						
					 
					
						2024-02-17 21:48:10 +01:00 
						 
				 
			
				
					
						
							
							
								Yarden Shoham 
							
						 
					 
					
						
						
							
						
						5e1bf3efe2 
					 
					
						
						
							
							Remove jQuery from repo migrate page ( #29219 )  
						
						... 
						
						
						
						- Switched to plain JavaScript
- Tested the repo migrate functionality and it works as before
# Demo using JavaScript without jQuery

---------
Signed-off-by: Yarden Shoham <git@yardenshoham.com >
Co-authored-by: silverwind <me@silverwind.io > 
						
						
					 
					
						2024-02-17 21:07:47 +01:00 
						 
				 
			
				
					
						
							
							
								Yarden Shoham 
							
						 
					 
					
						
						
							
						
						3da2c63354 
					 
					
						
						
							
							Remove unneccesary initUserAuthLinkAccountView from "link account" page ( #29217 )  
						
						... 
						
						
						
						Signed-off-by: Yarden Shoham <git@yardenshoham.com >
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com > 
						
						
					 
					
						2024-02-17 18:51:35 +01:00 
						 
				 
			
				
					
						
							
							
								Yarden Shoham 
							
						 
					 
					
						
						
							
						
						27192bc321 
					 
					
						
						
							
							Remove jQuery from the webhook editor ( #29211 )  
						
						... 
						
						
						
						- Switched to plain JavaScript
- Tested the webhook editing functionality and it works as before
# Demo using JavaScript without jQuery

---------
Signed-off-by: Yarden Shoham <git@yardenshoham.com >
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com > 
						
						
					 
					
						2024-02-17 13:17:04 +00:00 
						 
				 
			
				
					
						
							
							
								Yarden Shoham 
							
						 
					 
					
						
						
							
						
						c282d378bd 
					 
					
						
						
							
							Remove jQuery from issue reference context popup attach ( #29216 )  
						
						... 
						
						
						
						- Switched to plain JavaScript
- Tested the context popup functionality and it works as before
# Demo using JavaScript without jQuery

Signed-off-by: Yarden Shoham <git@yardenshoham.com > 
						
						
					 
					
						2024-02-17 21:11:56 +08:00 
						 
				 
			
				
					
						
							
							
								silverwind 
							
						 
					 
					
						
						
							
						
						26b17537e6 
					 
					
						
						
							
							Add eslint-plugin-github and fix issues ( #29201 )  
						
						... 
						
						
						
						This plugin has a few useful rules. The only thing I dislike about it is
that it pulls in a rather big number of dependencies for react-related
rules we don't use, but it can't really be avoided.
Rule docs:
https://github.com/github/eslint-plugin-github?tab=readme-ov-file#rules  
						
						
					 
					
						2024-02-16 21:41:23 +00:00 
						 
				 
			
				
					
						
							
							
								Yarden Shoham 
							
						 
					 
					
						
						
							
						
						d8d4b33b31 
					 
					
						
						
							
							Remove jQuery from the "quick submit" handler ( #29200 )  
						
						... 
						
						
						
						- Switched to plain JavaScript
- Tested the quick submit functionality and it works as before
# Demo using JavaScript without jQuery

---------
Signed-off-by: Yarden Shoham <git@yardenshoham.com > 
						
						
					 
					
						2024-02-16 21:03:50 +01:00 
						 
				 
			
				
					
						
							
							
								Yarden Shoham 
							
						 
					 
					
						
						
							
						
						2d8756a960 
					 
					
						
						
							
							Fix initCompLabelEdit not being called ( #29198 )  
						
						... 
						
						
						
						Fix broken `if` from https://github.com/go-gitea/gitea/pull/29195 
Signed-off-by: Yarden Shoham <git@yardenshoham.com > 
						
						
					 
					
						2024-02-16 17:03:52 +01:00 
						 
				 
			
				
					
						
							
							
								Yarden Shoham 
							
						 
					 
					
						
						
							
						
						0768842ef5 
					 
					
						
						
							
							Remove jQuery from username change prompt and fix its detection ( #29197 )  
						
						... 
						
						
						
						- Switched to plain JavaScript
- Tested the user rename prompt toggling functionality and it works as
before
- Fixed bug that allowed pasting with the mouse to avoid the prompt
# Before

# After

---------
Signed-off-by: Yarden Shoham <git@yardenshoham.com >
Co-authored-by: silverwind <me@silverwind.io > 
						
						
					 
					
						2024-02-16 15:52:50 +00:00 
						 
				 
			
				
					
						
							
							
								Yarden Shoham 
							
						 
					 
					
						
						
							
						
						5902372e63 
					 
					
						
						
							
							Remove jQuery from organization rename prompt toggle ( #29195 )  
						
						... 
						
						
						
						- Switched to plain JavaScript
- Tested the organization rename prompt toggling functionality and it
works as before
# Demo using JavaScript without jQuery

---------
Signed-off-by: Yarden Shoham <git@yardenshoham.com >
Co-authored-by: silverwind <me@silverwind.io > 
						
						
					 
					
						2024-02-16 16:48:01 +01:00 
						 
				 
			
				
					
						
							
							
								Yarden Shoham 
							
						 
					 
					
						
						
							
						
						236e121844 
					 
					
						
						
							
							Remove jQuery from SSH key form parser ( #29193 )  
						
						... 
						
						
						
						- Switched to plain JavaScript
- Tested the SSH key title functionality and it works as before
# Demo using JavaScript without jQuery

---------
Signed-off-by: Yarden Shoham <git@yardenshoham.com >
Co-authored-by: silverwind <me@silverwind.io > 
						
						
					 
					
						2024-02-16 13:34:29 +00:00 
						 
				 
			
				
					
						
							
							
								silverwind 
							
						 
					 
					
						
						
							
						
						c40ee6fb73 
					 
					
						
						
							
							Refactor request function ( #29187 )  
						
						... 
						
						
						
						- Remove and prevent use of `body` argument, it is not used anywhere
- Remove uppercasing of method, we can require it to be uppercase 
						
						
					 
					
						2024-02-16 13:27:00 +00:00 
						 
				 
			
				
					
						
							
							
								Yarden Shoham 
							
						 
					 
					
						
						
							
						
						c70f65e83b 
					 
					
						
						
							
							Auto-update the system status in admin dashboard ( #29163 )  
						
						... 
						
						
						
						- Refactor the system status list into its own template
- Change the backend to return only the system status if htmx initiated
the request
- `hx-get="{{$.Link}}/system_status`: reuse the backend handler
- `hx-swap="innerHTML"`: replace the `<div>`'s innerHTML (essentially
the new template)
- `hx-trigger="every 5s"`: call every 5 seconds
- `hx-indicator=".divider"`: the `is-loading` class shouldn't be added
to the div during the request, so set it on an element it has no effect
on
- Render "Since Last GC Time" with `<relative-time>`, so we send a
timestamp
# Auto-update in action GIF

---------
Signed-off-by: Yarden Shoham <git@yardenshoham.com >
Co-authored-by: silverwind <me@silverwind.io > 
						
						
					 
					
						2024-02-16 02:52:25 +00:00 
						 
				 
			
				
					
						
							
							
								Şahin Akkaya 
							
						 
					 
					
						
						
							
						
						21331be30c 
					 
					
						
						
							
							Implement contributors graph ( #27882 )  
						
						... 
						
						
						
						Continuation of https://github.com/go-gitea/gitea/pull/25439 . Fixes  #847 
Before:
<img width="1296" alt="image"
src="https://github.com/go-gitea/gitea/assets/32161460/24571ac8-b254-43c9-b178-97340f0dc8a9 ">
----
After:
<img width="1296" alt="image"
src="https://github.com/go-gitea/gitea/assets/32161460/c60b2459-9d10-4d42-8d83-d5ef0f45bf94 ">
---
#### Overview
This is the implementation of a requested feature: Contributors graph
(#847 )
It makes Activity page a multi-tab page and adds a new tab called
Contributors. Contributors tab shows the contribution graphs over time
since the repository existed. It also shows per user contribution graphs
for top 100 contributors. Top 100 is calculated based on the selected
contribution type (commits, additions or deletions).
---
#### Demo
(The demo is a bit old but still a good example to show off the main
features)
<video src="https://github.com/go-gitea/gitea/assets/32161460/9f68103f-8145-4cc2-94bc-5546daae7014 " controls width="320" height="240">
  <a href="https://github.com/go-gitea/gitea/assets/32161460/9f68103f-8145-4cc2-94bc-5546daae7014 ">Download</a>
</video>
#### Features:
- Select contribution type (commits, additions or deletions)
- See overall and per user contribution graphs for the selected
contribution type
- Zoom and pan on graphs to see them in detail
- See top 100 contributors based on the selected contribution type and
selected time range
- Go directly to users' profile by clicking their name if they are
registered gitea users
- Cache the results so that when the same repository is visited again
fetching data will be faster
---------
Co-authored-by: silverwind <me@silverwind.io >
Co-authored-by: hiifong <i@hiif.ong >
Co-authored-by: delvh <dev.lh@web.de >
Co-authored-by: 6543 <6543@obermui.de >
Co-authored-by: yp05327 <576951401@qq.com > 
						
						
					 
					
						2024-02-15 23:21:13 +01:00 
						 
				 
			
				
					
						
							
							
								Yarden Shoham 
							
						 
					 
					
						
						
							
						
						542480a9b0 
					 
					
						
						
							
							Remove jQuery from the comment task list ( #29170 )  
						
						... 
						
						
						
						- Switched to plain JavaScript
- Tested the task list functionality and it works as before
---------
Signed-off-by: Yarden Shoham <git@yardenshoham.com >
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
Co-authored-by: Giteabot <teabot@gitea.io >
Co-authored-by: silverwind <me@silverwind.io > 
						
						
					 
					
						2024-02-15 13:27:07 +00:00 
						 
				 
			
				
					
						
							
							
								Yarden Shoham 
							
						 
					 
					
						
						
							
						
						a8748eedae 
					 
					
						
						
							
							Remove jQuery from the user search form in admin page ( #29151 )  
						
						... 
						
						
						
						- Switched to plain JavaScript
- Tested the form and it works as before
---------
Signed-off-by: Yarden Shoham <git@yardenshoham.com >
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com > 
						
						
					 
					
						2024-02-13 15:13:06 +01:00 
						 
				 
			
				
					
						
							
							
								silverwind 
							
						 
					 
					
						
						
							
						
						98e7e3a5f0 
					 
					
						
						
							
							Move vitest setup file to root ( #29097 )  
						
						... 
						
						
						
						I'm using this convention in other projects and I think it makes sense
for gitea too because the vitest setup file is loaded globally for all
tests, not just ones in web_src, so it makes sense to be in the root. 
						
						
					 
					
						2024-02-08 20:07:02 +08:00