Commit graph

1265 commits

Author SHA1 Message Date
Ray Schamp
f569d02e92 Fix GH-27: Disallow iframe embedding 2015-10-07 22:49:17 -04:00
Ray Schamp
0f395255b0 Fix GH-23: link Explore to 30 day view 2015-10-07 22:40:03 -04:00
Ray Schamp
0251932631 /# is for suckers. preventDefault all the things 2015-10-07 22:40:02 -04:00
Ray Schamp
3d7f5ee66b Fix GH-21: toggle dropdown when clicking Sign in 2015-10-07 22:40:02 -04:00
Ray Schamp
4e38c1a050 Fix GH-25: close dropdowns on login/logout 2015-10-07 22:36:11 -04:00
Ray Schamp
989d8cfb17 Merge pull request #33 from rschamp/feature/news-api
Fetch News from the API
2015-10-07 19:21:05 -04:00
Ray Schamp
801e3e1f3b Use the default stated in the docs 2015-10-07 19:20:09 -04:00
Ray Schamp
37f0eb3348 Fetch news from api if the user is logged in 2015-10-07 16:23:08 -04:00
Ray Schamp
60d3c467fe Allow configuring the API host
Configure host for legacy API calls
2015-10-07 16:15:10 -04:00
Ray Schamp
6fba6c0a8f Merge pull request #15 from rschamp/feature/session-api
Share session from scratchr2, add logging in/out
2015-10-07 15:27:29 -04:00
Ray Schamp
d96294e85b Close login dropdown and clear errors on login 2015-10-07 15:01:34 -04:00
Ray Schamp
7b3874ffd5 Add csrf token handling to api mixin 2015-10-07 15:00:47 -04:00
Ray Schamp
31fb5911ea Don't use boolean coersion 2015-10-07 11:48:55 -04:00
Ray Schamp
a701c0829f Document environment variables, remove .env.sample 2015-10-07 11:48:18 -04:00
Ray Schamp
621c32a605 Handle API errors by logging them
Upgrade of bunyan required for use with webpack
2015-10-07 11:29:17 -04:00
Ray Schamp
0a01994db5 Don't cause retries on 500 errors 2015-10-07 09:23:32 -04:00
Andrew Sliwinski
bb3870c43d Merge pull request #20 from carljbowman/hoc-landing-updates
Hoc landing updates
2015-10-06 17:32:40 -04:00
carljbowman
c26378f53d Update as many links as possible with live content
Links still to be added
- Hide & Seek Tips Window
- Hide & Seek Tips Cards Download
- Compose a Dance Tips Cards Download
- Animate Your Name Tips Cards Download
2015-10-06 16:14:01 -04:00
carljbowman
4a51ffeb59 Remove Red Outline on "href=''' 2015-10-06 15:49:10 -04:00
Andrew Sliwinski
3a648a20cb Merge pull request #17 from rschamp/feature/better-featured-json
Add real content for homepage rows
2015-10-06 15:47:38 -04:00
Ray Schamp
06f71a0da6 Update avatar thumbnailUrl per discussion 2015-10-06 13:32:51 -04:00
Ray Schamp
08de438208 Fix thumbnail URL per discussion 2015-10-06 13:07:24 -04:00
Ray Schamp
446543c6c4 Use thumbnail image host from process.env
Limit built process.env to keys in src/env.json, which serves as a source for defaults.
2015-10-02 18:24:59 -04:00
Ray Schamp
ef95746df7 Add basic error handling for logins
No CAPTCHA yet.
2015-10-02 17:04:30 -04:00
Ray Schamp
5af63ce03a Handle errors by retrying with exponential backoff 2015-10-02 16:58:09 -04:00
Ray Schamp
66f654536b Use NODE_ENV convention for node environment 2015-10-02 16:58:09 -04:00
Ray Schamp
8d574399e5 Use environment for proxy settings
Also use default local scratchr2 port, 8080.
2015-10-02 16:58:08 -04:00
Ray Schamp
69820aed6e Add newline for OCD reasons 2015-10-02 16:58:08 -04:00
Ray Schamp
4b4482f1fe Allow logging in and out
On scratchr2, the /session/ endpoint also sets the csrf cookie to allow this.
2015-10-02 16:58:08 -04:00
Ray Schamp
e0d17005e4 Get session from scratchr2 via proxy
Cookies aren't shared across ports, so the proxy is necessary to share the session between scratchr2 and www.
2015-10-02 16:58:08 -04:00
Ray Schamp
d73b7508bc Add missing key, heed React warning 2015-10-02 16:58:08 -04:00
Ray Schamp
f811cf82af Add real content for homepage rows
Also update the thumbnail and carousel components to account for the new API spec
2015-10-02 13:08:57 -04:00
carljbowman
090ffad317 Merge pull request #16 from carljbowman/hoc-landing-updates
Update HOC Landing Page
2015-10-02 12:39:07 -04:00
carljbowman
d36c020b8f Update IMG tags to self close & 'mbs' to 'MBS' 2015-10-01 15:01:24 -04:00
carljbowman
823609f1a7 Update HOC Landing Page
- Added folder of SVGS (includes on for the landing page)
- Swapped out images assets (removed links to Dropbox)
- Added resource styling
2015-10-01 14:30:30 -04:00
carljbowman
9c18f0c30c Merge pull request #14 from carljbowman/global-colors
Add Global Colors and Updated SCSS / Linter
2015-09-29 13:55:13 -04:00
carljbowman
fc460015ea Update Global Colors SCSS to include Underscore
Change 'colors.scss' to '_colors.scss'
2015-09-29 13:51:46 -04:00
carljbowman
1afd94ded1 Make that background color pop
HTML & Body take on a dark-blue

Light-gray background got moved over to #view
2015-09-29 12:08:15 -04:00
carljbowman
855b328040 Quick update to Global Color SCSS 2015-09-29 11:27:16 -04:00
carljbowman
41e4b3b990 Add Global Colors and Updated SCSS / Linter
Created a new global style sheet to manage colors and converted all the current SCSS to match the new color scheme.
2015-09-29 11:22:48 -04:00
Ray Schamp
ab40dd8aa3 Merge pull request #13 from carljbowman/hoc-landing
Add HOC Landing page View
2015-09-28 09:22:55 -04:00
carljbowman
c2371d2a9f Add a (link) style for empty links 2015-09-25 12:51:06 -04:00
carljbowman
127629fc1a Update SCSS Linter for Leading Zeros and 0 Units 2015-09-25 12:47:26 -04:00
carljbowman
5a812ee89c Update HOC Content for Lint CharCount 2015-09-25 11:12:32 -04:00
carljbowman
fbd54998e6 Add HOC Landing page View
Created a HOC Landing View. Currently all the SCSS lives at the view level and needs to be made into componets. After building out some Global style sheets I will revisit.
2015-09-25 09:59:56 -04:00
Ray Schamp
b8b65f5bcc Merge pull request #11 from rschamp/sass-lint
Add a Sass linter
2015-09-24 19:29:44 -04:00
Ray Schamp
fd546296c2 Lint everything but color literals 2015-09-24 19:27:50 -04:00
Ray Schamp
c3bc59fee2 Add a Sass linter 2015-09-24 18:32:21 -04:00
Ray Schamp
e16279d305 Merge pull request #8 from rschamp/session
Add something like session handling
2015-09-24 18:21:23 -04:00
Ray Schamp
a315371f02 Initialize with logged out state 2015-09-24 18:20:41 -04:00