1. 09 Sep, 2018 1 commit
  2. 14 Nov, 2017 1 commit
  3. 19 Sep, 2016 1 commit
  4. 07 Jul, 2016 1 commit
    • Robert Lyon's avatar
      Bug 1234615: Check that resized image files are viewable by user · aa31ba59
      Robert Lyon authored
      
      
      When exporting via Html export process - if not then ignore the file
      
      To test:
      
      1) Add an image block/file to a page and set a width value
      
      2) Go into db block_instance table and change the artefactid to an
      image that is owned by another user
      
      3) Reload the page - you should see the image block but not the
      attached image
      
      4) Export the page as HTML, either as full or standalone
      
      Before patch - you will end up with image file in the files/extra/
      directory
      
      After patch - you should not get the image in the files/extra/
      directory and you should get an info warning 'Unable to copy artefact
      file ***' on export page.
      
      behatnotneeded
      
      Change-Id: Iaeb9404b3329c4eb3eac59354801b598f7cd5ba8
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
      aa31ba59
  5. 25 Nov, 2015 1 commit
  6. 23 Nov, 2015 1 commit
  7. 02 Nov, 2015 1 commit
  8. 16 Jun, 2015 1 commit
  9. 15 Jun, 2015 1 commit
  10. 29 May, 2015 1 commit
  11. 15 Apr, 2015 1 commit
  12. 25 Feb, 2015 1 commit
  13. 16 Nov, 2014 1 commit
    • Robert Lyon's avatar
      Altering how get_comments() works (Bug #1037531) · 535c66d4
      Robert Lyon authored
      
      
      As I'm adding in some new options and I notice that Bug #1326425 will
      also be adding options to get_comments so I thought it would be useful
      to make a default opbject of variables that one can call and alter
      with specific variables where needed rather than having to work out
      where in the function call list things need to go as that list would
      grow up to 10 options.
      
      Change-Id: I7111559c4d12a8de128b9526930729728a36555e
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
      535c66d4
  14. 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 t...
      5c57b565
  15. 04 Jun, 2014 1 commit
  16. 22 Apr, 2014 1 commit
  17. 14 Oct, 2013 1 commit
  18. 21 Aug, 2013 1 commit
  19. 28 Apr, 2013 1 commit
  20. 10 Mar, 2013 1 commit
  21. 17 Sep, 2012 1 commit
  22. 30 Jul, 2012 1 commit
    • Son Nguyen's avatar
      Enable Unicode filename for exporting HTML · bc66d5c1
      Son Nguyen authored
      
      (Bug #996172)
      
      + Using utf-8 string as file/folder name:
      + Setting the maximum of file/folder name length to 80. (Max filename
      length on many OS is limited to 256 bytes)
      + Percent encoding URL. It is a non human-readable string. However, the
      modern web browsers (Firefox3, Chrome, >IE7) will automatically display
      it into human readable URL.
      
      Change-Id: Ibb0d4e5d5fbe01bc49b5ad9ba68e4bc483938016
      Signed-off-by: default avatarSon Nguyen <son.nguyen@catalyst.net.nz>
      bc66d5c1
  23. 18 Nov, 2011 1 commit
    • Melissa Draper's avatar
      Trim directory names before they are made (bug #813905) · ff3fd0e4
      Melissa Draper authored
      
      
      There are several places in the code where we make directories
      for stuff, both in the filesystem and in the artefacts table.
      If they have trailing spaces, then this can mess up users html
      exports etc. This patch should make exports safe for existing
      folders with whitespace at the end, and prevent new folders from
      from being made with the problem.
      
      Change-Id: Ia593f7f773e5ffe91ce74e8a736074b1fe1026b2
      Signed-off-by: default avatarMelissa Draper <melissa@catalyst.net.nz>
      ff3fd0e4
  24. 22 Aug, 2011 1 commit
  25. 25 Jul, 2011 2 commits
  26. 15 Jul, 2011 1 commit
    • Eugene Venter's avatar
      Make profile pics available in files area · 4a7b4ac4
      Eugene Venter authored
      
      
      bug #605747 and bug #806501
      
      When a user uploads a new profile icon, it now gets added to the
      "images" folder in their files area. Profile icons are emphasised and
      descriptions aren't editable. Warning notifications, when deleting a
      default profile icon or when deleting a folder containing profile
      icons, are implemented.
      Signed-off-by: default avatarEugene Venter <eugene@catalyst.net.nz>
      Change-Id: I3f8c93c4b65814aa183f0eaa8e1739e750c87905
      4a7b4ac4
  27. 13 May, 2011 1 commit
  28. 11 May, 2011 4 commits
  29. 27 Apr, 2011 2 commits
  30. 08 Oct, 2010 1 commit
  31. 27 Aug, 2010 1 commit
  32. 26 Aug, 2010 1 commit
  33. 24 Aug, 2010 1 commit
  34. 23 Aug, 2010 1 commit
  35. 20 Aug, 2010 1 commit