Commit Graph

63 Commits

Author SHA1 Message Date
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 2d75150dff Profile edit (#160)
* cleanClone helper

* redux/store support for user update

* ProfileEdit and supporting UI

* ts fix

* fix spelling

* backend update user basics

* delete photo

* remove comments

* ignore leftover errors from previous update attempts

* fix ts unused arg

* make update user endpoint params optional

* connect ProfileUser for authUser & updateUser

* improve cleanClone function
2018-10-30 10:40:21 -04:00
Daniel Ternyak 357b4248c7
Tighten Backend Patterns (#159) 2018-10-22 17:31:33 -05:00
Daniel Ternyak abc824b17e
EIP-712 User Authorization (#138)
* example auth service

* prep for merge

* MVP signed transaction based auth

* update auth service endpoint and delete checked-in auth service

* add readme explanation for AUTH_URL

* rename eip-712 headers

* fix test errors
2018-10-20 00:18:27 -05:00
Daniel Ternyak 9e0ecaef02
User Resource Enhancements (#113)
* add tests to ensure already existing users get associated with a new proposal when they are specified in team

* serilaize avatar, social_medias on user; add tests

* add user resource GET API; test

* remove commented out serializer stuff
2018-09-26 14:42:40 -05:00
Daniel Ternyak 28d0ab76e6
Backend Regression Tests (#112) 2018-09-26 14:35:22 -05:00
Daniel Ternyak 397079869a
"Fuller" Users (#96)
* check in progress

* revert

* fix up API, add tests

* remove unused milestone commands

* support filtering users via proposalId

* get UI working

* refactoring / add minimum team size.

* fix proposal create API to properly support both email and account based
2018-09-25 15:09:25 -05:00
Daniel Ternyak 0e3302ccfe
Update test_api.py 2018-09-18 17:59:04 -05:00
Daniel Ternyak 6613d99e8a
Route Enhacements (#70) 2018-09-18 17:20:17 -05:00
Daniel Ternyak 02d703a32a
Create Proposal Comment API (#29)
* Create Proposal Comment API
Flesh out Testing Frameworks
Create initial test

* add flask_testing to requirements.txt

* Fix test client table setup in sqlite.

Apparently there are some issues when using flask with sqlite in memory, so simply persisting sqlite to disk fixes migrations.

* Fix resource creation status codes 204 -> 201.

* Fix and add tests

* add signing stub

* remove front-end changes
2018-09-18 17:17:34 -05:00
Will O'Beirne 08afe6cec2
Start ganache. Example test for python to pass. 2018-09-11 16:00:15 -04:00
Daniel Ternyak 2f513d0ce6
initial commit 2018-09-10 11:55:26 -05:00