- 10 Feb, 2012 1 commit
-
-
Christopher Tombleson authored
If aspell is found on the system use it for spellchecking. Otherwise use GoogleSpell. Bug#812030 Also renamed the error() function in htdocs/js/tinymce/plugins/spellchecker/includes/general.php to mceError() because it conflicts with the mahara defined error() function. Change-Id: I71f17cb29c7dfcd5ea9731c2c1b8e2a64fcc46ef Signed-off-by:
Christopher Tombleson <christopher@catalyst.net.nz>
-
- 01 Dec, 2011 1 commit
-
-
Richard Mansfield authored
Sometimes it is useful for a site which has multiple themes in use to be able to add a custom template (for example, a custom sideblock) that appears in all themes, including the core themes and the raw theme. This patch adds local/theme/templates/ to the template search path, as a fallback for when a template is not found in any of the theme directories. It is usually possible to achieve the same thing by putting the custom template in the raw theme, but it is cleaner to keep them outside the raw theme, and custom themes should not be required to inherit from raw anyway. Change-Id: I4f188ae3985741183d1c04f71c6c42e3ca4675cf Signed-off-by:
Richard Mansfield <richard.mansfield@catalyst.net.nz>
-
- 21 Nov, 2011 1 commit
-
-
Richard Mansfield authored
The submenu under settings in not usable with drop-down navigation, because there's no top-level item for it to hang from. This patch changes it to group-style tabs within the page when drop-down navigation is configured. Just creating a link from the inbox to the notification prefs is not sufficient because plugins can now hook into the right menu (see bug #834171). Change-Id: I7cd6009ed77d5795a9a6880e64d90f8742e47f92 Signed-off-by:
Richard Mansfield <richard.mansfield@catalyst.net.nz>
-
- 17 Nov, 2011 2 commits
-
-
Melissa Draper authored
Forum email subjects are unwieldy so move forum name and group name to custom headers so users can filter as well as have a more concise subject line. Values in headers trimmed to 100 char based on information at http://stackoverflow.com/questions/2721605/maximum-size-of-email-x-headers Change-Id: Iad9c7c3101ff81f19f3beafbe1811f28f3d3faa5 Signed-off-by:
Melissa Draper <melissa@catalyst.net.nz>
-
Richard Mansfield authored
This has been already been done for the main and admin menus. Change-Id: Iaf11a273e0e3b9c64b9a81ea2413053be389c079 Signed-off-by:
Richard Mansfield <richard.mansfield@catalyst.net.nz>
-
- 07 Nov, 2011 1 commit
-
-
Richard Mansfield authored
The $dying variable mentioned in the comment being deleted in this patch is not necessary because checking the value of $group stops a 2nd exception being thrown. The return value of group_current_group is only checked in the smarty function to stop a "Trying to get property of non-object" warning from being logged. Change-Id: Ic78458bbe6ebe52fc4cb82cc661949d97ed450b4 Signed-off-by:
Richard Mansfield <richard.mansfield@catalyst.net.nz>
-
- 01 Nov, 2011 1 commit
-
-
Melissa Draper authored
URLs should be checked before use to prevent misbehaviour. This patch adds a function for that purpose. None of these fixes are believed to be exploitable. Change-Id: Idaf8da739c344b925c7ea3644591a230589eb6e3 Signed-off-by:
Melissa Draper <melissa@catalyst.net.nz>
-
- 12 Oct, 2011 1 commit
-
-
Hugh Davenport authored
Bug #872619 Regression from 79810c3d Basically, a default parameter of null was given, then trim was called, which made it into the string '' which then failed the test is_null in the files it was used. This reorders the functions so that the trim is called after the test to see whether the default should be used. This means that the default value is never trimmed, and can be null. One exception to this, is the param_boolean which doesn't test to see whether it is the default that is returned, so a check is made first to see whether it is null. Change-Id: I66d7253a8414dec7eb3ea67ebd363ea068a32012 Signed-off-by:
Hugh Davenport <hugh@catalyst.net.nz>
-
- 07 Oct, 2011 1 commit
-
-
Francois Marier authored
Thanks to Melissa Newman for the fix. Change-Id: Ied9197dd0e95df388e741af807ef498aeb85a102 Signed-off-by:
Francois Marier <francois@catalyst.net.nz>
-
- 04 Oct, 2011 1 commit
-
-
Francois Marier authored
Thanks to Melissa Newman for the solution! Change-Id: Icc8f03e7b5a69f653ed37cd00db148e092de8ed3 Signed-off-by:
Francois Marier <francois@catalyst.net.nz>
-
- 14 Sep, 2011 1 commit
-
-
Richard Mansfield authored
Change-Id: I935c40be12aeab914f64a60b18b579dd2140ca23 Signed-off-by:
Richard Mansfield <richard.mansfield@catalyst.net.nz>
-
- 13 Sep, 2011 1 commit
-
-
Andrew Robert Nicols authored
This set of changes attempts to handle missing plugins in a better fashion. Rather than throwing an uncaught error which causes a unrecoverable site error, which in turn means that no user can use any other plugin; this patch disables the problem plugin and informs administrators of the issue. To handle the case where core plugins, which under normal circumstances cannot be disabled, are missing and disabled; the plugins.tpl template is also changed to test for the contents of the activateform, instead of whether the plugin can ordinarily be disabled. This means that if the issue is then fixed, the plugin can once again be re-enabled, at which point the [ hide ] link will no longer appear. Change-Id: I6f9fa73ae0ac307b5f5f8f30b8205690926f54fc Signed-off-by:
Andrew Robert Nicols <andrew.nicols@luns.net.uk>
-
- 12 Sep, 2011 1 commit
-
-
Francois Marier authored
This partly reverts commit b8ff08c6 which was done to fix bug #829674. The is_https() function should only be used when checking for the presence of https in the wwwroot. Change-Id: Ifeec5422e26b8a7205baf2816a99c7a77b33b933 Signed-off-by:
Francois Marier <francois@catalyst.net.nz>
-
- 09 Sep, 2011 1 commit
-
-
Richard Mansfield authored
Change-Id: Iedcfc7dac246e7a64025a61a7830feafea7fa71a Signed-off-by:
Richard Mansfield <richard.mansfield@catalyst.net.nz>
-
- 02 Sep, 2011 1 commit
-
-
Melissa Draper authored
As per Francois' comment in the bug https://bugs.launchpad.net/mahara/+bug/829674/comments/1 Change-Id: I03d99dbc93ea57d16240d0904c6bd670534f82b5 Signed-off-by:
Melissa Draper <melissa@catalyst.net.nz>
-
- 01 Sep, 2011 1 commit
-
-
Ruslan Kabalin authored
This replaces the template form with a pieform. Due to pieform name convention, the css style for 'language-select' has been renamed to 'languageselect'. Change-Id: Ifd1aae9a81d7900113452b277199219998a4d80f Signed-off-by:
Ruslan Kabalin <ruslan.kabalin@luns.net.uk>
-
- 31 Aug, 2011 1 commit
-
-
Hugh Davenport authored
bug #838429 Basically param_... functions don't check for trailing whitespace This patch fixes this by trimming the value after it retrieves it. Also, the param_integer_list function says in the comment it allows optional whitespace, but the regex expression used doesn't allow it. This patch fixes that. Also, the param_signed_integer function didn't check on the entire value and you could have a value like "ab+10cd". This patch alters the regex to capture the start and end of string ^ and $ Change-Id: Ic26cc257f0057b6b686fc8c2e3c789610e055507 Signed-off-by:
Hugh Davenport <hugh@catalyst.net.nz>
-
- 25 Aug, 2011 1 commit
-
-
Piers Harding authored
Add hooks so that plugins can update menu structure via Plugin*::menu_items() and local_right_nav_update() Change-Id: I051e5e611b1d0a6b9a169fbf2f5a782c789dc93d Signed-off-by:
Piers Harding <piers@catalyst.net.nz>
-
- 23 Aug, 2011 1 commit
-
-
Carson Tam authored
Allow administrators to provide their own links for the following links in the footer: terms.php privacy.php about.php contact.php Signed-off-by:
Carson Tam <carson.tam@ucsf.edu> Change-Id: I90d2eba97bede9eca55799b1af21ae11cb4444e9
-
- 03 Aug, 2011 1 commit
-
-
Stacey Walker authored
Change-Id: I79da24132558efb3a26927d1b3370255a3d8610d Signed-off-by:
Stacey Walker <stacey@catalyst-eu.net>
-
- 31 Jul, 2011 1 commit
-
-
Hugh Davenport authored
Before it checked if the value was empty, which is true when the value is 0. If this was the case, set it as default to 2 This patch checks instead if it is set, and only then sets the default of 2. This allows you to select the option 0 (None) Also makes sure that the online users block is not shown when there are no users to display (ie, all institutions that the user is in have None selected) Change-Id: Ib168d9796484dacbb8d58d111127c9bf21069a59 Signed-off-by:
Hugh Davenport <hugh@catalyst.net.nz>
-
- 29 Jul, 2011 1 commit
-
-
Richard Mansfield authored
If Mahara doesn't have a tinymce translation for the current language, it doesn't load tinymce at all, so check that a file exists before setting the tinymce language. Change-Id: I14e225b24e591ae51467ee0e4ecdee1257fb7a26 Signed-off-by:
Richard Mansfield <richard.mansfield@catalyst.net.nz>
-
- 27 Jul, 2011 1 commit
-
-
Richard Mansfield authored
Allows extra stylesheets to be passed to the $THEME object when it's created, and displays those extra stylesheets last in the header. Change-Id: Iaded4c73fe1904489736e6be762705b0fbb64633 Signed-off-by:
Richard Mansfield <richard.mansfield@catalyst.net.nz>
-
- 25 Jul, 2011 2 commits
-
-
Richard Mansfield authored
Change-Id: I9f8b6e8fca9fd1b1f3f89aa1c4057c3f27ca587a Signed-off-by:
Richard Mansfield <richard.mansfield@catalyst.net.nz>
-
Richard Mansfield authored
Both these pages had the same key in the navigation array, so it wasn't possible to highlight one and not the other. Change-Id: I86f59084f6e7e96a76125915643addc5915c736f Signed-off-by:
Richard Mansfield <richard.mansfield@catalyst.net.nz>
-
- 20 Jul, 2011 1 commit
-
-
Eugene Venter authored
Bug #812113 Implement new parameter options: * Number of page jump links * Number of adjacent page links to current page (per side) Change-Id: I0e6975969bf15f3df5c2206093e2fc3ab0dbb3df Signed-off-by:
Eugene Venter <eugene@catalyst.net.nz>
-
- 13 Jul, 2011 1 commit
-
-
Eugene Venter authored
Bug #697843 Add additional page jump links between first- and current-, and current- and last page links. These links will appear as necessary/applicable and is scalable. Change-Id: Ib5ece5d78832ccaab0fa5b4433a7eafbff103772 Signed-off-by:
Eugene Venter <eugene@catalyst.net.nz>
-
- 05 Jul, 2011 1 commit
-
-
Richard Mansfield authored
Bug #805780 When a user's institutions are loaded, fetch the institution logos. When choosing which of the user's institutions determines their theme, ensure the same institution determines the replacement logo. Finally, if the page theme to be displayed is determined by the user, use the user's header logo in the header template. Change-Id: I710d6ff727d90276fc5008b179c60700f4499ccc Signed-off-by:
Richard Mansfield <richard.mansfield@catalyst.net.nz>
-
- 04 Jul, 2011 1 commit
-
-
Hugh Davenport authored
You can now use the web API server for groups to update group members by uploading a CSV file to update membership The new page is below, and gives all the details about the format /admin/groups/uploadmemberscsv.php Change-Id: I0351b21a933646d7e528852680f457ac6ea93596 Signed-off-by:
Hugh Davenport <hugh@catalyst.net.nz>
-
- 01 Jul, 2011 1 commit
-
-
Hugh Davenport authored
You can now use the web API service for groups to upload a CSV file to create and update groups The new page is below, and gives all the details about the format /admin/groups/uploadcsv.php Bug #547688 Change-Id: Ic116c836e607ae3d1f6c0f67bbbf1f9c119828a8 Signed-off-by:
Hugh Davenport <hugh@catalyst.net.nz>
-
- 30 Jun, 2011 1 commit
-
-
Mikael Mrozik authored
The pager was displayed erroneously when the total number of items was equal to the limit per page Change-Id: I93f01f7a3a3b80a46487a35aaf232680a4e67752 Signed-off-by:
Mikael Mrozik <mikael@catalyst.net.nz>
-
- 27 Jun, 2011 1 commit
-
-
Stacey Walker authored
bug #801081 Change-Id: I88f594d2c5dcf7d42aa17d069adb2eb59d9a69e1 Signed-off-by:
Stacey Walker <stacey@catalyst-eu.net> Signed-off-by:
Paul Walker <paul.walker@catalyst-eu.net>
-
- 24 Jun, 2011 1 commit
-
-
Darryl Hamilton authored
There is now a new option in the settings for an institution to confirm registrations. When this is set, a new user admitting themselves to an institution is required to complete an extra step during registration, where they must provide a "reason" for their registration. After email verification the user must wait until an administrator approves or denies their registration before they can properly access the site. For the administrator, this is done via a new admin page under Institutions, called "Pending Registrations". Change-Id: I2bd68e39a9f4ef89f350ac573d8232f342de6fdc Author: Stacey Walker <stacey@catalyst-eu.net> Signed-off-by:
Brett Wilkins <brett@catalyst.net.nz> Signed-off-by:
Darryl Hamilton <darrylh@catalyst.net.nz>
-
- 21 Jun, 2011 2 commits
-
-
Richard Mansfield authored
Calling the plugin menu_items() functions outside the mahara_standard_nav function allows artefact and interaction plugins to add items to the admin menus. Change-Id: I8109310b885f46f011ae66ac0aed05f96d0aba42 Signed-off-by:
Richard Mansfield <richard.mansfield@catalyst.net.nz>
-
Richard Mansfield authored
This makes it easier to delete & change the order of menu items inside the local_main_nav_update function. Change-Id: I067ac615346b7af810b132c538ae9624c2383273 Signed-off-by:
Richard Mansfield <richard.mansfield@catalyst.net.nz>
-
- 10 Jun, 2011 1 commit
-
-
Ruslan Kabalin authored
When limit is set to 0, all possible comments should be displayed. Change-Id: I09f29b940bbe1d7d580f21862d4862e74c0ecf08 Signed-off-by:
Ruslan Kabalin <ruslan.kabalin@luns.net.uk>
-
- 04 Jun, 2011 1 commit
-
-
Francois Marier authored
The auto-resize plugin is currently broken in Chrome: http://tinymce.moxiecode.com/develop/bugtracker_view.php?id=4416 This effectively reverts 5525cb60 and reopens bug #530656. Change-Id: I2729dec02247ea1eb3d5d10f9a4f4a8bf93f1b52 Signed-off-by:
Francois Marier <francois@catalyst.net.nz>
-
- 13 May, 2011 1 commit
-
-
Francois Marier authored
These closing tags are unnecessary and against our coding guidelines. Let's get rid of them all in one go. Change-Id: Ia94f103e525185597ee3780a3839d7577cdd0c29 Signed-off-by:
Francois Marier <francois@catalyst.net.nz>
-
- 11 May, 2011 1 commit
-
-
Richard Mansfield authored
The perf_to_log() call was missing in several places, such as when serving files from download.php & thumb.php, redirects, and many ajax scripts not using json_reply(). Change-Id: I64df2d3351320a0767a6fad6525b803aa3980fad Signed-off-by:
Richard Mansfield <richard.mansfield@catalyst.net.nz>
-
- 04 May, 2011 1 commit
-
-
Darryl Hamilton authored
Change-Id: Ie9c30ba257f6bd245582893a5b86f823653a90b4 Signed-off-by:
Darryl Hamilton <darrylh@catalyst.net.nz>
-