Commit Graph

41 Commits

Author SHA1 Message Date
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
William O'Beirne e0b94d06e1 Create Flow (first pass) (#76)
* Initial work on create flow.

* Redux and validation initial work.

* Fix typescript issues

* Review page

* Misc fixes

* Example fill in, and initial state setting.

* Milestone timeline in review

* Initial markdown state

* Draft saving, loading, resetting. Using local storage for now.

* Fix initial milestone state. Make steps clickable.

* Preview functionality.

* Create governance step that handles all contract data.

* Proposals can now be created with new flow. Team has been dismantled.

* Replace old create with new flow. Adjust url casing.

* Convert styles to less

* Fix form reset

* Remove team step

* tsc

* Show errors.

* Prevent publish if there are any errors.

* Remove comments, variablize time.

* Reset crowd fund deploy state when form is mounted to prevent getting error / success message from previous deploy.
2018-09-20 13:58:47 -05:00
AMStrix d977d990c4 Post nextjs cleanup (#66)
* remove next deps

* remove next related files

* remove other unused deps

* remove more deps + their *.d.ts

* add explicit core-js dep (for babel-preset-evn/polyfill)

* use abs path for node_modules to limit resolution to package dir
2018-09-18 12:12:59 -04:00
AMStrix fe1e2a8df3 Replace nextjs (#54)
* add new deps

* remove .babelrc

* add main files

* package scripts + add missing typings

* tslint ignore json

* replace next/router

* replace next/link

* HMR + configureStore + fontawsome header link

* Use Link instead of Redirect to solve same page redirect problem.

* Home svg import.

* hide filter button even if ant styles load first

* Integrate Helmet

* adjust style loading + fix font-face url format

* import style higher in render tree for improved SSR

* dev.js - nodemon only watch build/server dir

* precedence order fixed

* keep_fnames=true to keep uglifyjs from mangling BN

* small cleanup
2018-09-17 15:55:49 -05:00
William O'Beirne 0b50fcc4e1 Convert all units to BN, type web3 (#47)
* BigNumber and type web3 all the things.

* Remove logs
2018-09-14 16:54:27 -05:00
William O'Beirne 0e3c6c6fc0 Unify markdown, make styles consistent (#36)
* Unify markdown engines.

* Switch to Markdown component everywhere. Style markdown consistently.

* Upgrade typescript to 3.0.3

* Remove non-working highlighter
2018-09-13 16:05:36 -05:00
William O'Beirne 4305143312 Upgrade typescript to 3.0.3 (#35) 2018-09-13 15:34:36 -05:00
Will O'Beirne f8faaf115a
Fix all ts errors, any and todo ones that cant be. Squashed history due to master rebase. 2018-09-11 12:16:57 -04:00
Daniel Ternyak 2f513d0ce6
initial commit 2018-09-10 11:55:26 -05:00