silverwind 
							
						 
					 
					
						
						
							
						
						165a3ead52 
					 
					
						
						
							
							Mock external service in hcaptcha TestCaptcha ( #35604 )  
						
						... 
						
						
						
						The test calls out to a web service which may be down or unreachable as
seen in the linked issue. It's better for tests to not have such
external dependencies to make them absolutely stable.
Fixes: https://github.com/go-gitea/gitea/issues/35571  
						
						
					 
					
						2025-10-10 06:21:45 +02:00 
						 
				 
			
				
					
						
							
							
								John Olheiser 
							
						 
					 
					
						
						
							
						
						2052a9e2b4 
					 
					
						
						
							
							Consume hcaptcha and pwn deps ( #22610 )  
						
						... 
						
						
						
						This PR just consumes the
[hcaptcha](https://gitea.com/jolheiser/hcaptcha ) and
[haveibeenpwned](https://gitea.com/jolheiser/pwn ) modules directly into
Gitea.
Also let this serve as a notice that I'm fine with transferring my
license (which was already MIT) from my own name to "The Gitea Authors".
Signed-off-by: jolheiser <john.olheiser@gmail.com > 
						
						
					 
					
						2023-01-29 09:49:51 -06:00 
						 
				 
			
				
					
						
							
							
								flynnnnnnnnnn 
							
						 
					 
					
						
						
							
						
						e81ccc406b 
					 
					
						
						
							
							Implement FSFE REUSE for golang files ( #21840 )  
						
						... 
						
						
						
						Change all license headers to comply with REUSE specification.
Fix  #16132 
Co-authored-by: flynnnnnnnnnn <flynnnnnnnnnn@github>
Co-authored-by: John Olheiser <john.olheiser@gmail.com > 
						
						
					 
					
						2022-11-27 18:20:29 +00:00 
						 
				 
			
				
					
						
							
							
								John Olheiser 
							
						 
					 
					
						
						
							
						
						72636fd664 
					 
					
						
						
							
							hCaptcha Support ( #12594 )  
						
						... 
						
						
						
						* Initial work on hCaptcha
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Use module
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Format
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* At least return and debug log a captcha error
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Pass context to hCaptcha
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Add context to recaptcha
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* fix lint
Signed-off-by: Andrew Thornton <art27@cantab.net >
* Finish hcaptcha
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Update example config
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Apply error fix for recaptcha
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Change recaptcha ChallengeTS to string
Signed-off-by: jolheiser <john.olheiser@gmail.com >
Co-authored-by: Andrew Thornton <art27@cantab.net > 
						
						
					 
					
						2020-10-02 23:37:53 -04:00