Commit Graph

156 Commits

Author SHA1 Message Date
Ryan Slobojan e1d2cad160 Added Delaware as a supported issuer 2021-10-21 13:30:03 -04:00
Ryan Slobojan b4aa6455c2 Make register failures non-fatal 2021-10-21 00:57:32 -04:00
Ryan Slobojan d2c4e31191 Fix config handling (double-.json()ing it) 2021-10-20 18:09:49 -04:00
Ryan Slobojan 527776092e Wording updates to reflect GPay support
* Bumped rev to 2.2.0
2021-10-20 16:40:26 -04:00
Ryan Slobojan 0360e6b6b3 More cleanup and simplification
* Remove unneeded build script
* Removed unneeded code and imports
* Ensured /api/config is only called once and reused
2021-10-20 16:23:46 -04:00
Billy Lo 50cb5c2290 minor updates to button and environment variables 2021-10-20 14:56:19 -04:00
Billy Lo 21997d0aa6 Merge branch 'main' into android 2021-10-20 10:45:59 -04:00
Billy Lo 8b8a08558a generalize client side code we can switch from loyalty to covidcard smoothly 2021-10-20 10:23:48 -04:00
Ryan Slobojan 1ccddb92c3 Add refresh button to fix photo issues on older iPhones
Can now click to refresh the image if it doesn't draw right the first time
2021-10-19 17:47:01 -04:00
Ryan Slobojan b138f78d8a Another attempt at a fix for Safari image issue
* Now rendering card to a full PNG and embedding in page
* Link around PNG is also the full PN as a data URL
* SHould be able to either click or direct-save image
2021-10-18 23:43:40 -04:00
Ryan Slobojan 61bf17a964 Fix for people with only a family name (community-reported bug) 2021-10-18 23:03:15 -04:00
Ryan Slobojan 0a91eadb14 Another attempt to fix Mobile Safari not saving photo cards correctly
* Moved photo card right underneath "Save as Photo" button
* Update to latest html-to-image library (1.9.0)
* Added 1px border to photo card
* Hide photo card when camera opened or new file selected
* Rev version to 2.1.5
2021-10-18 18:25:55 -04:00
Ryan Slobojan 8cef67d8f7 Added explanation to step 1 so users know it's optional 2021-10-18 13:09:54 -04:00
Ryan Slobojan 464b5585e1 Merge branch 'main' of github.com:billylo1/covidpass into main
* 'main' of github.com:billylo1/covidpass:
  hot fix to remove the altText of the QR code to improve scannabilitiy
  increment version code to 2.1.3
  2.1.2 - Added dropdown box for Step 1 to support different provinces

# Conflicts:
#	src/passphoto-common.ts
2021-10-18 12:37:53 -04:00
Ryan Slobojan 241b68f300 Fixed Safari image rendering issue
* Apparent race condition between rendering/hiding canvas and
  saving of file
* Photo card now just remains visible all the time as soon as a
  SHC QR code is detected, to eliminate race conditions
2021-10-18 12:36:25 -04:00
Billy Lo 6bd13c086c hot fix to remove the altText of the QR code to improve scannabilitiy 2021-10-18 12:02:00 -04:00
Billy Lo d4b7d267d3 increment version code to 2.1.3 2021-10-18 01:16:14 -04:00
Billy Lo 2152af09a0 Merge branch 'main' of https://github.com/billylo1/covidpass 2021-10-18 01:15:21 -04:00
Billy Lo 3af4a148de 2.1.2 - Added dropdown box for Step 1 to support different provinces 2021-10-18 01:14:52 -04:00
Ryan Slobojan e477f55637 Increment build number 2021-10-17 23:51:12 -04:00
Ryan Slobojan adb4a27c03 Merge branch 'main' of github.com:billylo1/covidpass into main
* 'main' of github.com:billylo1/covidpass:
  2.1.1 - updated photo to sync with wallet pass
2021-10-17 23:50:03 -04:00
Ryan Slobojan e65b85ba7b Attempted fixes to timing issues in image save
* Delay removal of QR codes until second card is generated, rather than right after first
* Don't hide image HTML until after save loading is complete
* Await unawaited toBlob call in image save
2021-10-17 23:49:57 -04:00
Billy Lo e625cadd00 Merge branch 'main' into android 2021-10-17 19:57:15 -04:00
Billy Lo 5657b28b65 2.1.1 - updated photo to sync with wallet pass 2021-10-17 19:34:18 -04:00
Ryan Slobojan e93de3243a Text updates, Rev 2.1.0 release 2021-10-17 17:58:48 -04:00
Ryan Slobojan 8e83c65f6c Added direct camera-scan support for creating QR codes
* SHC QR codes can now be scanned directly from the camera, eliminating the need for
  error-prone screenshotting or photos - the scanner will auto-detect an SHC QR code
  and proceed to the next step
