Commit Graph

58 Commits

Author SHA1 Message Date
Daniel Ternyak e612e4f403
bump https-proxy-agent 2020-04-16 22:51:14 -05:00
dependabot[bot] 0c55a776c8
Bump minimist from 0.0.8 to 1.2.3 in /frontend
Bumps [minimist](https://github.com/substack/minimist) from 0.0.8 to 1.2.3.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/0.0.8...1.2.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-04-08 02:58:19 +00:00
Daniel Ternyak 5a15022987
ZF Grants 2.1 (#496)
* fix ccr pagination defaults

* add ccr admin tests

* add ccr user tests

* checkpoint

* fix tslint

* request changes discussion flow mvp

* admin - add discussion status

* backend - add live drafts

* admin - add live drafts

* frontend - add live drafts

* frontend - add edit discussion proposal

* fix tsc

* include DISCUSSION status in propsal listview

* do not make live draft on admin request changes

* hide live drafts from user proposal draft list

* fix backend tests

* add admin tests

* add user tests

* fix: liking, viewing discussion proposals, admin menu

* admin - update hints for live drafts

* fe - add better messaging when updating a proposal

* be - fix like test

* remove TODO comments

* add new email types

* fix storybook

* add revision tab story

* backend - implement proposal revisions

* frontend - implement proposal revisions

* update revision tab story

* fix lint

* remove set detection

* email proposal followers on revision

* restrict banner to team members only

* misc bug fixes

* update, add backend tests

* add milestone title change to revision history story

* fix milestones display in preview

* allow archived proposals to be queried

* implement archived proposal page

* fix tsc

* implement archived proposal get route

* move styling into less

* remove proposal archive parent id

* handle archived proposal status

* cleanup

* remove contributions, switch to USD, implement quarters

* use Qs to preserve formatting

* handle edit only kyc

* prevent ARCHIVED proposals from being sent to admin

* display latest revision first

* admin - proposal & ccr reject permanently

* backend - proposal & ccr reject permanently

* frontend - proposal & ccr reject permanently

* fix tsc

* use $ in milestone payout email

* introduce custom filters to proposal listview

* hide archive link on first revision

* upgrade packages

* add bech32 implementation

* add z address validation with tests

* fix tslint

* use local address validation

* fix tests, remove blockchain mock gets

* add additional bad addresses

* update briefs to include page break message

* remove contributions routes, menu entry

* disable countribution count admin stats

* remove matching and pretty print in finance

* fix tslint

* separate out rejected permanently proposals

* make removing proposals generic

* allow linked tabs to be ignored

* remove rejected permanently, bugfix

* update preview link to point to rejected tab

* implement rejected permanently tab, add tab message

* refactor variable

* fix tslint

* fix tslint

* send ccr reject permanently email on rejection

* fix preview message

* wire up proposal arbiter and rejected emails

* disable tip jar in proposal and profile

* sync ccr/proposal drafts on create form init

* check invites on submit modal open

* update team invite language

* update team text when edit

* fix ccr rejected permanently tag

* text changes, email preview fix

* display changes requested tag when in discussion with changes requested

* enable social share on open for discussion proposals, update language

* place sort below filter

* derive filter from query string

* use better filter names in query params

* fix tslint

* create snapshot of original proposal on first revision

* clear invites between edits, account for additional changes not tracked in revisions

* update tests

* fix test

* remove print

* SameSite Fixes (#150)

* QA Fixes 2 (#151)

* set filters as query strings on change

* remove rejected permanently tags

* add dollar sign in financials legend

* fix tsc

* Copy Touchups (#152)

* Email Fixes (#155)

* fix ZEC in milestone payout emails

* fix links in rejected permanently CCR/proposal emails

* Poll for Team and Invite Changes in Create Flow (#153)

* poll for team and invite changes in create flow

* fix tslint

Co-authored-by: Daniel Ternyak <dternyak@gmail.com>

* pretty print payouts by quarter (#156)

Co-authored-by: Daniel Ternyak <dternyak@gmail.com>

* Remove Blockchain Module (#154)

* remove blockchain route from backend, remove calls to node

* revert blockchain_get removal

* Add Tags to Proposal Cards (#157)

* add tag to proposals and dynamically set v1 card height

* listen on window resize

* make card height props optional

* set tag in bottom right, remove dynamic card resize, add dynamic tag resize

* cleanup

* cleanup

Co-authored-by: Daniel Ternyak <dternyak@gmail.com>

* Improve Frontend Address Validation (#158)

Co-authored-by: Daniel Ternyak <dternyak@gmail.com>

* Remove blockchain module (#162)

* remove blockchain route from backend, remove calls to node

* revert blockchain_get removal

* Remove Blockchain App (#160)

* remove blockchain app

* remove blockchain app from travis

Co-authored-by: Danny Skubak <skubakdj@gmail.com>

* Proposal Edit Fixes (#161)

* fe - display error if edit creation fails

* be - restrict live draft publish

Co-authored-by: Daniel Ternyak <dternyak@gmail.com>

* Restrict Arbiter Assignment (#159)

Co-authored-by: Daniel Ternyak <dternyak@gmail.com>

* Email Copy updates

* Remove Admin Financials Card

* Hookup 'proposal_approved_without_funding' to admin email example

* bump various package versions

* Update yarn.lock files

* Attach 'proposal_approved_without_funding' to backend example email

* bump package versions

Co-authored-by: Danny Skubak <skubakdj@gmail.com>
2020-04-07 21:56:32 -05:00
Danny Skubak 08fe3efca5 upgrade mini-css-extract-plugin, use in dev (#68) 2019-11-13 17:45:01 -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
Daniel Ternyak e38ffe90b9
partially revert frontend changes 2019-08-22 10:19:31 -05:00
Daniel Ternyak 2683b85e87
update versions 2019-08-21 18:03:15 -05:00
Daniel Ternyak 1f3447b5a2
i18next 2019-08-21 17:49:02 -05:00
Daniel Ternyak 360cc00cc8
add types 2019-08-21 17:46:18 -05:00
Daniel Ternyak 36d10789cd
more dep updates 2019-08-21 17:45:18 -05:00
dependabot[bot] 19d654eda5
Bump axios from 0.18.0 to 0.18.1 in /frontend
Bumps [axios](https://github.com/axios/axios) from 0.18.0 to 0.18.1.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v0.18.1/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.18.0...v0.18.1)

Signed-off-by: dependabot[bot] <support@github.com>
2019-08-21 21:14:43 +00:00
dependabot[bot] c630356fb8
Bump fstream from 1.0.11 to 1.0.12 in /frontend
Bumps [fstream](https://github.com/npm/fstream) from 1.0.11 to 1.0.12.
- [Release notes](https://github.com/npm/fstream/releases)
- [Commits](https://github.com/npm/fstream/compare/v1.0.11...v1.0.12)

Signed-off-by: dependabot[bot] <support@github.com>
2019-08-21 20:59:13 +00:00
dependabot[bot] 984aa6060c
Bump webpack-bundle-analyzer from 3.0.2 to 3.3.2 in /frontend
Bumps [webpack-bundle-analyzer](https://github.com/webpack-contrib/webpack-bundle-analyzer) from 3.0.2 to 3.3.2.
- [Release notes](https://github.com/webpack-contrib/webpack-bundle-analyzer/releases)
- [Changelog](https://github.com/webpack-contrib/webpack-bundle-analyzer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/webpack-bundle-analyzer/compare/v3.0.2...v3.3.2)

Signed-off-by: dependabot[bot] <support@github.com>
2019-08-21 20:43:49 +00:00
Daniel Ternyak 0ba477847a
Dependencies Update (#469)
* Update dependencies across all modules

* bump only minor point on axios for /blockchain
2019-08-21 15:36:37 -05:00
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
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 500175f5d2 Upgrade sshpk in yarn.lock (#333) 2019-03-12 16:25:38 -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 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
William O'Beirne 4c3a2127a8
Upgrade ant-design-pro to 2.2.1 to fix some dependency issues. (#258) 2019-02-25 11:21:37 -05:00
Aaron 1d811bb7d3
BE: user banning + silencing + pagination 2019-02-14 22:11:47 -06:00
William O'Beirne c17145986f
Request for Proposal (Pt. 3 - Create & Link Proposals) (#131)
* Adjust rfp <-> proposal models. Add button to rfp detail page to make linked proposal.

* Add a block that links to the original request. Fix a bunch of preview issues.

* List proposals on RFP.

* Admin view for connected RFPs and proposals

* Fix TSC issues.

* Fix tab badge misalignment

* Redesign list page.

* Resolve PR issues.
2019-02-01 14:13:30 -05:00
Will O'Beirne 33ac4db564
Fix SSR, fix uncaught async errors, fix style cascade. 2019-01-31 22:09:52 -05:00
Will O'Beirne 737ec0e59c
Fix SSR, upgrade react router and loadable components. 2019-01-23 15:48:22 -05:00
Will O'Beirne 5b3e5522b0
Remove loadable-components. 2019-01-23 11:44:34 -05:00
Will O'Beirne da88825c7c
Standardize loader size 2019-01-23 11:35:03 -05:00
AMStrix 48912c95cc markdown driven static pages (#40) 2019-01-16 18:19:34 -05:00
William O'Beirne 99fdedb816 Initial work on contribution modal flow and contribution model overhaul. 2019-01-06 17:48:07 -05:00
AMStrix 50cc377b48 User Auth Conversion (#19) 2018-12-14 13:36:22 -06:00
Daniel Ternyak 35eecc24db
Setup in-app SSL redirects for Heroku (#238)
* setup in-app ssl redirects for Heroku

* add typings

* use trustProtoHeader

* BE w3 read fix for read_user_proposal

* No HTTPS redirect on dev
2018-12-05 17:49:45 -06:00
AMStrix e1b2d21532 Upgrade FE Nodemon (#236)
* upgrade nodemon

* exit nodemon when its child exits (fix lingering cmd output post-exit)

* travis cache yarn (frontend)

* adjust exit handler

* cancel travis cache experiment
2018-11-30 23:36:52 -06:00
Will O'Beirne f9b4f65ac4
Merge develop in. 2018-11-26 18:47:24 -05:00
Daniel Ternyak 00219e65c8
Only Runtime Contracts (#225) 2018-11-25 22:02:35 -06:00
AMStrix 7abeac7bd7 Sentry Integration (#221)
* BE sentry setup w/ user scope

* FE sentry integration + user scope

* FE env adjustments

* FE: use NODE_ENV for Sentry

* BE: use FLASK_ENV for Sentry

* BE: remove email, acct & ip from Sentry user scope

* comment .env.example SENTRY* for CI

* fix merge artifact
2018-11-21 23:45:29 -06:00
Aaron 52f1f54442
avatar upload & download 2018-11-16 21:33:25 -06:00
Will O'Beirne 829d072b8c
Check in work on proposals, drafts 2018-11-13 11:07:09 -05:00
AMStrix c3649d322b Frontend i18n Infrastructure (#174) 2018-11-04 19:26:34 +01:00
AMStrix f823488abb Misc bugs & cleanup (#173)
* fix Final.create getting called multiple times

* give moment the non-standard format string to parse with

* remove unused package & refs for nprogress

* remove unused file: theme.ts
2018-11-02 11:47:25 -04:00
William O'Beirne 8eeb9fc78a
New color palette & redesigned splash screen (#170)
* Use name and icon logos where possible. Add favicon and other general web meta info.

* Unused import

* Update icons and logos.

* Variablize all colors. Switch to purple primary.

* Redesign homepage. Slight color tweaks.

* Fix blue button
2018-10-31 17:05:35 -04:00
William O'Beirne 30a476a285
Logos, Icons, Manifest.json (#163)
* Use name and icon logos where possible. Add favicon and other general web meta info.

* Unused import

* Update icons and logos.
2018-10-30 13:58:05 -04:00
William O'Beirne f406cec255
Strict Typescript (pt. 1) (#150)
* Enable noImplicitThis, alwaysStrict, and strictFunctionTypes configs.

* Enable all strict rules. Implement typedKeys function for better typing. (#152)
2018-10-19 18:03:37 -04:00
William O'Beirne 3dd4253acb TREZOR & Ledger Address Selection (#139)
* Add trezor selection

* Fix SSR by making providers lodable.

* Adjust identity styles.

* Add packages.

* Adjust style.

* Ledger address selection.

* Common use component for ledger and trezor.
2018-10-08 18:06:41 -07:00
William O'Beirne 24350ec77f User Authentication UI (Pt 3 - Persistence) (#127)
* Check in auth flow work.

* More work on auth steps. Check in before redux state.

* Create auth reducer and actions

* Stubbed out profile page to test auth aware routes. Minor style fixes.

* Fill out provider components

* Handle missing origin

* Fix reducer mistake. Show user info in profile page.

* Reflect auth state in header.

* tslint

* Actual user creation.

* Implement sign in

* Fix redux types.

* Add redux persist to config.

* Add sagas, fix persistence.

* Remove console log
2018-10-03 14:08:14 -05:00
William O'Beirne 2886042c33 Style tasks (#103)
* Upgrade ant. Adjust header icon and styles.

* Remove unused newsletter form component.

* Fix up missing fonts, weights, spacings. Add some minor overrides to Ant.

* Fix progress percent going gren.

* Move styles to less.
2018-09-25 15:14:51 -05:00
AMStrix 8be518fff7 Integrate Storybook (#98)
* add missing static alias + include ./stories in tsconfig

* add storybook dep + script + babel-core bridge dep.

* storybook setup

* expose unconnected Component for storybook

* fix discovered styling issue

* dummy props (ProposalWithCrowdFund)

* Basic stories.
2018-09-25 15:02:29 -04:00
AMStrix e05fc5ec91 Markdown & MarkdownEditor to less. Remove styled-components SSR/dependencies. (#92)
* Markdown to less.

* MarkdownEditor to less.

* remove markdownStyles

* Remove styled-components loaders.

* Remove styled-components SSR.

* Remove styled-components dependency.

* Give shared markdown styles mixin a dedicated file.

* checkBodyOverflow on mount if proposal already loaded
2018-09-23 00:09:12 -05:00
AMStrix c1fa67234a Fix Naked Initial Load (#86)
* include more stats data for SSR to inspect

* more efficient/aggressive splitting

* include chunks with loadable chunk common origins

* use same uglify plugin as the webpack pkg to avoid es module errors during build
2018-09-20 19:45:02 -05:00