Ray Schamp
3bdb95d40d
Set up static view rendering
2016-04-14 16:22:13 -04:00
Sayamindu Dasgupta
bd81438800
Add view for community blocks interview recruitment
...
We are recruiting Scratchers for interviews on the Scratch Community
blocks feature; this is a part of my PhD disseration. This commit has
the PDF forms and the views that are needed for the recruitment.
2016-04-01 13:23:48 -04:00
Ray Schamp
122b97b2a9
Merge pull request #405 from rschamp/hotfix/production-modules
...
[develop] Hotfix: Don't require dev dependencies in production
2016-03-31 12:35:22 -04:00
Ray Schamp
8bc3e5e2a5
Don't require dev dependencies in production
2016-03-31 12:24:33 -04:00
Ray Schamp
042ef65070
Merge pull request #393 from rschamp/feature/silence
...
Upgrade sass-lint, quiet various warnings
2016-03-24 12:02:40 -04:00
Ray Schamp
d0ff2660bd
Don't configure sentry unless there's a DSN
2016-03-24 11:29:04 -04:00
Matthew Taylor
5d693ed53d
Add /info/cards/
route
...
Also implements a method for handling translation of static files as described in https://github.com/LLK/scratch-www/issues/372#issuecomment-193350144
2016-03-23 16:37:15 -04:00
Ray Schamp
a5e336a175
Use redux for session handling
2016-03-18 11:51:22 -04:00
Ray Schamp
faabc63e65
Move component structure to one tree
...
Instead of inserting `Navigation` and `Footer` into every `render`ed component, just compose them in the views with a new `Page` component.
2016-03-18 10:54:26 -04:00
Matthew Taylor
b484480e1e
Merge branch 'wedo-landing' into develop
...
* wedo-landing:
Update with links, fix linter issues, center setup
[WIP] Add WeDo Landing page
# Conflicts:
# server/routes.json
2016-03-10 09:05:51 -05:00
carljbowman
3220fd1b9d
[WIP] Add WeDo Landing page
...
Adding LEGO WeDO landing page. This also includes the initial pass on Global Typographic Standards.
Needs Work
-Add URLs to all links on the page (still being generated)
-Ater URLs have been added, update translation JSON to include messages that include links
2016-03-09 14:33:17 -05:00
Andrew Sliwinski
6204b52479
WIP
2016-01-31 13:02:10 -05:00
Matthew Taylor
a53aa67d21
Make template caching strong
...
Fixes #325
2016-01-14 15:54:10 -05:00
Matthew Taylor
98d0f0de6e
Updates based on feedback
...
1. changes intl filenames to `[view].intl.js`
2. Move nav/footer rendering to `render.jsx`
3. Set locale cookie before submitting language change form
Thanks @thisandagain !
2016-01-14 08:32:43 -05:00
Matthew Taylor
ceec694b2a
Revert "Migrate to using a loader method"
...
This reverts commit 214430b0c4
.
2016-01-08 13:50:58 -05:00
Matthew Taylor
214430b0c4
Migrate to using a loader method
...
This moves all locale/translation building to a dependency, `scratch-www-intl-loader`, as well as tests associated with it. Also gets rid of the `make translations` step.
2016-01-07 17:01:57 -05:00
Matthew Taylor
f8cadf498e
Use strong
etag for build files
...
express's default is to do a "weak" etag (only looks for semantic changes, not byte-level), which might be partially responsible for not having updates to our files in browsers happen as soon as we deploy. Try strong instead.
2016-01-06 14:25:27 -05:00
Matthew Taylor
448ca0b103
Remove main bundle
...
Render footer and nav on each view directly instead of globally in a separate bundle
2016-01-06 14:23:47 -05:00
Matthew Taylor
8ae98d703f
Make localizations view-based
...
1. Load locale strings into `window._messages` in a separate file added to `template.html`, which contains view-specific and general strings
2. Update build-locales to compile separate files
2016-01-06 14:09:32 -05:00
Matthew Taylor
085479a351
Set width in viewport tag to desktop width
...
Desktop width retrieved from `_frameless`
2015-12-15 11:43:46 -05:00
Andrew Sliwinski
64546a2410
Merge pull request #245 from thisandagain/feature/credits
...
Migrate - Credits View
2015-12-08 13:52:18 -05:00
Matthew Taylor
d0f5dbeb07
Rename PROXY_HOST
to FALLBACK
...
Thanks @rschamp!
2015-12-04 09:52:10 -05:00
Matthew Taylor
2bd97255b0
Some updates to readme, fallback system
...
ht @rschamp for the suggestions!
2015-12-03 15:53:51 -05:00
Matthew Taylor
d630efb23c
Add shouldFallback
process env variable
...
So that it's clear to newcomers what things are not yet completed in scratch-www as we build it out.
2015-12-03 10:44:47 -05:00
Matthew Taylor
a65253ffb2
remove width=device-width
until mobile nav/footer
2015-11-30 16:22:52 -05:00
Hannah Cole
c82aecf1f7
created jobs page
2015-11-29 13:42:26 -05:00
Ray Schamp
f1fd84e7c7
Fall back to scratchr2 in development
...
There's no reason to proxy individual paths when we want all of them to fall back to what we haven't migrated yet. This mirrors the behavior of production.
Resolves GH-194
2015-11-26 23:34:21 -08: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
Andrew Sliwinski
167353c68d
Migrate credits page. Resolves GH-30. Resolves GH-174. Resolves GH-215
2015-11-18 21:14:54 -05:00
Ray Schamp
8536006416
Split CLIENT_ and NODE_ SENTRY_DSN vars
2015-11-12 17:00:19 -05:00
Ray Schamp
aa2eeab353
Log Javascript errors to Sentry
2015-11-06 17:08:50 -05:00
Andrew Sliwinski
f247761390
Merge branch 'develop' of github.com:llk/scratch-www into bugfix/199
2015-11-03 10:49:39 -05:00
Andrew Sliwinski
06de644ae6
Remove ./src/environment from Webpack config and bind environment to window. Resolves GH-199.
2015-11-03 10:49:32 -05:00
Andrew Sliwinski
0bfd6e1430
Update environment defaults
2015-11-03 10:44:56 -05:00
Andrew Sliwinski
d18799d221
Merge pull request #192 from thisandagain/bugfix/og
...
Update default og:image
2015-10-30 09:56:49 -04:00
Andrew Sliwinski
c0907f34cd
Update default og:image
2015-10-29 18:40:56 -04:00
Andrew Sliwinski
18cd13701f
Merge pull request #186 from mewtaylor/issue/180-clear-homepage-cache
...
#180 – Use xhr to clear cache instead of form
2015-10-29 18:36:00 -04:00
Ray Schamp
a20fc32a42
Merge pull request #173 from thisandagain/feature/minify
...
Use Minified react & react-dom in production
2015-10-29 15:49:00 -04:00
Andrew Sliwinski
6913a688d3
Block PUT, POST, and DEL requests
2015-10-29 12:06:13 -04:00
Matthew Taylor
d897d4387d
Use xhr to clear cache instead of form
...
because csrf. also, since we don't have a definite message/banner system in place yet, use the button itself for feedback rather than messages. The button will disable if it has been successfully used, or turn pink if there was an error (and it will not be disabled in that case).
2015-10-29 10:28:32 -04:00
Andrew Sliwinski
de5e479b52
Minify react & react-dom in production
2015-10-25 18:58:17 -04:00
Colby Gutierrez-Kraybill
9e9dc0221d
Merge pull request #132 from colbygk/feature/sentry-integration
...
Feature/sentry integration
2015-10-23 14:26:28 -04:00
Colby Gutierrez-Kraybill
3bf5f8b96c
Adjust nitpicks, remove whitespace in (), add around +
2015-10-23 10:43:30 -04:00
Ray Schamp
be6358fba9
Merge pull request #138 from rschamp/feature/welcome-panel
...
Add welcome panel component to homepage
2015-10-22 22:42:47 -04:00
Ray Schamp
af415e1bf3
Set template cue to dismiss welcome panel
2015-10-22 17:17:27 -04:00
Colby Gutierrez-Kraybill
bec911f0a8
Handle sentry config and express routing/page handling errors, to do: handle uncaughtExceptions
2015-10-22 15:12:38 -04:00
Colby Gutierrez-Kraybill
b33645beda
Handle sentry config and express routing/page handling errors, to do: handle uncaughtExceptions
2015-10-22 15:05:55 -04:00
Andrew Sliwinski
d86703e5db
Add window.Intl polyfill. Resolves GH-96
2015-10-21 20:49:31 -04:00