- 24 Jun, 2008 5 commits
-
-
Nigel McNie authored
This is quite an expensive operation. I guess one day large installs will have problems with it, but it can probably be re-implemented in a more performant manner when needed. Conflicts: htdocs/lib/version.php
-
Nigel McNie authored
This gives them some room to actually upload something useful.
-
Nigel McNie authored
Move the 'edit this view' link to where the artefacts in a view are listed on My Views. Fixes #2317. It might not be perfect, but it's better than current.
-
Nigel McNie authored
-
Nigel McNie authored
Correct the query for obtaining the institution list in the case where there are deleted institution staff and administrators.
-
- 23 Jun, 2008 1 commit
-
-
Nigel McNie authored
-
- 19 Jun, 2008 1 commit
-
-
Nigel McNie authored
(cherry picked from commit 6a7a548b)
-
- 17 Jun, 2008 1 commit
-
-
Nigel McNie authored
Otherwise, the user sees the message no matter what when forced to change their password, which looks stupid.
-
- 16 Jun, 2008 1 commit
-
-
Nigel McNie authored
Remove the last remnants of the myportfolio theme, and fix a bug that causes a crash when choosing themes without a config.php Now it is expected that all themes have a config.php. (cherry picked from commit ed48e680)
-
- 09 Jun, 2008 1 commit
-
-
Nigel McNie authored
This at least gives admins the chance of doing this if they want to.
-
- 08 Jun, 2008 8 commits
-
-
Nigel McNie authored
(cherry picked from commit 879f456e)
-
Nigel McNie authored
It's much less ambiguous. Should help with users confused as to what it does. (cherry picked from commit 15cfe974)
-
Nigel McNie authored
This makes it easy to tell when you are doing this on all pages - not just on pages where the sidebar is visible. (cherry picked from commit ba080c55)
-
Nigel McNie authored
Fixed 'viewreleased{subject,message}' broken language strings in notifications. Part of the fix for #2271. (cherry picked from commit 0a7f07f0)
-
Nigel McNie authored
There's no need to reveal this information, as the Mahara version is not revealed elsewhere. (cherry picked from commit fb830d75)
-
Nigel McNie authored
(cherry picked from commit ea02642a)
-
Nigel McNie authored
Take into account the install subdirectory when redirecting users because of access denied. Fixes #2259. (cherry picked from commit c93adecb)
-
Nigel McNie authored
-
- 06 Jun, 2008 7 commits
-
-
Nigel McNie authored
The previous patch to that part of the code instead made it so you couldn't kick anyone out if the group ID equaled the group ID, which of course it always does. (cherry picked from commit bec4d579)
-
Nigel McNie authored
(cherry picked from commit bfefe0b6)
-
Nigel McNie authored
Use the actual group ID on on the interaction delete page, rather than the interaction ID. Fixes #2241. This was potentially a small security hole too - before, it would allow users who had permissions to delete a forum with an ID the same as an interaction they were allowed control over. But it's a terribly blind attack at the best of times. (cherry picked from commit d265d0b2)
-
Nigel McNie authored
The XML extension is needed by the RSS blocktype to parse RSS feeds. To be honest, I'm surprised it wasn't needed before to parse the install.xml files. (cherry picked from commit d49f1ab0)
-
Nigel McNie authored
Improved the wording for the Upload CSV page, especially in the case of institutional admins. Fixes #2214. Previously, Institutional Admins were given links to pages they couldn't edit.
-
Nigel McNie authored
We haven't been clearing out session files since I first chose to make us hash the session directory back in 2006. Talk about a timebomb... The cron job uses `find' and `xargs' to do the removing. These tools are required on debian (as part of findutils), and are installed in /usr/bin. I haven't bothered with a configuration directive for specifying a path to them for now, but that might be necessary later. (cherry picked from commit 335d66a7)
-
Nigel McNie authored
Make usernames unique over their lowercase values, and put validation in everywhere so two users can't do this again. Usernames _are_ meant to be case insensitive in the system. But at no point where users could be created (except for XMLRPC users), was this actually being enforced. So eventually someone actually did this, which caused login for both users to break. Now, all entry points for new users are checked to make sure users can't claim names whose lowercase value is the same as another user. And on postgres, we now have a unique index over LOWER(username). This isn't possible in MySQL, so MySQL users miss out (yet again).
-
- 03 Jun, 2008 1 commit
-
-
Nigel McNie authored
Allow usernames to contain many more characters than they do currently when using internal authentication. The previous restrictions were unnecessarily strict. As per request from MyPortfolio. Now we actually can has a Mjollnir`! (cherry picked from commit 36a1ecfc)
-
- 29 May, 2008 2 commits
-
-
Nigel McNie authored
-
Nigel McNie authored
Apache configuration and other scripts can override this. For example, thumb.php overrides this to cache thumbnail images for a while. This prevents IE making assumptions that pages are cachable when they're clearly not.
-
- 07 May, 2008 1 commit
-
-
Nigel McNie authored
-
- 06 May, 2008 8 commits
-
-
Nigel McNie authored
We can't cache them for too long, because the user could change them at any time. But at least a short time is better than none, because they can be requested in batches quite a lot, for example when paging through search results. On the profile page for the user, use 'profileiconbyid', which means that the correct image will always be shown, even when the user changes it.
-
Nigel McNie authored
-
Nigel McNie authored
-
Nigel McNie authored
-
Nigel McNie authored
-
Nigel McNie authored
This image can be sent with a long expires header, so given that it is on every page this makes sense. Even if the user changes their profile icon, the image shown to them will still be correct, because it will be at a different URL now.
-
Nigel McNie authored
So far, they are only being sent on images that we know will never change, namely the profileiconbyid icons and thumbs for the blocktypes.
-
Nigel McNie authored
The following things are done: 1) If mod_deflate is available, use it to send text/html, text/css and application/x-javascript files gzipped 2) Remove ETags from all files. They can give benefits in some situations if configured correctly, but until they're investigated I'll just turn them off 3) Send expires headers for a bunch of the static stuff, mainly the stuff in /theme and /js So far, this has resulted in reducing the size of the homepage from about 300K to 80K, and warm cache hits are only 2K in one request. These performance benefits apply similarly across the whole site.
-
- 04 May, 2008 3 commits
-
-
Nigel McNie authored
-
Nigel McNie authored
-
Nigel McNie authored
-