Commit Graph

145 Commits

Author SHA1 Message Date
Orne Brocaar
bb188949df Update dependencies + fix clippy warnings. 2022-09-26 12:58:01 +01:00
Orne Brocaar
84a1c6e1be Bump version to 4.0.0 2022-09-14 09:43:05 +01:00
Orne Brocaar
cba8da2d05 Bump version to 4.0.0-rc.4 2022-09-05 22:47:47 +01:00
Orne Brocaar
ca2961c7b6 Bump version to 4.0.0-rc.3 2022-08-23 08:59:05 +01:00
Orne Brocaar
63b0af6cf3 Remove owning_ref indirect dep by updating prometheus-client.
The owning_ref crate has a vulnerable. The updated prometheus-client no
longer uses owning_ref as a dependency.
2022-08-22 10:54:33 +01:00
Orne Brocaar
424306ab41 Update cpufeatures crate. This fixes an incorrect avx2 check.
In some scenarios, this check returned true while the avx2 extension was
not available (e.g. QEMU emulated CPU).

See for more details: https://github.com/RustCrypto/hashes/pull/386.
2022-08-18 11:37:03 +01:00
Orne Brocaar
d4337b10ab Bump version to 4.0.0-rc.2 2022-08-11 12:04:21 +01:00
Orne Brocaar
ca567ca562 Bump version to 4.0.0-rc.1 2022-08-10 12:36:43 +01:00
Orne Brocaar
e680db3be0 Bump version to 4.0.0-test.18 2022-08-04 17:11:45 +01:00
Orne Brocaar
a14adfe20b Bump version to 4.0.0-test.17 2022-08-04 10:27:03 +01:00
Orne Brocaar
341ac828b0 Bump version to 4.0.0-test.16 2022-08-01 12:59:57 +01:00
Orne Brocaar
edff985ad8 Bump version to 4.0.0-test.15 2022-08-01 10:20:57 +01:00
Orne Brocaar
3ab830f5a0 Change clean_session default + fix re-subscribe.
This changes the clean_session default to false, as only in case of a
persistent session, qos > 0 would be effective. If the client_id is not
set, then ChirpStack will generate a random client_id, which stays the
same during the lifetime of the chirpstack process.

This also implements a subscribe loop, as the client re-connect feature
does not re-subscribe. Even in case of a persistent session there is no
guarantee that the subscription is recovered, as it might have been a
MQTT broker restart. In case the broker stores the sessions in-memory,
the client would re-connect, but without subscriptions.

The (re)subscribe logic is placed outside the on-connected callback, as
the callback function must not block, thus can not wait for the
subscribe result. No the (re)subscribe happens async from the
on-connected.
2022-07-30 13:23:54 +01:00
Orne Brocaar
f58e39e503 Bump version to 4.0.0-test.14 2022-07-28 09:02:54 +01:00
Orne Brocaar
7a7d3dbd4e Add missing LoRa 2.4 gHz code-rates to enum. 2022-07-27 10:06:14 +01:00
Orne Brocaar
73d581fc4c Update version. 2022-07-26 15:29:01 +01:00
Orne Brocaar
4612f84045 Update to diesel 2.0.0-rc.1. 2022-07-22 13:05:45 +01:00
Orne Brocaar
e7432986cd Bump version to v4.0.0-test.11. 2022-07-21 16:17:41 +01:00
Orne Brocaar
067869e4f0 Bump version to v4.0.0-test.10. 2022-07-21 13:49:51 +01:00
Orne Brocaar
9db867906d Update Cargo.lock. 2022-07-20 14:11:59 +01:00
Orne Brocaar
cbb1449868 Bump version. 2022-07-20 13:27:34 +01:00
Orne Brocaar
634aea6a71 Update diesel to 2.0.0-rc.0.
Diesel 1.4.x makes it impossible to properly cross-compile when using
PostgreSQL and thus having a dependency on libpq. On compile and I
believe when using the diesel_migrations crate, there is a dependency on
both the host and target libpq. Unfortunately, only one can be installed
at a time, because of conflicts. See also:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=995768

Until now the cross-compile solution is based on docker buildx, which
uses qemu to emulate the different targets. This works, but is very,
very slow.

