Commit Graph

154 Commits

Author SHA1 Message Date
Cayo Puigdefabregas 328facab50 adding dhid 2021-09-22 11:30:37 +02:00
Cayo Puigdefabregas 1466cbc4f4 fixing bug of csv 2021-09-21 12:44:07 +02:00
Cayo Puigdefabregas 3559b98535 fixing bug 2021-09-20 16:16:53 +02:00
Cayo Puigdefabregas f398c50288 clean old code as documents 2021-09-06 12:44:57 +02:00
Cayo Puigdefabregas 0d73bb1f63 Build action moveOn 2021-09-03 16:06:53 +02:00
Cayo Puigdefabregas 1d73a8f0c1 Merge branch 'testing' into feature/container 2021-09-03 11:05:47 +02:00
Cayo Puigdefabregas faa58df4b4 clean pdbs 2021-08-13 17:18:48 +02:00
Cayo Puigdefabregas b2390f3010 adding more mimes type 2021-08-13 17:16:31 +02:00
Cayo Puigdefabregas de727f2645 pdbs 2021-08-11 13:40:37 +02:00
Cayo Puigdefabregas 5799be2a3a fixing foreingkey 2021-08-10 13:56:33 +02:00
Cayo Puigdefabregas 9086bb628f fixing change type for document_type 2021-08-10 12:55:47 +02:00
Cayo Puigdefabregas f1220dd756 new Recycling document 2021-08-10 12:45:03 +02:00
Cayo Puigdefabregas ed43bd477c we only need the data files 2021-08-06 11:08:58 +02:00
Cayo Puigdefabregas eed117808c Fixing nullables in models 2021-08-04 18:15:15 +02:00
Cayo Puigdefabregas bc95a618c1 adding result, software and url for DataWipe action 2021-07-30 14:36:10 +02:00
Cayo Puigdefabregas 3119178c9c heredit datawipe document form general document model 2021-07-29 15:46:49 +02:00
Cayo Puigdefabregas 1811b81e93 adding success and software field in document 2021-07-29 14:54:58 +02:00
Cayo Puigdefabregas f8ce81cc19 drop endpoint 2021-07-29 11:19:45 +02:00
Cayo Puigdefabregas bb3145f3d8 fixing test_basic 2021-07-28 15:59:11 +02:00
Cayo Puigdefabregas 833b55aefc external document erase 2021-07-26 11:33:11 +02:00
Cayo Puigdefabregas c5e62914b6 try solve problems with foreignkey 2021-07-21 15:02:23 +02:00
Cayo Puigdefabregas 740783b9fd adding generic documents model 2021-07-21 08:35:18 +02:00
Cayo Puigdefabregas 8731d90d9a add lots in csv of devices 2021-05-26 11:43:53 +02:00
Cayo Puigdefabregas 145cc2ec3e Merge branch 'testing' of https://github.com/eReuse/devicehub-teal into testing 2021-05-26 11:01:13 +02:00
Cayo Puigdefabregas 816411aa7b fixing settings.ini wbconf 2021-05-26 11:00:43 +02:00
Cayo Puigdefabregas ab3510b67b fixed bug 2021-05-25 12:57:21 +02:00
Cayo Puigdefabregas 149255bcfe resolve conflicts 2021-04-16 18:16:07 +02:00
Cayo Puigdefabregas 70188f43a2 simplify get_token method 2021-04-15 21:21:41 +02:00
Cayo Puigdefabregas e1cca540c4 change verification link for erasure certificate doc 2021-04-13 19:02:16 +02:00
Cayo Puigdefabregas 21f019dc14 useing session table in wbconf 2021-04-13 18:33:49 +02:00
Cayo Puigdefabregas 7e4513f5d2 Merge branch 'testing' into feature/#128-endpoint-config-wb 2021-04-12 19:48:23 +02:00
Cayo Puigdefabregas 4704045da8 more easy to read 2021-04-12 19:34:33 +02:00
Cayo Puigdefabregas aa09413011 fixing review comments 2021-04-12 12:05:52 +02:00
Cayo Puigdefabregas ee55020f3c resolve conflict 2021-03-26 11:04:04 +01:00
Cayo Puigdefabregas b13d8e5b97 fixing merge 2021-03-16 20:50:57 +01:00
Cayo Puigdefabregas f9281fbdc0 Merge branch 'testing' into feature/#126-named-system-tags 2021-03-16 20:01:55 +01:00
Cayo Puigdefabregas 4d01e7f05d fixing bug unamed in csv 2021-03-16 15:43:42 +01:00
Cayo Puigdefabregas b83563e0ea swap SystemID for DevicehubID 2021-03-08 22:43:24 +01:00
Cayo Puigdefabregas b902ab24f8 accept all type of docs 2021-03-08 13:19:35 +01:00
Cayo Puigdefabregas 6bb608b1a6 resolve confict 2021-03-04 10:51:20 +01:00
Cayo Puigdefabregas 372427375d correct response for every stamp check 2021-03-04 10:38:04 +01:00
Cayo Puigdefabregas 7e541f13a1 change env file name 2021-03-02 21:27:14 +01:00
Cayo Puigdefabregas 8f3c9c33cb adding the correct vars to env 2021-03-02 17:11:34 +01:00
Cayo Puigdefabregas 0d0005b315 adding file env for download 2021-03-02 11:42:07 +01:00
Cayo Puigdefabregas adb9a8e25a basic endpoint for wbconf 2021-03-01 19:21:57 +01:00
Cayo Puigdefabregas 4c08f65218 fixing internal stats 2021-02-23 17:40:36 +01:00
Cayo Puigdefabregas 79902ee26d adding lives action to the document of internal stats 2021-02-23 12:23:07 +01:00
Cayo Puigdefabregas 2a38070ae0 prepare auth for internal stats 2021-02-22 21:18:25 +01:00
Cayo Puigdefabregas d1b50cc212 simple internal stats 2021-02-22 15:49:13 +01:00
Cayo Puigdefabregas ce4dce055d basic endpoint for internal stats 2021-02-19 12:53:42 +01:00
Cayo Puigdefabregas 24669631ce adding hash for all documents than you download 2021-02-18 11:36:55 +01:00
Cayo Puigdefabregas b9bd367487 verify one document 2021-02-17 17:38:54 +01:00
Cayo Puigdefabregas 1a0287f8f9 adding documentId in csv of devices report 2021-02-07 18:16:43 +01:00
Cayo Puigdefabregas 6ca37e348c change erasure.html template 2021-01-26 13:52:23 +01:00
Cayo Puigdefabregas 5ae61d30bc adding systemId in metrics csv 2021-01-20 10:39:02 +01:00
Cayo Puigdefabregas f140c48359 fixing bug of lifetime 2021-01-19 16:06:46 +01:00
Cayo Puigdefabregas a7d51655b6 fixing url of link 2021-01-18 17:18:47 +01:00
Cayo Puigdefabregas 0273021d50 fixing title page 2021-01-18 12:48:54 +01:00
Cayo Puigdefabregas 1ec1eb39bf fixing test base 2021-01-18 12:40:31 +01:00
Cayo Puigdefabregas 3b2f09a37c static page for stamps 2021-01-18 10:54:50 +01:00
Cayo Puigdefabregas 12f28ba76f metrics in csv 2021-01-13 18:11:41 +01:00
Cayo Puigdefabregas 810a9b360c adding new endpoit for download csv of metrics 2021-01-08 17:37:52 +01:00
Cayo Puigdefabregas 96540d701c fixing lineterminator in csv 2020-12-21 16:09:30 +01:00
Cayo Puigdefabregas 3c12d1f75c add endpoint 2020-12-21 13:40:07 +01:00
Cayo Puigdefabregas db610d2853 insert hash3 when document is download 2020-12-21 11:34:03 +01:00
Cayo Puigdefabregas b10ed84836 adding columns rate when no there are rate 2020-10-23 10:27:16 +02:00
Cayo Puigdefabregas 20f2300ce1 modify the pull requirements 2020-10-22 15:54:01 +02:00
Cayo Puigdefabregas 1f4d30df32 rebuild rows with all new collumns 2020-10-21 22:11:55 +02:00
Cayo Puigdefabregas ed2f71c150 add delimeter as ; in csv 2020-10-21 22:09:15 +02:00
Cayo Puigdefabregas 2f7c34af2e graphic card 2020-10-21 13:17:32 +02:00
Cayo Puigdefabregas e6401fff3c cpus, rams, disks 2020-10-21 13:06:47 +02:00
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