- 01 Sep, 2014 1 commit
-
-
Robert Lyon authored
To be more like the validate_config_options() call and so allow for something other than the generic success message. Change-Id: I36a6fec227c525776b58fd29c1548fb30b62a92c Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
- 07 Aug, 2014 1 commit
-
-
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:
Nigel Cunningham <nigelc@catalyst-au.net>
-
- 24 Jul, 2014 1 commit
-
-
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 <robertl@catalyst.net.nz>
-
- 21 Jul, 2014 1 commit
-
-
Aaron Wells authored
Bug 1337547 Change-Id: Idad2fa23d7f30300ed2d602ce2325e0560d7d831 Signed-off-by:
Ghada El-Zoghbi <ghada@catalyst-au.net>
-
- 16 Jul, 2014 1 commit
-
-
Robert Lyon authored
A popup alert containing the name of the page(s) that have changed permissions. If an added page has a permssion that the parent doesn't then the alert will contain the names of the existing pages in the collection as well because their access permissions will have also changed. Change-Id: If7391427ab2b358ebcf85a3292282ab5075ffbe4 Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
- 01 Jul, 2014 2 commits
-
-
Old format: $CFG->plugin->blocktype->clippy->agent = 'merlin'; New format: $CFG->plugin_blocktype_clippy_agent = 'merlin'; The old format caused a strict standards warning. Change-Id: I8ae2735ea3d3df913c0527bae7771e6f01dc82ca
-
Son Nguyen authored
- Add function comment, - Make it compatible to old calls - Sort the list out of the queries to reduce the MYSQL queries - Set the sort default value when displaying the my group side bar Change-Id: I50decadcebe8a5cb38706809d70a784e6694c46d Signed-off-by:
Son Nguyen <son.nguyen@catalyst.net.nz>
-
- 30 Jun, 2014 1 commit
-
-
Bug 547932: The module bootstrap code relies on the existence of the module_installed table, which isn't present until after you upgrade. Change-Id: I34075dec8e4d8671b71b3023774b44343a5d50ca
-
- 24 Jun, 2014 1 commit
-
-
Robert Lyon authored
Using the settings that the user has in their account settings. Also fixing up group_get_user_groups() so that it can return count before any limiting is applied. Change-Id: I66318b9d739530b121e5a14928326ef4bdf2f880 Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
- 17 Jun, 2014 1 commit
-
-
Son Nguyen authored
Bug #1326174 Change-Id: I2ff391b74533092b9c2e0aeaa8a34ed5059d1119 Signed-off-by:
Son Nguyen <son.nguyen@catalyst.net.nz>
-
- 16 Jun, 2014 1 commit
-
-
Valerii Kuznetsov authored
Change-Id: I5558449a0d5c4911bfaec166d185ebd1da863f1c Signed-off-by:
Valerii Kuznetsov <valerii.kuznetsov@totaralms.com>
-
- 15 Jun, 2014 1 commit
-
-
Aaron Wells authored
Bug 1328768: A new generic plugintype for any plugins that don't fit other types Change-Id: I706241d73947805a5d3f8d623c4bc8dc0d94429b
-
- 13 Jun, 2014 1 commit
-
-
Aaron Wells authored
Bug 1328768 - Improving documentation - Adding default implementations for the *_config_options methods because that's a better means of documenting them than the function_exists() way - Fixing the save_config_options() methods in the search plugins, which should have been static. Change-Id: Ib2bf1388843824e63cf6486176e97b8f874e1116 Signed-off-by:
Yuliya Bozhko <yuliya.bozhko@totaralms.com>
-
- 12 Jun, 2014 1 commit
-
-
Aaron Wells authored
Bug 1231755 - Cleanup, documentation, and removing replicated code. - Not checking for whether the file exists. We'll just make a list of search paths and pass those through to Dwoo_Template_File, and let it determine which path has the file. - Eliminating the separate Dwoo_Template_Mahara classes for plugintypes, and moving the custom logic for how plugintypes find their template files, into the Plugin class itself. Change-Id: I877a4221323333e8e8b6c6df54062a0f8bf2b817
-
- 09 Jun, 2014 1 commit
-
-
Son Nguyen authored
Change-Id: Ic13cb97266433cc9cb0a5f95761f58a1a8a7b8c5 Signed-off-by:
Son Nguyen <son.nguyen@catalyst.net.nz>
-
- 05 Jun, 2014 1 commit
-
-
Yuliya Bozhko authored
- Created 'objectionable' table - Migrated existing objectionable records to a new table - Added is_objectionable() method to View class - Fixed can_view_view() and elasticsearch to use new table - Fixed artefact.tpl style to match view page when displaying "Not objectionable" form - Make forum reports use new 'objectionable' table Change-Id: Ib3759e86c4003216ad57f3cf68911b13e50e9c67 Signed-off-by:
Yuliya Bozhko <yuliya.bozhko@totaralms.com>
-
- 04 Jun, 2014 2 commits
-
-
Aaron Wells authored
As vetted in the May 2014 dev meeting http://meetbot.mahara.org/mahara-dev/2014/mahara-dev.2014-05-01-08.01.log.html Change-Id: I353ed74d69a5346fbe4e8e521e5c349dbe8dcbac
-
Nathan Lewis authored
Change-Id: I44bb7b53dda86fd25b799c90645c6bfadf05ce2b Signed-off-by:
Nathan Lewis <nathan.lewis@totaralms.com>
-
- 27 May, 2014 1 commit
-
-
Robert Lyon authored
- Also includes fix to show profile tagged blogpost in profile block with correct blog id Change-Id: I5b6a3b844ad98b8c4bdb3fc02ebc4ae12af32847 Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
- 12 May, 2014 1 commit
-
-
Robert Lyon authored
To allow for systems where the installation takes longer than their phpini max_execution_time setting. Made the changing of the limit pass thru a function for sanity checking Change-Id: I0d27d68a377c338c634f2f845829682af149d79f Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
- 09 May, 2014 1 commit
-
-
Fixes in this patch: - Moved artefact.php to artefacts directory to separate it from pages. - Fixed reference to a wrong 'artefactonlyviewableinview' string. - Removed add_to_render_path() and its calls which have no purpose at all. - Removed 'artefact_parent_cache' table. - Removed cron jobs related to 'artefact_parent_cache' from DB. - Added 'path' column in 'artefact' table to easier calculate hierarchy. - Added ArtefactTest.php for artefacts unit tests Change-Id: Ia14cd85b94c32a950354446ee3565bd2964c625c Signed-off-by:
Yuliya Bozhko <yuliya.bozhko@totaralms.com>
-
- 02 May, 2014 1 commit
-
-
Aaron Wells authored
Bug 1314460: No need to remove $locked from $progressbaritems, because the list of progressbaritems is limited by the $onlytheseplugins array, and that has already had $locked removed from it. Change-Id: Ie8418703d0333eaf2ef2ba8301ec235e4dcddd03
-
- 22 Apr, 2014 1 commit
-
-
Robert Lyon authored
Bug #1308479 Allow the same license, licensor, licensorurl help files to be accessible in block instance config form for both the 'license' section and the attachments 'license' section Change-Id: I20dc64c6d4c3cf25138c46348c2d8e5bf7a8fc94 Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
- 06 Apr, 2014 1 commit
-
-
update of the plugin. Caught exception InstallException results in the error-message being presented to the user and the plugin not being installed while the installation process continues Change-Id: Iba04bbfebe7b192409cd2e943d7449f0ec258eca Signed-off-by:
Tobias Zeuch <tobias.zeuch@kit.edu>
-
- 31 Mar, 2014 4 commits
-
-
Aaron Wells authored
Bug 1259538: We created a new artefact plugin called "social" to hold three of the profile completion tasks. But I think this is too much overhead just for that, so I'm folding them into the "internal" and "comment" plugins. (In the long run, we should probably make it possible for *any* plugin type to add progress bar tasks, and then add these as local plugins or something.) Change-Id: I7d129069325f45409be0c73dedd6ddcc3db17489
-
Bug 1259538 Change-Id: Iec129bdcd71d9dd48cfbada5cb4b106e9d4a89e3
-
Bug 1259538 Change-Id: Ifb09d2b9f9c9d4fbe3ef461c0bb12e81624c2138
-
Aaron Wells authored
Bug 1259538 Change-Id: Ia16408369a06516e4bfebe3c0d92e77c17303678
-
- 30 Mar, 2014 1 commit
-
-
Aaron Wells authored
Change-Id: I4b4b802cd0af7223ab9488e3624d02ca56d611d8
-
- 27 Mar, 2014 1 commit
-
-
- added ability for file and blogpost items that get updated via js to also update the proogess bar as well without needing page reload. -- made the system more pluggable and created a pseudo plugin called 'social' to handle the social progress bar items Change-Id: I39c83018879b4717667ad32a6aa28cf902e42137 Signed-off-by:
Gregor Anzelj <gregor.anzelj@gmail.com>
-
- 25 Mar, 2014 1 commit
-
-
Aaron Wells authored
Bug 1252101 1. New users get 2 "new user points" on their user record 2. While they have these, they're on probation and can't post links in public places, or make public pages. 3. "new user points" are decreased each time a non-probationary user responds to a forum post by the user 4. Admins & Staff are automatically non-probationary Change-Id: Ibccd2e330945f66b07aac062c4f51b67a0c0dba2
-
- 07 Mar, 2014 1 commit
-
-
Aaron Wells authored
Bug 1067724 Change-Id: Ie3f6b1136307e4c715929e94d6892e43636c7baf
-
- 03 Mar, 2014 1 commit
-
-
The only place that calls the get_view_from_token() does nothing with the output. It is left over code from version 1.2 where the token was checked to see if an anonymous user could add feedback to a view or artefact. The code changed completely in v1.3 where things like tutors came into play so I've removed the legacy old code from view/artefact.php Change-Id: Id1bf9732d87d4ac50ab2d12d1279b400d5f6ee30 Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
- 09 Feb, 2014 1 commit
-
-
Jono Mingard authored
Pieforms now adds a global error message if there are any validation errors in a form, in addition to the messages beside each element. This is modified from the existing jserrormessage Change-Id: I15b9f4238ec3e5b1e6cb7fcff0514855565f0364 Signed-off-by:
Jono Mingard <jonom@catalyst.net.nz>
-
- 14 Jan, 2014 1 commit
-
-
Aaron Wells authored
Bug 1266320 Change-Id: I24f72049f13e145f46145df2d248a02e2a3af8ba
-
- 08 Jan, 2014 2 commits
-
-
Jono Mingard authored
The get_configs_user_institutions() method used the global $CFG variable without declaring it, causing warnings when trying to set a property of it Change-Id: Id02edcf735ffc3c8a779dc787715a6ba20626af1 Signed-off-by:
Jono Mingard <jonom@catalyst.net.nz>
-
Aaron Wells authored
Bug 1264429: This patch creates the table, refactors the get_institution_config() method, the Institution class, and the institution editing page, to use the new table. Henceforth columns should only be added to the main "institution" table if they represent a required setting (like name and displayname), or they need to be accessed frequently by direct SQL queries. Change-Id: I4564240d2c55ec2b6ec90868290a61cf4321460a
-
- 07 Jan, 2014 1 commit
-
-
Robert Lyon authored
Compressing array of tags to unique case insensitive values if needed Eg array('Test','cat','test','TEST','Cat'); will become array('Test','cat'); for mysql sites that have case insensitive tables Change-Id: Idf0b8a4440ef0f9273d5be685cf7ad22fecc746a Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
- 31 Dec, 2013 1 commit
-
-
If TinyMCE is enabled/disabled in the site settings it should always be enabled/disabled for Feedback. If TinyMCE is set to User-defined, it will only be enabled if the logged-in user has enabled it in their user settings. This means it will be disabled for anonymous users and people who've turned the HTML editor off. Change-Id: I5565e69574c65296067f7883b2e66c50a8f15919 Signed-off-by:
Jono Mingard <jonom@catalyst.net.nz>
-
- 21 Nov, 2013 1 commit
-
-
Robert Lyon authored
Change-Id: Id8b24afcd7dcfc315b1f62cf70e57de289ba784f Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-