Orne Brocaar
8d34bb0d0c
Remove usage of deprecated date() method.
...
As the date_naive() method (recommended replacement for date()) does not
contain tz information, we need to add it back using
and_local_timezone().
2023-02-06 12:34:15 +00:00
Orne Brocaar
5953542a72
Update dependencies.
2023-02-06 12:23:44 +00:00
dependabot[bot]
38e79563ca
Bump handlebars from 4.3.4 to 4.3.6 ( #102 )
...
Bumps [handlebars](https://github.com/sunng87/handlebars-rust ) from 4.3.4 to 4.3.6.
- [Release notes](https://github.com/sunng87/handlebars-rust/releases )
- [Changelog](https://github.com/sunng87/handlebars-rust/blob/v4.3.6/CHANGELOG.md )
- [Commits](https://github.com/sunng87/handlebars-rust/compare/v4.3.4...v4.3.6 )
---
updated-dependencies:
- dependency-name: handlebars
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-01 11:07:58 +00:00
dependabot[bot]
7ebd930324
Bump tower-http from 0.3.4 to 0.3.5 ( #103 )
...
Bumps [tower-http](https://github.com/tower-rs/tower-http ) from 0.3.4 to 0.3.5.
- [Release notes](https://github.com/tower-rs/tower-http/releases )
- [Commits](https://github.com/tower-rs/tower-http/compare/tower-http-0.3.4...tower-http-0.3.5 )
---
updated-dependencies:
- dependency-name: tower-http
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-01 11:07:43 +00:00
dependabot[bot]
3cb4f3d7f2
Bump redis from 0.21.6 to 0.22.3 ( #104 )
...
Bumps [redis](https://github.com/redis-rs/redis-rs ) from 0.21.6 to 0.22.3.
- [Release notes](https://github.com/redis-rs/redis-rs/releases )
- [Commits](https://github.com/redis-rs/redis-rs/compare/0.21.6...redis-0.22.3 )
---
updated-dependencies:
- dependency-name: redis
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-02-01 11:07:30 +00:00
dependabot[bot]
22d2cc3f20
Bump serde_yaml from 0.9.13 to 0.9.17 ( #105 )
...
Bumps [serde_yaml](https://github.com/dtolnay/serde-yaml ) from 0.9.13 to 0.9.17.
- [Release notes](https://github.com/dtolnay/serde-yaml/releases )
- [Commits](https://github.com/dtolnay/serde-yaml/compare/0.9.13...0.9.17 )
---
updated-dependencies:
- dependency-name: serde_yaml
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-01 11:06:41 +00:00
dependabot[bot]
256cde5b14
Bump warp from 0.3.2 to 0.3.3 ( #106 )
...
Bumps [warp](https://github.com/seanmonstar/warp ) from 0.3.2 to 0.3.3.
- [Release notes](https://github.com/seanmonstar/warp/releases )
- [Changelog](https://github.com/seanmonstar/warp/blob/master/CHANGELOG.md )
- [Commits](https://github.com/seanmonstar/warp/compare/v0.3.2...v0.3.3 )
---
updated-dependencies:
- dependency-name: warp
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-01 11:06:22 +00:00
Max Reble
837e13a586
Adds C# builds and namespaces ( #100 )
...
Co-authored-by: Max Reble <max.reble@aco.com>
2023-01-31 18:29:21 +00:00
Orne Brocaar
81ce56a9a0
Implement get_downlink_data_delay config.
...
This config option was present in v3 to set a delay before starting the
downlink flow (Class-A) so that an end-application can enqueue a
downlink to be used within the same uplink / downlink transaction.
However, this option was still missing in v4.
2023-01-31 11:28:18 +00:00
Orne Brocaar
7c35fff849
Fix multcast > multicast typo.
2023-01-31 08:41:31 +00:00
Orne Brocaar
66290b9eeb
Update README.
2023-01-26 15:32:01 +00:00
Orne Brocaar
aa09d23492
Create FUNDING.yml
2023-01-24 15:11:28 +00:00
Orne Brocaar
1d2f627bbb
Bump version to 4.2.0
2023-01-24 12:23:44 +00:00
Orne Brocaar
54815f03ca
Reset channels to default on AdrAckReq uplink.
...
As part of the ADR back-off, the device will eventually revert to the
default channel-plan but there is no explicit signalling if this
happened.
This might cause some small overhead in case the device did not (yet)
revert to the default channel-mask, but it avoids scenarios where the
device and NS are out-of-sync.
2023-01-24 09:46:31 +00:00
Orne Brocaar
20b454d519
Fix not recording device-metrics if auto-detect is disabled.
...
Fixes #94 .
2023-01-23 15:28:31 +00:00
dependabot[bot]
69d3169eac
Bump bumpalo from 3.11.0 to 3.12.0 ( #95 )
...
Bumps [bumpalo](https://github.com/fitzgen/bumpalo ) from 3.11.0 to 3.12.0.
- [Release notes](https://github.com/fitzgen/bumpalo/releases )
- [Changelog](https://github.com/fitzgen/bumpalo/blob/main/CHANGELOG.md )
- [Commits](https://github.com/fitzgen/bumpalo/compare/3.11.0...3.12.0 )
---
updated-dependencies:
- dependency-name: bumpalo
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-23 09:50:14 +00:00
dependabot[bot]
7c68500e81
Bump paho-mqtt from 0.11.1 to 0.12.0 ( #96 )
...
Bumps [paho-mqtt](https://github.com/eclipse/paho.mqtt.rust ) from 0.11.1 to 0.12.0.
- [Release notes](https://github.com/eclipse/paho.mqtt.rust/releases )
- [Changelog](https://github.com/eclipse/paho.mqtt.rust/blob/master/CHANGELOG.md )
- [Commits](https://github.com/eclipse/paho.mqtt.rust/compare/v0.11.1...v0.12.0 )
---
updated-dependencies:
- dependency-name: paho-mqtt
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-23 09:50:05 +00:00
dependabot[bot]
25f1b224f7
Bump tokio from 1.23.1 to 1.24.2 ( #97 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.23.1 to 1.24.2.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/commits )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-23 09:49:56 +00:00
dependabot[bot]
cdb92d6772
Bump async-trait from 0.1.61 to 0.1.63 ( #98 )
...
Bumps [async-trait](https://github.com/dtolnay/async-trait ) from 0.1.61 to 0.1.63.
- [Release notes](https://github.com/dtolnay/async-trait/releases )
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.61...0.1.63 )
---
updated-dependencies:
- dependency-name: async-trait
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-23 09:49:46 +00:00
dependabot[bot]
fb73e09337
Bump serde_json from 1.0.85 to 1.0.91 ( #99 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.85 to 1.0.91.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.85...v1.0.91 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-23 09:49:34 +00:00
Orne Brocaar
a36d323f2b
Migrate to topic prefix instead of individual topic config.
...
This makes the configuration easier, as well if new topics are added in
the future, there is no need to update all the configuration files
again to add the missing topic configuration.
2023-01-19 12:01:20 +00:00
Orne Brocaar
b6209d760e
Bump version to 4.2.0-test.1
2023-01-16 11:14:05 +00:00
dependabot[bot]
e850d74d60
Bump openidconnect from 2.3.2 to 2.5.0 ( #92 )
...
Bumps [openidconnect](https://github.com/ramosbugs/openidconnect-rs ) from 2.3.2 to 2.5.0.
- [Release notes](https://github.com/ramosbugs/openidconnect-rs/releases )
- [Commits](https://github.com/ramosbugs/openidconnect-rs/compare/2.3.2...2.5.0 )
---
updated-dependencies:
- dependency-name: openidconnect
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-16 09:51:02 +00:00
dependabot[bot]
74c9c85bab
Bump async-trait from 0.1.57 to 0.1.61 ( #90 )
...
Bumps [async-trait](https://github.com/dtolnay/async-trait ) from 0.1.57 to 0.1.61.
- [Release notes](https://github.com/dtolnay/async-trait/releases )
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.57...0.1.61 )
---
updated-dependencies:
- dependency-name: async-trait
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-16 09:50:22 +00:00
dependabot[bot]
8c2610e577
Bump serde from 1.0.145 to 1.0.152 ( #89 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.145 to 1.0.152.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.145...v1.0.152 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-16 09:50:10 +00:00
dependabot[bot]
d8f2b97d03
Bump prost-types from 0.11.1 to 0.11.6 ( #88 )
...
Bumps [prost-types](https://github.com/tokio-rs/prost ) from 0.11.1 to 0.11.6.
- [Release notes](https://github.com/tokio-rs/prost/releases )
- [Commits](https://github.com/tokio-rs/prost/compare/prost-types-0.11.1...v0.11.6 )
---
updated-dependencies:
- dependency-name: prost-types
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-16 09:49:53 +00:00
Orne Brocaar
0e1cdf1e17
Fix typo in 'Every 128 seconds' option value.
2023-01-13 10:32:28 +00:00
Orne Brocaar
ef93445bc9
Update class-b ping-slot data-rate config examples.
2023-01-12 16:38:03 +00:00
Orne Brocaar
24d9b6db54
Add Class-B ping-slot parameters back to device-profile UI.
...
The device might not always send its periodicity to the network-server
(using mac-commands). As well there is some ambiguity about the default
ping-slot data-rates. While the Regional Parameters Specification
defines the default beacon data-rates, it only defines the default
ping-slot frequency for Class-B.
This also changes the API field from class_b_ping_slot_period to
class_b_ping_slot_nb_k, where ..._k must be between 0 - 7 as defined by
the LoRaWAN Specification. This removes some ambiguity as 'period' could
mean different things in different contexts.
2023-01-12 14:41:42 +00:00
Orne Brocaar
10371e66a2
Update tonic-web to v0.5.0.
2023-01-11 12:38:05 +00:00
dependabot[bot]
a2a0d59982
Bump hyper from 0.14.20 to 0.14.23 ( #86 )
...
Bumps [hyper](https://github.com/hyperium/hyper ) from 0.14.20 to 0.14.23.
- [Release notes](https://github.com/hyperium/hyper/releases )
- [Changelog](https://github.com/hyperium/hyper/blob/v0.14.23/CHANGELOG.md )
- [Commits](https://github.com/hyperium/hyper/compare/v0.14.20...v0.14.23 )
---
updated-dependencies:
- dependency-name: hyper
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-11 12:12:24 +00:00
dependabot[bot]
8a14808434
Bump tracing-subscriber from 0.3.15 to 0.3.16 ( #85 )
...
Bumps [tracing-subscriber](https://github.com/tokio-rs/tracing ) from 0.3.15 to 0.3.16.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.3.15...tracing-subscriber-0.3.16 )
---
updated-dependencies:
- dependency-name: tracing-subscriber
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-11 12:12:12 +00:00
dependabot[bot]
5b6d5c00e2
Bump diesel from 2.0.0 to 2.0.2 ( #84 )
...
Bumps [diesel](https://github.com/diesel-rs/diesel ) from 2.0.0 to 2.0.2.
- [Release notes](https://github.com/diesel-rs/diesel/releases )
- [Changelog](https://github.com/diesel-rs/diesel/blob/master/CHANGELOG.md )
- [Commits](https://github.com/diesel-rs/diesel/compare/v2.0.0...v2.0.2 )
---
updated-dependencies:
- dependency-name: diesel
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-11 12:11:56 +00:00
dependabot[bot]
5cf1a486b3
Bump anyhow from 1.0.65 to 1.0.68 ( #83 )
...
Bumps [anyhow](https://github.com/dtolnay/anyhow ) from 1.0.65 to 1.0.68.
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.65...1.0.68 )
---
updated-dependencies:
- dependency-name: anyhow
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-11 12:11:16 +00:00
Orne Brocaar
2759eebad5
Cleanup commented out config.
2023-01-11 11:26:54 +00:00
dependabot[bot]
e256c70bc7
Bump decode-uri-component from 0.2.0 to 0.2.2 in /ui ( #80 )
...
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component ) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases )
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2 )
---
updated-dependencies:
- dependency-name: decode-uri-component
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-11 11:25:49 +00:00
Orne Brocaar
add5bb9f06
Create dependabot.yml
2023-01-11 11:22:18 +00:00
Orne Brocaar
e57748087c
Add back crc_status to UplinkRxInfo.
...
This is needed for implementing
https://github.com/chirpstack/chirpstack-concentratord/issues/29 .
2023-01-11 11:13:47 +00:00
dependabot[bot]
1ebf5e7179
Bump tokio from 1.21.1 to 1.23.1 in /api/rust ( #81 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.21.1 to 1.23.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.21.1...tokio-1.23.1 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-11 11:07:34 +00:00
Orne Brocaar
9f3a76f5fb
Add --pyi_out flag to generate Python type information.
...
Closes #68 .
2023-01-11 11:01:55 +00:00
Orne Brocaar
438d120fb0
Make gateway state consistent + make stats interval configurable.
...
This:
* Makes the gateway stats interval configurable (default 30 sec)
* Adds GatewayState type (NEVER_SEEN, OFFLINE, ONLINE)
* Adds gateway state to gateway lists
* Fixes dashboard inconsistencies
Closes #76 .
2023-01-11 10:51:53 +00:00
dependabot[bot]
d065df2805
Bump json5 from 1.0.1 to 1.0.2 in /ui ( #79 )
...
Bumps [json5](https://github.com/json5/json5 ) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases )
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md )
- [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2 )
---
updated-dependencies:
- dependency-name: json5
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-11 10:50:06 +00:00
dependabot[bot]
85a064ea5b
Bump tokio from 1.21.1 to 1.23.1 ( #78 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.21.1 to 1.23.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.21.1...tokio-1.23.1 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-11 10:49:32 +00:00
Orne Brocaar
687c3f21ec
Add missing <Admin> block around Delete device + format code.
...
The <Admin> block hides components when the user doesn't have sufficient
permissions to perform an UI action. Without this the 'Delete device'
button was visible, but on click, the user would be redirect to the
login page due to permission issues (API).
Fixes #71 .
2023-01-10 16:50:13 +00:00
Orne Brocaar
ac30f68d85
Update .gitignore + re-generate API.
2023-01-10 15:57:06 +00:00
Stian
74b5d1a7ca
Protobuf Java and Kotlin code generation. ( #64 )
...
Co-authored-by: Stian Brandt <stian.brandt@it-smurfan.no>
2023-01-10 15:46:04 +00:00
Orne Brocaar
b24ca28adb
Fix java_outer_classname for request_log.proto.
...
See #64 .
2023-01-10 15:43:21 +00:00
Orne Brocaar
e5e0514d9f
Fix regions regex (UI).
2023-01-09 13:28:08 +00:00
Orne Brocaar
02d66b8a5d
Reset registered regions on setup call.
...
This ensures that each test will reset the regions hashmap.
2023-01-09 13:24:28 +00:00
Orne Brocaar
e78dac316a
Fix region config id in gateway list + add link to region.
2023-01-09 12:22:27 +00:00