Commit Graph

400 Commits

Author SHA1 Message Date
Daniel Ternyak 55c407c9e0
re-yarn 2019-05-21 12:19:53 -05:00
Daniel Ternyak 5ffaa97ef2
add type definitions 2019-05-19 15:28:47 -05:00
Daniel Ternyak 833b83a8b4
add compression to express middleware 2019-05-19 15:27:33 -05:00
Aaron 381722de74
admin notifications 2019-04-16 12:38:14 -05:00
Daniel Ternyak 35510b984f
Misc fixes (#418)
* CORS

* Parse float instead of bn

* Minimum to 0.001

* Unused import
2019-04-04 19:16:00 -05:00
William O'Beirne 339705207a
Default target to '0' (#413)
* Default proposal target to zero instead of None

* Add frontend validation and 1 ZEC minimum
2019-03-28 13:25:34 -04:00
William O'Beirne edd2260423
Update RFP copy + fix admin bug (#414)
* Update RFP copy and use dangerous html to get a link working. Also fix an RFP create bug.

* Capitalize
2019-03-28 13:13:12 -04:00
William O'Beirne 12b9953b2d
Add zfnd.org link to footer. (#415) 2019-03-28 13:12:00 -04:00
Daniel Ternyak 69d4a83f6c
Merge branch 'develop' into chunk-error-refresh 2019-03-22 19:29:45 -05:00
Will O'Beirne e9ed8f7892
Refresh page on chunk errors. 2019-03-22 15:54:50 -04:00
Will O'Beirne bd5662dee3
Enforce SSL on admin 2019-03-22 15:39:51 -04:00
Daniel Ternyak a4a80bfe4c
Merge branch 'develop' into better-validation 2019-03-18 16:00:06 -05:00
Daniel Ternyak 3bd34b114f
Merge branch 'develop' into fix-milestone-rehydration 2019-03-18 15:56:33 -05:00
Will O'Beirne fb42eca561
Max lengths on signup form 2019-03-18 15:05:08 -04:00
Will O'Beirne 53f6a186ee
More safety validation 2019-03-18 15:03:01 -04:00
Will O'Beirne 0f49a73ae3
Fix tslint 2019-03-18 15:02:47 -04:00
Will O'Beirne 4511a1d6e8
Adjust merged in milestone validation 2019-03-18 14:53:15 -04:00
Will O'Beirne 824ba30fa5
Merge branch 'mixmasala-fix_negative_payout' into better-validation 2019-03-18 14:48:14 -04:00
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
Will O'Beirne 2eff058add
Rehydrate proposal detail page milestones. 2019-03-18 12:43:30 -04:00
Will O'Beirne 6fc6fedab7
Prevent brief from overflowing. 2019-03-18 12:26:57 -04:00
Masala ba1b54d979 add check for payout percent > 100 2019-03-15 19:31:59 -04:00
Masala 3baa6d258f add payout percent frontend validation 2019-03-15 19:26:15 -04:00
William O'Beirne ba704f5f5c ToS & PP (#385)
* Privacy policy

* TOS
2019-03-14 23:45:56 -05: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
AMStrix c41d74c0fa String replacement for block explorer URL (#384)
use string replace to build block explorer url
2019-03-15 00:16:38 -04: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 3050caf329 Sentry fixes (#345)
* Upgrade sentry sdk, replace all prints with flask logging.

* Upgrade node sentry to fix circular json error.

* Update frontend sentry versions to maintain parity and nab any fixes.
2019-03-13 14:40:29 -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 500175f5d2 Upgrade sshpk in yarn.lock (#333) 2019-03-12 16:25:38 -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 671e65e145 Upgrade react-mde to 7.0.4 (#331) 2019-03-12 15:14:30 -04: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 e98f266100 add CoC (#328) 2019-03-12 12:44:16 -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