1
0
mirror of https://github.com/covidpass-org/covidpass.git synced 2025-02-23 15:07:44 +01:00

34 Commits

Author SHA1 Message Date
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
Marvin Sextro
f8a7f05481 Add basic error handling and color picker 2021-06-26 00:28:35 +02:00
Marvin Sextro
1b51a50c51 Initial commit 2021-06-25 12:18:25 +02:00