[Mahara-contributors] [Bug 1955101] Re: PHPStan Level 1 bugs

2022-04-05 Thread Kristina Hoeppner
** Changed in: mahara
   Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1955101

Title:
  PHPStan Level 1 bugs

Status in Mahara:
  Fix Committed

Bug description:
   PHPStan Level 1 bugs - might not be defined errors

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1955101/+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 1940785] Re: Upgrade chrome-php to version 1.0

2022-04-05 Thread Kristina Hoeppner
** Changed in: mahara
Milestone: 22.04.0 => 22.10.0

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1940785

Title:
  Upgrade chrome-php to version 1.0

Status in Mahara:
  In Progress

Bug description:
  There is a newer version of chrome-php, version 1.0 out now but it
  currently requires php 7.3+ for it to install.

  At this stage 23 Aug 2021 the 0.11 version still is available but will
  most likely not be soon.

  So we will need to add the newer version as soon as we can

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1940785/+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 1943792] Re: Remote (MNet) collection submissions fail to release

2022-04-05 Thread Kristina Hoeppner
The MNet plugin has been replaced in favour of the webservices one in
Moodle. The fix does not resolve the issue, and the project team focuses
on LTI instead of MNet since Moodle is deprecating that more, and the
PHP XML-RPC plugin will not be included per default any more with PHP 8.

If the fix works locally for you, keep it there. :-)

** No longer affects: mahara/22.04

** No longer affects: mahara/21.10

** No longer affects: mahara/21.04

** No longer affects: mahara/20.10

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

** Changed in: mahara
   Status: In Progress => Won't Fix

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1943792

Title:
  Remote (MNet) collection submissions fail to release

Status in Mahara:
  Won't Fix

Bug description:
  Mahara 21.04.1
  Totara 12.?
  Mahara assignment submission 2017101601

  Set up MNet Connection from a Moodle/ Totara to Mahara allowing users from 
Moodle to log in to Mahara
  Install Mahara assignment submissions plugin to the Moodle site.
  Set up an assignment allowing Mahara submissions
   - lock submitted pages after grading

  
  Create a collection as a learner
  Log in to Moodle 
  Submit a Mahara collection to the assignment

  Log out

  Log in to Moodle as a teacher who does not have an account on Mahara
  Grade the submitted assignment and allow a new attempt

  Expected
  The collection and pages are released and a new attempt is available

  Actual
  Error is returned: optional_userobj no userid and no logged in user

  
  

  Diagnosis
  In /lib/collection.php relase()
  $releaseuser = optional_userobj($releaseuser);  

  $releaseuser does not exist. 
  Called in xmlrpc/lib.php release_submitted_view() 
  find_remote_user($teacherusername, $REMOTEWWWROOT)
  returns no user.

  This was introduced in 87f0664d3bae37184581425a995a6a534dc16c39 Bug
  1908837: Setting $releaseuser correctly

  Suggested fix
  In /lib/collection.php relase()
  wrap $releaseuser = optional_userobj($releaseuser);  in an if statement

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1943792/+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 1756904] Re: UTF8 character encoding problem in HTML export

2022-04-05 Thread Kristina Hoeppner
** Changed in: mahara
Milestone: 22.04.0 => 22.10.0

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1756904

Title:
  UTF8 character encoding problem in HTML export

Status in Mahara:
  In Progress

Bug description:
  - Tested in demo.mahara.org
  - Client Os : Windows
  - Chrome 64.0.3282.186, Firefox 58.0.2, Microsoft Edge 41.16299.248.0

  Steps to reproduce

  - Create a Portfolio page with UTF8 accents in Title.
  - Export to HTML with "All my data"
  - Url to the page in index.html contains accents
  - Look in the archive /views/ and the folder's page name contains undefined 
characters (Windows)

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1756904/+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 1749039] Re: Change what is reported in 'Latest changes I can view' and considered for mtime

2022-04-05 Thread Kristina Hoeppner
** Changed in: mahara
Milestone: 22.04.0 => 22.10.0

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1749039

Title:
  Change what is reported in 'Latest changes I can view' and considered
  for mtime

Status in Mahara:
  In Progress

Bug description:
  If we
  - have a collection of views
  - edit the access of a views in shared by me page
  - edit the access of a view from the view edit page

  The last modified time of the view does not update.

  Changing a view's access is a modification of the view in the sense
  that more/less people can see the view.

  We need to update the view's mtime to the same date as the view access
  ctime.

  Not doing so causes problems for advanced reporting where we find
  things via viewaccess time but display view mtime

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1749039/+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 1958091] Re: Repeated ids on SmartEvidence editor page

2022-04-05 Thread Kristina Hoeppner
** Changed in: mahara
Milestone: 22.04.0 => None

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1958091

Title:
  Repeated ids on SmartEvidence editor page

Status in Mahara:
  Confirmed

Bug description:
  Main/Chrome/Postgres/Ubuntu

  Scanning the page with axe Dev Tools revealed there are two places
  where two elements have the same id on the SmartEvidence editor page

  The  element which holds the tab headings in the 'Short name' section has 
the id 'Standard'.
  The  below this that holds the text fields has this same id.

  The same goes for the 'Standard elements' section.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1958091/+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 1962580] Re: Blocktype PDF - Missing command icons on PDF viewer

2022-04-05 Thread Kristina Hoeppner
Alex or Dianne, please check if the issue also happens on PDF.js itself
outside of Mahara, e.g. on their demo site if they have one.

** No longer affects: mahara/21.10

** Changed in: mahara/22.04
Milestone: 22.04.0 => 22.10.0

** No longer affects: mahara/22.04

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

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1962580

Title:
  Blocktype PDF - Missing command icons on PDF viewer

Status in Mahara:
  Incomplete

Bug description:
  Our Mahara 21.10 installation is on an Ubuntu 20.10 LTS Server running
  PHP 7.4.

  Using Safari in a view containing a PDF block the command button icons
  of the PDF viewer are not displayed (Buttons are graphically "empty").
  Nevertheless normal functionality is provided by clicking on those
  buttons.

  This issue doesn't appear on Firefox and Chrome. Looking at the
  console output it shows, that in Safari the icon svg files are fetched
  from a different location on the server than in Firefox and Chrome.

  
  Does anybody else has this issue?

  
  Cheers
  Alex

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1962580/+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 1939364] Re: Using plan templates throws an error on Collection creation when plan is associated with an assigned TaskView

2022-04-05 Thread Kristina Hoeppner
** Changed in: mahara
Milestone: 22.04.0 => 22.10.0

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1939364

Title:
  Using plan templates throws an error on Collection creation when plan
  is associated with an assigned TaskView

Status in Mahara:
  Incomplete

Bug description:
  The only situation I've found this is when we copy a group with plans.
  The functionality to duplicate a plan doesn't seem to be an option
  elsewhere.

  Create a plan template.
  Set it as a template with assignment tasks on.
  Create a task for that plan template, attaching a collection etc.
  Create a new plan from the template in a group.
  Submit without changing anything.
  Error is thrown.

  
  1. Create a page.
  2. Create a group and add five members.
  3. Create a personal plan with these settings: 
  1. Assignment tasks (Yes).
  2. Template (Yes).
  4. Create a task for the plan with these settings: 
  1. Select your a page to be the ‘Task page’.
  5. In your group, create a new plan from your personal plan template. 
  6. Check that once the template is applied, ‘Assignment tasks’ setting is 
‘Yes’.
  7. Press save.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1939364/+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 1957721] Re: Cannot share portfolio after it has been submitted

2022-04-05 Thread Kristina Hoeppner
The solution:

1. When you click the 'Manage access' option while you are in 'Display'
mode of a page, on saving the access permissions, you should be
redirected to the 'Display' mode, i.e. view.php.

2. No change: When you are in 'Edit' mode and click 'Manage access' and
you change permissions, you should be redirected to 'Edit' mode.

3. When you are on the 'Pages and collections' overview page and click
the 'Manage access' icon for a page or collection, finish with
permissions, you should be redirected to the 'Pages and collections'
overview page.

4. No change: When you are on 'Shared by me' and share a portfolio,
you'll be redirected to 'Shared by me'.

** Tags added: bite-sized

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

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1957721

Title:
  Cannot share portfolio after it has been submitted

Status in Mahara:
  Confirmed

Bug description:
  Environment: main branch, postgres, Firefox+Chromium

  Steps to reproduce:
  1. Create a controlled group that allows submissions
  2. Masquerade as a member of the group
  3. Submit a page to the group
  4. Return to the page you submitted, click 'Manage access'
  5. Share with a person, admin account

  Expected outcome:
  Portfolio is able to be shared with admin account

  Actual outcome:
  Access denied error: You do not have access to view this page.
  You cannot edit this page because it has been submitted for assessment to 
"Submissions Testing". You will have to wait until a tutor releases the page.

  Note: people should be able to share their portfolios even after they
  have been submitted.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1957721/+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 1968460] [NEW] Language string review for Mahara 22.04

2022-04-10 Thread Kristina Hoeppner
Public bug reported:

General language string review now that the features have been merged.

** Affects: mahara
 Importance: High
 Assignee: Kristina Hoeppner (kris-hoeppner)
 Status: In Progress

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1968460

Title:
  Language string review for Mahara 22.04

Status in Mahara:
  In Progress

Bug description:
  General language string review now that the features have been merged.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1968460/+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 1915088] Re: Export all accounts via cli

2022-04-10 Thread Kristina Hoeppner
** Changed in: mahara
Milestone: None => 22.10.0

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1915088

Title:
  Export all accounts via cli

Status in Mahara:
  Confirmed

Bug description:
  There should be cli script where user can export portfolios from csv
  file or from database...

  With options like 
  - limit,offset
  - filepath
  - exportformat etc

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1915088/+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 1968241] Re: SmartEvidence manage page collection error

2022-04-10 Thread Kristina Hoeppner
** Summary changed:

- Smart evidence manage page collection error
+ SmartEvidence manage page collection error

** 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: mahara-contributors
https://bugs.launchpad.net/bugs/1968241

Title:
  SmartEvidence manage page collection error

Status in Mahara:
  In Progress

Bug description:
  Smart evidence manage page not showing the number of collections the
  framework is used in

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1968241/+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 1966816] Re: Uggrading causes an error around the supportadmin filed not being present

2022-04-10 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: mahara-contributors
https://bugs.launchpad.net/bugs/1966816

Title:
  Uggrading causes an error around the supportadmin filed not being
  present

Status in Mahara:
  In Progress

Bug description:
  When trying to upgrade from an older version we can encounter this problem at 
the step
  lib/db/upgrade.php line 2276 - Updating description text block image src 
