Commit graph

52 commits

Author SHA1 Message Date
Cayo Puigdefabregas 7f224618ee fix rebase 4 time 2024-12-17 08:39:36 +01:00
Cayo Puigdefabregas ea6fcf174b fix rebase with main 2024-12-17 08:39:36 +01:00
Cayo Puigdefabregas 2eb6154267 inxi and credentials fix 2024-12-17 08:39:36 +01:00
Cayo Puigdefabregas f90d67ff4d add inxi in main 2024-12-17 08:39:36 +01:00
Cayo Puigdefabregas 69654d1e7f fix flow 2024-12-17 08:39:36 +01:00
Cayo Puigdefabregas 7c1e0a4870 create credential from snapshot 2024-12-17 08:39:34 +01:00
Cayo Puigdefabregas ad2b375346 issue 100 new url in qr for evidence instead of device 2024-12-17 08:38:23 +01:00
Cayo Puigdefabregas b4e18e52da inxi and credentials fix 2024-12-17 08:37:31 +01:00
Cayo Puigdefabregas 68a2df1b28 add inxi in main 2024-12-17 08:36:37 +01:00
Cayo Puigdefabregas b3003a4e00 inxi 2024-12-17 08:35:26 +01:00
Cayo Puigdefabregas 83e717fb5e add inxi 2024-12-17 08:34:33 +01:00
Cayo Puigdefabregas 9832cbf5f2 . 2024-12-17 08:34:33 +01:00
Cayo Puigdefabregas 57deefdcf4 fix flow 2024-12-17 08:34:31 +01:00
Cayo Puigdefabregas 5a50be493b fix lshw json 2024-12-17 08:33:18 +01:00
Cayo Puigdefabregas 03a25a4a63 create credential from snapshot 2024-12-17 08:33:16 +01:00
Cayo Puigdefabregas 56f15f6eae issue 100 new url in qr for evidence instead of device 2024-12-17 08:30:42 +01:00
pedro 4cb3e34b6b legacy: use public_url, url is not very useful
also refactor vars so it is easier to read
2024-11-12 01:15:34 +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