[Mahara-contributors] [Bug 1789532] A patch has been submitted for review

2018-08-28 Thread Mahara Bot
Patch for "master" branch: https://reviews.mahara.org/9095

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1789532

Title:
  Behat: Confirm the tooltip displays 'Delete "Manually created"' when
  hovering over the "Delete" button

Status in Mahara:
  New

Bug description:
  Behat: Create Script for feature file
  ->better_human_readable_tooltip_app_token.feature

  Related to: //bugs.launchpad.net/mahara/+bug/1756

  Summary: When you set up a mobile app token for Mahara at
  /module/mobileapi/apps.php (User menu -> Settings -> Apps).

  1. Confirm the tooltip displays 'Delete "Manually created"' when
  hovering over the "Delete" button instead of mentioning the app and
  the device

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1789532/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1789532] [NEW] Behat: Confirm the tooltip displays 'Delete "Manually created"' when hovering over the "Delete" button

2018-08-28 Thread Steven
Public bug reported:

Behat: Create Script for feature file
->better_human_readable_tooltip_app_token.feature

Related to: //bugs.launchpad.net/mahara/+bug/1756

Summary: When you set up a mobile app token for Mahara at
/module/mobileapi/apps.php (User menu -> Settings -> Apps).

1. Confirm the tooltip displays 'Delete "Manually created"' when
hovering over the "Delete" button instead of mentioning the app and the
device

** Affects: mahara
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1789532

Title:
  Behat: Confirm the tooltip displays 'Delete "Manually created"' when
  hovering over the "Delete" button

Status in Mahara:
  New

Bug description:
  Behat: Create Script for feature file
  ->better_human_readable_tooltip_app_token.feature

  Related to: //bugs.launchpad.net/mahara/+bug/1756

  Summary: When you set up a mobile app token for Mahara at
  /module/mobileapi/apps.php (User menu -> Settings -> Apps).

  1. Confirm the tooltip displays 'Delete "Manually created"' when
  hovering over the "Delete" button instead of mentioning the app and
  the device

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1789532/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1788303] Re: logs Filling with error after upgrade

2018-08-28 Thread Robert Lyon
Hi Kevin,

Hmm, that is odd - one should only get to that point in the code if
($reftype == 'comment') so should only happen when a comment is
added/edited/deleted and the ArtefactTypeComment class as $onview as a
variable

One thing I'd check in the DB is:

SELECT * FROM artefact_comment_comment;

To see if there are any comment artefacts that have both onview and
onartefact both being null

Cheers

Robert

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1788303

Title:
  logs Filling with error after upgrade

Status in Mahara:
  New

Bug description:
  Mahara 18.04.2 (Upgraded)

  Mahara 17.04.2 Upgrading to 18.04.2
  Brower: chrome
  OS: Unbutu
  PHP: 7.0

  Logs on server filling up with this message:
  [21-Aug-2018 16:18:56 Pacific/Auckland] [WAR] b1 (lib/mahara.php:2047) 
Undefined index: onview

  etc

  
  The 'on view' in the $logdata array has not been set when called at line 2047
  Perhaps change to:
  $commenttypeid = isset($logdata['onview'])? $logdata['onview'] : 0;
  would resolve (unless this is a deeper logging issue) 

  
  Code seems to be around when older versions of Mahara get upgraded:

  lib/mahara.php:2047 
  // Include the old time column as well to cater for
  // older versions of Mahara getting upgraded.
  // Their event_log table will have not gone
  // through the table alters during this
  // part of the upgrade.
  // The date it changed was 2017090800.
  $logentry->time = $logentry->ctime;

  // find out who 'owns' the event
  list ($ownerid, $ownertype) = event_find_owner_type($logentry);
  $logentry->ownerid = $ownerid;
  $logentry->ownertype = $ownertype;
  insert_record('event_log', $logentry);
  // If we are adding a comment to a page that is shared to a group
  // we need to add a 'sharedcommenttogroup' event
  if ($reftype == 'comment' && empty($logdata['group'])) {
  if (!empty($logdata['onartefact'])) {
  $commenttype = 'artefact';
  $commenttypeid = $logdata['onartefact'];
  $wheresql = " IN (SELECT view FROM {view_artefact} WHERE " . 
$commenttype . " = ?) ";
  }
  else {
  $commenttype = 'view';
  $commenttypeid = $logdata['onview'];
  $wheresql = " = ? ";
  }
  if ($groupids = get_records_sql_array("SELECT \"group\" FROM 
{view_access}
  WHERE view " . $wheresql . "
  AND \"group\" IS NOT NULL", 
array($commenttypeid))) {
  foreach ($groupids as $groupid) {
  $logentry->event = 'sharedcommenttogroup';
  $logentry->data = null;
  $logentry->ownerid = $groupid->group;
  $logentry->ownertype = 'group';
  insert_record('event_log', $logentry);
  }
  }
  }

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1788303/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1787860] Re: Text block title is dropped when creating a page content via tags functionality

