- 15 Feb, 2012 5 commits
-
-
Richard Mansfield authored
-
Francois Marier authored
-
Richard Mansfield authored
For filebrowsers inside configuration forms in Chrome, the edit, select, and file upload buttons appear to have no effect when the copyright agreement is enabled. In fact the javascript for these buttons *is* executed, but Chrome won't display the resulting changes, making it rather difficult to click on some of the buttons in forms that are opened up. Adding a slight delay before disabling the file input fixes the issue. Change-Id: I8cfde0056f0aefc027e3a532488be3c369292b65 Signed-off-by:
Richard Mansfield <richard.mansfield@catalyst.net.nz>
-
Francois Marier authored
-
Francois Marier authored
Change-Id: I4950f3ffc24d8839920c7c999cbe650ff0885959 Signed-off-by:
Francois Marier <francois@catalyst.net.nz>
-
- 14 Feb, 2012 5 commits
-
-
Richard Mansfield authored
Change-Id: Ia8685b5f7afb102f2e8e41e8639e75b371504200 Signed-off-by:
Richard Mansfield <richard.mansfield@catalyst.net.nz>
-
Ruslan Kabalin authored
* changes: Improve portfolio search (bug #931481) Fix portfolio search (bug #931481) Fix artefact::get_views_instances (bug #931467)
-
Hugh Davenport authored
-
Hugh Davenport authored
-
Richard Mansfield authored
The 'emaillist' pieform element doesn't appear greyed out or uneditable when it's disabled. This means that when the email address field is locked in institution settings, or because the email address is imported from Moodle, users may still try to add new addresses without receiving a useful error message. When displaying this element on the Edit Profile page, the help item is hidden whenever the element is locked, because it refers to buttons and links that don't appear in the form. Change-Id: Ia9a149e9110932ebac9202a1691d29799d327dc2 Signed-off-by:
Richard Mansfield <richard.mansfield@catalyst.net.nz>
-
- 13 Feb, 2012 8 commits
-
-
Hugh Davenport authored
-
Richard Mansfield authored
Bug #900932 Change-Id: I4b3f6e18fb0ab68a8d9e0e5327d672e373f9a291 Signed-off-by:
Richard Mansfield <richard.mansfield@catalyst.net.nz>
-
Ruslan Kabalin authored
Add the list of views the artefact is associated with. Change-Id: I62fd21c2d53819de2a57d2aee88aff9dc34191ed Signed-off-by:
Ruslan Kabalin <ruslan.kabalin@luns.net.uk>
-
Ruslan Kabalin authored
Removing get_links output in ArtefactTypeHtml does not seem affect anything, as it only being used in self_search_make_links. Change-Id: I4bf3594233eac54e518ed45e9c7798a7782bd799 Signed-off-by:
Ruslan Kabalin <ruslan.kabalin@luns.net.uk>
-
Ruslan Kabalin authored
Also ensures that required library is available. Change-Id: Ieb5e109aa9316c6d53dc3bf4e5e02c04cd5ae821 Signed-off-by:
Ruslan Kabalin <ruslan.kabalin@luns.net.uk>
-
Richard Mansfield authored
* changes: Get unread message count from user table (bug #854403) Add column for unread message counts to the usr table (bug #854403) Add functions to create and remove database triggers Display a useful error message when PL/pgSQL is not available New icon for unread notifications
-
Richard Mansfield authored
This allows $cfg->maxusercsvlines to be specified in config.php to stop admins and institutional admins from uploading large csv files. This is potentially useful on large multi-user sites. And until such time as we can reduce the amount of memory used by the create_user function, setting this option will provide the user with some feedback on csv upload failure (because we can't easily trap the php out-of-memory error). See also bug #548042. This commit also adds a call to set_time_limit() after processing each user, so that the script doesn't fail due to php's max. execution time. Change-Id: I662231288c7d0c6e70602c548123f12c63427a97 Signed-off-by:
Richard Mansfield <richard.mansfield@catalyst.net.nz>
-
Richard Mansfield authored
Also keeps the count in the $USER object up to date whenever the user deletes or reads a notification. When new notifications are generated for a live user by another user, or on cron, the logged-in user's unread count is reloaded from the database into the session either on hitting the inbox, or whenever $USER is committed for some other reason. The code to reload the background fields on commit of the LiveUser object has been changed to ensure that it still works at upgrade time, where the 'reload' column doesn't exist in the user table yet, but *does* exist in the User object. Change-Id: I9c9a81bf77d0927352902dee0d989d6122757b47 Signed-off-by:
Richard Mansfield <richard.mansfield@catalyst.net.nz>
-
- 10 Feb, 2012 4 commits
-
-
Richard Mansfield authored
The unread message counts are expensive to query in postgres when notification_internal_activity gets big. This results in very slow logins (the first time the query is run). This patch adds a new column for each user to store the unread message count. The counts are updated using a trigger on insert, update and delete of the notification_internal_activity table. Change-Id: Ifb24c6892567658584f45825437bb7a8f20cc310 Signed-off-by:
Richard Mansfield <richard.mansfield@catalyst.net.nz>
-
Richard Mansfield authored
Change-Id: Id4f87c1fef835a11bc7413df93d60a6fada59a6a Signed-off-by:
Richard Mansfield <richard.mansfield@catalyst.net.nz>
-
Richard Mansfield authored
Change-Id: Ib9a72a9e36bb24da5907720242b23e991bb7bf9a Signed-off-by:
Richard Mansfield <richard.mansfield@catalyst.net.nz>
-
Evonne Cheung authored
Change-Id: I81865ee9c9cd4a47095a1087d452360c7a994008 Signed-off-by:
Richard Mansfield <richard.mansfield@catalyst.net.nz>
-
- 09 Feb, 2012 4 commits
-
-
Francois Marier authored
-
Richard Mansfield authored
The admin 'manage groups' and user profile pages added users to groups by changing the group_member table directly rather than using group_add_user and friends. It's cleaner to keep this code in one place, in case we want to make changes to the group_member tables later. Change-Id: I687764fb25e8924a3da85da7494cd3fbcad53bc1 Signed-off-by:
Richard Mansfield <richard.mansfield@catalyst.net.nz>
-
Richard Mansfield authored
-
Francois Marier authored
Bug #897631 This is a small modification to allow group_member table to have a new field called method. Method can be used to indicate how that user was added to the group. It can be useful to implement syncro with other systems. Change-Id: I92cd64e1fcf72927f16b496a5e17fa5da992a329 Signed-off-by:
Juan Segarra Montesinos <juan.segarra@si.uji.es>
-
- 08 Feb, 2012 5 commits
-
-
Francois Marier authored
-
Francois Marier authored
-
Richard Mansfield authored
When a user is an administrator in one institution, and staff in another, and performs a search with no results, PHP gives an "Invalid argument supplied for foreach()" warning. Change-Id: I3706a639fb11e98cb64c8ef14aede371386e86b4 Signed-off-by:
Richard Mansfield <richard.mansfield@catalyst.net.nz>
-
Melissa Draper authored
Currently there's no warning if the PHP GD library has been compiled without one support for a file type. When a user attempts to upload an image of an unsupported type, it will fail. Change-Id: I682a39aeaba2d06494868210b9ef9d8f46f1b136 Signed-off-by:
Melissa Draper <melissa@catalyst.net.nz>
-
Francois Marier authored
* changes: Add "shared with" option to shared pages (part of bug #857793) Add sorting options to Shared Pages (part of bug #857793) Use http_build_query rather than urlencode on Shared pages Use view_search function to fetch data for Shared pages Add sorting by owner name in view_search
-
- 07 Feb, 2012 9 commits
-
-
Richard Mansfield authored
Adds a set of checkboxes to Shared Pages which allows the user to filter by the various access types. The default remains unchanged (pages shared with you, friends, or your groups). Additional options are public, logged-in, and institutions, and any combination of these can be searched. This allows users to find all public pages on the site, for example. Change-Id: I7b123f2088756cea04d2685e2e35ef578252991a Signed-off-by:
Richard Mansfield <richard.mansfield@catalyst.net.nz>
-
Richard Mansfield authored
Adds a second drop-down to Shared pages to allow sorting of results by owner, title, and last modification time. Change-Id: I760eec99a6d187b72389b017a55bc7fd7a544e05 Signed-off-by:
Richard Mansfield <richard.mansfield@catalyst.net.nz>
-
Richard Mansfield authored
This change does not affect the behaviour of Shared pages, but will make it easier to add more query parameters later. Also, by turning off the pieforms 'dieaftersubmit' setting and modifying the global parameter variables, it's possible to avoid a second page reload after submitting the form. Change-Id: Ib0352e627752b9d3c47f9c08bf7b23f25ea0f08f Signed-off-by:
Richard Mansfield <richard.mansfield@catalyst.net.nz>
-
Richard Mansfield authored
The shared pages query can be simplified to use new parameters in view_search. This cuts down on code duplication, but requires a second query to fetch information about the number of comments on each view, and the name of the last commenter. Change-Id: I43e4f752c803daac7546614b830daf2aa79b0adb Signed-off-by:
Richard Mansfield <richard.mansfield@catalyst.net.nz>
-
Richard Mansfield authored
Adds an 'ownername' sort option to view_search, so that results can be sorted alphabetically by the name of the user, group, or institution who owns the view. Change-Id: I78086fb37e3bbc1313a7671f3aa508ed1c0cc93a Signed-off-by:
Richard Mansfield <richard.mansfield@catalyst.net.nz>
-
Richard Mansfield authored
-
Francois Marier authored
* changes: Compress sitemaps using php's zlib rather than gzip executable Serve sitemaps from download.php and use download url in the index Remove daily sitemap before writing if it already exists Write sitemap xml files to dataroot, not docroot (bug #914490) Move check for sitemap configuration setting
-
Francois Marier authored
-
Francois Marier authored
-