Commit Graph

103 Commits

Author SHA1 Message Date
basti f86c53de89 Add failing test for missing contributors in toplist 2019-05-06 14:23:47 +01:00
basti 82b275caaa Add some unit tests for kredits service 2019-05-06 14:21:37 +01:00
basti e524e5558d Add more test fixtures 2019-05-06 14:18:02 +01:00
basti cf77f20d41 Merge branch 'master' into feature/111-unconfirmed_balances 2019-05-01 19:56:43 +01:00
basti f25c74c7e9 Add helper functions for confirmation status 2019-04-28 14:42:09 +01:00
basti 7d5b93a62c Start basic fixtures 2019-04-27 20:54:17 +01:00
basti 6c0cb1a29c Add integration test for contributor list
And comment out the index controller one for now, as it's failing and
almost all code in the controller is framework DSL atm.
2019-04-27 20:53:36 +01:00
basti 185d7c58c2 Finish group-by util
Move function to util, add tests.
2019-04-27 18:41:26 +01:00
basti 49bfad51b6 Fix failing test 2019-04-25 19:28:10 +01:00
basti 3c73ddd443 Turn user avatars into a component
This allows us to add them anywhere in the app, and also to add more
features, like e.g. hover info boxes, links, and so on.
2019-04-25 19:08:22 +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 6bd87ae0de Fu** you failing tests. You should not be here anyway
take my rm -rf muhahaha
2019-04-16 11:04:57 +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 88be3525b5 Fix highlighting of current user in contributor list
Fixes #72

Introduces a helper to determine if a contributor is the current user.
2019-04-03 01:35:08 +02:00
galfert 487013f301 Run codemods 2019-03-26 23:07:02 +01:00
basti b4a094bc89 Add tests for contributions-by-type chart 2018-07-15 11:57:38 +02:00
basti 7a35f5177c Add charts.js plugin, basic chart component 2018-07-14 16:36:23 +02:00
fsmanuel 38d853a272 Remove spinner route 2018-06-14 19:04:22 +02:00
fsmanuel 1b2b1bd447 Fix contributor deserialize test 2018-04-21 11:34:41 +02:00
bumi 7da4956f1e Fix tests
These tests must be moved into the kredits-contract package. The
serialization is happening there.
They should be ported to mocha/chai probably
2018-04-18 20:19:26 +02:00
basti 8d303ea5af Fix tests, remove obsolete initializers 2018-04-17 01:38:21 +02:00
basti c0b5c36115 Don't inject kredits service in models 2018-04-16 19:23:28 +02:00
basti b09f19f399 Update Ember to 3.1 2018-04-16 18:11:52 +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
bumi 62e195d186 remove fake bignumber from tests
We make everything bignumber-y now so that is no longer needed
2018-04-15 19:56:03 +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 c373c901a2 Fix test to work with the bignumber depencency 2018-04-09 20:54:07 +02:00
fsmanuel e527099b00 Fix tests 2018-04-09 02:26:03 +02:00
fsmanuel 28f7466595 Cleanup controller, templates and service 2018-04-08 14:06:16 +02:00
fsmanuel adcc81ba52 Move tests 2018-04-08 02:27:56 +02: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
bumi a418ddbe52 fix tests 2018-04-04 12:49:41 +02:00
fsmanuel 6a31b0d579 Rename contributor.kredits to .balance 2018-04-02 19:07:42 +02:00
basti 7b91e64af4 Create contribution IPFS objects, attach to proposals 2017-06-06 21:27:05 +02:00
basti 33e81a7668 Store proper contributor profile in IPFS 2017-06-05 21:58:46 +02:00
basti 4f57ceaee9 Remove debug log statement 2017-05-14 16:27:43 +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 26cebc11c6 Add IPFS service (#4)
Add IPFS service

Add the `ipfs-api` JS library and a service using the browserified
version of it. The service has functions for storing and reading file
contests.
2017-02-18 09:48:26 +00:00
basti 7c98de3e6a Comment unused test 2017-02-08 14:34:14 +08:00
basti c676c6ae68 Show open/closed proposals 2017-02-05 15:59:56 +08:00
basti 227c6f5c4b Get proposals 2017-02-05 15:08:27 +08:00
basti bbda6162a1 Fix spinner test 2017-02-05 12:11:19 +08:00
basti 86d5a3238f Fix tests 2017-02-05 12:00:46 +08:00
basti 1d9f510bb4 Add animated loading graphic 2017-02-05 11:43:36 +08:00
basti 2002f2feba Add simple loading indicator 2017-02-04 22:30:58 +08:00
basti 9120d67ad1 Basic add-contrib form 2017-02-04 20:13:09 +08:00
basti 5f108557cc Add Web3 library and service 2017-02-02 17:28:45 +08:00
basti e29ffdc319 Add contributor and kredits count to page 2017-01-31 17:28:33 +08:00