PDF export for collections and entire account

Bug #1826284 reported by Kristina Hoeppner on 2019-04-24
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Wishlist
Robert Lyon

Bug Description

Currently, Mahara supports the export of portfolios and entire accounts to HTML and Leap2A. It is also possible to export individual pages to PDF by using the print option.

This feature request is for making it possible to export entire collections to PDF and an entire account similarly to the HTML export. Since a PDF cannot play audio or video, these files will be exported together with the PDF so they remain accessible.

This feature is sponsored by Te Rito Maioha Early Childhood New Zealand.

Mahara Bot (dev-mahara) wrote :

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

Mahara Bot (dev-mahara) wrote :

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

Mahara Bot (dev-mahara) wrote :

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

Mahara Bot (dev-mahara) wrote :

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

Mahara Bot (dev-mahara) wrote :

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

Mahara Bot (dev-mahara) wrote :

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

Mahara Bot (dev-mahara) wrote :

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

Mahara Bot (dev-mahara) wrote :

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

Mahara Bot (dev-mahara) wrote :

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

Mahara Bot (dev-mahara) wrote :

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

Changed in mahara:
milestone: 19.10.0 → 20.04.0

Also see bug #1825231

Mahara Bot (dev-mahara) wrote :

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

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

commit ff63091b31b2d09b4f44e1daacf68f22a159bc7c
Author: Robert Lyon <email address hidden>
Date: Thu Sep 5 08:11:07 2019 +1200

Bug 1826284: Allow the export compression be seperate from export

So that all export types can use the same export compression function

behatnotneeded

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

Mahara Bot (dev-mahara) wrote :

Reviewed: https://reviews.mahara.org/9800
Committed: https://git.mahara.org/mahara/mahara/commit/84712c3797b64083b6bb2473abdb9cf2f3a3032d
Submitter: Cecilia Vela Gurovic (<email address hidden>)
Branch: master

commit 84712c3797b64083b6bb2473abdb9cf2f3a3032d
Author: Robert Lyon <email address hidden>
Date: Wed Apr 17 09:33:38 2019 +1200

Bug 1826284: Allow the bulk export page to handle all export types

Also allow the selecting of specific users by select2 dropdown

behatnotneeded

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

Mahara Bot (dev-mahara) wrote :

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

commit 02c99babdef91dd5ed9711d5716b8dde0bf9c023
Author: Robert Lyon <email address hidden>
Date: Mon Sep 16 13:00:01 2019 +1200

Bug 1826284: Allow HTML exports have multiple pages with same name

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

It goes into Mahara 20.04 as experimental feature.

tags: added: nominatedfeature
Mahara Bot (dev-mahara) wrote :

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

commit d761c4f5109329915cda96d10f3bc7f135992f3a
Author: Robert Lyon <email address hidden>
Date: Tue Sep 17 10:07:38 2019 +1200

Bug 1826284: Allow PDF bulkexport to serve file correctly

For some reason the generated file does not like the 'application/zip'
mimetype being set so we override it and set no Content-Type header
forcing the browser to work it out

behatnotneeded

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

Mahara Bot (dev-mahara) wrote :

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

commit deff2790b4e0e3d2cb8d645b2dcb0b3da2945820
Author: Robert Lyon <email address hidden>
Date: Wed Sep 18 08:51:14 2019 +1200

Bug 1826284: Allow either ghostscript or pdfunite to join pdfs

behatnotneeded

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

Mahara Bot (dev-mahara) wrote :

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

commit 0307a929f0808761f43cca4d2f5ecd3b7986e0bb
Author: Robert Lyon <email address hidden>
Date: Wed Sep 18 11:10:00 2019 +1200

Bug 1826284: Allow more info to be displayed

To help with working out where a bulkexport to pdf fails
Also not show the 'acctivation' button on plugins page if not all
required dependencies are met

behatnotneeded

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

Mahara Bot (dev-mahara) wrote :

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

commit f7406158b1bf15eac3f4f4eeb4432be7e6da363a
Author: Robert Lyon <email address hidden>
Date: Fri Sep 6 15:31:42 2019 +1200

