- Improved generalData fetch (ie, non subAdmin users will not request generalData that are required only by subAdmins).
- Moved getTaskApplication to manage (as it is a subAdmin-only feature).
- Added applyForIntern feature to allow non-intern users to apply as intern.
- Added application status feature to allow subAdmins to coordinate among the applications. (setApplicationStatus and getApplicationStatus).
- Added getInternApplications to view the intern applications
- Improved getInternApplications and getTaskApplications to filter out processed (i.e, applications that have status set)
- Renamed putTaskDetails to editTaskDetails
Replaced floBlockchainAPI's readSentData, readDataPattern, readSentDataPattern, readDataContains, readSentDataContains with a improved version 'readData'
readData is Promisfied function that reads and resolves floData from blockchain using API
Arguments :
addr - address from which the floData should be read
options - (optional object, default = {})
Options :
limit - maximum number of filtered data (default = 1000, negative = no limit)
ignoreOld - ignore old txs (default = 0)
sentOnly - filters only sent data
pattern - filters data that starts with a pattern
contains - filters data that contains a string
filter - custom filter funtion for floData (eg . filter: d => {return d[0] == '$'})