Commit graph

1696 commits

Author SHA1 Message Date
jwzimmer
7b59953d84 removed console log statement accidentally left from testing 2016-09-21 10:45:55 -04:00
jwzimmer
e06cf2b134 simplify checking that the href is at the end of the url with ray's suggestion 2016-09-21 10:41:24 -04:00
Matthew Taylor
42b6e59443 Merge pull request #921 from mewtaylor/issue/gh-903-hoc
Implement GH-903: Update hoc page with new tutorials
2016-09-21 08:21:03 -04:00
Ray Schamp
162aa25856 Merge pull request #923 from LLK/hotfix/session-cookie
Remove interactions with session cookie
2016-09-20 19:52:08 -04:00
Matthew Taylor
0156fe8c77 Add cards for fly and make music 2016-09-19 15:59:40 -04:00
jwzimmer
867c95b382 travis checks 2016-09-19 13:11:24 -04:00
jwzimmer
57ab628337 check only the href, not the URL. i'm not sure this is a good way to do this. may be too convoluted. 2016-09-19 13:02:16 -04:00
Ray Schamp
2d22f6fa3d Merge pull request #912 from rschamp/bugfix/http-only-session
Remove interactions with session cookie
2016-09-19 12:04:17 -04:00
jwzimmer
579ec72818 removed ^ prefix from selenium dev dependency 2016-09-15 14:10:47 -04:00
jwzimmer
eaaa2faf2a replaced tab with 4 spaces 2016-09-15 13:28:17 -04:00
jwzimmer
eb788acac0 require statements on separate lines and travis check failires 2016-09-15 13:22:53 -04:00
Matthew Taylor
cd6a60e5b8 Change bearstack/bball to hide and dance
Also make updates to style scoping based on feedback from @rschamp
2016-09-15 11:44:33 -04:00
jwzimmer
e21a2eadb1 Added selenium to devDependencies using npm install --save-dev 2016-09-15 11:40:46 -04:00
jwzimmer
3855926a15 Tried to fix the errors for travis check, but wasn't sure how to handle some of them 2016-09-15 10:36:47 -04:00
Matthew Taylor
f4b0b26b5c make multiline formatting for img uniform 2016-09-15 08:21:38 -04:00
Matthew Taylor
469d7a35bb Update hoc page with new tutorials
Adds:
1. Make it Fly
2. Make Music

Removes:
1. Hide-and-Seek
2. Dance, Dance, Dance
2016-09-15 08:15:37 -04:00
jwzimmer
052819f8c5 Clarified inline comments 2016-09-14 15:33:45 -04:00
jwzimmer
a49d209c29 folder and file for the initial automated test, checking the navbar create link URL is correct 2016-09-14 15:28:45 -04:00
Matthew Taylor
974b364a23 Merge pull request #919 from TheGrits/patch-1
Fix gh-918: Update Video Link
2016-09-14 09:43:33 -04:00
The_Grits
2b2f4a03e8 Fix lint 2016-09-13 11:49:34 -04:00
The_Grits
68d37e0506 Update Video Link
As per @sleggss on #918
2016-09-13 11:41:39 -04:00
Ray Schamp
60f0ee1ded Merge pull request #913 from rschamp/bugfix/empty-bodies
Don't set state to undefined API response bodies
2016-09-12 13:52:54 -04:00
Matthew Taylor
bd911c52d1 Merge pull request #867 from morantsur/feature/microworlds
Adding routes to microworlds
2016-09-12 12:06:27 -04:00
Ray Schamp
3efa1fd7c8 Merge pull request #911 from rschamp/feature/html-webpack-plugin
Use html-webpack-plugin for html rendering
2016-09-09 15:52:52 -04:00
Ray Schamp
b40da9060b Merge pull request #912 from rschamp/bugfix/http-only-session
Remove interactions with session cookie
2016-09-09 10:02:32 -04:00
Ray Schamp
fb3de8526a Don't try to output HTML for redirect routes 2016-09-09 09:34:36 -04:00
Ray Schamp
c274de7295 Make template variables a bit less verbose
Move the rest of the configuration into template-config.js.  This way the options are explicitly in the same namespace so we won't be surprised when we add a variable with the same name as an html-webpack-plugin option.

