- 04 Mar, 2015 7 commits
-
-
Aaron Wells authored
-
Robert Lyon authored
-
Robert Lyon authored
-
Robert Lyon authored
Also fixed up issue where no space between class and title in tabs menu - which I noticed when searching for 'inbox' Change-Id: I47195cf52ad624d8c2adbc819bedb038ea6ad99b Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
Robert Lyon authored
-
Selenium test Change-Id: I482f221a5d4508ac10e4c2587421b675c226de76
-
Robert Lyon authored
To test - read the new instructions in the README file and try installing it on your machine and then test to make sure Mahara is not broken. Advanced test - install xhprof and make sure the use of this lib does in fact make things faster. Change-Id: Ia4aff333df7353d0aa40c771264e4c1be7d94f51 Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
- 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 3 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
-
Son Nguyen authored
- Add new method PluginBlocktype::rewrite_blockinstance_extra_config() which enables blocktype to rewrite extra configuration when copying block - Implement rewrite_blockinstance_extra_config() for PluginBlocktypeText to rewrite embedded image urls in the text block - Rename the method rewrite_artefact_ids() to rewrite_blockinstance_config() and add new code to allow blocktype plugins rewrite extra config when import - Add new method PluginBlocktype::import_rewrite_blockinstance_extra_config_leap() - Implement PluginBlocktypeText::import_rewrite_blockinstance_extra_config_leap() to rewrite embedded image urls in configdata['text'] Change-Id: Id5163817c676fb118edea02d152b7797111cb99f
-
- 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 9 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
-