attributes missing text parameter in url

  Failed to get a recordset: postgres9 error: [-1: ERROR:  column
  u.supportadmin does not exist

  This is because the upgrade step that happens at 2021121500 calls a
  function that has a change in it for support admins but the db column
  isn't added until 2022031500

  We need to adjust the function to only contain the new db column once
  site is newer than 2022031500

  diff --git a/htdocs/lib/user.php b/htdocs/lib/user.php
  index 1f3be84148..cc4cdf19f9 100644
  --- a/htdocs/lib/user.php
  +++ b/htdocs/lib/user.php
  @@ -1981,9 +1981,13 @@ function load_user_institutions($userid) {
   
   $logoxs = db_column_exists('institution', 'logoxs') ? ',i.logoxs' : '';
   $tags = db_column_exists('institution', 'tags') ? ',i.tags' : '';
  +$supportadmin = '';
  +if (get_config('version') > 2022031500) {
  +$supportadmin = ' u.supportadmin,';
  +}
   if ($userid !== 0 && $institutions = get_records_sql_assoc('
   SELECT u.institution, ' . db_format_tsfield('ctime') . ',' . 
db_format_tsfield('u.expiry', 'membership_expiry') . ',
  -   u.studentid, u.staff, u.admin, u.supportadmin, i.displayname, 
i.theme, i.registerallowed, i.showonlineusers,
  +   u.studentid, u.staff, u.admin,' . $supportadmin . ' 
i.displayname, i.theme, i.registerallowed, i.showonlineusers,
  i.allowinstitutionpublicviews, i.logo' . $logoxs . ', 
i.style, i.licensemandatory, i.licensedefault,
  i.dropdownmenu, i.skins, i.suspended' . $tags . '
   FROM {usr_institution} u INNER JOIN {institution} i ON u.institution 
= i.name

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1966816/+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 1966816] Re: Uggrading causes an error around the supportadmin filed not being present

2022-04-10 Thread Kristina Hoeppner
This is a follow-on for the new functionality in bug #1953411

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1966816

Title:
  Uggrading causes an error around the supportadmin filed not being
  present

Status in Mahara:
  In Progress

Bug description:
  When trying to upgrade from an older version we can encounter this problem at 
the step
  lib/db/upgrade.php line 2276 - Updating description text block image src 
attributes missing text parameter in url

  Failed to get a recordset: postgres9 error: [-1: ERROR:  column
  u.supportadmin does not exist

  This is because the upgrade step that happens at 2021121500 calls a
  function that has a change in it for support admins but the db column
  isn't added until 2022031500

  We need to adjust the function to only contain the new db column once
  site is newer than 2022031500

  diff --git a/htdocs/lib/user.php b/htdocs/lib/user.php
  index 1f3be84148..cc4cdf19f9 100644
  --- a/htdocs/lib/user.php
  +++ b/htdocs/lib/user.php
  @@ -1981,9 +1981,13 @@ function load_user_institutions($userid) {
   
   $logoxs = db_column_exists('institution', 'logoxs') ? ',i.logoxs' : '';
   $tags = db_column_exists('institution', 'tags') ? ',i.tags' : '';
  +$supportadmin = '';
  +if (get_config('version') > 2022031500) {
  +$supportadmin = ' u.supportadmin,';
  +}
   if ($userid !== 0 && $institutions = get_records_sql_assoc('
   SELECT u.institution, ' . db_format_tsfield('ctime') . ',' . 
db_format_tsfield('u.expiry', 'membership_expiry') . ',
  -   u.studentid, u.staff, u.admin, u.supportadmin, i.displayname, 
i.theme, i.registerallowed, i.showonlineusers,
  +   u.studentid, u.staff, u.admin,' . $supportadmin . ' 
i.displayname, i.theme, i.registerallowed, i.showonlineusers,
  i.allowinstitutionpublicviews, i.logo' . $logoxs . ', 
i.style, i.licensemandatory, i.licensedefault,
  i.dropdownmenu, i.skins, i.suspended' . $tags . '
   FROM {usr_institution} u INNER JOIN {institution} i ON u.institution 
= i.name

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1966816/+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 1968517] [NEW] Missing string for support admin

2022-04-10 Thread Kristina Hoeppner
Public bug reported:

The success alert string [[supportadminusersupdated/admin]] is missing a
language string.

To replicate:

1. Add a new institution to your site.
2. Add an institution member as support admin and save.

Results:
- Expected: The green alert at the top of the page has text.
- Actual: The green alert only shows a missing string 
[[supportadminusersupdated/admin]]

** Affects: mahara
 Importance: Medium
 Status: In Progress

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1968517

Title:
  Missing string for support admin

Status in Mahara:
  In Progress

Bug description:
  The success alert string [[supportadminusersupdated/admin]] is missing
  a language string.

  To replicate:

  1. Add a new institution to your site.
  2. Add an institution member as support admin and save.

  Results:
  - Expected: The green alert at the top of the page has text.
  - Actual: The green alert only shows a missing string 
[[supportadminusersupdated/admin]]

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1968517/+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 1890356] Re: Upgrade: Elasticsearch-PHP 6.1.0 to latest

2022-04-11 Thread Kristina Hoeppner
** Tags added: newfeature

** Summary changed:

- Upgrade: Elasticsearch-PHP 6.1.0 to latest
+ Implement Elasticsearch 7

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

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1890356

Title:
  Implement Elasticsearch 7

Status in Mahara:
  Fix Committed

Bug description:
  Related to https://bugs.launchpad.net/mahara/+bug/1865115

  Currently Elasticsearch-PHP is at version 6.1.0. We will update this
  to version 7.X, i.e. the latest in the 7. series

  https://github.com/elastic/elasticsearch-php/releases

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1890356/+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 1968668] Re: Embedded images not displaying with MySQL

2022-04-12 Thread Kristina Hoeppner
** Changed in: mahara
   Status: New => In Progress

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

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1968668

Title:
  Embedded images not displaying with MySQL

Status in Mahara:
  In Progress

Bug description:
  Tested on main in Firefox with MySQL

  Steps to reproduce:
  1. Create a page
  2. Add a text block to a page
  3. In the text block content, embed an uploaded image and save the block

  Expected result:
   - Embedded image is visible in page view in both edit and display mode

  Actual result
   - Embedded image not visible in either edit or display mode, just the 
filename

  Clicking on the link to the file gives this error:
  [WAR] 87 (lib/errors.php:530) [ADODB_Exception]: mysqli error: [1064: You 
have an error in your SQL syntax; check the manual that corresponds to your 
MySQL server version for the right syntax to use near '?' at line 1] in 
EXECUTE("SHOW VARIABLES LIKE ?") at 
/home/diannetennent/code/mahara/htdocs/lib/adodb/adodb-exceptions.inc.php:86

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1968668/+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 1962246] Re: Upgrade dropzone from 5.9.2 to 5.9.3

2022-04-12 Thread Kristina Hoeppner
** 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: mahara-contributors
https://bugs.launchpad.net/bugs/1962246

Title:
  Upgrade dropzone from 5.9.2 to 5.9.3

Status in Mahara:
  Fix Committed

Bug description:
  https://github.com/dropzone/dropzone/blob/main/CHANGELOG.md

  Fix incorrect resize method used for creating thumbnails of existing
  files

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1962246/+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 1968769] [NEW] SmartEvidence status summary information

2022-04-12 Thread Kristina Hoeppner
Public bug reported:

A row is added to the SmartEvidence overview page at the top and bottom
of the matrix that provides a total for each status that is displayed on
the page. Whether a status is displayed or not is governed by the
framework setup in the site administration (existing functionality).

** Affects: mahara
 Importance: Wishlist
 Status: Confirmed

** Attachment added: "sum.png"
   https://bugs.launchpad.net/bugs/1968769/+attachment/5580108/+files/sum.png

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1968769

Title:
  SmartEvidence status summary information

Status in Mahara:
  Confirmed

Bug description:
  A row is added to the SmartEvidence overview page at the top and
  bottom of the matrix that provides a total for each status that is
  displayed on the page. Whether a status is displayed or not is
  governed by the framework setup in the site administration (existing
  functionality).

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1968769/+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 1968770] [NEW] SmartEvidence report

2022-04-12 Thread Kristina Hoeppner
Public bug reported:

The report will be based on the 'Portfolio access' report as that
contains information suitable for this report to review the
SmartEvidence information as well as quickly double check that the
correct number of pages is included, especially when a template is used,
and also who has access to the portfolio. It does not require event log
reporting or Elasticsearch.

Existing functionality: 
- The report contains a number of pieces of information. While not all columns 
need to be shown on the interface, they are always included in the downloadable 
file. The downloadable CSV file also always contains all results and not only 
those shown on screen.
- Links to collections will only be available if the person viewing this report 
has access to the collections.

Report components to be set up based on the portfolio access report:
- Owner (first name and last name)*
- Display name
- ID number
- Email address
- Collection (title of the collection that has a SmartEvidence overview page)*
- Pages (number of pages in the portfolio)
- Access list (list of entities who have access to the portfolio)
- A column each for all available statuses with the sum showing for the entire 
collection*

Columns with a * are automatically selected and cannot be deselected.
Other columns can be selected for on-screen display.

The time period will report over collections created within the
specified time frame.

** Affects: mahara
 Importance: Wishlist
 Status: Confirmed

** Attachment added: "report.png"
   https://bugs.launchpad.net/bugs/1968770/+attachment/5580119/+files/report.png

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1968770

Title:
  SmartEvidence report

Status in Mahara:
  Confirmed

Bug description:
  The report will be based on the 'Portfolio access' report as that
  contains information suitable for this report to review the
  SmartEvidence information as well as quickly double check that the
  correct number of pages is included, especially when a template is
  used, and also who has access to the portfolio. It does not require
  event log reporting or Elasticsearch.

  Existing functionality: 
  - The report contains a number of pieces of information. While not all 
columns need to be shown on the interface, they are always included in the 
downloadable file. The downloadable CSV file also always contains all results 
and not only those shown on screen.
  - Links to collections will only be available if the person viewing this 
report has access to the collections.

  Report components to be set up based on the portfolio access report:
  - Owner (first name and last name)*
  - Display name
  - ID number
  - Email address
  - Collection (title of the collection that has a SmartEvidence overview page)*
  - Pages (number of pages in the portfolio)
  - Access list (list of entities who have access to the portfolio)
  - A column each for all available statuses with the sum showing for the 
entire collection*

  Columns with a * are automatically selected and cannot be deselected.
  Other columns can be selected for on-screen display.

  The time period will report over collections created within the
  specified time frame.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1968770/+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 1968773] [NEW] Improve UX for sign-off and verification

2022-04-12 Thread Kristina Hoeppner
Public bug reported:

The sign-off and verification icons on a page are sometimes cause for
confusion as they are not immediately associated with an action to be
performed.

We are going to change the icons on the page to Yes/No switches but
leave the icons in place on the portfolio completion overview page.
Mock-ups to follow.

** Affects: mahara
 Importance: Wishlist
 Assignee: Robert Lyon (robertl-9)
 Status: Confirmed

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1968773

Title:
  Improve UX for sign-off and verification

Status in Mahara:
  Confirmed

Bug description:
  The sign-off and verification icons on a page are sometimes cause for
  confusion as they are not immediately associated with an action to be
  performed.

  We are going to change the icons on the page to Yes/No switches but
  leave the icons in place on the portfolio completion overview page.
  Mock-ups to follow.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1968773/+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 1968799] [NEW] Position the draggable arrow correctly in Gridstack

2022-04-12 Thread Kristina Hoeppner
Public bug reported:

When upgrading to Gridstack 4, the little draggable arrow is not well
positioned.

** Affects: mahara
 Importance: Medium
 Assignee: Evonne Cheung (evonne)
 Status: In Progress

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1968799

Title:
  Position the draggable arrow correctly in Gridstack

Status in Mahara:
  In Progress

Bug description:
  When upgrading to Gridstack 4, the little draggable arrow is not well
  positioned.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1968799/+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 1968939] [NEW] 'Archived submissions' export CSV doesn't contain all columns

2022-04-13 Thread Kristina Hoeppner
Public bug reported:

This is a regression introduced in bug #1952540

The CSV generated on the tab 'Archived submissions' does not contain the 
following three columns any more even though they need to be present:
- filetitle
- filepath
- filename

These columns are not to be added for the 'Current submissions'. In bug
#1952540 they were removed from 'Current submissions' and also
unfortunately from 'Archived submissions'.

** Affects: mahara
 Importance: High
 Status: Confirmed

** Affects: mahara/21.10
 Importance: High
 Status: Confirmed

** Affects: mahara/22.04
 Importance: High
 Status: Confirmed


** Tags: regression

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

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

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

** No longer affects: mahara/22.10

** Changed in: mahara/21.10
Milestone: None => 21.10.2

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

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

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1968939

Title:
  'Archived submissions' export CSV doesn't contain all columns

Status in Mahara:
  Confirmed
Status in Mahara 21.10 series:
  Confirmed
Status in Mahara 22.04 series:
  Confirmed

Bug description:
  This is a regression introduced in bug #1952540

  The CSV generated on the tab 'Archived submissions' does not contain the 
following three columns any more even though they need to be present:
  - filetitle
  - filepath
  - filename

  These columns are not to be added for the 'Current submissions'. In
  bug #1952540 they were removed from 'Current submissions' and also
  unfortunately from 'Archived submissions'.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1968939/+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 1968668] Re: Embedded images not displaying with MySQL

2022-04-13 Thread Kristina Hoeppner
** Changed in: mahara
Milestone: 22.04rc2 => 22.04.0

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1968668

Title:
  Embedded images not displaying with MySQL

Status in Mahara:
  In Progress

Bug description:
  Tested on main in Firefox with MySQL

  Steps to reproduce:
  1. Create a page
  2. Add a text block to a page
  3. In the text block content, embed an uploaded image and save the block

  Expected result:
   - Embedded image is visible in page view in both edit and display mode

  Actual result
   - Embedded image not visible in either edit or display mode, just the 
filename

  Clicking on the link to the file gives this error:
  [WAR] 87 (lib/errors.php:530) [ADODB_Exception]: mysqli error: [1064: You 
have an error in your SQL syntax; check the manual that corresponds to your 
MySQL server version for the right syntax to use near '?' at line 1] in 
EXECUTE("SHOW VARIABLES LIKE ?") at 
/home/diannetennent/code/mahara/htdocs/lib/adodb/adodb-exceptions.inc.php:86

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1968668/+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 1968799] Re: Position the draggable arrow correctly in Gridstack

2022-04-15 Thread Kristina Hoeppner
** Changed in: mahara
Milestone: 22.04rc2 => 22.04.0

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1968799

Title:
  Position the draggable arrow correctly in Gridstack

Status in Mahara:
  Fix Committed

Bug description:
  When upgrading to Gridstack 4, the little draggable arrow is not well
  positioned.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1968799/+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 1968668] Re: Embedded images not displaying with MySQL

2022-04-15 Thread Kristina Hoeppner
** Changed in: mahara
   Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1968668

Title:
  Embedded images not displaying with MySQL

Status in Mahara:
  Fix Committed

Bug description:
  Tested on main in Firefox with MySQL

  Steps to reproduce:
  1. Create a page
  2. Add a text block to a page
  3. In the text block content, embed an uploaded image and save the block

  Expected result:
   - Embedded image is visible in page view in both edit and display mode

  Actual result
   - Embedded image not visible in either edit or display mode, just the 
filename

  Clicking on the link to the file gives this error:
  [WAR] 87 (lib/errors.php:530) [ADODB_Exception]: mysqli error: [1064: You 
have an error in your SQL syntax; check the manual that corresponds to your 
MySQL server version for the right syntax to use near '?' at line 1] in 
EXECUTE("SHOW VARIABLES LIKE ?") at 
/home/diannetennent/code/mahara/htdocs/lib/adodb/adodb-exceptions.inc.php:86

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1968668/+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 1968632] Re: Elasticsearch and "ignoressl"

2022-04-15 Thread Kristina Hoeppner
** Changed in: mahara
   Status: New => Confirmed

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

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

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1968632

Title:
  Elasticsearch and "ignoressl"

Status in Mahara:
  Confirmed

Bug description:
  I've just stood up a development version of ES7 and am getting this
  error on the plugin page:

  Error: SSL certificate problem: unable to get local issuer certificate

  I have tracked this down to "ignoressl" being set while
  "productionmode" was "true".  The "ignoressl" is *only* used if
  "productionmode" is "false.

  This feels like documentation fix in dev/elasticsearch/README.md and
  maybe config-environment.php.

  Perhaps also in "PluginSearchElasticsearch7::plugin_status_access()"
  to make it a quick thing to check should it crop up again.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1968632/+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 1966363] Re: The SAML change for affiliated emails not working correctly

2022-04-15 Thread Kristina Hoeppner
** Tags added: newfeature

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1966363

Title:
  The SAML change for affiliated emails not working correctly

Status in Mahara:
  Fix Committed

