Commit graph

2268 commits

Author SHA1 Message Date
Florrie
9e487c8527 Fix CSS rule order 2018-01-12 11:51:11 -04:00
Florrie
ab107f865c Hide Firefox focus ring
See this StackOverflow answer: https://stackoverflow.com/a/18853002/4633828

This isn't a perfect fix - we have to set `color` explicitly, rather
than use `inherit`, because we want the text color to be the same when
the select element is focused. That means both `color` and
`text-shadow`'s color have to be explicitly set to the same thing
(otherwise they might not match). Yay, hacks!
2018-01-05 13:37:06 -04:00
Florrie
870b916db3 Only transition border property
..since it's the only property which actually animates. (The background
image also changes on hover/focus, but that isn't visually effected by
transition, so we ignore it.)

This is for the next commit. Without this, the focus ring slowly
disappears, and the text slowly becomes the color it's meant to be;
neither of those are good.
2018-01-05 13:34:57 -04:00
Ray Schamp
007bb54bf1
Merge pull request #1743 from LLK/hotfix/conference-route
[Master] Ignore querystring when routing conference page
2017-12-18 12:42:07 -05:00
Ray Schamp
6c39953c5b Ignore querystring when routing conference page
There should be a generalized solution for this, but my attempts have failed thus far.
2017-12-18 11:50:04 -05:00
Ray Schamp
969bc9e1cf Travis pls 2017-12-18 11:50:03 -05:00
chrisgarrity
b16cf6d5cc
Merge pull request #1737 from LLK/hotfix/revert-HOC-banners
[MASTER] revert 2017 HoC top and middle banners
2017-12-15 15:50:44 -05:00
Sheshank Shankar
240606b3d0 Fixes #1702: Scratch Conference site - small edits (#1727)
Update the conference page with new banner image and small copy edits.
2017-12-13 15:25:12 -05:00
chrisgarrity
04e1e36978 revert 2017 HoC top and middle banners 2017-12-12 11:21:35 -05:00
Ray Schamp
db4238bb0d
Merge pull request #1730 from LLK/revert-1715-hotfix/temp-row-remove
[Master] Add back curator and recently shared rows
2017-12-11 14:14:14 -05:00
Matthew Taylor
24e65e707f
Revert "[Master] temporarily take out curator row and recently shared row" 2017-12-11 08:40:16 -05:00
Ray Schamp
21c73e92e2
Merge pull request #1715 from mewtaylor/hotfix/temp-row-remove
[Master] temporarily take out curator row and recently shared row
2017-12-03 14:32:46 -05:00
Ray Schamp
ce574739e7
Merge pull request #1722 from TheGrits/patch-3
[Master] Redirect /hoc2014 -> /tips
2017-12-02 12:57:44 -05:00
The_Grits
8f830c2a04
[master] hotfix hoc2014 redirect 2017-12-02 12:19:45 -05:00
Colby Gutierrez-Kraybill
7b7306e7f9
Merge pull request #1721 from LLK/hotfix/cache-nav-session-endpoints
[Master] Hotfix/cache nav session endpoints @rschamp said I should.
2017-12-01 16:13:38 -05:00
Ray Schamp
deae3b1ad0
Merge pull request #1717 from rschamp/hotfix/no-purge-deploys
[Master] Conditionally purge on deploys
2017-12-01 15:56:31 -05:00
Ray Schamp
51d980cfb3 Conditionally purge on deploys
We can configure this within Travis
2017-12-01 15:34:31 -05:00
Matthew Taylor
9fbd5b691c temporarily take out curator row and recently shared row 2017-12-01 15:12:49 -05:00
Colby Gutierrez-Kraybill
0ba2693c0e Cache logged out account-nav.json and session
Cache ^/fragment/account-nav.json and ^/session for logged out users
2017-12-01 13:50:43 -05:00
chrisgarrity
ec507b73c5
Merge pull request #1654 from chrisgarrity/feature/hoc-2017
Top and middle banners for HoC 2017
2017-12-01 13:22:31 -05:00
Colby Gutierrez-Kraybill
fd6211bc6d
Merge pull request #1712 from LLK/hotfix/project-caching
[Master] Hotfix/project caching
2017-12-01 11:49:44 -05:00
Colby Gutierrez-Kraybill
c65b0ef907 Stomp set-cookie
set-cookie causes the cache to not cache the page. Since we’re not trying to track the user beyond, we don’t want to try resetting the cookie again with the same info
2017-12-01 11:22:24 -05:00
Colby Gutierrez-Kraybill
1083a7a79f Fix typos and correct cookie
scratchsessionsid not scratchsessionid
Cookie needs key added for assigned value of scratchlanguage
2017-12-01 10:18:47 -05:00
Colby Gutierrez-Kraybill
91b3feb0b1 Merge pull request #1708 from colbygk/session-caching
[Master] Project page caching
2017-12-01 09:59:26 -05:00
Ray Schamp
4ab0b73d89
[skip ci] Merge pull request #1710 from LLK/revert-1708-session-caching
Revert "[Master] Project page caching"

