basti
afa09f4b8f
Move computed collections to kredits service
...
They should be available from any place with access to the service.
2019-04-27 17:33:25 +01:00
bumi
d1791cadfe
Display contribution balances not token balances
...
We want to display the contribution balances (kredits earned) of the
contributors not the token balances.
2019-04-19 18:16:02 +02:00
bumi
6f4afaf84a
List only contrbutors with more than 0 kredits
...
This is a bit of a problem because we list integer values, so if
somebody has less than 1 Kredit than they would still show up. Not sure
what is the best to do here. - but this should be good enough for now.
2019-04-19 11:45:53 +02:00
basti
5db628311e
Fix confirmed/unconfirmed filter
2019-04-09 22:15:09 +02:00
basti
aa28a14d04
Switch to contribution token instead of proposals
...
No vetos yet, and only for collections (not creation).
closes #20
2019-04-09 12:55:44 +02:00
galfert
1fb20b1d08
Fix linting errors
2019-03-27 18:19:25 +01:00
basti
24e3171311
Add topbar, move account info to top-right corner
2018-06-16 15:36:35 +02:00
basti
b09f19f399
Update Ember to 3.1
2018-04-16 18:11:52 +02:00
fsmanuel
89d6b920b1
Remove unused Ember import
2018-04-15 20:38:24 +02:00
fsmanuel
d425ed6b9e
Move contract event handling into service
2018-04-15 20:36:21 +02:00
fsmanuel
fcc4045a4e
Merge branch 'master' into feature/store-models-in-service
...
# Conflicts:
# app/controllers/index.js
# tests/unit/controllers/index-test.js
2018-04-15 20:23:39 +02:00
fsmanuel
e5f69a5e9a
Remove unused computed
2018-04-15 19:09:16 +02:00
bumi
e31ff492d5
merge master
2018-04-15 19:08:26 +02:00
fsmanuel
99bbcda709
Move contributors + proposals to service
...
With this change we have all the contributors + proposals all the time in one place and can update them via events.
2018-04-15 19:02:57 +02:00
bumi
8aa941e704
Rename recipientId to contributorId in proposals
2018-04-15 19:02:35 +02:00
bumi
399ee27af9
Revert "Adjust for new naming conventions"
2018-04-15 16:35:31 +00:00
bumi
7b5cea3613
Adjust for new naming conventions
2018-04-10 18:46:54 +02:00
bumi
4a711788f6
cleanup
2018-04-10 15:27:38 +02:00
bumi
32846194b6
Handle bignumber conversions
...
The kredits module always returns raw data from the contract. For uint
values these are bignumbers.
To handle those in the ember app we need to convert them to string or to
number.
2018-04-09 20:31:34 +02:00
bumi
ce8fef79dc
Search proposal contributor by stringified ID
...
Kredits returns default web3/ethers.js values which are BigNumbers.
Internally we use Strings. We need to do this somewhere centrally
though.
2018-04-09 14:58:50 +02:00
fsmanuel
e527099b00
Fix tests
2018-04-09 02:26:03 +02:00
fsmanuel
7e04cef964
Extract kredits module
2018-04-09 02:09:38 +02:00
fsmanuel
f985ce6402
So sad that I can not force push!
2018-04-08 14:41:08 +02:00
fsmanuel
f54a36f240
Use getProposalById instead of buildModel
2018-04-08 14:33:38 +02:00
fsmanuel
28f7466595
Cleanup controller, templates and service
2018-04-08 14:06:16 +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
8f841522a3
Refactor add-contributor component to DDAU
2018-04-07 17:22:33 +00: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
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
6a31b0d579
Rename contributor.kredits to .balance
2018-04-02 19:07:42 +02:00
bumi
4be696ea62
Fix contract events handling
2018-04-02 18:18:34 +02:00
fsmanuel
f12740dfa8
Update kredits service
2018-04-01 03:20:16 +02:00
basti
576e2741a9
More contract-related adjustments
2017-08-14 15:31:58 +02:00
basti
33072900e9
Use contributor's display name for proposal list
2017-06-07 12:45:30 +02:00
basti
40d6b9905a
Observe kredits property in computed array
2017-05-31 17:06:50 +02:00
galfert
f875cd7b91
Choose contributors from list for new proposals
2017-05-20 02:37:11 +02:00
basti
d7aaadea2b
Only show conributors with Kredits in list
2017-05-14 16:16:12 +02:00
galfert
969ef8d1ed
Add proposal form
...
Closes #6
Form can be prefilled using query params on the route. The params are
`recipient`, `amount`, `url` and `ipfsHash`.
2017-05-03 11:52:42 +02:00
basti
bb3696addc
Handle transfer event
2017-02-06 23:22:43 +08:00
basti
96ea4bb993
Don't handle event for already-executed proposals
2017-02-06 22:23:36 +08:00
basti
433d6b0d59
Handle ProposalVoted
2017-02-05 23:11:39 +08:00
basti
10763b1e7f
Update balance on ProposalExecuted
2017-02-05 21:52:12 +08:00
basti
1f39884eef
Handle ProposalExecuted event
2017-02-05 21:31:00 +08:00
basti
d0e10babfe
Watch contract events (and add new proposals)
2017-02-05 19:27:17 +08:00
basti
a7bfa3e45c
Sort all data
2017-02-05 17:56:14 +08:00
basti
79412e2032
Vote for proposals from the UI
2017-02-05 17:31:36 +08:00
basti
c676c6ae68
Show open/closed proposals
2017-02-05 15:59:56 +08:00