Bug description:
  When a new person is created via saml login and they have affiliated
  emails coming thru then all the emails are added to the person along
  with the one in the 'email' option and the one that is made primary
  will be the one that comes from the affiliation where their permission
  is highest.

  But when they log in again their affiliated emails are ignored.

  This would be fine if all people only ever logged in after the change.

  But if there are existing people in the site then they never get their
  affiliated emails

  We need to do some logic for updating existing people on SAML login

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1966363/+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 1959049] Re: Cannot disable external apps & saving settings for External Apps does not give confirm message

2022-04-15 Thread Kristina Hoeppner
** Changed in: mahara
   Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1959049

Title:
  Cannot disable external apps & saving settings for External Apps does
  not give confirm message

Status in Mahara:
  Fix Committed

Bug description:
  Related to this bug: https://bugs.launchpad.net/mahara/+bug/1947528

  When updating the an external apps configuration settings, there are two 
issues:
  1. There is no confirm message to say that the settings were updated
  2. The enable switch remains on 'Yes' even when you switch it to 'No'

  Steps to reproduce:
  1. Go to Web services>External Apps
  2. Type a new name in the 'Application' field.
  3. Select LTI 1.1 from the dropdown
  4. Click 'Add' (you will be taken to the edit screen)
  5. Click 'Save'

  Expected outcome:
   - Redirected to main external apps page, with a confirmation banner saying 
'The configuration settings for x app have been saved.'

  Actual outcome:
   - Edit page reloads with no confirmation message

  Continued:
  6. On the app's edit page, click the 'Enabled' switch to change it to 'No'
  7. Click 'Save'

  Expected outcome
   - Redirected to main external apps page, with a confirmation banner saying 
'The configuration settings for x app have been saved.'
  - When revisiting the edit page for this app, the 'Enabled' switch should be 
set to 'No'

  Actual outcome
   - Edit page reloads with no confirmation message
   - 'Enabled' switch has changed back to 'Yes'

  Will only need to check for apps registered with LTI, Moodle and LTI
  Advantage (Not mobile or other non-oauth apps: This has already been
  prevented in this patch here: https://reviews.mahara.org/12330)

  It may also be worth checking with an external app that has been
  registered with a custom webservice group that uses an LTI function.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1959049/+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 1966366] Re: Add group page comments in pagecomments behat step

2022-04-15 Thread Kristina Hoeppner
** Tags added: newfeature

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1966366

Title:
  Add group page comments in pagecomments behat step

Status in Mahara:
  Fix Committed

Bug description:
  Include group page comments into the pagecomments behat step

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1966366/+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 1950920] Re: Export SmartEvidence from Mahara to json file

2022-04-15 Thread Kristina Hoeppner
** Tags added: newfeature

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1950920

Title:
  Export SmartEvidence from Mahara to json file

Status in Mahara:
  Fix Committed

Bug description:
  To allow us to edit the matrix externally and then reload it up again

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1950920/+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 1968800] Re: Move account holders in bulk via CSV into another institution

2022-04-15 Thread Kristina Hoeppner
** Summary changed:

- Enhancement: User CSV upload to move users to new institution
+ Move account holders in bulk via CSV into another institution

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

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

** 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: mahara-contributors
https://bugs.launchpad.net/bugs/1968800

Title:
  Move account holders in bulk via CSV into another institution

Status in Mahara:
  In Progress

Bug description:
  Mahara: master
  OS: any
  DB: any
  Browser: any

  Curtin University in Perth, Australia ( https://www.curtin.edu.au/ )
  would like to contribute a recent enhancement they applied to the User
  CSV bulk upload.

  Background: The university would like a mechanism to bulk move
  students recently graduated to an alumni institution.

  
  Modify the ‘Add people by CSV’ screen with the following:
  1. Repurpose the drop-down list of institution and authentication method:
  ▪ The screen currently has a list of authentication drop-down. But, if 
updating a user, they must belong to the institution with that authentication. 
Remove this restriction and change logic so it's to "move" user to the new 
institution/authentication.

  2. Repurpose the 'Force password' change button to send a link that requires 
students to set a password, like a first-time password link that also shows 
them their username.
  ▪ In the email, include that they have been added to the new institution.
  ▪ If possible, prevent the sending of a second email when adding the user to 
to a new institution. Otherwise, the users will receive 2 emails (password 
reset and new institution subscription).

  3. Repurpose the 'Email people about their account' switch to send the 
details off to the students.
  ▪ Currently, this switch is only applicable for new accounts.

  4. If the old user institution uses ‘remoteuser’ (i.e. LTI does) and
  new institution does not (i.e. manual), remove the ‘remoteuser’
  record.

  
  5. If the user is in more than one institution, remove them from both 
institutions and move them to the new institution.

  
  6.  All other functionality on the page will remain the same.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1968800/+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 1969257] [NEW] General page instructions lost when there are specific instructions are set

2022-04-15 Thread Kristina Hoeppner
Public bug reported:

This is a regression introduced in bug #1955600: When there are specific
page instructions set, the general text "This is a preview of your page.
Changes are saved automatically..." is removed. This shouldn't happen
because this text, especially also the accessible text is important to
keep.

To replicate:

1. Create a new page.
2. View it in 'Edit mode'. The general information on editing a page are 
displayed, starting with 'This is a preview...".
3. Add instructions via 'Settings' -> 'Advanced'.

Results:
- Expected: The general information text is still displayed when switching to 
'Edit' mode.
- Actual: The general information text is removed.

** Affects: mahara
 Importance: High
 Assignee: Dianne Tennent (dianne-t)
 Status: Confirmed


** Tags: regression

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1969257

Title:
  General page instructions lost when there are specific instructions
  are set

Status in Mahara:
  Confirmed

Bug description:
  This is a regression introduced in bug #1955600: When there are
  specific page instructions set, the general text "This is a preview of
  your page. Changes are saved automatically..." is removed. This
  shouldn't happen because this text, especially also the accessible
  text is important to keep.

  To replicate:

  1. Create a new page.
  2. View it in 'Edit mode'. The general information on editing a page are 
displayed, starting with 'This is a preview...".
  3. Add instructions via 'Settings' -> 'Advanced'.

  Results:
  - Expected: The general information text is still displayed when switching to 
'Edit' mode.
  - Actual: The general information text is removed.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1969257/+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 1969258] [NEW] Move 'Embedded URLs' into correct alphabetical position in 'Development' menu

2022-04-15 Thread Kristina Hoeppner
Public bug reported:

Follow-on from bug #1952986:

The 'Embedded URLs' menu option in Admin menu → Development is not
sitting in alphabetical order but at the bottom of the list. Since all
other items are listed alphabetically, so should this menu item.

** Affects: mahara
 Importance: High
 Status: In Progress

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1969258

Title:
  Move 'Embedded URLs' into correct alphabetical position in
  'Development' menu

Status in Mahara:
  In Progress

Bug description:
  Follow-on from bug #1952986:

  The 'Embedded URLs' menu option in Admin menu → Development is not
  sitting in alphabetical order but at the bottom of the list. Since all
  other items are listed alphabetically, so should this menu item.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1969258/+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 1969259] [NEW] Fix 'Embedded URLs' language strings

2022-04-15 Thread Kristina Hoeppner
Public bug reported:

Some small updates to the 'Embedded URLs' language strings

** Affects: mahara
 Importance: Medium
 Status: In Progress

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1969259

Title:
  Fix 'Embedded URLs' language strings

Status in Mahara:
  In Progress

Bug description:
  Some small updates to the 'Embedded URLs' language strings

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1969259/+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 1969260] [NEW] Add page icons to 'Development' options

2022-04-15 Thread Kristina Hoeppner
Public bug reported:

A few pages in Admin menu → Development didn't yet have page icons set:

- Behat steps
- Component library
- Style guide

Now they do.

** Affects: mahara
 Importance: Medium
 Status: In Progress

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1969260

Title:
  Add page icons to 'Development' options

Status in Mahara:
  In Progress

Bug description:
  A few pages in Admin menu → Development didn't yet have page icons
  set:

  - Behat steps
  - Component library
  - Style guide

  Now they do.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1969260/+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 1969261] [NEW] Change 'Sync' to 'Update' on 'Languages' ad we refer to the updating of lang packs

2022-04-15 Thread Kristina Hoeppner
Public bug reported:

This is a follow-up on the new feature bug #1884717

Currently, the button to update language packs on Admin menu →
Development → Languages is called 'Sync', but we speak of an update on
the page and thus should use that language on the button as well.

** Affects: mahara
 Importance: Medium
 Status: In Progress

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1969261

Title:
  Change 'Sync' to 'Update' on 'Languages' ad we refer to the updating
  of lang packs

Status in Mahara:
  In Progress

Bug description:
  This is a follow-up on the new feature bug #1884717

  Currently, the button to update language packs on Admin menu →
  Development → Languages is called 'Sync', but we speak of an update on
  the page and thus should use that language on the button as well.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1969261/+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 1969288] [NEW] Add that institution support admins can also access staff reports

2022-04-16 Thread Kristina Hoeppner
Public bug reported:

Follow-up for new support admin role feature in bug #1953411: The text
for access to reports for staff needs to be amended to include
institution support administrators.

** Affects: mahara
 Importance: Medium
 Status: In Progress

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1969288

Title:
  Add that institution support admins can also access staff reports

Status in Mahara:
  In Progress

Bug description:
  Follow-up for new support admin role feature in bug #1953411: The text
  for access to reports for staff needs to be amended to include
  institution support administrators.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1969288/+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 1942035] Re: Add 'title' to buttons that includes info about the element for uniqueness

2022-04-16 Thread Kristina Hoeppner
** Description changed:

  Many buttons (and some links) in Mahara are in tables or lists, e.g. on the 
institution settings page, in web services, on 'Shared by me'. A screen reader 
only reads the following for exmaple:
  - Edit
  - Edit
  - Edit
  
  and thus can't differentiate whether the first 'Edit' is for page 'Test'
  or 'Learning' etc.
  
  We should uniquely identify these. Some of the buttons already do that
  well, e.g. Admin menu -> Web services -> External apps. Even sighted
  people see a title for the button that includes the element on which the
  action is performed.
  
  On Admin menu -> Institutions -> Settings the buttons have alt text, but
  no title. The title would bring up the 'tooltip' for sighted people and
  thus make it clearer what the button does that only has an icon but no
  text.
  
+ On Admin menu -> Extensions -> SmartEvidence, the buttons have a generic
+ screenreader only text.
+ 
  We should therefore have the same behaviour for every button in Mahara
  and add that helper text to identify the elements on which the actions
  are performed correctly. Check with the accessibility team what should
  be used to help both sighted and non-sighted people.
  
  My current preference is to make sure that on hover a button displays
  the title rather than only making that information available to screen
  readers when we have a list of items. Whether such a title is sufficient
  for screen readers or whether we also need 'alt' or special screen
  reader tags will need to be decided based on accessibility best
  practices.
  
  Before making any changes, please propose the plan going forward as
  there are lots of places in Mahara that would need to be changed.
+ 
+ A recent example where we've gone with a tooltip instead of aria labels
+ is bug 1489259 because then both sighted and non-sighted people benefit.

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1942035

Title:
  Add 'title' to buttons that includes info about the element for
  uniqueness

Status in Mahara:
  Confirmed

Bug description:
  Many buttons (and some links) in Mahara are in tables or lists, e.g. on the 
institution settings page, in web services, on 'Shared by me'. A screen reader 
only reads the following for exmaple:
  - Edit
  - Edit
  - Edit

  and thus can't differentiate whether the first 'Edit' is for page
  'Test' or 'Learning' etc.

  We should uniquely identify these. Some of the buttons already do that
  well, e.g. Admin menu -> Web services -> External apps. Even sighted
  people see a title for the button that includes the element on which
  the action is performed.

  On Admin menu -> Institutions -> Settings the buttons have alt text,
  but no title. The title would bring up the 'tooltip' for sighted
  people and thus make it clearer what the button does that only has an
  icon but no text.

  On Admin menu -> Extensions -> SmartEvidence, the buttons have a
  generic screenreader only text.

  We should therefore have the same behaviour for every button in Mahara
  and add that helper text to identify the elements on which the actions
  are performed correctly. Check with the accessibility team what should
  be used to help both sighted and non-sighted people.

  My current preference is to make sure that on hover a button displays
  the title rather than only making that information available to screen
  readers when we have a list of items. Whether such a title is
  sufficient for screen readers or whether we also need 'alt' or special
  screen reader tags will need to be decided based on accessibility best
  practices.

  Before making any changes, please propose the plan going forward as
  there are lots of places in Mahara that would need to be changed.

  A recent example where we've gone with a tooltip instead of aria
  labels is bug 1489259 because then both sighted and non-sighted people
  benefit.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1942035/+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 1969295] [NEW] Add 'Edit support administrators' to the 'Edit' button on institution overview page

2022-04-16 Thread Kristina Hoeppner
Public bug reported:

Follow-on from the new institution support admin role introduced in bug
#1953411

When you have at least one institution at Admin menu → Institutions, you
see the 'Edit' button for quick access to editing members, staff, and
administrators. The institution support admin role is missing there.

** Affects: mahara
 Importance: Medium
 Status: In Progress

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1969295

Title:
  Add 'Edit support administrators' to the 'Edit' button on institution
  overview page

Status in Mahara:
  In Progress

Bug description:
  Follow-on from the new institution support admin role introduced in
  bug #1953411

  When you have at least one institution at Admin menu → Institutions,
  you see the 'Edit' button for quick access to editing members, staff,
  and administrators. The institution support admin role is missing
  there.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1969295/+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 1969298] [NEW] Update Elasticsearch 7 language strings

2022-04-17 Thread Kristina Hoeppner
Public bug reported:

Some language strings need updating to match the conventions.

** Affects: mahara
 Importance: Medium
 Status: In Progress

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1969298

Title:
  Update Elasticsearch 7 language strings

Status in Mahara:
  In Progress

Bug description:
  Some language strings need updating to match the conventions.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1969298/+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 1966363] Re: Check for affiliated emails whenever logging in via SAML if option is set