[skip ci]
2017-12-01 09:33:09 -05:00
Colby Gutierrez-Kraybill
69757e6bec
Revert "[Master] Project page caching" 2017-12-01 09:24:17 -05:00
Colby Gutierrez-Kraybill
d3b6cd032c
Merge pull request #1708 from colbygk/session-caching
[Master] Project page caching
2017-11-30 18:03:01 -05:00
Colby Gutierrez-Kraybill
0c109113c7 Failed on actual run, needs to load languages from directory below 2017-11-30 15:01:08 -05:00
Colby Gutierrez-Kraybill
3e8fdc9ce2 adjust tests to changes in fastly-config-methods.js 2017-11-30 11:46:39 -05:00
Colby Gutierrez-Kraybill
1e8bf2653c Correct brace addition to VCL 2017-11-30 11:38:14 -05:00
Colby Gutierrez-Kraybill
785667691e Fix up lint errors 2017-11-30 11:30:45 -05:00
Colby Gutierrez-Kraybill
66edcb60a8 Remove unused vcl code generators, setBackend and setFrontend 2017-11-30 11:28:53 -05:00
Colby Gutierrez-Kraybill
279e25eb69 Simplify how the conditional is created for setting the S3 backend, caching related behavior for non-logged in users and maintaining language settings and passing to backend 2017-11-30 11:11:38 -05:00
Colby Gutierrez-Kraybill
7a6be0306b Cache ^/projects/ to users who are not logged-in 2017-11-30 11:11:38 -05:00
Colby Gutierrez-Kraybill
9efd8e65eb Add specific /projects cache handling when user is not logged-in 2017-11-30 11:11:26 -05:00
Matthew Taylor
1acb9c6a1f
Merge pull request #1698 from mewtaylor/hotfix/avatar-endpoint
[Master] Hotfix: Change avatar to use `uploads` endpoint
2017-11-29 16:03:29 -05:00
Matthew Taylor
02da6f62a6 fall back to default image if thumb not found
This incorporates a fallback image into the thumbnail component for all of project, studio and avatar thumbnails using the `onerror` property of img elements (which is supported across all browsers).

/cc @thisandagain @rschamp
2017-11-29 08:03:48 -05:00
Matthew Taylor
be7e83db78 Change avatar to use uploads endpoint 2017-11-28 14:01:55 -05:00
Matthew Taylor
425f22735a
Merge pull request #1679 from LLK/hotfix/dec-1
[Master] December 1st Hotfix
2017-11-21 17:11:42 -05:00
Matthew Taylor
8f7bb287ed update transifex config to reflect new conference page 2017-11-21 16:35:05 -05:00
Matthew Taylor
666a893dad fix lint
whoops!
2017-11-21 14:19:18 -05:00
Matthew Taylor
d55caf7e96 update translations to just use FormattedMessage 2017-11-21 11:17:35 -05:00
Matthew Taylor
2acf90ba41 Change back routeAlias for conference pages
These are needed to ensure that fastly doesn’t 404 on the 2016 and 2017 sites.
2017-11-21 09:25:42 -05:00
Sheshank Shankar
3283904bb9 Add Learning Resource designer (#1676) 2017-11-21 09:19:45 -05:00
Sheshank Shankar
4f14dfcbe3 Fixes #1633 - Scratch Conference 2018 Website Phase 1 (#1673)
* add 2018 conference page (new subdirectory and index page)

* Redirect /conference route to 2018, and add new route for /conference/2017 for last year's conferences.

* Update mailto link in the footer
2017-11-21 09:19:37 -05:00
chrisgarrity
048d5c1383 Switch CTA button based on logged in state
Invite logged-out users to ‘Get Started with Coding!’, and make the whole Scratch animation clickable (goes to the Animate a Name tutorial).

See #1664
2017-11-08 16:50:14 -05:00
Matthew Taylor
081e3c5327
Fix #1649: Edit Scratch Conf Website - Correct Info for Costa Rica Conf (#1650) (#1663)
* Adds fix to #1644

* Update l10n.json

* Add files via upload

* Add files via upload

* Delete index.jsx

* Delete index.scss

* Delete l10n.json

* Update index.jsx

* Update l10n.json

* Update l10n.json

* Update index.jsx
2017-11-08 13:30:16 -05:00
chrisgarrity
60a2a51bb5 minor formatting changes for consistency 2017-11-08 09:04:33 -05:00
chrisgarrity
4fe3997df4 Top and middle banners for HoC 2017
Css animated top banner

Middle banner of activities - responsive

https://github.com/LLK/scratchr2/issues/4869

Also updated ttt see-more/open- modal link to be consistent with the new icon from Carl.
2017-11-03 16:50:26 -04:00
Matthew Taylor
eef64e139e
Merge pull request #1648 from LLK/release/2.2.26
[Master] Release 2.2.26
2017-11-03 12:04:00 -04:00