58501a2682 
								
							 
						 
						
							
							
								
								[API] GET / SET User Settings ( #16169 )  
							
							... 
							
							
							
							* API: GET/SET User Settings
* linter
* Apply suggestions from code review
* Update modules/structs/user.go
* lint
* fix swagger
* move User2UserSettings to convert
* as per @zeripath "preferences" -> "settings"
Co-authored-by: techknowlogick <matti@mdranta.net>
Co-authored-by: techknowlogick <techknowlogick@gitea.io> 
							
						 
						
							2021-06-23 15:58:44 -04:00  
				
					
						
							
							
								 
						
							
								c9d053f0ca 
								
							 
						 
						
							
							
								
								[API] User expose counters ( #16167 )  
							
							
							
						 
						
							2021-06-17 09:17:35 +02:00  
				
					
						
							
							
								 
						
							
								f8335444de 
								
							 
						 
						
							
							
								
								Add Active and ProhibitLogin to API ( #15689 )  
							
							... 
							
							
							
							* Added active and prohibit_login.
* Do not omit fields for normal users. 
							
						 
						
							2021-05-11 02:22:29 +02:00  
				
					
						
							
							
								 
						
							
								8c8471e754 
								
							 
						 
						
							
							
								
								Addition to  (Add Location, Website and Description to API  #15675 ) ( #15690 )  
							
							... 
							
							
							
							* Use same name as other structs.
* Sync with normal forms.
* Edit description with API.
* Workaround for nil value. 
							
						 
						
							2021-05-02 21:03:15 +02:00  
				
					
						
							
							
								 
						
							
								67e10397af 
								
							 
						 
						
							
							
								
								Add Location, Website and Biography to API ( #15675 )  
							
							
							
						 
						
							2021-05-01 10:05:55 +01:00  
				
					
						
							
							
								 
						
							
								f0e15250b9 
								
							 
						 
						
							
							
								
								Migrate to use jsoniter instead of encoding/json ( #14841 )  
							
							... 
							
							
							
							* Migrate to use jsoniter
* fix tests
* update gitea.com/go-chi/binding
Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: 6543 <6543@obermui.de> 
							
						 
						
							2021-03-01 22:08:10 +01:00  
				
					
						
							
							
								 
						
							
								8d5c795cc4 
								
							 
						 
						
							
							
								
								[API] Add Restricted Field to User ( #14630 )  
							
							... 
							
							
							
							* Expose Restricted field for User
* Add Option to Change Restricted on User via adminEditUser API
* Add test who change restricted & test if it changed it ...
* make generate-swagger
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> 
							
						 
						
							2021-02-18 16:25:35 +08:00  
				
					
						
							
							
								 
						
							
								cf2221e3ac 
								
							 
						 
						
							
							
								
								Add LastLogin to the User API ( #7196 )  
							
							
							
						 
						
							2019-06-15 23:28:32 -04:00  
				
					
						
							
							
								 
						
							
								34eee25bd4 
								
							 
						 
						
							
							
								
								Move sdk structs to modules/structs ( #6905 )  
							
							... 
							
							
							
							* move sdk structs to moduels/structs
* fix tests
* fix fmt
* fix swagger
* fix vendor 
							
						 
						
							2019-05-11 18:21:34 +08:00