2022-04-17 Thread Kristina Hoeppner
** Summary changed:

- The SAML change for affiliated emails not working correctly
+ Check for affiliated emails whenever logging in via SAML if option is set

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1966363

Title:
  Check for affiliated emails whenever logging in via SAML if option is
  set

Status in Mahara:
  Fix Committed

Bug description:
  When a new person is created via saml login and they have affiliated
  emails coming thru then all the emails are added to the person along
  with the one in the 'email' option and the one that is made primary
  will be the one that comes from the affiliation where their permission
  is highest.

  But when they log in again their affiliated emails are ignored.

  This would be fine if all people only ever logged in after the change.

  But if there are existing people in the site then they never get their
  affiliated emails

  We need to do some logic for updating existing people on SAML login

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1966363/+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 1969385] [NEW] Fix maximum number of allowed accounts

2022-04-18 Thread Kristina Hoeppner
Public bug reported:

On dev.mahara.org after putting the 22.04RC1 on it, I'm getting
notifications that the maximum nubmer of accounts has been reached in
'No instiutiton' even though that institution doesn't have an account
limit.

Robert investigated and found:

This bit is wrong:


/**
 * Returns true if the institution already has its full quota of users
 * assigned to it.
 *
 * @return bool
 */
public function isFull() {
return ($this->maxuseraccounts != '') && ($this->countMembers() >= 
$this->maxuseraccounts);
}
---

needs to be:   return (!empty($this->maxuseraccounts) && ($this->countMembers() 
>= $this->maxuseraccounts);
so that if $this->maxuseraccounts = null, or empty string or 0 it will return 
false (not full)
currently if $this->maxuseraccounts  = 0 then it will go 0 is not an empty 
string and 0 is less than members (so is full)
even though 0 is meant to represent unlimited people

** Affects: mahara
 Importance: High
 Assignee: Dianne Tennent (dianne-t)
 Status: Confirmed

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1969385

Title:
  Fix maximum number of allowed accounts

Status in Mahara:
  Confirmed

Bug description:
  On dev.mahara.org after putting the 22.04RC1 on it, I'm getting
  notifications that the maximum nubmer of accounts has been reached in
  'No instiutiton' even though that institution doesn't have an account
  limit.

  Robert investigated and found:

  This bit is wrong:

  
  /**
   * Returns true if the institution already has its full quota of users
   * assigned to it.
   *
   * @return bool
   */
  public function isFull() {
  return ($this->maxuseraccounts != '') && ($this->countMembers() >= 
$this->maxuseraccounts);
  }
  ---

  needs to be:   return (!empty($this->maxuseraccounts) && 
($this->countMembers() >= $this->maxuseraccounts);
  so that if $this->maxuseraccounts = null, or empty string or 0 it will return 
false (not full)
  currently if $this->maxuseraccounts  = 0 then it will go 0 is not an empty 
string and 0 is less than members (so is full)
  even though 0 is meant to represent unlimited people

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1969385/+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 1928273] Re: Upgrade Gridstack to Gridstack 4.X

2022-04-18 Thread Kristina Hoeppner
** Changed in: mahara
   Status: Fix Committed => In Progress

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1928273

Title:
  Upgrade Gridstack to Gridstack 4.X

Status in Mahara:
  In Progress

Bug description:
  Upgrade Gridstack to the latest version.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1928273/+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 1969409] Re: Gridstack placing block at bottom problem

2022-04-18 Thread Kristina Hoeppner
** Changed in: mahara
 Assignee: (unassigned) => Doris Tam (doristam)

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1969409

Title:
  Gridstack placing block at bottom problem

Status in Mahara:
  Confirmed

Bug description:
  Scenario

  If I have a stack of 4 blocks on left side of the page in edit mode
  and 1 block on right

  Then I try to add the right side block to the bottom of the stack but
  I don't get a drop area appear.

  I can I add the right side block somewhere else on the stack, say
  above last block, and then I can move it to the bottom position.

  I think the problem is the outer 'grid-stack gridedit' wrapper wants
  to be a certain height and so when you try and make the stack longer
  than this height the drop point at the base is hidden

  I kinda proved this by getting dev tools to set the height on the
  wrapper to be taller and when I then try moving the right block to the
  base of the stack the drop area appears as expected

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1969409/+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 1969539] Re: Behat test for the portfolio completion page

2022-04-19 Thread Kristina Hoeppner
** Tags added: behat-test

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

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

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1969539

Title:
  Behat test for the portfolio completion page

Status in Mahara:
  Confirmed

Bug description:
  Related to this bug here:
  https://bugs.launchpad.net/mahara/+bug/1857933

  Test steps (from Release Testing spreadsheet)
  1. Admin turns Portfolio completion on in the institution settings
  2. Log in as institution member. 
  3. Create a collection with Portfolio completion turned on. Add 3 pages with 
the following blocks:
  P1. Sign-off block
  P2. Sign-off block with verification enabled
  P3. No sign-off block
  4. Page owner ticks off the pages on the front page of the collection. 
Portfolio completion shows 67%
  5. Owner shares collection with a specific person who they assign the manager 
role to.
  6. Log in as the manager. They should see the following on the collection 
front page:
  P1. Sign off block ticked, nothing to do for verifier
  P2. Sign off block ticked; red dot for verification
  P3. No sign-off or verification.
  7. Manager ticks off the Verification. It becomes a tick and the completion 
becomes 100%

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1969539/+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 1969532] Re: Update page visits count in db each time a page is viewed

2022-04-19 Thread Kristina Hoeppner
** Changed in: mahara
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1969532

Title:
  Update page visits count in db each time a page is viewed

Status in Mahara:
  Confirmed

Bug description:
  Currently, the view.log file in the dataroot gets updated each time a
  page is viewed, but this count is only updated in the db once a day
  via the cron_site_data_daily() function. This was set up 12 years ago
  when it was prudent to reduce the number of db writes. However, since
  dbs and machines are much faster now, it makes sense to have this view
  count updated each time the page is viewed.

  We would like to change this so that the db is updated every time a
  page is viewed i.e. view.visits and this count to be displayed on the
  page.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1969532/+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 1969538] Re: Maroon theme menu highlight looks weird after accessibility improvements to html

2022-04-19 Thread Kristina Hoeppner
What is your take on that, Evonne? The lighter colour works well when
the sub menu is expanded as it matches the colour of the sub menu.

Thank you
Kristina

** Changed in: mahara
 Assignee: (unassigned) => Evonne Cheung (evonne)

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1969538

Title:
  Maroon theme menu highlight looks weird after accessibility
  improvements to html

Status in Mahara:
  New

Bug description:
  Now that each menu item is a single button, rather than two clickable
  elements (word and chevron), it seems weird that the chevron is
  highlighted differently than the word, as they are now one clickable
  element.

  See attached screenshot.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1969538/+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 1969701] [NEW] Warn administrator when 'Current auto-copied template' collection is being deleted

2022-04-20 Thread Kristina Hoeppner
Public bug reported:

When an institution or site administrator is about to delete the
'Current auto-copied template' from the institution collections, the
normal deletion warning is displayed. Instead, it would be better if the
warning warned that the collection that is currently the auto-copied one
is being deleted were displayed.

** Affects: mahara
 Importance: Wishlist
 Status: Confirmed


** Tags: bite-sized

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1969701

Title:
  Warn administrator when 'Current auto-copied template' collection is
  being deleted

Status in Mahara:
  Confirmed

Bug description:
  When an institution or site administrator is about to delete the
  'Current auto-copied template' from the institution collections, the
  normal deletion warning is displayed. Instead, it would be better if
  the warning warned that the collection that is currently the auto-
  copied one is being deleted were displayed.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1969701/+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 1969693] Re: Error appears when deleting Institution collections that have been auto-copied to members accounts

2022-04-20 Thread Kristina Hoeppner
I created a wishlist item for the special deletion warning, which is a
good idea, at bug #1969701.

I confirmed the test instructions and got the problem as well on main.

The warning and stacktrace:

[WAR] 4d (lib/errors.php:853) Failed to get a recordset: postgres9 error: [-1: 
ERROR:  update or delete on table "collection" violates foreign key constraint 
"colltemp_ori_fk" on table "collection_template"
DETAIL:  Key (id)=(1) is still referenced from table "collection_template".] in 
EXECUTE("DELETE FROM "collection"  WHERE "id" = ? ")Command was: DELETE FROM 
"collection"  WHERE "id" = ?  and values was (0:1)
Call stack (most recent first):

log_message("Failed to get a recordset: postgres9 error: [-1: E...", 8, 
true, true) at /home/kristina/code/mahara/htdocs/lib/errors.php:89
log_warn("Failed to get a recordset: postgres9 error: [-1: E...") at 
/home/kristina/code/mahara/htdocs/lib/errors.php:853
SQLException->__construct("Failed to get a recordset: postgres9 error: [-1: 
E...") at /home/kristina/code/mahara/htdocs/lib/dml.php:1045
delete_records("collection", "id", "1") at 
/home/kristina/code/mahara/htdocs/lib/collection.php:326
Collection->delete(true) at 
/home/kristina/code/mahara/htdocs/collection/delete.php:97
deletecollection_submit(object(Pieform), array(size 2)) at 
/home/kristina/code/mahara/htdocs/lib/pieforms/pieform.php:577
Pieform->__construct(array(size 3)) at 
/home/kristina/code/mahara/htdocs/lib/pieforms/pieform.php:173
Pieform::process(array(size 3)) at 
/home/kristina/code/mahara/htdocs/lib/mahara.php:5754
pieform(array(size 3)) at 
/home/kristina/code/mahara/htdocs/collection/delete.php:77


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

** Changed in: mahara/22.04
Milestone: None => 22.04rc2

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

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

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1969693

Title:
  Error appears when deleting Institution collections that have been
  auto-copied to members accounts

Status in Mahara:
  Confirmed
Status in Mahara 22.04 series:
  Confirmed

Bug description:
  This happens in both MySQL and Postgres

  To replicate:
  1. Create an institution template collection (set to 'Current auto-copied 
template') with portfolio completion.
  2. Create a new account and run the cron so that the portfolio is created in 
the new member's account.
  3. As admin, try to delete the institution template collection.

  Result
   - SQL error messages on screen. There is a foreign key constraint with 
collection_template.originaltemplate = collection.id, so it won't allow you to 
delete from collection table until collection_template table entries are 
cleared.

  Expected:
   - Perhaps there should be a warning to institution admins that the 
collection has been auto-copied before deleting it.

  - I think we need to delete from the collection_template table where
  originaltemplate = $this->id, rather than where collection = $this->id
  (htdocs/lib/collection.php:324). Then we'll be able to delete from
  collection table.

  Kristina mentioned that a Behat test for this would be good, since we
  don't regularly come across this scenario.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1969693/+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 1969712] [NEW] Can't access 2nd 'Show more' in block configuration with keyboard

2022-04-20 Thread Kristina Hoeppner
Public bug reported:

Only able to show more block types one time – clicking show more a
second time freezes page

1. Log in as any account holder. 
2. Add or edit a page.
3. Using mouse -click the + icon to add a new block.
4. Inside the block flyout use keyboard navigation to select 'Show more'. More 
blocks are displayed.
5. With the keyboard, click the 'Show more' button again.

Results:

- Expected: Another set of blocks is displayed.
- Actual: Nothing happens. No additional blocks are displayed even though there 
are more.

** Affects: mahara
 Importance: High
 Status: Confirmed

** Affects: mahara/22.04
 Importance: High
 Status: Confirmed

** Affects: mahara/22.10
 Importance: High
 Status: Confirmed


** Tags: accessibility

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

** Also affects: mahara/22.04
   Importance: High
   Status: New

** Changed in: mahara/22.10
Milestone: None => 22.04.1

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

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

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

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1969712

Title:
  Can't access 2nd 'Show more' in block configuration with keyboard

Status in Mahara:
  Confirmed
Status in Mahara 22.04 series:
  Confirmed
Status in Mahara 22.10 series:
  Confirmed

Bug description:
  Only able to show more block types one time – clicking show more a
  second time freezes page

  1. Log in as any account holder. 
  2. Add or edit a page.
  3. Using mouse -click the + icon to add a new block.
  4. Inside the block flyout use keyboard navigation to select 'Show more'. 
More blocks are displayed.
  5. With the keyboard, click the 'Show more' button again.

  Results:

  - Expected: Another set of blocks is displayed.
  - Actual: Nothing happens. No additional blocks are displayed even though 
there are more.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1969712/+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 1969712] Re: Can't access 2nd 'Show more' in block configuration with keyboard

2022-04-20 Thread Kristina Hoeppner
Still need to check if this also applies to Mahara 21.10 and 21.04.

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1969712

Title:
  Can't access 2nd 'Show more' in block configuration with keyboard

Status in Mahara:
  Confirmed
Status in Mahara 22.04 series:
  Confirmed
Status in Mahara 22.10 series:
  Confirmed

Bug description:
  Only able to show more block types one time – clicking show more a
  second time freezes page

  1. Log in as any account holder. 
  2. Add or edit a page.
  3. Using mouse -click the + icon to add a new block.
  4. Inside the block flyout use keyboard navigation to select 'Show more'. 
More blocks are displayed.
  5. With the keyboard, click the 'Show more' button again.

  Results:

  - Expected: Another set of blocks is displayed.
  - Actual: Nothing happens. No additional blocks are displayed even though 
there are more.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1969712/+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 1969716] [NEW] Adding block to bottom position does not work

2022-04-20 Thread Kristina Hoeppner
Public bug reported:

When adding a block to a page with the “Add new block” modal and
selecting position = bottom, the block is still inserted at the top of
the page


