Commit graph

1733 commits

Author SHA1 Message Date
Cayo Puigdefabregas 5df183edf1 add view for inventor snapshot 2022-04-06 20:23:08 +02:00
Cayo Puigdefabregas fe21ac3cd8 new validate api with out teal 2022-04-06 19:43:35 +02:00
Cayo Puigdefabregas 58b4ead86c add components to check old snapshots 2022-04-05 19:17:26 +02:00
Cayo Puigdefabregas 0150b88e6e Merge branch 'testing' into feature/server-side-render-parser-3021 2022-04-05 12:49:53 +02:00
Cayo Puigdefabregas fbf3a20c1e add new snapshots 2022-04-05 12:37:43 +02:00
Cayo Puigdefabregas 7c6e5a8d2f add test for old snapshots 2022-04-05 12:35:33 +02:00
Santiago L a7d5a3917d
Merge pull request #215 from eReuse/bugfix/minor-ui-changes
Bugfix/minor UI changes
2022-04-05 12:08:13 +02:00
Santiago L 277c3a84a9 Rename removelot.html -> lot_delete_modal.html 2022-04-05 11:49:47 +02:00
Santiago L 64182403a2 UI: update button colors 2022-04-05 11:47:12 +02:00
Santiago L 82cea04625 Sort lot action's buttons 2022-04-05 11:46:31 +02:00
Santiago L c9068385c3 Update icons of device buttons 2022-04-05 11:40:23 +02:00
Santiago L 8ea8fba201 Add link to help.usody.com 2022-04-05 11:32:55 +02:00
Santiago L 1e79948e57 Drop broken link of breadcrumb 2022-04-05 11:32:27 +02:00
Santiago L 683c7cff72 Hide user profile details untils is implemented 2022-04-05 11:28:07 +02:00
Santiago L b465513212 Fix flask.messages render 2022-04-05 11:27:21 +02:00
Santiago L 07d83006a0
Merge pull request #214 from eReuse/bugfix/login-workflow
Bugfix login workflow
2022-04-05 11:04:35 +02:00
Cayo Puigdefabregas bf77934fdb fix uuid 2022-04-05 11:04:16 +02:00
Cayo Puigdefabregas 7f0184f049 add test for old snapshots 2022-04-05 11:03:40 +02:00
Santiago L 88751b46bd Update CHANGELOG.md
- Add reference to fixed PR
- Fix reference to PR instead of Taige
2022-04-05 11:03:18 +02:00
Santiago L 66afb7b683 Configure index route (redirect to login) 2022-04-05 10:49:27 +02:00
Santiago L 348970946b Fix login_manager.user_loader
Also redirect unathorized requests to login view
2022-04-05 10:36:04 +02:00
Cayo Puigdefabregas b13c3347b9 add SnapshotErrors in inventory form 2022-04-05 09:22:02 +02:00
Cayo Puigdefabregas db637a99ac add migrations for snapshot errors 2022-04-04 19:37:06 +02:00
Cayo Puigdefabregas 27d018a6a3 add new test snapshot qemu 2022-04-04 19:08:03 +02:00
Cayo Puigdefabregas d592e2fb06 bug fix uuid 2022-04-04 19:07:26 +02:00
Santiago L 0f5943b13d
Merge pull request #211 from eReuse/feature/server-side-render-labels-2971
Print DHID-QR label for selected devices.
2022-04-04 13:44:13 +02:00
Santiago L 3bb09c654c Update CHANGELOG.md 2022-04-04 13:43:09 +02:00
Santiago L 960a4dc85f Enable labels Blueprint on examples/app.py 2022-04-04 13:41:36 +02:00
Cayo Puigdefabregas cb5fb14c92 add model for save errors of parse snapshots 2022-04-04 13:27:04 +02:00
Cayo Puigdefabregas 77a35ec1a3 fix test for new jsons 2022-04-01 18:27:19 +02:00
Cayo Puigdefabregas 09ba81e92d fix parser for qemu datas 2022-04-01 18:25:58 +02:00
Cayo Puigdefabregas 6271c717a3 pass lshw and smart loadeds instead of raw data 2022-03-31 19:44:06 +02:00
Cayo Puigdefabregas 7e3904700f pass lshw dict instead of raw data 2022-03-31 19:42:50 +02:00
Cayo Puigdefabregas 76336ff34d change schema for lshw and smart data 2022-03-31 19:41:22 +02:00
Cayo Puigdefabregas 026a88acb8 fix comparation datas put both in utc time 2022-03-31 19:40:05 +02:00
Cayo Puigdefabregas 6fad773c91 change version of wb 2022-03-31 19:38:33 +02:00
Cayo Puigdefabregas 5eab44b46f new file for test 2022-03-31 19:38:05 +02:00
Cayo Puigdefabregas 7a532fb02c change label for labels 2022-03-31 16:12:35 +02:00
Cayo Puigdefabregas 1df6303f21 Jinja2==3.0.3 in requirements 2022-03-31 14:09:26 +02:00
Cayo Puigdefabregas aa5d93cf48 modularize labels instead of tags into inventory 2022-03-31 14:04:16 +02:00
Cayo Puigdefabregas 90ad7afdc8 review pr 212 mv schemas, refactor forms and clean code 2022-03-30 18:29:15 +02:00
Cayo Puigdefabregas 3be389c23f review pr 212 about refactor and schemas 2022-03-30 18:27:57 +02:00
Santiago L de23503f42 Drop numpy dependency: use math.hypot
Refactor code to adapt types: `numpy.hypot` supports pint units but
`math.hypot` expects float. It keeps behaviour because units are
not stored on database
2022-03-30 15:29:12 +02:00
Cayo Puigdefabregas ca71494e2b add wbid in the snapshots 2022-03-30 13:48:55 +02:00
Cayo Puigdefabregas 4881aac5c9 use numpy instead of math 2022-03-30 10:52:09 +02:00
Cayo Puigdefabregas cc2385cddf use py-dmidecode instead of dmidecode 2022-03-30 10:44:04 +02:00
Cayo Puigdefabregas 118726d207 math.hypot instead of numpy 2022-03-30 10:33:09 +02:00
Cayo Puigdefabregas 2c8d556396 add dmidecode instead of dmiparse 2022-03-30 10:30:34 +02:00
Cayo Puigdefabregas 7a6d2c33e0 add dmidecode instead of dmiparse 2022-03-30 10:26:51 +02:00
Cayo Puigdefabregas d70810e88b drop pdb 2022-03-30 10:21:33 +02:00