Commit graph

589 commits

Author SHA1 Message Date
Ray Schamp
dce35a4bee Add keys to children where necessary 2016-03-24 11:29:26 -04:00
Ray Schamp
d0ff2660bd Don't configure sentry unless there's a DSN 2016-03-24 11:29:04 -04:00
Ray Schamp
19f469db48 Upgrade and quiet sass-linter
These warnings were annoying me because the noise makes it easy to miss real issues.

The `no-mergeable-selectors` rule is one that we do want to have, but right now it asks that you merge selectors in different `@media` blocks.  When the next release happens we should put that back.

https://github.com/sasstools/sass-lint/issues/307

Similarly, we want `force-element-nesting` but there is a problem with that because there's no easy way to have a nested selector in a list of selectors.
https://github.com/sasstools/sass-lint/issues/575

Finally, until they implement per-line overrides, we have to silence `class-name-format` because we don't have control over the ReactModal class names.  It's a useful rule to keep class names consistent though.  Per-line ignores should be coming soon: https://github.com/sasstools/sass-lint/issues/70
2016-03-23 18:34:54 -04:00
Matthew Taylor
cc457aeddd Merge pull request #392 from mewtaylor/cleanup/localization-stuff
Cleanup: catch more localization errors that might arise
2016-03-23 09:25:05 -04:00
Matthew Taylor
c448b15dd4 Refactor build-locales a bit
This makes a couple of procedure-specific parts into methods in `locale-compare`, so that they can be tested more readily.
2016-03-23 08:22:09 -04:00
Matthew Taylor
ff003b137a fix copy errors
Thanks @rschamp!
2016-03-22 16:38:12 -04:00
Matthew Taylor
b123650988 Add localization spot checks
1. checks the localization for a few reference languages for the nav bar
2. for our localized pages (splash, about, wedo2), it checks to see that there are locale strings, whether or not they're english (to make sure at least something is on the page).
2016-03-22 16:26:16 -04:00
Matthew Taylor
3c2fec42f2 Only catch the ENOENT error
The catch there before is meant to just continue if it comes across a file that doesn't exist (in which case the language will default to english). However, it was not specific enough – now, it only catches the error if the file doesn't exist, and throws anything else, preveting a build.
2016-03-22 16:25:05 -04:00
Matthew Taylor
faf3549509 Merge pull request #390 from mewtaylor/issue/356-project-count
Fix GH-356: Use `formatNumber` to localize project count
2016-03-22 12:14:42 -04:00
Matthew Taylor
9a2a923b7b Remove projectCount from intro.jsx
thanks @rschamp!
2016-03-22 12:09:51 -04:00
Matthew Taylor
4914ba6d85 Use formatNumber to localize project count
`toLocaleString()` is not supported in Safari, but react-intl has a polyfill, and so it is. This also localized the intro description string, which wasn't previously. This also fixes #366 by doing as @rschamp suggested and checking if the count is the default count before setting the value.
2016-03-22 11:00:37 -04:00
Matthew Taylor
3c307e1706 Merge pull request #385 from mewtaylor/issue/add-nynorsk
Add nynorsk to dropdown
2016-03-22 08:10:14 -04:00
Ray Schamp
2bd9c34cdd Merge pull request #386 from rschamp/feature/redux
Use Redux for session handling
2016-03-21 22:05:24 -04:00
Matthew Taylor
8ab2546036 Merge pull request #389 from mewtaylor/issue/gh-381-languages
[Develop] Fix GH-381: add custom langauges
2016-03-21 08:48:25 -04:00
Matthew Taylor
0529c903f7 Add languages to custom locales
These languages are not supported in `intl-messageformat`. Fixes #381.
2016-03-21 08:04:52 -04:00
Ray Schamp
e6e91ccca7 Meaningless change 2016-03-21 00:52:28 -04:00
Ray Schamp
728910a679 Meaningless change 2016-03-21 00:44:31 -04:00
Ray Schamp
7b72e6cdcd Fix lint errors 2016-03-18 12:40:30 -04:00
Ray Schamp
a5e336a175 Use redux for session handling 2016-03-18 11:51:22 -04:00
Ray Schamp
1205ed019d Make Api mixin usable as a standalone module 2016-03-18 10:55:12 -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
af928160cf Add nynorsk to dropdown 2016-03-16 11:55:54 -04:00
Matthew Taylor
17a2f6ce2c Merge pull request #383 from mewtaylor/hotfix/wedo-appstore-link
[Master] Hotfix: wedo appstore link
2016-03-10 16:10:39 -05:00
Matthew Taylor
cb81ae550a Merge pull request #382 from mewtaylor/hotfix/wedo-appstore-link
[Develop] Hotfix: wedo appstore link
2016-03-10 15:28:50 -05:00
Matthew Taylor
c514d814c9 Update device manager app store link 2016-03-10 15:14:08 -05:00
Matthew Taylor
8c6e12677d Merge pull request #379 from mewtaylor/wedo-landing
[Master] – Wedo landing page
2016-03-10 10:29:34 -05: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
Matthew Taylor
aeaa02aae8 Update with links, fix linter issues, center setup 2016-03-09 23:04:25 -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
Matthew Taylor
6f8a916426 Merge pull request #376 from mewtaylor/issue/gh-374-tips-link
[Develop] Fix GH-374: Add tips to create link for logged out
2016-03-04 14:44:27 -05:00
Matthew Taylor
4a40482f74 Add tips to create link for logged out user
Fixes #374
2016-03-04 10:27:00 -05:00
Andrew Sliwinski
73b0766d56 Merge pull request #369 from thisandagain/feature/jobs
Migrate - Jobs Page
2016-03-03 13:49:07 -05:00
Andrew Sliwinski
80dcc08416 Merge pull request #371 from thisandagain/feature/node
Swap environments for CD
2016-03-03 11:54:14 -05:00
Andrew Sliwinski
f23ada9264 Swap environments for CD. Resolves GH-351 2016-03-03 09:57:41 -05:00
Andrew Sliwinski
14e28739bc Merge pull request #370 from thisandagain/feature/node
Prepare for migration to Node 4.2 LTS
2016-03-02 11:38:49 -05:00
Andrew Sliwinski
834327a96a Patch GCC for travis image for Node 4.X. Re GH-351 2016-03-02 11:17:19 -05:00
Andrew Sliwinski
9cbe1c8498 Update devDependencies and remove redundant / unused modules. Re GH-351 2016-03-02 10:14:05 -05:00
Andrew Sliwinski
5ae65979dd Update dependencies. Re GH-351 2016-03-02 10:03:22 -05:00
Andrew Sliwinski
7faf2aa8c2 Update travis to use Node 4.2.X LTS. Re GH-351 2016-03-02 10:01:08 -05:00
Andrew Sliwinski
f4be08fc4f Remove unused files 2016-03-02 09:50:11 -05:00
Andrew Sliwinski
47ab0a0ae0 Update jobs to match Media Lab listings 2016-03-02 09:42:51 -05:00
Ray Schamp
11a8eb178f Merge pull request #368 from LLK/release/2.2.6
Release 2.2.6
2016-03-01 15:18:03 -05:00
Andrew Sliwinski
7511121972 Merge branch 'develop' into feature/jobs 2016-03-01 10:19:34 -05:00
Matthew Taylor
0ac9f5edc5 Merge pull request #359 from TheGrits/patch-2
Fix gh-357: Splash - Initial value of project count is arbitrary
2016-02-23 11:43:26 -05:00
Matthew Taylor
9dc4195bbf add key again 2016-02-23 08:48:19 -05:00
Matthew Taylor
ab6bdfbd6a Add new keys 2016-02-23 08:39:44 -05:00
Matthew Taylor
e294b68b77 Revert "Attempt to fix travis deployment"
This reverts commit 7488715b9a.
2016-02-22 09:07:25 -05:00
Matthew Taylor
4a1362b434 Merge pull request #364 from mewtaylor/issue/gh-358-travis-badge
Fix GH-358: Add new travis badge to readme
2016-02-19 08:20:48 -05:00
Matthew Taylor
7488715b9a Attempt to fix travis deployment
It seems to not like underscores anymore.
2016-02-18 15:54:03 -05:00
Matthew Taylor
c596765b51 Merge pull request #361 from TheGrits/patch-1
Fix travis build fail
2016-02-18 15:29:02 -05:00