Commit Graph

65 Commits

Author SHA1 Message Date
Arthur Lu
66bf3a3a3e removed autovivification (likely not required)
Signed-off-by: Arthur Lu <learthurgo@gmail.com>

Former-commit-id: f40939d69d
2021-10-21 21:29:44 +00:00
Arthur Lu
375b550153 finished rough outline for Match module
Signed-off-by: Arthur Lu <learthurgo@gmail.com>

Former-commit-id: d5ebb0348b
2021-10-21 21:27:35 +00:00
Arthur Lu
79dd2c3479 minor fix
Signed-off-by: Arthur Lu <learthurgo@gmail.com>

Former-commit-id: 72a14bfac9
2021-10-21 20:56:06 +00:00
Arthur Lu
d2ced284ea added working load_data for Match module
Signed-off-by: Arthur Lu <learthurgo@gmail.com>

Former-commit-id: 8e8c19c5fd
2021-10-21 20:42:47 +00:00
Arthur Lu
07965cba4b added working validate_config for Match module
Signed-off-by: Arthur Lu <learthurgo@gmail.com>

Former-commit-id: b9e2de2dc6
2021-10-21 20:28:29 +00:00
Arthur Lu
36081e1239 removed keys
Signed-off-by: Arthur Lu <learthurgo@gmail.com>

Former-commit-id: 4a1d7f0db1
2021-10-21 20:05:07 +00:00
Arthur Lu
08f5ba987a removed websockets from requirements.txr,
fixed return code of daemon,
removed websockets from hidden imports of superscript.spec


Former-commit-id: 828e45844e
2021-10-16 20:28:57 +00:00
Arthur Lu
dafd66447f moved sample zmq SUB client to test/
Former-commit-id: ab13e10271
2021-10-16 20:21:12 +00:00
Arthur Lu
6bcb3cbff4 verification of zmq solution working remotely
Signed-off-by: Arthur Lu <learthurgo@gmail.com>

Former-commit-id: 41fb81cfac
2021-10-15 06:20:05 +00:00
Arthur Lu
6cd092da37 solution using zmq PUB/SUB,
working locally


Former-commit-id: c0c46a1b9d
2021-10-15 06:12:50 +00:00
Arthur Lu
8540642bef works locally again
Former-commit-id: 7b05707e3b
2021-10-14 23:30:15 +00:00
Arthur Lu
5d0fbc06c6 possible fix: UDP broadcast,
not connecing from outside LAN

Signed-off-by: Arthur Lu <learthurgo@gmail.com>

Former-commit-id: 531c8f80f3
2021-10-14 22:52:15 +00:00
Arthur Lu
a4a13c7cb5 set return value for profile option
Signed-off-by: Arthur Lu <learthurgo@gmail.com>

Former-commit-id: e15f87b2e5
2021-10-14 19:45:28 +00:00
Arthur Lu
26d9d962c0 added close_all when exiting due to error
Former-commit-id: 9b614af85c
2021-10-13 22:32:42 +00:00
Arthur Lu
e20a212bd9 changes to stop() error reporting
Signed-off-by: Arthur Lu <learthurgo@gmail.com>

Former-commit-id: bd77927421
2021-10-13 19:11:27 +00:00
Arthur Lu
1151541976 fixed key error in loop delay logic,
improved error logging to include stack trace

Signed-off-by: Arthur Lu <learthurgo@gmail.com>

Former-commit-id: 3f32104c72
2021-10-12 22:16:34 +00:00
Arthur Lu
6f28e507a1 fixed errorlog path
Signed-off-by: Arthur Lu <learthurgo@gmail.com>

Former-commit-id: 0895eb3d74
2021-10-12 21:42:09 +00:00
Arthur Lu
1e6bc1926a fixed minor push_pit bug
Former-commit-id: 9603ca2be9
2021-10-11 02:59:49 +00:00
Arthur Lu
d89f997117 fixed sample config.json
Former-commit-id: 24e666a23b
2021-10-11 02:56:24 +00:00
Arthur Lu
44e9711b2d Merge branch 'superscript-v1' into event-listener
Former-commit-id: 3dbdcfbd35
2021-10-10 19:52:47 -07:00
Arthur Lu
32ae4fd636 implemented event delay with dummy listener,
event delay listener in data.py unimplemented


Former-commit-id: dea5f3a374
2021-10-10 06:15:22 +00:00
Arthur Lu
96ebb82085 added opotion to pull config from database,
major code refactor


