-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #213 from labzero/develop
Merge to master
- Loading branch information
Showing
28 changed files
with
253 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,18 @@ | ||
-----BEGIN CERTIFICATE----- | ||
MIIDljCCAn4CCQDKlarFMPQQbDANBgkqhkiG9w0BAQsFADCBjDELMAkGA1UEBhMC | ||
VVMxEzARBgNVBAgMCkNhbGlmb3JuaWExFjAUBgNVBAcMDVNhbiBGcmFuY2lzY28x | ||
ETAPBgNVBAoMCExhYiBaZXJvMRkwFwYDVQQDDBBsb2NhbC5sdW5jaC5waW5rMSIw | ||
IAYJKoZIhvcNAQkBFhNqZWZmcmV5QGxhYnplcm8uY29tMB4XDTE4MDQyNjIxMjIy | ||
NFoXDTE5MDQyNjIxMjIyNFowgYwxCzAJBgNVBAYTAlVTMRMwEQYDVQQIDApDYWxp | ||
Zm9ybmlhMRYwFAYDVQQHDA1TYW4gRnJhbmNpc2NvMREwDwYDVQQKDAhMYWIgWmVy | ||
bzEZMBcGA1UEAwwQbG9jYWwubHVuY2gucGluazEiMCAGCSqGSIb3DQEJARYTamVm | ||
ZnJleUBsYWJ6ZXJvLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEB | ||
ALtMxM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RYCC/mdFN8jWfHE1sqp9A | ||
Q/qP6vsTvPpfmKcnu/x62TLPH7ZrNvwhiv18YxszvJQAhdGBW8geftMH8x9PfznQ | ||
yzkIDTROeAZbnY29PxQTmVwx90o6CKfLaBAX/Z6ZkFAMio8v3GGuW6bJMo+g7Lz0 | ||
r2KzzZEZp7oUCP5tw1uvAjzO4XD56vNdjrBymrySza2qCM7UNbMEWExtMqvsUK6C | ||
5HcnT3PyWARaJH8G5wQpvFqNbW18nQoh9owoa/hcYhxR2nBRQOECAwEAAaMhMB8w | ||
HQYDVR0RBBYwFIISKi5sb2NhbC5sdW5jaC5waW5rMA0GCSqGSIb3DQEBCwUAA4IB | ||
AQCqystbK46mhrfCWKnS2qlCkuU1YT8xGaOFqb8/f+rNq6UonIZ38vcHUn4k9UcT | ||
HYhVkul36YK85KMq9E6tlmuGxgl8hg021bPgi/0Y8x/4EAWIVYM2IARQhIgEa5+F | ||
30u4Rf+OZhjt4EQ4QUoyOynXLrA2sFnzApeFYhmDwXtkB9umECSF1CLDc8l+zLZB | ||
utBZwdzVSHs8atnZTdCLHwo42egWJVecA8CbNuQZ0PCEF7hmMoVH9Iln1Fvidhp3 | ||
gwI/NnK7fZUWEee4nuinX2OIybPtofkfXjxljcC8bubslmceAjc4rSxGwuY61lvN | ||
B8NDHd+xb30jLmlnr5x+pq7l | ||
-----END CERTIFICATE----- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,16 @@ | ||
{ | ||
"short_name": "Lunch", | ||
"name": "Lunch", | ||
"description": "A simple lunch voting app for you and your team. Search nearby restaurants, add them to your list, vote for as many as you like, and decide on today’s pick!", | ||
"icons": [ | ||
{ | ||
"src": "icon.png", | ||
"sizes": "192x192", | ||
"type": "image/png" | ||
} | ||
], | ||
"start_url": "/" | ||
"start_url": "/", | ||
"display": "standalone", | ||
"theme_color": "#FFC0CB", | ||
"background_color": "#FFF" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,5 +20,6 @@ export default (context) => { | |
<New email={email} /> | ||
</LayoutContainer> | ||
), | ||
title: 'Invitation', | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,6 +30,7 @@ export default (context) => { | |
<Edit token={token} /> | ||
</LayoutContainer> | ||
), | ||
title: 'Reset password', | ||
}; | ||
}); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,5 +23,6 @@ export default (context) => { | |
<New email={email} /> | ||
</LayoutContainer> | ||
), | ||
title: 'Reset password', | ||
})); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,6 +23,7 @@ export default (context) => { | |
<Create /> | ||
</LayoutContainer> | ||
), | ||
title: 'New user', | ||
}; | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/* global workbox */ | ||
/* eslint-disable no-restricted-globals */ | ||
|
||
// eslint-disable-next-line no-underscore-dangle | ||
workbox.precaching.precacheAndRoute(self.__precacheManifest || []); | ||
|
||
// Cache the index page | ||
workbox.routing.registerRoute( | ||
context => context.url.pathname.indexOf('/api') !== 0 && context.url.pathname.indexOf('/assets') !== 0, | ||
workbox.strategies.cacheFirst({ | ||
cacheName: 'pages', | ||
plugins: [ | ||
new workbox.expiration.Plugin({ | ||
maxAgeSeconds: 30 * 24 * 60 * 60, // 24 hours | ||
}), | ||
], | ||
}), | ||
); | ||
|
||
// eslint-disable-next-line no-unused-vars | ||
self.addEventListener('install', event => { | ||
// Activate new service worker as soon as it's installed | ||
self.skipWaiting(); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.