1. 17 Aug, 2014 6 commits
  2. 15 Aug, 2014 2 commits
  3. 13 Aug, 2014 1 commit
  4. 10 Aug, 2014 1 commit
  5. 08 Aug, 2014 2 commits
  6. 07 Aug, 2014 2 commits
    • Nigel Cunningham's avatar
      (Bug1353802) Remember and reuse last db_format_timestamp output if poss. · 4bd9d493
      Nigel Cunningham authored
      This patch adds support for remembering the last parameter used
      by ArtefactType::commit to db_format_timestamp and the output of
      the function, and reusing the output if the input is the same on
      the next call.
      In a test import of 2000 users, this patch reduced the number of
      invocations of db_format_timestamp from 80,000 (3.6s) to 14,800
      Change-Id: I6f5575f9d3649ff53514f9927744a01966d103dd
      Signed-off-by: default avatarNigel Cunningham <nigelc@catalyst-au.net>
    • 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>
  7. 31 Jul, 2014 2 commits
  8. 30 Jul, 2014 7 commits
  9. 25 Jul, 2014 1 commit
  10. 24 Jul, 2014 5 commits
    • Robert Lyon's avatar
      Adding sort options for the page list (Bug #1302297); · f9c36d0e
      Robert Lyon authored
      Added options to sort by:
      - latest created
      - latest modified
      - most visited
      - most feedback
      Change-Id: I382101dc4b226555876fbd42ccd97a0bae77d155
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
    • Tobias Zeuch's avatar
      New plugin as user-message system to multiple recipients · b7606a0a
      Tobias Zeuch authored
      Bug 1246702: This is a plugin that replaces the current user notifications with a
      message system for multiple recipients.
      - The plugin redirects calls to sendmessage.php and inbox.php.
      - New Usermessages are stored in a separate table from the userrelation, where there
        is also kept track of whether the notification has been read or deleted.
      - Messages aren't deleted from the database, until all participantas (sender and all
        recievers) delete it.
      - The plugin comes with an outbox that shows messages that have been sent by the
        logged in user.
      - Both inbox and outbox show new messages and old messages alike.
      Note that the code is at pre-release state:
      The message-count per user is kept up to date with database-triggers, as is done for
      the old system.
      For this new system, you might not want to install it on a productive system or it
      might mess up your message count when you deactivate the plugin.
      Change-Id: I586af86266b5fb0e2d676bd1401b7d879d0122ef
      Signed-off-by: default avatarTobias Zeuch <tobias.zeuch@kic-innoenergy.com>
    • Son Nguyen's avatar
      Separate the upload instruction from file description (Bug #1296961) · 07873654
      Son Nguyen authored
      Only display upload instruction if users can edit files
      Change-Id: If70302d9948e04e11a122d6a0fa08b50e69b82d5
      Signed-off-by: default avatarSon Nguyen <son.nguyen@catalyst.net.nz>
    • 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>
    • Robert Lyon's avatar
  11. 23 Jul, 2014 3 commits
  12. 22 Jul, 2014 4 commits
  13. 21 Jul, 2014 4 commits