Commit Graph

305 Commits

Author SHA1 Message Date
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
Will O'Beirne a6175e530c
Merge in develop 2018-11-14 12:03:40 -05:00
Will O'Beirne 8245795306
Temporary checkin, fuckup all of the types on the frontend. 2018-11-14 11:43:00 -05:00
AMStrix 03de8c2543 Backend Proposal Reads Pt. 1 (#198)
* web3 flask + read proposal

* tests

* use build/contracts indtead of build/abi

* fail if endpoint not set

* batched calls
2018-11-14 09:30:18 -05:00
Daniel Ternyak 8c2e43c51b
Update Flask-YoloAPI (#207)
* Update to latest flask-yolo2api

* Fix related tests
2018-11-13 22:45:55 -05:00
Will O'Beirne 95c765834a
Setup draft list component, edit page from route. 2018-11-13 17:51:02 -05:00
William O'Beirne 5ea2938b7d
Merge pull request #206 from grant-project/now-script
Add NPM command for now deployments
2018-11-13 13:13:40 -05:00
Daniel Ternyak 3d34daba50
add npm command for now deployments 2018-11-13 13:01:51 -05:00
William O'Beirne 50f99dd298
Add nowignore (#204) 2018-11-13 12:47:33 -05:00
Will O'Beirne 2c804a412a
Add frontend changes too 2018-11-13 11:07:37 -05:00
Will O'Beirne 829d072b8c
Check in work on proposals, drafts 2018-11-13 11:07:09 -05:00
Daniel Ternyak 56df655c05
Merge branch 'auth-endpoints' into working-comments 2018-11-13 15:24:25 +01:00
William O'Beirne a418f3d5b6 Authenticate endpoints (#193)
* Add auth to endpoints.
2018-11-13 15:17:06 +01:00
Daniel Ternyak 35ba78fadd
Merge branch 'develop' into auth-endpoints 2018-11-13 15:16:47 +01:00
Daniel Ternyak c579820dc3
Auth Endpoints Tests (#203)
Auth Endpoints Tests
2018-11-13 14:58:02 +01:00
Will O'Beirne 6000d015ff
UI for adding by address. 2018-11-09 14:54:04 -05:00
AMStrix 22487b331b Fix regressions from Readable URLs #190 (#200)
* admin adjustments for proposalId / proposalAddress

* ensure fetchProposal called with proposalId

* have ProposalCard display proposalAddress
2018-11-09 13:48:55 -05:00
Will O'Beirne c9d6e58e19
Hide reply actions if logged out. 2018-11-08 14:38:00 -05:00
Will O'Beirne 7ee7a53b3b
tsc 2018-11-08 14:16:42 -05:00
Will O'Beirne c4950b0b27
Remove unnecessary props, fix comment id. 2018-11-08 14:14:52 -05:00
Will O'Beirne 828bd1f636
Show correct avatar for comment author. 2018-11-08 13:52:36 -05:00
Will O'Beirne 7c023da066
Create and show replies to comments succesfully. 2018-11-08 13:42:19 -05:00
Will O'Beirne 1862b69169
Properly signing, creating, fetching comments. Fix incorrect types. Setup scaffolding for replies. 2018-11-08 13:29:29 -05:00
Will O'Beirne 5a1cf5ae2a
Add auth to endpoints. 2018-11-07 14:19:12 -05:00
William O'Beirne 250d5fb7a9
EIP-712 signatures for login & signup (#189)
* Signup requires valid EIP-712 signature. Refactor some auth reducer nomenclature for consistency.

* Add auth endpoint for logging in that checks for valid signature, like create user.

* Fix tests, move dummy data into test_data.py.

* No strict slashes.
2018-11-07 14:08:42 -05:00
AMStrix d8eba48847 Readable Proposal URLs (#190)
* proposal_id -> proposal_address & exposed proposal_id is prooposal.id

* FE proposalId to number + proposalUrlId generation and use
2018-11-07 12:33:19 -05:00
AMStrix 4891a83450 Cypress e2e basics (#186)
* cypress e2e with a couple tests

* add createCrowdFund helper function for future use
2018-11-06 13:52:52 -05:00
William O'Beirne 0670eaa054
Web3 Only Auth + MetaMask future proofing (#187)
* Setup ethereum.enable() flow, change login to only use web3.

* Fix sign in icon to be white again.
2018-11-06 13:42:45 -05:00
William O'Beirne 79773ea4da Prevent helmet crash (#178)
* Add key to helmet to prevent it from crashing.

* Undo key fix, comment out header details component.
2018-11-05 20:41:54 +01:00
Daniel Ternyak 3b228bd208
Merge branch 'master' into develop 2018-11-04 23:05:32 +01:00
Daniel Ternyak d3191c6cd8
Fix Migrations (#176) 2018-11-04 23:03:43 +01:00
AMStrix 2e743cc5a5 Standardize Backend Serialization (#175) 2018-11-04 19:33:22 +01:00
AMStrix c3649d322b Frontend i18n Infrastructure (#174) 2018-11-04 19:26:34 +01:00
William O'Beirne 118d7b645e
Proposal updates (#171)
* Add models & endpoints

* Implement proposal updates.

* Reset state on close. Add missing key. Prompt on close if they will lose stuff.

* Dont warn if they submitted.
2018-11-02 12:24:28 -04:00
William O'Beirne cdc3ea0107
Email verification (#172)
* Add email_verification table and endpoints, setup email verification page, adjust emails to actually verify.

* Add User.create method
2018-11-02 12:07:06 -04:00
AMStrix f823488abb Misc bugs & cleanup (#173)
* fix Final.create getting called multiple times

* give moment the non-standard format string to parse with

* remove unused package & refs for nprogress

* remove unused file: theme.ts
2018-11-02 11:47:25 -04:00
AMStrix 7c651be138 Admin adjustments (#167)
* disable admin delete user & proposal endpoints

* handle absence of web3 gracefully
2018-11-02 02:35:14 +01:00
William O'Beirne 8eeb9fc78a
New color palette & redesigned splash screen (#170)
* Use name and icon logos where possible. Add favicon and other general web meta info.

* Unused import

* Update icons and logos.

* Variablize all colors. Switch to purple primary.

* Redesign homepage. Slight color tweaks.

* Fix blue button
2018-10-31 17:05:35 -04:00
Daniel Ternyak 35d7139a88
Merge pull request #166 from grant-project/develop
Release 5
2018-10-31 19:52:40 +01:00
Daniel Ternyak 99be8c65fd
Merge branch 'master' into develop 2018-10-31 00:37:13 +01:00
William O'Beirne b8e93994cb Require message signature on sign up / sign in (#165) 2018-10-31 00:18:26 +01:00
William O'Beirne 30a476a285
Logos, Icons, Manifest.json (#163)
* Use name and icon logos where possible. Add favicon and other general web meta info.

* Unused import

* Update icons and logos.
2018-10-30 13:58:05 -04:00
AMStrix d4298e62cc Admin (#164)
* admin backend

* admin ui

* tslint ignore contracts

* fix name

* build & serve
2018-10-30 12:35:47 -04:00