6e9f565587
Add more logs for IPFS failures
Release Drafter / Update release notes draft (pull_request) Successful in 4s
2025-01-20 15:32:50 -05:00
53fafc1c78
Update ipfs-http-client (for node >= 14)
...
Updates the client library and API usage to work with the latest
version, and more importantly, with current node.js LTS.
2022-04-28 19:19:58 +02:00
bc38dcb136
Copy contract data into new object to avoid object is not extensible error
...
It seems the new ethers.js version returns contract data as a non-
extensible object. We have to clone it before adding the IPFS data.
2020-06-27 20:39:23 +02:00
c2220c3654
Fix ESLint error
2020-05-07 09:27:15 +02:00
2316e8f15a
Remove IPFS pinner
...
The pinner now lives in its own npm package
2019-07-02 19:09:26 +02:00
61fe9add1b
Add support to use IPFS gateway to read ipfs data
...
This makes caching of IPFS documents easier. Browsers should cache those
by default
2019-07-01 15:53:18 +02:00
6d6c6056f0
Refactor IPFS pinner
2019-06-12 01:08:07 +02:00
3a43284557
Fix page number calculation for zero records
...
So far it returned 0 because of those in range checks which both
applied because numberOfPages is 0 if we have no record.
2019-05-04 01:34:05 +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
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