Bug 1826284: External media block renders different for PDF export

It renders the video as a link to the external video

If the video is also a vimeo / youtube video it fetches the thumbnail
for the video to display that as well

behatnotneeded

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

Mahara Bot (dev-mahara) wrote :

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

commit 4f8eed9fcd38db8d274ce6bdcf8d9939e749e743
Author: Robert Lyon <email address hidden>
Date: Fri Sep 6 09:46:55 2019 +1200

Bug 1826284: Files to download block renders different for PDF export

It uses it's own template file that has less stuff in it

behatnotneeded

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

Mahara Bot (dev-mahara) wrote :

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

commit 68ebdd9d407ba5cb8f5cf476fa781a0339c8b75e
Author: Robert Lyon <email address hidden>
Date: Wed Sep 11 14:07:04 2019 +1200

Bug 1826284: My views block renders export different for pdf

It now references the file pdfs that are exported as part of full pdf
export. This should work as we can't export a profile page on it's own

behatnotneeded

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

Mahara Bot (dev-mahara) wrote :

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

commit 1a7efc06a54d762bd5d86ad151a0fe8d0b2cdb86
Author: Robert Lyon <email address hidden>
Date: Tue Sep 10 09:15:49 2019 +1200

Bug 1826284: Plan block renders different for PDF export

It renders with all the tasks expanded

Also tidied up the taskrows.tpl file to minimise the duplication
Also added back in a missing style for overdue incomplete task

behatnotneeded

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

Mahara Bot (dev-mahara) wrote :

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

commit d5c331d566cd7be9b995c8913fd1cc588e2ffed5
Author: Robert Lyon <email address hidden>
Date: Fri Sep 6 10:43:07 2019 +1200

Bug 1826284: Folder block renders different for PDF export

It uses it's own template file that has less stuff in it

behatnotneeded

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

Mahara Bot (dev-mahara) wrote :

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

commit e8dc71d351796e9e9bef54a9cece81d4739b6d71
Author: Robert Lyon <email address hidden>
Date: Fri Sep 6 08:54:53 2019 +1200

Bug 1826284: Gallery block renders export different for slideshow

When the exporttype is pdf and the block is in slideshow mode we
render the block differently to avoid images stacking on each other

behatnotneeded

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

Mahara Bot (dev-mahara) wrote :

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

commit ee9dd1582a9deb245ecd47dfa08bc14a7bd347ff
Author: Robert Lyon <email address hidden>
Date: Thu Sep 5 12:56:44 2019 +1200

Bug 1826284: Pdf block renders export different for pdf

When the exporttype is pdf we render the block differently

behatnotneeded

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

Mahara Bot (dev-mahara) wrote :

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

commit 63ccc41ffe4cf65d562dd2617b33c11e35d641c8
Author: Robert Lyon <email address hidden>
Date: Thu Sep 5 12:53:39 2019 +1200

Bug 1826284: Allow the exporttype to filter down to the block rendering

behatnotneeded

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

Mahara Bot (dev-mahara) wrote :

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

commit d3425360bbc8aeb1b3008f942d2dc6b7969e0e74
Author: Robert Lyon <email address hidden>
Date: Mon Mar 18 14:00:08 2019 +1300

Bug 1826284: Generate a pdf file via chrome headless

Set up composer to include chrome-php/chrome

behatnotneeded

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

Mahara Bot (dev-mahara) wrote :

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

commit 177cdb2db4d0d53eaac6fd82deb2536b708f1082
Author: Robert Lyon <email address hidden>
Date: Thu Apr 18 12:03:55 2019 +1200

Bug 1826284: Adding the pdf option to exports

1) Extends the HTML export
2) Dump the pages as PDFs as well
3) Mentions on install page what external dependencies there are

behatnotneeded

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

Robert Lyon (robertl-9) wrote :

Any issues found now that this is merged can be their own bug reports

Changed in mahara:
status: In Progress → Fix Committed
Robert Lyon (robertl-9) on 2020-04-29
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers