Commit Graph

514 Commits

Author SHA1 Message Date
Cayo Puigdefabregas 0883b4384a bugfix test workbench 2020-11-13 11:11:35 +01:00
Cayo Puigdefabregas b56c3d3e0a fixed some tests 2020-11-12 21:00:33 +01:00
Cayo Puigdefabregas 86f37d0cf1 test of merge 2 devices with 2 diferents tags one for device 2020-11-09 16:32:06 +01:00
Cayo Puigdefabregas 725e586e85 Merge branch 'testing' into bugfix/79-manual-merge 2020-11-09 16:11:12 +01:00
Cayo Puigdefabregas fb899b558f Merge branch 'testing' into feature/77-add-owner-device 2020-11-06 21:26:43 +01:00
Cayo Puigdefabregas 2055af222d checking if 2 users find the same computer but registered 2 times 2020-11-06 21:01:29 +01:00
Cayo Puigdefabregas bc5cbb2eff same computer saved from diferents users 2020-11-06 20:48:09 +01:00
Cayo Puigdefabregas bc923d5576 fixed test for check with owners 2020-11-06 17:14:16 +01:00
Cayo Puigdefabregas af9fe2d6b6 fixing tests 2020-11-05 16:31:57 +01:00
Cayo Puigdefabregas abe7783b93 fixed tests_devices 2020-11-03 20:26:32 +01:00
Cayo Puigdefabregas 19eca48db0 resolve conflict 2020-10-29 19:19:33 +01:00
cayop f7f7432c4e
Merge pull request #81 from eReuse/bugfix/74-json-backup-time-in-name
Bugfix/74 json backup time in name
2020-10-29 19:08:31 +01:00
Cayo Puigdefabregas 2dbcd2e7e2 add the snapshot file for test of debug 2020-10-29 17:50:52 +01:00
Cayo Puigdefabregas ed32f691f7 fixing test for new structure and adding debug test 2020-10-29 16:09:38 +01:00
cayop 6d4a7e7abb
Merge pull request #72 from eReuse/bugfix/64-bug-updated-date
Bugfix/64 bug updated date
2020-10-29 13:23:58 +01:00
Cayo Puigdefabregas 785d8091ea adding new test for check the debug file 2020-10-29 12:39:11 +01:00
Cayo Puigdefabregas 954dfa95a1 check in test this bug about time in the filename 2020-10-29 11:59:53 +01:00
Cayo Puigdefabregas 5717743d2f bug for moving tags 2020-10-28 22:15:04 +01:00
Cayo Puigdefabregas 3af8880bcd fixed endpoints of basic test 2020-10-28 21:57:24 +01:00
Jordi Nadeu 25f3cdb172
Merge pull request #71 from eReuse/bugfix/69-ereuseprice-computer-type
Bugfix/69 ereuseprice computer type
2020-10-28 17:59:37 +01:00
Cayo Puigdefabregas 0106728e4f complet test for basic manual merge 2020-10-28 13:29:45 +01:00
Cayo Puigdefabregas 889ee84f6a base of test merge 2020-10-27 19:14:23 +01:00
Jordi Nadeu 5c6803a467
Update proposal_extended_csv_report.csv 2020-10-22 17:15:14 +02:00
Jordi Nadeu 95bea41f02
Update complete.export.snapshot.yaml
Change endTime EraseSectors to make sense
2020-10-22 16:57:42 +02:00
Cayo Puigdefabregas 4847bdd19d change test for new csv 2020-10-22 15:54:42 +02:00
Cayo Puigdefabregas 216e748594 fixed test 2020-10-21 23:18:53 +02:00
Cayo Puigdefabregas a7c5460925 fixed test 2020-10-21 23:11:13 +02:00
Cayo Puigdefabregas 0a447ad816 fixed test 2020-10-21 23:04:49 +02:00
Cayo Puigdefabregas 1b772af374 fixed test 2020-10-21 22:56:57 +02:00
Cayo Puigdefabregas ef4c6af5ae fixed test 2020-10-21 22:48:40 +02:00
Cayo Puigdefabregas c23c16eee8 fixing test basic 2020-10-21 22:33:58 +02:00
Cayo Puigdefabregas fef2701ae3 add files for the test 2020-10-21 22:08:20 +02:00
Cayo Puigdefabregas 4ec0149375 add asserts to test 2020-10-21 22:07:56 +02:00
Cayo Puigdefabregas 2bababd69f fixing test 2020-10-21 13:05:28 +02:00
Cayo Puigdefabregas 10843b907d adding test 2020-10-19 13:06:54 +02:00
Cayo Puigdefabregas 0c5897a06c fixed test of devices 2020-10-16 16:42:43 +02:00
Cayo Puigdefabregas 3988079b01 drop pdb 2020-10-16 16:32:16 +02:00
Cayo Puigdefabregas e00c3f576c document new function 2020-10-16 16:31:54 +02:00
Cayo Puigdefabregas 7313f7cf73 fixed test 2020-10-16 16:26:37 +02:00
Cayo Puigdefabregas 139c1e290a resolve conflict 2020-10-16 15:12:21 +02:00
Cayo Puigdefabregas 76806299cd update devices when there are a new action 2020-10-16 15:08:54 +02:00
nad 75b5a4a710 Adding test and fix for Issue 69 EreusePrice Computer type 2020-10-15 13:19:47 +02:00
nad a7c3ea7317 Adding workbench file for Issue 69 EreusePrice Computer type 2020-10-15 13:18:51 +02:00
Cayo Puigdefabregas 79b4c738e9 change the name of the file 2020-10-15 11:00:11 +02:00
Cayo Puigdefabregas e4cf093b4b test of case when the time mark need to be updated 2020-10-14 13:41:28 +02:00
Cayo Puigdefabregas 150c73779d adding new tests of snapshots 2020-10-14 11:40:33 +02:00
Cayo Puigdefabregas d3ef6cc65d add user to the name file of json and more readable date 2020-10-13 15:59:39 +02:00
Cayo Puigdefabregas ae98d3154c TMP_SNAPSHOTS defined in config file 2020-10-13 15:37:21 +02:00
Cayo Puigdefabregas 49668a4f4f open files using with statement 2020-10-09 20:54:12 +02:00
Cayo Puigdefabregas 99a12b2b22 bugfix 2020-10-09 20:40:22 +02:00
Cayo Puigdefabregas 2a53e1672c using os.path.join instead of format 2020-10-09 20:29:02 +02:00
Cayo Puigdefabregas 3b93012584 fixing test with a bad snapshot 2020-10-08 14:48:22 +02:00
Cayo Puigdefabregas e36256ee72 clean test 2020-10-07 19:28:52 +02:00
Cayo Puigdefabregas 420b7ad4ab adding test_save_snapshot_in_file 2020-10-07 19:05:52 +02:00
Cayo Puigdefabregas 236806466a test backup snapshot 2020-10-07 18:28:07 +02:00
Cayo Puigdefabregas e6b2a92f7f base of the test with out serial number 2020-10-07 12:57:14 +02:00
Cayo Puigdefabregas cac9206dc9 resolve confict 2020-09-30 09:30:17 +02:00
Cayo Puigdefabregas c6500b9ae6 move the test in the specific files 2020-09-22 12:52:15 +02:00
Cayo Puigdefabregas fed6b57bbe import __version__ instead of open file __init__ 2020-09-22 11:57:39 +02:00
Cayo Puigdefabregas 66f963e90e bugfix adding re in test 2020-09-21 11:48:48 +02:00
Cayo Puigdefabregas 7f9be17c92 change pkg_resources for open __init__ in test too 2020-09-21 11:46:02 +02:00
Cayo Puigdefabregas 773bf3a200 fixing test_basic 2020-09-21 11:14:50 +02:00
Cayo Puigdefabregas aaaf118028 adding test of get version 2020-09-18 11:32:20 +02:00
Jordi Nadeu 927594f7a7
Merge pull request #50 from eReuse/feature/endpoints
Adding basic tests endpoints
2020-08-25 10:25:04 +02:00
nad b61398ee59 Adding two users on test_get_document_lots to check lot permissions 2020-08-18 21:02:47 +02:00
nad 1fccea2bcc Merge remote-tracking branch 'origin/testing' into feature/33-export-lot-description
# Conflicts:
#	ereuse_devicehub/resources/documents/documents.py
#	tests/test_documents.py
2020-08-18 19:31:43 +02:00
nad 6087044a5e Fixing test_get_multiple_lots and test_api_docs 2020-08-18 19:19:18 +02:00
Cayo Puigdefabregas a2b2be77f4 fixing get_device permissions 2020-08-18 12:35:04 +02:00
Cayo Puigdefabregas 3e653ee190 Merge branch 'testing' into feature/endpoints 2020-08-18 12:15:50 +02:00
nad 5c7444dc4d Merge remote-tracking branch 'origin/testing' into feature/33-export-lot-description
# Conflicts:
#	ereuse_devicehub/resources/documents/documents.py
#	ereuse_devicehub/resources/lot/views.py
#	tests/test_documents.py
2020-08-18 11:23:50 +02:00
Cayo Puigdefabregas 86cd36f3f8 change name of test_create_tag for test_get_tag 2020-08-17 18:46:44 +02:00
Cayo Puigdefabregas 2461a7c73f test endpoints 2020-08-17 12:51:38 +02:00
Jordi Nadeu b6138f9108
Merge branch 'testing' into feature/46-device-stock-control 2020-08-17 11:33:27 +02:00
nad 59932ba00d Adding exceptions to device_row.py file 2020-08-17 11:18:52 +02:00
nad c76c9d58f8 Deselect export tests for mvp 2020-08-12 11:59:12 +02:00
Cayo Puigdefabregas f97b239abe fixed bug diference model 2020-08-06 16:52:12 +02:00
Cayo Puigdefabregas d973b479cf return to put anonymous access to erasures documents 2020-08-06 15:55:14 +02:00
Cayo Puigdefabregas 27ab4cf2ef user instead of client 2020-08-05 18:19:27 +02:00
Cayo Puigdefabregas b90047bc4a Merge branch 'feature/46-device-stock-control' of https://github.com/eReuse/devicehub-teal into feature/46-device-stock-control 2020-08-05 12:25:12 +02:00
Cayo Puigdefabregas 597ff3dc11 add check of permissions 2020-08-05 12:24:36 +02:00
Cayo Puigdefabregas 19bff82873 fixing spaces in csv file 2020-08-05 12:23:24 +02:00
Cayo Puigdefabregas 96026caabb add new basic snapshot 2020-08-05 12:22:52 +02:00
Cayo Puigdefabregas f424309c17 add second user as user2 in features in conftest 2020-08-05 12:22:06 +02:00
Jordi Nadeu eb859ce6c2
Fixing test_get_all_lots 2020-08-05 11:54:43 +02:00
Jordi Nadeu 04557905c8
Merge branch 'testing' into feature/46-device-stock-control 2020-08-05 11:49:18 +02:00
Cayo Puigdefabregas 49ea96b862 UniqueViolation intead of DBError in test_snapshot_upload_twice_uuid_error 2020-08-04 12:10:18 +02:00
Cayo Puigdefabregas 2f1d066162 add /document/stock/ to test_api_docs 2020-08-04 10:27:49 +02:00
nad cb55312852 Fixing test_snapshot.py::test_snapshot_post_without_hid 2020-08-03 19:16:11 +02:00
nad a2303498cd Minors comments changes and new test_get_all_lots was added 2020-07-28 16:22:17 +02:00
nad b524ec7398 Creating export lots test 2020-07-28 16:14:56 +02:00
nad 322af04ff9 Creating new test for device stock control 2020-07-27 13:57:31 +02:00
Cayo Puigdefabregas 1a6afe29d3 bugfix tag test with cli 2020-07-23 19:20:53 +02:00
Cayo Puigdefabregas 1b79f76e27 bugfix register desktop no hid no tags 2020-07-23 13:56:19 +02:00
Cayo Puigdefabregas c87552964b add xfail in test_sync_execute_register_desktop_no_hid_no_tag 2020-07-23 08:02:14 +02:00
Cayo Puigdefabregas 08b2fe90d0 bugfix: user before tag_id 2020-07-23 07:56:51 +02:00
Cayo Puigdefabregas 46b985e222 bugfix: defined owner_id in fixture tag_id 2020-07-22 18:40:27 +02:00
Cayo Puigdefabregas dc24599075 bugfix: DBError insted of UniqueViolation in raise check 2020-07-22 15:41:04 +02:00
Cayo Puigdefabregas b01c241685 bugfix econdary_workbench_link tag 2020-07-22 14:25:42 +02:00
Cayo Puigdefabregas 3179bba9e9 bugfix add owner_id when device is create 2020-07-22 14:22:42 +02:00
Cayo Puigdefabregas d728204741 bugfix: adding user when Tag is create 2020-07-22 14:21:38 +02:00
Cayo Puigdefabregas a005d6f597 bugfix test_get_devices 2020-07-22 12:11:21 +02:00
Cayo Puigdefabregas 546dfd80be bugfix/test_erase_privacy_standards_endtime_sort 2020-07-20 20:21:44 +02:00
nad e3abc1d284 Fixing test_workbench.py::test_workbench_fixtures 2020-07-20 12:45:41 +02:00
nad 02040199bb Fixing test_basic.py::test_api_docs and test_workbench.py::test_real_custom 2020-07-15 13:11:50 +02:00
nad ce0aedd0d2 Fixing test_snapshot::test_snapshot_component_add_remove 2020-07-15 11:58:38 +02:00
Jordi Nadeu d041ef6a54
First iteration test suite mvp (#37)
* First commit marking mvp decorator

* Minor code style enhancements

* Fixing some mvp test

* Fixing some mvp test

* Fixing test_sync_execute_register_no_hid_tag_not_linked

* First iteration with almost all mvp tests working correctly

* Rollback models.pyi of lot and device resources

* Changing Github action to execute tests with tag mvp
2020-07-07 17:17:41 +02:00
Jordi Nadeu 75150437b6
Adding severity to incomplete HID when POST an action Snapshot (#32)
* Adding severity to incomplete HID snapshot

* Minor fixes when HID are null
2020-07-07 17:17:19 +02:00
nad 115986c7e0 Adding test to check if upload snapshot without HID fields 2020-03-25 21:32:48 +01:00
nad ce8bcc7577 Fixing test api docs 2020-03-11 13:22:24 +01:00
jordi.nadeu d1cff3e44e first iteration integration with blockchain 2020-03-11 13:04:18 +01:00
Xavier Bustamante Talavera 92709512d0 Fix path without __file__ 2019-07-07 21:38:37 +02:00
Xavier Bustamante Talavera ce961a1bed Add MakeAvailable and Repair; add device.image; add templating file, change layout for project LOT 2019-07-07 21:36:09 +02:00
Xavier Bustamante Talavera f8ec8fc882 Change ReadyToUse for Available 2019-07-06 15:06:22 +02:00
Xavier Bustamante Talavera 922a8c743a Fix last commit changes 2019-07-02 10:42:56 +02:00
Xavier Bustamante Talavera c92d6b3282 Merge branch 'rate' into devel 2019-07-01 11:31:18 +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
nad 02b92e2cf7 fix error in test multiple rates 2019-06-19 11:41:22 +02:00
Xavier Bustamante Talavera b0d8ca39fe Merge remote-tracking branch 'origin/rate' into rate 2019-06-12 16:50:08 +02:00
Xavier Bustamante Talavera 928863bfdf Update comments in actions; remove workbench folder in rate 2019-06-12 16:49:55 +02:00
nad 970e1db228 improve reports and rate tests 2019-05-20 19:32:29 +02:00
nad 82bf20ff3d debug and improve tests about rate v1 2019-05-14 20:32:24 +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 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 5ec7ed54e6 refactor tests to new rate version 2019-04-23 21:30:08 +02:00
nad 75e1817e9c pass rate workbench test v1 2019-04-16 17:47:28 +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
nad d0eb5cd9c5 first iteration tests ratev2 2019-03-13 16:32:59 +01:00
nad c5da07ef9c Add new tests and update some fixtures 2019-03-06 18:44:21 +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 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 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 bf8a943883 Remove re-setting ordered_components hotfix; bump ereuse-utils 2019-01-29 19:01:20 +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 f570e9d3d0 Add inventories with dispatcher 2019-01-23 16:55:04 +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
nad 4c4133c347 debug rate workbench tests 2018-11-27 19:06:28 +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 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 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 2d525231c3 Fix searching for IDs, numbers, HP, and Asus 2018-10-31 11:40:45 +01:00
Xavier Bustamante Talavera 96933b4d7e Fix David wrong endTime 2018-10-27 09:31:53 +02:00
Xavier Bustamante Talavera 784c5d2298 xfail test_snapshot_real_eee_10001pxd 2018-10-27 09:06:15 +02:00
Xavier Bustamante Talavera a600dd8e54 Fix test_test_data_storage 2018-10-27 09:01:13 +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 78121d39b9 Update fixtures csv files 2018-10-25 13:39:28 +02:00
JNadeu 81051e9951 Add assert 'Register in' is a date 2018-10-25 12:40:58 +02:00
JNadeu 73c79fc827 Add todo in tests rate and workbench 2018-10-25 12:39:33 +02:00
Xavier Bustamante Talavera 8567c629cb Add new fixtures and dummy 2018-10-25 12:36:25 +02:00
JNadeu c299656f05 Add fixtures csv files and exports tests 2018-10-24 21:09:54 +02:00
JNadeu cad0b64125 Merge remote-tracking branch 'origin/master' into reports 2018-10-23 17:37:43 +02:00
JNadeu 50a365b4bf add basic.csv file to use in test_reports 2018-10-23 17:36:53 +02:00
Xavier Bustamante Talavera 6abc11b40c Add keyboard fixture 2018-10-23 16:24:50 +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
JNadeu 40d3529221 Add test assert csv 2018-10-18 17:36:14 +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 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 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 e92f64d88d Add test_reports file 2018-10-11 18:19:33 +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 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 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 240b1fb922 Use a not-limit year 2018-09-18 17:11:40 +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 4953f7fb28 Add missing file 2018-09-10 18:01:03 +02:00
Xavier Bustamante Talavera 8f53f15f27 Test snapshot eee 1000h and workbench fixtures 2018-09-08 16:46:39 +02:00
Xavier Bustamante Talavera 4bb2850423 Test creating tags through the CLI 2018-09-07 12:52:04 +02:00
Xavier Bustamante Talavera ca7c89633b Correctly handle unique constraints 2018-09-07 12:35:32 +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 9dbe76670c change start/endtime of tests with dummy values; fix readme for testing 2018-08-26 19:04:42 +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 8f5b93739a Add password to test db 2018-07-08 15:00:28 +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 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 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 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