Ilya Averyanov
c86887491c
fix(authn): transfer chain tab to emqx_authentication_sup
...
To preserve configuration after emqx_authentication crashes.
2021-11-19 16:41:22 +03:00
DDDHuang
7c48bcabed
fixt: generate api ( #6124 )
...
* fix: generate api
* fix: banned suite
* fix: generate api bad rpc
* fix: bad message suite
* fix: create banned with check existed
2021-11-17 10:55:48 +08:00
JimMoen
c05ecdbcb8
fix(api): DELETE success wrongly returned code 200 ( #6135 )
2021-11-16 09:28:57 +08:00
Zaiming (Stone) Shi
9761fe2f6d
Merge pull request #6009 from tigercl/fix/authn
...
fix(authn): fix handling of query result
2021-11-15 13:32:56 +01:00
JimMoen
106aa559e0
fix(api): DELETE success wrongly returned code 200
2021-11-15 16:30:44 +08:00
Ilya Averyanov
4f0311b6f8
Merge pull request #6093 from savonarola/add-authn-tests
...
chore(authn mnesia): reimplement emqx_authn_mnesia provider tests
2021-11-10 21:20:46 +03:00
Ilya Averyanov
a0a88e23b0
chore(authn mnesia): reimplement emqx_authn_mnesia provider tests
2021-11-10 17:13:04 +03:00
Ilya Averyanov
a84b84aac9
refactor(authn api): reformat for elvis compliance
2021-11-05 19:36:26 +03:00
Ilya Averyanov
1e036bf74d
refactor(authn api): add more schema examples
2021-11-05 16:12:14 +03:00
Zaiming (Stone) Shi
3b02366a5b
Merge pull request #6064 from zmstone/style-check-newline-at-eof
...
Style: check newline at EOF
2021-11-04 18:01:45 +01:00
Zaiming Shi
56e2a9741f
style: ensure newline at EOF for all files
2021-11-04 14:40:14 +01:00
zhouzb
48ddd056b5
test(authn): add test cases for authn
2021-11-04 10:03:34 +08:00
zhouzb
ca4bb100ec
fix(authn): fix bad parsing for postgresql SQL
2021-11-04 10:01:54 +08:00
Ilya Averyanov
796553b5ea
fix(authn api): eliminate possible atom leak
2021-11-01 16:51:48 +03:00
zhouzb
29fb9b3361
fix(authn): fix bad type of hash
2021-11-01 18:49:13 +08:00
Ilya Averyanov
800b4b32c7
refactor(authn api): use config schemas for request validations ( #5999 )
2021-11-01 17:52:03 +08:00
zhouzb
a712daaebc
fix(authn): fix bad list comprehension
2021-10-27 15:08:02 +08:00
William Yang
1c93331e34
perf(pool): emqx_authn_http pool type hash
2021-10-27 08:43:34 +02:00
zhouzb
7311132d49
fix(authn): fix handling of query result
2021-10-27 09:22:17 +08:00
JimMoen
4a07d5e1f3
refactor(paginate): use exported fun call `{M,F}`
2021-10-26 16:16:37 +08:00
JimMoen
3683ba13ee
fix(authn): users pagination on spec listener_id and authn_id
2021-10-26 16:16:37 +08:00
JimMoen
eb452bd237
feat(authn_scram): authn_scram users page query
2021-10-26 16:16:37 +08:00
JimMoen
0bd5cd9336
feat(authn): authn users page query
2021-10-26 16:16:37 +08:00
JimMoen
a399ac20e9
fix(authn): api description using binary string
2021-10-26 16:16:37 +08:00
Zaiming (Stone) Shi
666b319729
Merge pull request #5989 from zmstone/refactor-ssl-certs-lib
...
refactor(tls): move ssl files handling to emqx_tls_lib
2021-10-25 12:42:29 +02:00
tigercl
0d53ea9db7
Merge pull request #5974 from tigercl/fix/mysql-query
...
fix(authn): fix sql parse for mysql
2021-10-25 10:38:15 +08:00
Zaiming Shi
a7413bc11e
fix(authn): save certificates to certs dir
2021-10-24 16:21:57 +02:00
Zaiming Shi
71d2e6bebd
refactor(authz): call emqx_tls_lib to save & read SSL files
2021-10-24 10:44:47 +02:00
Ilya Averyanov
e37ecc10a6
style(behaviour attrs): unify behaviour declarations
2021-10-21 15:10:59 +03:00
zhouzb
7fdcca587a
fix(authn): fix handling of pgsql response
2021-10-21 17:41:16 +08:00
zhouzb
e071a10fee
fix(authn): no longer use single quotes to wrap placeholders
2021-10-21 17:14:08 +08:00
zhouzb
3a834a822f
fix(authn): fix sql parse for mysql
2021-10-21 17:07:24 +08:00
Zaiming (Stone) Shi
ed069cfecc
Merge pull request #5963 from zmstone/refactor-authn-schema
...
refactor(authn): check authenticator config with provider module
2021-10-21 08:07:48 +02:00
tigercl
45b484a26a
Merge pull request #5967 from tigercl/fix/authn-mysql
...
fix(authn): fix placeholders are not replaced correctly
2021-10-21 10:20:05 +08:00
Zaiming Shi
ce5b456872
refactor(authn): make schema doc generation work
2021-10-20 17:42:06 +02:00
Zaiming Shi
fa91e5f583
fix(authn): allow single authenticator instance from config
2021-10-20 15:06:08 +02:00
Zaiming Shi
d468c21e61
fix(authn): rename config key http-server to http
2021-10-20 14:36:37 +02:00
Zaiming Shi
72c26931d7
fix: fill string fields' default value with binary
2021-10-20 11:52:30 +02:00
Zaiming Shi
1b9c082563
refactor(authn): check authenticator config with provider module
...
mainly two changes:
1. the schema is simplified at root level, per-authenticator checks
are done after the type can be identified
2. the config handling part is split out from emqx_authentication
module to emqx_authentication_config module
2021-10-20 10:13:11 +02:00
zhouzb
4ae38b7c6a
fix(authn): fix placeholders are not replaced correctly
2021-10-20 10:14:47 +08:00
k32
d14b8e7da9
chore(mria): ekka_rlog -> mria_rlog
2021-10-18 22:04:05 +02:00
k32
326923850c
chore(mria): Get rid of copy_mnesia callback
2021-10-18 22:04:05 +02:00
k32
9965d6e028
chore(mria): ekka_mnesia:create_table -> mria:create_table
2021-10-18 22:04:05 +02:00
k32
b515a45a4f
chore(mria): Rename module: ekka_mnesia -> mria
2021-10-18 22:04:05 +02:00
Tobias Lindahl
aa19c2a908
chore: Remove emqx_ct_helpers as dependency
2021-10-15 10:40:57 +02:00
zhongwencool
2de5e0157b
chore(doc): replace : by - in namespace ( #5920 )
2021-10-14 14:48:39 +08:00
tigercl
3df33da9ac
Merge pull request #5919 from tigercl/fix/scram-users
...
fix(authn): fix bad user_id for scram
2021-10-13 13:56:29 +08:00
zhouzb
ab060198a6
fix(authn): fix bad user_id for scram
2021-10-13 11:35:51 +08:00
lafirest
3524942766
fix: change all ~s in io format to ~ts
...
we should use unicode to replace latin1
2021-10-12 15:09:24 +08:00
tigercl
79685a77ba
Merge branch 'master' into fix/authn2
2021-09-28 09:27:08 +08:00