2018-08-28 Thread Kristina Hoeppner
This only affects master as this came through newly introduced
functionality.

** Changed in: mahara
   Status: New => Confirmed

** Changed in: mahara
   Importance: Undecided => Medium

** Changed in: mahara
Milestone: None => 18.10.0

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1787860

Title:
  Text block title is dropped when creating a page content via tags
  functionality

Status in Mahara:
  Confirmed

Bug description:
  Preconditions: 
  -
  1. Portfolio Page exists with the following Blocks 
  --- a. Text Block (title = Text block 101) and has the tag = orange
  --- b. Note Block (title = Note block 123) and has the tag = orange

  
  Test Script - create page and add content via Tags functionality
  -
  1. User create a Portfolio page (title = Page created via tags) 
  2. Fill in select2 input "Create via tags" with "orange" and select "orange"
  3. click the save button
  4. Confirm, that user sees the following blocks:
  --- a. Text Block (title = Text block 101)
  --- b. Note Block (title = Note block 123)

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1787860/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1787860] Re: Text block title is dropped when creating a page content via tags functionality

2018-08-28 Thread Steven
I missed some info from my notes 
The above should read as follows: 


Bug - Text block title is dropped when creating a page content via tags 
functionality

Preconditions: 
-
1. Portfolio Page exists with the following Blocks 
--- a. Text Block (title = Text block 101) and has the tag = orange
--- b. Note Block (title = Note block 123) and has the tag = orange


Test Script - create page and add content via Tags functionality
-
1. User create a Portfolio page (title = Page created via tags) 
2. Fill in select2 input "Create via tags" with "orange" and select "orange"
3. click the save button
4. Confirm, that user sees the following blocks:
--- a. Text Block (title = Text block 101)
--- b. Note Block (title = Note block 123)

Actual Result:  User only sees the default block title "Text" and "Note" 
Expected result: User should see the original title of the block = Text block 
101

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1787860

Title:
  Text block title is dropped when creating a page content via tags
  functionality

Status in Mahara:
  New

Bug description:
  Preconditions: 
  -
  1. Portfolio Page exists with the following Blocks 
  --- a. Text Block (title = Text block 101) and has the tag = orange
  --- b. Note Block (title = Note block 123) and has the tag = orange

  
  Test Script - create page and add content via Tags functionality
  -
  1. User create a Portfolio page (title = Page created via tags) 
  2. Fill in select2 input "Create via tags" with "orange" and select "orange"
  3. click the save button
  4. Confirm, that user sees the following blocks:
  --- a. Text Block (title = Text block 101)
  --- b. Note Block (title = Note block 123)

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1787860/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1788509] Re: Behat: When doing self import the locked fields will only show 'ignore' radio button option

2018-08-28 Thread Kristina Hoeppner
** Changed in: mahara
   Status: New => In Progress

** Changed in: mahara
   Importance: Undecided => Medium

** Changed in: mahara
Milestone: None => 18.10.0

** Tags added: behat

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1788509

Title:
  Behat: When doing self import the locked fields will only show
  'ignore' radio button option

Status in Mahara:
  In Progress

