Commit Graph

640 Commits

Author SHA1 Message Date
Orne Brocaar
582cf9f257 chirpstack: Do not set empty username / password in MQTT.
Closes #257.
2023-08-10 13:44:14 +01:00
dependabot[bot]
d15a180a39
examples: Bump google.golang.org/grpc in /examples/frame_log/go (#227)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.45.0 to 1.53.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.45.0...v1.53.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-08 13:32:12 +01:00
dependabot[bot]
85864be5ed
examples: Bump google.golang.org/grpc in /examples/request_log/go (#228)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.45.0 to 1.53.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.45.0...v1.53.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-08 13:31:53 +01:00
Orne Brocaar
d3b2d6a824 chirpstack: Update rdkafka dependency. 2023-08-08 13:29:42 +01:00
Orne Brocaar
582df0dc8f api: Update js dependencies. 2023-08-08 12:22:45 +01:00
Orne Brocaar
5ce2b636ca api: Update grpc-web dependencies. 2023-08-08 12:17:58 +01:00
Orne Brocaar
cc5b27f299 ui: Update dependencies. 2023-08-08 12:07:29 +01:00
Orne Brocaar
443d3a4db9 api: Update Go gRPC dependencies + generate code. 2023-08-08 11:59:51 +01:00
Orne Brocaar
e2d82134de Update dependencies. 2023-08-08 11:53:56 +01:00
Alexander Leisentritt
8f40b6dca3
Fix ADR plugin variable mapping (maxRr > maxDr) (#256) 2023-08-07 14:24:11 +01:00
Orne Brocaar
ae8c732895 Send CtrlUplinkAction=1 for deleted Relay devices. 2023-08-01 14:39:48 +01:00
Orne Brocaar
4359e90613 Implement removing device from Relay filter list. 2023-07-31 16:00:08 +01:00
Orne Brocaar
050610de55 Fix clippy warnings. 2023-07-31 12:58:14 +01:00
Orne Brocaar
a433c7dd14 Cleanup dead code warnings. 2023-07-31 11:49:45 +01:00
Orne Brocaar
dac4f15f40 Fix showing initial InfluxDB integration form.
Closes #254.
2023-07-31 10:51:23 +01:00
Orne Brocaar
651fcfce43 Fix gRPC stream handling after UI refactor.
This moves the onMessage handler out of useEffect and it fixes
appending the the array. The .unshift() method does not work
well using React.useState. It would prepend, but since it would not
change the array (it adds an item to the array), the update would
not propagate.
2023-07-27 16:39:29 +01:00
Orne Brocaar
6f1638e87a Refactor UI to function elements & update React + Ant.
This refactor the UI components from class based element into function
based elements. This makes it possible to use hooks that are used now
by most React components. This also updates React and Ant to the latest
versions (+ other dependencies).
2023-07-27 13:07:00 +01:00
Orne Brocaar
afc196095d Make it possible to use DeviceModeInd for LW 1.0.x devices.
This change makes it possible to use the DeviceModeInd mac-command to
switch between Class-A / C for LoRaWAN 1.0.x devices. In such a case the
Supports Class-C would be disabled for LoRaWAN 1.0.x devices, meaning
that on OTAA the device is marked as Class-A. If the device then sends a
DeviceModeInd mac-command, this will cause the to be marked as
Class-C, event.

This was (unintentionally) possible in v3, but this part of the Class-B
beacon locked code would prevent to make the same work in v4.
2023-07-26 12:01:52 +01:00
Orne Brocaar
7ff12f5ae7 Bump version to 4.4.3 2023-07-24 11:54:31 +01:00
Orne Brocaar
a28d29deb9 Do not disable activation fields.
It prevents showing and copying the keys etc.
2023-07-19 11:49:20 +01:00
Orne Brocaar
f930bd6b96 Wait for first uplink for Class-C scheduling. 2023-07-19 11:27:55 +01:00
Orne Brocaar
f66186bb7b Bump version to 4.4.2 2023-07-14 10:56:00 +01:00
Orne Brocaar
3f8f746dc5 Fix sending multiple FilterListReq mac-commands. 2023-07-13 12:26:03 +01:00
Orne Brocaar
57ab993a88 Update dependencies. 2023-07-13 11:39:20 +01:00
Orne Brocaar
a975cf3223 Add create-api-key sub-command.
This makes is possible to create a global API key (programmatically)
using the CLI.

Fixes https://github.com/chirpstack/chirpstack-rest-api/issues/12.
2023-07-13 11:10:32 +01:00
Orne Brocaar
9d543603d5 Bump version to 4.4.1 2023-07-05 11:18:51 +01:00
Orne Brocaar
e9be79e948 Set TZ correctly before running tests. 2023-07-05 11:06:36 +01:00
Orne Brocaar
0c9e22d255 Add missing adr_plugins setting to config template. 2023-07-04 16:15:45 +01:00
Orne Brocaar
4031c5cb95 Fix sending channel-mask twice for US915 (like). 2023-07-03 12:27:26 +01:00
Orne Brocaar
258e103f22 Update dependencies. 2023-07-03 10:07:03 +01:00
Orne Brocaar
3aa8bdbecc Add support for JSON log output. 2023-06-29 13:17:28 +01:00
Orne Brocaar
96767e954f Update rquickjs dependency. 2023-06-27 09:46:17 +01:00
Orne Brocaar
407ebd2d3f Bump version to 4.4.0 2023-06-26 12:05:45 +00:00
Orne Brocaar
b263b86675 Add feature-flags to exclude some integration tests.
This reduces the number of external services that must be running to
succesful run 'cargo test'. In this case one the requirements that
ChirpStack has must be present and there is no need to run local
Kafka and RabbitMQ instances.

These integrations can still be tested using the 'test-all-integrations'
feature flag (which is included in the CI workflow).
2023-06-26 12:44:22 +01:00
Orne Brocaar
2184e4eaa5 Update dependencies. 2023-06-26 12:04:08 +01:00
Orne Brocaar
46f22dba2e Reverse OTAA dev-nonce and mic validations.
The dev-nonce validation updates the used dev-nonces in the database.
Therefore, we should first check the MIC. This also removes the
ctx.save_device_keys step, and puts the join-nonce increment in the
device_keys::validate_incr_... function, reducing the SQL queries by one.
2023-06-26 11:55:21 +01:00
Orne Brocaar
087a27f904 Re-generate API code. 2023-06-14 13:13:13 +01:00
Orne Brocaar
ba7b262323 Change enabled_class > class_enabled for consistency. 2023-06-14 13:13:13 +01:00
Orne Brocaar
6480b3bbd5 Add enabled class to DeviceInfo in events. 2023-06-14 13:13:13 +01:00
Markus Siemens
d6d735cb03
Allow using system certificate store for TLS (#204)
Co-authored-by: Markus Siemens <markus.siemens@vivavis.com>
2023-06-14 13:04:38 +01:00
Orne Brocaar
a1a34abaf7 Refactor device enabled_class to enum + expose in API. 2023-06-14 11:17:04 +01:00
Orne Brocaar
fd29f4190b Update dependencies. 2023-06-13 14:50:14 +01:00
Joey Hiller
11af89ac40
Update javascript api readme (#202) 2023-06-13 14:15:15 +01:00
Orne Brocaar
318f097344 Fix CN470 ping-slot frequencies + add comments.
The frequency-hopping ping-slots are equal to the beacon frequencys.
With the US915 and AU915 channels using the Class-A downlink
channels as beacon-frequencies, this was wrongly implemented in the
same way, but in case of CN470 the beacon-frequencies are not equal
to the Class-A downlink frequencies.
2023-06-09 09:24:06 +01:00
Orne Brocaar
a284a8179e Update shell.nix. 2023-06-05 12:35:00 +01:00
Orne Brocaar
da3e6c8cde Fix incorrect config template key. 2023-06-03 13:13:46 +01:00
Orne Brocaar
0e91779f30 Update README + remove Vagrantfile. 2023-05-31 12:11:48 +01:00
Orne Brocaar
3f77203516 Bump version to 4.4.0-test.1 2023-05-30 14:08:45 +00:00
Orne Brocaar
28e940d2b7 Update api generated code. 2023-05-30 14:51:15 +01:00
dependabot[bot]
ca666da016
Bump aws-sdk-sns from 0.27.0 to 0.28.0 (#187)
Bumps [aws-sdk-sns](https://github.com/awslabs/aws-sdk-rust) from 0.27.0 to 0.28.0.
- [Release notes](https://github.com/awslabs/aws-sdk-rust/releases)
- [Changelog](https://github.com/awslabs/aws-sdk-rust/blob/main/CHANGELOG.md)
- [Commits](https://github.com/awslabs/aws-sdk-rust/commits)

---
updated-dependencies:
- dependency-name: aws-sdk-sns
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-30 14:32:27 +01:00