- 25 Nov, 2011 1 commit
-
-
Richard Mansfield authored
Sometimes when creating a thumbnail image, getimagesize doesn't return a value for bits per pixel on certain gifs. This creates warnings in the logs when approximating the required memory consumption, and also refuses to create the thumbnail. We can check the mimetype of the image when 'bits' is not set, and when it's a gif, just assume the maximum value (8 bpp). Change-Id: Ie4a7161f8e17fa17291448084a57fa13873e0e4a Signed-off-by:
Richard Mansfield <richard.mansfield@catalyst.net.nz>
-
- 24 Nov, 2011 2 commits
-
-
Francois Marier authored
-
Francois Marier authored
-
- 23 Nov, 2011 2 commits
-
-
Francois Marier authored
These are mostly just missing semicolons. No code changes. If you use emacs already: apt-get install js2-mode If you don't use emacs: apt-get install emacs js2-mode ;-) Change-Id: Ie81c438c673084ee9e29a950bafe628a7c3ca7d9 Signed-off-by:
Francois Marier <francois@catalyst.net.nz>
-
Francois Marier authored
-
- 22 Nov, 2011 3 commits
-
-
Francois Marier authored
-
Richard Mansfield authored
When a user has many views shared with them, the view_search query may exceed mysql's max_join_size and cause an unrecoverable error on a user's dashboard, among other places. Replacing a bunch of these outer joins with subselects fixes the issue, and in a few tests on a large postgres db, also improved performance. Change-Id: Ic3b82518e4571807ceae4747ab086eb4a9baa5db Signed-off-by:
Richard Mansfield <richard.mansfield@catalyst.net.nz>
-
Francois Marier authored
-
- 21 Nov, 2011 1 commit
-
-
Richard Mansfield authored
* changes: Add a class on each right_nav menu item Use string keys in right_nav menu array Remove unread message count from profile sideblock (bug #854403)
-
- 18 Nov, 2011 2 commits
-
-
Richard Mansfield authored
In IE, when dragging a blocktype image into the content area of the view editor, the image appears to slip underneath the white box saying "This area shows a preview of what your page will look like..." and then out the other side again. Setting the z-index property on the element containing blocktype list fixes the issue. Change-Id: I6bc28bcf790b89d7513144012e210527b8ae1710 Signed-off-by:
Richard Mansfield <richard.mansfield@catalyst.net.nz>
-
Richard Mansfield authored
When dragging a blocktype in the view editor in IE, dragging it very slowly usually causes the block to suddenly disappear, and the cursor to turn into a crossed circle. If you let go of the mouse, the blocktype image appears at the cursor, and clicking the mouse again will drop the blocktype. This can be fixed by disabling IE's default startdrag function. Change-Id: I03b3150dbdef7f59f6f638d0cc71a773df5de576 Signed-off-by:
Richard Mansfield <richard.mansfield@catalyst.net.nz>
-
- 17 Nov, 2011 6 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>
-
Francois Marier authored
-
Hugh Davenport authored
This will delete the current mnet key and regenerate a new one Bug #890583 Change-Id: Ic07fc3f2e772fc26c959cd00a74bd88da9277a92 Signed-off-by:
Hugh Davenport <hugh@catalyst.net.nz>
-
Richard Mansfield authored
This has already been done for the main menu Change-Id: I3141f2c1c43967e7ff88a5b71dce62b122182840 Signed-off-by:
Richard Mansfield <richard.mansfield@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>
-
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>
-
- 15 Nov, 2011 12 commits
-
-
Hugh Davenport authored
-
Hugh Davenport authored
-
Christopher Tombleson authored
The html filter will now parse links with underscores in them. Bug #884438 Change-Id: I117b3162b44ecb372d42454c0d64224d01f363b7 Signed-off-by:
Christopher Tombleson <christopher@catalyst.net.nz>
-
Francois Marier authored
-
Melissa Draper authored
Updating a site menu item and swapping it from an external url to a site file or vice versa was failing to create the correct type of link on account of incorrect parameters. Unfortunately this can't fix existing muddled links, as it has no way of knowing whether the url value or the file value in the database is the one to use. Change-Id: Ib8ac2da42125b020a1214b268c079f93166d2da8 Signed-off-by:
Melissa Draper <melissa@catalyst.net.nz>
-
Francois Marier authored
-
Hugh Davenport authored
Change-Id: I4f15ed916e51debc2f7a3ce75858c39b6bc09e14 Signed-off-by:
Hugh Davenport <hugh@catalyst.net.nz>
-
Hugh Davenport authored
-
Francois Marier authored
get_notifications_for_user(): a user's notifications get_groups_for_user(): the groups that a user is in get_watchlist_for_user(): the list of the pages that are on a user's watchlist To make use of this in Moodle, you need the matching local plugin: http://gitorious.org/mahara-contrib/local-mahara Change-Id: Ie81f49cc10c256bc9013ac4c87da9031c1cd1f38 Signed-off-by:
Francois Marier <francois@catalyst.net.nz>
-
Hugh Davenport authored
Bug #890528 Change-Id: Ie2197d6d77e3125247f40a16809b1f6e1dc61d6d Signed-off-by:
Hugh Davenport <hugh@catalyst.net.nz>
-
Hugh Davenport authored
-
Francois Marier authored
This is based on an OWASP recommendation and corresponds to 128 bits of entropy. https://www.owasp.org/index.php/Session_Management_Cheat_Sheet#Session_ID_Properties Change-Id: Ie47779d586c39bc339728e4772467407fac90ee4 Signed-off-by:
Francois Marier <francois@catalyst.net.nz>
-
- 14 Nov, 2011 3 commits
-
-
Richard Mansfield authored
* changes: Replace "parent folder" text in file browser with an up arrow (bug #889975) Up arrow icon for parent folder in the files area (bug #889975) Allow files to be dropped on folder names in the navigation (bug #889975) Move folder navigation below the create folder form (bug #889975)
-
Francois Marier authored
* changes: Sanitize personal details coming from LDAP server (bug #888840) Refactor firstname, lastname, email validation into functions Remove lies in comment
-
Richard Mansfield authored
Change-Id: I4738d80982c7c0679e165c8ae930c7783ea218a3 Signed-off-by:
Richard Mansfield <richard.mansfield@catalyst.net.nz>
-
- 13 Nov, 2011 4 commits
-
-
Richard Mansfield authored
Change-Id: Ica2d2736db0a0ed4f5ed635ecc1a45ecb84984e9 Signed-off-by:
Richard Mansfield <richard.mansfield@catalyst.net.nz>
-
Evonne Cheung authored
Change-Id: Ib92e18fe0d7de9e588c835a0fb7d1d690287174c Signed-off-by:
Richard Mansfield <richard.mansfield@catalyst.net.nz>
-
Richard Mansfield authored
This allows files and folders to be moved up more than one level in a single action. Change-Id: Ib0d20cf5030a127dc113e35d7690be911ddbe0ae Signed-off-by:
Richard Mansfield <richard.mansfield@catalyst.net.nz>
-
Richard Mansfield authored
Improves usability by making the navigation appear more as a heading above the list of files contained in it. Change-Id: Ibe40c6f3d65c98b4245598f0e128ec5fff2c1258 Signed-off-by:
Richard Mansfield <richard.mansfield@catalyst.net.nz>
-
- 11 Nov, 2011 4 commits
-
-
Hugh Davenport authored
-
Francois Marier authored
This prevents cookies from being stolen by tricking browsers into sending them unencrypted. Bug #843573 Change-Id: I5dfe45e3721fc85ad2d289cea59c5ad1f4eae91b Signed-off-by:
Francois Marier <francois@catalyst.net.nz>
-
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>
-
Francois Marier authored
Change-Id: Ic3571a960228078af2bd3a600c5320146f5824aa Signed-off-by:
Francois Marier <francois@catalyst.net.nz>
-