1. Log in as any account holder. 
2. Edit a page that already has at least 3 blocks on the page.
3. Using mouse -click the + icon to add a new block (don't drag and drop).
4. Select bottom option from position drop-down menu.
5. Click the 'Add' button.

Results:
- Expected: The block is placed below the last block on the page.
- Actual: The new block is added to the top left of the page, above the other 
blocks

** Affects: mahara
 Importance: Medium
 Status: Confirmed

** Affects: mahara/22.04
 Importance: Medium
 Status: Confirmed

** Affects: mahara/22.10
 Importance: Medium
 Status: Confirmed

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

** Also affects: mahara/22.04
   Importance: Medium
   Status: Confirmed

** Changed in: mahara/22.04
Milestone: 22.10.0 => 22.04.1

** Changed in: mahara/22.10
Milestone: None => 22.10.0

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

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

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1969716

Title:
  Adding block to bottom position does not work

Status in Mahara:
  Confirmed
Status in Mahara 22.04 series:
  Confirmed
Status in Mahara 22.10 series:
  Confirmed

Bug description:
  When adding a block to a page with the “Add new block” modal and
  selecting position = bottom, the block is still inserted at the top of
  the page

  
  1. Log in as any account holder. 
  2. Edit a page that already has at least 3 blocks on the page.
  3. Using mouse -click the + icon to add a new block (don't drag and drop).
  4. Select bottom option from position drop-down menu.
  5. Click the 'Add' button.

  Results:
  - Expected: The block is placed below the last block on the page.
  - Actual: The new block is added to the top left of the page, above the other 
blocks

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1969716/+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 1969717] [NEW] Unable to select a skin for a page with the keyboard

2022-04-20 Thread Kristina Hoeppner
Public bug reported:

When I am creating a page and I want to use a skin, I am unable to
select a skin using the keyboard only to select it.

1. Log in as site admin.
2. Create a site skin at Admin menu → Configure site → Skins.
3. Create one new account.
4. Create a personal skin via Main menu → Create → Skins and make it a public 
one.
5. Log in as the other account holder.
6. Favourite the site admin's skin via Main menu → Create → Skins.
7. Create a personal skin.
8. Add a page and use the keyboard to navigate to the 'Skins' panel on the 
'Settings' page.

Results:
- Expected: You can select your personal skin, click the panels for the 
favourite and site skins and select those.
- Actual result: You can only click the headers, but not the skins themselves, 
and the panels for the favourite and site skins don't expand.

** Affects: mahara
 Importance: Medium
 Status: Confirmed

** Affects: mahara/22.04
 Importance: Medium
 Status: Confirmed

** Affects: mahara/22.10
 Importance: Medium
 Status: Confirmed


** Tags: accessibility

** Also affects: mahara/22.04
   Importance: Medium
   Status: Confirmed

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

** Changed in: mahara/22.04
Milestone: None => 22.04.1

** Changed in: mahara/22.10
Milestone: None => 22.10.0

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

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

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1969717

Title:
  Unable to select a skin for a page with the keyboard

Status in Mahara:
  Confirmed
Status in Mahara 22.04 series:
  Confirmed
Status in Mahara 22.10 series:
  Confirmed

Bug description:
  When I am creating a page and I want to use a skin, I am unable to
  select a skin using the keyboard only to select it.

  1. Log in as site admin.
  2. Create a site skin at Admin menu → Configure site → Skins.
  3. Create one new account.
  4. Create a personal skin via Main menu → Create → Skins and make it a public 
one.
  5. Log in as the other account holder.
  6. Favourite the site admin's skin via Main menu → Create → Skins.
  7. Create a personal skin.
  8. Add a page and use the keyboard to navigate to the 'Skins' panel on the 
'Settings' page.

  Results:
  - Expected: You can select your personal skin, click the panels for the 
favourite and site skins and select those.
  - Actual result: You can only click the headers, but not the skins 
themselves, and the panels for the favourite and site skins don't expand.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1969717/+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 1969718] [NEW] Can't select 'Leap2A' import button with keyboard

2022-04-20 Thread Kristina Hoeppner
Public bug reported:

When I am creating a new account, I am unable to select the Leap2A radio
button using keyboard only navigation

1. Log in as site admin
2. Add a new account
3. Using the keyboard only to navigate

Results:
- Expected: Admin can select the Leap2A radio button 
- Actual: Admin cannot select the Leap2A radio button as it is skipped when 
tabbing through the page

** Affects: mahara
 Importance: Medium
 Status: Confirmed

** Affects: mahara/22.04
 Importance: Medium
 Status: Confirmed

** Affects: mahara/22.10
 Importance: Medium
 Status: Confirmed


** Tags: accessibility

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

** Also affects: mahara/22.04
   Importance: Medium
   Status: Confirmed

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

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

** Changed in: mahara/22.10
Milestone: None => 22.10.0

** Changed in: mahara/22.04
Milestone: None => 22.04.1

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1969718

Title:
  Can't select 'Leap2A' import button with keyboard

Status in Mahara:
  Confirmed
Status in Mahara 22.04 series:
  Confirmed
Status in Mahara 22.10 series:
  Confirmed

Bug description:
  When I am creating a new account, I am unable to select the Leap2A
  radio button using keyboard only navigation

  1. Log in as site admin
  2. Add a new account
  3. Using the keyboard only to navigate

  Results:
  - Expected: Admin can select the Leap2A radio button 
  - Actual: Admin cannot select the Leap2A radio button as it is skipped when 
tabbing through the page

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1969718/+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 1969719] Re: The php-intl extension is missing from docker

2022-04-20 Thread Kristina Hoeppner
** Changed in: mahara
Milestone: None => 22.04rc2

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

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

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1969719

Title:
  The php-intl extension is missing from docker

Status in Mahara:
  Confirmed

Bug description:
  There are some configurations that require php-intl to be present.
  This is missing from the docker containers.

  This should be added to the list of packages installed in
  docker/Dockerfile.mahara-base.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1969719/+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 1969720] [NEW] Leap2A import fails

2022-04-20 Thread Kristina Hoeppner
Public bug reported:

When a new account is created with a previously exported file from the
same site (and also a different one), I get the following error message:

[WAR] 37 (lib/errors.php:537) Data array supplied when object expected at 
/var/www/master-dev-prod-mahara/releases/20220420173606/artefact/internal/lib.php:450
Call stack (most recent first):

exception(object(MaharaException)) at Unknown:0

With an export of the 'student' account from the demo site
https://demo.mahara.org, I get a lot more warnings (see attached).

1. Log in as Admin
2. Add a new user via Leap2A file (or a combined export if you have a more 
recent site).
3. Fill in a username and password
4. Click “Create account” button 

Results:
- Expected: A new account is crated and found in the 'People search'. 
- Actual: Error from above and attached.

** Affects: mahara
 Importance: High
 Status: Confirmed

** Attachment added: "Screenshot 2022-04-21 at 16-34-22 Add a person - 
Mahara.png"
   
https://bugs.launchpad.net/bugs/1969720/+attachment/5581938/+files/Screenshot%202022-04-21%20at%2016-34-22%20Add%20a%20person%20-%20Mahara.png

** Description changed:

  When a new account is created with a previously exported file from the
  same site (and also a different one), I get the following error message:
  
  [WAR] 37 (lib/errors.php:537) Data array supplied when object expected at 
/var/www/master-dev-prod-mahara/releases/20220420173606/artefact/internal/lib.php:450
  Call stack (most recent first):
  
- exception(object(MaharaException)) at Unknown:0
+ exception(object(MaharaException)) at Unknown:0
  
+ With an export of the 'student' account from the demo site
+ https://demo.mahara.org, I get a lot more warnings (see attached).
  
- With an export of the 'student' account from the demo site 
https://demo.mahara.org, I get a lot more warnings (see attached).
+ 1. Log in as Admin
+ 2. Add a new user via Leap2A file (or a combined export if you have a more 
recent site).
+ 3. Fill in a username and password
+ 4. Click “Create account” button 
+ 
+ Results:
+ - Expected: A new account is crated and found in the 'People search'. 
+ - Actual: Error from above and attached.

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1969720

Title:
  Leap2A import fails

Status in Mahara:
  Confirmed

Bug description:
  When a new account is created with a previously exported file from the
  same site (and also a different one), I get the following error
  message:

  [WAR] 37 (lib/errors.php:537) Data array supplied when object expected at 
/var/www/master-dev-prod-mahara/releases/20220420173606/artefact/internal/lib.php:450
  Call stack (most recent first):

  exception(object(MaharaException)) at Unknown:0

  With an export of the 'student' account from the demo site
  https://demo.mahara.org, I get a lot more warnings (see attached).

  1. Log in as Admin
  2. Add a new user via Leap2A file (or a combined export if you have a more 
recent site).
  3. Fill in a username and password
  4. Click “Create account” button 

  Results:
  - Expected: A new account is crated and found in the 'People search'. 
  - Actual: Error from above and attached.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1969720/+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 1969722] [NEW] 'Default' theme doesn't have background when dragging a block

2022-04-20 Thread Kristina Hoeppner
Public bug reported:

When you drag a block, there is a dashed border and a light grey
background in 'Raw' and all other themes bug 'Default'.

In https://reviews.mahara.org/c/mahara/+/12611 Robert is fixing the
dashed border so that it is always dark. Without the '!important' it
would not be dark when you drag a block but only when you view a block
and it's not moved.

Attached is a short video showing what dragging a block in 'Raw' looks
like with the grey background and what it looks like in 'Default' where
there is no grey background.

** Affects: mahara
 Importance: Medium
 Assignee: Evonne Cheung (evonne)
 Status: Confirmed

** Attachment added: "default_theme_dragging.webm"
   
https://bugs.launchpad.net/bugs/1969722/+attachment/5581946/+files/default_theme_dragging.webm

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1969722

Title:
  'Default' theme doesn't have background when dragging a block

Status in Mahara:
  Confirmed

Bug description:
  When you drag a block, there is a dashed border and a light grey
  background in 'Raw' and all other themes bug 'Default'.

  In https://reviews.mahara.org/c/mahara/+/12611 Robert is fixing the
  dashed border so that it is always dark. Without the '!important' it
  would not be dark when you drag a block but only when you view a block
  and it's not moved.

  Attached is a short video showing what dragging a block in 'Raw' looks
  like with the grey background and what it looks like in 'Default'
  where there is no grey background.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1969722/+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 1969843] [NEW] Swap 'Settings' button for 'Display page' button on page settings page

2022-04-21 Thread Kristina Hoeppner
Public bug reported:

When you are on the 'Settings' page of a portfolio page, you still see
the 'Settings' button, but it doesn't do anything because you are
already on the page. It would be best to swap it out for the 'Display
page' button so it's easy to go to that mode rather than always needing
to go via the 'Edit' page option.

** Affects: mahara
 Importance: Wishlist
 Assignee: Dianne Tennent (dianne-t)
 Status: Confirmed

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1969843

Title:
  Swap 'Settings' button for 'Display page' button on page settings page

Status in Mahara:
  Confirmed

Bug description:
  When you are on the 'Settings' page of a portfolio page, you still see
  the 'Settings' button, but it doesn't do anything because you are
  already on the page. It would be best to swap it out for the 'Display
  page' button so it's easy to go to that mode rather than always
  needing to go via the 'Edit' page option.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1969843/+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 1958297] Re: Submissions list shows 'Account deleted' entries with link to account that is gone

2022-04-21 Thread Kristina Hoeppner
We would also need to tackle what happens with archives of submissions
because if a student deletes a collection, the archive should still be
accessible.

** Changed in: mahara/22.04
Milestone: 22.04rc2 => 22.04.1

** Changed in: mahara/21.10
Milestone: 21.10.2 => 21.10.3

** Changed in: mahara/21.04
Milestone: 21.04.4 => 21.04.5

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1958297

Title:
  Submissions list shows 'Account deleted' entries with link to account
  that is gone

Status in Mahara:
  In Progress
Status in Mahara 21.04 series:
  Confirmed
Status in Mahara 21.10 series:
  Confirmed
Status in Mahara 22.04 series:
  In Progress

Bug description:
  We need to handle the entries where the person's account has been
  deleted.

  When the submission was released before person was deleted we just
  need to not show the link but plain text for the 'Account deleted' in
  the 'Name' column.

  When the submission was not released before the person was deleted we
  need to also remove the ability to view page / add accessor / set
  result / change status of the entry as it will not work as the
  underlying page has been deleted

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1958297/+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 1945537] Re: Problem with saving web service log message event when float is in another language

2022-04-21 Thread Kristina Hoeppner
** Changed in: mahara
   Status: Confirmed => In Progress

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

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1945537

Title:
  Problem with saving web service log message event when float is in
  another  language

Status in Mahara:
  In Progress

Bug description:
  Initially reported at
  https://mahara.org/interaction/forum/topic.php?id=8930

  So  for example we try to save number as 1,2345 instead of 1.2345

  We probably need to cast it via flotval somehow

  Error looks like this
  PHP Fatal error:  Uncaught SQLException: Failed to get a recordset: postgres8 
error: [-1: ERROR:  invalid input syntax for type numeric: "0,12291693687439"] 
in EXECUTE("INSERT INTO "external_services_logs" ("id", "timelogged", "userid", 
"externalserviceid", "protocol", "auth", "functionname", "timetaken", "uri", 
"info", "ip") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)")Command was: INSERT 
INTO "external_services_logs" ("id", "timelogged", "userid", 
"externalserviceid", "protocol", "auth", "functionname", "timetaken", "uri", 
"info", "ip") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) and values was 
(id:109,timelogged:1632941361,userid:23,externalserviceid:3,protocol:REST,auth:OTHER,functionname:module_mobileapi_upload_blog_post,timetaken:0,12291693687439,uri:/webservice/rest/server.php?alt=json,info:exception:SQLExceptionmessage:Failedtogetarecordset:postgres8error:[-1:ERROR:invalidinputsyntaxfortypenumeric:"0,11438679695129"]inEXECUTE("INSERTINTO"external_services_logs"("id","timelogged","userid","externalserviceid","protocol","auth"

  The problem looks to be related to:

  The variable "time_taken" in file:

  htdocs/webservice/lib.php

   $time_taken = $time_end - $WEBSERVICE_START;

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1945537/+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 1928273] Re: Upgrade Gridstack to Gridstack 4.X

2022-04-21 Thread Kristina Hoeppner
** Changed in: mahara
   Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1928273

Title:
  Upgrade Gridstack to Gridstack 4.X

Status in Mahara:
  Fix Committed

Bug description:
  Upgrade Gridstack to the latest version.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1928273/+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 1844199] Re: Check skin before when copying a page