Former-commit-id: da913e639b
2021-09-23 07:10:01 +00:00
Arthur Lu
fb1033e92c Merge branch 'databse-config' into superscript-v1
Former-commit-id: a64c2c71ca
2021-09-22 20:28:55 -07:00
Arthur Lu
16882a0a75 added debug option to usage description,
set generic error code to 1


Former-commit-id: 9163244e2c
2021-09-21 23:36:13 +00:00
Arthur Lu
2b8ecc5bee added databse config getter/setter to data.py,
fixed args for data.py functions


Former-commit-id: 74bcc116a2
2021-09-21 05:14:54 +00:00
Arthur Lu
8112effbce added debug option,
improved memory usage slightly,
changed errorlog.txt to errorlog.log,
updated .gitignore


Former-commit-id: bd51efc6c2
2021-09-21 04:43:32 +00:00
Arthur Lu
56d3a0adcd added event and time delay options
(event delay unimplemented)


Former-commit-id: fb4e5da1d4
2021-08-27 23:39:48 +00:00
Arthur Lu
097fd2836b reorganized imports in superscript
Former-commit-id: 18c26a00b6
2021-08-22 05:35:04 +00:00
Arthur Lu
052788afb9 fixed verbose/profile output options
Former-commit-id: ca399cf350
2021-08-19 20:58:35 +00:00
Arthur Lu
e4eb824f51 Merge pull request #11 from titanscouting/daemonize-superscript
Merge changes in daemonize-superscript to refactor-superscript

Former-commit-id: 3e8d876f80
2021-08-18 17:36:55 -07:00
Arthur Lu
11d3db4b44 added profile option to superscript
Former-commit-id: ea07d7c709
2021-08-19 00:34:42 +00:00
Arthur Lu
76f78047b3 unified main_lin, main_win functions
Former-commit-id: 342dae3022
2021-08-18 22:35:42 +00:00
Arthur Lu
20f2040a1a changed websocket bind address to 0.0.0.0
Former-commit-id: e9258c831d
2021-08-18 05:58:21 +00:00
Arthur Lu
ffead9e240 fixed daemon no start issue
Former-commit-id: efc353dafb
2021-08-18 05:13:25 +00:00
Arthur Lu
0287b5c0e2 temporary workaround for missing ssl cert
Former-commit-id: 739a2f36f8
2021-08-18 03:26:47 +00:00
Arthur Lu
b6a1dfedb9 not working
Former-commit-id: e82177d17b
2021-08-18 03:04:01 +00:00
Arthur Lu
cafb773d8b replaced profile to verbose option
Former-commit-id: 055c296c00
2021-08-18 00:43:00 +00:00
Arthur Lu
871b313d95 fixed linux only import in windows exec
Former-commit-id: 61ae377e97
2021-08-17 14:17:40 -07:00
Arthur Lu
bcbb653696 daemonized, socketed superscript
improved runtime
removed superscript-socket.py


Former-commit-id: 6fa29f767d
2021-08-17 21:02:08 +00:00
Arthur Lu
c2f35f4cb2 superscript v 0.9.2
Former-commit-id: e559ced751
2021-08-13 21:57:03 +00:00
Arthur Lu
2ebd2cba8a removed socket/daemon test scripts
Former-commit-id: d1a9e56703
2021-08-12 22:26:37 +00:00
Arthur Lu
6819aaf143 consolidated dataset/data imports
Former-commit-id: 6364746d7a
2021-08-12 21:58:41 +00:00
Arthur Lu
b3ab9156db consolidated datraset.py into datas.py
removed unessasary time import in data.py
added missing import to processing.py


Former-commit-id: f74cfb3ae3
2021-08-12 21:53:03 +00:00
Arthur Lu
30641e43d8 fixed delay in daemon stopping
Former-commit-id: 1d9fa99058
2021-08-11 23:37:57 +00:00
Arthur Lu
3a068654ed added start/stop/restart argument functionality
slightly buggy


Former-commit-id: ba793140af
2021-08-11 23:26:52 +00:00
Arthur Lu
962061007b removed time-test
Former-commit-id: c09f4d0897
2021-08-11 22:54:24 +00:00
Arthur Lu
91f34a8d74 daemonized superscript socket example
added python-daemon to requirements.txt


Former-commit-id: 922095ebe0
2021-08-11 22:28:24 +00:00
Arthur Lu
19bca6967c added websockets to requirements.txt
Former-commit-id: d9ba7bcb24
2021-08-11 18:21:34 +00:00
Arthur Lu
fb2ea60fea started socketing superscript statuses
Former-commit-id: a703fe4867
2021-08-11 18:10:04 +00:00
Arthur Lu
5d95913467 removed duplicate requirements
Former-commit-id: f258a768be
2021-08-11 00:33:06 +00:00