Commit Graph

926 Commits

Author SHA1 Message Date
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
Masala 7703d274bd raise ValidationException on invalid payout percent 2019-03-15 19:19:03 -04:00
Masala db05d2b86f no negative payouts 2019-03-15 18:14:17 -04:00
Daniel Ternyak 4abf840c0a
Merge pull request #386 from grant-project/develop
Release 1.0.0
2019-03-14 23:46:37 -05: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
Daniel Ternyak 314879e316
Create LICENSE 2019-03-14 23:11:45 -05:00
Daniel Ternyak 1ad359eddd
Delete LICENSE 2019-03-14 23:10:43 -05:00
Daniel Ternyak 860af087dc
Update README.md 2019-03-14 22:42:14 -05:00
Daniel Ternyak 2bb67b84d4
Update README.md 2019-03-14 22:41:30 -05:00
William O'Beirne 94b8837bdc Create preview fix + extras (#382) 2019-03-14 22:38:04 -05:00
William O'Beirne aff973182d Watcher zero fix (#383) 2019-03-14 22:37:37 -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
William O'Beirne 0e979dc77c Repeat bootstrap attempts (#380)
* Repeatedly attempt to bootstrap watcher until it happens.

* Get rid of first request bootstrap, watcher polls now.
2019-03-14 22:21: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
Daniel Ternyak d2e8acd704
Fix Logging typo (#377) 2019-03-14 20:51:51 -05:00
Daniel Ternyak 9b542ab1f1
More webargs validation (#344) 2019-03-14 15:29:02 -05:00
Daniel Ternyak ff3d048083
Consolidate migrations (#363) 2019-03-14 15:07:32 -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
AMStrix d4368b2f25 admin: proposal published shows 'n/a' when datePublished is 0 (#361) 2019-03-14 12:47:42 -04:00
AMStrix 46aa7cf6cf Limit Contribution Related Emails (#360)
* BE: limit contribution emails to CONFIRMED & one per user + add app context to EmailSender

* BE: handle EmailSender setup and start using flask request context
2019-03-14 12:46:09 -04: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
William O'Beirne a91269f605 Replace email logo (#357) 2019-03-14 00:05: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 e018f11018 Zcash e2e basics (#329)
* e2e: remove more eth related stuff, update cypress

* BE: e2e endpoints and interceptions for emails and blockchain reqs

* e2e: expand browse test for proposals and comments

* e2e: remove old tests, add new ones

* e2e: intercept blockchain_get /contribution/addresses

* be: disable sentry for e2e, add DEBUG to e2e endpoint register conditional

* post-merge adjustments

* fix merge related bug

* post merge issue
2019-03-13 18:36:06 -05:00
AMStrix a043c2dfa6 XSS and Reduced Markdown for Admin (#355) 2019-03-13 18:35:22 -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
AMStrix 25a71ced1b
Merge pull request #343 from grant-project/batch-emails
Batch (read threaded) emails
2019-03-13 15:19:24 -05:00
Aaron 0f055d6b39
Merge branch 'develop' into batch-emails
# Conflicts:
#	backend/grant/email/send.py
2019-03-13 15:11:54 -05:00
William O'Beirne 0b3bf5e66f Update email from & name (#348) 2019-03-13 14:41:30 -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 badb9fc23d
Merge branch 'develop' into batch-emails 2019-03-13 13:59:38 -04: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
Aaron eb4767d4cc
Merge branch 'develop' into batch-emails
# Conflicts:
#	backend/grant/proposal/models.py
2019-03-12 20:14:51 -05:00
Aaron d1e2545b49
be: EmailSender Thread for pushing emails sends off the response thread 2019-03-12 20:12:07 -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
Daniel Ternyak 21217c73b6
Create DISCLOSURE.md (#335) 2019-03-12 16:36:17 -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
AMStrix c291d41d4e Admin financials (#310)
* admin: financials basics

* BE: allow missing emailSettings on user settings EP

* admin: add webpack import loader for ant-design-pro (for styles loading)

* BE: admin financials reporting

* admin: financials page

* admin financials - convert contribution and payout total summations to sql

* Handle some kinda failure case.

* admin: remove "accounting" card from financials
2019-03-12 13:08:16 -04:00