Commit Graph

580 Commits

Author SHA1 Message Date
Kai Jan Kriegel
20a92be2a9 added dockerfile and docker-compose.yaml 2020-10-06 14:21:59 +02:00
Gregor Reitzenstein
832baea07d Merge branch 'feature/event-network' into 'development'
Feature/event network

See merge request fabinfra/fabaccess/bffh!3
2020-09-18 13:07:12 +00:00
Gregor Reitzenstein
012da0b7dd Adds Cargo.lock updates 2020-09-18 13:21:39 +02:00
Gregor Reitzenstein
c08633a513 Merge branch 'development' of gitlab.com:fabinfra/fabaccess/bffh into development 2020-09-18 13:20:46 +02:00
Gregor Reitzenstein
ce8ba084d5 Remove in-promptu test code 2020-09-18 13:20:04 +02:00
Gregor Reitzenstein
9d7ba0eeda MachineDB dump/load 2020-09-18 13:14:24 +02:00
Gregor Reitzenstein
026aa40019 Look ma, an event network! 2020-09-18 12:34:18 +02:00
Gregor Reitzenstein
7a876a538d Status commit 2020-09-17 21:12:30 +02:00
Gregor Reitzenstein
e0c1ce868d Make Actuator trait non-async 2020-09-17 16:05:46 +02:00
Gregor Reitzenstein
173ef6d055 Ensure the task polling a shelly stream gets woken up if shelly is subscribed to something 2020-09-17 16:01:56 +02:00
Gregor Reitzenstein
33d9d76755 Cleanup 2020-09-17 15:47:41 +02:00
Gregor Reitzenstein
f4d5a70841 Actually make the shellies switch 2020-09-17 15:45:43 +02:00
Gregor Reitzenstein
4bd62216e2 Subscriber is Actuator now 2020-09-17 15:36:42 +02:00
Gregor Reitzenstein
0ea9177e14 Moves actuators to be coroutines 2020-09-17 15:34:35 +02:00
Kai Kriegel
b5bc850207 don't try to build rust on windows 2020-09-17 13:07:04 +00:00
Kai Kriegel
898725a96a only run pipeline for master, develop branches and merge requests 2020-09-17 13:01:55 +00:00
Gregor Reitzenstein
7e6748ad15 Error is not Send ¯\(ツ)/¯ 2020-09-17 14:34:57 +02:00
Gregor Reitzenstein
c943e78cc6 Move modules back to threadpool 2020-09-17 14:32:53 +02:00
Gregor Reitzenstein
267ff63016 Improves lifetimes to be more ergonomic 2020-09-17 11:57:45 +02:00
Gregor Reitzenstein
637490bd75 Add sensors registry to global registries 2020-09-17 11:46:05 +02:00
Gregor Reitzenstein
fc1480314f Adds Sensors registry 2020-09-17 11:43:55 +02:00
Gregor Reitzenstein
406cebadb8 Sensor implementation draft 2020-09-17 11:20:55 +02:00
Gregor Reitzenstein
2686ea112f Refines machines 2020-09-17 10:51:51 +02:00
Gregor Reitzenstein
5bd5cd57df Using events 2020-09-17 10:18:02 +02:00
Gregor Reitzenstein
053cf5498a rustc is forgiving but I still don't like it 2020-09-17 09:10:10 +02:00
Gregor Reitzenstein
cf723e8817 Moves schema submodule to the new url 2020-09-17 09:02:23 +02:00
Gregor Reitzenstein
f53b4eac8e Adds an event network draft 2020-09-17 09:01:00 +02:00
Gregor Reitzenstein
67c5b4a927 Merge branch 'development' into 'development'
Fancy CI

See merge request fabinfra/fabaccess/bffh!1
2020-09-16 10:41:05 +00:00
Kai Kriegel
0b01e96437 Fancy CI 2020-09-16 10:41:05 +00:00
Gregor Reitzenstein
9e7b18e742 Writing down ideas for event networks and their handling 2020-09-15 17:17:00 +02:00
Gregor Reitzenstein
da5452f90f Signal deduping 2020-09-15 17:04:13 +02:00
Gregor Reitzenstein
245bb7962e Status needs to impl Copy for Signal 2020-09-15 16:37:50 +02:00
Gregor Reitzenstein
ca826de5de Clarify ideas on the machine interface 2020-09-15 16:35:37 +02:00
Gregor Reitzenstein
940a5d4fe0 Make compile 2020-09-15 15:34:36 +02:00
Gregor Reitzenstein
e1c5a009ad Machines are a event transformer in a complex event networkwhile . 2020-09-15 15:29:55 +02:00
Gregor Reitzenstein
7ffa2933e5 Remove old interface 2020-09-15 14:49:22 +02:00
Gregor Reitzenstein
13e784cf7a Simple machine lmdb interface 2020-09-15 14:48:59 +02:00
Gregor Reitzenstein
4fde079986 Move MachineDB into LMDB 2020-09-15 14:41:50 +02:00
Gregor Reitzenstein
76ccddb4cb Improves access::init documentation 2020-09-15 14:34:48 +02:00
Gregor Reitzenstein
c742fb0a5d Better configuration stuff 2020-09-15 14:31:10 +02:00
Gregor Reitzenstein
ff981a768b Actuator draft that is actually implementable 2020-09-15 11:38:15 +02:00
Gregor Reitzenstein
e4d6e9d1d3 Update deps and remove currently unused 2020-09-14 10:55:59 +02:00
Gregor Reitzenstein
73c24456d4 Registries draft 2020-09-14 10:37:51 +02:00
Gregor Reitzenstein
eb4e164c79 Don't fail if the dump directories already exist
e.g. because of a previous dump
2020-09-11 10:34:18 +02:00
Gregor Reitzenstein
d4ed885dc7 Implements loading of roles and users 2020-09-11 10:18:43 +02:00
Gregor Reitzenstein
bf3a3474db Implements dumping of perms and users as well 2020-09-11 10:12:54 +02:00
Gregor Reitzenstein
b8559e1d64 Adds --load/--dump. Role dumping implemented already
These mutually exclusive flags allow dumping and loading of database
contents in a textual format
2020-09-11 09:57:03 +02:00
Gregor Reitzenstein
5f78685fb2 Allows permission read/write as well 2020-09-10 12:32:33 +02:00
Gregor Reitzenstein
8e10381fbd Allows Access to write to the underlying database 2020-09-10 12:30:32 +02:00
Gregor Reitzenstein
565a5ed278 Implements a simple permission check 2020-09-10 11:53:47 +02:00