* bugfix: whiteList list return empty
* support multi-dict for i18n && add mongodb for monapi as a plugin
* use 10day as max lifetime for extra mode auth
* bugfix: ignore i18n with default value
* Spelling mistakes
* 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
* FIX: 修复短信报警模板的转义问题
报警说明里的信息由于 html template 的转义,会将部分字符转义为 html 表示,但是短信内容不需要转义。
向 template 模板添加 unescaped 处理函数,并在模板文件中使用 unescaped 标识不需要转义的字段,实现避免转义
* FIX: html template func 需要在 phase 之前添加
* FIX: use the filename as template name
* FIX: template name
Co-authored-by: zhupeiyuan <zhupeiyuan@fenbi.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 description for tansfer.m3db config
* add query data for ui
* 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
* disable captcha by default in rdb.yml
* 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 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