Bug description:
  Behat: Create  / Update Script for feature file
  ->collection_export_bulk.feature

  Related to: //bugs.launchpad.net/mahara/+bug/1747795

  Summary: In the institution settings we can lock profile fields, eg 
firstname, lastname so that a user can't change the values of them. Leap2A 
import should respect the lock.
  1) Institution admin locks First and last name fields and email address field
  2) Inst member imports Leap2A file and confirm lock fields only have ignore 
option and other fields have add new option as well

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1788509/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1788718] Re: Behat: wishlist item for pre-loaded database.

2018-08-28 Thread Kristina Hoeppner
** Changed in: mahara
   Status: New => Confirmed

** Changed in: mahara
   Importance: Undecided => Wishlist

** Tags added: behat

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1788718

Title:
  Behat: wishlist item for pre-loaded database.

Status in Mahara:
  Confirmed

Bug description:
  It would be nice to have a pre-loaded database that would have:
  ** users with various roles 
  ** institutions
  ** groups 
  ** user portfolio's with content 
  ** user relations (friends, belongs to some groups etc.)

  
  It would have to be some sort of background step to load the database at the 
start of a feature file.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1788718/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1788532] Re: Behat: step definition And I should not see "?" in the "?" row

2018-08-28 Thread Kristina Hoeppner
** Changed in: mahara
   Status: New => In Progress

** Changed in: mahara
   Importance: Undecided => Medium

** Changed in: mahara
Milestone: None => 18.10.0

** Tags added: behat

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1788532

Title:
  Behat: step definition And I should not see "?" in the "?" row

Status in Mahara:
  In Progress

Bug description:
  Summary: currently we have a step definition for And I should see "?"
  in the "?" row but we do not have a And I should not see "?" in the
  "?" row

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1788532/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1788705] Re: Behat: Group forums should not be editable to regular members, only group owner and staff

2018-08-28 Thread Kristina Hoeppner
** Changed in: mahara
   Status: New => Confirmed

** Changed in: mahara
   Importance: Undecided => Medium

** Tags added: behat

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1788705

Title:
  Behat: Group forums should not be editable to regular members, only
  group owner and staff

Status in Mahara:
  Confirmed

Bug description:
  Behat: Create  / Update Script for feature file ->group.feature

  Related to: //bugs.launchpad.net/mahara/+bug/1752442

  Summary: Group forums should not be editable to regular members, only
  group owner and staff

  1. Group owner and staff should see edit and delete on group forums page 
  2. regular group member should not see edit and delete 
  on group forums page 
  3. All users should be able to see subscribe/Unsubscribe buttons 
  on group forums page (dependant if user is subscribed or not)

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1788705/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1789142] Re: Behat: Hide the xmlrpc specific fields when not using them In the add/edit webservice users/tokens screens

2018-08-28 Thread Kristina Hoeppner
** Changed in: mahara
   Status: New => In Progress

** Changed in: mahara
   Importance: Undecided => Medium

** Changed in: mahara
Milestone: None => 18.10.0

** Tags added: behat

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1789142

Title:
  Behat: Hide the xmlrpc specific fields when not using them In the
  add/edit webservice users/tokens screens

Status in Mahara:
  In Progress

Bug description:
  Behat: Create  / Update Script for feature file ->
  webservices_create_service_group.feature

  Related to: //bugs.launchpad.net/mahara/+bug/1744351

  Summary: The problem of the public key expires is an issue with reading the 
date from the xmlrpc certificate - but as we are moving away from xmlrpc to LTI 
we will ingore the problem with incorrect date for now.
  Hiding that part of the form will avoid user confusion when not using xmlrpc

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1789142/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1787493] Re: Unable to have both "" and "0" as options in a select form and have "" the selected one

2018-08-28 Thread Kristina Hoeppner
Can you please provide some testing instructions, Robert?

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1787493

Title:
  Unable to have both "" and "0" as options in a select form and have ""
  the selected one

Status in Mahara:
  In Progress

