Commit Graph

1348 Commits

Author SHA1 Message Date
fedjo 9ad217fc5b
Update REAMDE (#36) 2020-06-09 11:33:01 +03:00
Jordi Nadeu f735329e22
Merge pull request #30 from eReuse/feature/alembic-migrations
alembic migrations
2020-06-04 11:15:54 +02:00
yiorgos marinellis 8d112c1360 Abort snapshot action if current user is not owner of the
(non-component) device
2020-06-01 20:43:10 +03:00
fedjo c3cffbeaa7 Add callable to get inventory from command line 2020-05-22 18:43:01 +02:00
fedjo b0fa24b9bf Add alembic dependency in requirements.txt 2020-05-22 16:12:05 +02:00
fedjo 3e87c1bf3d
Fix rst errors in README 2020-05-15 20:21:22 +02:00
yiorgos marinellis 77e29e0475
Update README 2020-05-15 20:14:00 +02:00
yiorgos marinellis 8c519a6d56 Update REAME 2020-05-11 10:15:40 +02:00
yiorgos marinellis f9858f50ab Create schema with SQLAlchemy and stamp as head migration 2020-05-11 10:07:23 +02:00
Santiago L b0d4e06ac2
Merge pull request #28 from slamora/feature/github-actions
Configure GitHub actions to run tests.
2020-05-07 11:31:27 +02:00
Santiago Lamora b1426fc225 Configure GitHub actions to run tests. 2020-05-06 00:23:35 +02:00
yiorgos marinellis 0849d39d5d Add initial db schema from autogenerated alembic 2020-05-04 21:40:17 +02:00
yiorgos marinellis e021702e0c Update nesting level to depth 2 when returning lots not UiTree 2020-04-29 20:41:32 +02:00
yiorgos marinellis 2851d4112f Fix typo 2020-04-28 22:55:17 +02:00
yiorgos marinellis bd0621884b Filter lots with owner id or deliverynote receiver or supplier 2020-04-28 22:33:33 +02:00
yiorgos marinellis 59d6d69bda Add user filtering which is evaluate whether or not lot is specified 2020-04-28 21:20:40 +02:00
yiorgos marinellis 252c60ea89 Filter cumputer devices on current user and lot's deliverynote receiver 2020-04-22 17:53:06 +02:00
yiorgos marinellis 1beb5964ba Create alembic environment 2020-04-17 14:33:50 +02:00
Big Lebowski 315f5b793a Merge branch 'mvp_deliverynote' into devel 2020-04-13 22:45:25 +02:00
Big Lebowski 23b5afe1d8 Merge branch 'feature/rm-ethereum-constraint' into mvp_deliverynote 2020-04-13 13:21:51 +02:00
Big Lebowski 525614ac26 Merge branch 'hotfix/rm-cache' into mvp_deliverynote 2020-04-13 13:20:41 +02:00
yiorgos marinellis 61fd9de477 Remove caching when returning lots, devices, fixes UI issue 18 2020-04-06 13:10:39 +02:00
yiorgos marinellis e78b1c5db3 Change FOREIGN keys to User.ethereum_address to User.id, resolves #14 2020-04-06 13:08:07 +02:00
yiorgos marinellis fea6f23c0c Merge branch 'mvp_proof' into mvp_deliverynote 2020-04-06 13:07:11 +02:00
yiorgos marinellis bc69d194f4 Make supplier_id, receiver_id optional for ProofReuse, fixes #21 2020-03-27 11:48:25 +01:00
nad 115986c7e0 Adding test to check if upload snapshot without HID fields 2020-03-25 21:32:48 +01:00
nad 713452e4e1 Fixing HID field to accepts null values 2020-03-25 16:47:57 +01:00
yiorgos marinellis edf2e39fc7 Change proofAuthor to proofAuthorID and resolves #18 2020-03-25 15:38:29 +01:00
yiorgos marinellis bd2d72ad69 Replace ethereum_address for User with id 2020-03-24 22:34:53 +01:00
yiorgos marinellis e78d62602b Align ProofTransfer to Chapter 6 on specs, fixes #12 2020-03-23 18:52:05 +01:00
yiorgos marinellis 8a818bdc00 Add schemas for all proofs, redefince and 1-1 relation to device 2020-03-23 18:52:05 +01:00
emmdim 4f6eb00d3a Reverts temporarilty the propagation of values for
devices until a clear Device registration strategy takes place
2020-03-20 15:48:40 +01:00
emmdim bd396f0642 Adds new PATCH properties for device 2020-03-20 15:47:42 +01:00
emmdim b70c229485 Implements #13, but currently can be applied only
to transferred devices
2020-03-20 15:20:22 +01:00
emmdim dfb518068d Adds ethereum address to device, and adds PATCH 2020-03-19 01:55:26 +01:00
yiorgos marinellis f6af58ef51 Update ProofTransfer 2020-03-17 23:47:02 +01:00
yiorgos marinellis 390fb30d4f Update ProofRecycle 2020-03-17 23:45:23 +01:00
yiorgos marinellis e3f960aa8b Add ProofFunction view except author field 2020-03-17 23:36:27 +01:00
nad 16560462fa Minor fixes to generate documentation correctly 2020-03-17 18:42:53 +01:00
nad 640cc9910f Changing dummy, adding new user and lot owners 2020-03-17 12:14:56 +01:00
nad e437476110 Merge remote-tracking branch 'origin/mvp_proof' into devel 2020-03-17 11:54:22 +01:00
Big Lebowski 3ce32f2dd4 Add Proof N:M Device relation and support deviceIDs on POST 2020-03-17 02:03:48 +01:00
Big Lebowski 621e172e55 Add required field result and ethereumHash on POST 2020-03-17 00:57:14 +01:00
yiorgos marinellis 0d9dccda47 First implementation of batch POST of ProofDataWipe 2020-03-16 00:26:20 +01:00
yiorgos marinellis c9f6217e42 Implement batch view 2020-03-12 17:07:35 +01:00
yiorgos marinellis ac8375c98f Add view and schemas 2020-03-12 15:11:38 +01:00
Big Lebowski 994dce4349 Add base proof models 2020-03-12 00:40:41 +01:00
emmdim 2aa527c0c3 Resolves minor naming issue 2020-03-11 19:28:15 +01:00
nad 7f5dcb3679 Fixing export csv fields (first iteration) 2020-03-11 18:47:27 +01:00
emmdim 2810990fda Convertes expected_devices into a JSON Array,
closes #10
2020-03-11 18:39:58 +01:00