2022-04-21 Thread Kristina Hoeppner
** Changed in: mahara
Milestone: 22.04rc2 => 22.10.0

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1844199

Title:
  Check skin before when copying a page

Status in Mahara:
  In Progress

Bug description:
  When creating a site/group/institution page, we should not be allowing
  to choose from "My skins".

  When copying a page, there should be a check to see if the user that
  wants to copy has access to the skin. If not, the skin should not be
  included in the new page.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1844199/+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 1955431] Re: Adding elasticsearch monitoring to the ecs directory of the monitor module

2022-04-21 Thread Kristina Hoeppner
** Changed in: mahara
Milestone: 22.04.0 => 22.10.0

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1955431

Title:
  Adding elasticsearch monitoring to the ecs directory of the monitor
  module

Status in Mahara:
  Fix Committed

Bug description:
  It existed in the command line (cli) directory but not for nagios
  (ecs) directory.

  So will port over

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1955431/+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 1969719] Re: The php-intl extension is missing from docker

2022-04-21 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: mahara-contributors
https://bugs.launchpad.net/bugs/1969719

Title:
  The php-intl extension is missing from docker

Status in Mahara:
  In Progress

Bug description:
  There are some configurations that require php-intl to be present.
  This is missing from the docker containers.

  This should be added to the list of packages installed in
  docker/Dockerfile.mahara-base.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1969719/+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 1969385] Re: Fix maximum number of allowed accounts

2022-04-21 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: mahara-contributors
https://bugs.launchpad.net/bugs/1969385

Title:
  Fix maximum number of allowed accounts

Status in Mahara:
  In Progress

Bug description:
  On dev.mahara.org after putting the 22.04RC1 on it, I'm getting
  notifications that the maximum nubmer of accounts has been reached in
  'No instiutiton' even though that institution doesn't have an account
  limit.

  Robert investigated and found:

  This bit is wrong:

  
  /**
   * Returns true if the institution already has its full quota of users
   * assigned to it.
   *
   * @return bool
   */
  public function isFull() {
  return ($this->maxuseraccounts != '') && ($this->countMembers() >= 
$this->maxuseraccounts);
  }
  ---

  needs to be:   return (!empty($this->maxuseraccounts) && 
($this->countMembers() >= $this->maxuseraccounts);
  so that if $this->maxuseraccounts = null, or empty string or 0 it will return 
false (not full)
  currently if $this->maxuseraccounts  = 0 then it will go 0 is not an empty 
string and 0 is less than members (so is full)
  even though 0 is meant to represent unlimited people

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1969385/+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 1969702] Re: Error in "Locked until" date on locked collections

2022-04-21 Thread Kristina Hoeppner
** Changed in: mahara
Milestone: None => 22.04rc2

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

** Changed in: mahara
   Status: New => In Progress

** Description changed:

  Related to this bug here: https://bugs.launchpad.net/mahara/+bug/1928270
  
  When locking a portfolio, the "Locked until" date is set to the date
  that the collection was locked, i.e. the rolloverdate. It should be this
  date + 6 months (htdocs/lib/view.php:6092)
  
  To replicate:
  1. Create an institution template collection (set to 'Current auto-copied 
template') with portfolio completion.
  2. Add 1 review block and set 'Lock portfolio' to 'Yes'.
  3. Create a new account and run the cron so that the portfolio is created.
  4. Share the portfolio with a person who can do a review.
  5. Log in as the reviewer and approve the review statement.
- 6. As portfolio author, check that the portfolio is locked. 
+ 6. As portfolio author, check that the portfolio is locked.
+  by going to 'Shared by me'.
  
  Result:
-  - Says "Locked until (date it was locked)"
+  - Says "Locked until (date it was locked)"
  
  Expected:
-  - Says "Locked until (date it was locked + 6 months)"
+  - Says "Locked until (date it was locked + 6 months)"
  
  The cron job for unlocking based on rolloverdate is correct and working
  fine.

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1969702

Title:
  Error in "Locked until" date on locked collections

Status in Mahara:
  In Progress

Bug description:
  Related to this bug here:
  https://bugs.launchpad.net/mahara/+bug/1928270

  When locking a portfolio, the "Locked until" date is set to the date
  that the collection was locked, i.e. the rolloverdate. It should be
  this date + 6 months (htdocs/lib/view.php:6092)

  To replicate:
  1. Create an institution template collection (set to 'Current auto-copied 
template') with portfolio completion.
  2. Add 1 review block and set 'Lock portfolio' to 'Yes'.
  3. Create a new account and run the cron so that the portfolio is created.
  4. Share the portfolio with a person who can do a review.
  5. Log in as the reviewer and approve the review statement.
  6. As portfolio author, check that the portfolio is locked.
   by going to 'Shared by me'.

  Result:
   - Says "Locked until (date it was locked)"

  Expected:
   - Says "Locked until (date it was locked + 6 months)"

  The cron job for unlocking based on rolloverdate is correct and
  working fine.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1969702/+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 1969693] Re: Error appears when deleting Institution collections that have been auto-copied to members accounts

2022-04-21 Thread Kristina Hoeppner
** Changed in: mahara/22.04
Milestone: 22.04rc2 => 22.10.0

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

** Changed in: mahara/22.04
Milestone: 22.10.0 => 22.04.1

** Changed in: mahara/22.10
Milestone: None => 22.10.0

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

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

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1969693

Title:
  Error appears when deleting Institution collections that have been
  auto-copied to members accounts

Status in Mahara:
  Confirmed
Status in Mahara 22.04 series:
  Confirmed
Status in Mahara 22.10 series:
  Confirmed

Bug description:
  This happens in both MySQL and Postgres

  To replicate:
  1. Create an institution template collection (set to 'Current auto-copied 
template') with portfolio completion.
  2. Create a new account and run the cron so that the portfolio is created in 
the new member's account.
  3. As admin, try to delete the institution template collection.

  Result
   - SQL error messages on screen. There is a foreign key constraint with 
collection_template.originaltemplate = collection.id, so it won't allow you to 
delete from collection table until collection_template table entries are 
cleared.

  Expected:
   - Perhaps there should be a warning to institution admins that the 
collection has been auto-copied before deleting it.

  - I think we need to delete from the collection_template table where
  originaltemplate = $this->id, rather than where collection = $this->id
  (htdocs/lib/collection.php:324). Then we'll be able to delete from
  collection table.

  Kristina mentioned that a Behat test for this would be good, since we
  don't regularly come across this scenario.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1969693/+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 1969409] Re: Gridstack placing block at bottom problem

2022-04-21 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: mahara-contributors
https://bugs.launchpad.net/bugs/1969409

Title:
  Gridstack placing block at bottom problem

Status in Mahara:
  In Progress

Bug description:
  Scenario

  If I have a stack of 4 blocks on left side of the page in edit mode
  and 1 block on right

  Then I try to add the right side block to the bottom of the stack but
  I don't get a drop area appear.

  I can I add the right side block somewhere else on the stack, say
  above last block, and then I can move it to the bottom position.

  I think the problem is the outer 'grid-stack gridedit' wrapper wants
  to be a certain height and so when you try and make the stack longer
  than this height the drop point at the base is hidden

  I kinda proved this by getting dev tools to set the height on the
  wrapper to be taller and when I then try moving the right block to the
  base of the stack the drop area appears as expected

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1969409/+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 1969720] Re: Leap2A import fails

2022-04-21 Thread Kristina Hoeppner
** Changed in: mahara
 Assignee: (unassigned) => Doris Tam (doristam)

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1969720

Title:
  Leap2A import fails

Status in Mahara:
  Confirmed

Bug description:
  When a new account is created with a previously exported file from the
  same site (and also a different one), I get the following error
  message:

  [WAR] 37 (lib/errors.php:537) Data array supplied when object expected at 
/var/www/master-dev-prod-mahara/releases/20220420173606/artefact/internal/lib.php:450
  Call stack (most recent first):

  exception(object(MaharaException)) at Unknown:0

  With an export of the 'student' account from the demo site
  https://demo.mahara.org, I get a lot more warnings (see attached).

  1. Log in as Admin
  2. Add a new user via Leap2A file (or a combined export if you have a more 
recent site).
  3. Fill in a username and password
  4. Click “Create account” button 

  Results:
  - Expected: A new account is crated and found in the 'People search'. 
  - Actual: Error from above and attached.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1969720/+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 1955620] Re: Add optional docker php 8 environment

2022-04-21 Thread Kristina Hoeppner
** Changed in: mahara
Milestone: 22.04.0 => 22.10.0

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1955620

Title:
  Add  optional docker php 8 environment

Status in Mahara:
  In Progress

Bug description:
  To assist with Updating Mahara to php 8 it would be helpful if there
  was a php 8 environment

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1955620/+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 1955431] Re: Adding elasticsearch monitoring to the ecs directory of the monitor module

2022-04-21 Thread Kristina Hoeppner
** Changed in: mahara
Milestone: 22.10.0 => 22.04.0

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1955431

Title:
  Adding elasticsearch monitoring to the ecs directory of the monitor
  module

Status in Mahara:
  Fix Committed

Bug description:
  It existed in the command line (cli) directory but not for nagios
  (ecs) directory.

  So will port over

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1955431/+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 1953411] Re: Create a support admin role and add affiliated emails and roles via SAML

2022-04-22 Thread Kristina Hoeppner
** Summary changed:

- Create a support admin role
+ Create a support admin role and add affiliated emails and roles via SAML

** Description changed:

  The role will be like a staff role but also have the ability to
  masquerade as another person.
+ 
+ Additionally, this commit contains rules to add more fields via SAML
+ authentication, in particular for information coming via affiliated
+ institutions. Additional emails and roles for the specific institutions
+ can be added automatically that way.

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1953411

Title:
  Create a support admin role and add affiliated emails and roles via
  SAML

Status in Mahara:
  Fix Committed

Bug description:
  The role will be like a staff role but also have the ability to
  masquerade as another person.

  Additionally, this commit contains rules to add more fields via SAML
  authentication, in particular for information coming via affiliated
  institutions. Additional emails and roles for the specific
  institutions can be added automatically that way.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1953411/+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 1950551] Re: Gallery thumbnail popup has alternate slideshow but shouldn't have this

2022-04-23 Thread Kristina Hoeppner
** Tags added: newfeature

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1950551

Title:
  Gallery thumbnail popup has alternate slideshow but shouldn't have
  this

Status in Mahara:
  Fix Committed

Bug description:
  We have a bootstrap slideshow so we don't need another one in the
  gallery thumbnails as part of the image popup.

  We should instead use the bootstrap modal for the popups in the
  gallery thumbnails.

  To test, before patch:

  Add a gallery with square-thumbs chosen.

  Display the page and click on an image in the gallery

  The popup has a play button in it.

  After the patch:

  The popup is just a modal popup now

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1950551/+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 1896683] Re: Allow CSV, ZIP, and MATRIX files on certain screens when file extension restrictions are in place

2022-04-23 Thread Kristina Hoeppner
** Tags added: newfeature

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1896683

Title:
  Allow CSV, ZIP, and MATRIX files on certain screens when file
  extension restrictions are in place

Status in Mahara:
  Fix Committed

Bug description:
  When the config variable '$cfg->validfiletypes' is set, only the file
  types mentioned can be uploaded to Mahara. That impacts a number of
  admin screens where we need to be able to upload CSV and MATRIX files
  in particular:

  - Add people by CSV
  - Create groups by CSV
  - Add group members by CSV
  - Import SmartEvidence framework file
  - Upload Leap2A file to create an account (and same for importing Leap2A into 
an existing account).

  It would not necessarily be good to have to allow these file types in
  general. Therefore, it would be good to always allow them on the
  screens where they are needed to fulfil basic operations in Mahara.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1896683/+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 1960573] Re: Institution admin and staff role should update on login via SAML

2022-04-23 Thread Kristina Hoeppner
** Tags added: newfeature

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1960573

Title:
  Institution admin and staff role should update on login via SAML

Status in Mahara:
  Fix Committed

Bug description:
  When you use SAML, you can define site admin and staff as well as
  institution admin and staff roles to give to account holders
  automatically.

  Currently, the site admin and site staff roles update when a person
  logs in. However, that is not happening for institution admin and
  institution staff on subsequent logins unless the config.php variable
  usersuniquebyusername is used. We can't think of a contemporary reason
  for this restriction and think it would be best if the institution
  staff and institution admin roles could also be updated on login like
  site staff and admin and not only upon account creation.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1960573/+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 1954989] Re: Save authinstance associated with file_upload webservice

2022-04-23 Thread Kristina Hoeppner
** Tags added: newfeature

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1954989

Title:
  Save authinstance associated with file_upload webservice

Status in Mahara:
  Fix Committed

Bug description:
  When uploading a file through webservices, note which authinstance to
  use as one username could be linked to multiple institutions.

  - Add a dropdown select in the 'Configure token' form to select
  'authinstance' when the service group that the token is for has the
  function 'file_upload' as part of its available functions.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1954989/+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 1970277] Re: "Maori" language option should be "Māori" or "Te Reo Māori"

2022-04-25 Thread Kristina Hoeppner
** Changed in: mahara
   Status: New => Confirmed

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

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

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1970277

Title:
  "Maori" language option should be "Māori" or "Te Reo Māori"

Status in Mahara:
  Confirmed

