Commit Graph

118 Commits

Author SHA1 Message Date
basti 993cd85e4a Improve waiting for window.onload
In case the window load event was fired before getting to the Ember
initializer, it would pause app loading indefinitely. This makes sure
that app loading is only paused, if there's still an event to wait for.
2017-06-13 14:27:09 +02:00
galfert e51586a78c Pause app boot until window load event fired
Refs #17

Allows the user provided Web3 instance to be inserted before we
try to use it.
2017-06-13 13:35:44 +02:00
basti 8aa86fa553 Merge pull request #16 from 67P/feature/ipfs-metadata
Move all metadata to IPFS with proper schemas
2017-06-09 00:28:14 +02:00
basti 510f7de693 Use HTTPS for production IPFS 2017-06-08 23:56:43 +02:00
basti 918ae5b2d1 Fix property dep 2017-06-08 17:06:19 +02:00
basti 6263254a1b Specify radix parameter for parsing amount 2017-06-08 16:53:40 +02:00
basti 99e921c302 Throw error when file couldn't be fetched from IPFS 2017-06-08 16:42:16 +02:00
basti 7f2f781a77 Don't try to save proposal when invalid 2017-06-08 16:41:53 +02:00
basti 3571cc633e Improve computed-property dependency 2017-06-08 16:41:03 +02:00
basti 2011636173 Add contribution details as title 2017-06-07 13:01:35 +02:00
basti cbb15f4d6f Fix mobile layout, add contribution kind to props 2017-06-07 12:46:03 +02:00
basti 33072900e9 Use contributor's display name for proposal list 2017-06-07 12:45:30 +02:00
basti c98a50cd42 Fix mobile layout
Unfortunately also breaks the animation when opening contributor
details for now. Couldn't get it to work again.
2017-06-07 11:11:01 +02:00
basti 1f41dbcae5 Load contribution details from IPFS 2017-06-07 10:35:57 +02:00
basti a918719b8f Decrease overall UI size a bit 2017-06-07 10:35:36 +02:00
basti 7b91e64af4 Create contribution IPFS objects, attach to proposals 2017-06-06 21:27:05 +02:00
basti 0afbeea01b Use newly generated UUID as ID for new contributor 2017-06-06 19:57:24 +02:00
basti 0510cf2389 Set contributor kind from IPFS profile 2017-06-06 19:56:55 +02:00
basti c893f91ce2 Improve logging 2017-06-06 19:56:40 +02:00
basti eced2f423f Minimal validation for amount 2017-06-06 19:56:15 +02:00
basti 6eeb505701 Use correct property for dep 2017-06-06 19:55:59 +02:00
basti 4cb3f5d8ba Use profile data from IPFS for contributor models 2017-06-06 19:05:42 +02:00
basti 372a8a9b2d Unify author value across packages 2017-06-06 13:33:41 +02:00
basti a714601c63 Update kosmos-schemas
This should fix the CI builds.
2017-06-05 22:10:10 +02:00
basti 240d446b97 Remove obsolete output 2017-06-05 22:08:13 +02:00
basti 33e81a7668 Store proper contributor profile in IPFS 2017-06-05 21:58:46 +02:00
bumi f8b75cca61 Manually set networkId
By default kredits-contracts gets the networkId from the web3 object.
This causes some random JSON RPC errors when using MetaMask:
https://github.com/MetaMask/metamask-plugin/issues/1538

This set the default networkId to 17 which is our custom private
network. For development purposes the networkId can also be set
dynamically through the config:networkId local storage entry.
2017-06-04 19:28:14 +02:00
bumi 32e1bbd617 no more evil while loop 2017-06-04 19:27:59 +02:00
basti 1de26004ab Use correct properties as dependency 2017-06-04 17:09:21 +02:00
bumi 0a66c19b0a Specify localhost as web3 provider URL for local deployments 2017-06-01 15:06:52 +02:00
basti 40d6b9905a Observe kredits property in computed array 2017-05-31 17:06:50 +02:00
basti 228825053c Update metadata, version 2017-05-31 16:54:08 +02:00
basti eda0f7a467 Hide new-proposal link for non-wallet users 2017-05-20 21:25:48 +02:00
basti 3052c9dfc5 Merge pull request #15 from 67P/feature/12-new_proposal_contributor_list
Choose contributors from list for new proposals
2017-05-20 18:52:41 +02:00
galfert dbb4094eab Merge pull request #14 from 67P/feature/5-public_ipfs
Use public IPFS node, improve config
2017-05-20 18:14:44 +02:00
galfert f875cd7b91 Choose contributors from list for new proposals 2017-05-20 02:37:11 +02:00
basti 45f17100a2 Use public IPFS node, improve config
Only use local IPFS in development. Set default parity provider URL and
overwrite if set in ENV.
2017-05-16 15:28:11 +02:00
basti dda5a8d350 Merge pull request #11 from 67P/feature/contributors_list
Contributor list improvements
2017-05-14 19:28:17 +02:00
basti 4f57ceaee9 Remove debug log statement 2017-05-14 16:27:43 +02:00
basti 2405e3e118 Show correct number for kredits distribution 2017-05-14 16:25:02 +02:00
basti d7aaadea2b Only show conributors with Kredits in list 2017-05-14 16:16:12 +02:00
basti 8d07c7d741 Update page title 2017-05-14 15:18:15 +02:00
basti 2b260bccd5 Merge pull request #10 from 67P/feature/locally-configurable-provider
Add support to locally conifgure web3 provider
2017-05-14 15:05:31 +02:00
bumi 7299394809 Add support to locally conifgure web3 provider
If no web3 is provided from the browser we check if a
config:web3ProviderUrl item is set in localstorage.
If yes we connect to that provider otherwise use the default config.
Helpful for working simultanously with different chains and providers.
2017-05-14 12:37:47 +02:00
basti 0b7afc0dd5 Update kredits, be expressive about contract options 2017-05-14 01:09:53 +02:00
basti f57e90941c Merge pull request #9 from 67P/configurable-provider
Make web3 provider URL configurable; default to infura
2017-05-13 17:06:33 +02:00
basti be6c5574ff Change default Ethereum RPC provider
Use our own Parity node.
2017-05-13 17:00:04 +02:00
bumi 859cca3820 Merge 2017-05-12 20:04:28 +02:00
bumi ba1cd1cd49 Make web3 provider URL configurable; default to infura
This uses infura (kovan network) as the default web3 provider URL
2017-05-12 17:17:20 +02:00
bumi a1f73b0307 Readme about locally deployed contracts 2017-05-08 13:02:26 +02:00