1. 15 Sep, 2014 1 commit
  2. 10 Aug, 2014 1 commit
  3. 08 Aug, 2014 2 commits
  4. 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>
  5. 31 Jul, 2014 2 commits
  6. 30 Jul, 2014 7 commits
  7. 25 Jul, 2014 1 commit
  8. 24 Jul, 2014 3 commits
    • 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
  9. 23 Jul, 2014 3 commits
  10. 22 Jul, 2014 3 commits
  11. 21 Jul, 2014 8 commits
  12. 20 Jul, 2014 1 commit
  13. 17 Jul, 2014 1 commit
  14. 16 Jul, 2014 1 commit
  15. 15 Jul, 2014 2 commits
  16. 14 Jul, 2014 2 commits