Commit Graph

51 Commits

Author SHA1 Message Date
yiorgos marinellis de8af45065 Apply 0 Lot : 0-1 Deliverynote relationship 2020-03-04 18:49:55 +01:00
yiorgos marinellis fdd93b0941 Make nested depth deeper to include neccessary info for delivery note within a lot 2020-03-03 20:33:37 +01:00
yiorgos marinellis 22e3469129 Embed deliverynote to lot schema 2020-03-03 20:32:34 +01:00
emmdim 259285c59c Makes deposit writable and applies range check from
0-100
2019-12-19 12:27:02 +01:00
emmdim 8a0957f512 Changes author_id (uid) to owner_address (ethereum)
and receiver_id to receiver_address (just the name)
+ minor impvrovements
2019-12-19 01:38:03 +01:00
emmdim b31f315a76 Adds 'author_id' in /lot PATCH 2019-12-18 16:37:45 +01:00
emmdim c119c951f5 Propagates PATCH /lot updates to the involved devices 2019-12-18 14:29:25 +01:00
emmdim 4bdf9502d6 Minor updates 2019-12-17 17:16:13 +01:00
jordi.nadeu 552c2a4166 adds to dummy more users with ethereum address 2019-12-16 20:38:41 +01:00
jordi.nadeu fa99283389 add new attributes in Lot and User models 2019-12-16 19:17:30 +01:00
emmdim 58ff2e69e2 Adds receiver column in Lot model and updates
Lot views PATCH to be able to modify the needed values
2019-12-14 22:11:28 +01:00
emmdim 0f81be6878 Adds TransferStateEnum and makes it a Lot field 2019-12-12 01:25:11 +01:00
emmdim 856745ef91 Adds deposit and author is lot resources 2019-12-11 02:49:47 +01: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
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 198a89a0b1 Add sphinx extension dhclass; generate better API docs; remove cache for lots 2019-02-03 17:12:53 +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 9272674760 Add inventories 2019-01-21 16:08:55 +01:00
Xavier Bustamante Talavera 710432ef12 Making API more uniform 2018-12-30 12:43:29 +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 bcf59de383 Delete lots; add LotDeviceDescendants view really fixing querying devices in lots 2018-11-11 21:52:55 +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 7ad7ab1d8a PATCH lot name 2018-10-19 10:35:23 +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
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 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 042b7718ec Use SanitizedStr and CITText, lowering many strings 2018-09-30 12:29:33 +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 7cfae43c7a Add / remove devices from lots with POST / DELETE 2018-09-20 18:25:47 +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 804a696390 Correctly place teal imports 2018-09-07 12:38:02 +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