1. 09 Feb, 2015 1 commit
  2. 27 Jan, 2015 1 commit
  3. 11 Dec, 2014 1 commit
  4. 03 Dec, 2014 1 commit
  5. 16 Nov, 2014 1 commit
  6. 28 Oct, 2014 1 commit
  7. 20 Oct, 2014 1 commit
    • Aaron Wells's avatar
      Marking a page objectionable caused it to be hidden · 969b2a6f
      Aaron Wells authored
      Bug 1298646: Objectionable pages are meant to remain visible
      to users until an admin comes along and deletes them. They were
      accidentally being hidden due to a bug in the logic flow in
      Change-Id: I2929e11adc048af58b451892bae1c5789af8dcf0
  8. 06 Oct, 2014 1 commit
  9. 18 Sep, 2014 1 commit
    • Robert Lyon's avatar
      The archiving of submitted pages/collections from groups (Bug #1335670) · 5c57b565
      Robert Lyon authored
      This patch contains:
      - The export queue system where pages/collections on release from
      submission are added to the export queue table ready to be archived.
      - The export queue admin page showing what is in the queue to be
      exported. The cron runs every 6 minutes. Queue items failed to export
      are also shown here.
      - The archive list admin page, where one can download the generated
      leap2a files for the archived submissions.
      In this patch you should be able to add things to the export queue by
      either releasing a sumbission on a group that has 'archive
      submissions' option ticked. This will add the archive to that archived
      submission page, or you can also run a leap2a export from portfolio
      export which will add the export queue and send you an email once the
      export is done.
      Things to note:
      - The is a server busy function that stops the export queue from
      running but I'm not too sure if the threshold is too low/high
      - The export queue tries to export the first 100 items each run but if
      resources are fine in handling that easily then the number could be
      higher but I'm not sure of what will be a good number.
      - Currently there is alsoe infrastructure like table columns for dealing
      with releasing submissions from external systems (eg moodle) but that
      functuionality is yet to be built.
      - The checking of server busy in MS windows untested - may need to
      just let MS ignore server busy check as there doesn't seem to be
      standard way to check this.
      Change-Id: If4c1d272e9c5d46fbf16b2ff73ceb2687c06ffd4
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
  10. 16 Sep, 2014 1 commit
    • Robert Lyon's avatar
      Updating calendar pieform element to use datepicker/timepicker · 3340ef27
      Robert Lyon authored
      (Bug #1267239)
      The datepicker is now keyboard accessible but not fully screenreader
      accessible - but the folks at datepicker are working on that
      The key bindings you need to know for datepicker:
      PAGE UP: Move to the previous month.
      PAGE DOWN: Move to the next month.
      CTRL+PAGE UP: Move to the previous year.
      CTRL+PAGE DOWN: Move to the next year.
      CTRL+HOME: Move to the current month. Open the datepicker if closed.
      CTRL+LEFT: Move to the previous day.
      CTRL+RIGHT: Move to the next day.
      CTRL+UP: Move to the previous week.
      CTRL+DOWN: Move the next week.
      ENTER: Select the focused date.
      ESC: Close the datepicker
      The key bindings added for timepicker:
      (to avoid clashes with existing key bindings)
      ALT+UP: Move hour slider up one step
      ALT+DOWN: Move hour slider down one step
      SHIFT+LEFT: Move minute slider down one step
      SHIFT+RIGHT: Move minute slider up one step
      Also added the prev/next year button options
      Change-Id: Iff857ba9efb23fd123de6af8f78ceffee9c0ac79
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
  11. 15 Sep, 2014 2 commits
  12. 12 Sep, 2014 1 commit
    • Robert Lyon's avatar
      Language-ifying the strings in the primary school theme (Bug 1362871) · 03ff102a
      Robert Lyon authored
      Currently there is no way for themes to come with their own language
      files - but sometimes a theme may have some text it wants to display
      that is unique to that theme - like when it has a homeinfo.tpl file
      I've added the checks to the lang path for checking a theme's lang file
      To use it in a template you need to indicate the section is a theme by
      {str tag=stringtoget section=theme.nameoftheme}
      and this will look for the lang file in:
      Change-Id: I16d5273ee94ad2c066f7de5922253edde325fbed
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
  13. 01 Sep, 2014 1 commit
  14. 07 Aug, 2014 1 commit
    • Nigel Cunningham's avatar
      (Bug1353802) Add query result caching to handle_event · 7441f64a
      Nigel Cunningham authored
      Improve the performance of handle_event by caching the results of
      database queries. In testing adding 2000 users from a CSV file with
      a typical number of fields (username, password, email, firstname,
      lastname, studentid, address, town, city, country, homenumber,
      mobilenumber), this change reduced the average import time over
      three runs (with a fresh install each time) as follows:
                             Before      After     Saving
      Total Wall Time        246s        114s       132s - 54%
      handle_event           132s         21s       111s - 84%
      (The change to handle_event seems to affect other functions'
      execution times, perhaps due to other database caches still
      being in memory that would otherwise be replaced).
      Change-Id: Ibf28650df710dd807f95fca30a2dfc29ed92f5cd
      Signed-off-by: default avatarNigel Cunningham <nigelc@catalyst-au.net>
  15. 24 Jul, 2014 1 commit
    • Robert Lyon's avatar
      User in multi institutions can lose progress bar (Bug #1347362) · 4a2e491e
      Robert Lyon authored
      If a user is in two (or more) institutions and the first institution has
      profile progess set up for it and the other doesn't, the switching of
      the select box makes the progress sideblock disappear.
      This patch checks that if any institution the user belongs to has
      profile progress then display the select box if they belong to two or
      more institutions and show either the bar or a message mentioning this
      intitution doesn't have progress.
      To test:
      - user with 1 institution that has progress
      - user with 1 institution that has no progress
      - user with 2 institution that both have progress
      - user with 2 institution where one has progress
      - user with 2 institution where none have progress
      Change-Id: I4daca26b4b9cfef9faa73be34c34ad931d89465e
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
  16. 21 Jul, 2014 1 commit
  17. 16 Jul, 2014 1 commit
  18. 01 Jul, 2014 2 commits
  19. 30 Jun, 2014 1 commit
  20. 24 Jun, 2014 1 commit
  21. 17 Jun, 2014 1 commit
  22. 16 Jun, 2014 1 commit
  23. 15 Jun, 2014 1 commit
  24. 13 Jun, 2014 1 commit
    • Aaron Wells's avatar
      Cleanup of the Plugin class · 6c89ad48
      Aaron Wells authored
      Bug 1328768
      - Improving documentation
      - Adding default implementations for the *_config_options methods because
      that's a better means of documenting them than the function_exists() way
      - Fixing the save_config_options() methods in the search plugins, which
      should have been static.
      Change-Id: Ib2bf1388843824e63cf6486176e97b8f874e1116
      Signed-off-by: default avatarYuliya Bozhko <yuliya.bozhko@totaralms.com>
  25. 12 Jun, 2014 1 commit
    • Aaron Wells's avatar
      Refactor the Dwoo_Template_Mahara files · 97e96de0
      Aaron Wells authored
      Bug 1231755
      - Cleanup, documentation, and removing replicated code.
      - Not checking for whether the file exists. We'll just make a list
      of search paths and pass those through to Dwoo_Template_File, and
      let it determine which path has the file.
      - Eliminating the separate Dwoo_Template_Mahara classes for plugintypes,
      and moving the custom logic for how plugintypes find their template files,
      into the Plugin class itself.
      Change-Id: I877a4221323333e8e8b6c6df54062a0f8bf2b817
  26. 09 Jun, 2014 1 commit
  27. 05 Jun, 2014 1 commit
  28. 04 Jun, 2014 2 commits
  29. 27 May, 2014 1 commit
  30. 12 May, 2014 1 commit
  31. 09 May, 2014 1 commit
    • Yuliya Bozhko's avatar
      Some artefact refactoring (Bug #1298646) · 3ba72d71
      Yuliya Bozhko authored and Robert Lyon's avatar Robert Lyon committed
      Fixes in this patch:
      - Moved artefact.php to artefacts directory to separate it from pages.
      - Fixed reference to a wrong 'artefactonlyviewableinview' string.
      - Removed add_to_render_path() and its calls which have no purpose at all.
      - Removed 'artefact_parent_cache' table.
      - Removed cron jobs related to 'artefact_parent_cache' from DB.
      - Added 'path' column in 'artefact' table to easier calculate hierarchy.
      - Added ArtefactTest.php for artefacts unit tests
      Change-Id: Ia14cd85b94c32a950354446ee3565bd2964c625c
      Signed-off-by: default avatarYuliya Bozhko <yuliya.bozhko@totaralms.com>
  32. 02 May, 2014 1 commit
    • Aaron Wells's avatar
      Removing unnecessary array_diff · 6ca2821a
      Aaron Wells authored
      Bug 1314460: No need to remove $locked from $progressbaritems, because the
      list of progressbaritems is limited by the $onlytheseplugins array, and that
      has already had $locked removed from it.
      Change-Id: Ie8418703d0333eaf2ef2ba8301ec235e4dcddd03
  33. 22 Apr, 2014 1 commit
  34. 06 Apr, 2014 1 commit
  35. 31 Mar, 2014 3 commits