- 24 Jun, 2014 1 commit
-
-
Content from the following commits was reverted: Patch 3327: 7a7673c0 "Add activity stream block (Bug #1316324)" Patch 3374: c538c745 "Add likes to activity streams (Bug #1321480)" Patch 3432: 121e9027 "Add new parameters to the get_activity_body function (Bug #1328729)" Patch 3434: 2e47dfb1 "Improvements to activity stream body helper (Bug #1328760)" Change-Id: Id03c156a7c8c016c8dc76c998a73310ea57fe0a5 Signed-off-by:
Nathan Lewis <nathan.lewis@totaralms.com>
-
- 19 Jun, 2014 1 commit
-
-
Seen as we already have an expiry column in the db we might as well use it. Change-Id: I4de92289edff40e26c74ff8b9e4a77cf9bd8ccf2 Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
- 15 Jun, 2014 1 commit
-
-
Aaron Wells authored
Bug 1328768: A new generic plugintype for any plugins that don't fit other types Change-Id: I706241d73947805a5d3f8d623c4bc8dc0d94429b
-
- 13 Jun, 2014 1 commit
-
-
Aaron Wells authored
Bug 1239461 Change-Id: Ib574072c06aec2c12bb113f2c2429bd733aebcc6
-
- 08 Jun, 2014 1 commit
-
-
Nathan Lewis authored
Change-Id: I689fb61b4f75c56dca0e1e400e74c14580afb133 Signed-off-by:
Nathan Lewis <nathan.lewis@totaralms.com>
-
- 05 Jun, 2014 3 commits
-
-
Aaron Wells authored
Bug 1298646: No point in adding columns to the interaction_forum_post table just to immediately drop them again. Also, there were some lingering "accesstype IS NULL" checks in the elasticsearch access queries, which should have been removed along with the "accesstype != objectionable" that they were previously parenthetical with. And, the artefact_access table doesn't need to accept "objectionable" as an accesstype enum value anymore. Change-Id: I961f15e98eb8aab95e4e5b16af223eb61588f671 Signed-off-by:
Yuliya Bozhko <yuliya.bozhko@totaralms.com>
-
Nathan Lewis authored
Change-Id: I49c15aed9e36da0ff4ea4e1fa4d110c112a25215 Signed-off-by:
Nathan Lewis <nathan.lewis@totaralms.com>
-
Yuliya Bozhko authored
- Created 'objectionable' table - Migrated existing objectionable records to a new table - Added is_objectionable() method to View class - Fixed can_view_view() and elasticsearch to use new table - Fixed artefact.tpl style to match view page when displaying "Not objectionable" form - Make forum reports use new 'objectionable' table Change-Id: Ib3759e86c4003216ad57f3cf68911b13e50e9c67 Signed-off-by:
Yuliya Bozhko <yuliya.bozhko@totaralms.com>
-
- 12 May, 2014 1 commit
-
-
Robert Lyon authored
To allow for systems where the installation takes longer than their phpini max_execution_time setting. Made the changing of the limit pass thru a function for sanity checking Change-Id: I0d27d68a377c338c634f2f845829682af149d79f Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
- 09 May, 2014 1 commit
-
-
Fixes in this patch: - Moved artefact.php to artefacts directory to separate it from pages. - Fixed reference to a wrong 'artefactonlyviewableinview' string. - Removed add_to_render_path() and its calls which have no purpose at all. - Removed 'artefact_parent_cache' table. - Removed cron jobs related to 'artefact_parent_cache' from DB. - Added 'path' column in 'artefact' table to easier calculate hierarchy. - Added ArtefactTest.php for artefacts unit tests Change-Id: Ia14cd85b94c32a950354446ee3565bd2964c625c Signed-off-by:
Yuliya Bozhko <yuliya.bozhko@totaralms.com>
-
- 30 Apr, 2014 1 commit
-
-
- Adds template views to top of Pages list under Configure site menu - Profile, dashboard and group homepage templates can be edited. - Only layout and content can be edited. - Templates are only applied to users and groups created after changes are made. Change-Id: I35967950a37887b31595a4afbc19300dd070949f Signed-off-by:
Nathan Lewis <nathan.lewis@totaralms.com>
-
- 16 Apr, 2014 1 commit
-
-
Nathan Lewis authored
- Each activity type can specify a default notification method. They default to 'email' to remain backwards compatible. - Each activity type can specify if it is allowed to be set to 'none'. Defaults to 'allowed' for backwards compatibility. - Removed 'required' from notification settings - it didn't make sense, and the change above deals with this in a better way. - The site wide defaults for each activity type can be edited in Site options -> Notification settings. These are applied to new users or whenever a user does not have the appropriate usr_activity_preference records. - Removed 'Default notification method' as it's functionality is now covered by the change above. - There is a separate help next to each activity type to explain what messages will be affected by the setting. Change-Id: I131cdeefbeaa8e43688aefd9d770fc8cb9bceea8 Signed-off-by:
Nathan Lewis <nathan.lewis@totaralms.com>
-
- 14 Apr, 2014 1 commit
-
-
Aaron Wells authored
Bug 1307294 Change-Id: I1b1389e5441645550930d36b79be72d13e0c743e
-
- 07 Apr, 2014 1 commit
-
-
Nathan Lewis authored
- Preparing for future patches which require an integer id for performance and other reasons. - 'name' will continue to be used as the primary key. Change-Id: I5006b7f39edccc217fe5e4287585e62fc2545036 Signed-off-by:
Nathan Lewis <nathan.lewis@totaralms.com>
-
- 02 Apr, 2014 1 commit
-
-
Bug 1249858 Change-Id: I1531c0da4ffb1044817e2ff6be14dd7a50ceb5e6 Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
- 30 Mar, 2014 1 commit
-
-
Robert Lyon authored
Change-Id: I442d6f4f4b62ccdaf00dc44e3941128f0b0e9b21 Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
- 27 Mar, 2014 1 commit
-
-
Robert Lyon authored
Bug 1296915 Change-Id: I572e066162e6b26630c887a66400098d90638122 Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
- 26 Mar, 2014 2 commits
-
-
Robert Lyon authored
Commit b5c9e316 incremented the artefact.internal DB version, but not the human-readable version. Have bumped the version to 1.2.0. Also removed the section of lib/db/upgrade.php that tells it to upgrade the artefact.internal plugin, because that'll happen automatically. Change-Id: Ie4ac77db99bc9ab5dc2901810a1283158ad4735d Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz> Signed-off-by:
Aaron Wells <aaronw@catalyst.net.nz>
-
Introducing a new plugin watchlistnotification that responds to the events saveartefact, blockinstancecommit and deleteblockinstance. It stores the changed view and the blockinstance in a table watchlist_queue and checks via cron if there were any changes on a view and if for that view the last change has happened some time ago (the minutes are stored in config under watchlistnotification_delay, the default is 20min). If so, a message is generated that informs the watchlist recipient about which view and which block-instances on this view have been touched (added or changed). As there is no way to disable the built-in/old watchlist-notification- system, this is disabled in the mahara-core code, that is, artefact/lib.php and lib/view.php Change-Id: I039c5285cdd1b09ed9eb38a647e0c1510c3cabb9 Signed-off-by:
Tobias Zeuch <tobias.zeuch@kit.edu>
-
- 25 Mar, 2014 1 commit
-
-
Aaron Wells authored
Bug 1252101 1. New users get 2 "new user points" on their user record 2. While they have these, they're on probation and can't post links in public places, or make public pages. 3. "new user points" are decreased each time a non-probationary user responds to a forum post by the user 4. Admins & Staff are automatically non-probationary Change-Id: Ibccd2e330945f66b07aac062c4f51b67a0c0dba2
-
- 24 Mar, 2014 1 commit
-
-
This patch has been altered to have the configuration option set in: Groups -> Edit -> General : Send forum posts immediately To allow for per group access to functionality Only users who fall into the following categories can check the 'send now' for all members. $USER->get('admin') $USER->get('staff') $USER->is_institutional_admin() $USER->is_institutional_staff(); Change-Id: I5f1c4d13e89e587577abac438dd1cdc4625aa604 Signed-off-by:
Matthew Kolb <matt.kolb@yahoo.com> Signed-off-by:
Matt Kolb <matt.kolb@deltak-innovation.com> Signed-off-by:
Matt Kolb <matt.kolb@yahoo.com>
-
- 06 Mar, 2014 1 commit
-
-
Don't run the usr_custom_layout upgrade patch if it was run before. We check for the presence of the usr_custom_layout.group column to see whether the patch has been run (or the instance was installed with the fixes already in place). Change-Id: I3adfd13ef622edc0c18de630869bd2a46700bbfb Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
- 27 Feb, 2014 1 commit
-
-
Jono Mingard authored
Since the data storage format is virtually identical for Contact information and Profile information, all Contact info blocks can easily be changed to Profile info ones Change-Id: I4844630745c2d12d06a76b70ad7fd624342833eb Signed-off-by:
Jono Mingard <jonom@catalyst.net.nz>
-
- 25 Feb, 2014 1 commit
-
-
Yuliya Bozhko authored
Change-Id: I87ec616b0d27d9c168ad0233457ac6feec94301c Signed-off-by:
Yuliya Bozhko <yuliya.bozhko@totaralms.com>
-
- 24 Feb, 2014 1 commit
-
-
Robert Lyon authored
This can be a problem for older sites. Should update any that are not locked but should be and do nothing if all is fine. Change-Id: Ie5fd71ab76b24009450987681a4800ccc3a8f496 Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
- 23 Feb, 2014 2 commits
-
-
Robert Lyon authored
Change-Id: I6fa2bd76a6862c39378c9399c17d50279e92d421 Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
This renaming is to avoid confusion to other site pages that can be built like portfolio pages and are very different from these here where only a little bit of text can be changed. I also took the opportunity to get rid of the "Edit" as no other menu item has a verb included. Change-Id: Iafb5d9ca09d5bc5c3c483b0caeb28b77e88e6c72 Signed-off-by:
Kristina D.C. Hoeppner <kristina@catalyst.net.nz>
-
- 12 Feb, 2014 2 commits
-
-
Yuliya Bozhko authored
Change-Id: Iac4c0b927eef20a4dd942ef6450aa7ba6733d7b9 Signed-off-by:
Yuliya Bozhko <yuliya.bozhko@totaralms.com>
-
Robert Lyon authored
- wasn't working if the site was using dbprefix on table names Change-Id: I58b3bed8b99093ef6b1feb3eb254a8a66dd99d5d Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
- 11 Feb, 2014 1 commit
-
-
Son Nguyen authored
(Bug 1264105) also fix the plural lang string Change-Id: Ia72e189b1b0b140664b6379fb09b1aaf2f101732 Signed-off-by:
Son Nguyen <son.nguyen@catalyst.net.nz>
-
- 24 Jan, 2014 1 commit
-
-
Robert Lyon authored
Changes include: - added an institution column to the site_content table - added an 'Edit site pages' page under Admin -> Institutions that is accessibe by institution admins - added an 'institution' option to the edit site pages form - this is a hidden field if user can edit only one institution. On upgrade it updates the site_content table to give current data the institution on 'mahara' (incl. local site pages) and for each institution it replicates the data already in the db for the default site (excl. local site pages) so that every site has their own versions, which can be adjusted as one sees fit. On creation of new institution it creates the rows in site_content table but with the default strings (like what you see when you first install a mahara) but sets the sitepages column in institution table to default (mahara). On deletion of institution it removes the rows in site_content. A user on login sees the institution site page based on what institution theme they see. On logout the 'lastinstitution' cookie is set allowing for them to see institution specific site pages. The 'No institution' (mahara) site pages can only be edited through Configure site -> Edit site pages. Also allow for an institution site page to be viewed if 'institution' variable is passed to it eg terms.php?institution=testing allowing for another way to access info when logged out. Change-Id: I2ed30b63c15bf676d83eb2231f48c4ca23ce8b53 Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
- 08 Jan, 2014 1 commit
-
-
Aaron Wells authored
Bug 1264429: This patch creates the table, refactors the get_institution_config() method, the Institution class, and the institution editing page, to use the new table. Henceforth columns should only be added to the main "institution" table if they represent a required setting (like name and displayname), or they need to be accessed frequently by direct SQL queries. Change-Id: I4564240d2c55ec2b6ec90868290a61cf4321460a
-
- 07 Jan, 2014 2 commits
-
-
Mike Kelly authored
Fix references to layout owner in upgrade routine Check for institutional ownership of layouts when upgrading (Site page layouts are saved with ownership by current institution, as the institution value is already set in a site view) Change-Id: If8faa8be50f8cdcb9fc32427134115bc5becc296 Signed-off-by:
Mike Kelly <m.f.kelly@arts.ac.uk>
-
Change-Id: I1daef151b72a04469b8e78ebd0a487639b9843c1 Signed-off-by:
Mike Kelly <m.f.kelly@arts.ac.uk>
-
- 24 Dec, 2013 1 commit
-
-
Aaron Wells authored
In 1.8.1 we added some code to correct schema drift in Mahara sites that were originally installed with 1.2.0 or earlier. But, these schema corrections can fail if the tables contain data that violates the constraints we're trying to add. This update changes that failure from a fatal error, to a warning. Change-Id: I51989b276642b8d1b7b55813aa33df86f1e52a5c
-
- 22 Dec, 2013 1 commit
-
-
Robert Lyon authored
The field is currently not being used but because the install.php file had the id column in it for v1.8 it means sites installed with 1.8 have the column but sites upgraded to 1.8 do not. Change-Id: If1e52cf68ad18ce730fd2e9be3abf8684a94368d Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
- 17 Dec, 2013 2 commits
-
-
Robert Lyon authored
Older sites can end up with duplicate rows in the blocktype_externalfeed_data for the same url. This causes problems if the site is using latest mahara as it stops one being able to add /edit a feed if there are duplicate rows for that feed's url. Change-Id: I47ee3952dbe75b5643adf55105a9219a3e3e8cd9 Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz> Signed-off-by:
Aaron Wells <aaronw@catalyst.net.nz>
-
Bug 1174623 For sites that have been upgraded from version 1.0 there are some missing constraints and indexes on the artefact_access_usr, artefact_access_role, artefact_attachment, group, grouptype_roles and view_autocreate_grouptype tables. Also some fields need to be adjusted to match the referenced field in another table so that they can be used as a foreign key Change-Id: Ifb8cd79d4fa9933be02f6086fb5dada18d47bfe2 Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz> Signed-off-by:
Aaron Wells <aaronw@catalyst.net.nz>
-
- 26 Nov, 2013 1 commit
-
-
1. Add a new column 'last_processed_userid' into the table activity_queue 2. Enable the notify_users() method to work with split user chunks 3. Modify the activity_process_queue() function to update the activity_queue with the new process Change-Id: Id404aa8e8fa6515cfeb557a4ea11c14c43771fe7 Signed-off-by:
Son Nguyen <son.nguyen@catalyst.net.nz>
-
- 23 Oct, 2013 1 commit
-
-
Aaron Wells authored
Bug 1243525: Also, since it was only used in the pre-1.1 upgrade section, it's no longer necessary to define this at the top of upgrade.php at all Change-Id: I907467f2ffd80844fe7f3f35eeb92a51a40ad7dd
-