Bug description:
  The new language pack management section was created in this patch:
  https://bugs.launchpad.net/mahara/+bug/1884717

  The option for te reo Māori currently just says "Maori" - this is
  missing the macron over the a, and should also really say "Te Reo
  Māori" (imo)

  1. Admin>Development>Languages
  2. Open "Add language" menu

  Expected:
   - see the option "Te Reo Māori" or at least "Māori" (with macron)

  Actual:
   - option is "Maori"

  Brief chat in the Catalyst 'kōrero' channel:
  "For me, Te Reo Māori"
  "I don't think I'd care although 'Te Reo Māori' is the language"
  "I'm used to seeing "Te Reo Māori" or even just "Te Reo""
  "Google only uses Māori
  the word language is already in the selection label?
  Imho what also influences this is whether you write the language names in 
their language or in English"

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1970277/+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 1970271] Re: When a copy of a copied portfolio is made, sign-off and verification status is lost

2022-04-25 Thread Kristina Hoeppner
** Changed in: mahara
   Status: New => Invalid

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1970271

Title:
  When a copy of a copied portfolio is made, sign-off and verification
  status is lost

Status in Mahara:
  Invalid

Bug description:
  This bug relates to item 3 in "Additional scenarios to test" in this
  bug report: https://bugs.launchpad.net/mahara/+bug/1964268. "When a
  copy of the copied template is made, the status needs to be saved"

  On testing with MySQL8+Firefox+Maroon, I found that when I made a copy
  of the copied portfolio, the sign-off and verification status was not
  saved to the copied version.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1970271/+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 1964268] Re: Sign-off and verification status not saved to database on copied portfolio

2022-04-25 Thread Kristina Hoeppner
** Description changed:

  When you copy a portfolio with the sign-off and verification block, the
  status is not saved to the database unless it's a direct copy of a
  template portfolio.
  
  To replicate:
  
  1. Allow portfolio completion for the institution.
  2. Create a page and add the 'sign-off' block.
  3. Add the page to a collection with the portfolio completion active.
  4. On the page or the portfolio completion page, click the 'Sign-off' icon.
  5. Refresh the page.
  
  Results:
  - Expected: The green tick stays.
  - Actual: The green tick is visible.
  
  6. Copy the portfolio.
  7. Click the 'Sign-off' icon.
  8. Refresh the page.
  
  Results:
  - Expected: The green tick stays.
  - Actual: The green tick is not visible but the red dot is because the row is 
not actually saved into the database.
  
  Additional scenarios to test:
  
  1. The verification icon should also be clickable.
  2. When a template (on the site) is copied, the icons need to be clickable 
and their status saved.
- 3. When a copy of the copied template is made, the status needs to be saved.

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1964268

Title:
  Sign-off and verification status not saved to database on copied
  portfolio

Status in Mahara:
  Fix Committed
Status in Mahara 20.10 series:
  Fix Committed
Status in Mahara 21.04 series:
  Fix Committed
Status in Mahara 21.10 series:
  Fix Committed
Status in Mahara 22.04 series:
  Fix Committed

Bug description:
  When you copy a portfolio with the sign-off and verification block,
  the status is not saved to the database unless it's a direct copy of a
  template portfolio.

  To replicate:

  1. Allow portfolio completion for the institution.
  2. Create a page and add the 'sign-off' block.
  3. Add the page to a collection with the portfolio completion active.
  4. On the page or the portfolio completion page, click the 'Sign-off' icon.
  5. Refresh the page.

  Results:
  - Expected: The green tick stays.
  - Actual: The green tick is visible.

  6. Copy the portfolio.
  7. Click the 'Sign-off' icon.
  8. Refresh the page.

  Results:
  - Expected: The green tick stays.
  - Actual: The green tick is not visible but the red dot is because the row is 
not actually saved into the database.

  Additional scenarios to test:

  1. The verification icon should also be clickable.
  2. When a template (on the site) is copied, the icons need to be clickable 
and their status saved.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1964268/+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 1969298] Re: Update Elasticsearch 7 language strings

2022-04-25 Thread Kristina Hoeppner
** Changed in: mahara
   Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1969298

Title:
  Update Elasticsearch 7 language strings

Status in Mahara:
  Fix Committed

Bug description:
  Some language strings need updating to match the conventions.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1969298/+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 1819379] Re: update chromedriver for behat

2022-04-25 Thread Kristina Hoeppner
** Changed in: mahara/21.10
Milestone: 21.10.2 => 21.10.3

** Changed in: mahara/21.04
Milestone: 21.04.4 => 21.04.5

** No longer affects: mahara/20.10

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1819379

Title:
  update chromedriver for behat

Status in Mahara:
  Confirmed
Status in Mahara 21.04 series:
  In Progress
Status in Mahara 21.10 series:
  In Progress
Status in Mahara 22.04 series:
  In Progress

Bug description:
  Given that there is an exploit for chrome versions below
  72.0.3626.121, we should update chromedriver to work with newer
  versions. (Our current version 2.38 is only compatible with chrome up
  to version 67). The chrome version on Jenkins will need to be updated
  to run with the new chromedriver.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1819379/+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 1964553] Re: Fix function definition compatibility from bug #1964268

2022-04-25 Thread Kristina Hoeppner
** Summary changed:

- Fix function definition compatibility from 
https://bugs.launchpad.net/mahara/+bug/1964268 on 21.10
+ Fix function definition compatibility from bug #1964268

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1964553

Title:
  Fix function definition compatibility from bug #1964268

Status in Mahara:
  New

Bug description:
  https://bugs.launchpad.net/mahara/+bug/1964268 Forgot to add the
  parameters for the sign-off block's function definition
  default_copy_type() and getting an error from it.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1964553/+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 1970356] [NEW] Update the README file for the Mahara 22.04.0 release

2022-04-25 Thread Kristina Hoeppner
Public bug reported:

Updates to the README

** Affects: mahara
 Importance: High
 Status: In Progress

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1970356

Title:
  Update the README file for the Mahara 22.04.0 release

Status in Mahara:
  In Progress

Bug description:
  Updates to the README

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1970356/+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 1970680] Re: Upgrade fails when LTI Advantage not installed

2022-04-27 Thread Kristina Hoeppner
** Also affects: mahara/21.04
   Importance: Undecided
   Status: New

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

** Also affects: mahara/22.04
   Importance: Critical
 Assignee: Gold (gold.catalyst)
   Status: Confirmed

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

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

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

** Changed in: mahara/22.10
   Importance: Undecided => Critical

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

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

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

** Changed in: mahara/21.10
   Importance: Undecided => Critical

** Changed in: mahara/21.04
   Importance: Undecided => Critical

** Changed in: mahara/20.10
   Importance: Undecided => Critical

** Changed in: mahara/22.10
Milestone: None => 22.10.0

** Changed in: mahara/22.04
Milestone: None => 22.04.1

** Changed in: mahara/21.10
Milestone: None => 21.10.3

** Changed in: mahara/21.04
Milestone: None => 21.04.5

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1970680

Title:
  Upgrade fails when LTI Advantage not installed

Status in Mahara:
  Confirmed
Status in Mahara 20.10 series:
  Confirmed
Status in Mahara 21.04 series:
  Confirmed
Status in Mahara 21.10 series:
  Confirmed
Status in Mahara 22.04 series:
  Confirmed
Status in Mahara 22.10 series:
  Confirmed

