1. 28 Aug, 2016 1 commit
  2. 25 Aug, 2016 1 commit
    • Ghada El-Zoghbi's avatar
      Bug 1598990: Verify the import format from an external source is correct. · c71c5d43
      Ghada El-Zoghbi authored
      Check the format of the record in the import_queue table when processing
      the queue. Ensure it always defaults to a valid format that is installed
      and enabled. If it is not valid, throw an error.
      Clean up the call PluginImport::create_new_queue() by removing the
      non-existant 'plugin' field.
      Also, wrap the importer in a try/catch so the core_import_process_queue
      cron process can contiue if there is an error.
      And, validate that the keypair_PEM exists when checking openssl_open().
      Change-Id: Icde78f862ca0e120b67393f4a5abf464695f5104
  3. 24 Aug, 2016 2 commits
  4. 23 Aug, 2016 3 commits
  5. 22 Aug, 2016 2 commits
  6. 19 Aug, 2016 9 commits
    • Aaron Wells's avatar
      Bug 1542126: Cleaning up very old error handler code · 287141c7
      Aaron Wells authored
      This patch contains these three related changes:
      1. Removes the "THIS IS BAD" message that was printed when 3rd-party
      exception or an instance of MaharaException was thrown.
      2. Removes the completely unnecessary "MaharaThrowable" interface.
      3. Adds an comment explaining why MaharaException is not abstract
      4. In the case of a smarty exception while printing an error, prints
      the name and content of the smarty exception.
      behatnotneeded: Covered by existing tests
      Change-Id: I800a868bd187efb76ed37cca872ce262c2abbdb0
    • Aaron Wells's avatar
      CLI upgrader, better handling of out-of-sequence plugin upgrades · 0e1704c1
      Aaron Wells authored
      Bug 1614805. When a plugin is installed "out of sequence" by a
      call to plugin_upgrade in the core lib/db/upgrade.php file, the
      AJAX-based web upgrader handles it gracefully, because it does
      check_upgrade() before upgrading each plugin, detects the change
      in status, and doesn't run the upgrade for that plugin a second
      The CLI upgrader, on the other hand, uses the same cached data
      from check_upgrades() all the way through, causing it to re-run
      upgrades for such plugins.
      This patch makes it behave the same as the AJAX plugin, running
      check_upgrade() again immediately before each component gets
      upgraded. This does cause some redundancy in code execution,
      but it shouldn't be enough to cause a noticeable performance hit.
      Change-Id: Id5c431fc9e636df2cab05d22e6cc424271ce9f3d
      behatnotneeded: Covered by existing tests
    • Son Nguyen's avatar
      Bug 1613483: Hide "Open file" button in the toolbar · 9c02263d
      Son Nguyen authored and Aaron Wells's avatar Aaron Wells committed
      Change-Id: I3204369ec36bbfa01227f210e8fc79526679f660
    • Robert Lyon's avatar
      Allow the pdf viewer to display menu items in user's lang (Bug 1423435) · 9aaadf0a
      Robert Lyon authored
      Change-Id: I0b13222887d66d174f5e12d037dda4594acc0512
    • Robert Lyon's avatar
      Embed pdf has horiz scrollbar on default 3 column layout (bug 1237137) · 6ef27c8c
      Robert Lyon authored
      Seen as the 3 column layout is the default one the embed pdf view
      should fit within it.
      Currently if you have a browser windo open fully, a 3 column layout,
      and a pdf embedded you get a horizontal scrollbar on the embed pdf.
      A slight adjustment of the min-width and it goes away.
      The scrollbar will be there for 4 or 5 column widths but that is ok as
      they are quite thin columns.
      Change-Id: Ib01118d9fffab14440308eaf04b5038fdfeca9c3
    • Robert Lyon's avatar
      Getting the bottom of the pdf viewer to display (bug 1240776) · d09a09ab
      Robert Lyon authored
      - change allows for a bit of the base of the display so it doesn't
      look broken
      Change-Id: Ie163f986a4c6abcf60cb26fc3b479122c119fc10
    • Robert Lyon's avatar
      Adding ability to download embed pdf when js turned off (Bug# 1211070) · 517f71a1
      Robert Lyon authored
      Change-Id: I829b996c5ce9bfa9e2b882b2209adc3731bec49a
    • Son Nguyen's avatar
      Bug 1613483: Update mahara template for pdf block · 39154e68
      Son Nguyen authored
      * Remove sample pdf files
      * Use absolute paths in viewer.js
      * Open fileurl if defined
      Change-Id: I99dc0f84e693c0ea1dc231814379a43297a57411
    • Son Nguyen's avatar
      Bug 1613483: Update PDF.js to 1.4.20 · 925b59c3
      Son Nguyen authored
      Change-Id: Ic14ef28aeb95ac19e2c790f7ab26932d6c12bb4c
  7. 18 Aug, 2016 7 commits
  8. 17 Aug, 2016 3 commits
  9. 16 Aug, 2016 1 commit
  10. 15 Aug, 2016 8 commits
  11. 12 Aug, 2016 1 commit
  12. 11 Aug, 2016 2 commits