bumi
b75ac5c8b9
Update kredits-contracts and ethers.js
...
This uses the new ethers.js 4.x API which is required by the new
kredits-contracts.
Also Operator is now Proposal in the new kredits-contracts wrapper
2019-03-29 19:54:45 +01:00
galfert
1fb20b1d08
Fix linting errors
2019-03-27 18:19:25 +01:00
galfert
bfa0b350ac
Fix template linting errors
2019-03-27 18:19:10 +01:00
galfert
487013f301
Run codemods
2019-03-26 23:07:02 +01:00
basti
64997d74e9
Fix wrong level for CSS mobile query
2018-07-20 12:31:32 +02:00
basti
e43706e2a6
Remove obsolete title from proposal list items
2018-07-14 17:36:45 +02:00
basti
2befc91d90
Add data from proposals to contribution chart
2018-07-14 17:35:06 +02:00
basti
7a35f5177c
Add charts.js plugin, basic chart component
2018-07-14 16:36:23 +02:00
basti
ef0f3ffbfb
Add background overlay to improve contrast
...
And use lowercase-hyphenated syntax for variables/mixins.
2018-07-12 11:29:45 +02:00
basti
c074ccf460
Improve all the things
2018-06-17 16:15:02 +02:00
basti
5436469128
Don't show vote count for confirmed contributions
2018-06-17 15:32:08 +02:00
basti
32714efeb9
Improve layout a bit.
...
WIP, because this is not ideal. But now it's readable at least.
2018-06-16 17:12:53 +02:00
basti
cf777571dc
Move contribution info from title to actual content
2018-06-16 16:37:39 +02:00
basti
44b4340a91
New CSS grid layout
2018-06-16 16:09:33 +02:00
basti
24e3171311
Add topbar, move account info to top-right corner
2018-06-16 15:36:35 +02:00
fsmanuel
47b8421d35
Rename loading.hbs to application-loading.hbs
2018-06-14 19:04:42 +02:00
fsmanuel
38d853a272
Remove spinner route
2018-06-14 19:04:22 +02:00
bumi
804060ad34
Pass ETH signer only if it can actually sign
...
We have seen an "no accounts" invalid operation getAddress when trying
to call a contract function in the init calls.
It seems ethers has a problem with a signer that does not have any
accounts - even though we don't try to sign an actual transaction and
only read data from the contract.
This change only passes the signer if we have an unlocked web3 provider
(metamask).
2018-06-14 15:00:43 +02:00
basti
a0ee2f7bb8
Use our new IPFS node
2018-06-07 13:32:43 +02:00
fsmanuel
acd1ce28f4
Use .init() instead of static .setup()
2018-04-21 11:58:17 +02:00
fsmanuel
7083d2369d
Fix eslint
2018-04-21 11:20:47 +02:00
fsmanuel
8fed06b494
Rename initEthProvider to getEthProvider
2018-04-21 11:15:13 +02:00
fsmanuel
75650c19ab
Cleanup kredits service
2018-04-21 11:05:02 +02:00
bumi
31e27865bb
Use kredits-contracts from npm
2018-04-18 19:26:35 +02:00
bumi
0e556aa794
Remove kredits library files and use npm package
...
Currently it uses the package directly from git
2018-04-18 19:01:26 +02:00
basti
a4088e7acf
Merge branch 'master' into naming-conventions
2018-04-17 12:55:20 +02:00
bumi
f0f82a96fb
Adjust for latest naming conventions
...
expept the renaming of ipfsHash to hashDigest all are already reflected
in the contracts
2018-04-17 11:43:44 +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
ba3c707da3
Fix ESLint errors
2018-04-16 19:14:37 +02:00
basti
b09f19f399
Update Ember to 3.1
2018-04-16 18:11:52 +02:00
fsmanuel
3839eb2be4
Fixes and cleanup
2018-04-15 21:33:37 +02:00
fsmanuel
a04ab09ed6
Move event handler assignment into method
2018-04-15 20:49:17 +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
5bcce71b36
Merge pull request #50 from 67P/refactor/naming-conventions
...
Refactor/naming conventions
2018-04-15 18:17:47 +00: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
7e6c6a037d
code style. use interpolation syntax
2018-04-15 18:02:52 +02:00
bumi
e1f19a1832
Fail smarter with better error handling
...
This should give more insights in case of an error during loading data
from Ethereum and IPFS.
2018-04-15 16:45:09 +02:00
bumi
7b5cea3613
Adjust for new naming conventions
2018-04-10 18:46:54 +02:00
bumi
e24fc6c81d
Fix proposal loading
...
we changed the storage of proposals from an array to a mapping.
Because of this keys/ids now no longer start with zero but with 1.
2018-04-10 16:29:18 +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
1a5d33b1f0
Move IPFS handling in utils class
2018-04-09 19:28:49 +02:00
bumi
0e330a6529
Cleanup
2018-04-09 15:15:33 +02:00