Commit Graph

1827 Commits

Author SHA1 Message Date
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
RubenPX 57e35c016f fix link readme (reviewed) 2022-04-04 17:59:51 +02:00
RubenPX c5f006d40f fix troubleshooting and link 2022-04-04 17:45:04 +02:00
RubenPX 6b7cf88a2f fix typo developement to development 2022-04-04 17:25:39 +02:00
RubenPX 584f8b990a change config to set readme.md instead of rst
Necesary to build wheel package
2022-04-04 17:23:25 +02:00
RubenPX 3119658098
Update developement-setup.md
Co-authored-by: Santiago L <santiago@ribaguifi.com>
2022-04-04 17:17:07 +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
RubenPX 4656bbf872 add developement setup guide 2022-04-04 12:35:52 +02:00
RubenPX e1821c3a8e Comment some app.py lines that cause an error
Request by @slamora
2022-04-04 12:35:32 +02:00
RubenPX 3967d6a0c4 Convert readme to markdown 2022-04-04 12:34:33 +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
Cayo Puigdefabregas fb29a0b07f add DMIParse 2022-03-30 10:20:27 +02:00
Cayo Puigdefabregas b7b6586f9e Merge branch 'feature/server-side-render-parser-3021' of github.com:eReuse/devicehub-teal into feature/server-side-render-parser-3021 2022-03-30 10:13:04 +02:00
Cayo Puigdefabregas fe8f636498 requirements pint 2022-03-30 10:12:54 +02:00
Santiago L 1a17ce758d Lock Ninja2 < 3.1 is incompatible with Flask 1.0.x 2022-03-30 10:01:26 +02:00
Cayo Puigdefabregas 9bb03d282d fix tests 2022-03-29 18:42:43 +02:00
Cayo Puigdefabregas 8fa1f41006 add requirements and drop dependencies 2022-03-29 17:32:12 +02:00