60 Commits

Author SHA1 Message Date
basti 25ea20e63b Sort contributions by date instead of ID
This changes the sorting to sort first by date and time, and only then
by ID.

refs #121
2019-06-27 16:38:56 +02:00
basti 16ee3b6b6b Move contributor-creation form for separate view
closes #74
2019-05-23 14:17:33 +02:00
basti cf77f20d41 Merge branch 'master' into feature/111-unconfirmed_balances 2019-05-01 19:56:43 +01:00
basti 67ee2d9a74 Merge pull request #113 from 67P/feature/98-veto_unconfirmed_contributions
Veto contributions
2019-05-01 19:43:28 +01:00
basti e1737392a7 Mark contributions as vetoed on incoming event 2019-04-28 15:26:26 +01:00
basti 9821c8b2ea Veto contributions 2019-04-28 15:05:56 +01:00
basti d444b86ca8 Show unconfirmed kredits in toplist
And allow toggling between confirmed and unconfirmed
2019-04-27 19:59:24 +01:00
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
basti fa95376fda WIP: Fix/update adding contributors 2019-04-25 13:24:36 +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 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 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
basti d7aaadea2b Only show conributors with Kredits in list 2017-05-14 16:16:12 +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