Commit Graph

317 Commits

Author SHA1 Message Date
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
Daniel Ternyak 8ced452411
Add Explainer to Proposal Creation Flow. (#60)
* Add Explainer step to Proposal Create Flow

* Add Explainer step to Proposal Create Flow

* remove unneeded localstorage file
2019-11-13 15:37:12 -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 8255f0174c remove funding required filter (#62) 2019-11-05 13:41:08 -06:00
Danny Skubak 494303883a apply margin directly to like & follow (#53) 2019-10-30 21:01:38 -05: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 39f9cea42e remove progress bar for v2 proposals (#37) 2019-10-24 12:14:03 -05:00
Danny Skubak 9f485fabc4 disable milestones for proposals accepted without funding (#40) 2019-10-23 16:46:25 -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 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 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
Danny Skubak 7ef5dea343
add requests to drawer 2019-10-10 11:11:18 -04:00
Daniel Ternyak 36c150afcd
Proposal milestone date validation 2019-07-24 13:29:11 -05: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
Daniel Ternyak d5ed370f08
Fix Repo Link & Add Comment Length Validation (#453) 2019-06-06 12:27:53 -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
Will O'Beirne e9ed8f7892
Refresh page on chunk errors. 2019-03-22 15:54:50 -04:00
Daniel Ternyak a4a80bfe4c
Merge branch 'develop' into better-validation 2019-03-18 16:00:06 -05:00
Will O'Beirne fb42eca561
Max lengths on signup form 2019-03-18 15:05:08 -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 6fc6fedab7
Prevent brief from overflowing. 2019-03-18 12:26:57 -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