Commit Graph

291 Commits

Author SHA1 Message Date
Will O'Beirne 0ce35629a2
More component maxlengths 2019-03-18 14:47:46 -04:00
Will O'Beirne adc2fd4d63
Stricter validation, truncate before db entry, env var proposal target limit 2019-03-18 14:35:08 -04:00
Daniel Ternyak 495b50a9e9
Misc Fixes (#381)
* Fix Logging typo

* only allow consecutive milestone date estimates

* fix typo

* handle empty target

* validate max proposal brief size
2019-03-14 23:24:10 -05:00
William O'Beirne 94b8837bdc Create preview fix + extras (#382) 2019-03-14 22:38:04 -05:00
AMStrix 1d07997a7a Moar bugs (#379)
* #376 fix milestone passed to milestone_paid email

* #374 fix admin contribution PUT/POST status validation

* #373 fix updates & contributors tabs of Proposal
2019-03-14 22:26:28 -05:00
AMStrix ad844263dd Several bugs (#378)
* #375 admin long lines in proposal Detail card

* #371 comment_reply & proposal_comment email url typo

* #367 fix link to RFP from Proposal create, just use id

* #368 profile avatar removal, allow_none on /user PUT
2019-03-14 20:55:13 -05:00
William O'Beirne 5d7990a175 Testnet banner (#362)
* Scaffolding for banner

* Layout one

* Hide on homepage.

* Invert conditional
2019-03-14 14:37:50 -05:00
William O'Beirne 0069de7fc4 HeaderDetails on proposals and RFPs (#359)
* Set header details on proposal detail pages.

* Add RFP header details
2019-03-14 00:06:22 -05:00
William O'Beirne 1130d9f3be Slugify RFP urls (#358) 2019-03-14 00:06:02 -05:00
Daniel Ternyak 21a2a1f6ba
Add explanation for staking (#356) 2019-03-13 18:36:53 -05:00
William O'Beirne 9d0591918e Require refund address or confirm donation (#354)
* Add API check to disallow unsetting refund address.

* Require either refund address to be set or explicit consent for a donation. Dont have them show up as refundable in admin.

* Show donations on financials page

* Continue after entry

* Consider no_refund when checking for duplicate contribution.

* Fix types.

* Add a filter for all contributions that are considered donations. Update financial query to include donations.

* Elaborate in message.
2019-03-13 18:36:24 -05:00
AMStrix 1ae519e251 Address TODOs (#349)
* todos: simple ones, removals & modifications to NOTE

* rem-todo: reduced markdown images are removed by sanitizer

* be todo: add user validation to create

* be todo: improve test_invide_api tests

* be todo: remove todo comment

* fe todo: set error messages on reducers

* fe todo: upgrade and enable react-helmet

* todos - remove uneeded

* fe todos: remove unecessary

* be: fix remaining staking contribution calculation
2019-03-13 16:39:50 -05:00
William O'Beirne 4773c4a4ac Fix contact url (#350)
* Fix contact url

* Remove TODO
2019-03-13 14:20:54 -05:00
William O'Beirne 73d087bda7 Rate limits (#342)
* Implemented rate limits for most POST requests.

* Nicer error message for rate limited contributions

* Use error message for drafts and invites, limit invites on frontend.
2019-03-12 22:35:38 -05:00
William O'Beirne c92032e630 Add noscript messages (#341)
* Noscript warnings

* Incomplete sentence.
2019-03-12 22:08:50 -05:00
Daniel Ternyak c5979d5635 Various Fixes (#340)
* copy; ff

* Update PaymentInfo.tsx

* Update Final.tsx

* Update index.tsx
2019-03-12 19:04:32 -04:00
William O'Beirne 79db2b4001 Fix contribution confirmation on subsequent contribution (#336) 2019-03-12 17:20:11 -05:00
William O'Beirne e160380daa Prevent showing contribution instructions for canceled / expired proposals (#334) 2019-03-12 16:35:15 -05:00
William O'Beirne d4d9f5b2ab Use new logo + update meta tags (#332)
* Replace logo in header and footer.

* Update some meta tags.
2019-03-12 16:13:04 -05:00
William O'Beirne c6ad668d71 Better contribution error displays (#314)
* Handle blockchain_get failures better.

* tsc
2019-03-12 13:10:56 -04:00
Sonya Mann 403fb09513 change non-attributed contributions language (#316)
* non-attributed contributions copy
2019-03-12 12:38:35 -04:00
William O'Beirne 1905dfe7bf
Frontend error handlers (#312)
* Add componentDidCatch around routes with template, and outside routes at the top level.

* Remove error from ErrorWrap on navigation.
2019-03-08 16:13:13 -05:00
Will O'Beirne e9a052870c
Change homepage splash image to background image that keeps its place before loading. 2019-03-06 18:39:44 -05:00
William O'Beirne 312818d71a New footer (#300)
* Finalize design and layout.

* Change about page to redirect.
2019-03-06 15:50:32 -06:00
AMStrix 1d2228a394 Flexible Matching/Bounties + KYC (#277)
* BE: proposal rfp opt in & proposal bounty

* admin: proposal rfp opt in display & modify bounty

* FE: proposal rfp opt in / proposal.contributionBounty

* fix github merge (so close)

* add status field to update_rfp

* handle only showing canel and refund popover correctly

* undo unneeded change

* BE: make sure rfp.bounty is None when it is set to '0' or null during create/update
2019-03-06 14:25:58 -06:00
William O'Beirne 7bbefe8abe Update vulnerable packages (#302)
* Update frontend dependencies.

* Update admin packages.

* Fix content editor with new updates.

* Regenerate lock files.

* Revert "Regenerate lock files."

This reverts commit 93150fcac3.

* Fix tsc
2019-03-06 12:56:01 -06:00
Aaron bbf7b3eab0
FE: convert profile comment dateCreated to milliseconds 2019-03-05 11:40:25 -06:00
Aaron c600404540
FE: use Markdown for Profile comments 2019-03-05 11:35:40 -06:00
Daniel Ternyak a5ca90874f
Update Payment.tsx 2019-03-04 19:20:33 -06:00
Daniel Ternyak f7488d4018
Merge branch 'develop' into require-sapling-payout 2019-03-04 19:18:10 -06:00
Daniel Ternyak 78e86763bb
Merge branch 'develop' into mobile-menu-fixes 2019-03-04 17:04:29 -06:00
Daniel Ternyak fe504e47e4
Merge branch 'develop' into rfp-bounty-fixes 2019-03-04 16:44:49 -06:00
Will O'Beirne 937d894645
Require sapling payout address. 2019-03-04 15:02:51 -05:00
Will O'Beirne 9363d53378
Prevent overflow x on homepage. 2019-03-04 14:45:03 -05:00
Will O'Beirne 831488d54d
Highlight active page correctly. 2019-03-04 14:09:37 -05:00
Will O'Beirne d5e059a474
Close drawer on navigation. 2019-03-04 14:02:07 -05:00
Will O'Beirne 2cc5ade673
Sort homepage rfps by bounty. Fix admin views and some bounty logic. 2019-03-04 13:52:57 -05:00
Daniel Ternyak 5e6b46f8f4
Merge branch 'develop' into homepage-redesign 2019-02-27 17:11:42 -06:00
Daniel Ternyak 20e8480d14
PR review 2019-02-27 17:09:36 -06:00
Will O'Beirne 063dbdde7c
Don't show sign up if they're signed in. 2019-02-26 17:13:57 -05:00
Will O'Beirne c5463aea1e
i18n the homepage. 2019-02-26 17:08:04 -05:00
Will O'Beirne e9576b26a2
Size tweak 2019-02-26 16:40:19 -05:00
Will O'Beirne c7186ca567
Responsive for other sections. 2019-02-26 16:36:07 -05:00
Will O'Beirne 39102f6164
Responsive home intro 2019-02-26 16:23:36 -05:00
Will O'Beirne 3f7cbbc4df
SSR fetch, fix some states for requests loading. 2019-02-26 16:10:09 -05:00
Will O'Beirne 378765ebce
Initial pass at homepage full width. Not yet responsive or using localization. 2019-02-26 15:58:25 -05:00
Will O'Beirne 828be6ca01
Fix tsc 2019-02-26 12:41:39 -05:00
Will O'Beirne 560f63847e
More considerations for anonymous contributions on the frontend. 2019-02-25 14:46:47 -05:00
Will O'Beirne a2d89f2910
Pose a warning to user before contributing anonymously. Handle anonymous user in user row. 2019-02-25 14:26:02 -05:00
Will O'Beirne 6f7de989e7
Merge branch 'develop' into anonymous-contributions 2019-02-25 11:43:36 -05:00