- 12 Jan, 2012 1 commit
-
-
Richard Mansfield authored
This commit changes a couple of places where it's possible to check for installed plugins using plugins_installed() instead of a new db query. Change-Id: I3e769a0858d8db776bf7d8e14102c49b5b9f7b07 Signed-off-by:
Richard Mansfield <richard.mansfield@catalyst.net.nz>
-
- 05 Jan, 2012 1 commit
-
-
Richard Mansfield authored
Trying to set this option fails when an open_basedir restriction is in effect. This patch also checks open_basedir and adds a warning to the admin area, and in the sanity check for an unwritable dataroot, the open_basedir directories are listed on the screen as a hint for installation. Change-Id: Ic394517f436955b038f321b06011b818d4967026 Signed-off-by:
Richard Mansfield <richard.mansfield@catalyst.net.nz>
-
- 20 Dec, 2011 1 commit
-
-
Iñaki Arenaza authored
Change-Id: I2924716222817fc60e2358354866c591900fd03d Signed-off-by:
Iñaki Arenaza <iarenaza@mondragon.edu>
-
- 12 Dec, 2011 1 commit
-
-
Richard Mansfield authored
Allows language packs to specify an array of strings (one for each plural form in the language) instead of a single string. The first of the variable (sprintf) arguments is assumed to be the number we need to check to choose a plural form. This argument is passed into a language-specific function defined in langconfig.php, which returns the appropriate plural form based on a formula. A similar scheme is used for strings formatted by the javascript get_string function in mahara.js. See http://www.gnu.org/s/hello/manual/gettext/Plural-forms.html Change-Id: Ifb58ac4f1e13a54edbc57e5c0a9faaf8454e53a4 Signed-off-by:
Richard Mansfield <richard.mansfield@catalyst.net.nz>
-
- 30 Nov, 2011 1 commit
-
-
Richard Mansfield authored
Change-Id: Ia16d7f3e59409838685d5ebee813f83e1f62468f Signed-off-by:
Richard Mansfield <richard.mansfield@catalyst.net.nz>
-
- 18 Nov, 2011 1 commit
-
-
Melissa Draper authored
There are several places in the code where we make directories for stuff, both in the filesystem and in the artefacts table. If they have trailing spaces, then this can mess up users html exports etc. This patch should make exports safe for existing folders with whitespace at the end, and prevent new folders from from being made with the problem. Change-Id: Ia593f7f773e5ffe91ce74e8a736074b1fe1026b2 Signed-off-by:
Melissa Draper <melissa@catalyst.net.nz>
-
- 17 Nov, 2011 1 commit
-
-
Richard Mansfield authored
This has been unnecessary for some time now, because the same count appears next to the envelope in the top right of the header. Change-Id: I14581f8edff19ee5111eba4ff4ec8f564ad2443a Signed-off-by:
Richard Mansfield <richard.mansfield@catalyst.net.nz>
-
- 14 Nov, 2011 1 commit
-
-
Hugh Davenport authored
Change-Id: I35d399d828d99dc3159928d7f19ba15b4a702916 Signed-off-by:
Hugh Davenport <hugh@catalyst.net.nz>
-
- 11 Nov, 2011 1 commit
-
-
Francois Marier authored
This will standardize the way that Mahara sanitizes these personal details. PHPMailer is no longer necessary since in PHP 5.2, it's just a call to filter_var(). Change-Id: I151fe4f91c9731cfa24b5a6e9d0cebeabfcd1a77 Signed-off-by:
Francois Marier <francois@catalyst.net.nz>
-
- 08 Nov, 2011 2 commits
-
-
Richard Mansfield authored
When a plugin config value has not been set, multiple calls to get_config_plugin always trigger a db query. But if it's already queried once and found a null result, it should remember that for next time. Change-Id: Id955e0953131b83eba4e36face26bfb4ef828d26 Signed-off-by:
Richard Mansfield <richard.mansfield@catalyst.net.nz>
-
Richard Mansfield authored
get_config_plugin only pulls in records from the given plugin, but it might as well read the entire (tiny) table, so that for example the following two calls result in one query rather than two: get_plugin_config('artefact', 'internal', 'profilemandatory') get_plugin_config('artefact', 'file', 'defaultquota') Change-Id: I28d74179330178a40d4787bdb9e8e4ed1e0a0e60 Signed-off-by:
Richard Mansfield <richard.mansfield@catalyst.net.nz>
-
- 09 Oct, 2011 1 commit
-
-
Andrew Robert Nicols authored
Change-Id: I2aaf8068fac96725caee93e01b787f13ff8585eb Signed-off-by:
Andrew Robert Nicols <andrew.nicols@luns.net.uk>
-
- 15 Sep, 2011 1 commit
-
-
Andrew Robert Nicols authored
Change-Id: I9c301ebb8f6662cb3f7359360d66c91d9c5ade0b Signed-off-by:
Andrew Robert Nicols <andrew.nicols@luns.net.uk>
-
- 13 Sep, 2011 2 commits
-
-
Andrew Robert Nicols authored
This commit adds a Command Line Interface install and upgrade mechanism. This should provide for unattended installations and upgrades. Change-Id: I7eaff22f76e30345102405b302bb12fdbd897d4c Signed-off-by:
Andrew Robert Nicols <andrew.nicols@luns.net.uk>
-
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>
-
- 24 Aug, 2011 1 commit
-
-
Eugene Venter authored
Part of bug #807278 Enable the ability for users to share their views/collections with the institutions they are members of. Change-Id: Id647672141610cced579dbf199690292a249e7b7 Signed-off-by:
Eugene Venter <eugene@catalyst.net.nz>
-
- 22 Aug, 2011 1 commit
-
-
Eugene Venter authored
Bug #809058 If the site is running https, embed external videos and google apps over https where possible. Change-Id: Id1d4b66c1f04587d4864126c2e58d2167e45fe70 Signed-off-by:
Eugene Venter <eugene@catalyst.net.nz>
-
- 08 Aug, 2011 1 commit
-
-
Hugh Davenport authored
Change-Id: I660591652a9039aa0ac91d74e9ba205cda95b2b6 Signed-off-by:
Hugh Davenport <hugh@catalyst.net.nz>
-
- 02 Aug, 2011 2 commits
-
-
Hugh Davenport authored
Add a recalculate_group_quota function in the same way existing quotas do it This allows other plugins to add to the quota as well. Change-Id: I781c1c421ae13fb0950b29d7beec86d256c24d86 Signed-off-by:
Hugh Davenport <hugh@catalyst.net.nz>
-
Hugh Davenport authored
Happens when all the users institutions have selected at most Institution only for displaying online users. If a user was in more than one institution as another user, then the user was displayed twice (or multiple times) This patch adds a DISTINCT condition to the select statement, which only displays the users once Bug #794368 Change-Id: I106072cf2063d889fc6451ff57ee1d2dd94ebb67 Signed-off-by:
Hugh Davenport <hugh@catalyst.net.nz>
-
- 27 Jul, 2011 2 commits
-
-
Richard Mansfield authored
This is more accurate than 'Site Default'. When there's no page theme, users looking at the page don't necessarily see the site default theme if their institution has overridden it for them. Change-Id: I60e2de14b5812c4ceef6b017c7636d3e9454bc85 Signed-off-by:
Richard Mansfield <richard.mansfield@catalyst.net.nz>
-
Richard Mansfield authored
Change-Id: I17c441f10b40152a314284205d45ef9b92babfc0 Signed-off-by:
Richard Mansfield <richard.mansfield@catalyst.net.nz>
-
- 20 Jul, 2011 1 commit
-
-
Eugene Venter authored
Bug #812113 Added 'jumplinks' and 'numbersincludeprevnext' options to some views. Change-Id: I7bf296a11c16191369d11983c75e1252df315709 Signed-off-by:
Eugene Venter <eugene@catalyst.net.nz>
-
- 01 Jul, 2011 1 commit
-
-
Andrew Robert Nicols authored
See bug #803955 This does mean that $OVERRIDDEN will also get a list of database fields and plugins, but I think that more fields, is better than too few. Change-Id: I3fef6277484e48d5ec4c1609fbe1178f976333f6 Signed-off-by:
Andrew Robert Nicols <andrew.nicols@luns.net.uk>
-
- 30 Jun, 2011 1 commit
-
-
Chris Wharton authored
Bug #801082 Change-Id: I2bfafb56a9b9ce0af8b4f5d13d69c88cc51d9a78 Signed-off-by:
Chris Wharton <chrisw@catalyst.net.nz>
-
- 22 Jun, 2011 1 commit
-
-
Richard Mansfield authored
Logged-in user language preferences were broken in commit 9ca6bb55 . This change removes caching on the session and config languages, which are quick to retrieve anyway, but leaves it in place for the user language preference and locale setting. Change-Id: Ib601f2227409bbbc63d269fe079915cc0e902fc2 Signed-off-by:
Richard Mansfield <richard.mansfield@catalyst.net.nz>
-
- 16 Jun, 2011 1 commit
-
-
Darryl Hamilton authored
Bug #794385 - Implemented as a checkbox on the institution details page. This checkbox is disabled if the site wide setting is not set. Additional method on the User class that returns true if any of the institutions that the user belongs to allows public views. Change-Id: I0d58d1056efb0d84eb5ee092c4ee2db978853ce6 Signed-off-by:
Darryl Hamilton <darrylh@catalyst.net.nz>
-
- 13 Jun, 2011 2 commits
-
-
Richard Mansfield authored
Change-Id: I0aadf9e62816ea3d9df81d3e6262d5ca515c1263 Signed-off-by:
Richard Mansfield <richard.mansfield@catalyst.net.nz>
-
Hugh Davenport authored
Bug #796380 Change-Id: I79d897fd8f5588213f1b9f6e57fee8929068a53a Signed-off-by:
Hugh Davenport <hugh@catalyst.net.nz>
-
- 08 Jun, 2011 2 commits
-
-
Stacey Walker authored
bug#794368 Change-Id: I5d658b6da7591accb5680a812f8759a2384ae5ac Signed-off-by:
Stacey Walker <stacey@catalyst-eu.net>
-
Darryl Hamilton authored
Code to generate a sitemap generation code, using the sitemaps.org standard/protocol. The default generation is daily, with a full generation done on the first of the month. The full generation can also be forced by passing 'true' to the constructor. Sitemap file(s) are placed in a 'sitemaps' directory just off the docroot, with an index file placed in the docroot itself. If the 'sitemaps' directory does not exist, one will be created. More information can be found on https://wiki.mahara.org/index.php/Developer_Area/Specifications_in_Development/Sitemaps Change-Id: Ib28983ca1c3b5ff06a6e603f402460531b987067 Signed-off-by:
Darryl Hamilton <darrylh@catalyst.net.nz>
-
- 07 Jun, 2011 1 commit
-
-
Richard Mansfield authored
Because the $lang variable is declared as static in current_language(), a call to get_string in the sanity checks can set the language for the entire request, even before the site language has been read in from the config table. This ensures the language is reset immediately after config has been read. Change-Id: Ic81dfaedd70de75d93a6d38dd89915eeabcccd6e Signed-off-by:
Richard Mansfield <richard.mansfield@catalyst.net.nz>
-
- 02 Jun, 2011 1 commit
-
-
Richard Mansfield authored
Change-Id: I8dd6f820d64fe69c69eaa265e3264ff1f908bc6d Signed-off-by:
Richard Mansfield <richard.mansfield@catalyst.net.nz>
-
- 26 May, 2011 1 commit
-
-
Hugh Davenport authored
Bug #788460 Change-Id: Ib39b2d91bfa2cde4295a864e2efcbb9b9b39c709 Signed-off-by:
Hugh Davenport <hugh@catalyst.net.nz>
-
- 17 May, 2011 1 commit
-
-
Darryl Hamilton authored
Bug #781589 - This covers their profile page, and any views they have chosen to share. Change-Id: I3693e371963f40340261a8902e5bd9d709e05c15 Signed-off-by:
Darryl Hamilton <darrylh@catalyst.net.nz> Signed-off-by:
Andrew Robert Nicols <andrew.nicols@luns.net.uk>
-
- 13 May, 2011 2 commits
-
-
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>
-
Richard Mansfield authored
Remove log_environ calls for those warnings from ensure_sanity, so they don't appear on every page Move all the admin warnings into a single function Display warnings on the home page after the redirect from a successful site upgrade Change-Id: I63f732ab9c0047ed70919eb6948c4fbf5d759b4b Signed-off-by:
Richard Mansfield <richard.mansfield@catalyst.net.nz>
-
- 12 May, 2011 1 commit
-
-
Richard Mansfield authored
Change-Id: I708597dc20eaf4fe59493bd6d4d86f78de1370a2 Signed-off-by:
Richard Mansfield <richard.mansfield@catalyst.net.nz>
-
- 10 May, 2011 1 commit
-
-
Richard Mansfield authored
Change-Id: I674f7d900adf952b4c85c221fa679f68ebb3b9cb Signed-off-by:
Richard Mansfield <richard.mansfield@catalyst.net.nz>
-
- 09 May, 2011 1 commit
-
-
Richard Mansfield authored
Change-Id: I991b736a74838a17bdff25cb908e8bcba57d57ff Signed-off-by:
Richard Mansfield <richard.mansfield@catalyst.net.nz>
-