Upgrade PDFjs from v2.2.228 to v2.6.346

Bug #1915994 reported by Doris Tam
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
High
Doris Tam

Bug Description

Looks like there are quite some changes.

https://github.com/mozilla/pdf.js/releases

Doris Tam (doristam)
tags: added: libraryupgrade
Doris Tam (doristam)
Changed in mahara:
assignee: nobody → Doris Tam (doristam)
status: New → In Progress
Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "master" branch: https://reviews.mahara.org/11562

Changed in mahara:
milestone: none → 21.04.0
importance: Undecided → High
Revision history for this message
Mahara Bot (dev-mahara) wrote :

Patch for "master" branch: https://reviews.mahara.org/11599

Revision history for this message
Doris Tam (doristam) wrote :

I couldn't minify the new version using README.Mahara instructions. Used https://github.com/oci-labs/pdfjs-dist-viewer-min in replacement as it comes with a minified version that is upstreamed from the original pdfjs repo

Revision history for this message
Lisa Seeto (lisaseeto) wrote :
Changed in mahara:
milestone: 21.04.0 → 21.10.0
Revision history for this message
Mahara Bot (dev-mahara) wrote :

Patch for "master" branch: https://reviews.mahara.org/11807

Revision history for this message
Mahara Bot (dev-mahara) wrote :

Patch for "master" branch: https://reviews.mahara.org/11818

Revision history for this message
Mahara Bot (dev-mahara) wrote :

Patch for "master" branch: https://reviews.mahara.org/11822

Revision history for this message
Mahara Bot (dev-mahara) wrote :

Patch for "master" branch: https://reviews.mahara.org/11848

Revision history for this message
Mahara Bot (dev-mahara) wrote :

Reviewed: https://reviews.mahara.org/11807
Committed: https://git.mahara.org/mahara/mahara/commit/5ee26af6fe925599c42612a4bd1146a755215ed0
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit 5ee26af6fe925599c42612a4bd1146a755215ed0
Author: Doris Tam <email address hidden>
Date: Wed May 26 10:43:42 2021 +1200

Bug 1915994: Upgrade PDF.js v2.8.335

Change-Id: Ib49676ba7be62df59fd6da4c85ddb7dc29db4842

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/11818
Committed: https://git.mahara.org/mahara/mahara/commit/b315e71ff5a39f22573c1c53e68bf8e63f1250c3
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit b315e71ff5a39f22573c1c53e68bf8e63f1250c3
Author: Doris Tam <email address hidden>
Date: Thu Jun 3 10:49:52 2021 +1200

Bug 1915994: Hide the pdfjs uplod buttons

To avoid confusion we should disable the upload/open button
because people might think they are uploading a pdf file
when they are not.

Cleaned up old changes nolonger applicable with this version

Change-Id: I0e562446e4742cc40e8ab2b9dc87e1578421072d

Revision history for this message
Mahara Bot (dev-mahara) wrote :

Reviewed: https://reviews.mahara.org/11848
Committed: https://git.mahara.org/mahara/mahara/commit/b5289cef2707662d4eab0a4da8cb21d777d258ee
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit b5289cef2707662d4eab0a4da8cb21d777d258ee
Author: Robert Lyon <email address hidden>
Date: Sat Jul 3 06:50:22 2021 +1200

Bug 1915994: Make the paths to pdfjs directories absolute

Also add style change to have base of pdf visible

Also fix some minor coding issues

Change-Id: I2a5eb907c8aa38799e2a40ae875efbace47cee59
Signed-off-by: Robert Lyon <email address hidden>

Revision history for this message
Mahara Bot (dev-mahara) wrote :

Reviewed: https://reviews.mahara.org/11822
Committed: https://git.mahara.org/mahara/mahara/commit/6ed9230e287ca4915cb52e92391750adbc1ec4d0
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit 6ed9230e287ca4915cb52e92391750adbc1ec4d0
Author: Doris Tam <email address hidden>
Date: Fri Jun 4 12:34:14 2021 +1200

Bug 1915994: allow internationalisation of pdfjs

Change-Id: Idde1f070c247febbcd7c6b4a7cd2c53caed3cfe0

Robert Lyon (robertl-9)
Changed in mahara:
status: In Progress → Fix Committed
Doris Tam (doristam)
Changed in mahara:
assignee: Doris Tam (doristam) → nobody
assignee: nobody → Doris Tam (doristam)
Robert Lyon (robertl-9)
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.