Commit Graph

11571 Commits

Author SHA1 Message Date
Ivan Dyachkov d10e2d8122 build: extract macos packaging into reusable workflow 2022-09-19 17:06:22 +02:00
Zaiming (Stone) Shi d4b272b0ed
Merge pull request #8930 from thalesmg/bugfix-will-msg-check-conn-state
fix: check conn state before sending will message
2022-09-17 08:12:20 +02:00
Thales Macedo Garitezi c20ad3733a fix: check for authorization on topic before publishing last will testament
fixes #8978

Without checking for authorization, a client can, on abnormal
termination, publish a message to any topic, including `$SYS` ones.
2022-09-16 17:31:22 -03:00
Thales Macedo Garitezi dca522d7d3 test: add tests for publishing lwt when deny_action is disconnect 2022-09-16 15:11:54 -03:00
Thales Macedo Garitezi 87ab2e3a2d fix: check conn state before sending will message 2022-09-16 15:11:54 -03:00
lafirest 6269c10502
Merge pull request #8982 from lafirest/chore/CHANGES
chore: update CHANGES-5.0.md
2022-09-16 19:20:57 +08:00
lafirest 5537f8396a
Merge pull request #8973 from lafirest/feat/authz_http_cert_placeholder
feat(authz): Support `cert_common_name` and `cert_subject` in Authz
2022-09-16 14:09:35 +08:00
firest baa9266428 chore: update CHANGES-5.0.md 2022-09-16 08:21:19 +08:00
Zaiming (Stone) Shi 6991b42f14
Merge pull request #8961 from thalesmg/drop-license-file-master
chore: drop support for license files
2022-09-15 21:03:49 +02:00
firest 14b5977996 feat(authz): Support `cert_common_name` and `cert_subject` in Authz 2022-09-15 18:02:54 +08:00
Ivan Dyachkov 982abd96bf
Merge pull request #8972 from emqx/chore-skip-signing-macos-binaries-when-secrets-not-available
chore: skip signing macos binaries when dev cert of pw are not set
2022-09-15 11:58:49 +02:00
Ivan Dyachkov 501667dc1f chore: skip signing macos binaries when dev cert of pw are not set 2022-09-15 10:27:09 +02:00
Thales Macedo Garitezi deff429579 chore: unify default license references in fn 2022-09-14 17:26:48 -03:00
Thales Macedo Garitezi 741eb4ff51
docs: apply suggestions from code review
Co-authored-by: Zaiming (Stone) Shi <zmstone@gmail.com>
2022-09-14 17:08:45 -03:00
Thales Macedo Garitezi 21f89fd83e chore(license): delete default config and add info to i18n 2022-09-14 17:00:21 -03:00
Thales Macedo Garitezi 8cefdb00b8 chore(license): add default key as default value in schema 2022-09-14 09:45:01 -03:00
Thales Macedo Garitezi d4416dc581 chore: drop support for license files (ee5.0)
Related issue: EMQX-7247