Bug description:
  This is due to the function pieform_element_select_render_options()
  not checking on type

  the line
 $stringvalue = !is_array($values) && $key == $values;

  needs to be
 $stringvalue = !is_array($values) && $key === $values;

  To test create a select field with options like this:

  'options' => array("" => get_string('nocategoryselected', 'mahara')) +
  array_combine(range(100, 0), range(100, 0)),

   and have

  'defaultvalue' = '',

  
  Expected:  we should have the nocategoryselected option displayed
  Currently: we have the option "0" selected

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1787493/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1788062] Re: The group files page has a broken sidebar

2018-08-28 Thread Kristina Hoeppner
** Changed in: mahara
   Status: New => In Progress

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1788062

Title:
  The group files page has a broken sidebar

Status in Mahara:
  In Progress

Bug description:
  We get the error "[Dwoo\\Exception]: Plugin "PluginLoadgroupquota" can
  not be found, maybe you forgot to bind it if it's a custom plugin ?"

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1788062/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1783042] Re: Allow more blocks to be on site / institution pages

2018-08-28 Thread Kristina Hoeppner
** Tags added: nominatedfeature

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1783042

Title:
  Allow more blocks to be on site / institution pages

Status in Mahara:
  Fix Committed

Bug description:
  So that an institution can set up a template page with all the blocks
  they want the user to get.

  And so when a user copies the template page they will have all the
  needed blocks and they will be populated with data automatically if
  possible

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1783042/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1789297] Re: LTI Assignment Submission

2018-08-28 Thread Kristina Hoeppner
https://reviews.mahara.org/9091

and

https://reviews.mahara.org/9090

** Changed in: mahara
Milestone: None => 18.10.0

** Description changed:

  Allow assignment submission via LTI (rather than MNET)
+ 
+ Specs for that initial phase are at
+ 
https://wiki.mahara.org/wiki/Developer_Area/Specifications_in_Development/MNet_replacement/LTI_implementation#Proposal_for_initial_implementation

** Tags added: lti

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1789297

Title:
  LTI Assignment Submission

Status in Mahara:
  In Progress

Bug description:
  Allow assignment submission via LTI (rather than MNET)

  Specs for that initial phase are at
  
https://wiki.mahara.org/wiki/Developer_Area/Specifications_in_Development/MNet_replacement/LTI_implementation#Proposal_for_initial_implementation

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1789297/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1787507] Re: Make openbadgedisplayer compatible with badgr

2018-08-28 Thread Kristina Hoeppner
** Changed in: mahara
   Status: Confirmed => In Progress

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1787507

Title:
  Make openbadgedisplayer compatible with badgr

Status in Mahara:
  In Progress

Bug description:
  We should alter the openbadgers displayer to be compatible with the
  API for badgr v1 and v2

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1787507/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1787583] Re: Redis support can't be used without sentinel (18.04)

2018-08-28 Thread Kristina Hoeppner
** Changed in: mahara
   Status: New => Triaged

** Changed in: mahara
   Importance: Undecided => Wishlist

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1787583

Title:
  Redis support can't be used without sentinel (18.04)

Status in Mahara:
  Triaged

Bug description:
  Redis support for the session handler was added in #1747297 (in 18.04)
  but the connector requires sentinel support (which isn't documented),
  and can't be used with the AWS Redis-as-a-service feature.

  Or at least, if it can, it's not clear how to actually do that,
  because all of the changes in
  
https://git.mahara.org/mahara/mahara/commit/edd6ec19a5c69ba18edaacd7054e2ea309fb
  seem to rely on having a sentinel set up and then overriding whatever
  might be otherwise set in the php.ini file to use a sentinel.

  It would be great if it could be configured to optionally use a
  sentinel server since there are some configurations where this
  absolutely makes sense, but there are some where it's not connecting
  to a sentinel server but services like AWS where it's just effectively
  a single Redis server without sentinel support.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1787583/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1788538] Re: Behat: should see in row step passes/fails for same text

2018-08-28 Thread Kristina Hoeppner
** Changed in: mahara
   Status: New => Confirmed

** Changed in: mahara
   Importance: Undecided => Medium

** Tags added: behat

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1788538

