Commit Graph

470 Commits

Author SHA1 Message Date
SAGAR PATEL
d1630e5722
User should not be able to delete its own user record. (#13)
Signed-off-by: SAGAR PATEL <sagar.a.patel@slscorp.com>
2022-06-07 11:53:23 +01:00
dependabot[bot]
ba4aeb849c
Bump follow-redirects from 1.13.2 to 1.15.0 in /ui (#18)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.13.2 to 1.15.0.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.13.2...v1.15.0)

---
updated-dependencies:
- dependency-name: follow-redirects
  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 11:51:25 +01:00
SAGAR PATEL
25c71c5483
Do not flush dev_ and join_ nonces when updating AppKey for OTAA (#22)
Signed-off-by: SAGAR PATEL <sagar.a.patel@slscorp.com>
2022-06-07 11:51:04 +01:00
Orne Brocaar
3b426471b3 Re-implement copy to clipboard (DevAddr, EUI and AES keys). 2022-06-07 11:47:25 +01:00
Orne Brocaar
2e1c907df0 Add generate api docs in Markdown. 2022-06-05 08:25:13 +01:00
Orne Brocaar
bd79e72bdb Add check to make sure gateway region = device-profile region. 2022-05-24 20:53:20 +01:00
Orne Brocaar
3486d94441 Fix Buffer to Protobuf setData casting. 2022-05-24 20:28:36 +01:00
Orne Brocaar
3199276c83 Fix missing Buffer reference.
Closes #23.
2022-05-24 16:22:54 +01:00
Orne Brocaar
f4478864ee Fix clippy warnings. 2022-05-24 16:15:12 +01:00
Orne Brocaar
a0f56c0ff6 Fix updating rx1 delay on config change. 2022-05-24 16:09:08 +01:00
Orne Brocaar
5b1d70cdbf Integrate Buffer class into JS codec runtime. 2022-05-10 14:08:47 +01:00
dependabot[bot]
a656b9f3a1
Bump browserslist from 4.16.3 to 4.20.3 in /ui (#21)
Bumps [browserslist](https://github.com/browserslist/browserslist) from 4.16.3 to 4.20.3.
- [Release notes](https://github.com/browserslist/browserslist/releases)
- [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md)
- [Commits](https://github.com/browserslist/browserslist/compare/4.16.3...4.20.3)

---
updated-dependencies:
- dependency-name: browserslist
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-10 09:07:47 +01:00
dependabot[bot]
3908fc0846
Bump path-parse from 1.0.6 to 1.0.7 in /ui (#20)
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-10 09:07:37 +01:00
dependabot[bot]
3c3f813167
Bump tmpl from 1.0.4 to 1.0.5 in /ui (#19)
Bumps [tmpl](https://github.com/daaku/nodejs-tmpl) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/daaku/nodejs-tmpl/releases)
- [Commits](https://github.com/daaku/nodejs-tmpl/commits/v1.0.5)

---
updated-dependencies:
- dependency-name: tmpl
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-10 09:07:26 +01:00
dependabot[bot]
8f9d4a224b
Bump ansi-regex from 5.0.0 to 5.0.1 in /ui (#17)
Bumps [ansi-regex](https://github.com/chalk/ansi-regex) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/chalk/ansi-regex/releases)
- [Commits](https://github.com/chalk/ansi-regex/compare/v5.0.0...v5.0.1)

---
updated-dependencies:
- dependency-name: ansi-regex
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-10 09:06:36 +01:00
dependabot[bot]
5c05628fd1
Bump moment from 2.29.1 to 2.29.3 in /ui (#16)
Bumps [moment](https://github.com/moment/moment) from 2.29.1 to 2.29.3.
- [Release notes](https://github.com/moment/moment/releases)
- [Changelog](https://github.com/moment/moment/blob/2.29.3/CHANGELOG.md)
- [Commits](https://github.com/moment/moment/compare/2.29.1...2.29.3)

---
updated-dependencies:
- dependency-name: moment
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-10 09:06:23 +01:00
dependabot[bot]
2355a1ecc6
Bump minimist from 1.2.5 to 1.2.6 in /ui (#15)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-10 09:06:15 +01:00
dependabot[bot]
755791878b
Bump async from 2.6.3 to 2.6.4 in /ui (#14)
Bumps [async](https://github.com/caolan/async) from 2.6.3 to 2.6.4.
- [Release notes](https://github.com/caolan/async/releases)
- [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md)
- [Commits](https://github.com/caolan/async/compare/v2.6.3...v2.6.4)

---
updated-dependencies:
- dependency-name: async
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-10 09:05:25 +01:00
Orne Brocaar
f964314a4f Update packaging + bump (test) version. 2022-05-04 11:34:18 +01:00
Orne Brocaar
2051c5ed39 Rename config files. 2022-05-04 11:33:49 +01:00
Orne Brocaar
c7056d84d6 Bump versions. 2022-05-02 15:14:59 +01:00
Orne Brocaar
ba4e633b01 Fix multiarch Docker build. 2022-05-02 15:14:29 +01:00
Orne Brocaar
35457c3954 Fix UI build for Docker image.
Buster provides nodejs 10 which is too old for some JS libraries.
2022-05-02 15:13:23 +01:00
Orne Brocaar
54a1265166 Revert "Rollback upgrade of react-scripts to 5.0.1."
This reverts commit 7cee3a01f1.
2022-05-02 14:27:05 +01:00
Orne Brocaar
7cee3a01f1 Rollback upgrade of react-scripts to 5.0.1. 2022-05-02 13:51:59 +01:00
Orne Brocaar
96482764cc Re-run formatter to format latest UI changes. 2022-05-02 11:03:01 +01:00
SAGAR PATEL
2ea86b2ca2
Implement automatic formatting for JS / TSX source code.
Implemented automatic code formatting for JS/TSX using prettier and husky
with pre-commit hook

Signed-off-by: SAGAR PATEL <sagar.a.patel@slscorp.com>

Co-authored-by: Orne Brocaar <info@brocaar.com>
2022-05-02 10:58:26 +01:00
Orne Brocaar
d8377cd26a Update UI dependencies. 2022-04-29 15:45:52 +01:00
Orne Brocaar
eec9b1891d Update Makefiles. 2022-04-29 11:13:57 +01:00
Orne Brocaar
1e6aad326c Implement building distributable binaries in ci workflow. 2022-04-28 22:57:01 +01:00
Orne Brocaar
100e9f1b6d Change aggregation enum to uppercase.
This is such that the aggregation level in the Redis keys are uppercase.
2022-04-28 22:54:25 +01:00
Orne Brocaar
d974423aab Re-implement enqueue through MQTT. 2022-04-28 15:41:54 +01:00
Orne Brocaar
b159436dd0 Make flush queue on activate configurable through dev-profile. 2022-04-28 08:52:14 +01:00
Orne Brocaar
54f74277ab Improve frame-counter validation. 2022-04-27 14:10:53 +01:00
Orne Brocaar
24b975b337 Improve dev-nonce validation. 2022-04-27 11:54:10 +01:00
Orne Brocaar
d69ff895b6 Update JS payload codec configuration and templates. 2022-04-27 09:49:33 +01:00
Orne Brocaar
f2e6d77ce4 Fix bytes -> data. Expose real codec error. 2022-04-24 12:48:06 +01:00
Orne Brocaar
f5de67a817 Add .rpm and .tar.gz builds. 2022-04-23 20:47:39 +01:00
Orne Brocaar
54e1cb5e66 Add region_ prefix to region config. 2022-04-23 12:31:21 +01:00
Orne Brocaar
a2e4e0d8a2 Update Debian / Ubuntu packaging. 2022-04-23 11:31:54 +01:00
Orne Brocaar
7309a35a3b Update configuration files with env. variables.
This makes it possible to use the config examples with Docker Compose
(where every service has its own hostname) and to use it for packaging
(where by default the services are running under localhost).
2022-04-23 11:25:40 +01:00
Orne Brocaar
df155413d8 Substitute environment variables in config. 2022-04-23 11:23:25 +01:00
Orne Brocaar
c4e6e8f369 Update js api version. 2022-04-21 21:45:41 +01:00
Orne Brocaar
22face1a79 Fix Go api packages. 2022-04-21 15:19:27 +01:00
Orne Brocaar
d55e5afc92 Add encode / decode JS templates on device-profile create. 2022-04-21 13:26:58 +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
f033793f74 Make js codec execution time configurable.
Closes #1.
2022-04-19 12:05:32 +01:00
Orne Brocaar
8e5d7f760a CI related changes. 2022-04-18 21:19:24 +01:00
Orne Brocaar
724fb584f7 Add configuration for US915 sub-bands 2-7. 2022-04-13 14:05:55 +01:00
Orne Brocaar
a60e8b96b1 Add configuration for AU915 sub-bands 1-7. 2022-04-13 13:41:52 +01:00