1. 18 Mar, 2015 1 commit
  2. 11 Mar, 2015 1 commit
  3. 10 Mar, 2015 2 commits
  4. 26 Feb, 2015 1 commit
  5. 19 Feb, 2015 1 commit
    • Aaron Wells's avatar
      Let a theme specify that it has no parent · b822b567
      Aaron Wells authored
      Bug 1410638. Currently, a theme that specifies no $theme->parent
      in its themeconfig.php is forced to use "raw" as its parent.
      With this patch, there are three options:
      1. $theme->parent = false; : No parent theme.
      2. $theme->parent = "sometheme"; : Sometheme is the parent
      3. $theme->parent not defined at all: "raw" is the parent
      Change-Id: Ibfeeae246b0f505b5759ee77eeed32467c464cab
  6. 15 Feb, 2015 1 commit
  7. 09 Feb, 2015 1 commit
  8. 05 Feb, 2015 1 commit
  9. 30 Jan, 2015 1 commit
  10. 28 Jan, 2015 1 commit
  11. 19 Jan, 2015 1 commit
  12. 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
      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>
  13. 09 Dec, 2014 3 commits
  14. 24 Nov, 2014 1 commit
  15. 06 Nov, 2014 1 commit
  16. 05 Nov, 2014 1 commit
  17. 23 Oct, 2014 1 commit
    • Aaron Wells's avatar
      Add a <meta name="generator"> tag with the Mahara major version number · 847754aa
      Aaron Wells authored
      Bug 1384497. This also adds a new $config->series to lib/version.php,
      which stores the major version (or as we sometimes call it, "the series")
      of the current release. It seemed better to store this separately rather
      than to try to parse it from $config->release, because we may change
      our release numbering strategy in the future.
      Change-Id: If4c0d7352e9433cdaf54a03bb922356d6c950e7d
  18. 16 Oct, 2014 1 commit
  19. 15 Oct, 2014 1 commit
    • Aaron Wells's avatar
      Removing the redundant new local function for style overrides · 20da6bf8
      Aaron Wells authored and Robert Lyon's avatar Robert Lyon committed
      Bug 1346926: This bug replicates the functionality of the
      newly enhanced (in bug 1328310) local/theme directory. I'm
      updating the documentation of local/theme at the same time,
      to try to avoid this kind of replication in future.
      Change-Id: Ia36442ac264f5e0740278592e734ddc0838bb80f
  20. 24 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>
  22. 15 Sep, 2014 1 commit
  23. 01 Sep, 2014 1 commit
  24. 27 Aug, 2014 1 commit
  25. 21 Aug, 2014 1 commit
  26. 20 Aug, 2014 1 commit
  27. 19 Aug, 2014 1 commit
  28. 13 Aug, 2014 1 commit
  29. 28 Jul, 2014 1 commit
  30. 16 Jul, 2014 1 commit
  31. 15 Jul, 2014 1 commit
  32. 01 Jul, 2014 1 commit
  33. 23 Jun, 2014 1 commit
  34. 16 Jun, 2014 1 commit
  35. 13 Jun, 2014 1 commit
    • Aaron Wells's avatar
      Allow plugin theme files to live under the /theme and /local directory · fd85506f
      Aaron Wells authored
      Bug 1231755. In order to make it easier for custom theme authors to customize
      the appearance of plugins, I'm adding the /theme directory to the search path
      for plugin files.
      Example: smarty->display('artefact:fun:path/to/file.tpl')
      Old searchpath:
      New searchpath (in order of precedence):
      1. /local/theme/artefact/fun/templates/path/to/file.tpl
      2. /theme/(themename)/artefact/fun/templates/path/to/file.tpl
      3. /artefact/fun/theme/(themename)/path/to/file.tpl
      Further notes:
      The /local directory doesn't have separate copies for separate
      themes. It's a sitewide override of all themes.
      For some reason theme directories under plugins don't have a "templates"
      directory. The templates sit loose under the theme directory. In my new
      version, plugin directories under themes DO have a "templates" directory.
      Change-Id: Id90ee1d1dec0bda93a0d30e54229fd7dacbe5b96
  36. 12 Jun, 2014 2 commits