Commit Graph

188 Commits

Author SHA1 Message Date
William O'Beirne cb11ba16b3
Merge pull request #227 from grant-project/fix-missing-contract-build
Fix contract build on yarn dev
2018-11-27 13:40:42 -05:00
Will O'Beirne a37fb152b4
Rebuild contract if missing. Simplify some logic. 2018-11-27 13:21:54 -05:00
William O'Beirne ad6173b376
Merge pull request #211 from grant-project/server-side-drafts
Overhaul create to provide server side drafts, team invites, and a bunch of refactors
2018-11-27 12:53:53 -05:00
William O'Beirne e6b2847929
Merge pull request #220 from grant-project/team-invites
Create overhaul (Pt 2. - Team invites, user type consolidation)
2018-11-27 12:46:06 -05:00
Will O'Beirne bc076c8736
Remove prints. 2018-11-27 12:39:36 -05:00
Will O'Beirne 5754a84f79
Fix wrong test key. 2018-11-27 12:22:54 -05:00
Will O'Beirne 708eaca511
Merge upstream changes. 2018-11-26 20:29:33 -05:00
Will O'Beirne 1b1797be54
Merge branch 'server-side-drafts' into team-invites 2018-11-26 20:21:44 -05:00
Will O'Beirne 9c69f28179
Fix test mocks. 2018-11-26 20:20:23 -05:00
Will O'Beirne 02b1260573
Merge in latest changes. 2018-11-26 20:14:00 -05:00
Will O'Beirne c95dde2cda
Merge upstream changes. 2018-11-26 18:51:48 -05:00
Will O'Beirne f9b4f65ac4
Merge develop in. 2018-11-26 18:47:24 -05:00
Daniel Ternyak 00219e65c8
Only Runtime Contracts (#225) 2018-11-25 22:02:35 -06:00
Daniel Ternyak 8a97142d82
Avoid childprocess until neccesasary 2018-11-22 15:42:07 -06:00
AMStrix 7abeac7bd7 Sentry Integration (#221)
* BE sentry setup w/ user scope

* FE sentry integration + user scope

* FE env adjustments

* FE: use NODE_ENV for Sentry

* BE: use FLASK_ENV for Sentry

* BE: remove email, acct & ip from Sentry user scope

* comment .env.example SENTRY* for CI

* fix merge artifact
2018-11-21 23:45:29 -06:00
AMStrix 968974d8d7 E2E - Web3 interaction & more tests (#202)
* account switching & setting gas for e2e web3

* e2e web3 interaction + new specs

* refund after payout spec

* use send instead of sendAsync + update ganache script cmd

* sign intercept + deterministic accounts

* add authentication to creation tests

* adjust cy.request call

* refactor + WIP fiddle with xhr

* xhook to modify incoming api requests
2018-11-21 21:20:09 -06:00
AMStrix d367e6e474 Track proposal contributions (#219)
* BE proposal contribution tracking

* FE proposal contribution tracking

* validate contributions

* make sure we catch errors in the 'confirmation' listener

* remove console.log

* lowercase from address compare

* remove validate_contribution_tx from post_proposal_contribution
2018-11-21 21:18:22 -06:00
AMStrix a95a8ff080 Server-side API calling/preloading. (#224)
* make sure BACKEND_URL gets set for server in production mode

* ssr api calls by path

* turn off redux logger on server

* massage preloaded state (BNify JSONed BNs)

* make sure fetchProposal returns async/promise

* make sure render works on ssr (check window refs)

* linting issue
2018-11-21 21:17:49 -06:00
Daniel Ternyak a95f693467
Merge branch 'develop' into server-side-drafts 2018-11-21 17:26:38 -06:00
Daniel Ternyak f8910b1e09
Contract Build Improvements (#215) 2018-11-21 17:24:33 -06:00
William O'Beirne 0496b58130
Merge pull request #218 from grant-project/avatar-upload-basics
Avatar upload and download
2018-11-19 19:22:31 -05:00
Aaron cd2bd8f0b7
interpolate AVATAR_MAX_SIZE into error message 2018-11-19 17:58:30 -06:00
Will O'Beirne fb4b31c978
Restore contract files. 2018-11-19 15:48:45 -05:00
Will O'Beirne fcf13deea1
Fix tsc 2018-11-19 15:40:21 -05:00
Will O'Beirne c51b1e2dab
Finish up user and social media conversions. 2018-11-19 15:23:56 -05:00
Aaron e6cc99aa5c
fix reducer logic mistake 2018-11-16 22:24:41 -06:00
Aaron 866be8e62c
alert margin 2018-11-16 21:56:43 -06:00
Aaron 52f1f54442
avatar upload & download 2018-11-16 21:33:25 -06:00
Will O'Beirne d7e4c1c533
Check in user refactor. Incomplete, but computer is crashing routinely. 2018-11-16 18:05:17 -05:00
Will O'Beirne 89c1c3345d
Fix some zeroes, default fields. 2018-11-16 14:23:42 -05:00
Will O'Beirne 8eeee61498
Fix pending in review. 2018-11-16 14:19:13 -05:00
Will O'Beirne c1d7b88924
Dont show accepted invites. 2018-11-16 14:18:27 -05:00
Will O'Beirne 95a963f2c8
Fix cyclic dependency. 2018-11-16 14:17:09 -05:00
Will O'Beirne df9ea60300
Invite tab on profile, allow accepting and rejecting invites. 2018-11-16 13:50:47 -05:00
Will O'Beirne ce3425ba0a
Add warnings to publish. Warn if outstanding invites. 2018-11-16 11:57:03 -05:00
Will O'Beirne a3cfbda3e2
Working invitations + deletions. 2018-11-16 11:16:52 -05:00
Will O'Beirne c378c1d1bb
Nail down team invite model. 2018-11-15 16:51:32 -05:00
Will O'Beirne 8c96470826
Merge server-side-drafts in 2018-11-15 11:27:27 -05:00
Will O'Beirne 755ee8f5a0
Remove redundant check. 2018-11-15 11:11:54 -05:00
Will O'Beirne f40d88c4b5
Remove print. 2018-11-15 11:10:15 -05:00
Will O'Beirne 50cdf45882
Draft deleting. 2018-11-15 11:02:16 -05:00
AMStrix b177e7efa9 Backend Proposal Reads Pt. 2 (#209)
* web3 flask + read proposal

* tests

* use build/contracts indtead of build/abi

* fail if endpoint not set

* batched calls

* add web3 read to GET proposal(s) endpoints

* basic  integration of BE crowdFund data into FE

* handle dead contracts & omit on FE

* allow web3-free viewing & move crowdFundContract out of redux store

* upgrade flask-yolo2API to 0.2.6

* MetaMaskRequiredButton + use it in CampaignBlock

* convert to tuples

* farewell tuples

* flter dead proposals on BE

* give test_proposal_funded deadline more time
2018-11-14 17:24:56 -05:00
Will O'Beirne e11be1569d
Publish proposal 2018-11-14 17:03:50 -05:00
Will O'Beirne a7debd0bed
Fixup outstanding ts issues. 2018-11-14 16:21:41 -05:00
Will O'Beirne 8fc00d7d70
Remove team editing, always defaults to 1 member team of authd user. 2018-11-14 16:18:40 -05:00
Will O'Beirne d29aed36de
Fix tests 2018-11-14 16:12:24 -05:00
Will O'Beirne 9c60af93d1
Stop filling in team for example. 2018-11-14 14:04:17 -05:00
Will O'Beirne 415b1b7d5c
Blow away migrations due to sqllite issues. 2018-11-14 13:57:05 -05:00
Will O'Beirne 84daa1cba9
Rename a bunch of fields to their original values. Get draft saves working. 2018-11-14 12:59:48 -05:00
Will O'Beirne 8aceac0c45
Get backend draft updates working. 2018-11-14 12:27:40 -05:00