Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-84354

Upgrade TCPDF to 6.8.2

XMLWordPrintable

    • MOODLE_500_STABLE
    • MOODLE_500_STABLE
    • MDL-84354-main
    • Hide

      Copied from MDL-66966

      1. Go to Site administration ► Development ► Third party libraries. Confirm that
        TCPDF is listed with a version number of 6.8.2
      2. Go to http://[your.local.moodle.site]/lib/tests/other/pdflibtestpage.php
      3. Click on the Continue button.
      4. Confirm that a sample PDF is successfully generated.

      Copied from MDL-47333

      1. Install several language packs with different alphabets - de, zh_cn, ja, ar for example
      2. Open http://your.local.moodle.site]/moodle/lib/tests/other/pdflibtestpage.php and
      3. Verify there are no errors - missing chars are OK because not all fonts support all languages
      4. Install certificate module from here and you can follow the documentation from here or follow the following steps
      5. Set "Debug message" to "NORMAL" in Site admin > Development > Debugging
      6. Once the plugin is installed go to Site admin > Plugins > Activity modules > Custom certificate settings
      7. Click on "Manage templates" and click "Create template"
      8. Fill all the required fields
      9. Add border from "Add element"
      10. Add course name from "Add element" set Alignment to "Centered"
      11. Add student name from "Add element" set Alignment to "Centered"
      12. Click on "Save changes"
      13. Go to created course and enable edit mode
      14. Click on create activity and choose "Custom certificate"
      15. Fill all the required fields and save
      16. Go to created certificate and click on "Edit certificate" and your created template should be selected in "Load template" and click "Load"
      17. Click on "Custom certificate" and click on "View certificate"
      18. Verify there are no regressions when printing the certificates
      19. If the contents are overlapped just ignore it because it only has to do with the plugin itself, but if you want to make them not overlapped you can go back to certificate template and click on "Reposition elements" and you can drag and drop to arrange the contents.

      Copied from MDL-65142

      1. Navigate to Home ► Site administration ► Plugins ► Data formats ► Manage data formats
      2. Make sure the pdf data format is enabled
      3. Go to Home ► Site administration ► Reports ► Logs
      4. Click on the "Get these logs" button
      5. At the bottom of the page, download table data as "Portable Document Format (.pdf)"
      6. Open the downloaded file.
      7. Verify that the content of the file is in a neat tabular format
      8. Verify that the first row on each page of the file contains the column title
      9. Verify that the last row on each page is displayed as a whole (it is not split between pages)
      10. Verify that you see "Page x / y" at the bottom of each page
      Show
      Copied from MDL-66966 Go to Site administration ► Development ► Third party libraries. Confirm that TCPDF is listed with a version number of 6.8.2 Go to http://[your.local.moodle.site]/lib/tests/other/pdflibtestpage.php Click on the Continue button. Confirm that a sample PDF is successfully generated. Copied from MDL-47333 Install several language packs with different alphabets - de, zh_cn, ja, ar for example Open http://your.local.moodle.site]/moodle/lib/tests/other/pdflibtestpage.php and Verify there are no errors - missing chars are OK because not all fonts support all languages Install certificate module from here and you can follow the documentation from here or follow the following steps Set "Debug message" to "NORMAL" in Site admin > Development > Debugging Once the plugin is installed go to Site admin > Plugins > Activity modules > Custom certificate settings Click on "Manage templates" and click "Create template" Fill all the required fields Add border from "Add element" Add course name from "Add element" set Alignment to "Centered" Add student name from "Add element" set Alignment to "Centered" Click on "Save changes" Go to created course and enable edit mode Click on create activity and choose "Custom certificate" Fill all the required fields and save Go to created certificate and click on "Edit certificate" and your created template should be selected in "Load template" and click "Load" Click on "Custom certificate" and click on "View certificate" Verify there are no regressions when printing the certificates If the contents are overlapped just ignore it because it only has to do with the plugin itself, but if you want to make them not overlapped you can go back to certificate template and click on "Reposition elements" and you can drag and drop to arrange the contents. Copied from MDL-65142 Navigate to Home ► Site administration ► Plugins ► Data formats ► Manage data formats Make sure the pdf data format is enabled Go to Home ► Site administration ► Reports ► Logs Click on the "Get these logs" button At the bottom of the page, download table data as "Portable Document Format (.pdf)" Open the downloaded file. Verify that the content of the file is in a neat tabular format Verify that the first row on each page of the file contains the column title Verify that the last row on each page is displayed as a whole (it is not split between pages) Verify that you see "Page x / y" at the bottom of each page
    • Hide

      Code verified against automated checks.

      Checked MDL-84354 using repository: https://github.com/stevandoMoodle/moodle.git

      More information about this report

      Built on: Tue Mar 4 05:34:42 UTC 2025

      Show
      Code verified against automated checks. Checked MDL-84354 using repository: https://github.com/stevandoMoodle/moodle.git main (0 errors / 0 warnings) [branch: MDL-84354-main | CI Job ] More information about this report Built on: Tue Mar 4 05:34:42 UTC 2025
    • Show
      Launching automatic jobs for branch MDL-84354 -main https://ci.moodle.org/view/Testing/job/DEV.02%20-%20Developer-requested%20PHPUnit/18279/ PHPUnit (sqlsrv) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/62486/ Behat (NonJS - boost and classic) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/62487/ Behat (Firefox - boost) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/62488/ Behat (Firefox - classic) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/62489/ App tests (stable app version) Built on: Mon Feb 17 08:25:14 AM UTC 2025
    • 2
    • Team Dragons 2025 Sprint 1.2

      TCPDF lib/tcpdf/ 6.7.5 --> 6.8.2 https://github.com/tecnickcom/TCPDF

        1. MDL-84354-test 1.png
          369 kB
          Ron Carl Alfon Yu
        2. MDL-84354-test 2.png
          216 kB
          Ron Carl Alfon Yu
        3. MDL-84354-test 3.png
          477 kB
          Ron Carl Alfon Yu

            stevani.andolo@moodle.com Stevani Andolo
            michaelh Michael Hawkins
            Meirza Meirza
            Jun Pataleta Jun Pataleta
            Ron Carl Alfon Yu Ron Carl Alfon Yu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 days, 1 hour, 21 minutes
                2d 1h 21m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.