Rename template extension to ejs for syntax-coloring purposes.
2016-09-09 09:21:03 -04:00
Ray Schamp
3256164fdf Merge pull request #910 from rschamp/bugfix/787
Add Cache-Control header to all S3 uploads
2016-09-08 17:46:58 -04:00
Ray Schamp
b5870e006d Reduce cache expiration to one hour 2016-09-08 17:36:57 -04:00
Ray Schamp
c0eb1608bd Don't set state to undefined API response bodies
This resolves the "Cannot read property 'x' of undefined" errors that occur when the API returns non-JSON responses. For instance if the proxy endpoints return 500 error responses from scratchr2.
2016-09-08 17:23:49 -04:00
morant
89faccfc6f Remove caret from routhAlias 2016-09-08 17:06:24 -04:00
Ray Schamp
e44e958fe0 Move permissions storage to client-side cookie
Instead of retrieving the permission from the session cookie, store permission data from /session/, and cache it in a cookie.  On subsequent page loads, the permission information will be retrieved from the cookie more quickly than the /session/ endpoint returns. When the session changes, the cookie and permissions state is updated to reflect the new state.
2016-09-08 12:53:05 -04:00
Ray Schamp
a497fed338 Remove token storage
We're not using it yet, and it won't be coming from the cookie when we do.
2016-09-08 12:48:07 -04:00
Ray Schamp
3fbd9fab36 Use html-webpack-plugin for html rendering
This plugin will likely be updated when webpack is updated.
2016-09-08 09:59:37 -04:00
Ray Schamp
d303509336 Add Cache-Control header to all S3 uploads 2016-09-08 09:13:04 -04:00
morant
850def5cf0 - Remove commented out content from microword pages, as they are not displayed.
- Change art microworld text to not refer to videos.
2016-09-07 16:27:46 -04:00
morant
96c52dc223 Fixing route alias + adding new line 2016-09-07 13:35:14 -04:00
Matthew Taylor
a4a2688084 Merge pull request #909 from mewtaylor/bugfix/albanian-name
Rename Albanian correctly
2016-09-07 07:40:45 -04:00
Matthew Taylor
b60442ccd2 Rename Albanian correctly
My bad on the misunderstanding!
2016-09-06 15:48:55 -04:00
Matthew Taylor
1b4eaf0f0f Merge pull request #902 from TheGrits/patch-3
Fix gh-894: Community Guidelines Image
2016-09-06 11:28:51 -04:00
Matthew Taylor
e454544abd Merge pull request #901 from St19Galla/patch-1
Fix gh-900 // Update Credits
2016-09-06 10:56:20 -04:00
Matthew Taylor
243c579b49 Merge pull request #907 from mewtaylor/issue/gh-872
Fix GH-872: Check for username before sending
2016-09-02 12:52:55 -04:00
Matthew Taylor
2e3aee25d9 cover undefined case as well
thanks @rschamp!
2016-09-01 16:22:45 -04:00
Matthew Taylor
ffa249c3c5 Check for username before sending
the `//` for an empty username that gets sent to the backend causes a 500 error. This is an edge case in formsy, as it has not detected a change value yet, so handle it in the username validation method. Fixes #872
2016-09-01 14:59:02 -04:00
The_Grits
c224284d81 oops
Just realized I took the whole footer off, not just the image.
2016-08-31 21:24:10 -04:00
The_Grits
bf24d592ad Update guidelines.scss
Update to hide page's footer image when the screen is too small.
2016-08-31 21:11:19 -04:00
St19_Galla
f2c176a521 Update Credits 2016-08-31 14:59:03 -04:00
Matthew Taylor
07d7750b9c Merge pull request #898 from mewtaylor/bugfix/safari-8-prefixes
Bugfix: Add webkit prefixes for safari 8
2016-08-31 14:47:53 -04:00
Matthew Taylor
b750ab8cf7 Add webkit prefixes for safari 8
`caniuse` updated their api recently, and it appears that support for safari 8 is no longer in the last 3 versions (and it appears that safari 8 is not listed as supported there in general). explicitly add the version back in to make sure the proper `-webkit` prefixes are included for that browser.
2016-08-30 11:12:11 -04:00
Matthew Taylor
ee088e6384 Merge pull request #896 from mewtaylor/issue/gh-825-zip
Fix GH-825: Only require zip code for US addresses
2016-08-29 13:14:22 -04:00