Title:
  Behat: should see in row step passes/fails for same text

Status in Mahara:
  Confirmed

Bug description:
  In making a step for 'I should not see "blah" in the "blah" row',
  I found a problem with 'I should see "blah" in the "blah" row'. 

  'And I should see "Edit General discussion" in the "General
  discussion" row' in the test below seems to pass regardless of whether
  it's true or not.  There's some hidden screen-reader text in the row
  that contains "Edit", but the full text is not in the page.

  I suspect it's an issue with how the xpath is being generated, or what
  is done with it. There's a line in the i_find_in_row function
  (BehatGeneral.php ln 495) that assigns a $rownode variable that is
  never used.

  @javascript @core
  Feature: Mahara users can participate in groups
As a mahara user
I need to participate in groups

  Background:
  Given the following "users" exist:
 | username | password | email | firstname | lastname | institution | 
authname | role |
 | UserA | Kupuh1pa! | us...@example.org | Angela | User | mahara | 
internal | member |
 | UserB | Kupuh1pa! | us...@example.org | Bob | User | mahara | 
internal | member |
 | UserC | Kupuh1pa! | us...@example.org | Cecilia | User | mahara | 
internal | member |
 | UserD | Kupuh1pa! | us...@example.org | Dmitri | User | mahara | 
internal | member |
 | UserE | Kupuh1pa! | us...@example.org | Evonne | User | mahara | 
internal | member |
  And the following "groups" exist:
 | name | owner | description | grouptype | open | invitefriends | 
editroles | submittableto | allowarchives | members | staff |
 | GroupA | UserA | GroupA owned by UserA | standard | ON | ON | all | 
ON | ON | UserB, UserC | UserD |

  Scenario: Verify group member can not see Edit forum or Delete forum only New 
topic and Unsubscribe from forum
  Given I log in as "UserB" with password "Kupuh1pa!"
  And I follow "GroupA"
  And I follow "Forums (tab)"
  Then I should see "Unsubscribe" in the "General discussion" row
  And I should see "Edit General discussion" in the "General discussion" row
  And I should not see "Delete General discussion" in the "General 
discussion" row

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1788538/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1788173] Re: Incorrect language strings in module_lti and module_mobileapi

2018-08-28 Thread Kristina Hoeppner
Hi Peter,

Do you want to fix that? Since it's a spelling mistake, you wouldn't
need to rename the string.

Cheers
Kristina


** Changed in: mahara
   Status: New => Confirmed

** Changed in: mahara
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1788173

Title:
  Incorrect language strings in module_lti and module_mobileapi

Status in Mahara:
  Confirmed

Bug description:
  Both module_lti and module_mobileapi contain the following language
  string:

  $string['configstep'] = 'Conguration item';

  This should read
  $string['configstep'] = 'Configuration item';

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1788173/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1788625] Re: auth/saml claims to require mcrypt - but mcrypt dropped from SSPHP

2018-08-28 Thread Kristina Hoeppner
*** This bug is a duplicate of bug 1784778 ***
https://bugs.launchpad.net/bugs/1784778

Thanks for the report. This is being dealt with in
https://reviews.mahara.org/#/c/9042/4

** This bug has been marked a duplicate of bug 1784778
   Peer assessment block

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1788625

Title:
  auth/saml claims to require mcrypt - but mcrypt dropped from SSPHP

Status in Mahara:
  New

Bug description:
  As of SimpleSAMLphp 1.15.0, their dependencies on mcrypt were removed
  as mcrypt is deprecated in PHP 7. Since current builds of Mahara use
  SimpleSAMLphp 1.15.0 or higher, the warning about no mcrypt could be
  removed.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1788625/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1788300] Re: Group collections not copyable on group homepage

2018-08-28 Thread Kristina Hoeppner
Hello Kevin,

Thank you for your report.

17.04: That's a limitation. In the "Group pages" block, only pages can
be copied. However, if you click on one of the pages and click the
"Copy" button then, you can copy the entire collection.

17.10 and 18.04.2: When I tested in 18.04.2 I had the "Copy page" button
and it copied the profile page.

