basti
bac4c1c425
Load all past contributions once everything else is loaded
2020-05-29 22:04:03 +02:00
basti
c54d754c89
Only sync contributions if loaded from cache
2020-05-29 20:55:19 +02:00
basti
63dd5430bc
WIP Sync contributions
2020-05-29 18:56:05 +02:00
basti
eb2c613ac9
Extract data loading from fetch methods
2020-05-29 13:12:39 +02:00
basti
bf6d9dbc31
Remove RSVP from kredits service
...
Just native Promise will do.
2020-05-29 13:11:36 +02:00
basti
d4b546bfcd
Load contributions from cache if present
...
And then fetch more from network. Also, only load 30 from network before
first render (with nothing cached), then load more after the page has
rendered.
2020-05-28 13:59:10 +02:00
basti
69141a31c4
Process contribution data before loading models
2020-05-28 13:44:32 +02:00
basti
832de3c06f
Load contributors from cache if present
...
And then update from network later
2020-05-28 11:33:47 +02:00
basti
50e1fc728c
Cache contributors in IndexedDB
2020-05-27 17:33:36 +02:00
basti
871731110b
Process contributor data
...
Add util function for processing contributor data, and remove bignums,
etc.
2020-05-27 16:27:08 +02:00
basti
f996c89dfe
Add localforage, basic cache service
2020-05-27 12:59:37 +02:00
basti
12df28f7fd
Fix ESLint errors
2020-05-11 10:21:22 +02:00
basti
4946b3311d
Remove all proposal-related code
...
We're not using proposals at the moment, so it's just in the way.
2020-05-10 10:25:06 +02:00
basti
a7dd058d21
Remove obsolete parens
2019-10-18 09:52:38 +02:00
basti
1deecafee7
Handle pending changes for contributions
...
This adds the pending tx data to pending contributions (after adding or
vetoing, until the tx is mined). It also disables the veto button while
pending.
2019-09-20 15:43:34 +02:00
basti
8be18fc27c
Merge pull request #155 from 67P/feature/resubmit_vetoed_contribution
...
Re-submit vetoed contributions
2019-09-10 16:53:36 +02:00
basti
89391c1543
Update details of pending contribution when mined
...
Fetches complete details of new contributions and replaces any potential
pending, incomplete objects in the collection.
2019-09-10 15:21:50 +02:00
basti
05e3118a0c
Re-submit vetoed contributions
2019-09-10 11:47:07 +02:00
basti
5a5051bac6
Check required network before using user provider
...
closes #82
2019-09-04 18:51:49 +02:00
basti
304c0ac8d0
Only use user wallet if it's already open/connected
2019-09-04 18:29:25 +02:00
basti
cae13ed662
Sign in button to connect account
2019-09-04 18:22:48 +02:00
galfert
413bcddb1e
Wire up signup via Github
2019-07-26 03:38:18 +02:00
galfert
636ac30622
Use ember-auto-import instead of ember-browserify
2019-07-15 17:11:41 +02:00
basti
1c1f772ff5
Update contributor profiles
...
* Adds a new page for updating profiles
* Refactors the add-contributor component to allow for updating
existing contributors
* Adds input labels to the contributor form and improves placeholders
* Adds event handlers for all contract contributor changes and uses them
for updating the UI
refs #122
2019-05-29 16:14:11 +02:00
basti
58bd729acb
Formatting
2019-05-29 16:12:48 +02:00
basti
16ee3b6b6b
Move contributor-creation form for separate view
...
closes #74
2019-05-23 14:17:33 +02:00
basti
af9951ca5a
Add newly created contributions to collection
2019-05-23 12:48:18 +02:00
basti
cec87f6caf
Dat gas issue
2019-05-23 10:22:37 +02:00
basti
22a9786168
Add contribution basics
2019-05-23 09:46:09 +02:00
basti
7083da367d
Remove vetoed contributions from confirmed list
2019-05-10 13:49:55 +02:00
galfert
9386c30d09
Update toplist balance when contribution is vetoed
...
Co-Authored-By: skddc <sebastian@kip.pe >
2019-05-08 12:15:51 +02:00
basti
6638691c9f
Remove vetoed amounts from unconfirmed balances
2019-05-06 18:46:59 +02:00
basti
ef45d55521
Fix missing contributors in toplist
...
Adds contributors without unconfirmed contributions to the
kreditsByContributor collection.
fixes #114
2019-05-06 14:44:42 +01: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
48e5ddbc02
Merge pull request #108 from 67P/feature/add_contributor
...
Fix/update adding contributors
2019-04-29 12:44:15 +01:00
basti
e1737392a7
Mark contributions as vetoed on incoming event
2019-04-28 15:26:26 +01:00
basti
00b7b380b9
Fix veto tx failing
...
Still have to set the gas limit for most functions in order for them to
work. :/
2019-04-28 15:06:28 +01:00
basti
9821c8b2ea
Veto contributions
2019-04-28 15:05:56 +01:00
basti
109ffd2898
Fix contributor details view in toplist
2019-04-28 11:58:58 +01:00
basti
185d7c58c2
Finish group-by util
...
Move function to util, add tests.
2019-04-27 18:41:26 +01:00
basti
283ec1d48a
Add kreditsByContributor collection
...
Lists contributors along with their confirmed, unconfirmed, and total
kredits amounts.
2019-04-27 17:35:05 +01:00
basti
f32a34a702
Improve code comment
2019-04-27 17:34:04 +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
bumi
2a7ec1073f
List 200 contribtuions per page
...
Kicking the can a bit further down the road...
Currently we do not have any pagination and we got already more
contributions than the default per page setting.
2019-04-25 23:56:18 +02:00
basti
fa95376fda
WIP: Fix/update adding contributors
2019-04-25 13:24:36 +01:00
bumi
de937aceee
Shorter JS syntax
2019-04-24 09:48:24 +02: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
562a8d159b
Cleanup
2019-04-19 14:54:18 +02:00
bumi
2aae2a8f90
Fix kredits balance handling
...
Kredits are stored on the Token contract as uint256 / bignumbers with 18
decimal points. Just like Ether and required by the ERC20 standard.
So we need to work with bignumbers and format a bignumber value here.
2019-04-19 11:37:18 +02:00