19 Commits

Author SHA1 Message Date
2af9476a3f Merge branch 'master' into fix/ipfs-config
# Conflicts:
#	lib/utils/ipfs.js
#	lib/utils/preflight.js
2019-04-24 20:33:15 +02:00
6f2097ed46 Fix regex 2019-04-24 19:39:30 +02:00
94d342ce63 Replace console.log by deprecate function 2019-04-24 19:31:26 +02:00
f984dec95a Style fixes 2019-04-24 19:31:04 +02:00
145b3ea766 Merge branch 'master' into chore/linter
# Conflicts:
#	lib/contracts/contribution.js
#	lib/contracts/contributor.js
#	lib/contracts/proposal.js
#	lib/kredits.js
#	lib/serializers/contributor.js
#	yarn.lock
2019-04-24 19:12:18 +02:00
375d8f3275 Cleanup 2019-04-19 13:34:39 +02:00
3cb94fb660 Add kredits-formatter and additionally format balance
This adds a `balanceInt` value to the contributor data that has the
token balance formatted as full Kredits. (similar to Ether)
2019-04-19 11:57:35 +02:00
7a6b117876 Cleanup preflight 2019-04-18 00:41:21 +02:00
f945b378e2 Add ipfs.config getters 2019-04-18 00:41:05 +02:00
a9093c1c40 Fix linter errors
# Conflicts:
#	lib/contracts/contribution.js
#	lib/contracts/contributor.js
#	lib/contracts/proposal.js
#	lib/kredits.js
#	lib/utils/pagination.js
2019-04-13 00:08:12 +02:00
f6189bf910 Add pagination for .all methods
I removed rsvp as a dependency as we only use Promise.all
2019-04-12 21:21:19 +02:00
d953141f52
Refactor contribution serializer and validation 2019-04-11 13:05:40 +02:00
70b9edbcac Update ipfs package 2019-04-03 21:01:51 +02:00
956f858620 Rename healthcheck to preflight 2018-06-07 16:39:07 +02:00
78b47753b3 Constructor confugration options
This changes the function signature of the constructor but allows us to
pass any options.
Mainly this is now used for the ipfs configs.
2018-04-23 11:01:08 +02:00
471c705e64 Replaces the ipfsHash buffer with a B58 string 2018-04-21 20:59:59 +02:00
7ba32bb0ed Extract healthcheck into its own class
This moves the whole checks if everything is running into its own class
and is no longer inside the different functions.
Makes the functions smaller and the healthcheck can be used from the
client only if wanted/needed.
2018-04-21 16:45:04 +02:00
a16cd862f6 Better ipfs handling and default configs 2018-04-19 00:40:33 +02:00
d5e68e1639 Hello wrapper library 2018-04-18 18:51:27 +02:00