That is a problem that needs to be fixed.

The following would be what needs fixing in 17.10+ (we are not going to
make any changes to the behaviour in 17.04 as the block displays pages
rather than collections):

Steps to reproduce:
1. Create a group
2. Create two pages in the group
3. Create a collection and add the pages
4. Share the pages in the collection and allow copying
Note: The individual pages to copy are no longer present - just the 
collection link
5. On the Group homepage - click "Copy" to copy the collection
6. Expected result: The collection is copied and you are taken through the 
normal screens. We can't display the modal to decide whether to copy the 
collection or a page because we are not on a specific page.
Actual Result: PROFILE PAGE IS COPIED INSTEAD (or on 17.10 / 18.04 it might 
be "Page not found")


** Changed in: mahara
   Status: New => Confirmed

** Changed in: mahara
   Importance: Undecided => High

** Also affects: mahara/17.10
   Importance: Undecided
   Status: New

** Also affects: mahara/18.10
   Importance: High
   Status: Confirmed

** Also affects: mahara/18.04
   Importance: Undecided
   Status: New

** Changed in: mahara/18.04
   Status: New => Confirmed

** Changed in: mahara/17.10
   Status: New => Confirmed

** Changed in: mahara/18.04
   Importance: Undecided => High

** Changed in: mahara/17.10
   Importance: Undecided => High

** Changed in: mahara/17.10
Milestone: None => 17.10.7

** Changed in: mahara/18.04
Milestone: None => 18.04.3

** Changed in: mahara/18.10
Milestone: None => 18.10.0

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1788300

Title:
  Group collections not copyable on group homepage

Status in Mahara:
  Confirmed
Status in Mahara 17.10 series:
  Confirmed
Status in Mahara 18.04 series:
  Confirmed
Status in Mahara 18.10 series:
  Confirmed

Bug description:
  Mahara 17.04.2  MySQL PHP 7.1   (OS - Linux (ubuntu))
  Mahara 17.10.3  MySQL PHP 7.1   (OS - Linux (ubuntu))
  Mahara 18.04.2  MySQL PHP 7.0   (OS - Linux (ubuntu))
  Mahara 18.04.3  MySQL PHP 7.0   (OS - MAC)
  Mahara Master Branch MySQL PHP 7.0  (OS - Linux (ubuntu))
  Browser: Chrome / Firefox / Safari

  Mahara 17.04.2
  Collections created by the group are not shared.
  1.  Create a Group page
  2.  Create two pages in the group page
  3.  Create a collection and add the pages
  4.  Share the pages in the collection and allow copying
  5.  On the group main page only the individual pages can be copied - the 
collections are not visible

  Mahara 17.10.3 and Mahara 18.04.2 Have the same behavior:
  Steps to reproduce:
  1.  Create a Group page
  2.  Create two pages in the group page
  3.  Create a collection and add the pages
  4.  Share the pages in the collection and allow copying
  Note: The individual pages to copy are no longer present - just the 
collection link
  5.  On the group main page - click Copy to copy the collection
  6.  Expected result: The collection is copied
  Actual Result: Page not found

  Mahara 18.04.03 and Mahara Master Branch
  Steps to reproduce:
  1.  Create a Group page
  2.  Create two pages in the group page
  3.  Create a collection and add the pages
  4.  Share the pages in the collection and allow copying
  Note: The individual pages to copy are no longer present - just the 
collection link
  5.  On the Group main page - click Copy to copy the collection
  6.  Expected result: The collection is copied
  Actual Result: PROFILE PAGE IS COPIED INSTEAD

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1788300/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1788300] Re: Group Collections Cannot be Copied

2018-08-28 Thread Kristina Hoeppner
Hello Kevin,

Thank you for your report.

17.04: That's a limitation. In the "Group pages" block, only pages can
be copied. However, if you click on one of the pages and click the
"Copy" button then, you can copy the entire collection.

17.10 and 18.04.2: When I tested in 18.04.2 I had the "Copy page" button
and it copied the profile page.

That is a problem that needs to be fixed.

