Commit Graph

38 Commits

Author SHA1 Message Date
Thomas Nahuel Rusiecki 91e6d63fd4 fixed typo 2024-11-20 01:16:18 -03:00
Thomas Nahuel Rusiecki edc8ab6d3a parse snapshot as dict 2024-11-20 01:15:31 -03:00
Cayo Puigdefabregas ae5f9c341a add inxi in main 2024-11-15 11:05:24 +01:00
pedro cf81579819 workbench-script: in legacy, lshw is a json object 2024-11-11 02:30:30 +01:00
pedro 2d0048433b workbench-script.py: server error is provided 2024-11-11 02:24:06 +01:00
pedro 12209c84fa workbench-script: bugfix when url is used 2024-11-08 20:14:08 +01:00
pedro 8ac0da99fe wb.py: improved error msgs when sending to URL 2024-11-08 18:27:44 +01:00
Cayo Puigdefabregas 71e06b13a4 fix process for show qr 2024-11-08 18:27:44 +01:00
Cayo Puigdefabregas 82f93a9446 fix legacy case 2024-11-08 18:27:44 +01:00
Cayo Puigdefabregas b1136e3dd8 issue 100 new url in qr for evidence instead of device 2024-11-08 18:27:44 +01:00
Cayo Puigdefabregas 81a3c5240b fix workbench-script name 2024-10-24 09:07:59 +02:00
pedro a2e33d2b13 add logger and locale for spanish 2024-10-16 00:27:57 +02:00
pedro ba83ccba88 we know lshw might fail, do not load as json 2024-10-15 14:13:37 +02:00
pedro 92658ebc86 improve error msg 2024-10-15 14:13:37 +02:00
pedro cc02b65263 workbench: use url instead of public_url 2024-10-15 14:13:37 +02:00
pedro ddcd956220 inform of executed command
and discovered a command without the sudo
2024-10-15 14:13:37 +02:00
pedro 1f88aae0ac remove requests dependency, use vanilla urllib 2024-10-15 14:13:37 +02:00
pedro 2291d0994b add lspci command
which was required by legacy server
2024-10-15 14:13:37 +02:00
pedro 47a8e24850 allow more response codes 2024-10-15 14:13:37 +02:00
Cayo Puigdefabregas 46447cebaa qr for workbench 2024-10-15 14:13:37 +02:00
Cayo Puigdefabregas e4203df44c fix parsing to old devicehub 2024-10-15 14:13:33 +02:00
pedro fb69206f53 workbench-script: verify if snapshot was received 2024-10-15 14:13:11 +02:00
Cayo Puigdefabregas 6bf1746829 add legacy mode
make workbench-script compatible with the old devicehub
2024-10-15 14:13:04 +02:00
pedro f617526c34 workbench-script: improve err msg for HTTP POST 2024-09-27 23:18:56 -03:00
pedro e527ba611d pxe: improve error msgs in wb-script 2024-09-27 23:18:56 -03:00
pedro 349e0eb480 pxe: improve autostart 2024-09-27 23:18:56 -03:00
pedro 6c513cb5d3 bugfix wrong try/except 2024-09-27 23:18:56 -03:00
pedro c845249a81 pxe: bugfix wrong try 2024-09-27 23:18:56 -03:00
pedro 19957c608d pxe: add try-exception for writing fallback path 2024-09-27 23:18:56 -03:00
pedro da026ad0c3 workbench-script: warn when not root 2024-09-27 23:18:56 -03:00
pedro 52e99064c6 workbench-script: remove ntplib
- it was not being used
- let's delegate this to Operating System
2024-09-27 23:18:56 -03:00
pedro 47ea66f013 workbench-script: attempt to write to snapshot dir 2024-09-27 23:18:56 -03:00
pedro cb7ee61945 workbench-script: improve INFO and ERROR logs 2024-09-20 16:31:12 -03:00
pedro 6d3d4e5c2a make upload snapshot work 2024-09-19 14:04:11 -03:00
pedro a9af55d109 workbench: use declarative config instead of args
The only arg needed is the location of the config, which is optional
2024-09-19 12:42:03 -03:00
pedro d3018abde9 workbench: use sudo everywhere
that means adjusting fine the hostname, which right now is hardcoded
to workbench
2024-09-19 12:40:04 -03:00
pedro 6c781a0503 clearer start-end of script 2024-09-19 11:27:52 -03:00
pedro 44959acdf5 init code and manual
attribution:

- cayo did code and explanations
- pedro formatted and edited to inclusion as a repository
2024-09-18 11:13:40 -03:00