fsmanuel
28f7466595
Cleanup controller, templates and service
2018-04-08 14:06:16 +02:00
bumi
6cfd4240de
Merge pull request #38 from 67P/refactor/proposal
...
Refactor proposals
2018-04-08 12:02:28 +00:00
bumi
6e24015f76
Readme
2018-04-08 13:54:50 +02:00
fsmanuel
adcc81ba52
Move tests
2018-04-08 02:27:56 +02:00
fsmanuel
31a1f21dcd
Fix linting
2018-04-08 02:13:07 +02:00
fsmanuel
b7316e15a2
Align *Proposal to *Contributor methods
2018-04-08 02:01:10 +02:00
fsmanuel
ad92ffa447
Extract serializer
2018-04-08 02:01:10 +02:00
fsmanuel
45044c0f61
Refactor controller and route
...
I’m not sure how the queryParams are used so I removed them. I’m happy to readd them.
2018-04-08 02:01:10 +02:00
fsmanuel
cc7c47cbab
Refactor proposal form
2018-04-08 02:01:02 +02:00
fsmanuel
27f4006f05
Merge pull request #37 from 67P/refactor/get-contributor-by-id
...
Refactor getContributorById to be move generic
2018-04-08 01:32:46 +02:00
fsmanuel
576313a7b0
Update according to suggestions
2018-04-08 01:25:59 +02:00
bumi
13c3feaa69
Merge pull request #36 from 67P/fix/contributor-ipfshash
...
Replace missed profileHash with ipfsHash
2018-04-07 23:09:03 +00:00
fsmanuel
a0dd8b925b
Refactor getContributorById to be move generic
...
We can use this generic functions also for the upcomig proposal refactoring.
2018-04-08 00:54:42 +02:00
fsmanuel
21f187cac2
Replace missed profileHash with ipfsHash
2018-04-08 00:44:25 +02:00
fsmanuel
d8951caddb
Block in application route if accountNeedsUnlock
...
The index route never gets invoked if you reload on the proposal page. That change makes sure we always initialize `ethProvider`.
2018-04-07 22:43:22 +00:00
fsmanuel
206c657b98
Merge pull request #34 from 67P/features/balance-from-contributors
...
Use getContributorById call to get contributor data
2018-04-07 22:22:35 +02:00
fsmanuel
6e262537a4
Extract multihash functions
2018-04-07 18:47:16 +00:00
bumi
0587559939
Use getContributorById call to get contributor data
...
This new call also returns the balance of the contributor so we don't
have to make an extra call to the token contract.
2018-04-07 20:33:41 +02:00
fsmanuel
939baec1a8
Add alert message after saved
2018-04-07 17:22:33 +00:00
fsmanuel
429f670c12
Better assign
2018-04-07 17:22:33 +00:00
fsmanuel
b21d2ad864
Extract serializer logic into lib
...
To use the same code in hubot I extracted the serializer logic into lib to later move it into `truffle-kredits` when we are done with all other common logic.
2018-04-07 17:22:33 +00:00
fsmanuel
8f841522a3
Refactor add-contributor component to DDAU
2018-04-07 17:22:33 +00:00
fsmanuel
fa7db66f4e
Merge pull request #31 from 67P/feature/account-badge
...
Add account badge
2018-04-06 17:54:53 +02:00
bumi
499b22af15
Fix JS/Ember style
2018-04-06 17:40:45 +02:00
bumi
f992fb10bd
Fix JS style
2018-04-06 17:00:25 +02:00
bumi
603224e906
Use ember style empty promise
2018-04-06 16:53:01 +02:00
bumi
bbea07b2a7
Add account badge
...
This gives easy access to test if the "user/visitor" has an account, is
a contributor and if she is core.
This is used to display some account information.
2018-04-06 16:45:55 +02:00
bumi
b9d78efaff
More details about running the app locally
2018-04-04 15:43:52 +02:00
fsmanuel
1a58099413
Merge pull request #29 from 67P/ethers
...
Use ethers.js instead of the old web3
2018-04-04 14:20:55 +02:00
bumi
e2d02d357c
linting
2018-04-04 14:15:07 +02:00
bumi
0812ff3467
Add comment about ethProvider loading.
...
It is loaded in the route and thus available for the rest of the
application.
2018-04-04 14:02:27 +02:00
bumi
6dafc26deb
Refactor web3 initialization
...
This changes how we wait for web3 and accounts to be available and
renames web3Provider to ethProvider as we could be able to swap the
different providers (ethers.js vs. web3)
2018-04-04 13:56:41 +02:00
bumi
a418ddbe52
fix tests
2018-04-04 12:49:41 +02:00
bumi
6a5eb5a313
use kovan as default network id
2018-04-03 21:34:45 +02:00
bumi
6354b03717
cleanup
2018-04-03 20:32:46 +02:00
bumi
5d6b4a5255
fix linting errors
2018-04-03 19:19:11 +02:00
bumi
3f0b1ccbcd
Use ethers.js instead of the old web3
...
the web3 we are using is old and everything will change with web3 1.0
which is currently in beta for ages.
ethers.js seems to be a bit more lightweight and implements pretty much
the same API so let's give it a try.
2018-04-03 18:35:29 +02:00
fsmanuel
f00ecfd9ab
Merge pull request #28 from 67P/refactor/proposal-ipfs-hash
...
Handle new IPFS hashes in proposal
2018-04-02 21:00:58 +02:00
fsmanuel
ee0d3370b1
Fix travis
2018-04-02 20:40:59 +02:00
fsmanuel
73d7ed52dd
Refactor contributor
2018-04-02 19:08:29 +02:00
fsmanuel
6a31b0d579
Rename contributor.kredits to .balance
2018-04-02 19:07:42 +02:00
bumi
869c4c0ae9
Handle new IPFS hashes in proposal
2018-04-02 18:19:22 +02:00
bumi
4be696ea62
Fix contract events handling
2018-04-02 18:18:34 +02:00
bumi
83a0d56314
Update ipfs-api dependency
2018-04-02 18:17:50 +02:00
fsmanuel
0d1418e595
Fix package.json
2018-04-01 15:24:45 +02:00
fsmanuel
7db521a72a
Fix kredits-contracts dependency
2018-04-01 15:23:05 +02:00
fsmanuel
e7ff606891
Update readme
2018-04-01 15:21:14 +02:00
bumi
60de3d8a31
Merge pull request #27 from 67P/truffle-contracts
...
Truffle contracts
2018-04-01 12:19:21 +00:00
fsmanuel
f12740dfa8
Update kredits service
2018-04-01 03:20:16 +02:00
fsmanuel
020a1c5682
In repo contracts addon
2018-04-01 03:16:22 +02:00