Commit Graph

299 Commits

Author SHA1 Message Date
Thomas Nahuel Rusiecki ca047f4e8b added user_property 2024-11-15 18:16:45 -03:00
Thomas Nahuel Rusiecki 04099d31a6 model constraints changed and moved url to /device 2024-11-15 18:15:44 -03:00
Thomas Nahuel Rusiecki 10f2f6dc16 fixed search and moved delete user property class 2024-11-14 14:16:45 -03:00
Thomas Nahuel Rusiecki caa2be3a41 renaming to new Property tables 2024-11-14 13:08:37 -03:00
Thomas Nahuel Rusiecki 7d18f4797f details view changed to now use properties 2024-11-14 12:00:03 -03:00
Thomas Nahuel Rusiecki 3350966bb3 fixed user_properties list not working 2024-11-13 21:14:23 -03:00
Thomas Nahuel Rusiecki 2a9eca74eb renaming to property 2024-11-13 21:05:54 -03:00
Thomas Nahuel Rusiecki bfe922bed6 changed imports 2024-11-13 21:01:00 -03:00
Thomas Nahuel Rusiecki 9a45988875 fixed self inflicted recursion 2024-11-13 20:29:07 -03:00
Thomas Nahuel Rusiecki 4c69906f24 renaming annotation to variable 2024-11-13 19:16:33 -03:00
Thomas Nahuel Rusiecki 296fab8cf6 variables and function semantic renaming 2024-11-12 14:04:59 -03:00
Thomas Nahuel Rusiecki 41926ea85a split into system and user properties 2024-11-12 12:22:09 -03:00
Thomas Nahuel Rusiecki 1732cc7a9c annotations renaming on views 2024-11-12 11:47:32 -03: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
sergio_gimenez 033e4df297 Render serial number in public website 2024-11-04 08:24:23 +01:00
sergio_gimenez 915d95379c Render serial number in details view 2024-11-04 08:21:19 +01:00
sergio_gimenez 8cb66104ca Add get_serial_number() method 2024-11-04 08:21:01 +01:00
sergio_gimenez 7db879e189 Add get_serial_number method 2024-11-04 08:20:37 +01:00
Cayo Puigdefabregas e4124fb20b fix duplicate logs 2024-10-31 15:25:38 +01:00
pedro 517c3eb0c0 DEBUG false -> true
we are not ready to deploy without DEBUG

- collect static is not configured
- current demo in debug helps to find problems easily
2024-10-31 15:04:28 +01:00
pedro d4f50961bc improve logging text for certain messages 2024-10-31 14:24:16 +01:00
Cayo Puigdefabregas 65bd88a2a2 table in evidence page details 2024-10-31 13:15:56 +01:00
Cayo Puigdefabregas 7926943947 remove dashboard.js in login template 2024-10-31 12:51:49 +01:00
pedro 9de7dc6647 docker: disable debug by default 2024-10-31 11:57:33 +01:00