* add validate for some plugins
* restore getSessionUserWithCache method
* add validate for i18n.config
* use embed dict for i18n
* add err log for session start
* add rdb config auth.debug for white_list
* update prober config support mode param
* feature: support access-token control with max connection, idle time, ...
* add token/session delete with auth check
* enable debug user for auth
* skip init sso db if not enable
* use collector interface
* mysql can work fine
* add basecollector
* add prober & monapi.plugins
* enable mysql plugins work
* rename collector -> manager
* add white list access check for rdb
* add cache module for authConfig & session
* rollback n9e_rdb_3.3.0.sql
* add sql ddl document
* add white_list, pwd, login access control
* add email code for login & reset password
* use sessionUsername instead of cookieUsername
* remove cookie name and data from session
* rename userName to username
* add remote_addr with session connection
* add get user by sid with cache
* enable cookie life time could be zero
* go mod tidy
* Rdb with session & monapi with telegraf (#456)
* use collector interface
* mysql can work fine
* add basecollector
* add prober & monapi.plugins
* enable mysql plugins work
* rename collector -> manager
* add white list access check for rdb
* add cache module for authConfig & session
* rollback n9e_rdb_3.3.0.sql
* add sql ddl document
* add white_list, pwd, login access control
* add email code for login & reset password
* use sessionUsername instead of cookieUsername
* remove cookie name and data from session
* rename userName to username
* add remote_addr with session connection
* add get user by sid with cache
* enable cookie life time could be zero
* go mod tidy
* add plugins config for prober
* add prober plugin expression parse
* update transfer default config for m3
* Rdb (#458)
* bugfix: session gc
* use flag for pwdMustInclude
* change user login function
* delete invite token after use
* bugfix: login response
* add sessionStart middle ware
* add auth module
* add i18n for rdb
* add i18n.zh for rdb.auth
* add mon plugins(redis, mongodb)
* update config
* add sub struct into definitions
* clean up sid cache after session destory
* bugfix: get user return nil when not found
* update i18n
* bugfix: ignore cache nologin user
* add user for callback output
* add password change api
* update default configfile & sql patch
* merge mon http middleware from rdb
* remove sso logout, sso already supporte one time auth
* support tt automation by job
* format
* import order
* use map to avoid repetition
* add api for sync from ccp by force
* fix bug
* code refactory
* delete unused code
* delete func
* code refactory
* rename labels key
Co-authored-by: dujiashu <dujiashu@didiglobal.com>
* support tt automation by job
* format
* import order
* use map to avoid repetition
* add api for sync from ccp by force
* fix bug
* code refactory
* delete unused code
* delete func
Co-authored-by: dujiashu <dujiashu@didiglobal.com>
* support openID2.0
* generate UUID if it's not set
* add m3db support
* add test shell
* update transfer.yml
* remove klog
* use remote m3 repo
* remove some file
* add logout v2 for sso
* support sms-code login
* use db instead of memory cache for login code
* feature: support reset password by sms code
* remove deprecated api/code
* feature: support image captcha
* use db instead of memory cache for sso.auth.state
* add authLogin for login, v1/login; support (*)[.local].tpl for tpl file
* add username to sms-code api
* add logout v2 for sso
* support sms-code login
* use db instead of memory cache for login code
* feature: support reset password by sms code
* remove deprecated api/code
* feature: support image captcha
* use db instead of memory cache for sso.auth.state
* add authLogin for login, v1/login; support (*)[.local].tpl for tpl file
* add logout v2 for sso
* support sms-code login
* use db instead of memory cache for login code
* feature: support reset password by sms code
* remove deprecated api/code
* feature: support image captcha
* use db instead of memory cache for sso.auth.state