- 05 Mar, 2015 1 commit
-
-
Aaron Wells authored
Bug 1427898 Change-Id: Ic87a374054e140d36c7f667227a41fbdea043139
-
- 03 Mar, 2015 7 commits
-
-
Aaron Wells authored
-
Robert Lyon authored
-
Aaron Wells authored
-
Robert Lyon authored
Bug #1427845 the ids are in the form of: editaccess_{id of view} secreturl_{id of view} eg for view id=10 it will be editaccess_10 and secreturl_10 Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz> Change-Id: I9b86a39db9a56d295d659203a9c8c1b4b4ba5e5e
-
Nigel Cunningham authored
This patch adds a JSON progress meter (I'll call it that to avoid confusion with progress bars) to the bulk uploading of users, groups and group memberships and the bulk export and import of users (LEAP), so the user can see the progress of the operation and not just the submit button changed to 'Processing..' and whatever indication their browser gives while waiting for content. The bulk export and import are minor rewrites, replacing the old iframe based progress bar and the associated multiple pages and additional template file in the case of the bulk export, and the recursive redirect-to-self of the bulk import. To accomplish the display of the progress bar during the operation, we make the PHP session be closed (read only) except when changes need to be made. This is for the most part a straightforward change in session.php as it's the only direct accessor. In other places, we replace direct accessing of the session variable ($_SESSION) with use of the session class ($SESSION) so that it can reopen the session, make the change and close the session again. There is one more aspect to all of this: with previous behaviour, multiple requests for the same session would queue, taking the session lock in turn. After this patch is applied, they can proceed in parallel, allowing greater throughput. There is no additional locking requirement because the issues are the same as those already dealt with in allowing multiple PHP threads to process requests from different sessions at the same time. I have sought to make the progress meter nice and generic, so it can be used in the other bulk imports and exports too. Paradoxically, these changes don't just make the import seem to be faster, it actually is.. at least in the case of users and groups. Times for importing 1000 users, groups and memberships, averaged over 3 runs each (Wall time, not CPU time - but the relationship is the same). Without Progress With Progress Users 166s 155s Groups 85s 78s Memberships 20s 19s Change-Id: Iec15c57db32c77994edb80c71d65591de51a95e4 Signed-off-by:
Nigel Cunningham <nigelc@catalyst-au.net>
-
Son Nguyen authored
-
Son Nguyen authored
-
- 02 Mar, 2015 5 commits
-
-
Aaron Barnes authored
This is a speedup for composer, as it's a bottleneck when switching between patches frequently. Change-Id: I2e4ab20d238671be3fe4c2a9be79b7def16a37d2
-
Robert Lyon authored
-
Eduardo Schicker authored
Change-Id: I1385d6e7566987daee05bdbd7963c21659261b69 Signed-off-by:
Jinelle Foley-Barnes <jinelleb@catalyst.net.nz>
-
Son Nguyen authored
-
Jinelle Foley-Barnes authored
Change-Id: I3ecae7f14e5d71ef0f0f5f4a508fc20b92338ca2
-
- 01 Mar, 2015 2 commits
-
-
Peter Hough authored
Change-Id: Ia2355da8bee087659c068d30e0776c6010daa701
-
Son Nguyen authored
-
- 27 Feb, 2015 2 commits
-
-
Robert Lyon authored
-
Son Nguyen authored
As changing the page limit will update the page using ajax, we need to add this step to make sure the page is completely loaded before checking its content. Change-Id: Ie3750d2870ccaa5c5e9e467d9316e76f84fedfed
-
- 26 Feb, 2015 7 commits
-
-
1. Note blocktype: lang string 'title1' is causing issues with the admin/stats/pages. It is expecting 'title'. 2. Resume blocktype: same as above. Change-Id: I4967d13405031303d25e6728baaccb9eb4d0443f
-
Aaron Wells authored
Bug 1415711 Change-Id: Ia8ec1085df32cf7453ac0f669dca1a926f8f5efc
-
Robert Lyon authored
The wall post form fails to work when block loaded via ajax Change-Id: Ic0414ab7b69ee821815162b749217cb377950d20 Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
Robert Lyon authored
-
aceMa authored
I've taken what aceMa provided in bug report and made it a replacement for the square thumbs option rather than a new option as we don't need two square thumb options. I've tweaked it a bit more and hopefully have got the padding/ratio stuff more consistent and not using hardcoded numbers so much And getting it to show descriptions/captions below frame Change-Id: Iafc0ec8a8132d1bef5401b3ebd49e3df013fddc3 Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
Son Nguyen authored
Using the path column to avoid recursive queries Change-Id: I51eab6ce248c5f0d199487d85d9a56f8ffa3e001
-
Robert Lyon authored
And getting it to work in a block configuration form - see the image block's configuration form Includes reverting these commits db7f4520 9e0c498c and altering this commit to not use the switchbutton jquery plugin 901df0a5 Change-Id: I818c296cdcf573ede63b1783defb1b528d93ae2d Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
- 25 Feb, 2015 10 commits
-
-
Robert Lyon authored
-
Robert Lyon authored
-
Son Nguyen authored
This will update - the block content which have links to these embedded images - the tables 'artefact_file_embedded' and 'view_artefact' in database Change-Id: I7b97e0828fd89609f9bd43e786c5ff5ad3e53156 Signed-off-by:
Son Nguyen <son.nguyen@catalyst.net.nz>
-
Robert Lyon authored
-
Son Nguyen authored
Change-Id: I9c615da0e7efad927a42874676e1e6cde777c61f
-
Robert Lyon authored
-
Creating groups with various controlled selttings and deleting them Change-Id: I48700b43e0b8f7a72967b2a37993e2e55e141bf0 Signed-off-by:
Jinelle Foley-Barnes <jinelleb@catalyst.net.nz>
-
Eduardo Schicker authored
Adds user to an institution and changes their passwords Change-Id: I85d20224ccf6083b613b2ffd9f017d2d09961bb5 Signed-off-by:
Jinelle Foley-Barnes <jinelleb@catalyst.net.nz>
-
Jinelle Foley-Barnes authored
Change-Id: I4caa043904528a7dbff350700d49a9e0defebb1d
-
Doris Tam authored
Bug 1411070 Change-Id: Ifbe0c62f15a5f8763a14222d9c6bfc409c687db3
-
- 24 Feb, 2015 6 commits
-
-
Yuliya Bozhko authored
Change-Id: I4536536d254d9dc85c9eb8405bd6ab61c0ae26e9 Signed-off-by:
Yuliya Bozhko <yuliya.bozhko@totaralms.com>
-
Robert Lyon authored
As we add the date/time of the archive to the file name there is no need to put it in a subdir named by date/time. Change-Id: I8446c5f410e8502e4ab97802da0438ff428e0c32 Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
Son Nguyen authored
-
Son Nguyen authored
Change-Id: I123eb6c35cd5d1242b4e25806ec86d0ae3f4fa98
-
Son Nguyen authored
Bug 1422498 Change-Id: I3eec78722856eaac9d492cf93eaff7f39520ce94
-
Robert Lyon authored
Change-Id: Ia8fd368cec87709f14609c5aeb8259d88feeefab Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-