Commit Graph

517 Commits

Author SHA1 Message Date
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
Orne Brocaar
b89221a932 Update dependencies + Diesel related changes. 2023-05-30 12:42:42 +00:00
Gristle King
2a88f45123
UI menu grammar & typo fixes. (#186)
Closes #185.
2023-05-30 12:22:16 +01:00
Orne Brocaar
cf5ef8d061 Update README and Makefiles. 2023-05-30 12:13:52 +01:00
Orne Brocaar
b0148da1bf Add Vagrantfile example. 2023-05-30 12:13:52 +01:00
Orne Brocaar
e7dc3beafa Update dist workflow. 2023-05-30 12:13:52 +01:00
Orne Brocaar
4f90c87784 Add dotenv for test dependency config. 2023-05-30 12:13:52 +01:00
Orne Brocaar
c0d4270508 Update test workflow. 2023-05-30 12:13:52 +01:00
Orne Brocaar
1f89f30878 Refactor build scripts for cross-rs based cross compiling. 2023-05-30 12:13:52 +01:00
Orne Brocaar
cd3594fd96 Implement fully static ARMv7 build. 2023-05-30 12:13:52 +01:00
Orne Brocaar
a162d04136 Implement fully static ARM64 build. 2023-05-30 12:13:52 +01:00
Orne Brocaar
de114d5d22 Implement fully static AMD64 build. 2023-05-30 12:13:52 +01:00
Orne Brocaar
9e15c48217 Add missing device search filter. 2023-05-29 16:26:03 +01:00
Orne Brocaar
93ae75e3fa Update aws-sdk-sns dependency. 2023-05-22 12:59:09 +01:00
Orne Brocaar
cf06e07654 Update dependencies. 2023-05-22 11:53:00 +01:00
Orne Brocaar
cefe61072d Initial Relay support implementation (TS011).
Closes #59.
2023-05-22 11:04:13 +01:00
Orne Brocaar
513aa7804d Add event prefix + arbitrary JSON options for IFTTT. 2023-05-19 14:43:39 +01:00
Orne Brocaar
5146c87940 Fix netid_type method.
It would panic in case all bits are set (which would be
an invalid DevAddr prefix type).
2023-05-17 15:12:19 +01:00
Orne Brocaar
e3383baa02 Add rust-toolchain.toml + shell.nix files.
This makes it easier to start a devshell without using Docker.
2023-05-17 14:46:13 +01:00
Orne Brocaar
f32c5eb5af Bump lrwn_filters version. 2023-04-27 16:00:49 +01:00
Orne Brocaar
f513cacab5 Add Clone and Copy derive to Prefix types. 2023-04-27 15:58:57 +01:00
Orne Brocaar
cfadb9c78a Validate prefix size. 2023-04-27 14:25:35 +01:00
Orne Brocaar
21896e65d7 Add crate for PhyPayload filtering.
This can be used by the ChirpStack UDP and MQTT Forwarder.

See also:
https://github.com/chirpstack/chirpstack-mqtt-forwarder/issues/25
2023-04-27 12:51:33 +01:00
Orne Brocaar
0679f10fad Add feature flags to lrwn crate.
This avoids pulling and building unnecessary dependencies for simple
use-cases.
2023-04-27 10:37:34 +01:00