Commit Graph

52 Commits

Author SHA1 Message Date
Jason Liu df5f72e40b created tailwind dropdown component
removed react-select
reenabled dark mode
2021-10-20 22:33:40 -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 bb7b8c75d1 Dropped unneeded new packages, moved GPay pass download to window.location.href rather than React Router 2021-10-20 15:49:19 -04:00
Billy Lo 21997d0aa6 Merge branch 'main' into android 2021-10-20 10:45:59 -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 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
Billy Lo d4b7d267d3 increment version code to 2.1.3 2021-10-18 01:16:14 -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
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
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
Billy Lo 8dd93e7a8b user experience fix for mobile browser
Many user struggles to navigate back to grassroots after a new window is open (in step 1 or video demo).

Mobile chrome/firefox Users cannot use back button to return (this is ok on Safari because Apple is smart to allow back button to continue to work (despite it's a different window)
2021-10-16 06:00:36 -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 c5d455dfab scaffolding is all working - need to format stuff a bit before beta release 2021-10-09 08:39:17 -04:00
Ryan Slobojan d24e218f8c WIP: SHC code handling refactoring
* QR code rendering for SHCs fixed for images - had to use
  Nuintun QRcode lib and render in 2 chunks (byte and numeric),
  was not possible to do this with zxing
* Add support for image file processing (Thanks upstream!)
* Added support for scanning all pages in a PDF for SHC codes
* Simplified ON receipt detection algorithm (well-known PDF info)
* Re-hide render canvas at bottom of page
* Minor README updates
* TBD: Handle multi-jurisdiction SHCs cleanly (not all data is being
  properly passed along at the moment leading to missing card data)
* TBD: blow up if invalid issuer detected in SHC (currently allows
  card creation even with invalid issuer)
2021-10-08 23:05:58 -04:00
Ryan Slobojan 33af99c529 Merge remote-tracking branch 'origin/main' into polyfill-starts-with
* origin/main: (23 commits)
  Fix typo in expiry date (10-23 -> 10-22), bump page rev
  name fix for photo receipts
  updated save photo headings and added expiry
  Fix for pdfjs type imports
  tuned the dates heading / details a bit.
  added expiry date to pass
  added expiration date and default to ON logic
  Fix input element not accepting PDFs on older iOS devices
  Fix Save Photo not working on iOS due to html-to-image error when handling   on that platform.
  cleaned up console logging to be ready for main branch merge
  pre-merge with main updates
  Added Saskatchewan SHC issuer info
  Stop splitting vaccinename so we can detect AZ correctly
  special handling of shc code from QC
  Failed to locate ByteRange is an expected error
  specify error correction level of QR code in photos to make it compatible with BC scanner app
  functional shc (including photo)
  add to wallet working now - working on photos portion
  verifyJWS working now... picked up latest issuer code
  SHC - Smart Health Card support. Parse QR code from PNG image and parse it into Payload
  ...
2021-10-05 12:34:35 -04:00
Ryan Slobojan 157c11bcd3 Fix for pdfjs type imports
* Also added a bit more about Android at the top of the homepage
2021-10-04 19:19:06 -04:00
Evert Timberg 9fac4dbcc4 Add a polyfill for String.prototype.startsWith
This error appears in Sentry and is likely occuring in older browsers
2021-09-30 08:34:33 -04:00
Billy Lo 66e450a2ed Merge branch 'main' into shc-support 2021-09-29 16:13:13 -04:00
tvalenta1 d8969f568c SHC - Smart Health Card support. Parse QR code from PNG image and parse it into Payload 2021-09-26 22:36:27 -07:00
Billy Lo 3574b4490d 1.9.7 2021-09-25 23:09:46 -04:00
Billy Lo 4c2a68d6e0 updated build # 2021-09-24 21:47:26 -04:00
Billy Lo 67d56c942d v1.9 - added support for versioning of registration functions to allow concurrent operations of v.Current and v.Next 2021-09-23 05:10:11 -04:00
Billy Lo ec11d0614d minor fixes to handle J&J and iOS Chrome issue...
can't support iOS Chrome right now... lots of strange behaviors.
2021-09-21 20:31:52 -04:00
Billy Lo 4d23b017fc work in progress for shc-support 2021-09-21 10:38:24 -04:00
Billy Lo 13a07de0e0 1.8 finally working 2021-09-19 12:21:59 -04:00
Billy Lo 37d8ed99e4 1.7 2021-09-14 20:33:27 -04:00
Evert Timberg 53d983d7e3 Capture unexpected errors in Sentry 2021-09-12 12:43:41 -04:00
Billy Lo 6303637f9a clean up for Save as Photos release 1.6 2021-09-09 17:08:49 -04:00
Billy Lo 6b4cfaf42c Save to Photos is finally working on iOS/Android/Mac/Windows 2021-09-09 16:24:24 -04:00
Billy Lo fd35bd12e9 patch for iOS 14.0, 14.1 and 13.7 issue on arrayBuffer 2021-09-09 12:45:21 -04:00
Billy Lo 6ef745af0e version 1.4 - added FAQ and Save as Photo functionalities 2021-09-09 00:27:43 -04:00
Billy Lo 58c2bbf63c improved error messages and instructions
most common problem... people has other versions of PDF that are not digitally signed by the province.
2021-09-01 21:20:11 -04:00
Billy Lo 3f3ed17d50 working version 0.1 2021-08-26 00:15:12 -04:00
Billy Lo 0d5bfd9203 v01 - initial push
working code - read pdf, get PDF signer cert details, validate and payload inside receipt (name, vaccinationDate, vaccineType, date of birth and number of doses received)
2021-08-23 22:33:48 -04:00
Hauke Tönjes 11d739b473
New color selector
- Use headless-ui radio menu for the selector
- Use enum for colors
- Design is WIP
2021-07-28 14:28:45 +02:00
Marvin Sextro e9b2ccb6a8 Prepare for localization 2021-07-02 20:55:26 +02:00
Marvin Sextro 254a748895 Port decode to typescript 2021-07-01 19:49:43 +02:00
Hauke Tönjes 5054e4da54
Use uuidv4 for serialNumber instead of uvci 2021-07-01 14:05:09 +02:00
Hauke Tönjes 0aa4e32469
Transition to typescript
- Moved all logic to typescript
- Code cleanup
- Moved logic out of Form Component
2021-07-01 00:49:05 +02:00
Hauke Tönjes bae9a66464
Added missing dependency 2021-06-30 03:17:22 +02:00
Hauke Tönjes 57e08bacaf
Added QR Scan with device's camera
- Design changes regarding file selection / camera
2021-06-30 03:13:01 +02:00
Hauke Tönjes 094e7f99fa
Use next scripts to start server
- removed svg from webpack (using it directly in code)
- removed unused import in Form.js
- removed unused server.js (using next scripts)
2021-06-29 15:59:49 +02:00
Marvin Sextro 54848cb87c Add jpeg and png file types 2021-06-29 01:11:08 +02:00
Khaos Tian f4719a0014 Support manifest only signing 2021-06-27 17:29:29 -07:00
Marvin Sextro a4c6dfe70e Add Privacy policy and SEO 2021-06-26 14:22:53 +02:00