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  
				
					
						
							
							
								 
						
							
								32db62515f 
								
							 
						 
						
							
							
								
								Add package registry cleanup rules ( #21658 )  
							
							... 
							
							
							
							Fixes  #20514 
Fixes  #20766 
Fixes  #20631 
This PR adds Cleanup Rules for the package registry. This allows to
delete unneeded packages automatically. Cleanup rules can be set up from
the user or org settings.
Please have a look at the documentation because I'm not a native english
speaker.
Rule Form

Rule List

Rule Preview

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> 
						
							2022-11-20 16:08:38 +02:00  
				
					
						
							
							
								 
						
							
								20674dd05d 
								
							 
						 
						
							
							
								
								Add package registry quota limits ( #21584 )  
							
							... 
							
							
							
							Related #20471 
This PR adds global quota limits for the package registry. Settings for
individual users/orgs can be added in a seperate PR using the settings
table.
Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> 
							
						 
						
							2022-11-09 14:34:27 +08:00  
				
					
						
							
							
								 
						
							
								7c11a73833 
								
							 
						 
						
							
							
								
								Fix package access for admins and inactive users ( #21580 )  
							
							... 
							
							
							
							I noticed an admin is not allowed to upload packages for other users
because `ctx.IsSigned` was not set.
I added a check for `user.IsActive` and `user.ProhibitLogin` too because
both was not checked. Tests enforce this now.
Co-authored-by: Lauris BH <lauris@nix.lv> 
							
						 
						
							2022-10-24 22:23:25 +03:00  
				
					
						
							
							
								 
						
							
								c8ded77680 
								
							 
						 
						
							
							
								
								Kd/ci playwright go test ( #20123 )  
							
							... 
							
							
							
							* Add initial playwright config
* Simplify Makefile
* Simplify Makefile
* Use correct config files
* Update playwright settings
* Fix package-lock file
* Don't use test logger for e2e tests
* fix frontend lint
* Allow passing TEST_LOGGER variable
* Init postgres database
* use standard gitea env variables
* Update playwright
* update drone
* Move empty env var to commands
* Cleanup
* Move integrations to subfolder
* tests integrations to tests integraton
* Run e2e tests with go test
* Fix linting
* install CI deps
* Add files to ESlint
* Fix drone typo
* Don't log to console in CI
* Use go test http server
* Add build step before tests
* Move shared init function to common package
* fix drone
* Clean up tests
* Fix linting
* Better mocking for page + version string
* Cleanup test generation
* Remove dependency on gitea binary
* Fix linting
* add initial support for running specific tests
* Add ACCEPT_VISUAL variable
* don't require git-lfs
* Add initial documentation
* Review feedback
* Add logged in session test
* Attempt fixing drone race
* Cleanup and bump version
* Bump deps
* Review feedback
* simplify installation
* Fix ci
* Update install docs 
							
						 
						
							2022-09-02 15:18:23 -04:00