2021-10-17 13:30:18 -04:00
Billy Lo f080ca8618 Merge branch 'main' into android 2021-10-16 15:50:55 -04:00
Billy Lo d6d9691aee minor edits to suggest the G-Pay button 2021-10-16 15:45:22 -04:00
Billy Lo b179c19e3d 2.0.5 - update for iOS 15 validation 2021-10-16 14:54:16 -04:00
Ryan Slobojan 7ca5a469b2 Added support for new unreleased Manitoba SHC QR codes as well as NWT, NJ, HI, UT, and VA
* Also ignore now-common SHC warning message in Sentry
2021-10-15 22:32:38 -04:00
Billy Lo 4ebc1c0df3 handle more doses on Apple Wallet (up to 4 on front, 4 more at the back) 2021-10-15 12:28:49 -04:00
Ryan Slobojan f35e9dbfb0 Lots of messaging updates 2021-10-15 10:47:32 -04:00
Ryan Slobojan 2629da4cd4 Turned off old-style ON pass generation 2021-10-15 09:20:47 -04:00
Ryan Slobojan e3ab251aa5 Deleted unintentional add of Norwegian translation from EU upstream
* Also fixed log message which logged too much
2021-10-15 08:53:47 -04:00
Billy Lo 0a02bf5798 updated FAQ, added DOB and vacc name/date back onto Apple Wallet pass 2021-10-15 01:17:14 -04:00
Billy Lo d1f70167b6 deployed version - 1.10.0 after merge and a few fixes 2021-10-14 23:07:52 -04:00
Billy Lo b738349330
Merge branch 'main' into shc-refactoring 2021-10-14 22:25:45 -04:00
Billy Lo e79213d76f Merge branch 'shc-refactoring' of https://github.com/billylo1/covidpass into shc-refactoring 2021-10-14 20:19:07 -04:00
Billy Lo 7170372afa fix for Apple Pass on new SHC receipts 2021-10-14 20:19:04 -04:00
Ryan Slobojan 7e31cd0235 Another copy/paste fix - apparently I was typing too fast when the ON keys were discovered :| 2021-10-14 19:25:01 -04:00
Ryan Slobojan e2eca84972 Added second QC Key ID
* Apparently QC has been changing things around a bit:
https://github.com/fproulx/shc-covid19-decoder/issues/12#issuecomment-932668689
2021-10-14 16:45:35 -04:00
Ryan Slobojan ef62f6d97e Update Yukon issuer data to match latest info from https://pvc.service.yukon.ca/issuer/.well-known/jwks.json 2021-10-14 16:38:58 -04:00
Ryan Slobojan 6d47367c40 Fix hasty copy/paste error :| 2021-10-14 16:33:35 -04:00
Ryan Slobojan 9f96e5953b Added docs comment re: ON accepted SHC issuers 2021-10-14 16:28:45 -04:00
Ryan Slobojan bd2ec1a38d Added Ontario public key (thanks Andrew!) 2021-10-14 16:24:26 -04:00
Ryan Slobojan 5d13a6f1ad Completed list of CVX codes to include all known COVID vaccine codes to date 2021-10-14 12:17:08 -04:00
Ryan Slobojan b4f42f946b Remove duplicated comment 2021-10-14 11:52:07 -04:00
Ryan Slobojan b6bad308fd Logging cleanup 2021-10-14 10:39:31 -04:00
Ryan Slobojan e2b0dcf694 Completed SHC implementation
* We now register SHCs using a different format than old-style ON cards
* server-side register function has been updated to split out old-style and
  SHC registrations and put them into different collections so we can easily
  delete old-style data when the code path is turned off
* Record SHCs (minus PII) from unexpected issuers so that we can
  proactively learn about and react to new SHC issuers or format changes
* Load API config exactly once and reuse it rather than reloading on every
  card generation
2021-10-14 10:32:02 -04:00
Ryan Slobojan 79150bc3ee Implemented SHC-specific Wallet cards
* Photos and Wallet cards have white background and black text
  to make them instantly visually differentiable from current pass
* Not possible to accurately determine vaccinated or not between
  provinces, so no decoration is added to the card
* Name only on card, to encourage scanning of proof-of-vaccination
  which leads to less fake documents (if people look at what's on
  the card and don't bother scanning, then if the QR code is garbage
  they will never know; field experience indicates scanning is rare)
* This is now ready for review, final testing, and deployment
* TBD: Add new datastore for tracking observed SHC issuers and
  vaccine data, to faciliate troubleshooting
2021-10-13 17:47:06 -04:00