Commit graph

450 commits

Author SHA1 Message Date
Ray Schamp
815c4b3f57 Support redirect responses from API calls
Several scratchr2 views do a thing and then redirect (project, studio creation, the student password reset middleware). This allows the client to redirect to that response.

Fixes GH-238. Requires LLK/scratchr2@bf451a95ea
2015-11-26 11:59:25 -08:00
Ray Schamp
4547c2b4c1 Merge pull request #247 from rschamp/issue/GH-133
Add version.txt file to build directory on build
2015-11-24 19:59:53 -05:00
Matthew Taylor
0d724ec0ad Merge pull request #255 from carljbowman/HOC-Collab-Update
Add Made with Code Logo
2015-11-23 12:28:11 -05:00
Matthew Taylor
45b44204b4 Merge pull request #250 from carljbowman/HOC-Collab-Update
Hoc collab update
2015-11-20 17:41:59 -05:00
Ray Schamp
70a0a2d4c4 Rename version to tag to match scratch-api 2015-11-20 11:08:42 -05:00
Ray Schamp
7983d7601b Quiet EB config status check command 2015-11-20 11:07:39 -05:00
Ray Schamp
82fe07ed8b Add version.txt file to build directory on build 2015-11-20 11:07:39 -05:00
Ray Schamp
fafff50401 Merge pull request #209 from rschamp/feature/developers-developers-developers
Use webpack-dev-middleware for assets in dev
2015-11-20 11:04:10 -05:00
carljbowman
ba2902f979 Add Made with Code Logo 2015-11-20 09:56:10 -05:00
Ray Schamp
3afcd7fd9f Remove watch and stop targets, update README 2015-11-19 15:59:30 -05:00
Matthew Taylor
7bc85bec0d Merge pull request #223 from mewtaylor/cleanup/locale-updates
Clean up `build-locales` and add tests for it.
2015-11-19 15:40:42 -05:00
Matthew Taylor
d9936af58f Remove Dedupe plugin from webpack
https://webpack.github.io/docs/list-of-plugins.html#dedupeplugin – it's still experimental. This allows `make watch` to update correctly.
2015-11-19 15:30:19 -05:00
Ray Schamp
ae8d4d8990 Use webpack-dev-middleware for assets in dev 2015-11-19 15:25:39 -05:00
Ray Schamp
c065df3faa Use webpack for static assets 2015-11-19 15:25:39 -05:00
Matthew Taylor
133e42de06 Update to beta 1
locales configuration not loaded automatically anymore, so we need to load react-intl with locales included into the browser ahead of time
2015-11-19 15:25:39 -05:00
Matthew Taylor
fc834b8817 Move scripts to new lib folder
Thanks @thisandagain for the tip!
2015-11-19 10:05:38 -05:00
Andrew Sliwinski
167353c68d Migrate credits page. Resolves GH-30. Resolves GH-174. Resolves GH-215 2015-11-18 21:14:54 -05:00
Andrew Sliwinski
731f6a93d4 Merge pull request #242 from mewtaylor/update-dependencies
Version Bump: Upgrade react modules for 0.14 compatibility
2015-11-18 20:14:40 -05:00
Andrew Sliwinski
87dd5e7bf3 Migrate static images for about view 2015-11-18 20:09:29 -05:00
Andrew Sliwinski
82eedaaf13 Resolve merge conflicts 2015-11-18 20:06:54 -05:00
Andrew Sliwinski
8a2ac5f24e Resolve lint errors 2015-11-18 20:06:05 -05:00
Andrew Sliwinski
f2561fbc03 Migrate about view. Resolves GH-63 2015-11-18 19:57:07 -05:00
Matthew Taylor
ebd2c080c8 Upgrade react modules for 0.14
They are now completely 0.14 compatible, so we can remove our port'd versions now.
2015-11-16 09:58:18 -05:00
Matthew Taylor
810602fa1d Merge pull request #235 from mewtaylor/issue/228-donate-link
#228 – donate link point to scratch foundation, not code to learn
2015-11-13 14:10:02 -05:00
Matthew Taylor
15641ee244 scratch foundation, not code to learn 2015-11-13 10:07:28 -05:00
Ray Schamp
b32019ab5f Merge pull request #234 from LLK/develop
Sentry hotfix
2015-11-12 17:34:06 -05:00
Ray Schamp
e5b3e4f514 Merge pull request #233 from rschamp/bugfix/sentry-dsn
Split CLIENT_ and NODE_ SENTRY_DSN vars
2015-11-12 17:05:34 -05:00
Ray Schamp
8536006416 Split CLIENT_ and NODE_ SENTRY_DSN vars 2015-11-12 17:00:19 -05:00
Ray Schamp
2596dc04d8 Merge pull request #227 from LLK/2.2.3-hotfix
2.2.3 hotfix
2015-11-12 14:28:35 -05:00
Ray Schamp
7ed45cb5dd Stop spinner and display XHR errors if they occur
Resolves GH-232
2015-11-12 12:49:40 -05:00
Ray Schamp
c15b6a9681 Remove headers entirely to avoid XDR error
Even "no headers" is seen as setting headers to IE.
2015-11-12 10:44:17 -05:00
Ray Schamp
7c0363e99b Merge pull request #211 from rschamp/bugfix/GH-195
Fix GH-195: Use a spinner component to convey activity while logging in
2015-11-11 11:11:02 -05:00
Ray Schamp
e25eb1fc90 Merge pull request #225 from rschamp/bugfix/GH-224
Use XDR when making cross-origin api requests
2015-11-11 11:10:23 -05:00
carljbowman
9d8129f3c5 Merge pull request #226 from carljbowman/HOC-content-update
Update HOC tutorials and linking
2015-11-10 18:42:54 -08:00
carljbowman
4cfd7cc02e Add new backgrounds for Dance and Name 2015-11-10 16:20:48 -08:00
carljbowman
37843fa3a2 Merge branch 'develop' of github.com:LLK/scratch-www into HOC-content-update 2015-11-10 16:12:55 -08:00
Ray Schamp
a8a05c4fdc Merge pull request #220 from rschamp/bugfix/activity-key-warnings
Quiet warnings about keys in Activity component
2015-11-10 14:55:02 -05:00
Ray Schamp
09d9d194cf Merge pull request #221 from rschamp/feature/sentry
Log Javascript errors to Sentry
2015-11-10 14:43:59 -05:00
carljbowman
96b1dba277 Update HOC tutorials and linking
- Swapped Pong Game with B-Ball Hoops
- Changed Bearstack Story's thumbnail to clear up confusion around similar thumbnails
- Added 'B-Ball Hoops' to localization JSON
- Added anchor link to resource section for easy acess.
2015-11-10 10:58:08 -08:00
Ray Schamp
51734e4f1e Use XDR when making cross-origin api requests
Fixes GH-224. IE < 10 needs to use "cross domain requests" for cross-origin XHR requests.  These don't support custom headers which doesn't affect us at the moment, but might become annoying later.
2015-11-10 13:33:06 -05:00
Matthew Taylor
ca10232498 Clean up build-locales and add tests for it.
1. Use md5 compare instead of string compare for determining presence of translation
2. Strip out whitespace before doing md5 compare
2015-11-09 11:40:36 -05:00
Ray Schamp
aa2eeab353 Log Javascript errors to Sentry 2015-11-06 17:08:50 -05:00
Ray Schamp
958497cf1d Merge pull request #219 from LLK/release/2.2.3
Release 2.2.3 – HOC
2015-11-06 12:22:44 -05:00
Ray Schamp
ae8c25e2c4 Update sass-lint
This reverts commit bad6e1cca6.
2015-11-06 11:52:16 -05:00
Ray Schamp
bad6e1cca6 sass-lint pls 2015-11-06 11:46:47 -05:00
Ray Schamp
5dc6cd220d Quiet warnings about keys in Activity component 2015-11-06 11:36:35 -05:00
Andrew Sliwinski
35a3e4c192 Merge pull request #216 from rschamp/bugfix/GH-128
Fix GH-128: Use table layout in IE 9 for navigation and homepage
2015-11-06 10:14:22 -05:00
Ray Schamp
b1694c1adc Fix GH-128 again: use table layout for IE 9 2015-11-05 19:33:02 -05:00
Ray Schamp
bfaccaaed4 Fix navigation for IE9 2015-11-05 18:42:16 -05:00
Ray Schamp
0420457bdc Use blue for the spinner color. H/t @carljbowman 2015-11-04 14:30:58 -05:00