Commit Graph

1827 Commits

Author SHA1 Message Date
Xavier Bustamante Talavera ad1781b9ec Set version, variant, sku as CIText 2019-07-01 11:30:48 +02:00
Xavier Bustamante Talavera 7e8c36ab3e Snyc with new Workbench models; fix SSL bug 2019-06-29 16:26:14 +02:00
nad 3d6fef9927 change comments to comply with the standard PEP 257 2019-06-19 13:35:26 +02:00
Xavier Bustamante Talavera 928863bfdf Update comments in actions; remove workbench folder in rate 2019-06-12 16:49:55 +02:00
nad c19783954e adding comments about rate algorithm 2019-05-14 20:31:43 +02:00
Xavier Bustamante Talavera 61f4c127d4 Change event to action complying with schema.org 2019-05-11 16:27:22 +02:00
Xavier Bustamante Talavera 0dc8ced255 Sort events by default using end_time 2019-05-10 18:00:38 +02:00
Xavier Bustamante Talavera 58be2162f7 Fix imprecisions in rate algorithms and small bugfixes 2019-05-10 11:58:38 +02:00
Xavier Bustamante Talavera 16d00256df Review rate changes 2019-05-08 19:12:05 +02:00
Xavier Bustamante Talavera e6d496872c Merge branch 'master' into rate
# Conflicts:
#	ereuse_devicehub/resources/event/models.py
#	ereuse_devicehub/resources/event/models.pyi
#	ereuse_devicehub/resources/event/schemas.py
2019-05-03 15:02:09 +02:00
Xavier Bustamante Talavera 92be9c1aa1 Add fields in display and device; add battery, measureBattery 2019-05-03 14:31:49 +02:00
nad 252f995ac7 add order to snapshot events 2019-05-02 18:04:14 +02:00
nad 7bb514d23c rewrite some tests to rate v2 structure 2019-05-02 17:49:15 +02:00
nad 2108526cec fix some snapshots errors 2019-04-30 10:26:06 +02:00
nad 1ca7df4969 refactor score fixtures files (snapshots) to new rate v2 structure 2019-04-30 02:03:09 +02:00
nad 7b6a2cd1db refactor score code to new rate v2 structure 2019-04-30 02:02:23 +02:00
nad 880b5e706e refactor score to new rate version structure 2019-04-23 21:27:31 +02:00
nad 75e1817e9c pass rate workbench test v1 2019-04-16 17:47:28 +02:00
nad 0c5fa197d7 Merge remote-tracking branch 'origin/rate' into rate
# Conflicts:
#	ereuse_devicehub/resources/event/models.py
#	ereuse_devicehub/resources/event/rate/main.py
2019-04-11 18:30:53 +02:00
nad 825c07c5f9 first commit refactor score 2019-04-11 18:29:51 +02:00
Xavier Bustamante Talavera 8f4231dc1c Merge branch 'master' into rate
# Conflicts:
#	ereuse_devicehub/resources/event/models.py
2019-04-10 11:20:54 +02:00
nad 17705e459e adding more functionality test rate v2 2019-04-10 10:46:43 +02:00
Xavier Bustamante Talavera e47748563e Update docs 2019-03-26 10:55:38 +01:00
nad 39c930f6ae adding provisional rate class (device type) in models 2019-03-20 00:08:05 +01:00
nad d0eb5cd9c5 first iteration tests ratev2 2019-03-13 16:32:59 +01:00
nad 40a2ed3916 first iteration new rate v2 2019-03-13 13:06:58 +01:00
nad a7b2c056ac Adding more mobile characteristics [Ratev2] 2019-03-10 20:44:10 +01:00
nad 147b86f889 Adding benchmarks and test [Ratev2] 2019-03-10 20:41:10 +01:00
nad 0f508a1d59 first iteration models ratev2 2019-03-07 17:07:59 +01:00
nad f1f285eb1d Add new Events DataStorage fields in export 2019-03-06 18:42:50 +01:00
Xavier Bustamante Talavera 13ffab7022 Move export to Documents 2019-02-28 18:21:24 +01:00
Xavier Bustamante Talavera 208814ecf2 Merge branch 'master' into reports
# Conflicts:
#	ereuse_devicehub/resources/device/views.py
#	tests/test_rate_workbench_v1.py
#	tests/test_workbench.py
2019-02-28 17:31:18 +01:00
nad ddb1877133 first commit rate v2; adding Quality, Functionality Rates class 2019-02-27 23:36:26 +01:00
Xavier Bustamante Talavera e813fb02c7 Do not return tag token provider from Inventory 2019-02-27 10:33:37 +01:00
Xavier Bustamante Talavera 07e8be829e Unify Snapshot's POST view with Devicehub's; bugfixes 2019-02-18 12:43:50 +01:00
Xavier Bustamante Talavera 32e696c57c Fix rate related issues 2019-02-13 18:59:14 +01:00
Xavier Bustamante Talavera 15f705dd50 Add Tests managing inventories; small bugfixes 2019-02-11 21:34:45 +01:00
Xavier Bustamante Talavera 6c4c89ac48 Use Postgres 11; enhance search query with websearch; really use indexes, add hash index; fix partially patching lots 2019-02-07 13:47:42 +01:00
Xavier Bustamante Talavera 04358a5506 Fix incorrect rate query 2019-02-05 17:59:15 +01:00
Xavier Bustamante Talavera d6ca5e2922 Fix incorrect dates; add final_flush, move committing after serializing 2019-02-04 18:20:50 +01:00
Xavier Bustamante Talavera 2cbaf14c45 Only optionally drop common db 2019-02-04 13:38:46 +01:00
Xavier Bustamante Talavera a89f557c41 Update dependencies 2019-02-04 13:01:36 +01:00
Xavier Bustamante Talavera 198a89a0b1 Add sphinx extension dhclass; generate better API docs; remove cache for lots 2019-02-03 17:12:53 +01:00
Xavier Bustamante Talavera bf8a943883 Remove re-setting ordered_components hotfix; bump ereuse-utils 2019-01-29 19:01:20 +01:00
Xavier Bustamante Talavera d2160b9db5 Add cache; bugfixing 2019-01-29 16:29:08 +01:00
Xavier Bustamante Talavera 74860be347 Add things_response; create tags through ereuse Tag 2019-01-26 12:49:31 +01:00
Xavier Bustamante Talavera ca7033f6df Fix sqlalchemy warnings; improve CLI 2019-01-23 17:59:29 +01:00
Xavier Bustamante Talavera f570e9d3d0 Add inventories with dispatcher 2019-01-23 16:55:04 +01:00
Xavier Bustamante Talavera 9272674760 Add inventories 2019-01-21 16:08:55 +01:00
Xavier Bustamante Talavera f0f1376b7d Small bugfixes 2019-01-19 19:19:35 +01:00
Xavier Bustamante Talavera b1aa79fd0a Small bugfixes 2019-01-16 20:40:27 +01:00
Xavier Bustamante Talavera 5fb1471d9b Use type for HID 2019-01-02 17:52:43 +01:00
Xavier Bustamante Talavera 710432ef12 Making API more uniform 2018-12-30 12:43:29 +01:00
nad 4c4133c347 debug rate workbench tests 2018-11-27 19:06:28 +01:00
Xavier Bustamante Talavera 33f6ee540b Add Install.address; fix asus test 2018-11-26 13:11:07 +01:00
Xavier Bustamante Talavera 7a0629cf06 Add real TIS tag 2018-11-22 19:01:21 +01:00
Xavier Bustamante Talavera 1bc290dc21 Add soundcard to .pyi 2018-11-21 16:09:56 +01:00
Xavier Bustamante Talavera d5a71a7678 Add document resource and erase certificate 2018-11-21 14:26:56 +01:00
Xavier Bustamante Talavera b59721707d Fix test_snapshot_different_properties_same_tags 2018-11-17 20:21:11 +01:00
Xavier Bustamante Talavera 91beed87ee Working Price; working test mobile with imei; update manual rate test 2018-11-17 19:22:41 +01:00
Xavier Bustamante Talavera 9c3de1c258 Complete ErasePhysical and EraseBasic.standards; remove EraseBasic.zeros 2018-11-17 18:24:34 +01:00
Xavier Bustamante Talavera 955fb4a33d Add processes and empty tests 2018-11-17 17:03:03 +01:00
Xavier Bustamante Talavera 0cc2bdba4d Add skeleton for computing erasure standards 2018-11-15 13:35:19 +01:00
JNadeu 3e636ea2c9 fix reports test and fixtures 2018-11-13 17:58:26 +01:00
JNadeu ee231aecb9 Merge remote-tracking branch 'origin/master' into reports
# Conflicts:
#	ereuse_devicehub/resources/device/views.py
2018-11-13 16:58:47 +01:00
Xavier Bustamante Talavera 0a9fbb0226 Delete lots; add LotParent view; use parents, all_devices relationships; return uiTree with list of lots and parents 2018-11-13 15:52:27 +01:00
Xavier Bustamante Talavera 560e0ed8dc Add docstrings to event models; remove redundant generic test 2018-11-12 18:15:24 +01:00
Xavier Bustamante Talavera 0ec06808ce Add Mixer 2018-11-12 11:59:49 +01:00
Xavier Bustamante Talavera 048a03801b Nicely fix search query being always a string 2018-11-11 22:18:10 +01:00
Xavier Bustamante Talavera bcf59de383 Delete lots; add LotDeviceDescendants view really fixing querying devices in lots 2018-11-11 21:52:55 +01:00
Xavier Bustamante Talavera bd0eb3aad3 Add Device problems, privacy, working; Add event ErasePhysical 2018-11-09 11:22:13 +01:00
Xavier Bustamante Talavera e009bf4bc1 Change Event.error/incidence for Event.severity 2018-11-08 17:37:14 +01:00
Xavier Bustamante Talavera b5e3d0c6ec Add description in lot, xfail test for lot delete 2018-11-06 18:08:57 +01:00
Xavier Bustamante Talavera 55a210bced Add many indexes on FK and very used properties 2018-11-04 23:00:51 +01:00
Xavier Bustamante Talavera 5bc72fbe8b Fix inconsistencies in filtering devices inside lots 2018-11-04 22:40:14 +01:00
Xavier Bustamante Talavera afb2815883 Add regenerate-search 2018-10-31 12:27:16 +01:00
Xavier Bustamante Talavera 3962dfe3b8 Fix searching for IDs, numbers, HP, and Asus 2018-10-31 11:59:12 +01:00
Xavier Bustamante Talavera 2d525231c3 Fix searching for IDs, numbers, HP, and Asus 2018-10-31 11:40:45 +01:00
Xavier Bustamante Talavera 90e02c5624 Simplify version and apache, bump to 0.2.0b1 2018-10-29 18:51:11 +01:00
Xavier Bustamante Talavera b43e6f9e14 Fix TestDataStorage command_timeout smallint out of range 2018-10-27 09:52:11 +02:00
Xavier Bustamante Talavera 42c5bee947 Fix benchmark rates not using floats; add oreo and david's pc 2018-10-27 08:56:58 +02:00
JNadeu 9b265d27e8 Clean code export csv 2018-10-25 12:44:24 +02:00
Xavier Bustamante Talavera 8567c629cb Add new fixtures and dummy 2018-10-25 12:36:25 +02:00
JNadeu e17352879a Add generic export computer 2018-10-24 21:11:32 +02:00
JNadeu c299656f05 Add fixtures csv files and exports tests 2018-10-24 21:09:54 +02:00
JNadeu 97289cdfea Merge remote-tracking branch 'origin/master' into reports 2018-10-24 11:01:55 +02:00
Xavier Bustamante Talavera fa7c4d10cf Check for html version of device in dummy; add TestDataStorage incidence from SMART 2018-10-23 22:54:27 +02:00
JNadeu cfc5c33f39 add erase reports fields 2018-10-23 18:59:58 +02:00
JNadeu cad0b64125 Merge remote-tracking branch 'origin/master' into reports 2018-10-23 17:37:43 +02:00
Xavier Bustamante Talavera 3978e606fd Add rates to dummy computers 2018-10-23 16:24:26 +02:00
Xavier Bustamante Talavera 10c73a4e75 Add ComputerAccessory, Networking, Printer, Sound, Video devices 2018-10-23 15:37:37 +02:00
Xavier Bustamante Talavera 7ad7ab1d8a PATCH lot name 2018-10-19 10:35:23 +02:00
JNadeu 654edf35a1 Add if in find 'text/csv' 2018-10-18 18:16:49 +02:00
Xavier Bustamante Talavera 6751f0db16 Change manufacturer endpoint query name for search 2018-10-18 13:08:42 +02:00
Xavier Bustamante Talavera 03871b4462 Fix tags not added to device search 2018-10-18 10:09:10 +02:00
JNadeu c4129a2a1a Merge remote-tracking branch 'origin/master' into reports 2018-10-17 12:31:31 +02:00
Xavier Bustamante Talavera 4b763ed1e8 Bigfixes for tag demo 2018-10-16 16:30:10 +02:00
Xavier Bustamante Talavera 84dd154cbe Update layout 2018-10-16 11:13:21 +02:00
Xavier Bustamante Talavera b391950d97 Add str() to many events; small bugfixes 2018-10-16 08:46:55 +02:00
JNadeu 79f41f3501 Merge remote-tracking branch 'origin/master' into reports 2018-10-15 14:50:59 +02:00
JNadeu 06d6e31c99 Merge remote-tracking branch 'origin/master' into reports 2018-10-15 14:43:46 +02:00
Xavier Bustamante Talavera 47f5bf69ae Return ranges in AggregateRate 2018-10-15 14:20:26 +02:00
Xavier Bustamante Talavera 5301242dbd Fix not adding tag.secondary to search 2018-10-15 13:12:13 +02:00
Xavier Bustamante Talavera 8889496a34 Fix Price not always using Decimal 2018-10-15 11:21:21 +02:00
Xavier Bustamante Talavera 97536c5ce1 Fix bug when device rate is low 2018-10-14 23:56:54 +02:00
Xavier Bustamante Talavera 2aaa79e8b4 Fix one tag id per organization 2018-10-14 22:31:32 +02:00
Xavier Bustamante Talavera 9cffa92125 Update description of Rate and Device; remove PhotoboxRate schemas 2018-10-14 20:10:52 +02:00
Xavier Bustamante Talavera 10c1a3f37d Bugfixes with rate 2018-10-14 11:37:10 +02:00
Xavier Bustamante Talavera 3cc510831c Add states and quick-access properties on Device; merge in ereuse-rate 2018-10-13 14:53:46 +02:00
JNadeu f4418fc72a Add reports files, init report commit 2018-10-11 17:51:58 +02:00
Xavier Bustamante Talavera 319e041ebc Small improvements in lots and related testing 2018-10-11 11:22:59 +02:00
Xavier Bustamante Talavera 923ed8af68 Change lot view's filter for search 2018-10-08 17:51:51 +02:00
Xavier Bustamante Talavera df31074775 Toggle formats when finding lots; add device.lots when GETting devices 2018-10-08 17:32:45 +02:00
Xavier Bustamante Talavera a3f6d7877a Change name to title when returning lots 2018-10-08 12:25:28 +02:00
Xavier Bustamante Talavera a76560d253 Better printing in Dummy; change naming of TestHardDriveLength; bump utils to 0.4b9 2018-10-08 10:37:32 +02:00
Xavier Bustamante Talavera 863578559c Filter devices by being inside lots 2018-10-06 12:45:56 +02:00
Xavier Bustamante Talavera 7e4a0981a1 Add /lots/ find method returning nested lots 2018-10-05 18:57:35 +02:00
Xavier Bustamante Talavera 4f0493c464 Update pagination and return URL for Lot, Device, Event resources 2018-10-05 17:13:23 +02:00
Xavier Bustamante Talavera d1a23cbf9d Fix failing click dummy execution; speed-up testing 2018-10-05 14:35:51 +02:00
Xavier Bustamante Talavera 94c44e3480 Add Smartphone; remove Inventory and use DeviceView 2018-10-04 10:59:31 +02:00
Xavier Bustamante Talavera 3bd4168174 Add macros 2018-10-03 15:30:34 +02:00
Xavier Bustamante Talavera 77c96c5956 Add public device view 2018-10-03 14:51:22 +02:00
Xavier Bustamante Talavera 38060d47ec Add Manufacturer 2018-09-30 19:40:28 +02:00
Xavier Bustamante Talavera 042b7718ec Use SanitizedStr and CITText, lowering many strings 2018-09-30 12:29:33 +02:00
Xavier Bustamante Talavera 517c21789d Fix not creating tags with providers; check if default org is created 2018-09-29 19:39:38 +02:00
Xavier Bustamante Talavera f80e6a0764 Use __name__ instead of __package__ as recommended by flask 2018-09-29 15:55:29 +02:00
Xavier Bustamante Talavera 83ade6de8f Do not use tests in dummy 2018-09-29 15:30:20 +02:00
Xavier Bustamante Talavera c0073e9212 Add DeviceSearch 2018-09-29 12:24:22 +02:00
Xavier Bustamante Talavera 863d3b5639 Fix getting wrong lots from inventory 2018-09-21 11:25:22 +02:00
Xavier Bustamante Talavera bc95fa98b1 Ensure only computers can have components 2018-09-21 10:43:15 +02:00
Xavier Bustamante Talavera 7cfae43c7a Add / remove devices from lots with POST / DELETE 2018-09-20 18:25:47 +02:00
Xavier Bustamante Talavera f56ca473e8 Create eTags, lots, and events in dummy 2018-09-20 16:40:41 +02:00
Xavier Bustamante Talavera 32837f5f59 Link tags to devices through PUT; update client 2018-09-20 11:51:25 +02:00
Xavier Bustamante Talavera 3b0f483a90 Add secondary id to tags 2018-09-20 09:28:52 +02:00
Xavier Bustamante Talavera f7112d7fe1 Add Lot.parents 2018-09-12 14:53:14 +02:00
Xavier Bustamante Talavera aa52367f03 Iterate over SQLA Result / Query instead of .all() 2018-09-11 22:51:13 +02:00
Xavier Bustamante Talavera 39c79aef04 View for adding / removing lots / devices from lots 2018-09-11 21:50:40 +02:00
Xavier Bustamante Talavera 8f53f15f27 Test snapshot eee 1000h and workbench fixtures 2018-09-08 16:46:39 +02:00
Xavier Bustamante Talavera 804a696390 Correctly place teal imports 2018-09-07 12:38:02 +02:00
Xavier Bustamante Talavera ca7c89633b Correctly handle unique constraints 2018-09-07 12:35:32 +02:00
Xavier Bustamante Talavera d54609543e Explicitly inherit ids from EventWithOneDevice's subclasses 2018-09-06 19:43:59 +02:00
Xavier Bustamante Talavera b76c9033e8 Update small wording 2018-09-06 19:43:27 +02:00
Xavier Bustamante Talavera abad0fa392 Small cleanup; update teal and bump to 0.2.0a13 2018-09-03 08:55:15 +02:00
Xavier Bustamante Talavera 08a250f162 Change name Edge for Path and use py interface 2018-08-27 16:32:45 +02:00
Xavier Bustamante Talavera 1b66888bd7 Add roots() method in lots 2018-08-10 00:52:01 +02:00
Xavier Bustamante Talavera 2ed558ac2b Enhance Lot; use timezone aware datetime 2018-08-09 21:46:54 +02:00
Xavier Bustamante Talavera f5d69070e6 Draft on lot 2018-08-08 21:25:53 +02:00
Xavier Bustamante Talavera bc433d80e9 enhance testing 2018-08-03 20:07:05 +02:00
Xavier Bustamante Talavera 42b0b0ebbc Complete events and agents. Bump to 0.2.0a11. 2018-08-03 18:15:08 +02:00
Xavier Bustamante Talavera 8efca0d589 Use teal.test_import_resource; reformat imports; add generic events 2018-07-22 22:42:49 +02:00
Xavier Bustamante Talavera 6d85f314ef Add cpu.threads and network.wireless; add snapshots to testing / dummy 2018-07-19 21:25:06 +02:00
Xavier Bustamante Talavera 6f3ea001fe Fix inventory not nesting devices 2018-07-17 19:00:07 +02:00
Xavier Bustamante Talavera c1a3b23d8b Integrate with rate 2018-07-14 16:41:22 +02:00
Xavier Bustamante Talavera 5029c16873 Better installation; add example_app 2018-07-07 18:51:15 +02:00
Xavier Bustamante Talavera af885c2aec First real snapshots :-) 2018-07-02 12:52:54 +02:00
Xavier Bustamante Talavera cd8928e1cd Remove passed_lifetime; add virtual chassis; bump to 0.2.0a9 2018-06-27 10:40:21 +02:00
Xavier Bustamante Talavera 1c5b4e0b16 Update device structure 2018-06-26 15:36:21 +02:00
Xavier Bustamante Talavera b0b455d4f0 Update device structure 2018-06-26 15:35:13 +02:00
Xavier Bustamante Talavera 10f3aa7d35 Improve api generation; remove unneeded views 2018-06-24 16:57:49 +02:00
Xavier Bustamante Talavera eb815a8171 Fix more installation issues 2018-06-21 18:10:19 +02:00
Xavier Bustamante Talavera eccb4e7d25 Fix installation issues 2018-06-21 17:39:40 +02:00
Xavier Bustamante Talavera 21d1a96aff Add computer monitor; dummy; fix 2018-06-20 23:18:15 +02:00
Xavier Bustamante Talavera ef132098cb Pass test_workbench_server_condensed 2018-06-19 18:38:42 +02:00
Xavier Bustamante Talavera f00c6f2f49 Fix syncing for Add/remove 2018-06-16 15:33:56 +02:00
Xavier Bustamante Talavera d2af894174 Sync snapshot; add event listeners to auto-update device relationships 2018-06-16 12:41:12 +02:00
Xavier Bustamante Talavera 5538e5ac69 Fix UUID in events 2018-06-15 15:31:03 +02:00
Xavier Bustamante Talavera e3a887d9fa Update inventory; pass many tests 2018-06-14 15:14:23 +02:00
Xavier Bustamante Talavera b56fbeeca7 Add inventory and missing fields 2018-06-12 16:50:05 +02:00
Xavier Bustamante Talavera b9f989270d Polish db class diagram 2018-06-10 18:47:49 +02:00
Xavier Bustamante Talavera aa45d1b904 Add Tag support; sync with tags; use SQLAlchemy's collection_class; set autoflush to false 2018-05-30 12:49:40 +02:00
Xavier Bustamante Talavera 5188507400 Adapt to Flask 1.0 2018-05-17 09:59:17 +02:00
Xavier Bustamante Talavera 4ab7d421a4 Simplify Snapshot; improve error-handling in tests 2018-05-16 15:23:48 +02:00
Xavier Bustamante Talavera 439f7b9d58 Simplify dump; first simple snapshot-components passing 2018-05-13 15:13:12 +02:00
Xavier Bustamante Talavera ac26d8d610 Get resources correctly with polymorphic 2018-05-11 18:58:48 +02:00
Xavier Bustamante Talavera 78b5a230d4 First Snapshot attempt 2018-04-30 19:58:19 +02:00
Xavier Bustamante Talavera 8723b379b0 Update to functional endpoint 2018-04-27 19:16:43 +02:00
Xavier Bustamante Talavera c4b6553c8c Prototyping 2018-04-10 17:06:39 +02:00