Commit Graph

1245 Commits

Author SHA1 Message Date
Martin Preuss
edcac1f2b9 Fixed required version of aqdatabase. 2023-08-12 02:05:48 +02:00
Martin Preuss
e25a391fde Fixed an important bug (lead to segfaults). 2023-08-11 03:21:31 +02:00
Martin Preuss
978d3f6f7a editing of values now also works. 2023-08-11 03:21:06 +02:00
Martin Preuss
c5171714b2 added url handler for mqtt topics. 2023-08-11 01:24:31 +02:00
Martin Preuss
96c2b9a649 prepared for u_mqtttopic module. 2023-08-10 22:26:30 +02:00
Martin Preuss
487e506a01 added urlhandler for devices. 2023-08-10 19:28:10 +02:00
Martin Preuss
ec745f5cc9 Improved code sharing.
we now have a base url handler which handles listing, adding and editing
any objects including permission management.
2023-08-10 18:03:24 +02:00
Martin Preuss
17889fd30b Simplified code. 2023-08-10 13:28:37 +02:00
Martin Preuss
23c9e286b1 Fixed invalid memory access. 2023-08-10 13:28:24 +02:00
Martin Preuss
a2c79aa6db Fixed memory leaks. 2023-08-10 13:27:51 +02:00
Martin Preuss
f716ebd338 fixed two bugs. 2023-08-10 01:53:10 +02:00
Martin Preuss
9b0122e34c addd urlhandler for static content, more reusing of code. 2023-08-10 01:45:12 +02:00
Martin Preuss
b9a54b8ffb added #define DISABLE_DEBUGLOG to source files in http and service folders
will alter be enabled to disable verbose debug logging.
2023-08-09 17:45:59 +02:00
Martin Preuss
b5916acf79 fixed memory leaks, added cleanup code, added valgrind scripts to test binaries 2023-08-09 17:24:44 +02:00
Martin Preuss
4701a71986 Started experimenting with styles. 2023-08-09 01:57:31 +02:00
Martin Preuss
fc2c18b489 Allow for prefill of form elements, improved I18N. 2023-08-09 00:55:07 +02:00
Martin Preuss
0cc498d830 added TODO remarks. 2023-08-09 00:54:32 +02:00
Martin Preuss
28bc8efac8 Minor format changes. 2023-08-09 00:54:12 +02:00
Martin Preuss
aafecfa704 aqhome: more work on http server. 2023-08-08 23:49:28 +02:00
Martin Preuss
3378908c93 vg_run: rewritten to check aqhomed. 2023-08-07 14:09:51 +02:00
Martin Preuss
e4135a7bbd test: start aqhome locally with only minimal service. 2023-08-07 14:09:27 +02:00
Martin Preuss
1efcd09f0c aqhome: more work on http service. 2023-08-07 14:08:52 +02:00
Martin Preuss
6269431467 aqhome-storage: moved http-specific code to new class. 2023-08-07 14:08:12 +02:00
Martin Preuss
792f167a71 aqhome-storage: started adding class AqHomeHttpService
This will be the class handling HTTP requests for AqHome.
2023-08-07 14:07:30 +02:00
Martin Preuss
897fdffcf9 aqhome: cleanup AQH_HttpService_ParsePostBody(). 2023-07-24 21:59:42 +02:00
Martin Preuss
53e1fbae56 aqhome: removed unneeded classes. 2023-07-24 21:53:31 +02:00
Martin Preuss
16ce958964 aqhome: added service definitions, started implementing HTTP service. 2023-07-24 21:49:17 +02:00
Martin Preuss
db5d6cb980 started working on storage service. 2023-07-19 18:17:10 +02:00
Martin Preuss
06b5ab26c8 libtest.sh: make aqhome loglevel configurable by the caller. 2023-07-19 01:26:51 +02:00
Martin Preuss
02797ff092 aqhome: started working on database code. 2023-07-19 01:26:14 +02:00
Martin Preuss
3eb0a9afa9 aqhome: more work on http endpoint. 2023-07-19 01:25:43 +02:00
Martin Preuss
5852ad9a1e add valgrind log for aqhome-mqttlog. 2023-07-18 10:54:06 +02:00
Martin Preuss
8ee0602f7a modified in-tree start script for aqhome-mqttlog. 2023-07-18 10:53:22 +02:00
Martin Preuss
f8c325e747 modify valgrind script for aqhome-mqttlog. 2023-07-18 10:52:47 +02:00
Martin Preuss
893ae6867b aqhome: started http endpoint. 2023-07-18 10:52:09 +02:00
Martin Preuss
3efb83ecfd aqhome-mqttlog: read all messages available on each loop. 2023-07-18 10:51:16 +02:00
Martin Preuss
f30c4895fa aqhome: removed unused and unneeded code. 2023-07-14 00:02:21 +02:00
Martin Preuss
0fd58567fe adapted to latest changes in gwen (msgio API v2 becomes v1). 2023-07-12 19:30:53 +02:00
Martin Preuss
7a4edb6854 added example systemd scripts. 2023-07-12 16:46:51 +02:00
Martin Preuss
c7f232dd98 decreased verbosity, send MQTT ping every 2 minutes to avoid disconnect. 2023-07-12 16:45:20 +02:00
Martin Preuss
4489314b47 aqhome: removed invalid includes. 2023-07-12 13:34:32 +02:00
Martin Preuss
08c3875a26 aqhome: completed adapting to msgio2 interface. 2023-07-12 13:33:04 +02:00
Martin Preuss
39987b31c7 aqhome: re-implemented aqhomed.
- added IPC endpoint2
2023-07-12 01:45:24 +02:00
Martin Preuss
43b23b2636 msg: added endpoint for tty. 2023-07-10 21:38:22 +02:00
Martin Preuss
2d393630d8 aqhome: added AQH_MqttClientEndpoint2_GetNextPacketId(). added test for subscriptions. 2023-07-09 21:19:36 +02:00
Martin Preuss
5105c0c7f7 aqhome: added functions AQH_ConnAckMqttMsg_GetResultFlags() and AQH_ConnAckMqttMsg_GetResultCode() 2023-07-09 20:48:15 +02:00
Martin Preuss
6f5a26b0cf aqhome: Started rewriting endpoints for version 2 of the msgio interface.
This interface is much simpler.
First rewritten endpoint is that for MQTT.
2023-07-09 20:47:47 +02:00
Martin Preuss
d766a3635a mqtt: started working on 2nd generation msgio implementation. 2023-07-08 01:58:43 +02:00
Martin Preuss
b4175f4a89 added tool aqhome-mqttlog. 2023-05-24 23:08:28 +02:00
Martin Preuss
f0917064af aqhome: fixed mqtt message handling
PUBLISH: the message itself is NOT preceeded by size
2023-05-24 23:07:45 +02:00