EMQX ee5.0 is to drop support for both the old license format (x509)
and for files containing the new format.
2022-09-14 09:44:59 -03:00
zhouzb 25b29de821
Merge pull request #8921 from Rory-Z/ci/fix-helm-push-error
ci(helm): fix helm push error
2022-09-14 09:21:31 +08:00
Ivan Dyachkov cb5be71165
Merge pull request #8897 from emqx/build-sign-macos-binaries
build: sign binary files in macos package
2022-09-13 16:31:32 +02:00
Zaiming (Stone) Shi 752eaeb899
Merge pull request #8944 from zmstone/0912-spellcheck-dict
0912 spellcheck dict
2022-09-13 12:15:09 +02:00
Rory Z b3355ff035 chore(helm): rename emqx-ee helm chart to emqx-enterprise 2022-09-13 17:43:00 +08:00
Zaiming (Stone) Shi d4e8a5377c ci: run spellcheck 0.4.0 2022-09-13 09:45:37 +02:00
Rory Z cbe2173547 chore(helm): add image.tag for helm chart 2022-09-13 15:31:14 +08:00
Rory Z 874414793f chore: add emqx enterprise helm chart 2022-09-13 14:06:39 +08:00
JianBo He 0bac4e200e
Merge pull request #8926 from HJianBo/using-erlang-system-time-5
fix(time): replace os:system_time with erlang:system_time
2022-09-13 09:09:16 +08:00
JianBo He a715573c64
Merge branch 'master' into using-erlang-system-time-5 2022-09-13 09:09:06 +08:00
Ivan Dyachkov 7cfca31aaf build: sign binary files in macos package 2022-09-12 21:50:00 +02:00
Zaiming (Stone) Shi d6bd1555ec refactor: move spellcheck dictionary to this repo
prior to this change, the EMQX spellcheck dictionary
is baked into the docker image, which makes adding
new words to the dict more complicated long process:
you'd have to send a separate PR to the docker image
repo and tag a new docker image and update the dokcer
iamge tag in emqx.git
2022-09-12 20:02:16 +02:00
Ivan Dyachkov 732a183576
Merge pull request #8919 from emqx/build-respect-PKG_VSN-variable-in-rebar.config.erl
build: take into account PKG_VSN env variable in rebar.config.erl
2022-09-09 14:28:09 +02:00
lafirest 13efe71b9f
Merge pull request #8934 from lafirest/fix/redis_authn
fix(authn_redis): fix that redis authn will deny the unknown users
2022-09-09 15:23:52 +08:00
firest a770447e75 fix(authn_redis): fix that redis authn will deny the unknown users 2022-09-09 14:53:31 +08:00
lafirest de06d1c539
Merge pull request #8876 from lafirest/fix/listeners_api
fix(api): add listener create API from `POST /listeners/{type:name…
2022-09-09 10:14:46 +08:00
lafirest 67945515c9
Merge pull request #8911 from lafirest/fix/retainer_start_error
fix(retainer): fix that EMQX can't start when the retainer is disabled
2022-09-09 10:14:34 +08:00
firest dd63e8d52b chore: update CHANGES-5.0.md 2022-09-08 20:30:43 +08:00
firest 47b35f0c6a fix(api): add listener create API from `POST /listeners/{type:name}` to `POST /listeners`
Old:
    API: POST /listeners/{type:demo}
    Body: {"type" : "tcp", "id" : "tcp:demo"}
New:
    API: POST /listeners
    Body: {"type" : "tcp", "name" : "demo"}
2022-09-08 20:28:40 +08:00
Zaiming (Stone) Shi 8062084e4b
Merge pull request #8909 from Rory-Z/ci/update-docker-build
ci(docker): add edition for docker image labels
2022-09-08 13:54:18 +02:00
firest 1a835e9bd4 test(retainer): add test case for start after retianer is disabled 2022-09-08 19:13:02 +08:00
JianBo He de8bf0909c chore: update changes 2022-09-08 16:16:49 +08:00
JianBo He 641763d4d7 chore: update app.src 2022-09-08 16:14:42 +08:00
JianBo He 8521d8dac5 fix(time): replace os:system_time with erlang:system_time
Avoid the problem of inaccurate timers caused by mixing erlang:system_time/0-1
and os:system_time/0-1
2022-09-08 16:13:05 +08:00
Ivan Dyachkov 659b65b328
Merge pull request #8920 from emqx/build-use-realpath-in-emqx
build: use realpath instead of readlink
2022-09-08 09:21:28 +02:00
Rory Z a58529edec ci(helm): fix helm push error 2022-09-08 09:32:59 +08:00
JianBo He 0167baf24c
Merge pull request #8658 from HJianBo/fix-coap-topic
fix(coap): remove the leading `/` in assembling publish topic
2022-09-08 09:32:30 +08:00
Ivan Dyachkov 6c6e8f684a build: take into account PKG_VSN env variable in rebar.config.erl 2022-09-07 22:36:30 +02:00
Ivan Dyachkov bc850281f2 build: use realpath instead of readlink
realpath works the same way in GNU and BSD systems
2022-09-07 21:31:58 +02:00
JianBo He 9f6fb4f1ce
Merge branch 'master' into fix-coap-topic 2022-09-07 17:48:44 +08:00
Ivan Dyachkov b485644615
Merge pull request #8914 from emqx/docs-finish-sync-russian-readme
docs: finish sync of README-RU
2022-09-07 10:05:26 +02:00
Ivan Dyachkov 351046abf9 docs: finish sync of README-RU 2022-09-07 09:27:36 +02:00
firest a526c39ff5 chore: bump emqx_retainer version && update CHANGES-5.0.md 2022-09-07 14:49:33 +08:00
firest de36b77261 fix(retainer): fix that EMQX can't start when the retainer is disabled 2022-09-07 14:48:28 +08:00