* move get collectrule api from /api/mon to /v1/mon
* support anonymous struct field for monapi.plugins.template
* add tls with mysql, redis and mongodb
* add rdb.user.pwdExpiresAt
* 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>