Commit Graph

7 Commits (49db87a035a28cd8eaa4abdd5832f952ca6449d9)

Author SHA1 Message Date
Viktor Suprun 4d939845d2
Added auto-save whitespace behavior if it changed manually ()
Lunny Xiao a666829a37
Move user related model into models/user ()
* Move user related model into models/user

* Fix lint for windows

* Fix windows lint

* Fix windows lint

* Move some tests in models

* Merge
Lunny Xiao baed01f247
Remove unnecessary attributes of User struct ()
* Remove unnecessary functions of User struct

* Move more database methods out of user struct

* Move more database methods out of user struct

* Fix template failure

* Fix bug

* Remove finished FIXME

* remove unnecessary code
Lunny Xiao 3c3855a05c
Move user functions into user.go ()
* Move user functions into user.go

* Fix test
6543 c4d70a0325
Rename ctx.Form() to ctx.FormString() and move code into own file ()
Followup from  prepare for 

* Rename ctx.Form() to ctx.FormString()
* Reimplement FormX func to need less code and cpu cycles
* Move code into own file
Lunny Xiao 33e0b38287
Rename context.Query to context.Form ()
Lunny Xiao 1bfb0a24d8
Refactor routers directory ()
* refactor routers directory

* move func used for web and api to common

* make corsHandler a function to prohibit side efects

* rm unused func

Co-authored-by: 6543 <6543@obermui.de>