Commit Graph

33 Commits

Author SHA1 Message Date
nad 306bad966b Adding lot permissions to LotsDocumentView 2020-08-18 21:02:54 +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
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
cayop 24578e7188
Merge pull request #48 from eReuse/feature/46-device-stock-control
Feature/46-device-stock-control
2020-08-17 18:11:48 +02:00
nad a2a24f20cc Reformat code following PEP8 2020-08-17 16:45:18 +02:00
nad 65ba42ada8 Fixing test_documents.py::test_export_basic_snapshot and test_documents.py::test_export_full_snapshot 2020-08-17 15:57:27 +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
Cayo Puigdefabregas 801a8a6c4a add filter as user owner 2020-08-06 16:51:49 +02:00
Cayo Puigdefabregas d973b479cf return to put anonymous access to erasures documents 2020-08-06 15:55:14 +02:00
Cayo Puigdefabregas cdf36583a9 bug fixed: there is no point in having self.AUTH for view DocumentDef 2020-08-05 17:51:13 +02:00
Jordi Nadeu a052abc72d
Minor fix indentation error 2020-08-05 11:56:59 +02:00
Jordi Nadeu 04557905c8
Merge branch 'testing' into feature/46-device-stock-control 2020-08-05 11:49:18 +02:00
nad 6017476822 Adding query to Lot views 2020-08-03 18:25:55 +02:00
nad a2303498cd Minors comments changes and new test_get_all_lots was added 2020-07-28 16:22:17 +02:00
nad c0fcfcfdbf Creating 'documents/lots/' endpoint 2020-07-28 16:16:17 +02:00
nad c90fa4e84e Adding stock row class for new document endpoint 2020-07-27 13:56:56 +02:00
nad 936c042c62 Creating document stock endpoint 2020-07-23 20:55:27 +02:00
Cayo Puigdefabregas 114613ddf7 document stock 2020-07-23 15:56:51 +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
nad 7f5dcb3679 Fixing export csv fields (first iteration) 2020-03-11 18:47:27 +01:00
jordi.nadeu d1cff3e44e first iteration integration with blockchain 2020-03-11 13:04:18 +01:00
jordi.nadeu b99a332cd8 change erasure report and public link html templates 2019-10-22 15:54:39 +02:00
nad 3d6fef9927 change comments to comply with the standard PEP 257 2019-06-19 13:35:26 +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 16d00256df Review rate changes 2019-05-08 19:12:05 +02:00
nad 7b6a2cd1db refactor score code to new rate v2 structure 2019-04-30 02:02:23 +02: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 d2160b9db5 Add cache; bugfixing 2019-01-29 16:29:08 +01:00
Xavier Bustamante Talavera b1aa79fd0a Small bugfixes 2019-01-16 20:40:27 +01:00
Xavier Bustamante Talavera d5a71a7678 Add document resource and erase certificate 2018-11-21 14:26:56 +01:00