1. 12 Oct, 2015 1 commit
  2. 24 Sep, 2015 1 commit
  3. 23 Sep, 2015 1 commit
  4. 16 Sep, 2015 1 commit
  5. 16 Aug, 2015 1 commit
    • Robert Lyon's avatar
      Bug 1483963 - Better reporting on login activity · 19af23b2
      Robert Lyon authored
      
      
      Added a tab 'Logins' to site statistics page that contains
      how many total logins for an institution and also how many unique
      users have logged in during a certain time period - defaults to
      previous calendar month
      
      One can get different results by adjusting the url like so
      admin/statistics.php?type=logins&start=2014-01-01&end=2015-01-01
      if needing to get a different time period
      
      On upgrade it populates the usr_login_data table with the current
      lastlogin time for non-deleted users
      
      Currently usr_login_data only records user id and ctime (for login
      time) but one could also add more columns tothe table if needing to
      record something that happens once per successful login.
      
      Change-Id: If59b207356894eaced7b9977b80d539a28cb7e56
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
      19af23b2
  6. 30 Jul, 2015 1 commit
  7. 23 Jul, 2015 1 commit
  8. 16 Jul, 2015 1 commit
  9. 03 Jul, 2015 1 commit
  10. 15 Jun, 2015 1 commit
    • Naomi Guyer's avatar
      Navigation (bootstrap) · 85b78c1f
      Naomi Guyer authored and Aaron Wells's avatar Aaron Wells committed
      Bug 1465107: Use Bootstrap CSS Framework
      Applied bootstrap tabs and tidy up form styling
      Mobile menu
      Add bootstrap accessibility, tab styling to bootstrap
      
      Change-Id: Ifa42d482f5fd7e1cdfb52bae1ebb5ff3bf5085a9
      85b78c1f
  11. 07 May, 2015 1 commit
  12. 21 Apr, 2015 1 commit
  13. 17 Mar, 2015 1 commit
  14. 10 Mar, 2015 1 commit
  15. 26 Feb, 2015 1 commit
  16. 25 Feb, 2015 1 commit
  17. 16 Dec, 2014 1 commit
    • Mike Kelly's avatar
      Implement TinyMCE imagebrowser plugin · 36bc9f7d
      Mike Kelly authored and Aaron Wells's avatar Aaron Wells committed
      
      
      This is a TinyMCE plugin which allows for browsing and embedding of
      Mahara-hosted images as well as the embedding of external web-hosted
      images. This makes adding inline images to WYSIWYG text boxes more
      user-friendly.
      
      Viewing permissions for these embedded files is set by adding references
      to them to a new database table, artefact_file_embedded, then checking
      for the existence of the references in the table when serving the files
      via artefact/file/download.php. For content blocks in views, such as
      text and textboxes, any embedded images are saved as view artefacts, and
      viewing permission is granted for those files accordingly via previously
      existing checks in artefact/file/download.php.
      
      This patch is designed to allow image embedding in all WYSIWYG text
      boxes throughout Mahara, hence the table structure, with resourcetype
      and resourceid providing the context for checking the validity of the
      image file to be served.
      
      Change-Id: Idcc5ab3495eed44eea6ced171d670ba4c73884f6
      Signed-off-by: default avatarMike Kelly <m.f.kelly@arts.ac.uk>
      36bc9f7d
  18. 09 Dec, 2014 1 commit
  19. 16 Nov, 2014 1 commit
  20. 22 Sep, 2014 1 commit
  21. 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>
      5c57b565
  22. 16 Sep, 2014 2 commits
    • 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>
      3340ef27
    • Nigel Cunningham's avatar
      (Bug548021) Add support for anonymising pages. · 9624d430
      Nigel Cunningham authored
      
      
      This patch adds support for anonymising pages.
      
      It creates a site option in the General Settings section named 'Allow
      anonymous pages' that must be checked for any page to be anonymised.
      
      If the site option is enabled, a new 'Anonymise' setting in the
      'Edit title and description' tab of pages is enabled, allowing the owner
      to request that this page be anonymised.
      
      When both settings are enabled and a user views a page, two things may
      happen to the author's information.
      
      First, if the user is not logged in or does not have admin, staff or
      owner privileges for the page, the author's name is replaced by the
      anonymous text (defaulting to "(Author's name hidden)") in both the
      body of the page and the metadata author field.
      
      If the user does have admin, staff or owner privileges for the page,
      the author's name is anonymised as above except that the text displayed
      is made into a link. When this link is clicked, the anonymous author
      text is replaced by the normal author information for the page.
      
      Anonymous pages displayed in the 'Latest pages' block and shared with
      a group are also anonymised by this patch.
      
      Change-Id: I2e2c92f641329a1a305cf58a5c5d47bf95436a8b
      Signed-off-by: default avatarNigel Cunningham <nigelc@catalyst-au.net>
      9624d430
  23. 12 Sep, 2014 1 commit
  24. 26 Aug, 2014 1 commit
    • Nigel Cunningham's avatar
      Copy secret URLs to clipboard button (Bug 1314890) · 7f276caa
      Nigel Cunningham authored
      
      
      This patch adds a new button that allows the user to copy
      secret URLs to the clipboard without having to manually
      select the URL text (a process prone to error). Since
      Javascript can't do this directly, it uses the ZeroClipboard
      library's Flash based implementation, which adds an invisible
      'movie' over the button.
      
      The patch includes error handling, so that if Flash is disabled
      or Zeroclipboard is unable to run for some other reason, the
      buttons are automatically hidden. Note that if Adobe is set to
      ask whether to allow flash to run, the buttons are enabled and
      there's no way for us to detect if the user then denies permission.
      Since they're explicitly refusing permission and there's nothing
      we can do, I'm just documenting the fact here.
      
      Change-Id: Idf6a408b77adc3f5401192688046d8aaa9e125ae
      Signed-off-by: default avatarNigel Cunningham <nigelc@catalyst-au.net>
      7f276caa
  25. 20 Aug, 2014 1 commit
  26. 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>
      4a2e491e
  27. 21 Jul, 2014 1 commit
  28. 15 Jul, 2014 1 commit
  29. 19 Jun, 2014 1 commit
  30. 12 Jun, 2014 1 commit
  31. 06 Jun, 2014 1 commit
  32. 05 Jun, 2014 2 commits
  33. 02 Jun, 2014 1 commit
  34. 27 May, 2014 2 commits
  35. 23 May, 2014 1 commit
  36. 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>
      3ba72d71
  37. 22 Apr, 2014 1 commit