The following would be what needs fixing in 17.10+ (we are not going to
make any changes to the behaviour in 17.04 as the block displays pages
rather than collections):

Steps to reproduce:
1. Create a Group page
2. Create two pages in the group page
3. Create a collection and add the pages
4. Share the pages in the collection and allow copying
Note: The individual pages to copy are no longer present - just the 
collection link
5. On the Group main page - click Copy to copy the collection
6. Expected result: The collection is copied
Actual Result: PROFILE PAGE IS COPIED INSTEAD (or on 17.10 / 18.04 it might 
be "Page not found")


** Summary changed:

- Group Collections Cannot be Copied
+ Group collections not copyable on group homepage

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1788300

Title:
  Group collections not copyable on group homepage

Status in Mahara:
  Confirmed
Status in Mahara 17.10 series:
  Confirmed
Status in Mahara 18.04 series:
  Confirmed
Status in Mahara 18.10 series:
  Confirmed

Bug description:
  Mahara 17.04.2  MySQL PHP 7.1   (OS - Linux (ubuntu))
  Mahara 17.10.3  MySQL PHP 7.1   (OS - Linux (ubuntu))
  Mahara 18.04.2  MySQL PHP 7.0   (OS - Linux (ubuntu))
  Mahara 18.04.3  MySQL PHP 7.0   (OS - MAC)
  Mahara Master Branch MySQL PHP 7.0  (OS - Linux (ubuntu))
  Browser: Chrome / Firefox / Safari

  Mahara 17.04.2
  Collections created by the group are not shared.
  1.  Create a Group page
  2.  Create two pages in the group page
  3.  Create a collection and add the pages
  4.  Share the pages in the collection and allow copying
  5.  On the group main page only the individual pages can be copied - the 
collections are not visible

  Mahara 17.10.3 and Mahara 18.04.2 Have the same behavior:
  Steps to reproduce:
  1.  Create a Group page
  2.  Create two pages in the group page
  3.  Create a collection and add the pages
  4.  Share the pages in the collection and allow copying
  Note: The individual pages to copy are no longer present - just the 
collection link
  5.  On the group main page - click Copy to copy the collection
  6.  Expected result: The collection is copied
  Actual Result: Page not found

  Mahara 18.04.03 and Mahara Master Branch
  Steps to reproduce:
  1.  Create a Group page
  2.  Create two pages in the group page
  3.  Create a collection and add the pages
  4.  Share the pages in the collection and allow copying
  Note: The individual pages to copy are no longer present - just the 
collection link
  5.  On the Group main page - click Copy to copy the collection
  6.  Expected result: The collection is copied
  Actual Result: PROFILE PAGE IS COPIED INSTEAD

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1788300/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 1788092] Re: unable to import a portfolio with images in the comments

2018-08-28 Thread Kristina Hoeppner
** Changed in: mahara
Milestone: None => 18.10.0

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1788092

Title:
  unable to import a portfolio with images in the comments

Status in Mahara:
  Confirmed

Bug description:
  This happens on master branch.

  How to test

   - create a portfolio page
   - add a comment with an image
   - export the page as leap2A
   - import it back

  Result: there is an error similar to

  [INF] 46 (import/index.php:246) Leap2A import failed: FATAL: XML not well 
formed
  Opening and ending tag mismatch: img line 87 and p

  Opening and ending tag mismatch: p line 87 and div

  Opening and ending tag mismatch: div line 87 and content

  Opening and ending tag mismatch: content line 87 and entry

  Opening and ending tag mismatch: entry line 80 and feed

  Premature end of data in tag feed line 2
  Import your portfolio Help

  Sorry - the import of your Leap2A file failed.

  This could be because you did not select a valid Leap2A file to upload
  or because the version of your Leap2A file is not supported by this
  Mahara version. Alternatively, there may be a bug in Mahara causing
  the import to fail, even though the Leap2A file is valid.

  Please go back and try again, and if the problem persists, you may
  want to post to the Mahara Forums to ask for help. Be prepared to be
  asked for a copy of your file.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1788092/+subscriptions

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp