Commit graph

309 commits

Author SHA1 Message Date
pedro 15fb5d3739 utils/logger: ensure msgs are logged 2024-12-11 17:04:20 +01:00
pedro d7ff3c2798 logger: improve error handling 2024-12-11 17:04:20 +01:00
pedro 0e0ad400c2 dpp/dlt: fix typo 2024-12-11 17:04:20 +01:00
pedro 367d3a7f87 dpp/dlt: fix typo 2024-12-11 17:04:20 +01:00
pedro c90ed58ea0 dpp/dlt: fix typo 2024-12-11 17:04:20 +01:00
pedro 45629db102 dh docker entrypoint: use appropriate new env vars 2024-12-11 17:04:20 +01:00
pedro 1e29f9562d docker: remove unused vars in django
were used in the flask app devicehub-teal
2024-12-11 17:04:20 +01:00
pedro d0cac9d1d9 docker entrypoint: make DB_* optional 2024-12-11 17:04:20 +01:00
pedro 8b4d1f51f6 docker devicehub-django entrypoint 2024-12-11 17:04:20 +01:00
Cayo Puigdefabregas 34ea4bedfc fix 2024-12-11 17:04:20 +01:00
Cayo Puigdefabregas fe429e7db6 fix 2024-12-11 17:04:20 +01:00
Cayo Puigdefabregas caf2606fd9 add memberFederated model 2024-12-11 17:04:20 +01:00
Cayo Puigdefabregas 73d478f517 add did view 2024-12-11 17:04:20 +01:00
Cayo Puigdefabregas 0f03171076 add commands for setup to dlt 2024-12-11 17:04:20 +01:00
pedro bfdcb33538 docker: add dpp python dep ereuseapitest 2024-12-11 17:04:20 +01:00
Cayo Puigdefabregas 271ac83d71 . 2024-12-11 17:04:20 +01:00
Cayo Puigdefabregas f7b2687ca2 register device and dpp in dlt and dpp api 2024-12-11 17:04:11 +01:00
Cayo Puigdefabregas 1dad22c3d3 first base for dpp 2024-12-11 17:02:26 +01:00
Cayo Puigdefabregas 7de6d69a6c fix parsing with credentials 2024-12-05 19:23:53 +01:00
Cayo Puigdefabregas 7fd42db3e4 fix parsing 2024-12-03 16:37:56 +01:00
Cayo Puigdefabregas bed40d3ee0 fix get_hid 2024-11-20 18:41:59 +01:00
Cayo Puigdefabregas 9553ed6a4c fix component empty 2024-11-20 18:35:27 +01:00
Cayo Puigdefabregas a0276f439e add inxi in parsing and show in details of devs 2024-11-15 12:47:08 +01:00
pedro b7d7b9041d Merge pull request 'Parsing error handling and MAC retrieval on new snapshots' (#27) from pr_25 into main
Reviewed-on: #27
2024-11-12 13:57:04 +00:00
pedro 65788b36af up_snapshots: simplify and clarify errors
specially, do not halt in case of errors, just print them in logs
2024-11-12 14:48:35 +01:00
pedro a748b900ca recover old up_snapshot functionality
- We don't need the if settings.DEBUG anymore, we have a logger
configuration that when DEBUG is there, a trace is always generated
- restore old error message that is shorter and clearer than the new one
2024-11-12 14:48:35 +01:00
Thomas Nahuel Rusiecki ac48a77a2f added success messages 2024-11-12 14:48:35 +01:00
Thomas Nahuel Rusiecki ac70a4ae25 catching pandas exception 2024-11-12 14:48:35 +01:00
Thomas Nahuel Rusiecki 8dade92f7e changed form validation onto field 2024-11-12 14:48:35 +01:00
Thomas Nahuel Rusiecki b4c18535fb grammar fix and todo added 2024-11-12 14:48:35 +01:00
Thomas Nahuel Rusiecki 90f057288d upload form now displays error messages once 2024-11-12 14:48:35 +01:00
Thomas Nahuel Rusiecki 80083caf99 better error messages 2024-11-12 14:48:35 +01:00
Thomas Nahuel Rusiecki 3763124440 minor fix in mac parsing 2024-11-12 14:48:35 +01:00
Thomas Nahuel Rusiecki cd0a8217c8 fixed mac not recovered properly 2024-11-12 14:48:35 +01:00
Thomas Nahuel Rusiecki 83dd044325 better error handling and logging 2024-11-12 14:48:35 +01:00
Thomas Nahuel Rusiecki ccb0be1b4c check for values on websnapshot 2024-11-12 14:48:35 +01:00
pedro eb81b65e5b logger: swap colors between INFO and WARNING
yellow is more a warning color than purple

purple is more relaxing, so better for info
2024-11-10 03:54:29 +01:00
pedro 9378621877 Merge pull request 'Add improved readme' (#26) from improve-readme into real_main
Reviewed-on: #26
2024-11-09 20:33:29 +00:00
pedro d136ae3aa3 README: small changes 2024-11-09 21:32:52 +01:00
sergio_gimenez 2653b0eeee Add improved redame 2024-11-09 21:32:52 +01:00
pedro 5045450424 improve .env and docker-reset 2024-11-09 17:07:27 +01:00
cayop dd6c58267f Merge pull request '96-add-serial-number-in-public-web' (#24) from 96-add-serial-number-in-public-web into main
Reviewed-on: https://gitea.pangea.org/ereuse/devicehub-django/pulls/24
2024-11-06 16:30:19 +00:00
Cayo Puigdefabregas 6212075852 fix names 2024-11-06 17:21:48 +01:00
sergio_gimenez 2f68eff954 Merge branch 'main' into 96-add-serial-number-in-public-web 2024-11-06 08:29:24 +01:00
sergio_gimenez 26c3401f4d Do not show serial numbers if user not authenticated 2024-11-06 08:24:10 +01:00
sergio_gimenez a68403b05a better organise code 2024-11-05 10:26:21 +01:00
sergio_gimenez 51a2e74f7f [WIP] unit tests 2024-11-05 10:19:35 +01:00
sergio_gimenez e6c42a908f Show components and serials only if user is authenticated 2024-11-05 10:19:24 +01:00
pedro a67fda6b51 better printing of DOMAIN var
when in settings, any command prints again DOMAIN which is boring and
inefficient
2024-11-05 04:01:44 +01:00
pedro 79a34c9b55 logger: always do traceback when DEBUG var is True
related to #13
2024-11-05 03:43:18 +01:00