Commit Graph

62 Commits

Author SHA1 Message Date
Arthur Lu 8e8c19c5fd added working load_data for Match module
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2021-10-21 20:42:47 +00:00
Arthur Lu b9e2de2dc6 added working validate_config for Match module
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2021-10-21 20:28:29 +00:00
Arthur Lu 4a1d7f0db1 removed keys
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2021-10-21 20:05:07 +00:00
Arthur Lu 828e45844e removed websockets from requirements.txr,
fixed return code of daemon,
removed websockets from hidden imports of superscript.spec
2021-10-16 20:28:57 +00:00
Arthur Lu ab13e10271 moved sample zmq SUB client to test/ 2021-10-16 20:21:12 +00:00
Arthur Lu 41fb81cfac verification of zmq solution working remotely
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2021-10-15 06:20:05 +00:00
Arthur Lu c0c46a1b9d solution using zmq PUB/SUB,
working locally
2021-10-15 06:12:50 +00:00
Arthur Lu 7b05707e3b works locally again 2021-10-14 23:30:15 +00:00
Arthur Lu 531c8f80f3 possible fix: UDP broadcast,
not connecing from outside LAN

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2021-10-14 22:52:15 +00:00
Arthur Lu e15f87b2e5 set return value for profile option
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2021-10-14 19:45:28 +00:00
Arthur Lu 9b614af85c added close_all when exiting due to error 2021-10-13 22:32:42 +00:00
Arthur Lu bd77927421 changes to stop() error reporting
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2021-10-13 19:11:27 +00:00
Arthur Lu 3f32104c72 fixed key error in loop delay logic,
improved error logging to include stack trace

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2021-10-12 22:16:34 +00:00
Arthur Lu 0895eb3d74 fixed errorlog path
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2021-10-12 21:42:09 +00:00
Arthur Lu 9603ca2be9 fixed minor push_pit bug 2021-10-11 02:59:49 +00:00
Arthur Lu 24e666a23b fixed sample config.json 2021-10-11 02:56:24 +00:00
Arthur Lu 3dbdcfbd35 Merge branch 'superscript-v1' into event-listener 2021-10-10 19:52:47 -07:00
Arthur Lu dea5f3a374 implemented event delay with dummy listener,
event delay listener in data.py unimplemented
2021-10-10 06:15:22 +00:00
Arthur Lu da913e639b added opotion to pull config from database,
major code refactor
2021-09-23 07:10:01 +00:00
Arthur Lu a64c2c71ca Merge branch 'databse-config' into superscript-v1 2021-09-22 20:28:55 -07:00
Arthur Lu 9163244e2c added debug option to usage description,
set generic error code to 1
2021-09-21 23:36:13 +00:00
Arthur Lu 74bcc116a2 added databse config getter/setter to data.py,
fixed args for data.py functions
2021-09-21 05:14:54 +00:00
Arthur Lu bd51efc6c2 added debug option,
improved memory usage slightly,
changed errorlog.txt to errorlog.log,
updated .gitignore
2021-09-21 04:43:32 +00:00
Arthur Lu fb4e5da1d4 added event and time delay options
(event delay unimplemented)
2021-08-27 23:39:48 +00:00
Arthur Lu 18c26a00b6 reorganized imports in superscript 2021-08-22 05:35:04 +00:00
Arthur Lu ca399cf350 fixed verbose/profile output options 2021-08-19 20:58:35 +00:00
Arthur Lu 3e8d876f80 Merge pull request #11 from titanscouting/daemonize-superscript
Merge changes in daemonize-superscript to refactor-superscript
2021-08-18 17:36:55 -07:00
Arthur Lu ea07d7c709 added profile option to superscript 2021-08-19 00:34:42 +00:00
Arthur Lu 342dae3022 unified main_lin, main_win functions 2021-08-18 22:35:42 +00:00
Arthur Lu e9258c831d changed websocket bind address to 0.0.0.0 2021-08-18 05:58:21 +00:00
Arthur Lu efc353dafb fixed daemon no start issue 2021-08-18 05:13:25 +00:00
Arthur Lu 739a2f36f8 temporary workaround for missing ssl cert 2021-08-18 03:26:47 +00:00
Arthur Lu e82177d17b not working 2021-08-18 03:04:01 +00:00
Arthur Lu 055c296c00 replaced profile to verbose option 2021-08-18 00:43:00 +00:00
Arthur Lu 61ae377e97 fixed linux only import in windows exec 2021-08-17 14:17:40 -07:00
Arthur Lu 6fa29f767d daemonized, socketed superscript
improved runtime
removed superscript-socket.py
2021-08-17 21:02:08 +00:00
Arthur Lu e559ced751 superscript v 0.9.2 2021-08-13 21:57:03 +00:00
Arthur Lu d1a9e56703 removed socket/daemon test scripts 2021-08-12 22:26:37 +00:00
Arthur Lu 6364746d7a consolidated dataset/data imports 2021-08-12 21:58:41 +00:00
Arthur Lu f74cfb3ae3 consolidated datraset.py into datas.py
removed unessasary time import in data.py
added missing import to processing.py
2021-08-12 21:53:03 +00:00
Arthur Lu 1d9fa99058 fixed delay in daemon stopping 2021-08-11 23:37:57 +00:00
Arthur Lu ba793140af added start/stop/restart argument functionality
slightly buggy
2021-08-11 23:26:52 +00:00
Arthur Lu c09f4d0897 removed time-test 2021-08-11 22:54:24 +00:00
Arthur Lu 922095ebe0 daemonized superscript socket example
added python-daemon to requirements.txt
2021-08-11 22:28:24 +00:00
Arthur Lu d9ba7bcb24 added websockets to requirements.txt 2021-08-11 18:21:34 +00:00
Arthur Lu a703fe4867 started socketing superscript statuses 2021-08-11 18:10:04 +00:00
Arthur Lu f258a768be removed duplicate requirements 2021-08-11 00:33:06 +00:00
Arthur Lu 836e9ca6be added Pool.join to allow threads to exit safely
added keyboard interrupt signal ignore in threads
2021-07-16 06:12:26 +00:00
Arthur Lu 246efd524b superscript v 0.9.1 2021-06-13 00:49:04 +00:00
Arthur Lu b2f2dfe2a4 finished refactor 2021-06-12 23:57:16 +00:00