Diesel 2.0.0-rc.0 no longer depends on both the host and target libpq on
compile and makes it possible to implement proper cross-compiling (using
the rust --target flag in combination with the cross-compile
toolchains).
2022-07-20 10:55:59 +01:00
Orne Brocaar
bfefdf2ae5 Run cargo update. 2022-07-18 10:14:30 +01:00
dependabot[bot]
51a93f851e
Bump openssl-src from 111.20.0+1.1.1o to 111.22.0+1.1.1q (#29)
Bumps [openssl-src](https://github.com/alexcrichton/openssl-src-rs) from 111.20.0+1.1.1o to 111.22.0+1.1.1q.
- [Release notes](https://github.com/alexcrichton/openssl-src-rs/releases)
- [Commits](https://github.com/alexcrichton/openssl-src-rs/commits)

---
updated-dependencies:
- dependency-name: openssl-src
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-13 12:22:44 +01:00
Orne Brocaar
e1da9f75ae Fix serving backend interfaces using TLS. 2022-07-13 12:15:38 +01:00
Orne Brocaar
4131ed38ec Add Kafka integration. 2022-07-12 09:37:15 +01:00
Orne Brocaar
0d4003a2be Add global AMQP integration. 2022-07-07 10:16:55 +01:00
Orne Brocaar
7baedd1bf9 Add Prometheus metrics for gw backend + API methods. 2022-07-05 14:00:57 +01:00
Orne Brocaar
f27b8da38d Re-implement passive-roaming. 2022-06-30 11:17:26 +01:00
Orne Brocaar
3fd821ebdf Update version to v4.0.0-test.7. 2022-06-29 14:10:50 +01:00
Orne Brocaar
4fa9341139 Bump version. 2022-06-10 12:32:09 +01:00
dependabot[bot]
32cf56af53
Bump crossbeam-utils from 0.8.6 to 0.8.8 (#26)
Bumps [crossbeam-utils](https://github.com/crossbeam-rs/crossbeam) from 0.8.6 to 0.8.8.
- [Release notes](https://github.com/crossbeam-rs/crossbeam/releases)
- [Changelog](https://github.com/crossbeam-rs/crossbeam/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crossbeam-rs/crossbeam/compare/crossbeam-utils-0.8.6...crossbeam-utils-0.8.8)

---
updated-dependencies:
- dependency-name: crossbeam-utils
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-08 14:15:31 +01:00
Orne Brocaar
fef42fa192 Update openidconnect dependency. 2022-06-07 19:51:48 +01:00
Orne Brocaar
1236b4dba9 Update rust-embed dependency. 2022-06-07 19:42:15 +01:00
dependabot[bot]
32c4495f0f
Bump openssl-src from 111.17.0+1.1.1m to 111.20.0+1.1.1o (#25)
Bumps [openssl-src](https://github.com/alexcrichton/openssl-src-rs) from 111.17.0+1.1.1m to 111.20.0+1.1.1o.
- [Release notes](https://github.com/alexcrichton/openssl-src-rs/releases)
- [Commits](https://github.com/alexcrichton/openssl-src-rs/commits)

---
updated-dependencies:
- dependency-name: openssl-src
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-07 19:30:47 +01:00
Orne Brocaar
d9d3f14e80 Implement support for device-profile templates + TTN importer. 2022-06-07 19:29:59 +01:00
Orne Brocaar
5b1d70cdbf Integrate Buffer class into JS codec runtime. 2022-05-10 14:08:47 +01:00
Orne Brocaar
f964314a4f Update packaging + bump (test) version. 2022-05-04 11:34:18 +01:00
Orne Brocaar
c7056d84d6 Bump versions. 2022-05-02 15:14:59 +01:00
Orne Brocaar
d8377cd26a Update UI dependencies. 2022-04-29 15:45:52 +01:00
Orne Brocaar
e649e75c8d Refactor uplink / downlink GW <> NS messages.
This includes:

* Changing the modulation parameters to its own type.
* Changing the timing parameters to its own type.
* Change the gateway_id to string. As the json encoding for bytes fields
  is base64, this was confusing some users.
* Change the uplink / downlink id to uint32 from uuid. A string
  representation of the UUID field (for the same reason as the gateway
  id) would consome quite some additional bytes. An uint32 provides
  sufficient uniqueness for the purpose of uplink / downlink.
2022-04-21 11:42:28 +01:00
Orne Brocaar
8e5d7f760a CI related changes. 2022-04-18 21:19:24 +01:00
Orne Brocaar
3f5c4983e5 Update chirpstack_api dependencies. 2022-04-12 11:04:30 +01:00
Orne Brocaar
1817651e78 Remove unused dependency. Remove publish = false. 2022-04-06 22:08:35 +01:00
Orne Brocaar
96fe672fc7 Initial commit. 2022-04-06 21:18:32 +01:00