466 Commits

Author SHA1 Message Date
Franka Schmid
77b0b2d3fb Refactor api to use enum as column names 2025-01-21 08:12:16 +01:00
Tomas Tulka
96b4c880c8 polish code 2024-12-13 08:21:02 +01:00
Franka Schmid
578ad23207 fix naming error in gateway 2024-12-12 16:46:50 +01:00
Tomas Tulka
0eb0b15f85 Merge branch 'master' of github.com:ttulka/chirpstack 2024-12-12 16:22:33 +01:00
Tomas Tulka
d8116feb88 init gw list ordering 2024-12-12 16:22:18 +01:00
Franka Schmid
81ad1bbe36 added test case for order 2024-12-12 16:22:09 +01:00
Franka Schmid
98f9c5fe1e Fix ascending order in devices table 2024-12-12 13:01:15 +01:00
Tomas Tulka
738797c9ab Merge remote-tracking branch 'upstream/master' 2024-12-12 07:55:16 +01:00
Tomas Tulka
56e4aded9f init sorting in device list 2024-12-12 07:52:33 +01:00
Orne Brocaar
64b2e82244 Bump version to 4.11.0-test.1
Some checks failed
CI / tests (postgres) (push) Has been cancelled
CI / tests (sqlite) (push) Has been cancelled
CI / dist (postgres) (push) Has been cancelled
CI / dist (sqlite) (push) Has been cancelled
2024-12-11 09:33:27 +00:00
Orne Brocaar
70e4afae54 Expose region_config_id in Uplink and Join event. 2024-12-10 14:07:59 +00:00
Orne Brocaar
922a83597f Refactor handling same uplink under multiple regions. 2024-12-10 14:07:59 +00:00
Orne Brocaar
e50a1e3655 Bump version to 4.10.2 2024-12-10 13:01:17 +00:00
Orne Brocaar
8aff4490f9 Update dependencies. 2024-12-05 12:25:33 +00:00
Orne Brocaar
30b1e0301a Fix multicast tests for SQLite. 2024-12-05 12:02:37 +00:00
Orne Brocaar
91b9077ba8 Update multicast function to return expired queue items.
In case a gateway is offline, associated queue-items would be excluded
by the get_schedulable_queue_items function. With this change when the
queue item has expired it will be returned even if the gateway is
offline. This way, the expired queue item will be deleted by the
multicast flow.
2024-12-05 11:05:21 +00:00
Orne Brocaar
532392abe1 Fix dev_nonces migration. 2024-11-13 11:42:08 +00:00
Orne Brocaar
41b3c6a4e4 Implement support for storing DevNonces per JoinEUI. 2024-11-13 09:33:16 +00:00
Orne Brocaar
4b6391f57e Bump version to 4.10.1 2024-11-04 15:20:07 +00:00
Orne Brocaar
ed11c88307 Bump version to 4.10.1-test.1 2024-11-04 12:33:08 +00:00
Orne Brocaar
0ed78a1d0a Fix incorrect systemd service-name after #540.
Currently, cargo-deb does not use the variant name option as systemd
service-name, causing the postgres variant with name 'chirpstack' to
install a 'chirpstack-postgres' systemd service. See also
https://github.com/kornelski/cargo-deb/issues/150.

This also fixes the RPM systemd service-name for the sqlite variant.
2024-11-04 12:19:19 +00:00
Orne Brocaar
fdf168bd09 Bump version to 4.10.0 2024-11-04 09:09:44 +00:00
Orne Brocaar
f265a815a6 Bump version to 4.10.0-test.7 2024-10-30 14:20:21 +00:00
Orne Brocaar
3d470c6a14 Update dependencies. 2024-10-29 16:21:24 +00:00
Orne Brocaar
2b5b54a7b7 Bump version to 4.10.0-test.6 2024-10-29 16:04:44 +00:00
Orne Brocaar
1245386f38 Bump version to 4.10.0-test.5 2024-10-29 12:27:29 +00:00
Orne Brocaar
eafda74526 Bump version to 4.10.0-test.4 2024-10-29 11:06:48 +00:00
Orne Brocaar
04e676cad6 Bump version to 4.10.0-test.3 2024-10-29 10:52:37 +00:00
Orne Brocaar
dcf6ea14bd Bump version to 4.10.0-test.2 2024-10-29 09:30:29 +00:00
Orne Brocaar
b1766e506d Remove debug println. 2024-10-23 13:45:02 +01:00
Julien Catalano
d69f18edad
Build/archive package for both Postgres and SQLite (#540) 2024-10-17 15:39:49 +01:00
Orne Brocaar
20ec2877f2 Fix fmt after clippy fixes. 2024-10-14 15:30:15 +01:00
Orne Brocaar
10cbdb1e00 Fix clippy feedback. 2024-10-14 15:12:33 +01:00
Orne Brocaar
20e9e087ed Update dependencies. 2024-10-14 14:35:11 +01:00
Orne Brocaar
c9bdea87f1 Fix validate_mic clause. 2024-10-04 08:41:00 +01:00
Orne Brocaar
11fdd33139 Bump version to 4.10.0-test.1 2024-09-19 12:19:22 +01:00
Orne Brocaar
07364fb05d Return with abort instead of error.
This is not an operational error, we are already logging the message as
warn, which is more appropriate as it is caused by user-input.
2024-09-19 12:06:08 +01:00
Orne Brocaar
3b42b9ffdb Update dependencies. 2024-09-19 10:44:26 +01:00
Orne Brocaar
3829f591e4 Add expires_at to queue-items (unicast & multicast).
This makes it possible to automatically remove items from the queue in
case the expires_at timestamp has reached. This field is optional and
the default remains to never expire queue-items.
2024-09-17 11:54:29 +01:00
Orne Brocaar
2919fb79e5 Fix escaping issue in TOML template.
Closes #486.
2024-09-13 12:59:09 +01:00
Orne Brocaar
61d794b680 Remove OFF, which is not a valid tracing Level. 2024-09-12 14:42:51 +01:00
Orne Brocaar
29b57fb72a Implement importer for lorawan-device-profiles repo. 2024-09-12 14:22:09 +01:00
Orne Brocaar
9d04a74a94 Update dependencies. 2024-09-09 13:36:59 +01:00
Orne Brocaar
e63296573b
Implement support for SQLite database backend. (#418) (#500)
This feature makes it possible to select between PostgreSQL and SQLite as database backend using a compile feature-flag. It is not possible to enable both at the same time.

---------

Co-authored-by: Momo Bel <plopyomomo@gmail.com>
2024-08-26 13:22:35 +01:00
Orne Brocaar
489a35e0ec Bump version to 4.9.0 2024-08-15 09:06:19 +01:00
Orne Brocaar
1848097e6c Fix missing last_seen_at field update of relay gateway. 2024-08-13 15:54:51 +01:00
Orne Brocaar
76b7ec4881 Add signal handling.
Fixes #480.
2024-08-13 13:04:06 +01:00
Orne Brocaar
3aaa114f46 Update deadpool-redis. 2024-08-08 16:53:07 +01:00
Orne Brocaar
a811ec5c80 Bump version to 4.9.0-test.6 2024-08-07 15:11:09 +01:00
Orne Brocaar
5794f41324 Fix clippy feedback (cargo clippy --fix). 2024-08-07 14:59:25 +01:00