Commit Graph

325 Commits

Author SHA1 Message Date
Danny Skubak ceb9f8cbdf always run milestone date estimation (#71) 2019-11-15 13:48:41 -06:00
Danny Skubak b824f462f0 Fix Create Proposals Command (#70) 2019-11-15 13:29:03 -06:00
Danny Skubak ec3350e45f Proposal Migration Script (#47)
* init script

* only modify object in not dry runs
2019-11-13 17:59:35 -06:00
Danny Skubak d98b255378 Tip Jar Profile (#64)
* init profile tipjar backend

* init profile tipjar frontend

* fix lint

* implement tip jar block

* fix wrapping, hide tip block on self

* add hide title, fix bug

* rename vars, use null check

* allow address and view key to be unset

* add api tests

* fix migrations
2019-11-13 17:44:35 -06:00
Danny Skubak 8cfec5de5d Remove Categories (#63)
* remove category from admin

* remove category from frontend, add likes to proposal card view

* make category nullable in backend, remove from views

* add db migration

* remove category from frontend rfp

* update tests

* remove category from admin proposal

* remove category from rfp put

* remove moment

* remove moment
2019-11-13 17:23:36 -06:00
Danny Skubak ed6d98ceec Milestone Estimate in Days (#59)
* init admin milestone estimate in days

* init frontend milestone estimate in days

* init backend milestone estimate in days

* fix bugs

* fix bugs

* fix tests

* add tests

* add milestone_deadline email to examples

* fix type errors

* fix tests

* remove comment

* temp prep for merge

* restore changes, update tests

* add db migration

* add tests and comments for set_v2_date_estimates
2019-11-13 16:38:17 -06:00
Danny Skubak 67fbbae9bf Port Landing Hooks (#30)
* port & adapt landing hooks from grant-base

* fix type guard

* CSS Adjustments for Illustration and Content layout.
2019-11-07 22:58:55 -05:00
Danny Skubak c66be86c54 Prune Empty Drafts (#54)
* prune empty drafts after 72 hours

* add additional noops, update tests
2019-11-05 13:38:34 -06:00
Danny Skubak 5f049d899b Add Signalling of Support (#41)
* init proposal subscribe be and fe

* add subscription email templates

* wire up subscription emails

* email subscribers on proposal milestone, update, cancel

* disallow subscriptions if email not verified

* update spelling, titles

* disallow proposal subscribe if user is team member

* hide subscribe if not signed in, is team member, canceled

* port follow from grant-base

* remove subscribed

* convert subscribed to follower

* backend - update tests

* frontend - fix typings

* finish follower port

* update comment

* fix email button display issues

* init liking backend

* init liking frontend

* fix lint

* add liking backend tests

* refactor like component
2019-10-24 12:32:00 -05:00
Danny Skubak 25e43a34ff Update Accepted Without Funding (#35)
* backend - init endpoints and model changes

* backend - add tests

* admin - add change to accepted with funding functionality

* backend - fix tests
2019-10-23 16:44:19 -05:00
Danny Skubak 5799ffab19 Proposal Subscription (#31)
* init proposal subscribe be and fe

* add subscription email templates

* wire up subscription emails

* email subscribers on proposal milestone, update, cancel

* disallow subscriptions if email not verified

* update spelling, titles

* disallow proposal subscribe if user is team member

* hide subscribe if not signed in, is team member, canceled

* port follow from grant-base

* remove subscribed

* convert subscribed to follower

* backend - update tests

* frontend - fix typings

* finish follower port

* update comment

* fix email button display issues

* remove loading on AuthButton to prevent two spinners
2019-10-23 16:34:10 -05:00
Danny Skubak 58eb8f2455 Make Accepted Proposals Live (#34)
* make accepted proposals live

* update tests
2019-10-17 17:25:12 -05:00
Danny Skubak fb6b9b5af7 Proposal Lifecycle & Crowdfunding (#23)
* add proposal versioning

* remove deadlines

* update proposal lifecycle for admin

* update proposal lifecycle for backend

* update proposal lifecycle for frontend

* fix tests

* remove acceptedWithFunding

* fix lint, remove commented code

* remove commented code

* refactor backend to provide isVersionTwo

* refactor backend to provide isVersionTwo

* Revert "refactor backend to provide isVersionTwo"

This reverts commit e3b9bc661081e482326f83fa6aa517cf6bdebe6c.

* use isVersionTwo in admin

* add acceptedWithFunding

* trigger ci

* remove "version"

* remove "version"

* remove rejected from campaign block
2019-10-16 22:43:20 -05:00
Daniel Ternyak 701a2f95a9
Proposal deadlines (#28)
* add proposal versioning

* remove deadlines

* remove acceptedWithFunding

* fix lint, remove commented code

* refactor backend to provide isVersionTwo

* refactor backend to provide isVersionTwo

* Revert "refactor backend to provide isVersionTwo"

This reverts commit e3b9bc661081e482326f83fa6aa517cf6bdebe6c.

* trigger ci

* remove "version"
2019-10-11 14:52:52 -05:00
Danny Skubak 746398c59b Proposal Versioning (#21)
* add proposal versioning

* refactor backend to provide isVersionTwo

* trigger ci

* remove "version"
2019-10-11 14:51:10 -05:00
Danny Skubak 54b0d58ffa Disallow Proposal Submissions to Expired RFPs (#25)
* disallow rfp proposal submissions after close

* Add closed tag to closed RFPs
2019-10-10 19:12:38 -05:00
Daniel Ternyak 36c150afcd
Proposal milestone date validation 2019-07-24 13:29:11 -05:00
Aaron 38cfaa591f
proposal_contribution email: set contributor to None when contribution is private 2019-07-08 16:19:44 -05:00
Daniel Ternyak f352618e5c
Add rate limiting to auth endpoint 2019-06-25 11:02:44 -04:00
AMStrix 8819ee3035 Rework Contribution Privacy (#456)
* rework contribution privacy
- add ProposalContribution.privacy
- remove ProposalContribution.no_refund
- anonymous contribution only if not logged in
- logged in contributions can be optionally attributed
- refunds can happen if a user has  a refund address

* admin: upgrade react-easy-state (had memory leak)

* be: filter users private contributions for others

* Adjust copy to be more accurate.

* Add copy for setting refund addresses (#458)
2019-06-11 21:49:14 -05:00
Daniel Ternyak 1dcade02c1
Bump comment maximum to 5000 (#454)
* Bump comment maximmum to 5000

* Fix comment length test
2019-06-06 13:20:45 -05:00
Aaron 1ae16004e5
be: filter canceled from stats ms payouts count 2019-05-27 14:43:50 -05:00
Aaron 62ffd30208
admin: add proposal STAGE_NOT_CANCELED filter 2019-05-27 14:16:48 -05:00
Daniel Ternyak 3143ea8231
filter out cancelled proposals from 'proposal_no_arbiter_count' 2019-05-25 19:35:48 -05:00
Daniel Ternyak b39e6098c7
Merge branch 'develop' into admin-notifications 2019-04-28 17:32:04 -05:00
Daniel Ternyak a5c2828f4f
Merge branch 'develop' into fix-financials-negatives 2019-04-17 20:02:12 -05:00
Aaron 96b9bc3c49
check calcs of grant totals for proposals that are over-funded 2019-04-16 15:53:19 -05:00
Aaron 99af39ed87
quantize proposal funded property 2019-04-16 15:08:13 -05:00
Aaron 381722de74
admin notifications 2019-04-16 12:38:14 -05:00
Will O'Beirne c462b6eb72
Give CORS setting its own env var 2019-04-04 21:32:20 -04: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
Daniel Ternyak ece0648015
Merge branch 'develop' into bitgo 2019-03-21 12:46:17 -05:00
Will O'Beirne d4715695ad
Initial work on BitGo integration. Functions as expected. 2019-03-19 15:56:58 -04:00
Will O'Beirne 06ae67f1db
Flask command for clearing chain dependent db state 2019-03-19 15:14:49 -04:00
Will O'Beirne 9fad92944e
Merge branch 'better-validation' of github.com:dternyak/zcash-grant-system into better-validation 2019-03-19 13:02:34 -04:00
Will O'Beirne d07c01a4bd
Fix proposal model functions, tests pass. 2019-03-19 13:01:11 -04:00
Daniel Ternyak a4a80bfe4c
Merge branch 'develop' into better-validation 2019-03-18 16:00:06 -05:00
Will O'Beirne 5deeea6506
More truncation 2019-03-18 15:11:24 -04:00
Will O'Beirne 53f6a186ee
More safety validation 2019-03-18 15:03:01 -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 adc2fd4d63
Stricter validation, truncate before db entry, env var proposal target limit 2019-03-18 14:35:08 -04:00
Will O'Beirne b0c6614a64
Dont allow inviting members already on the team (including yourself.) 2019-03-18 12:51:46 -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 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
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