Commit Graph

456 Commits

Author SHA1 Message Date
Will O'Beirne a1283f24eb
Allow topping off of partial stake contributions. Fix float innaccuracy errors in python. Allow staking proposals to be deleted. 2019-02-05 20:45:57 -05:00
Will O'Beirne f4f8d9312d
Merge branch 'develop' into proposal-date-fixes 2019-02-05 16:29:46 -05:00
Will O'Beirne a3a2392135
Convert milestone dates to unix timestamps to be inline with the rest of our entities. 2019-02-05 16:25:58 -05:00
Will O'Beirne bd740bd9fa
Fix tsc 2019-02-05 16:06:45 -05:00
Will O'Beirne 3b8d96ac51
Fix isImmediatePayout non-existant property on milestones. 2019-02-05 16:05:45 -05:00
Will O'Beirne f0303b26b4
Set valid dates on auto-create. 2019-02-05 16:05:16 -05:00
Will O'Beirne 6cd6520fbc
Use datePublished for deadline wherever possible. Disable past dates during milestone create, disable field when immediate payout is set. 2019-02-05 15:56:07 -05:00
Aaron 3f51b4f774
Merge branch 'develop' into proposal-arbiter 2019-02-05 14:46:16 -06:00
Aaron 2868d93fa1
proposal arbiter BE basics + initial admin work 2019-02-05 14:45:26 -06:00
AMStrix d696f7978d Proposal pagination & 404 fix (#151)
* BE: command to create fake proposals

* BE: pagination system + implemented for GET proposals/

* FE: overlay mode for Loader component

* FE: paginated Proposals

* refactor pagination.py a bit

* Proposals: set search input from store on construction

* admin: switch proposals to new pagination regime

* BE: test adjustments

* set app.proposals.page after fetch in a less-creepy way

* optimictic proposal.detail from proposal.page

* keep api interfacing on the api surface (one-dimentional page filters vs structured)

* rem MOST & LEAST_FUNDED prop sort + rename NEWST & OLDEST

* ProposalPagination fix default sort
2019-02-05 15:34:19 -05:00
William O'Beirne 08ed3e0417
Address validation (#156)
* Fix create step query

* Add basic regex validation for addresses to frontend.

* Check with zcash node if address is valid before final proposal submission.

* tsc

* Mock requests where needed. Come up with a function that mocks all blockchain requests.

* Remove print
2019-02-05 15:26:37 -05:00
Will O'Beirne a7fb3bcd81
Remove print 2019-02-05 15:16:39 -05:00
Aaron 6310e7ca90
remove old proposal model ENUMs 2019-02-05 11:01:57 -06:00
Daniel Ternyak 6370949719
Merge pull request #152 from grant-project/gdpr-and-cookies
GDPR and Cookie Compliance
2019-02-05 09:43:21 -06:00
Daniel Ternyak fe0cb6c220
Merge branch 'develop' into gdpr-and-cookies 2019-02-05 09:35:31 -06:00
Will O'Beirne a2ddcf07c4
Mock requests where needed. Come up with a function that mocks all blockchain requests. 2019-02-05 06:17:07 -05:00
Will O'Beirne fdc293185b
tsc 2019-02-05 01:26:05 -05:00
Will O'Beirne fa462175f3
Merge branch 'develop' into address-validation 2019-02-05 01:25:20 -05:00
William O'Beirne ce95dd7b0c
Fix create step query (#154) 2019-02-05 01:25:02 -05:00
Will O'Beirne df4b077a4a
Check with zcash node if address is valid before final proposal submission. 2019-02-05 01:24:17 -05:00
Will O'Beirne c7e18d19b0
Add basic regex validation for addresses to frontend. 2019-02-05 00:52:09 -05:00
Daniel Ternyak 2dc3e1df86
Merge branch 'develop' into gdpr-and-cookies 2019-02-04 21:58:52 -06:00
Daniel Ternyak d468f9e287
Merge pull request #153 from grant-project/tabs-min-height
Minimum tab heights on proposals and profiles.
2019-02-04 21:58:40 -06:00
Daniel Ternyak 6bfd9cb90f
Merge branch 'develop' into tabs-min-height 2019-02-04 21:49:16 -06:00
Daniel Ternyak 257a8bd21d
Merge pull request #150 from grant-project/no-previews
No previews in emails
2019-02-04 21:47:33 -06:00
Will O'Beirne 7620d7f577
Fix create step query 2019-02-04 17:50:11 -05:00
Will O'Beirne 3967358531
Minimum tab heights on proposals and profiles. 2019-02-04 17:39:46 -05:00
Will O'Beirne 77bf47bf18
Implement user deleting. 2019-02-04 16:18:50 -05:00
Will O'Beirne 949f0cb115
Remove unused redux persist. 2019-02-04 15:45:20 -05:00
Will O'Beirne 29f59aa81d
Require agreement on signup. 2019-02-04 15:45:11 -05:00
Will O'Beirne 9415992bc1
Remove previews from update and comment emails. 2019-02-04 14:45:38 -05:00
Daniel Ternyak 3b76219f18
Merge pull request #147 from grant-project/remove-antd-ellipsis
replace antdp Ellipsis component
2019-02-01 16:09:52 -06:00
Aaron 70adb40b75
replace antdp Ellipsis component 2019-02-01 16:07:15 -06:00
William O'Beirne 1f41181f33
Move loadables into dependencies. (#145) 2019-02-01 16:27:08 -05:00
William O'Beirne b920b73a4b
Enforce email verification server side (#142)
* Add new auth middleware for ensuring user has verified email account.

* Fix test.
2019-02-01 15:43:43 -05:00
AMStrix 1c72178b86 Create and use ExceptionPage for 404s (#138)
* create & use ExceptionPage for 404s, remove LinkButton

* ExceptionPage: set default 'desc' if not set on props
2019-02-01 14:25:17 -05:00
William O'Beirne c17145986f
Request for Proposal (Pt. 3 - Create & Link Proposals) (#131)
* Adjust rfp <-> proposal models. Add button to rfp detail page to make linked proposal.

* Add a block that links to the original request. Fix a bunch of preview issues.

* List proposals on RFP.

* Admin view for connected RFPs and proposals

* Fix TSC issues.

* Fix tab badge misalignment

* Redesign list page.

* Resolve PR issues.
2019-02-01 14:13:30 -05:00
Daniel Ternyak d0b1ccc08c
Merge pull request #136 from grant-project/loadable-fixes
SSR & Build Fixes
2019-01-31 22:05:30 -06:00
Will O'Beirne 5310e813fe
Fix bad ssr action path. 2019-01-31 22:13:38 -05:00
Will O'Beirne 33ac4db564
Fix SSR, fix uncaught async errors, fix style cascade. 2019-01-31 22:09:52 -05:00
Will O'Beirne 95c63b8974
Merge develop in. 2019-01-31 20:50:26 -05:00
William O'Beirne 006ece5fe4 Check in WIP 2019-01-31 20:49:13 -05:00
AMStrix f8f3bd1707 Proposal staking (#134)
* BE: proposal/<id>/stake end-point basics

* BE: proposal staking tests

* add STAKING to ProposalStatusEnum

* BE: incremental staking related changes

* admin: staking status

* FE: proposal staking first pass

* ZCash -> Zcash spelling

* staking contribution confirmed email

* FE: staking related minor style changes

* FE proposal staking env var

* notify user of partially staked proposal contributions
2019-01-31 17:56:16 -05:00
William O'Beirne 4091deaf2f
Request for Proposal (Pt. 1 - Models & Admin) (#120)
* Convert constants into enums

* Initial RFP models and views.

* Fix model and enums

* RFP admin fully fleshed out.

* Fix tsc

* Fix tests and tsc

* Fix closed tag display

* Request for Proposal (Pt. 2 - Public View) (#125)

* RFP list page and backend endpoints. Scaffold of detail view.

* RFP detail view. Fix faulty addRfp action.

* Fix 0 showing up

* PR cleanup
2019-01-30 12:59:15 -05:00
AMStrix b0d16ace7d Proposal contribution matching (#117)
* BE: contribution_matching + admin proposal update end-point + tests

* admin: set proposal matching status

* frontend: contributionMatching

* improve CampaignBlock matching callout - thx Will

* adjust ProposalDetail matching confirmation popover child scope

* contributed & funded Proposal fields (hybrid props) + remove funded derivation from FE

* include "contributed" sum for ProposalDetail view

* fix branched migration revision
2019-01-29 18:50:27 -05:00
Daniel Ternyak 73bbd191d9
Merge pull request #116 from grant-project/task-scheduler
Task scheduling groundwork
2019-01-29 16:58:49 -06:00
Daniel Ternyak 25c622360d
fix test 2019-01-29 16:43:04 -06:00
Daniel Ternyak 2deb8c8cfa
PR review additions 2019-01-29 16:21:06 -06:00
Daniel Ternyak 357517278d
Merge branch 'develop' into task-scheduler 2019-01-29 13:29:40 -06:00
Daniel Ternyak 63dc9fbd09
Merge pull request #115 from grant-project/require-email-verification
Require email verification before important actions
2019-01-29 13:29:26 -06:00