Commit Graph

744 Commits

Author SHA1 Message Date
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
Orne Brocaar
c53b095ce6 Add gateway channel-configuration to all region configs. 2022-04-13 11:44:44 +01:00
Orne Brocaar
6c3b346047
Show 'Never' when device or gateway has not been online yet. (#8)
Signed-off-by: SAGAR PATEL <sagar.a.patel@slscorp.com>
2022-04-12 18:04:26 +01:00
Orne Brocaar
3f5c4983e5 Update chirpstack_api dependencies. 2022-04-12 11:04:30 +01:00
Orne Brocaar
16b023544c Update Cargo.toml. 2022-04-12 10:24:55 +01:00
Orne Brocaar
0ab062cf9e Remove formatting feature from api. 2022-04-12 10:23:02 +01:00
Orne Brocaar
7c66f13fc3 Ignore (auto generated) Bitbake recipes. 2022-04-12 10:22:39 +01:00
Orne Brocaar
a9a3c35797 Revert "Revert to 2018 edition to support older Rust versions."
This reverts commit ad49c29592.

Some dependencies require 2021 edition.
2022-04-11 15:08:07 +01:00
Orne Brocaar
58b74dbf1f Revert "Revert chirpstack_api edition to 2018."
This reverts commit f8ddfcd5f0.

Some dependencies require 2021 edition.
2022-04-11 15:06:50 +01:00
Orne Brocaar
f8ddfcd5f0 Revert chirpstack_api edition to 2018. 2022-04-11 15:00:05 +01:00
Orne Brocaar
ad49c29592 Revert to 2018 edition to support older Rust versions. 2022-04-11 14:55:36 +01:00
SAGAR PATEL
f940af686b fix typo.
Signed-off-by: SAGAR PATEL <sagar.a.patel@slscorp.com>
2022-04-08 10:07:47 +05:30
SAGAR PATEL
6640496e10 Update moment time format in Device and Gateway list page
Details:
- Also shows "Never" when timestamp not available.

Signed-off-by: SAGAR PATEL <sagar.a.patel@slscorp.com>
2022-04-08 09:52:10 +05:30
Orne Brocaar
35d3e6bc92 Add gw channel config for EU868 region. 2022-04-07 21:30:30 +01:00
Orne Brocaar
ecbfef26db Implement sending gw config for Concentratord based gws. 2022-04-07 21:29:13 +01:00
Orne Brocaar
519a899398 Fix tab to spaces indentation. 2022-04-07 21:01:26 +01:00
Orne Brocaar
0fe1ff10b4 Update lrwn/Cargo.toml. 2022-04-06 22:13:16 +01:00
Orne Brocaar
1817651e78 Remove unused dependency. Remove publish = false. 2022-04-06 22:08:35 +01:00
Orne Brocaar
677744a327 Update .gitattributes. 2022-04-06 21:50:23 +01:00
Orne Brocaar
78f8b6336f Add .gitattributes file.
Currently the project is marked as JavaScript, because of the generated
Protobuf code. This should remove the generated api code, excluding the
Protobuf definitions itself.
2022-04-06 21:45:42 +01:00
Orne Brocaar
96fe672fc7 Initial commit. 2022-04-06 21:18:32 +01:00