Commit graph

51 commits

Author SHA1 Message Date
Tobias Reisinger 1d6e8ff037 Add text responses as json with msg key 2020-11-13 23:20:07 +01:00
Tobias Reisinger f97b149376 Add clang-tidy target and fix problems 2020-11-13 13:41:47 +01:00
Tobias Reisinger fca35ade9e Fix config handling 2020-11-12 22:49:38 +01:00
Tobias Reisinger ead52a0f47 Fix config string handling 2020-11-04 23:03:33 +01:00
Tobias Reisinger 011b9f4c14 Fix cmake to not break gdb 2020-09-27 00:05:48 +02:00
Tobias Reisinger b38c3d61d8 fix: controller discovery now called by PUT 2020-09-06 13:19:10 +02:00
Tobias Reisinger d3fd48b35a add: macro endpoint for execution 2020-09-06 13:12:33 +02:00
Tobias Reisinger 01ffb1d58d add: response macros
add: preparation for more macro endpoints
2020-09-05 13:29:46 +02:00
Tobias Reisinger 9d2c48d645 add: macro endpoints
add: basic macro support
fix: database locking with lock-pointer
fix: memory leaks
2020-09-04 00:28:49 +02:00
Tobias Reisinger 0103b0b2ff add: more basic macro stuff
add: more efficient relay loading (only ids)
2020-08-29 23:51:45 +02:00
Tobias Reisinger f67b7e9e0f add: basic macro functions
add: better migration handling (transactions)
2020-08-29 22:58:02 +02:00
Tobias Reisinger 6728ef9264 fix: load less from database on mqtt publish 2020-08-28 23:26:22 +02:00
Tobias Reisinger f98a01f3f0 fix: use separate relay caches for status 2020-08-25 12:39:43 +02:00
Tobias Reisinger 0eef646fe0 fix: all the bugs with the new database and commanding 2020-08-24 23:45:00 +02:00
Tobias Reisinger dd9e533f22 add: new commands to controller 2020-08-24 15:59:46 +02:00
Tobias Reisinger 3117427f1f fix: use PRAGMA user_version to track migrations
fix: minor fixes
2020-08-21 14:03:23 +02:00
Tobias Reisinger d23655eb61 add: functions to insert list (for junctions) 2020-08-18 13:35:15 +02:00
Tobias Reisinger 14c35a4227 add: database functions and generalisation 2020-08-15 13:10:17 +02:00
Tobias Reisinger 7c6eed8dc2 add: database transactions 2020-08-15 12:18:58 +02:00
Tobias Reisinger e84d54f562 add: more debugging
add: more options for testing
2020-08-14 23:18:22 +02:00
Tobias Reisinger 6d37bd9734 add: cache (WIP) 2020-08-13 16:29:26 +02:00
Tobias Reisinger f167f9caec fix: minor code refactor 2020-08-13 11:26:06 +02:00
Tobias Reisinger 505faa6df2 add: tag post endpoint 2020-08-11 23:33:04 +02:00
Tobias Reisinger 398019afe8 fix: better logging behaviour 2020-07-26 21:00:36 +02:00
Tobias Reisinger 77b2fafaff add: content_dir config 2020-07-02 00:16:07 +02:00
Tobias Reisinger fb66480873 add: pulse endpoint 2020-06-27 18:31:36 +02:00
Tobias Reisinger 6c6e5023da add: status for mqtt
fix: refactor connection handlers
2020-06-26 01:01:46 +02:00
Tobias Reisinger cb0614cf8c add: tags_STR endpoint with GET and DELETE 2020-06-19 16:26:08 +02:00
Tobias Reisinger 1d8408581a add: drop privileges 2020-06-19 00:26:49 +02:00
Tobias Reisinger 176483d72f REFACTOR 2020-06-16 22:05:44 +02:00
Tobias Reisinger 0460b2e9f7 fix: stop path leakage in logger 2020-06-16 00:35:55 +02:00
Tobias Reisinger 309f2fbb52 add: POST schedules/list
fix: CORS
2020-06-14 00:14:13 +02:00
Tobias Reisinger a78815cb32 add: endpoint /tags
fix: leaks from config (now using static length for config strings)
2020-06-13 19:21:32 +02:00
Tobias Reisinger 20d38730c9 add: file handling with 404 2020-06-03 00:47:49 +02:00
Tobias Reisinger 760cec9a20 add: file sending capability 2020-05-31 02:07:25 +02:00
Tobias Reisinger 6178ef3c7b add: generic response makers 2020-05-31 00:23:57 +02:00
Tobias Reisinger f2a40ca330 REFRACTOR 2020-05-28 19:13:57 +02:00
Tobias Reisinger 1475f605aa add: foreign key support in database
add: more tests
fix: bad tag handling when finding 0 in column
2020-05-28 02:12:39 +02:00
Tobias Reisinger 251389a454 add: coverage in cmake
fix: remove unsed cli call 'test'
2020-05-25 01:10:37 +02:00
Tobias Reisinger 5e64f5963c add: endpoint responses 2020-05-21 01:33:18 +02:00
Tobias Reisinger 5a19e99627 add: temporary CORS headers
add: better sql calls with JOIN
2020-05-20 00:51:16 +02:00
Tobias Reisinger 420bdeb2aa add: OPTIONS method support
add: relay tag endpoint
2020-05-14 01:37:08 +02:00
Tobias Reisinger 606f2483a5 add: forward schedule updates to relays 2020-05-11 14:50:25 +02:00
Tobias Reisinger 574a384d2f fix: missing folder 2020-05-10 22:46:01 +02:00
Tobias Reisinger 10e41ca166 add: commands
fix: timezone problem
2020-05-07 01:38:13 +02:00
Tobias Reisinger 0edb16a2d5 add: controller/..../relays endpoints
add: relay functions
remove: drivers
2020-05-06 22:49:22 +02:00
Tobias Reisinger f040cd8b21 add: schedule tags endpoint
fix: memory leak for string args
2020-05-06 10:53:42 +02:00
Tobias Reisinger a127a68e31 add: relay endpoint
fix: discovery invalid read
2020-05-06 01:16:43 +02:00
Tobias Reisinger 1171ef22be add: models for controller and relay
add: first controller endpoints
2020-05-06 01:05:36 +02:00
Tobias Reisinger b5a8523ae0 add: tests
add: schedule endpoints
2020-05-05 22:29:04 +02:00