Bug description:
  While upgrading a test site on Mahara 21.x that did not have LTI
  Advantage the upgrade fails.

  Tracked this to an upgrade step in htdocs/lib/db/upgrade.php

  This version resolved the issue:

  if ($oldversion < 2021042718) {
  $table = new XMLDBTable('lti_assessment');
  if (table_exists($table)) {
  log_debug("Make sure groups associated with LTI assessment have 
'submittableto' set to true");
  execute_sql("
  UPDATE {group}
  SET submittableto = 1
  WHERE id IN (
  SELECT foo.id FROM (
  SELECT g1.id
  FROM {lti_assessment} l
  JOIN {group} g1 ON g1.id = l.group
  WHERE g1.submittableto = 0
  ) AS foo
  )");
  }
  }

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1970680/+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 1970680] Re: Upgrade fails when LTI Advantage not installed

2022-04-27 Thread Kristina Hoeppner
** Description changed:

  While upgrading a test site on Mahara 21.x that did not have LTI
  Advantage the upgrade fails.
  
  Tracked this to an upgrade step in htdocs/lib/db/upgrade.php
  
  This version resolved the issue:
  
- if ($oldversion < 2021042718) {
- $table = new XMLDBTable('lti_assessment');
- if (table_exists($table)) {
- log_debug("Make sure groups associated with LTI assessment have 
'submittableto' set to true");
- execute_sql("
- UPDATE {group}
- SET submittableto = 1
- WHERE id IN (
- SELECT foo.id FROM (
- SELECT g1.id
- FROM {lti_assessment} l
- JOIN {group} g1 ON g1.id = l.group
- WHERE g1.submittableto = 0
- ) AS foo
- )");
- }
- }
+ if ($oldversion < 2021042718) {
+ $table = new XMLDBTable('lti_assessment');
+ if (table_exists($table)) {
+ log_debug("Make sure groups associated with LTI assessment have 
'submittableto' set to true");
+ execute_sql("
+ UPDATE {group}
+ SET submittableto = 1
+ WHERE id IN (
+ SELECT foo.id FROM (
+ SELECT g1.id
+ FROM {lti_assessment} l
+ JOIN {group} g1 ON g1.id = l.group
+ WHERE g1.submittableto = 0
+ ) AS foo
+ )");
+ }
+ }
+ 
+ 
+ Mitigation, if someone is in the middle of an update: Install the LTI 
Advantage module. You don't need to enable it, just install the code.

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1970680

Title:
  Upgrade fails when LTI Advantage not installed

Status in Mahara:
  Confirmed
Status in Mahara 20.10 series:
  Confirmed
Status in Mahara 21.04 series:
  Confirmed
Status in Mahara 21.10 series:
  Confirmed
Status in Mahara 22.04 series:
  Confirmed
Status in Mahara 22.10 series:
  Confirmed

Bug description:
  While upgrading a test site on Mahara 21.x that did not have LTI
  Advantage the upgrade fails.

  Tracked this to an upgrade step in htdocs/lib/db/upgrade.php

  This version resolved the issue:

  if ($oldversion < 2021042718) {
  $table = new XMLDBTable('lti_assessment');
  if (table_exists($table)) {
  log_debug("Make sure groups associated with LTI assessment have 
'submittableto' set to true");
  execute_sql("
  UPDATE {group}
  SET submittableto = 1
  WHERE id IN (
  SELECT foo.id FROM (
  SELECT g1.id
  FROM {lti_assessment} l
  JOIN {group} g1 ON g1.id = l.group
  WHERE g1.submittableto = 0
  ) AS foo
  )");
  }
  }

  
  Mitigation, if someone is in the middle of an update: Install the LTI 
Advantage module. You don't need to enable it, just install the code.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1970680/+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 1969712] Re: Can't access 2nd 'Show more' in block configuration with keyboard

2022-04-27 Thread Kristina Hoeppner
** Changed in: mahara/22.10
Milestone: 22.04.1 => 22.04.2

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1969712

Title:
  Can't access 2nd 'Show more' in block configuration with keyboard

Status in Mahara:
  Confirmed
Status in Mahara 22.04 series:
  Confirmed
Status in Mahara 22.10 series:
  Confirmed

Bug description:
  Only able to show more block types one time – clicking show more a
  second time freezes page

  1. Log in as any account holder. 
  2. Add or edit a page.
  3. Using mouse -click the + icon to add a new block.
  4. Inside the block flyout use keyboard navigation to select 'Show more'. 
More blocks are displayed.
  5. With the keyboard, click the 'Show more' button again.

  Results:

  - Expected: Another set of blocks is displayed.
  - Actual: Nothing happens. No additional blocks are displayed even though 
there are more.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1969712/+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 1969693] Re: Error appears when deleting Institution collections that have been auto-copied to members accounts

2022-04-27 Thread Kristina Hoeppner
** Changed in: mahara/22.04
Milestone: 22.04.1 => 22.04.2

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1969693

Title:
  Error appears when deleting Institution collections that have been
  auto-copied to members accounts

Status in Mahara:
  Confirmed
Status in Mahara 22.04 series:
  Confirmed
Status in Mahara 22.10 series:
  Confirmed

Bug description:
  This happens in both MySQL and Postgres

  To replicate:
  1. Create an institution template collection (set to 'Current auto-copied 
template') with portfolio completion.
  2. Create a new account and run the cron so that the portfolio is created in 
the new member's account.
  3. As admin, try to delete the institution template collection.

  Result
   - SQL error messages on screen. There is a foreign key constraint with 
collection_template.originaltemplate = collection.id, so it won't allow you to 
delete from collection table until collection_template table entries are 
cleared.

  Expected:
   - Perhaps there should be a warning to institution admins that the 
collection has been auto-copied before deleting it.

  - I think we need to delete from the collection_template table where
  originaltemplate = $this->id, rather than where collection = $this->id
  (htdocs/lib/collection.php:324). Then we'll be able to delete from
  collection table.

  Kristina mentioned that a Behat test for this would be good, since we
  don't regularly come across this scenario.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1969693/+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 1970680] Re: Upgrade fails when LTI Advantage not installed

2022-04-27 Thread Kristina Hoeppner
** Changed in: mahara/22.10
   Status: Confirmed => In Progress

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1970680

Title:
  Upgrade fails when LTI Advantage not installed

Status in Mahara:
  Confirmed
Status in Mahara 20.10 series:
  Confirmed
Status in Mahara 21.04 series:
  Confirmed
Status in Mahara 21.10 series:
  Confirmed
Status in Mahara 22.04 series:
  Confirmed
Status in Mahara 22.10 series:
  In Progress

Bug description:
  While upgrading a test site on Mahara 21.x that did not have LTI
  Advantage the upgrade fails.

  Tracked this to an upgrade step in htdocs/lib/db/upgrade.php

  This version resolved the issue:

  if ($oldversion < 2021042718) {
  $table = new XMLDBTable('lti_assessment');
  if (table_exists($table)) {
  log_debug("Make sure groups associated with LTI assessment have 
'submittableto' set to true");
  execute_sql("
  UPDATE {group}
  SET submittableto = 1
  WHERE id IN (
  SELECT foo.id FROM (
  SELECT g1.id
  FROM {lti_assessment} l
  JOIN {group} g1 ON g1.id = l.group
  WHERE g1.submittableto = 0
  ) AS foo
  )");
  }
  }

  
  Mitigation, if someone is in the middle of an update: Install the LTI 
Advantage module. You don't need to enable it, just install the code.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1970680/+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 1969718] Re: Can't select 'Leap2A' import button with keyboard

2022-04-27 Thread Kristina Hoeppner
** Changed in: mahara/22.04
Milestone: 22.04.1 => 22.04.2

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1969718

Title:
  Can't select 'Leap2A' import button with keyboard

Status in Mahara:
  Confirmed
Status in Mahara 22.04 series:
  Confirmed
Status in Mahara 22.10 series:
  Confirmed

Bug description:
  When I am creating a new account, I am unable to select the Leap2A
  radio button using keyboard only navigation

  1. Log in as site admin
  2. Add a new account
  3. Using the keyboard only to navigate

  Results:
  - Expected: Admin can select the Leap2A radio button 
  - Actual: Admin cannot select the Leap2A radio button as it is skipped when 
tabbing through the page

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1969718/+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 1819379] Re: update chromedriver for behat

2022-04-27 Thread Kristina Hoeppner
** Changed in: mahara/21.04
Milestone: 21.04.5 => 21.04.6

** Changed in: mahara/21.10
Milestone: 21.10.3 => 21.10.4

** Changed in: mahara/22.04
Milestone: 22.10.0 => 22.04.2

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

** Changed in: mahara/22.10
   Status: New => In Progress

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

** Changed in: mahara/22.10
Milestone: None => 22.10.0

** Changed in: mahara/22.04
   Status: In Progress => Confirmed

** Changed in: mahara/21.10
   Status: In Progress => Confirmed

** Changed in: mahara/21.04
   Status: In Progress => Confirmed

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1819379

Title:
  update chromedriver for behat

Status in Mahara:
  Confirmed
Status in Mahara 21.04 series:
  Confirmed
Status in Mahara 21.10 series:
  Confirmed
Status in Mahara 22.04 series:
  Confirmed
Status in Mahara 22.10 series:
  In Progress

Bug description:
  Given that there is an exploit for chrome versions below
  72.0.3626.121, we should update chromedriver to work with newer
  versions. (Our current version 2.38 is only compatible with chrome up
  to version 67). The chrome version on Jenkins will need to be updated
  to run with the new chromedriver.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1819379/+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 1969716] Re: Adding block to bottom position does not work

2022-04-27 Thread Kristina Hoeppner
** Changed in: mahara/22.04
Milestone: 22.04.1 => 22.04.2

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1969716

Title:
  Adding block to bottom position does not work

Status in Mahara:
  Confirmed
Status in Mahara 22.04 series:
  Confirmed
Status in Mahara 22.10 series:
  Confirmed

Bug description:
  When adding a block to a page with the “Add new block” modal and
  selecting position = bottom, the block is still inserted at the top of
  the page

  
  1. Log in as any account holder. 
  2. Edit a page that already has at least 3 blocks on the page.
  3. Using mouse -click the + icon to add a new block (don't drag and drop).
  4. Select bottom option from position drop-down menu.
  5. Click the 'Add' button.

  Results:
  - Expected: The block is placed below the last block on the page.
  - Actual: The new block is added to the top left of the page, above the other 
blocks

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1969716/+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 1969717] Re: Unable to select a skin for a page with the keyboard

2022-04-27 Thread Kristina Hoeppner
** Changed in: mahara/22.04
Milestone: 22.04.1 => 22.04.2

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1969717

Title:
  Unable to select a skin for a page with the keyboard

Status in Mahara:
  Confirmed
Status in Mahara 22.04 series:
  Confirmed
Status in Mahara 22.10 series:
  Confirmed

Bug description:
  When I am creating a page and I want to use a skin, I am unable to
  select a skin using the keyboard only to select it.

  1. Log in as site admin.
  2. Create a site skin at Admin menu → Configure site → Skins.
  3. Create one new account.
  4. Create a personal skin via Main menu → Create → Skins and make it a public 
one.
  5. Log in as the other account holder.
  6. Favourite the site admin's skin via Main menu → Create → Skins.
  7. Create a personal skin.
  8. Add a page and use the keyboard to navigate to the 'Skins' panel on the 
'Settings' page.

  Results:
  - Expected: You can select your personal skin, click the panels for the 
favourite and site skins and select those.
  - Actual result: You can only click the headers, but not the skins 
themselves, and the panels for the favourite and site skins don't expand.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1969717/+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 1958297] Re: Submissions list shows 'Account deleted' entries with link to account that is gone

2022-04-27 Thread Kristina Hoeppner
** Changed in: mahara/21.04
Milestone: 21.04.5 => 21.04.6

** Changed in: mahara/21.10
Milestone: 21.10.3 => 21.10.4

** Changed in: mahara/22.04
Milestone: 22.04.1 => 22.04.2

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

** Changed in: mahara/22.10
Milestone: None => 22.10.0

** Changed in: mahara/22.10
   Status: New => In Progress

** Changed in: mahara/22.04
   Status: In Progress => Confirmed

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

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1958297

Title:
  Submissions list shows 'Account deleted' entries with link to account
  that is gone

Status in Mahara:
  Confirmed
Status in Mahara 21.04 series:
  Confirmed
Status in Mahara 21.10 series:
  Confirmed
Status in Mahara 22.04 series:
  Confirmed
Status in Mahara 22.10 series:
  In Progress

Bug description:
  We need to handle the entries where the person's account has been
  deleted.

  When the submission was released before person was deleted we just
  need to not show the link but plain text for the 'Account deleted' in
  the 'Name' column.

  When the submission was not released before the person was deleted we
  need to also remove the ability to view page / add accessor / set
  result / change status of the entry as it will not work as the
  underlying page has been deleted

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1958297/+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 1970680] Re: Upgrade fails when LTI Advantage not installed

2022-04-27 Thread Kristina Hoeppner
** Description changed:

  While upgrading a test site on Mahara 21.x that did not have LTI
  Advantage the upgrade fails.
  
  Tracked this to an upgrade step in htdocs/lib/db/upgrade.php
  
  This version resolved the issue:
  
  if ($oldversion < 2021042718) {
  $table = new XMLDBTable('lti_assessment');
  if (table_exists($table)) {
  log_debug("Make sure groups associated with LTI assessment have 
'submittableto' set to true");
  execute_sql("
  UPDATE {group}
  SET submittableto = 1
  WHERE id IN (
  SELECT foo.id FROM (
  SELECT g1.id
  FROM {lti_assessment} l
  JOIN {group} g1 ON g1.id = l.group
  WHERE g1.submittableto = 0
  ) AS foo
  )");
  }
  }
  
- 
- Mitigation, if someone is in the middle of an update: Install the LTI 
Advantage module. You don't need to enable it, just install the code.
+ Mitigation, if someone is in the middle of an update: Install the LTI
+ Advantage module.

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1970680

Title:
  Upgrade fails when LTI Advantage not installed

Status in Mahara:
  Confirmed
Status in Mahara 20.10 series:
  Confirmed
Status in Mahara 21.04 series:
  Confirmed
Status in Mahara 21.10 series:
  Confirmed
Status in Mahara 22.04 series:
  Confirmed
Status in Mahara 22.10 series:
  In Progress

Bug description:
  While upgrading a test site on Mahara 21.x that did not have LTI
  Advantage the upgrade fails.

  Tracked this to an upgrade step in htdocs/lib/db/upgrade.php

  This version resolved the issue:

  if ($oldversion < 2021042718) {
  $table = new XMLDBTable('lti_assessment');
  if (table_exists($table)) {
  log_debug("Make sure groups associated with LTI assessment have 
'submittableto' set to true");
  execute_sql("
  UPDATE {group}
  SET submittableto = 1
  WHERE id IN (
  SELECT foo.id FROM (
  SELECT g1.id
  FROM {lti_assessment} l
  JOIN {group} g1 ON g1.id = l.group
  WHERE g1.submittableto = 0
  ) AS foo
  )");
  }
  }

  Mitigation, if someone is in the middle of an update: Install the LTI
  Advantage module.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1970680/+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 1970680] Re: Upgrade fails when LTI not installed

2022-04-27 Thread Kristina Hoeppner
** Description changed:

- While upgrading a test site on Mahara 21.x that did not have LTI
- Advantage the upgrade fails.
+ While upgrading a test site on Mahara 21.x that did not have LTI (1.1)
+ the upgrade fails.
  
  Tracked this to an upgrade step in htdocs/lib/db/upgrade.php
  
  This version resolved the issue:
  
  if ($oldversion < 2021042718) {
  $table = new XMLDBTable('lti_assessment');
  if (table_exists($table)) {
  log_debug("Make sure groups associated with LTI assessment have 
'submittableto' set to true");
  execute_sql("
  UPDATE {group}
  SET submittableto = 1
  WHERE id IN (
  SELECT foo.id FROM (
  SELECT g1.id
  FROM {lti_assessment} l
  JOIN {group} g1 ON g1.id = l.group
  WHERE g1.submittableto = 0
  ) AS foo
  )");
  }
  }
  
  Mitigation, if someone is in the middle of an update: Install the LTI
  module.

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1970680

Title:
  Upgrade fails when LTI not installed

Status in Mahara:
  Confirmed
Status in Mahara 20.10 series:
  Confirmed
Status in Mahara 21.04 series:
  Confirmed
Status in Mahara 21.10 series:
  Confirmed
Status in Mahara 22.04 series:
  Confirmed
Status in Mahara 22.10 series:
  In Progress

Bug description:
  While upgrading a test site on Mahara 21.x that did not have LTI (1.1)
  the upgrade fails.

  Tracked this to an upgrade step in htdocs/lib/db/upgrade.php

  This version resolved the issue:

  if ($oldversion < 2021042718) {
  $table = new XMLDBTable('lti_assessment');
  if (table_exists($table)) {
  log_debug("Make sure groups associated with LTI assessment have 
'submittableto' set to true");
  execute_sql("
  UPDATE {group}
  SET submittableto = 1
  WHERE id IN (
  SELECT foo.id FROM (
  SELECT g1.id
  FROM {lti_assessment} l
  JOIN {group} g1 ON g1.id = l.group
  WHERE g1.submittableto = 0
  ) AS foo
  )");
  }
  }

  Mitigation, if someone is in the middle of an update: Install the LTI
  module.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1970680/+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 1970693] Re: module_submissions: Missing language string

2022-04-27 Thread Kristina Hoeppner
Hi Tim,

Can you please confirm that this is for submitting a portfolio via LTI
1.1, e.g. in Moodle via the 'External tool' functionality?

Thank you
Kristina

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

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1970693

Title:
  module_submissions: Missing language string

Status in Mahara:
  Incomplete

Bug description:
  This item creates the language strings for when Mahara prevents you
  from submitting an assessment.

  Test Cases:
  Submit assignment as student
  Do not grade or access as staff
  Revoke submission as student
  Attempt to resubmit same page

  Version: 21.10.1
  Database: postgres

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1970693/+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 1957127] Re: Allow inclusion and exclusion of more than one institution in cli script 'delete_inactive_users'

2022-04-28 Thread Kristina Hoeppner
** Tags removed: wishlist

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1957127

Title:
  Allow inclusion and exclusion of more than one institution in cli
  script 'delete_inactive_users'

Status in Mahara:
  Fix Released

Bug description:
  Allow inclusion and exclusion of more than one institution in cli
  script 'delete_inactive_users'.

  This is through including more than one institutions -ii=i2,i3
  and excluding more than one institutions -ix=i2,i3

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1957127/+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 1970356] Re: Update the README file for the Mahara 22.04.0 release

2022-04-28 Thread Kristina Hoeppner
** No longer affects: mahara/22.10

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1970356

Title:
  Update the README file for the Mahara 22.04.0 release

Status in Mahara:
  Fix Released
Status in Mahara 22.04 series:
  Fix Released

Bug description:
  Updates to the README

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1970356/+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 1970371] Re: Elasticsearch7 - Collections not appearing in search results in MySQL8

2022-04-28 Thread Kristina Hoeppner
** Summary changed:

- Elasticsearch7 - Collections not appearing in search results
+ Elasticsearch7 - Collections not appearing in search results in MySQL8

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

** Also affects: mahara/22.04
   Importance: Undecided
   Status: Confirmed

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

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

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

** Changed in: mahara/22.10
Milestone: None => 22.10.0

** Changed in: mahara/22.04
Milestone: None => 22.04.2

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1970371

Title:
  Elasticsearch7 - Collections not appearing in search results in MySQL8

Status in Mahara:
  Confirmed
Status in Mahara 22.04 series:
  Confirmed
Status in Mahara 22.10 series:
  New

Bug description:
  A fix for this issue was included in the main Elasticsearch 7 patch:
  https://reviews.mahara.org/c/mahara/+/12105 (but may only have been
  tested with postgres)

  MySQL8+Firefox on main

  To replicate:
  1. Add a person to the site
  2. Enable Elasticsearch 7, select all artefact types and index the site
  3. Masquerade as the person you added
  4. Create a page and add it to a collection
  5. Run the cron to reindex the site
  6. Type a keyword of the Collection title in the search field, click the 
search button and select the 'Portfolios' tab

  Expected:
   - Title of Collection appears or pages that are in Collections are indicated 
as such

  Actual:
   - Only pages appear and you cannot search by Collection title

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1970371/+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


<    5   6   7   8   9   10   11   12   13   14   >