Commit Graph

55 Commits

Author SHA1 Message Date
Koushik Dutta
29f253ee29 server: fix bug where homekit hubs are able to DoS scrypted by repeatedly issuing characteristic writes where the value has not changed 2022-02-21 17:55:12 -08:00
Koushik Dutta
adcd11d785 server: add python process stats 2022-02-14 12:34:43 -08:00
Koushik Dutta
44b4fa2bd4 server: rpc/threading 2022-02-12 19:09:42 -08:00
Koushik Dutta
a8b8aa03e0 restructure 2022-02-11 15:06:21 -08:00
Koushik Dutta
a26566202e rpc: move out of server 2022-02-11 13:28:12 -08:00
Koushik Dutta
e31071b8ea server/sdk: decouple sdk and types 2022-02-05 13:46:41 -08:00
Koushik Dutta
1da555d705 server: export plugins as interfaces 2022-01-27 12:51:31 -08:00
Koushik Dutta
d3638dce37 server: use unzipped plugin path where possible 2022-01-06 21:19:29 -08:00
Koushik Dutta
27ead61c3a server: reduce memory usage.
server/plugin startup will only require what is necessary.
pass unzipped plugin path through to the remote to allow linkfs usage for file name resolution.
2022-01-06 19:21:45 -08:00
Koushik Dutta
a1034f0828 zip: remove memory pressure from keeping zip in memory 2022-01-06 17:22:12 -08:00
Koushik Dutta
b2f3f1fbde server: readme support 2021-12-28 20:00:43 -08:00
Koushik Dutta
b8aa43e55e server: provide a direct API endpoint. greatly speeds up web interface. 2021-12-14 13:08:49 -08:00
Koushik Dutta
87205490b6 server: revert socket proxy change. too complicated. no benefit. 2021-12-14 00:27:18 -08:00
Koushik Dutta
acf31f2f82 server: prototype http proxy 2021-12-14 00:20:13 -08:00
Koushik Dutta
1b2790c507 server: fix ipv6 url endpoint. fix mixin release race conditions. 2021-12-12 00:57:39 -08:00
Koushik Dutta
4b131351fc server: Fix various ipv6 and network ip detection issues 2021-12-11 13:04:57 -08:00
Koushik Dutta
e5ba9e4af4 server: console spam fix, event noise fix 2021-12-05 00:49:00 -08:00
Koushik Dutta
5b0bc51fd8 server: console/repl refactor 2021-12-02 10:25:08 -08:00
Koushik Dutta
aeb8c21346 sdk/rpc: wip 2021-11-15 16:16:19 -08:00
Koushik Dutta
78eb5a5e71 sdk/server/plugin: python sample 2021-11-13 16:15:19 -08:00
Koushik Dutta
f917afe8b9 server: better rpc peer error logging 2021-11-07 10:59:21 -08:00
Koushik Dutta
0e20d5ebbe server/sdk: python plugins 2021-11-04 20:29:02 -07:00
Koushik Dutta
e25724a85a server/sdk: python rpc wip 2021-11-04 14:41:03 -07:00
Koushik Dutta
7d01311f7f server/rpc: simplify rpc code. initial python rpc. 2021-11-03 23:57:21 -07:00
Koushik Dutta
a7ae89b575 sdk/server: remove tensorflow dependency 2021-11-02 14:44:09 -07:00
Koushik Dutta
fa64e99351 server: add support for one way rpc method invocation which does not return a result 2021-11-01 12:35:23 -07:00
Koushik Dutta
0cea45f195 server: fix storage length bug 2021-10-24 23:40:43 -07:00
Koushik Dutta
42ba4ed199 core: automations use settings instead of janky checkboxes. support scrypted media selector. 2021-10-22 23:23:38 -07:00
Koushik Dutta
246f8287f3 server: Storage implements dictionary. add support for scrypted-media:// uri. 2021-10-22 23:19:48 -07:00
Koushik Dutta
2563ec4453 server: add exports to plugin scope 2021-10-22 00:54:29 -07:00
Koushik Dutta
b9148218b2 server: remove derpy logs 2021-10-16 17:03:16 -07:00
Koushik Dutta
f34723036b server: fix erroneous log 2021-10-16 16:02:07 -07:00
Koushik Dutta
36836b186e server/sdk: put plugin startup logs in console 2021-10-15 11:39:21 -07:00
Koushik Dutta
cd6b146b36 server: fix sourcemap support, allow consoles when plugin crashes 2021-10-14 19:48:52 -07:00
Koushik Dutta
8245835491 server: port configuration 2021-10-13 21:12:58 -07:00
Koushik Dutta
ee9e7ea9df server: better stack traces that indicate plugin source 2021-10-13 16:20:25 -07:00
Koushik Dutta
3caef12e4e server: console fixes 2021-10-08 20:33:05 -07:00
Koushik Dutta
a15833d586 server: support mixin console writing to device console 2021-10-04 01:36:27 -07:00
Koushik Dutta
e363d3c3a4 server: send rpc result error instead of error after peer killed 2021-09-29 12:20:10 -07:00
Koushik Dutta
f31c94baab sdk: strong type on ScryptedNativeId = string|undefined 2021-09-28 17:27:44 -07:00
Koushik Dutta
0907a760df server: plugin sourcemap support in production 2021-09-27 23:07:21 -07:00
Koushik Dutta
a0c0c478fe server: mixin events 2021-09-17 13:04:26 -07:00
Koushik Dutta
2dd610e595 server: cleanup console logs 2021-09-16 17:58:14 -07:00
Koushik Dutta
5a248572fd volume path 2021-09-09 17:48:39 -07:00
Koushik Dutta
5af5715766 windows fix? 2021-09-09 12:11:03 -07:00
Koushik Dutta
396068dfc3 add plugin restart 2021-09-08 21:47:39 -07:00
Koushik Dutta
0ca969123b mixin in state 2021-09-08 17:56:46 -07:00
Koushik Dutta
907911faa8 api proxy 2021-09-08 13:19:52 -07:00
Koushik Dutta
64bdbe402a implement push 2021-09-08 13:19:51 -07:00
Koushik Dutta
f19fc51369 fixup property change bug 2021-09-08 13:19:51 -07:00