[Mahara-contributors] [Bug 1893591] Re: improve block dimension saving on DB

2020-10-21 Thread Rangi Daymond
Catalyst QA Testing - FAILED
Gerrit: https://reviews.mahara.org/#/c/11391/ patch set 3
Platforms: 
  ✘ Ubuntu-Firefox Theme: Raw
  ✘ Win10-Chrome Theme: Primary school
  ✘ Win10-Edge Theme: Default
  ✘ iOS14-Safari Theme: Default
  n/a Android10-Chrome Theme: Default

In all cases test scenario 1 test case 1.4 failed.  When the updated
page with two new blocks (first added after the existing one and the
second added before the existing one) was displayed, the newly added
blocks were automatically re-positioned incorrectly (in various ways -
please see comments on the patch).

When test scenario 4 was executed (new page, populate first block with
several paragraphs of text then resize it to use entire width of the
page, add block 2 to the bottom of the page and add block 3 to the top
of the page --> display the page) the same problems occurred.

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

Title:
  improve block dimension saving on DB

Status in Mahara:
  In Progress

Bug description:
  When editing a page, the way we save the block dimensions is not efficient 
and can be improved.
  For example if we add a block in the page, we will have an ajax call for 
every block that is moved, when we could have only one call for all the grid.
  When resizing a block there are multiple ajax calls even before the resizing 
stops.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1893591/+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 1893591] Re: improve block dimension saving on DB

2020-10-20 Thread Rangi Daymond
Gerrit: https://reviews.mahara.org/#/c/11391/ patch set 3
Platforms: Ubuntu-Firefox, Win10-Chrome, Win10-Edge, iOS14-Safari & 
Android10-Chrome
Theme: Raw

Preconditions: 
a) the 19.04_STABLE codebase is present with a clean database
b) The logged in Mahara site administrator account creates:
   - 'Original 19.04 single block - page1' with one large text block, and,
   - 'Original 19.04 4 block - page2', use 3 column layout & populate with:
  * text block in column1
  * image block in column2
  * files to download block in column3
  * image gallery block in column2 underneath the image block
c) The logged in account creates 5 copies (one for use in each browser above) 
of each page created in b)
d) Apply the patch and upgrade the database.

Repeat the following 3 test scenarios for each of the five platforms
given above, vary the site theme on each.

Test scenario 1: Verify that a simple page created in Mahara 19.04 can be 
upgraded to gridstack and successfully edited in Mahara 20.10.
Test steps:
1.1 Log in using the above Mahara account.
1.2 Navigate to 'Main menu' > 'Create' > 'Pages and collections' and select to 
view copy1 of page1.
Expected result: 'copy1.1 page1' displays successfully.
1.3 Select to edit 'copy1.1 page1' and agree to upgrade just this page to use 
grid stack.
Expected result: 'copy1.1 page1' displays in edit mode.
1.4 Select to add a new text block with content:
- after the existing text block, and then,
- before the existing text block.
Expected result: The new blocks and their content are added successfully.
1.5 Resize each of the blocks so they can be positioned next to each other in 3 
columns then view the page.
Expected result: The blocks are resized and repositioned successfully, the page 
view is as expected.

Test scenario 2: Verify that a page with multiple different blocks created in 
Mahara 19.04 can be upgraded to gridstack and successfully edited in Mahara 
20.10.
Test steps:
1.1 Log in using the above Mahara account.
1.2 Navigate to 'Main menu' > 'Create' > 'Pages and collections' and select to 
view copy1 of page2.
Expected result: 'copy1.1 page2' displays successfully.
1.3 Select to edit 'copy1.1 page2' and agree to upgrade just this page to use 
grid stack.
Expected result: 'copy1.1 page2' displays in edit mode.
1.4 Select to add a new block with content:
- before the existing blocks, and then,
- after the existing blocks.
Expected result: The new blocks and their content are added successfully.
1.5 Resize and reposition the blocks then view the page.
Expected result: The blocks are resized and repositioned successfully, the page 
view is as expected.

Test scenario 3: Verify that a page created in Mahara 19.04 can be copied and 
successfully edited in Mahara 20.10.
Test steps:
1.1 Log in using the above Mahara account.
1.2 Navigate to 'Main menu' > 'Create' > 'Pages and collections' and select to 
copy the original page2 then view it.
Expected result: copied 'copy1.2 page2 displays successfully.
1.3 Select to edit 'copy1.2 page2'
Expected result: 'copy1.2 page2' displays in edit mode - no upgrade prompt is 
displayed.
1.4 Select to add a new block with content:
- before the existing blocks, and then,
- after the existing blocks.
Expected result: The new blocks and their content are added successfully.
1.5 Resize and reposition the blocks then view the page.
Expected result: The blocks are resized and repositioned successfully, the page 
view is as expected.

Actual results - Ubuntu-Firefox ✔ PASSED (other 4 platforms not yet
tested)

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

Title:
  improve block dimension saving on DB

Status in Mahara:
  In Progress

Bug description:
  When editing a page, the way we save the block dimensions is not efficient 
and can be improved.
  For example if we add a block in the page, we will have an ajax call for 
every block that is moved, when we could have only one call for all the grid.
  When resizing a block there are multiple ajax calls even before the resizing 
stops.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1893591/+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 1898123] Re: iOS-Safari tablet - long block detail modal title overlaps block content

2020-10-18 Thread Rangi Daymond
Catalyst QA Tested - PASSED
Environment: mahara-qa environment (PostgreSQL 12.4 & PHP 7.4)
Platforms: iPad Air 2 iOS14-Safari, Samsung Galaxy Tab A (8), Win10-Chrome and 
Ubuntu Firefox
Theme: Primary School

Retested as above for given 4 platforms, for both:
a) Image block (long filename), view comments and details, and,
b) Smart evidence, edit annotation for standard with long name.

** Attachment added: "4A107A63-20B1-4752-B2FD-A5A8C2E3A51B.jpeg"
   
https://bugs.launchpad.net/mahara/+bug/1898123/+attachment/5423920/+files/4A107A63-20B1-4752-B2FD-A5A8C2E3A51B.jpeg

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

Title:
  iOS-Safari tablet - long block detail modal title overlaps block
  content

Status in Mahara:
  Confirmed
Status in Mahara 20.10 series:
  Confirmed
Status in Mahara 21.04 series:
  Confirmed

Bug description:
  Environment: master.dev 
  Browser: iOS 14.1 with Safari on iPad Air 2 (10") portrait

  Precondition: Logged in account has a page with an image block on it
  that has a long (45+characters) file name (see attached screen shot).

  Steps
  1. Log in and choose to view the page, select to view the block details and 
comments bars.
  2. Select the image block's details and comment bar.

  Expected result: the image's details modal opens and displays correctly.
  Actual result: the image's details modal opens but as the title does not fit 
on one line, its display wraps and it covers the 'Preview' heading (see 
attached screen shot).

   
  NOTE: this is not a problem when viewing the same modal using the 8" 
Android-Chrome device - in this case the grey title area is extended to two 
lines and the 'Preview' title displays beneath it.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1898123/+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 1898123] Re: iOS-Safari tablet - long block detail modal title overlaps block content

2020-10-14 Thread Rangi Daymond
Catalyst QA Tested - failed
Environment: mahara-qa environment (PostgreSQL 12.4 & PHP 7.4)
Platform: iPad Air 2 iOS14-Safari
Theme: Raw

Robert had noticed that there were also display problems with the title and COG 
icon display for the edit modals for the following blocks when they have long 
titles too:
- Smart evidence annotation 
- text.

During retest on the iOS-Safari device the attached screen shot was
noted.


** Attachment added: "iOS14-Safari Smart Evidence - Edit annotation screen.png"
   
https://bugs.launchpad.net/mahara/+bug/1898123/+attachment/5422408/+files/iOS14-Safari%20Smart%20Evidence%20-%20Edit%20annotation%20screen.png

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

Title:
  iOS-Safari tablet - long block detail modal title overlaps block
  content

Status in Mahara:
  Confirmed
Status in Mahara 20.10 series:
  Confirmed
Status in Mahara 21.04 series:
  Confirmed

Bug description:
  Environment: master.dev 
  Browser: iOS 14.1 with Safari on iPad Air 2 (10") portrait

  Precondition: Logged in account has a page with an image block on it
  that has a long (45+characters) file name (see attached screen shot).

  Steps
  1. Log in and choose to view the page, select to view the block details and 
comments bars.
  2. Select the image block's details and comment bar.

  Expected result: the image's details modal opens and displays correctly.
  Actual result: the image's details modal opens but as the title does not fit 
on one line, its display wraps and it covers the 'Preview' heading (see 
attached screen shot).

   
  NOTE: this is not a problem when viewing the same modal using the 8" 
Android-Chrome device - in this case the grey title area is extended to two 
lines and the 'Preview' title displays beneath it.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1898123/+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 1898123] Re: iOS-Safari tablet - long block detail modal title overlaps block content

2020-10-14 Thread Rangi Daymond
Catalyst QA Tested - PASSED
Environment: mahara-qa environment (PostgreSQL 12.4 & PHP 7.4)
Platform: iPad Air 2 iOS14-Safari
Theme: Raw

Note: also checked on the following environments to ensure fix did not degrade 
previous successful behaviour:
- Win10-Edge & Chrome
- Samsung 8" tablet with Android & Chrome

Steps followed as above (ie used same file on new page).

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

Title:
  iOS-Safari tablet - long block detail modal title overlaps block
  content

Status in Mahara:
  Confirmed
Status in Mahara 20.10 series:
  Confirmed
Status in Mahara 21.04 series:
  Confirmed

Bug description:
  Environment: master.dev 
  Browser: iOS 14.1 with Safari on iPad Air 2 (10") portrait

  Precondition: Logged in account has a page with an image block on it
  that has a long (45+characters) file name (see attached screen shot).

  Steps
  1. Log in and choose to view the page, select to view the block details and 
comments bars.
  2. Select the image block's details and comment bar.

  Expected result: the image's details modal opens and displays correctly.
  Actual result: the image's details modal opens but as the title does not fit 
on one line, its display wraps and it covers the 'Preview' heading (see 
attached screen shot).

   
  NOTE: this is not a problem when viewing the same modal using the 8" 
Android-Chrome device - in this case the grey title area is extended to two 
lines and the 'Preview' title displays beneath it.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1898123/+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 1899571] Re: The only site admin can suspend the account by oneself

2020-10-14 Thread Rangi Daymond
Catalyst QA Tested - PASSED
Environment: local Mahara master with patch set 
https://reviews.mahara.org/#/c/11361/2

Steps as above included testing for:

A. single account suspension via the Admin menu > People > People Search --> 
select single account to display the 'Site account settings' page, 'Suspend or 
delete this account' option is displayed in the account sidebar:
- can suspend some/all other site admin accounts
- cannot suspend own site/institution admin account (whether or not sole 
site/institution admin account)

B. bulk account suspension via the Admin menu > People > People Search --> 
select multiple accounts across pages (22 accounts present, 10 displayed per 
page) then select the 'Edit selected accounts' button and attempt to suspend:
- all accounts, including own (as the site/institution administrator) ✔ cannot 
do this
- all accounts, except own (as the site/institution administrator)  ✔ can do 
this.

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

Title:
  The only site admin can suspend the account by oneself

Status in Mahara:
  Fix Committed
Status in Mahara 20.10 series:
  Fix Committed

Bug description:
  Now the only site admin can suspend the account by oneself and be locked out 
from the site.
  So I think it's better for us to avoid site admins suspending oneself by 
changing code as below.

  File to modify:
  admin/users/bulk.php

  Line:
  294

  [ Before ]
  db_begin();

  foreach ($users as $user) {
  if (!$user->suspendedcusr) {
  suspend_user($user->id, $values['reason']);
  $suspended++;
  }
  }

  db_commit();

  $SESSION->add_ok_msg(get_string('bulksuspenduserssuccess', 'admin', 
$suspended));
  redirect('/admin/users/suspended.php');

  [ After ]
  db_begin();

  foreach ($users as $user) {
  if (!$user->suspendedcusr && !get_record('usr', 'id', $user->id, 
'admin', '1')) {
  suspend_user($user->id, $values['reason']);
  $suspended++;
  }
  }

  db_commit();

  $SESSION->add_ok_msg(get_string('bulksuspenduserssuccess', 'admin', 
$suspended));
  $SESSION->add_error_msg('You can\'t suspend site admins.');
  redirect('/admin/users/suspended.php');

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1899571/+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 1898123] Re: iOS-Safari tablet - long block detail modal title overlaps block content

2020-10-13 Thread Rangi Daymond
Catalyst QA Tested - PASSED
Environment: mahara-qa environment (PostgreSQL 12.4 & PHP 7.4)
Platform: iPad Air 2 iOS14-Safari
Theme: Raw

Note: also checked on the following environments to ensure fix did not degrade 
previous successful behaviour:
- Win10-Edge & Chrome
- Samsung 8" tablet with Android & Chrome

Steps followed as above (ie used same file on new page).

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

Title:
  iOS-Safari tablet - long block detail modal title overlaps block
  content

Status in Mahara:
  Confirmed
Status in Mahara 20.10 series:
  Confirmed
Status in Mahara 21.04 series:
  Confirmed

Bug description:
  Environment: master.dev 
  Browser: iOS 14.1 with Safari on iPad Air 2 (10") portrait

  Precondition: Logged in account has a page with an image block on it
  that has a long (45+characters) file name (see attached screen shot).

  Steps
  1. Log in and choose to view the page, select to view the block details and 
comments bars.
  2. Select the image block's details and comment bar.

  Expected result: the image's details modal opens and displays correctly.
  Actual result: the image's details modal opens but as the title does not fit 
on one line, its display wraps and it covers the 'Preview' heading (see 
attached screen shot).

   
  NOTE: this is not a problem when viewing the same modal using the 8" 
Android-Chrome device - in this case the grey title area is extended to two 
lines and the 'Preview' title displays beneath it.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1898123/+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 1897641] Re: 2010RC1: maroon theme for profile sideblock poor contrast

2020-10-06 Thread Rangi Daymond
Catalyst QA Retested - PASSED
Environment: master with patch set 5
Platform: Win10-Chrome and Ubuntu-Firefox

Steps as above.  Used browser 'Inspect' developer tool to get the new
colour assignments.

Background colour: #622C46
Foreground colour: #ff
Contrast ratio: 10.67:1 for normal text
Both WCAG AA & WCAG AAA compliant
See https://webaim.org/resources/contrastchecker/

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

Title:
  2010RC1: maroon theme for profile sideblock poor contrast

Status in Mahara:
  Confirmed
Status in Mahara 20.10 series:
  Confirmed
Status in Mahara 21.04 series:
  Confirmed

Bug description:
  Using QA Mahara with the following settings on Windows:
  PHP 7.4
  Postgres 10.9
  Skins enabled
  Individual themes enabled
  Pre-populated data

  Steps taken:
  Log in
  Change to Maroon theme
  Masquerade as another account holder
  Become admin again

  Expected:
  Account settings page displays with profile sideblock information easily 
readable.

  Actual:
  'Log in as this person' and 'Suspend or delete this account' links are a 
similar colour to the background. (See screenshot)

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1897641/+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 1897829] Re: 20.10RC1: Choosing details in image gallery opens a blank modal

2020-10-05 Thread Rangi Daymond
Catalyst QA Tested - PASSED
Environment: local Mahara instance - master plus patch set 1
Platform: Win10-Chrome with Themes: Maroon, Primary school & Raw

Steps as above however, used an imported folder that has 12 differently
sized images in it.

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

Title:
  20.10RC1: Choosing details in image gallery opens a blank modal

Status in Mahara:
  Confirmed
Status in Mahara 20.10 series:
  Confirmed
Status in Mahara 21.04 series:
  In Progress

Bug description:
  Using QA Mahara with the following settings on Windows:
  PHP 7.4
  Postgres 10.9
  Skins enabled
  Individual themes enabled
  Pre-populated data
  Maroon theme

  Also exists in master on Ubuntu 18.10 and postgres with Ocean theme

  Steps:
  As a person with a page, add an image gallery with 5 images.
  Save the page and display it.
  Click the magnifying glass icon and the resulting details icon

  Expected:
  A modal appears with details of the image gallery block

  Actual:
  A blank modal appears

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1897829/+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 1897831] Re: Pixel bump in diagonal maroon theme line at certain screen heights

2020-10-05 Thread Rangi Daymond
Hi Evonne - the footer displays as a stepped 'line' if the user is
viewing a long page (eg the Admin menu > Configure site > Site options >
Site settings ) and scrolls down to the bottom and then up again a bit.
Please see the attached screen shot.


** Attachment added: "Win10 plus Chrome - Maroon theme - footer displays as 
steps when user scrolls down.png"
   
https://bugs.launchpad.net/mahara/+bug/1897831/+attachment/5418143/+files/Win10%20plus%20Chrome%20-%20Maroon%20theme%20-%20footer%20displays%20as%20steps%20when%20user%20scrolls%20down.png

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

Title:
  Pixel bump in diagonal maroon theme line at certain screen heights

Status in Mahara:
  Confirmed
Status in Mahara 20.10 series:
  Confirmed
Status in Mahara 21.04 series:
  In Progress

Bug description:
  Using QA Mahara with the following settings on Windows:
  PHP 7.4
  Postgres 10.9
  Skins enabled
  Individual themes enabled
  Pre-populated data
  Maroon theme

  Steps
  Log in.
  Change the height of the window up and down

  Expected
  Page renders smoothly

  Actual
  Header bottom diagonal shows some fuzziness and a bump in the middle (see 
screenshot)

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1897831/+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 1898651] Re: Manage - Cannot create export file

2020-10-05 Thread Rangi Daymond
** Description changed:

  Environment: local Mahara master with https://reviews.mahara.org/#/c/11317/ 
patch set 1 applied
  Platform: Win10-Chrome and Ubuntu-Firefox
  
  Pre-condition: apply the patch to the latest master with a refreshed
  database.
  
  Steps:
  1. With logged in person, create a page with a single populated text block (5 
paragraphs of text re-sized to fill the width of the page).
  2. Create a single page collection using the above page.
  3. View the page then select the dashboard.
  4. Select Main menu > Manage > Export and attempt to create an export file 
containing the single page collection with each of the three options:
     - 'All my data'
     - 'Just some of my pages'
     - 'Just some of my collections'
  
  Expected result: an export file with the correct content is created with
  error message display or any console errors.
  
  Actual result: (see screen shot). The process stops at the 'Export your
  portfolio' page showing an incomplete progress bar and 'Writing files'.
  The export is NOT created and when the user selects the 'Continue'
  button they are taken back to the 'Export your portfolio' page.
  
  NOTE: perhaps this may be related to
- https://bugs.launchpad.net/mahara/+bug/1898650
+ https://bugs.launchpad.net/mahara/+bug/1898650  <-- Robert says no, more
+ likely to be related to https://reviews.mahara.org/#/c/11317/ or
+ https://bugs.launchpad.net/mahara/+bug/1898003 which is what I was
+ initially attempting to test (the situation seems to have got worse?)

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

Title:
  Manage - Cannot create export file

Status in Mahara:
  New

Bug description:
  Environment: local Mahara master with https://reviews.mahara.org/#/c/11317/ 
patch set 1 applied
  Platform: Win10-Chrome and Ubuntu-Firefox

  Pre-condition: apply the patch to the latest master with a refreshed
  database.

  Steps:
  1. With logged in person, create a page with a single populated text block (5 
paragraphs of text re-sized to fill the width of the page).
  2. Create a single page collection using the above page.
  3. View the page then select the dashboard.
  4. Select Main menu > Manage > Export and attempt to create an export file 
containing the single page collection with each of the three options:
     - 'All my data'
     - 'Just some of my pages'
     - 'Just some of my collections'

  Expected result: an export file with the correct content is created
  with error message display or any console errors.

  Actual result: (see screen shot). The process stops at the 'Export
  your portfolio' page showing an incomplete progress bar and 'Writing
  files'.  The export is NOT created and when the user selects the
  'Continue' button they are taken back to the 'Export your portfolio'
  page.

  NOTE: perhaps this may be related to
  https://bugs.launchpad.net/mahara/+bug/1898650  <-- Robert says no,
  more likely to be related to https://reviews.mahara.org/#/c/11317/ or
  https://bugs.launchpad.net/mahara/+bug/1898003 which is what I was
  initially attempting to test (the situation seems to have got worse?)

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1898651/+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 1898651] [NEW] Manage - Cannot create export file

2020-10-05 Thread Rangi Daymond
Public bug reported:

Environment: local Mahara master with https://reviews.mahara.org/#/c/11317/ 
patch set 1 applied
Platform: Win10-Chrome and Ubuntu-Firefox

Pre-condition: apply the patch to the latest master with a refreshed
database.

Steps:
1. With logged in person, create a page with a single populated text block (5 
paragraphs of text re-sized to fill the width of the page).
2. Create a single page collection using the above page.
3. View the page then select the dashboard.
4. Select Main menu > Manage > Export and attempt to create an export file 
containing the single page collection with each of the three options:
   - 'All my data'
   - 'Just some of my pages'
   - 'Just some of my collections'

Expected result: an export file with the correct content is created with
error message display or any console errors.

Actual result: (see screen shot). The process stops at the 'Export your
portfolio' page showing an incomplete progress bar and 'Writing files'.
The export is NOT created and when the user selects the 'Continue'
button they are taken back to the 'Export your portfolio' page.

NOTE: perhaps this may be related to
https://bugs.launchpad.net/mahara/+bug/1898650

** Affects: mahara
 Importance: Undecided
 Status: New

** Attachment added: "Win10 plus Chrome - cannot export single page 
collection.png"
   
https://bugs.launchpad.net/bugs/1898651/+attachment/5418140/+files/Win10%20plus%20Chrome%20-%20cannot%20export%20single%20page%20collection.png

** Description changed:

  Environment: local Mahara master with https://reviews.mahara.org/#/c/11317/ 
patch set 1 applied
  Platform: Win10-Chrome and Ubuntu-Firefox
  
  Pre-condition: apply the patch to the latest master with a refreshed
  database.
  
  Steps:
  1. With logged in person, create a page with a single populated text block (5 
paragraphs of text re-sized to fill the width of the page).
  2. Create a single page collection using the above page.
  3. View the page then select the dashboard.
  4. Select Main menu > Manage > Export and attempt to create an export file 
containing the single page collection with each of the three options:
-- 'All my data'
-- 'Just some of my pages'
-- 'Just some of my collections'
+    - 'All my data'
+    - 'Just some of my pages'
+    - 'Just some of my collections'
  
  Expected result: an export file with the correct content is created with
  error message display or any console errors.
  
  Actual result: (see screen shot). The process stops at the 'Export your
  portfolio' page showing an incomplete progress bar and 'Writing files'.
  The export is NOT created and when the user selects the 'Continue'
  button they are taken back to the 'Export your portfolio' page.
+ 
+ NOTE: perhaps this may be related to
+ https://bugs.launchpad.net/mahara/+bug/1898650

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

Title:
  Manage - Cannot create export file

Status in Mahara:
  New

Bug description:
  Environment: local Mahara master with https://reviews.mahara.org/#/c/11317/ 
patch set 1 applied
  Platform: Win10-Chrome and Ubuntu-Firefox

  Pre-condition: apply the patch to the latest master with a refreshed
  database.

  Steps:
  1. With logged in person, create a page with a single populated text block (5 
paragraphs of text re-sized to fill the width of the page).
  2. Create a single page collection using the above page.
  3. View the page then select the dashboard.
  4. Select Main menu > Manage > Export and attempt to create an export file 
containing the single page collection with each of the three options:
     - 'All my data'
     - 'Just some of my pages'
     - 'Just some of my collections'

  Expected result: an export file with the correct content is created
  with error message display or any console errors.

  Actual result: (see screen shot). The process stops at the 'Export
  your portfolio' page showing an incomplete progress bar and 'Writing
  files'.  The export is NOT created and when the user selects the
  'Continue' button they are taken back to the 'Export your portfolio'
  page.

  NOTE: perhaps this may be related to
  https://bugs.launchpad.net/mahara/+bug/1898650

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1898651/+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 1897660] Re: Timeline: page block display has far too much whitespace after first blocks

2020-10-05 Thread Rangi Daymond
Please see exported file

** Attachment added: "mahara-export-user1-2020-10-06_12-52.zip"
   
https://bugs.launchpad.net/mahara/+bug/1897660/+attachment/5418115/+files/mahara-export-user1-2020-10-06_12-52.zip

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

** Changed in: mahara/20.10
   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: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1897660

Title:
  Timeline: page block display has far too much whitespace after first
  blocks

Status in Mahara:
  In Progress
Status in Mahara 20.10 series:
  In Progress
Status in Mahara 21.04 series:
  In Progress

Bug description:
  Test environment: cloud MYSQL 8.0 PHP7.4
  Browser: Win10 VM --Edge (latest)
  Theme: Ocean

  Steps:
  1. Log in as an account holder that has authored at least one page.
  2. Display the page and use the 'More options' to turn the Timeline 
functionality on
  3. Select to 'Save to timeline' (note: page has a text block & an image block 
side by side then underneath that there are two external media blocks next to 
each other).
  4. Add another block to the page (used a folder block underneath the smaller 
external media block).
  5. Select to view the timeline (first dot selected) and scroll down to view 
the page.

  Expected results: the page content displays as it does in display
  mode.

  Actual result: the image is not displaying fully and there is a large
  amount of whitespace to scroll down through before the external media
  blocks are displayed. (please see attached screenshot)

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1897660/+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 1898502] [NEW] Android tablet - TinyMCE editor allows all 6 heading sizes

2020-10-04 Thread Rangi Daymond
Public bug reported:

Environment: master.dev
Platform/s: Android versions 7 & 9 with Chrome and also Firefox

Release 20.10 uses TinyMCE version 5.0 which is now described on their
web-site as 'legacy' for mobile, fixing this may require upgrading
TinyMCE.  Web site: https://www.tiny.cloud/docs/mobile/

Precondition: Logged in person has a page with a text block.

Steps:
1. Logged in user chooses to edit a text block (tap block), selects some text 
to make into a heading, and using the 'T' option selects to view the 'Styles' 
Headings options and selects a heading style (should only be 3 choices 
available).

Expected results: only three headings are available for selection (and
when the updated page is viewed and the heading 'Inspected', it shows
use of either h4, h5 or h6).

Actual result: there are 6 options available and if 'Heading 1' is
selected, when the updated page is viewed and the heading 'Inspected',
it shows use of h1.

Refer to Bug #1895213

** Affects: mahara
 Importance: Undecided
 Status: New

** Attachment added: "Android9-Chrome TinyMCE editor has Headings 1 through 6 
available for selection.jpg"
   
https://bugs.launchpad.net/bugs/1898502/+attachment/5417678/+files/Android9-Chrome%20TinyMCE%20editor%20has%20Headings%201%20through%206%20available%20for%20selection.jpg

** Summary changed:

- Android tablet - TinyMCE edtitor allows all 6 heading sizes
+ Android tablet - TinyMCE editor allows all 6 heading sizes

** Description changed:

- Environment: master.dev 
- Platform/s: Android versions 7 & 9 with Chrome and also Firefox 
+ Environment: master.dev
+ Platform/s: Android versions 7 & 9 with Chrome and also Firefox
  
  Release 20.10 uses TinyMCE version 5.0 which is now described on their
  web-site as 'legacy' for mobile, fixing this may require upgrading
  TinyMCE.  Web site: https://www.tiny.cloud/docs/mobile/
  
  Precondition: Logged in person has a page with a text block.
  
  Steps:
  1. Logged in user chooses to edit a text block (tap block), selects some text 
to make into a heading, and using the 'T' option selects to view the 'Styles' 
Headings options and selects a heading style (should only be 3 choices 
available).
  
  Expected results: only three headings are available for selection (and
  when the updated page is viewed and the heading 'Inspected', it shows
  use of either h4, h5 or h6).
  
  Actual result: there are 6 options available and if 'Heading 1' is
  selected, when the updated page is viewed and the heading 'Inspected',
  it shows use of h1.
+ 
+ Refer to Bug #1895213

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

Title:
  Android tablet - TinyMCE editor allows all 6 heading sizes

Status in Mahara:
  New

Bug description:
  Environment: master.dev
  Platform/s: Android versions 7 & 9 with Chrome and also Firefox

  Release 20.10 uses TinyMCE version 5.0 which is now described on their
  web-site as 'legacy' for mobile, fixing this may require upgrading
  TinyMCE.  Web site: https://www.tiny.cloud/docs/mobile/

  Precondition: Logged in person has a page with a text block.

  Steps:
  1. Logged in user chooses to edit a text block (tap block), selects some text 
to make into a heading, and using the 'T' option selects to view the 'Styles' 
Headings options and selects a heading style (should only be 3 choices 
available).

  Expected results: only three headings are available for selection (and
  when the updated page is viewed and the heading 'Inspected', it shows
  use of either h4, h5 or h6).

  Actual result: there are 6 options available and if 'Heading 1' is
  selected, when the updated page is viewed and the heading 'Inspected',
  it shows use of h1.

  Refer to Bug #1895213

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1898502/+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 1898485] [NEW] Android-Chrome tablet - Collection - add/remove page selection takes more than one tap to select

2020-10-04 Thread Rangi Daymond
Public bug reported:

Environment: master.dev
Browser: Samsung Galaxy Tab A (Android 9) and Chrome (note: Cecilia's phone 
also had same problem)
Theme: Primary school

Precondition: Logged in person has a collection with two or more pages
(detected using 4 pages).

Steps:
1. Log in navigate to Pages and collections and select to "Manage' the 
collection
2. Attempt to deselect a page that is in the collection (ie tap X once)
Expected result: The user is prompted to confirm the action and then the page 
is removed from the collection (right side column) and placed in the pages 
available for selection (left side column).
Actual result: The person must at least double tap the X - sometimes it doesn't 
select even after multiple taps/presses.  If it does get selected, the user is 
NOT prompted to confirm the action.

3. Select another page and add it to the collection.
Expected result: The user taps the checkbox to select it.  They can then choose 
to Add the page/s to the collection.
Actual result: The user cannot select the checkbox to check it, or, it takes at 
least 2 taps to check the checkbox.

** Affects: mahara
 Importance: Undecided
 Status: New

** Description changed:

  Environment: master.dev
  Browser: Samsung Galaxy Tab A (Android 9) and Chrome (note: Cecilia's phone 
also had same problem)
  Theme: Primary school
  
  Precondition: Logged in person has a collection with two or more pages
  (detected using 4 pages).
  
  Steps:
- 1. Log in navigate to Pages Na collections and select to "Manage' the 
collection
+ 1. Log in navigate to Pages and collections and select to "Manage' the 
collection
  2. Attempt to deselect a page that is in the collection (ie tap X once)
  Expected result: The user is prompted to confirm the action and then the page 
is removed from the collection (right side column) and placed in the pages 
available for selection (left side column).
  Actual result: The person must at least double tap the X - sometimes it 
doesn't select even after multiple taps/presses.  If it does get selected, the 
user is NOT prompted to confirm the action.
  
  3. Select another page and add it to the collection.
  Expected result: The user taps the checkbox to select it.  They can then 
choose to Add the page/s to the collection.
  Actual result: The user cannot select the checkbox to check it, or, it takes 
at least 2 taps to check the checkbox.

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

Title:
  Android-Chrome tablet - Collection - add/remove page selection takes
  more than one tap to select

Status in Mahara:
  New

Bug description:
  Environment: master.dev
  Browser: Samsung Galaxy Tab A (Android 9) and Chrome (note: Cecilia's phone 
also had same problem)
  Theme: Primary school

  Precondition: Logged in person has a collection with two or more pages
  (detected using 4 pages).

  Steps:
  1. Log in navigate to Pages and collections and select to "Manage' the 
collection
  2. Attempt to deselect a page that is in the collection (ie tap X once)
  Expected result: The user is prompted to confirm the action and then the page 
is removed from the collection (right side column) and placed in the pages 
available for selection (left side column).
  Actual result: The person must at least double tap the X - sometimes it 
doesn't select even after multiple taps/presses.  If it does get selected, the 
user is NOT prompted to confirm the action.

  3. Select another page and add it to the collection.
  Expected result: The user taps the checkbox to select it.  They can then 
choose to Add the page/s to the collection.
  Actual result: The user cannot select the checkbox to check it, or, it takes 
at least 2 taps to check the checkbox.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1898485/+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 1898124] Re: iOS-Safari tablet - Add block - content types icons sometimes overlap

2020-10-01 Thread Rangi Daymond
The second screenshot (please note that there are further examples as
the viewer continues to press 'Show more').

** Attachment added: "iOS-4_Safari - Add block - block type icons joined2.png"
   
https://bugs.launchpad.net/mahara/+bug/1898124/+attachment/5416322/+files/iOS-4_Safari%20-%20Add%20block%20-%20block%20type%20icons%20joined2.png

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

Title:
  iOS-Safari tablet - Add block - content types icons sometimes overlap

Status in Mahara:
  New

Bug description:
  Environment: master.dev
  Browser: iOS 14.1 with Safari on iPad Air 2 (10") portrait
  Theme: Ocean

  Steps
  1. Log in and add a new page, choose to add a new block.

  Expected result: the 'Placeholder: Configure' modal is displayed
  correctly and a content type option can be selected or 'Show more' can
  be selected if the required content type is not yet available.

  Actual result: as above, however some of icons are 'joined' or overlap
  as the user selects 'Show more'.  See 2 attached screen shots.

  NOTE: this does not occur when using the Android-Chrome (8") device,
  all icons are evenly separated.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1898124/+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 1898124] [NEW] iOS-Safari tablet - Add block - content types icons sometimes overlap

2020-10-01 Thread Rangi Daymond
Public bug reported:

Environment: master.dev
Browser: iOS 14.1 with Safari on iPad Air 2 (10") portrait
Theme: Ocean

Steps
1. Log in and add a new page, choose to add a new block.

Expected result: the 'Placeholder: Configure' modal is displayed
correctly and a content type option can be selected or 'Show more' can
be selected if the required content type is not yet available.

Actual result: as above, however some of icons are 'joined' or overlap
as the user selects 'Show more'.  See 2 attached screen shots.

NOTE: this does not occur when using the Android-Chrome (8") device, all
icons are evenly separated.

** Affects: mahara
 Importance: Undecided
 Status: New

** Attachment added: "iOS-4_Safari - Add block - block type icons joined1.png"
   
https://bugs.launchpad.net/bugs/1898124/+attachment/5416321/+files/iOS-4_Safari%20-%20Add%20block%20-%20block%20type%20icons%20joined1.png

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

Title:
  iOS-Safari tablet - Add block - content types icons sometimes overlap

Status in Mahara:
  New

Bug description:
  Environment: master.dev
  Browser: iOS 14.1 with Safari on iPad Air 2 (10") portrait
  Theme: Ocean

  Steps
  1. Log in and add a new page, choose to add a new block.

  Expected result: the 'Placeholder: Configure' modal is displayed
  correctly and a content type option can be selected or 'Show more' can
  be selected if the required content type is not yet available.

  Actual result: as above, however some of icons are 'joined' or overlap
  as the user selects 'Show more'.  See 2 attached screen shots.

  NOTE: this does not occur when using the Android-Chrome (8") device,
  all icons are evenly separated.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1898124/+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 1898123] [NEW] iOS-Safari tablet - long block detail modal title overlaps block content

2020-10-01 Thread Rangi Daymond
Public bug reported:

Environment: master.dev 
Browser: iOS 14.1 with Safari on iPad Air 2 (10") portrait

Precondition: Logged in account has a page with an image block on it
that has a long (45+characters) file name (see attached screen shot).

Steps
1. Log in and choose to view the page, select to view the block details and 
comments bars.
2. Select the image block's details and comment bar.

Expected result: the image's details modal opens and displays correctly.
Actual result: the image's details modal opens but as the title does not fit on 
one line, its display wraps and it covers the 'Preview' heading (see attached 
screen shot).

 
NOTE: this is not a problem when viewing the same modal using the 8" 
Android-Chrome device - in this case the grey title area is extended to two 
lines and the 'Preview' title displays beneath it.

** Affects: mahara
 Importance: Undecided
 Status: New

** Attachment added: "iOS-4_Safari - long block detail modal title overlaps 
block content.png"
   
https://bugs.launchpad.net/bugs/1898123/+attachment/5416320/+files/iOS-4_Safari%20-%20long%20block%20detail%20modal%20title%20overlaps%20block%20content.png

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

Title:
  iOS-Safari tablet - long block detail modal title overlaps block
  content

Status in Mahara:
  New

Bug description:
  Environment: master.dev 
  Browser: iOS 14.1 with Safari on iPad Air 2 (10") portrait

  Precondition: Logged in account has a page with an image block on it
  that has a long (45+characters) file name (see attached screen shot).

  Steps
  1. Log in and choose to view the page, select to view the block details and 
comments bars.
  2. Select the image block's details and comment bar.

  Expected result: the image's details modal opens and displays correctly.
  Actual result: the image's details modal opens but as the title does not fit 
on one line, its display wraps and it covers the 'Preview' heading (see 
attached screen shot).

   
  NOTE: this is not a problem when viewing the same modal using the 8" 
Android-Chrome device - in this case the grey title area is extended to two 
lines and the 'Preview' title displays beneath it.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1898123/+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 1897676] Re: Entire resume block - debug information displayed

2020-09-30 Thread Rangi Daymond
Note: Retesting by Rebecca found that it is the resizing of the block
that triggers the error messages.

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

Title:
  Entire resume block - debug information displayed

Status in Mahara:
  Confirmed
Status in Mahara 20.10 series:
  Confirmed
Status in Mahara 21.04 series:
  Confirmed

Bug description:
  Environment: cloud instance MYSQL 8.0 PHP7.4
  Browser: Win10 Edge
  Theme: Ocean

  Precondition: account holder has a well populated Résumé

  Steps:
  1. Log in to an account that can create pages
  2. Create a new page titled 'My Résumé' 
  3. Add a 'My entire résumé' block to the page with title 'My Résumé' & Save
  4. Resize the block to fill the page width
  5. Select to display the page

  Expected result: the page displays correctly.
  Actual result: The following error message is displayed after the page title 
& header but before the entire resume block.  It is displayed 30+ times then 
underneath all the messages is the block title and its content.  Please see the 
two attached screen shots; first a screen grab & second a full screen shot 
pasted

  "[DBG] c1 (lib/dml.php:379) get_record_sql found more than one row. If
  you meant to retrieve more than one record, use get_records_*,
  otherwise check your code or database for inconsistencies"

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1897676/+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 1897676] Re: Entire resume block - debug information displayed

2020-09-30 Thread Rangi Daymond
Bug Re-confirmed - retested in my local Postregres environment using
Win10-Edge.

Please see attached screenshot.  The number of messages (only 12 this
time) displayed seem to be related to how much data is present in the
resume (only standard first page of details entered - the previous
screen shot shows the result when most resume fields were populated).

** Attachment added: "Win10 Edge - Retest Entire resume block - debug 
information displayed repeated.png"
   
https://bugs.launchpad.net/mahara/+bug/1897676/+attachment/5415850/+files/Win10%20Edge%20-%20Retest%20Entire%20resume%20block%20-%20debug%20information%20displayed%20repeated.png

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

Title:
  Entire resume block - debug information displayed

Status in Mahara:
  New

Bug description:
  Environment: cloud instance MYSQL 8.0 PHP7.4
  Browser: Win10 Edge
  Theme: Ocean

  Precondition: account holder has a well populated Résumé

  Steps:
  1. Log in to an account that can create pages
  2. Create a new page titled 'My Résumé' 
  3. Add a 'My entire résumé' block to the page with title 'My Résumé' & Save
  4. Resize the block to fill the page width
  5. Select to display the page

  Expected result: the page displays correctly.
  Actual result: The following error message is displayed after the page title 
& header but before the entire resume block.  It is displayed 30+ times then 
underneath all the messages is the block title and its content.  Please see the 
two attached screen shots; first a screen grab & second a full screen shot 
pasted

  "[DBG] c1 (lib/dml.php:379) get_record_sql found more than one row. If
  you meant to retrieve more than one record, use get_records_*,
  otherwise check your code or database for inconsistencies"

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1897676/+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 1897677] Re: Entire resume block - errors display on display of new saved page

2020-09-28 Thread Rangi Daymond
Screen grab/shot of displayed window

** Attachment added: "Win10 plus Edge - Ocean - error repeatedly displayed when 
entire resume block page is displayed for the first time.png"
   
https://bugs.launchpad.net/mahara/+bug/1897677/+attachment/5415143/+files/Win10%20plus%20Edge%20-%20Ocean%20-%20error%20repeatedly%20displayed%20when%20entire%20resume%20block%20page%20is%20displayed%20for%20the%20first%20time.png

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

Title:
  Entire resume block - errors display on display of new saved page

Status in Mahara:
  New

Bug description:
  Environment: cloud instance MYSQL 8.0 PHP7.4
  Browser: Win10 Edge
  Theme: Ocean

  Precondition: account holder has a well populated Résumé

  Steps:
  1. Log in to an account that can create pages
  2. Create a new page titled 'My Résumé' 
  3. Add a 'My entire résumé' block to the page with title 'My Résumé' & Save
  4. Resize the block to fill the page width
  5. Select to display the page

  Expected result: the page displays correctly.
  Actual result: The following error message is displayed after the page title 
& header but before the entire resume block.  It is displayed 30+ times then 
underneath all the messages is the block title and its content.  Please see the 
two attached screen shots; first a screen grab & second a full screen shot 
pasted

  "[DBG] c1 (lib/dml.php:379) get_record_sql found more than one row. If
  you meant to retrieve more than one record, use get_records_*,
  otherwise check your code or database for inconsistencies"

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1897677/+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 1897677] [NEW] Entire resume block - errors display on display of new saved page

2020-09-28 Thread Rangi Daymond
Public bug reported:

Environment: cloud instance MYSQL 8.0 PHP7.4
Browser: Win10 Edge
Theme: Ocean

Precondition: account holder has a well populated Résumé

Steps:
1. Log in to an account that can create pages
2. Create a new page titled 'My Résumé' 
3. Add a 'My entire résumé' block to the page with title 'My Résumé' & Save
4. Resize the block to fill the page width
5. Select to display the page

Expected result: the page displays correctly.
Actual result: The following error message is displayed after the page title & 
header but before the entire resume block.  It is displayed 30+ times then 
underneath all the messages is the block title and its content.  Please see the 
two attached screen shots; first a screen grab & second a full screen shot 
pasted

"[DBG] c1 (lib/dml.php:379) get_record_sql found more than one row. If
you meant to retrieve more than one record, use get_records_*, otherwise
check your code or database for inconsistencies"

** Affects: mahara
 Importance: Undecided
 Status: New

** Attachment added: "Win10 plus Edge - Ocean - Entire resume block errors 
display the first time display selected.odt"
   
https://bugs.launchpad.net/bugs/1897677/+attachment/5415142/+files/Win10%20plus%20Edge%20-%20Ocean%20-%20Entire%20resume%20block%20errors%20display%20the%20first%20time%20display%20selected.odt

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

Title:
  Entire resume block - errors display on display of new saved page

Status in Mahara:
  New

Bug description:
  Environment: cloud instance MYSQL 8.0 PHP7.4
  Browser: Win10 Edge
  Theme: Ocean

  Precondition: account holder has a well populated Résumé

  Steps:
  1. Log in to an account that can create pages
  2. Create a new page titled 'My Résumé' 
  3. Add a 'My entire résumé' block to the page with title 'My Résumé' & Save
  4. Resize the block to fill the page width
  5. Select to display the page

  Expected result: the page displays correctly.
  Actual result: The following error message is displayed after the page title 
& header but before the entire resume block.  It is displayed 30+ times then 
underneath all the messages is the block title and its content.  Please see the 
two attached screen shots; first a screen grab & second a full screen shot 
pasted

  "[DBG] c1 (lib/dml.php:379) get_record_sql found more than one row. If
  you meant to retrieve more than one record, use get_records_*,
  otherwise check your code or database for inconsistencies"

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1897677/+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 1897676] [NEW] Entire resume block - errors display on display of new saved page

2020-09-28 Thread Rangi Daymond
Public bug reported:

Environment: cloud instance MYSQL 8.0 PHP7.4
Browser: Win10 Edge
Theme: Ocean

Precondition: account holder has a well populated Résumé

Steps:
1. Log in to an account that can create pages
2. Create a new page titled 'My Résumé' 
3. Add a 'My entire résumé' block to the page with title 'My Résumé' & Save
4. Resize the block to fill the page width
5. Select to display the page

Expected result: the page displays correctly.
Actual result: The following error message is displayed after the page title & 
header but before the entire resume block.  It is displayed 30+ times then 
underneath all the messages is the block title and its content.  Please see the 
two attached screen shots; first a screen grab & second a full screen shot 
pasted

"[DBG] c1 (lib/dml.php:379) get_record_sql found more than one row. If
you meant to retrieve more than one record, use get_records_*, otherwise
check your code or database for inconsistencies"

** Affects: mahara
 Importance: Undecided
 Status: New

** Attachment added: "Win10 plus Edge - Ocean - Entire resume block errors 
display the first time display selected.odt"
   
https://bugs.launchpad.net/bugs/1897676/+attachment/5415141/+files/Win10%20plus%20Edge%20-%20Ocean%20-%20Entire%20resume%20block%20errors%20display%20the%20first%20time%20display%20selected.odt

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

Title:
  Entire resume block - errors display on display of new saved page

Status in Mahara:
  New

Bug description:
  Environment: cloud instance MYSQL 8.0 PHP7.4
  Browser: Win10 Edge
  Theme: Ocean

  Precondition: account holder has a well populated Résumé

  Steps:
  1. Log in to an account that can create pages
  2. Create a new page titled 'My Résumé' 
  3. Add a 'My entire résumé' block to the page with title 'My Résumé' & Save
  4. Resize the block to fill the page width
  5. Select to display the page

  Expected result: the page displays correctly.
  Actual result: The following error message is displayed after the page title 
& header but before the entire resume block.  It is displayed 30+ times then 
underneath all the messages is the block title and its content.  Please see the 
two attached screen shots; first a screen grab & second a full screen shot 
pasted

  "[DBG] c1 (lib/dml.php:379) get_record_sql found more than one row. If
  you meant to retrieve more than one record, use get_records_*,
  otherwise check your code or database for inconsistencies"

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1897676/+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 1897660] Re: Timeline: page block display has far too much whitespace after first blocks

2020-09-28 Thread Rangi Daymond
Added screenshot

** Attachment added: "Win10 plus Edge - Ocean - Timeline display bug.odt"
   
https://bugs.launchpad.net/mahara/+bug/1897660/+attachment/5415087/+files/Win10%20plus%20Edge%20-%20Ocean%20-%20Timeline%20display%20bug.odt

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

Title:
  Timeline: page block display has far too much whitespace after first
  blocks

Status in Mahara:
  New

Bug description:
  Test environment: cloud MYSQL 8.0 PHP7.4 
  (instance & sample url 
https://2010rc1release-64877.qa.mahara.org/view/versioning.php?view=1065)
  Browser: Win10 VM --Edge (latest)
  Theme: Ocean

  Steps:
  1. Log in as an account holder that has authored at least one page.
  2. Display the page and use the 'More options' to turn the Timeline 
functionality on
  3. Select to 'Save to timeline' (note: page has a text block & an image block 
side by side then underneath that there are two external media blocks next to 
each other).
  4. Add another block to the page (used a folder block underneath the smaller 
external media block).
  5. Select to view the timeline (first dot selected) and scroll down to view 
the page.

  Expected results: the page content displays as it does in display
  mode.

  Actual result: the image is not displaying fully and there is a large
  amount of whitespace to scroll down through before the external media
  blocks are displayed. (please see attached screenshot)

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1897660/+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 1897660] [NEW] Timeline: page block display has far too much whitespace after first blocks

2020-09-28 Thread Rangi Daymond
Public bug reported:

Test environment: cloud MYSQL 8.0 PHP7.4 
(instance & sample url 
https://2010rc1release-64877.qa.mahara.org/view/versioning.php?view=1065)
Browser: Win10 VM --Edge (latest)
Theme: Ocean

Steps:
1. Log in as an account holder that has authored at least one page.
2. Display the page and use the 'More options' to turn the Timeline 
functionality on
3. Select to 'Save to timeline' (note: page has a text block & an image block 
side by side then underneath that there are two external media blocks next to 
each other).
4. Add another block to the page (used a folder block underneath the smaller 
external media block).
5. Select to view the timeline (first dot selected) and scroll down to view the 
page.

Expected results: the page content displays as it does in display mode.

Actual result: the image is not displaying fully and there is a large
amount of whitespace to scroll down through before the external media
blocks are displayed. (please see attached screenshot)

** Affects: mahara
 Importance: Undecided
 Status: New

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

Title:
  Timeline: page block display has far too much whitespace after first
  blocks

Status in Mahara:
  New

Bug description:
  Test environment: cloud MYSQL 8.0 PHP7.4 
  (instance & sample url 
https://2010rc1release-64877.qa.mahara.org/view/versioning.php?view=1065)
  Browser: Win10 VM --Edge (latest)
  Theme: Ocean

  Steps:
  1. Log in as an account holder that has authored at least one page.
  2. Display the page and use the 'More options' to turn the Timeline 
functionality on
  3. Select to 'Save to timeline' (note: page has a text block & an image block 
side by side then underneath that there are two external media blocks next to 
each other).
  4. Add another block to the page (used a folder block underneath the smaller 
external media block).
  5. Select to view the timeline (first dot selected) and scroll down to view 
the page.

  Expected results: the page content displays as it does in display
  mode.

  Actual result: the image is not displaying fully and there is a large
  amount of whitespace to scroll down through before the external media
  blocks are displayed. (please see attached screenshot)

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1897660/+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 1890973] Re: Behat: 'Shared with me' pages displayed in order of most recent comments

2020-09-21 Thread Rangi Daymond
** Description changed:

  Automating manual test:
  
- From the main menu click on Share 
  
- select Shared with me
- Displays Title/Comments/Last comments page 
- lists the most recently modified or commented on pages that have been shared 
with you 
- They may have been shared with you directly, shared with friends of the 
owner, or shared with one of your groups
+ From the main menu click on Share
+ select Shared with me (note: Shared by me doesn't have comment details,
+ it has access details)
+ Displays Title/Comments/Last comments page
+ lists the most recently modified or commented on pages that have been shared 
with you
+ They may have been shared with you directly, shared with friends of the 
owner, or shared with one of your groups, shared with registered users, or 
shared with the public.
  
- 
- can add to /make_comment_public.feature to make sure this is covered: Add a 
test for the column headings and a test for the order of comments displayed. 
The existing test has pages sharing and comments, so should be straight-forward.
+ can add to /make_comment_public.feature to make sure this is covered:
+ Add a test for the column headings and a test for the order of comments
+ displayed. The existing test has pages sharing and comments, so should
+ be straight-forward.

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

Title:
  Behat: 'Shared with me' pages displayed in order of most recent
  comments

Status in Mahara:
  Confirmed

Bug description:
  Automating manual test:

  From the main menu click on Share
  select Shared with me (note: Shared by me doesn't have comment details,
  it has access details)
  Displays Title/Comments/Last comments page
  lists the most recently modified or commented on pages that have been shared 
with you
  They may have been shared with you directly, shared with friends of the 
owner, or shared with one of your groups, shared with registered users, or 
shared with the public.

  can add to /make_comment_public.feature to make sure this is covered:
  Add a test for the column headings and a test for the order of
  comments displayed. The existing test has pages sharing and comments,
  so should be straight-forward.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1890973/+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 1889480] Re: Adding new Maroon theme

2020-09-15 Thread Rangi Daymond
Catalyst QA Tested - PASSED
Gerrit: https://reviews.mahara.org/#/c/11091/ Patch set 13
Browser/s: Chrome
Theme: Raw, Ocean and Primary school

The following test scenarios were successful (please see the attached document 
for details):
Test scenario 1: verify the Alegreya & Alegreya Sans fonts have been installed 
correctly.
Test scenario 2: verify that the Alegreya & Alegreya Sans fonts are correctly 
available for
use in new site skins when the default site theme is not 'Maroon'.
Test scenario 3: repeat scenario 2 for a new personal skin named ‘NewPerSkin’, 
change the
theme to Ocean instead.
Test scenario 4: verify that an existing skin can be updated to use the 
'Alegreya' and/or
   'Alegreya Sans' fonts.
Test scenario 5: verify that the theme README.Mahara files are present 
correctly.
Test scenario 6: verify that the thumbnails for site and personal skins that 
explicitly
   use the 'Shadows into Light Two' font are correct.

** Attachment added: "bug1889480 updated4.odt"
   
https://bugs.launchpad.net/mahara/+bug/1889480/+attachment/5411192/+files/bug1889480%20updated4.odt

** Changed in: mahara
 Assignee: Rangi Daymond (rangid) => (unassigned)

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

Title:
  Adding new Maroon theme

Status in Mahara:
  Fix Committed

Bug description:
  Adding a new theme called Maroon

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1889480/+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 1874530] Re: extracting a zipped file's contents not working correctly

2020-09-14 Thread Rangi Daymond
27;Main menu' > 'Create' > 'Files' and mouse over the
zip file name to get its ID.
3.2 Using another browser window, log in as site admin.
3.3 Place the following URL (adjusted with your values) into the admin's
address bar:
http:///artefact/file/extract.php?file=
Expected results:
- ✔ the 'Decompress' page displays
- ✔ the message 'Access denied. You do not have access to view this
  page.' is displayed.

** Attachment added: "ActualResults.ods"
   
https://bugs.launchpad.net/mahara/+bug/1874530/+attachment/5410829/+files/ActualResults.ods

** Changed in: mahara
 Assignee: Rangi Daymond (rangid) => (unassigned)

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

Title:
  extracting a zipped file's contents not working correctly

Status in Mahara:
  In Progress

Bug description:
  This page needs some fixing up, the current problems are:

  1) The process bar is in the old css style and should be using the new
  colours and not have a scroll bar in it

  2) The general layout of the page could use some tidying up as well

  3) The extraction of files looks to work but there is no redirect back
  to files page (either automatically or via a button)

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1874530/+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 1892105] Re: Cover image file not copied for institution collection

2020-09-14 Thread Rangi Daymond
Catalyst QA Tested - PASSED

Gerrit: https://reviews.mahara.org/#/c/11181/ patch 3
Browser/s: Chrome
Theme: Raw

Testing details in the attached spreadsheet.

** Attachment added: "Bug #1892105 Cover image file not copied for institution 
collection executed test cases.ods"
   
https://bugs.launchpad.net/mahara/+bug/1892105/+attachment/5410828/+files/Bug%20%231892105%20Cover%20image%20file%20not%20copied%20for%20institution%20collection%20executed%20test%20cases.ods

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

Title:
  Cover image file not copied for institution collection

Status in Mahara:
  Fix Committed
Status in Mahara 20.04 series:
  Confirmed
Status in Mahara 20.10 series:
  Fix Committed

Bug description:
  When you have a collection on the institution level and add a cover
  image, the file is not associated when you copy it into your personal
  account. The file still comes along, but is not placed into the 'Cover
  images' folder.

  It nearly works fine for pages (see note below).

  This also needs to be tested for copying of collections on all other
  levels (personal, site, group).

  To replicate for institution collection:

  1. As site or institution admin, create a collection with 1 page.
  2. Upload a cover image to the collection.
  3. Share the page and make it copyable.
  4. Log in as another account holder.
  5. Copy the collection.
  6. View the collection on 'Pages and collections'.
  Expected result: The collection's cover image is displayed.
  Actual result: There is not cover image displayed.

  **Please note: When the above steps are 'repeated' for a page, the
  page cover image does display on the 'Pages and collections' page,
  however, the file is NOT present in the 'Files' > 'Cover images'
  folder.  It is instead placed in a sub-folder of the 'viewfiles'
  folder, this sub-sub-folder also contains any other files that were
  present for the copied page.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1892105/+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 1891265] Re: Behat: Check Page->Advanced has an instrution field

2020-08-31 Thread Rangi Daymond
** Changed in: mahara
   Status: New => In Progress

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

Title:
  Behat: Check Page->Advanced has an instrution field

Status in Mahara:
  In Progress

Bug description:
  Automating a manual test. Copied from spreadsheet:

  Page instructions: Pages can be set up with instructions that sit at
  the top of the page rather than needing to use a block for that.

  Create a new portfolio page
  Confirm that there is a new field under the advanced accordion tab
  Label = “Instructions”

  Lock blocks: You can lock blocks to a page preventing their deletion
  from the page. While a portfolio author can remove the lock, at first
  look it is not possible to delete the blocks.

  Create a new portfolio page
  Confirm that there is a new toggle under the advanced accordion tab
  Label = “Lock blocks”

  
  we can add a few lines to create_delete_page.feature to check these things. 
In the section commented: "# This is the test for manually creating a page", at 
around line 25, before And I press "Save", open the "Advanced" accordion and 
look for instructions and lock blocks.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1891265/+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 1862839] Re: Behat: Page template become unavailable after changing settings

2020-08-31 Thread Rangi Daymond
** Changed in: mahara
 Assignee: Rangi Daymond (rangid) => (unassigned)

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

Title:
  Behat: Page template become unavailable after changing settings

Status in Mahara:
  Fix Committed

Bug description:
  Refer to Bug 1824767 Site pages and collections : Page template become
  unavailable after changing settings.

  Update Behat test site_page_with_template_blocks.feature to include checks 
that there is no access:
  a) to "Share" on any of the four template cards, and,
  b) to "Share" within any of the four edit template pages.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1862839/+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 1891955] Re: Behat: rename versioning.feature->timeline.feature

2020-08-31 Thread Rangi Daymond
** Changed in: mahara
 Assignee: Rangi Daymond (rangid) => (unassigned)

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

Title:
  Behat: rename versioning.feature->timeline.feature

Status in Mahara:
  Fix Committed

Bug description:
  Let's change the name of this test to make it more obvious what it does:
  versioning.feature->timeline.feature

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1891955/+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 1883829] Re: Behat: extend create_and_delete_menu_item feature

2020-08-31 Thread Rangi Daymond
** Changed in: mahara
 Assignee: Rangi Daymond (rangid) => (unassigned)

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

Title:
  Behat: extend create_and_delete_menu_item feature

Status in Mahara:
  Fix Committed

Bug description:
  Extend create_and_delete_menu_item feature to include:

  a) update scenario 1 create, verify and delete an external link on the
  Dashboard page (via logged in user) to also create, verify and delete
  an external link on the logged out user page (via public user)

  b) include a new scenario 2 to create, verify and delete a file
  download link on the Dashboard page (via logged in user) and to also
  create, verify and delete a file download link on the logged out user
  page (via public user)

  c) the previous scenario 2 remains unchanged in position 3.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1883829/+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 1860943] Re: Behat: update copy_note_content.feature

2020-08-31 Thread Rangi Daymond
** Changed in: mahara
 Assignee: Rangi Daymond (rangid) => (unassigned)

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

Title:
  Behat: update copy_note_content.feature

Status in Mahara:
  Fix Committed

Bug description:
  Refer to Bug 1044878 Make the info on copying text box more obvious.
  Update Behat test copy_note_content.feature to include coverage for creating 
a new note block via
  a) copy note content (and create new note content that can be edited separate 
to the original content)
  versus
  b) use existing note content (and edit the original content in all places 
that it is used).

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1860943/+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 1877497] Re: Skins not exporting / importing header image

2020-08-30 Thread Rangi Daymond
Catalyst QA Tested - PASSED

Please see the attached:
a) executed test cases document and 
b) execution spreadsheet (see next comment).

Test scenarios:
Test scenario 1: Skins exported from 19.04 can be successfully imported
to the site that has the patch applied.
Test scenario 2: Skins exported from 19.10 can be successfully imported
to the site that has the patch applied.
Test scenario 3: Skins can be successfully created, exported, and imported
to the site that has the patch applied.


** Attachment added: "bug1877497_update4_ExecutedTestCases.docx"
   
https://bugs.launchpad.net/mahara/+bug/1877497/+attachment/5405906/+files/bug1877497_update4_ExecutedTestCases.docx

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

Title:
  Skins not exporting / importing header image

Status in Mahara:
  Fix Committed

Bug description:
  Problems being fixed under this bug report are

  Use the central default viewskin array from lib/skin.php when creating
  / updating / importing a skin so that any missing info can be supplied
  by default array

  Exporting a skin with a header_background_image doesn't get added to
  the export and therefore not imported either

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1877497/+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 1877497] Re: Skins not exporting / importing header image

2020-08-30 Thread Rangi Daymond
Attached test data and execution spreadsheet for previous
comment.?field.comment=Attached test data and execution spreadsheet for
previous comment.

** Attachment added: "TestDataAndActualResult-Grids.ods"
   
https://bugs.launchpad.net/mahara/+bug/1877497/+attachment/5405907/+files/TestDataAndActualResult-Grids.ods

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

Title:
  Skins not exporting / importing header image

Status in Mahara:
  Fix Committed

Bug description:
  Problems being fixed under this bug report are

  Use the central default viewskin array from lib/skin.php when creating
  / updating / importing a skin so that any missing info can be supplied
  by default array

  Exporting a skin with a header_background_image doesn't get added to
  the export and therefore not imported either

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1877497/+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 1892105] Re: Cover image file not copied for institution collection

2020-08-30 Thread Rangi Daymond
Catalyst QA Re-tested - please see attached spreadsheet for details.

Summary: When a collection is copied, the image is copied along and placed into
the 'Home' folder, but not added as cover image for the collection.

Cover images for pages behave correctly.



The following note was added by the developer on the patch:

"If a collection and its copy have the same owner,
then use the same artefact id (same image file)
as the cover image.

If the owners are different then use the copied
file artefact id for the cover image.


** Attachment added: "Bug #1892105 Cover image file not copied for institution 
collection Test Cases.xlsx"
   
https://bugs.launchpad.net/mahara/+bug/1892105/+attachment/5405898/+files/Bug%20%231892105%20Cover%20image%20file%20not%20copied%20for%20institution%20collection%20Test%20Cases.xlsx

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

Title:
  Cover image file not copied for institution collection

Status in Mahara:
  In Progress

Bug description:
  When you have a collection on the institution level and add a cover
  image, the file is not associated when you copy it into your personal
  account. The file still comes along, but is not placed into the 'Cover
  images' folder.

  It nearly works fine for pages (see note below).

  This also needs to be tested for copying of collections on all other
  levels (personal, site, group).

  To replicate for institution collection:

  1. As site or institution admin, create a collection with 1 page.
  2. Upload a cover image to the collection.
  3. Share the page and make it copyable.
  4. Log in as another account holder.
  5. Copy the collection.
  6. View the collection on 'Pages and collections'.
  Expected result: The collection's cover image is displayed.
  Actual result: There is not cover image displayed.

  **Please note: When the above steps are 'repeated' for a page, the
  page cover image does display on the 'Pages and collections' page,
  however, the file is NOT present in the 'Files' > 'Cover images'
  folder.  It is instead placed in a sub-folder of the 'viewfiles'
  folder, this sub-sub-folder also contains any other files that were
  present for the copied page.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1892105/+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 1874530] Re: extracting a zipped file's contents not working correctly

2020-08-23 Thread Rangi Daymond
** Changed in: mahara
 Assignee: Robert Lyon (robertl-9) => Rangi Daymond (rangid)

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

Title:
  extracting a zipped file's contents not working correctly

Status in Mahara:
  In Progress

Bug description:
  This page needs some fixing up, the current problems are:

  1) The process bar is in the old css style and should be using the new
  colours and not have a scroll bar in it

  2) The general layout of the page could use some tidying up as well

  3) The extraction of files looks to work but there is no redirect back
  to files page (either automatically or via a button)

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1874530/+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 1892105] Re: Cover image file not copied for institution collection

2020-08-23 Thread Rangi Daymond
** Description changed:

  When you have a collection on the institution level and add a cover
  image, the file is not associated when you copy it into your personal
  account. The file still comes along, but is not placed into the 'Cover
  images' folder.
  
- It works fine for pages.
+ It nearly works fine for pages (see note below).
  
  This also needs to be tested for copying of collections on all other
  levels (personal, site, group).
  
  To replicate for institution collection:
  
  1. As site or institution admin, create a collection with 1 page.
  2. Upload a cover image to the collection.
  3. Share the page and make it copyable.
  4. Log in as another account holder.
  5. Copy the collection.
  6. View the collection on 'Pages and collections'.
  Expected result: The collection's cover image is displayed.
  Actual result: There is not cover image displayed.
+ 
+ **Please note: When the above steps are 'repeated' for a page, the page
+ cover image does display on the 'Pages and collections' page, however,
+ the file is NOT present in the 'Files' > 'Cover images' folder.  It is
+ instead placed in a sub-folder of the 'viewfiles' folder, this sub-sub-
+ folder also contains any other files that were present for the copied
+ page.

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

Title:
  Cover image file not copied for institution collection

Status in Mahara:
  Confirmed

Bug description:
  When you have a collection on the institution level and add a cover
  image, the file is not associated when you copy it into your personal
  account. The file still comes along, but is not placed into the 'Cover
  images' folder.

  It nearly works fine for pages (see note below).

  This also needs to be tested for copying of collections on all other
  levels (personal, site, group).

  To replicate for institution collection:

  1. As site or institution admin, create a collection with 1 page.
  2. Upload a cover image to the collection.
  3. Share the page and make it copyable.
  4. Log in as another account holder.
  5. Copy the collection.
  6. View the collection on 'Pages and collections'.
  Expected result: The collection's cover image is displayed.
  Actual result: There is not cover image displayed.

  **Please note: When the above steps are 'repeated' for a page, the
  page cover image does display on the 'Pages and collections' page,
  however, the file is NOT present in the 'Files' > 'Cover images'
  folder.  It is instead placed in a sub-folder of the 'viewfiles'
  folder, this sub-sub-folder also contains any other files that were
  present for the copied page.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1892105/+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 1889480] Re: Adding new Maroon theme

2020-08-20 Thread Rangi Daymond
** Changed in: mahara
 Assignee: (unassigned) => Rangi Daymond (rangid)

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

Title:
  Adding new Maroon theme

Status in Mahara:
  In Progress

Bug description:
  Adding a new theme called Maroon

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1889480/+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 1891266] Re: Behat: Confirm correct dashboard elements are present

2020-08-16 Thread Rangi Daymond
** Changed in: mahara
   Status: New => In Progress

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

Title:
  Behat: Confirm correct dashboard elements are present

Status in Mahara:
  In Progress

Bug description:
  Automating a manual test. Copied from spreadsheet:

  Verify default dashboard includes the following blocks:
  Latest pages, My pages, Inbox, Topics I’m following
  (Note these titles are out of date. We need to check the current titles)

  Verify user can add or remove blocks via edit dashboard

  For this we can add to the homepage_buttons.feature. I suggest
  renaming it to dashboard.feature and it can be the core test for items
  on that page.

  1. Add a scenario called "Checking default blocks are displayed".

  2. As the section commented "# check for bug 1493199 name changed from
  “Latest pages” to “Latest changes I can view”" includes a check for
  that, transfer it to the new scenario.

  3. Add checks for the other defaults:
  Inbox
  Topics I am following
  My portfolios
  Watched pages

  4. Follow "Edit dashboard" and confirm that the blocks all contain a
  "Remove block" option and that all except My portfolios contain a
  "Configure block" option.

  5. Test that the configure modal opens for one of the blocks and that
  you can save a change. (Note that we are not interested in this test
  whether the options work.)

  6. Test that you can delete one of the blocks

  7. Return to the dashboard and confirm the block you deleted is not
  displayed.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1891266/+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 1889480] Re: Adding new Maroon theme

2020-08-15 Thread Rangi Daymond
Hi Robert - the two new fonts (and 4 of the five others) each
display "Font license not found" underneath the font name panel
heading when their admin/site/fonts.php "View font specimen" link
is selected.  Osvaldo is the only one with a linked "Font license".

Please see screen shot attached to this comment.

** Attachment added: "Fonts - Font license not found - displayed by 6 of 7 
fonts.png"
   
https://bugs.launchpad.net/mahara/+bug/1889480/+attachment/5401845/+files/Fonts%20-%20Font%20license%20not%20found%20-%20displayed%20by%206%20of%207%20fonts.png

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

Title:
  Adding new Maroon theme

Status in Mahara:
  In Progress

Bug description:
  Adding a new theme called Maroon

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1889480/+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 1890238] [NEW] Text block 'Quick edit' retract and double bar display issues

2020-08-03 Thread Rangi Daymond
Public bug reported:

Test environment: current master
Browser: Chrome (latest)

Test steps:
1. As a logged in person, create a new page "Test page".
2. Add a text block as follows:
   - block title "Text Block"
   - leave the instructions blank
   - insert some content in the text block
   - set retractable to "Yes"
   - Save the block.
3. Select to view/display the page.
   Expected result: ✔ The page is displayed with the "Quick edit" bar, 
 the content is NOT retracted.
   Actual result: as expected.
4. Select to retract the block content then expand it.
   Expected result: X The block content is retracted then expanded correctly.
   Actual result: The block content is retracted but so is most of the "Quick 
edit" bar.
   The page must be reloaded to display correctly.
5. (Reload the page) Select the "Quick edit" bar, the 'Text Block" edit panel 
is displayed,
   update the block content then Save.
   Expected result: ✔ The content change is displayed.
   Actual result: as expected.
6. Select the "Details" icon (top right of screen).
   Expected result: The 'Text Block" edit panel is displayed.
   Actual result: X The "Quick edit" bar disappears.
7. Select the "Details" icon again (top right of screen).
   Actual result: X Two "Quick edit" bars are displayed.
   
Please see attached mp4 video file

** Affects: mahara
 Importance: Undecided
 Status: New

** Attachment added: "QuickEditBugs.mp4"
   
https://bugs.launchpad.net/bugs/1890238/+attachment/5398595/+files/QuickEditBugs.mp4

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

Title:
  Text block 'Quick edit' retract and double bar display issues

Status in Mahara:
  New

Bug description:
  Test environment: current master
  Browser: Chrome (latest)

  Test steps:
  1. As a logged in person, create a new page "Test page".
  2. Add a text block as follows:
 - block title "Text Block"
 - leave the instructions blank
 - insert some content in the text block
 - set retractable to "Yes"
 - Save the block.
  3. Select to view/display the page.
 Expected result: ✔ The page is displayed with the "Quick edit" bar, 
   the content is NOT retracted.
 Actual result: as expected.
  4. Select to retract the block content then expand it.
 Expected result: X The block content is retracted then expanded correctly.
 Actual result: The block content is retracted but so is most of the "Quick 
edit" bar.
 The page must be reloaded to display correctly.
  5. (Reload the page) Select the "Quick edit" bar, the 'Text Block" edit panel 
is displayed,
 update the block content then Save.
 Expected result: ✔ The content change is displayed.
 Actual result: as expected.
  6. Select the "Details" icon (top right of screen).
 Expected result: The 'Text Block" edit panel is displayed.
 Actual result: X The "Quick edit" bar disappears.
  7. Select the "Details" icon again (top right of screen).
 Actual result: X Two "Quick edit" bars are displayed.
 
  Please see attached mp4 video file

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1890238/+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 1889505] [NEW] Behat: create import_export_skins feature

2020-07-29 Thread Rangi Daymond
Public bug reported:

Create a new behat feature file to provide some automated test coverage
for Bug 1877497 Sorting out problems with skin export/import

** Affects: mahara
 Importance: Undecided
 Status: New

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

Title:
  Behat: create import_export_skins feature

Status in Mahara:
  New

Bug description:
  Create a new behat feature file to provide some automated test
  coverage for Bug 1877497 Sorting out problems with skin export/import

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1889505/+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 1877497] Re: Skins not exporting / importing header image

2020-07-27 Thread Rangi Daymond
Hi Robert - below are the messages displayed in response to me selecting the 
"Import" button after selecting the attached export file (created yesterday in 
Rel 19.10).
Note: I currently have patchset#8 applied.
Thank you, Rangi

[WAR] 28 (lib/errors.php:859) Failed to get a recordset: postgres8 error: [-2: 
ERROR:  syntax error at or near "LIMIT"
LINE 1: SELECT * FROM "skin_fonts"  WHERE "name" = ?  LIMIT 2
  ^] in adodb_throw(SELECT 
* FROM "skin_fonts"  WHERE "name" = ?  LIMIT 2, )Command was: SELECT * FROM 
"skin_fonts"  WHERE "name" = ?
Call stack (most recent first):
log_message("Failed to get a recordset: postgres8 error: [-2: E...", 8, true, 
true) at /home/rdaymond/code/mahara/htdocs/lib/errors.php:95
log_warn("Failed to get a recordset: postgres8 error: [-2: E...") at 
/home/rdaymond/code/mahara/htdocs/lib/errors.php:859
SQLException->__construct("Failed to get a recordset: postgres8 error: [-2: 
E...") at /home/rdaymond/code/mahara/htdocs/lib/dml.php:540
get_recordset_sql("SELECT * FROM "skin_fonts" WHERE "name" = ? ", false, -1, 2) 
at /home/rdaymond/code/mahara/htdocs/lib/dml.php:359
get_record_sql("SELECT * FROM "skin_fonts" WHERE "name" = ? ", array(size 0), 
1) at /home/rdaymond/code/mahara/htdocs/lib/dml.php:328
get_record("skin_fonts", "name", null) at 
/home/rdaymond/code/mahara/htdocs/lib/skin.php:723
Skin::get_path_to_previewfile(null, "text") at 
/home/rdaymond/code/mahara/htdocs/lib/skin.php:1093
Skin::generate_thumbnail(23) at 
/home/rdaymond/code/mahara/htdocs/lib/skin.php:266
Skin->commit() at /home/rdaymond/code/mahara/htdocs/lib/skin.php:170
Skin::create(array(size 5)) at 
/home/rdaymond/code/mahara/htdocs/skin/import.php:310
importskinform_submit(object(Pieform), array(size 4)) at 
/home/rdaymond/code/mahara/htdocs/lib/pieforms/pieform.php:568
Pieform->__construct(array(size 4)) at 
/home/rdaymond/code/mahara/htdocs/lib/pieforms/pieform.php:168
Pieform::process(array(size 4)) at 
/home/rdaymond/code/mahara/htdocs/lib/mahara.php:5464
pieform(array(size 4)) at /home/rdaymond/code/mahara/htdocs/skin/import.php:61
[WAR] 28 (lib/dml.php:540) Failed to get a recordset: postgres8 error: [-2: 
ERROR:  syntax error at or near "LIMIT"
LINE 1: SELECT * FROM "skin_fonts"  WHERE "name" = ?  LIMIT 2
  ^] in adodb_throw(SELECT 
* FROM "skin_fonts"  WHERE "name" = ?  LIMIT 2, )Command was: SELECT * FROM 
"skin_fonts"  WHERE "name" = ?
Call stack (most recent first):
get_recordset_sql("SELECT * FROM "skin_fonts" WHERE "name" = ? ", false, -1, 2) 
at /home/rdaymond/code/mahara/htdocs/lib/dml.php:359
get_record_sql("SELECT * FROM "skin_fonts" WHERE "name" = ? ", array(size 0), 
1) at /home/rdaymond/code/mahara/htdocs/lib/dml.php:328
get_record("skin_fonts", "name", null) at 
/home/rdaymond/code/mahara/htdocs/lib/skin.php:723
Skin::get_path_to_previewfile(null, "text") at 
/home/rdaymond/code/mahara/htdocs/lib/skin.php:1093
Skin::generate_thumbnail(23) at 
/home/rdaymond/code/mahara/htdocs/lib/skin.php:266
Skin->commit() at /home/rdaymond/code/mahara/htdocs/lib/skin.php:170
Skin::create(array(size 5)) at 
/home/rdaymond/code/mahara/htdocs/skin/import.php:310
importskinform_submit(object(Pieform), array(size 4)) at 
/home/rdaymond/code/mahara/htdocs/lib/pieforms/pieform.php:568
Pieform->__construct(array(size 4)) at 
/home/rdaymond/code/mahara/htdocs/lib/pieforms/pieform.php:168
Pieform::process(array(size 4)) at 
/home/rdaymond/code/mahara/htdocs/lib/mahara.php:5464
pieform(array(size 4)) at /home/rdaymond/code/mahara/htdocs/skin/import.php:61
Import skin(s) Help
Mahara: Site unavailable
A nonrecoverable error occurred. This probably means you have encountered a bug 
in the system

** Attachment added: "19-10_SimpSiteSkin.xml"
   
https://bugs.launchpad.net/mahara/+bug/1877497/+attachment/5396420/+files/19-10_SimpSiteSkin.xml

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

Title:
  Skins not exporting / importing header image

Status in Mahara:
  In Progress

Bug description:
  Problems being fixed under this bug report are

  Use the central default viewskin array from lib/skin.php when creating
  / updating / importing a skin so that any missing info can be supplied
  by default array

  Exporting a skin with a header_background_image doesn't get added to
  the export and therefore not imported either

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

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

[Mahara-contributors] [Bug 1877497] Re: Skins not exporting / importing header image

2020-07-26 Thread Rangi Daymond
Hi Robert - this is the 19-04 export file that should've provided a
background image file.

** Attachment added: "19-04_CompPersSkin-2.xml"
   
https://bugs.launchpad.net/mahara/+bug/1877497/+attachment/5396096/+files/19-04_CompPersSkin-2.xml

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

Title:
  Skins not exporting / importing header image

Status in Mahara:
  In Progress

Bug description:
  Problems being fixed under this bug report are

  Use the central default viewskin array from lib/skin.php when creating
  / updating / importing a skin so that any missing info can be supplied
  by default array

  Exporting a skin with a header_background_image doesn't get added to
  the export and therefore not imported either

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1877497/+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 1877497] Re: Skins not exporting / importing header image

2020-07-23 Thread Rangi Daymond
Hi Robert - as mentioned in gerrit patchset #5, attached is the 19.04 site skin 
export file that was imported prior to edit.
Note: the font that was chosen for both the heading and text fonts was "Book 
antiqua".

** Attachment added: "19-04_CompSiteSkin.xml"
   
https://bugs.launchpad.net/mahara/+bug/1877497/+attachment/5395390/+files/19-04_CompSiteSkin.xml

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

Title:
  Skins not exporting / importing header image

Status in Mahara:
  In Progress

Bug description:
  Problems being fixed under this bug report are

  Use the central default viewskin array from lib/skin.php when creating
  / updating / importing a skin so that any missing info can be supplied
  by default array

  Exporting a skin with a header_background_image doesn't get added to
  the export and therefore not imported either

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1877497/+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 1886100] Re: quota bar failing colour contrast

2020-07-20 Thread Rangi Daymond
Catalyst QA Testing - failed.
Please refer to comment on patch 3 regarding small-progress text,
Modern theme is not using #33. (It uses #66.)

(Patch 3 comment from Evonne is: "Changed the variable for the small-
progress text to $gray-700 (#33) so it won't change between
themes.")

Please see the attached file for executed test cases and expected and
actual results.

** Attachment added: "bug_1886100 Test Case Review 2 Updated.odt"
   
https://bugs.launchpad.net/mahara/+bug/1886100/+attachment/5394469/+files/bug_1886100%20Test%20Case%20Review%202%20Updated.odt

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

Title:
  quota bar failing colour contrast

Status in Mahara:
  In Progress

Bug description:
  The current styling of the quota percentage on its gradient background
  needs to change to have more contrast to pass 1.4.3 Contrast
  (Minimum)Level AA for WCAG2.1

  Please see the attached screen shot for details of the contrast check
  results.  This test was performed by taking the colour of the text for
  the percentage value and one of the colours of the gray background
  colour gradient.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1886100/+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 1885982] Re: behat headless doesn't work with chrome 80

2020-07-20 Thread Rangi Daymond
Highlighted actual results from terminal file attached

** Attachment added: "Bug1885982TerminalActualResults.odt"
   
https://bugs.launchpad.net/mahara/+bug/1885982/+attachment/5394464/+files/Bug1885982TerminalActualResults.odt

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

Title:
  behat headless doesn't work with chrome 80

Status in Mahara:
  In Progress

Bug description:
  patch for this here https://reviews.mahara.org/#/c/10785/5

  add -screen pixel depth and related xvfb params for bionic and chrome 80
fixes issue with chrome 80 and xvfb where default parameters (prob pixel 
depth)
makes chrome fail to connect to xvfb/selenium.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1885982/+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 1885982] Re: behat headless doesn't work with chrome 80

2020-07-20 Thread Rangi Daymond
Gerrit: https://reviews.mahara.org/#/c/10785/ Patch set 13
Browser: n/a
Theme: n/a

Precondition 1: Behat test runs successfully when NOT executed headless.
a) On master, before patch applied.
b) Use the following  feature file & command to execute it:
   ./test/behat/mahara_behat.sh rundebug copy_note_content.feature
   Actual results: User interface displayed as tests executed,
   1 scenario (1 passed), 22 steps (22 passed), 0m15.72s (35.15Mb).

Test scenario 1: Verify that Behat tests continue to run successfully after the 
patch is applied.
Steps:
1.1 Apply patch.
1.2 Re-execute precondition 1b)
   Expected result: the result’s scenario & steps are the same,
   the time and space results are similar.
   Actual result: ✔ as expected.
   1 scenario (1 passed), 22 steps (22 passed), 0m15.29s (35.27Mb).

Test scenario 2: Verify that headless Behat tests can run successfully
when the virtual display server is NOT running.
Steps:
2.1 Check that the virtual display server is NOT running using the terminal
command:
    ps aux |grep Xvfb
Expected result: should only return a one line response with the following
at then end if the virtual display server is NOT running
 .”grep --color=auto Xvfb”.
Actual result: ✔ as expected.
    Note: if it is necessary to stop it, use the terminal command:
    sudo kill 
2.2 Execute the Behat test headless by running the following command:
    ./test/behat/mahara_behat.sh rundebugheadless copy_note_content.feature
    Expected result: as per precondition actual results.
Actual result: ✔ as expected,
i.e. 1 scenario (1 passed), 22 steps (22 passed), 0m15.07s (35.27Mb)
– refer to the attached text file for the full results.

Test scenario 3: Verify that headless Behat tests can run successfully
when the display server IS running.
Precondition 2: Test scenario 2 has been executed successfully.
Steps:
3.1 Ensure that the virtual display server is running on port 10, 
using the terminal command:
    ps aux |grep Xvfb
Expected result: should return a two line response, one line will have
the following at then end if the virtual display server IS running
 .”Xvfb :10 -ac”
    Note: to execute it if it is NOT running, use the terminal command:
    Xvfb :10 -ac
Actual result: ✔ as expected – refer attached terminal text file
3.2 Execute the Behat test headless:
    ./test/behat/mahara_behat.sh rundebugheadless copy_note_content.feature
    Expected result: as per precondition 1 actual results, and,
   a port other than 10 is used.
Actual result: ✔ as expected, port 11 used
i.e. 1 scenario (1 passed), 22 steps (22 passed), 0m14.88s (35.27Mb)
– refer to the attached text file for the full results.

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

Title:
  behat headless doesn't work with chrome 80

Status in Mahara:
  In Progress

Bug description:
  patch for this here https://reviews.mahara.org/#/c/10785/5

  add -screen pixel depth and related xvfb params for bionic and chrome 80
fixes issue with chrome 80 and xvfb where default parameters (prob pixel 
depth)
makes chrome fail to connect to xvfb/selenium.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1885982/+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 1864937] Re: Latest pages I can view fails to show page if only shared as a peer/manager

2020-07-19 Thread Rangi Daymond
I cannot replicate this problem either.

PersonB (peer), personC (manager) and personD (no special role) can each
see personA's shared page displayed/listed in their dashboard's 'Latest
changes I can view' block once they log in after the page has been
shared by personA.

When personA shared a third page (role peer and manager) with a logged
on personB, the third page was added to personB's 'Latest changes I can
view' block when their dashboard page was refreshed.

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

Title:
  Latest pages I can view fails to show page if only shared as a
  peer/manager

Status in Mahara:
  New

Bug description:
  If userA shares a page to userB as a peer and userC as a manager and
  userD  with no special roles

  only userD gets to see the page in lastest pages I can see block on
  dashboard page

  user B and userC can see the page if the look at the profile page of
  userA

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1864937/+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 1883471] Re: reduce block margin on gridstack

2020-07-09 Thread Rangi Daymond
Leap2A export file of 'whonky' display results as screen shotted in
Comment#1 above.

See how they should display here
https://mahara.org/view/view.php?id=132123

** Bug watch added: mahara.org/view/ #132123
   http://mahara.org/view/view.php?id=132123

** Attachment added: "mahara-export-user1-2020-07-06_14-03.zip"
   
https://bugs.launchpad.net/mahara/+bug/1883471/+attachment/5391167/+files/mahara-export-user1-2020-07-06_14-03.zip

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

Title:
  reduce block margin on gridstack

Status in Mahara:
  In Progress
Status in Mahara 19.10 series:
  Confirmed
Status in Mahara 20.04 series:
  Confirmed
Status in Mahara 20.10 series:
  In Progress

Bug description:
  There is too much bottom margin on the blocks when they are in display mode.
  This could be due to the margin of the resize handlers we have on edit mode 
(check image attached), where we set the block size. There is no need for this 
margin on display since we don't have the handlers there

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1883471/+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 1883829] [NEW] Behat: extend create_and_delete_menu_item feature

2020-06-16 Thread Rangi Daymond
Public bug reported:

Extend create_and_delete_menu_item feature to include:

a) update scenario 1 create, verify and delete an external link on the
Dashboard page (via logged in user) to also create, verify and delete an
external link on the logged out user page (via public user)

b) include a new scenario 2 to create, verify and delete a file download
link on the Dashboard page (via logged in user) and to also create,
verify and delete a file download link on the logged out user page (via
public user)

c) the previous scenario 2 remains unchanged in position 3.

** Affects: mahara
 Importance: Undecided
 Status: New

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

Title:
  Behat: extend create_and_delete_menu_item feature

Status in Mahara:
  New

Bug description:
  Extend create_and_delete_menu_item feature to include:

  a) update scenario 1 create, verify and delete an external link on the
  Dashboard page (via logged in user) to also create, verify and delete
  an external link on the logged out user page (via public user)

  b) include a new scenario 2 to create, verify and delete a file
  download link on the Dashboard page (via logged in user) and to also
  create, verify and delete a file download link on the logged out user
  page (via public user)

  c) the previous scenario 2 remains unchanged in position 3.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1883829/+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 1875958] Re: 'My groups' sidebar can get very long if you are in lots of groups

2020-06-07 Thread Rangi Daymond
See previous comment regarding TestFiles.zip content.

** Attachment added: "TestFiles.zip"
   
https://bugs.launchpad.net/mahara/+bug/1875958/+attachment/5381408/+files/TestFiles.zip

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

Title:
  'My groups' sidebar can get very long if you are in lots of groups

Status in Mahara:
  Fix Committed
Status in Mahara 19.04 series:
  Fix Committed
Status in Mahara 19.10 series:
  Fix Committed
Status in Mahara 20.04 series:
  Fix Committed
Status in Mahara 20.10 series:
  Fix Committed

Bug description:
  When you are a member of many groups the list in the sidebar can get
  very long

  There is an account preference to restrict the list to 'Maximum number
  of groups to display'

  And now there is an account preference to restrict it to certain group
  labels

  But both these options require user making choices / setting up labels

  Another option to make the 'My groups' side bar a little more
  manageable is via css

  This option still lets you scroll to see all your groups but doesn't
  make the page overly long.

  Note: (25 May - after Robert questioned about how many groups should
  display before the scroll bar is displayed): apparently the 'My
  groups' sidebar should be 400px high maximum (or a scroll bar will be
  displayed). When browser View set at 100% this equates to
  approximately 14 lines(Chrome, Firefox & Edge), this number will vary
  depending upon the browser View setting +100-.  The number of groups
  shown before scrolling is also variable due to how many groups the
  person is admin for (2 lines) versus not admin for (1 line).  The
  length of the group name will also impact how many lines are taken per
  group.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1875958/+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 1875958] Re: 'My groups' sidebar can get very long if you are in lots of groups

2020-06-07 Thread Rangi Daymond
Upload:
1. Test execution spreadsheet, and,
2. Zipped test files (TestFiles.zip)
 - includes 3; 20users.csv, groups_My34.csv and group_members_My34.csv.

** Attachment added: "Bug 1875958 Test Execution Summary.xlsx"
   
https://bugs.launchpad.net/mahara/+bug/1875958/+attachment/5381407/+files/Bug%201875958%20Test%20Execution%20Summary.xlsx

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

Title:
  'My groups' sidebar can get very long if you are in lots of groups

Status in Mahara:
  Fix Committed
Status in Mahara 19.04 series:
  Fix Committed
Status in Mahara 19.10 series:
  Fix Committed
Status in Mahara 20.04 series:
  Fix Committed
Status in Mahara 20.10 series:
  Fix Committed

Bug description:
  When you are a member of many groups the list in the sidebar can get
  very long

  There is an account preference to restrict the list to 'Maximum number
  of groups to display'

  And now there is an account preference to restrict it to certain group
  labels

  But both these options require user making choices / setting up labels

  Another option to make the 'My groups' side bar a little more
  manageable is via css

  This option still lets you scroll to see all your groups but doesn't
  make the page overly long.

  Note: (25 May - after Robert questioned about how many groups should
  display before the scroll bar is displayed): apparently the 'My
  groups' sidebar should be 400px high maximum (or a scroll bar will be
  displayed). When browser View set at 100% this equates to
  approximately 14 lines(Chrome, Firefox & Edge), this number will vary
  depending upon the browser View setting +100-.  The number of groups
  shown before scrolling is also variable due to how many groups the
  person is admin for (2 lines) versus not admin for (1 line).  The
  length of the group name will also impact how many lines are taken per
  group.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1875958/+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 1882463] Re: Leap2a import section heading 'plan' should be capitalised

2020-06-07 Thread Rangi Daymond
Test Leap2a export file (bare minimum content of default profile and
dashboard pages only).

** Attachment added: "mahara-export-user1-2020-06-02_13-43.zip"
   
https://bugs.launchpad.net/mahara/+bug/1882463/+attachment/5381406/+files/mahara-export-user1-2020-06-02_13-43.zip

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

Title:
  Leap2a import section heading 'plan' should be capitalised

Status in Mahara:
  New

Bug description:
  Precondition:
  Logged in person has access to recently created Leap2a export file that 
contains 'All my data' (see attached file), only the bare minimum content is 
required (ie default user profile and dashboard pages).

  Step:
  Logged in person selects 'Main menu' > 'Manage' > 'Import' browses to the 
target file and selects to 'Import' it.

  Expected result: the 'Choose the way to import your portfolio items'
  screen displays correctly and the headings on this page are
  consistently capitalised.

  Actual result: (see attached screen shot) The section heading 'plans'
  is not capitalised like the preceding 'Résumé' and following 'Page'
  section headings.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1882463/+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 1882463] [NEW] Leap2a import section heading 'plan' should be capitalised

2020-06-07 Thread Rangi Daymond
Public bug reported:

Precondition:
Logged in person has access to recently created Leap2a export file that 
contains 'All my data' (see attached file), only the bare minimum content is 
required (ie default user profile and dashboard pages).

Step:
Logged in person selects 'Main menu' > 'Manage' > 'Import' browses to the 
target file and selects to 'Import' it.

Expected result: the 'Choose the way to import your portfolio items'
screen displays correctly and the headings on this page are consistently
capitalised.

Actual result: (see attached screen shot) The section heading 'plans' is
not capitalised like the preceding 'Résumé' and following 'Page' section
headings.

** Affects: mahara
 Importance: Undecided
 Status: New

** Attachment added: "Import your portfolio - heading 'plan' should be 
capitalised.png"
   
https://bugs.launchpad.net/bugs/1882463/+attachment/5381405/+files/Import%20your%20portfolio%20-%20heading%20%27plan%27%20should%20be%20capitalised.png

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

Title:
  Leap2a import section heading 'plan' should be capitalised

Status in Mahara:
  New

Bug description:
  Precondition:
  Logged in person has access to recently created Leap2a export file that 
contains 'All my data' (see attached file), only the bare minimum content is 
required (ie default user profile and dashboard pages).

  Step:
  Logged in person selects 'Main menu' > 'Manage' > 'Import' browses to the 
target file and selects to 'Import' it.

  Expected result: the 'Choose the way to import your portfolio items'
  screen displays correctly and the headings on this page are
  consistently capitalised.

  Actual result: (see attached screen shot) The section heading 'plans'
  is not capitalised like the preceding 'Résumé' and following 'Page'
  section headings.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1882463/+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 1875958] Re: 'My groups' sidebar can get very long if you are in lots of groups

2020-06-01 Thread Rangi Daymond
Gerrit: https://reviews.mahara.org/#/c/9521/ Patch set 3
Bug 1875958: Allow groups list sideblock to have max height / scroll

All test cases PASSED - please refer to the attached execution
spreadsheet for expected and actual results.

Test Scenario 1: Groups list sidebar scroll successfully implemented for new 
database.
--
Environment: Windows10 and latest Edge & Chrome browsers.
Theme: vary person's theme through testing to use all 5 (Primary school, 
Default, Modern, Ocean and Raw).
- change at 'Account menu' > 'Settings' > 'Preferences' --> select 
'Theme' (provided you have the config.php setting '$cfg->sitethemeprefs = 
true;' set.

Preconditions:
With patch applied and a clean database:
a) Create accounts: 'Admin menu' >  'People' > 'Add people by csv'
*** Force password change --> No
*** Email people about their account --> No
select file '20 user_users_1-20 mine.csv' (in directory 
Mahara/SeUp_Intro).

b) Populate the group categories: 'Admin menu' >  'Groups' > 'Group categories'
Enable group categories --> Yes then 'Submit'
Enter then 'Add' each of the following values in 'Enter new group 
category':
Category 1
Category 2
Category 3
Category 4
A really long category name well it wasn’t but it is much 
longer now being a total of 222 characters now – & it also includes punctuation 
and a mācron and other special characters too! And is now pushed out to > 200 
of em.

c) Create the groups: 'Admin menu' >  'Groups' > 'Add groups by CSV'
select file 'My30_groups.csv' (in directory Mahara/SeUp_Intro).

d) Populate some groups with members: 'Admin menu' >  'Groups' > 'Update group 
members by CSV'
select file 'My30_group_members.csv' (in directory Mahara/SeUp_Intro).

e) Ensure that the target browser's viewport View is set to 100%.

Steps:
1.1 Log in with the targeted person and verify that the scroll bar:
1.1.1 appears and functions correctly when the person's groups list is 400 
or more pixels high.
1.1.2 does not appear when the person's groups list is less than 400px400 
high.
1.1.3 is added and functions correctly when the list is extended from less 
than 400px to more than 400px.
1.1.4 is removed when the list is reduced to less than 400px after being 
more than 400px.

1.2 Verify that the scroll bar appears and functions correctly when a display 
maximum is set in the 'Account menu' > 'Settings' > 'Preferences' --> 'Maximum 
number of groups to display':
1.2.1 appears and functions correctly when the set maximum groups list is 
400 or more pixels high.
1.2.2 does not appear when the set maximum groups list is less than 400 
high.

1.3 Verify that the scroll bar appears and functions correctly when a group 
label display filter is set in the 'Account menu' > 'Settings' > 'Preferences' 
--> 'Display only groups labelled with':
1.3.1 appears and functions correctly when the filtered groups list is 400 
or more pixels high.
1.3.2 does not appear when the filtered groups list is less than 400px400 
high.

1.4 Verify that the scroll bar appears and functions correctly when both:
   - a display maximum is set in the 'Account menu' > 'Settings' > 
'Preferences' --> 'Maximum number of groups to display', and 
   - a group label display filter is set in the 'Account menu' > 'Settings' > 
'Preferences' --> 'Display only groups labelled with':
1.4.1 appears and functions correctly when the resultant groups list is 400 
or more pixels high.
1.4.2 does not appear when the resultant groups list is less than 400px 
high.

Test Scenario 2: Groups list sidebar scroll successfully implemented for an 
upgraded 19_10 database.
--
Environment: Ubuntu and latest Firefox browser.
Theme: vary person's theme through testing to use all 5 (Primary school, 
Default, Modern, Ocean and Raw).

Preconditions:
a) Using 20.04_STABLE, populate the database as per Test scenario 1 
preconditions a) through e).
   Note: ensure that the group labels are also manually set up (see bug test 
execution spreadsheet).
b) Apply this patch.

Steps:
Repeat steps 1.1 to 1.4 above.

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

Title:
  'My groups' sidebar can get very long if you are in lots of groups

Status in Mahara:
  In Progress

Bug description:
  When you are a member of many groups the list in the sidebar can get
  very long

  There is an account preference to restrict the list to 'Maximum number
  of groups to 

[Mahara-contributors] [Bug 1881677] [NEW] Give 3 options if new group name not unique

2020-06-01 Thread Rangi Daymond
Public bug reported:

As a member of a Mahara site
I want assistance when the name I have chosen for my new group is not unique
So that I can quickly choose one that is meaningful.

Preconditions:
Person1 has a group named 'MyGroup'.

Steps:
1. Person2 has logged in and navigated to 'Main menu' > 'Engage' > 'Groups'
2. Person2 selects 'Create group'
3. Person2 enters the value 'MyGroup' in the field 'Group name'
4. Person2 selects to 'Save group'

Actual result: (see attached screen shot) the error message 'A group by
this name already exists.' is displayed underneath the field.

Discussion (Tue 27 May 2020): 
Question: If I am a student in an organisation/site that has 10,000+ other 
students. How am I going to know what I can meaningfully name my group? It 
could take ages trying things until I find one ?
Response: This scenario is no different to signing up to a site with lots of 
users and trying to supply a username.
We could add some code to give suggestions based on what they tried. If group 
name is already taken give 3 options in the error message returned.

Alternatively, we could append a number to the clean URL of the group,
e.g. instead of https://.../mygroup it'll be https://.../mygroup-1 etc.
if others already exist.

Not everyone may want to change their group name significantly to make
it very unique, esp. if the URL could handle that. When people search
for groups, they'll always see who created it or is the admin and then
choose the correct group.

** Affects: mahara
 Importance: Undecided
 Status: New

** Attachment added: "Create group - group name not unique error message.png"
   
https://bugs.launchpad.net/bugs/1881677/+attachment/5379565/+files/Create%20group%20-%20group%20name%20not%20unique%20error%20message.png

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

Title:
  Give 3 options if new group name not unique

Status in Mahara:
  New

Bug description:
  As a member of a Mahara site
  I want assistance when the name I have chosen for my new group is not unique
  So that I can quickly choose one that is meaningful.

  Preconditions:
  Person1 has a group named 'MyGroup'.

  Steps:
  1. Person2 has logged in and navigated to 'Main menu' > 'Engage' > 'Groups'
  2. Person2 selects 'Create group'
  3. Person2 enters the value 'MyGroup' in the field 'Group name'
  4. Person2 selects to 'Save group'

  Actual result: (see attached screen shot) the error message 'A group
  by this name already exists.' is displayed underneath the field.

  Discussion (Tue 27 May 2020): 
  Question: If I am a student in an organisation/site that has 10,000+ other 
students. How am I going to know what I can meaningfully name my group? It 
could take ages trying things until I find one ?
  Response: This scenario is no different to signing up to a site with lots of 
users and trying to supply a username.
  We could add some code to give suggestions based on what they tried. If group 
name is already taken give 3 options in the error message returned.

  Alternatively, we could append a number to the clean URL of the group,
  e.g. instead of https://.../mygroup it'll be https://.../mygroup-1
  etc. if others already exist.

  Not everyone may want to change their group name significantly to make
  it very unique, esp. if the URL could handle that. When people search
  for groups, they'll always see who created it or is the admin and then
  choose the correct group.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1881677/+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 1875958] Re: 'My groups' sidebar can get very long if you are in lots of groups

2020-05-24 Thread Rangi Daymond
** Description changed:

  When you are a member of many groups the list in the sidebar can get
  very long
  
  There is an account preference to restrict the list to 'Maximum number
  of groups to display'
  
  And now there is an account preference to restrict it to certain group
  labels
  
  But both these options require user making choices / setting up labels
  
  Another option to make the 'My groups' side bar a little more manageable
  is via css
  
  This option still lets you scroll to see all your groups but doesn't
- make the page overly long
+ make the page overly long.
+ 
+ Note: (25 May - after Robert questioned about how many groups should
+ display before the scroll bar is displayed): apparently the 'My groups'
+ sidebar should be 400px high maximum (or a scroll bar will be
+ displayed). When browser View set at 100% this equates to approximately
+ 14 lines(Chrome, Firefox & Edge), this number will vary depending upon
+ the browser View setting +100-.  The number of groups shown before
+ scrolling is also variable due to how many groups the person is admin
+ for (2 lines) versus not admin for (1 line).  The length of the group
+ name will also impact how many lines are taken per group.

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

Title:
  'My groups' sidebar can get very long if you are in lots of groups

Status in Mahara:
  In Progress

Bug description:
  When you are a member of many groups the list in the sidebar can get
  very long

  There is an account preference to restrict the list to 'Maximum number
  of groups to display'

  And now there is an account preference to restrict it to certain group
  labels

  But both these options require user making choices / setting up labels

  Another option to make the 'My groups' side bar a little more
  manageable is via css

  This option still lets you scroll to see all your groups but doesn't
  make the page overly long.

  Note: (25 May - after Robert questioned about how many groups should
  display before the scroll bar is displayed): apparently the 'My
  groups' sidebar should be 400px high maximum (or a scroll bar will be
  displayed). When browser View set at 100% this equates to
  approximately 14 lines(Chrome, Firefox & Edge), this number will vary
  depending upon the browser View setting +100-.  The number of groups
  shown before scrolling is also variable due to how many groups the
  person is admin for (2 lines) versus not admin for (1 line).  The
  length of the group name will also impact how many lines are taken per
  group.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1875958/+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 1681571] Re: Allow upload of SVG to use in portfolio pages

2020-05-12 Thread Rangi Daymond
Hi Robert - a couple of smaller things that may or not be issues:
1. When image block created/edited:
1.1 filename is displayed when Description is selected (instead of entered 
description)
1.2. file preview is not displayed in the Details & comments sidebar.
2. Should animated SVGs still display as animated ?  I have not had one display 
as expected and a couple cause errors.
And one bigger one:
3. Deleting svg files (maybe just animated ones) via the File Manager cause 
errors to display on both the Files home page and also sometimes on page/s that 
used to use a deleted file.  I'm investigating this further and have pasted 
this comment into the launchpad ticket with a zip file containing a screenshot 
of the Files error and several test svg files (different types: plain, with 
transforms & animated).  Will add further detail when I have it.

** Attachment added: "SVGFilesDeleteArtefacts.zip"
   
https://bugs.launchpad.net/mahara/+bug/1681571/+attachment/5370615/+files/SVGFilesDeleteArtefacts.zip

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

Title:
  Allow upload of SVG to use in portfolio pages

Status in Mahara:
  Confirmed

Bug description:
  All modern browsers support SVG and so should we in Mahara. Currently,
  you can't upload them to an image block because the format is not
  recognized.

  Bug #1681573 deals with the support for inline SVG for easy
  manipulation as a follow-on wishlist item.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1681571/+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 1871280] Re: Allow grouproles to be reset for users when roles updated via webservices

2020-05-10 Thread Rangi Daymond
Catalyst QA Testing: patch for master - PASSED

Gerrit: https://reviews.mahara.org/#/c/10966/ patch 2
Bug 1871280: Using correct search with 'Groups I am in' during 
pagination

Pre-requisites:
a) Site admin creates 12 controlled groups with names prefixed AAGroup, 
ABGroup, ACGroup, ... ALGroup.
b) Person1 is a member of the first 11 groups AAGroup thru AKGroup.
c) Person2 is not a member of any group.

Steps:
1. Apply patch to master.
2. Log in as site admin and:
   - add two non-admin target users (check database id=2 and id=3)
   - navigate to the Groups home page, note the groups displayed with default 
'All my groups' filter set.
3. For each user (id=2 and id=3) in another private/incognito browser window:
   - log in with the target user
   - navigate to the Groups homepage, note the groups displayed with default 
'All my groups' filter set
   - Search using the 'Groups I am in' filter, the groups displayed should be 
the same as previous step.
4. To add more than one user on group creation (simulate web service response) 
, edit the htdocs/group/edit.php file and change the following line (about line 
560+) from:
$newvalues['members'] = array($USER->get('id') => 'admin');
to:
$newvalues['members'] = array($USER->get('id') => 'admin', 2 => 
'member', 3 => 'member');
5. With the logged in admin user:
   - create a new group named BAGroup.
Expected results: 
   - ✔ the new group's home page displays with three members listed (scroll 
down)
   - navigate to the Groups home page: 
 * ✔ there are 2 pages to display 13 groups (default 10 per page)
 * ✔ the new group is displayed at the end of the second page
 * ✔ the group filters display the correct results (no change to 
functionality).
6. In each of Person1 & Person2's browser windows, check the Search filter 
results.
Expected results: 
   The newly created group is correctly displayed in the results for:
   - All my groups: ✔Person1 12 (new group on second page) & ✔ Person2 1 
(single page)
   - Groups I'm in: ✔ Person1 12 (new group on second page) & ✔ Person2 1 
(single page)
   - All groups: ✔ both 13 (new group on second page).
   The newly created group is correctly NOT displayed in the results for:
   - Groups I own: ✔ both none
   - Groups I'm invited to: ✔ both none
   - Groups I can join: ✔ both none
   - Groups I'm not in: ✔ Person1 1 (single page) & ✔ Person2 12 (two pages).

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

Title:
  Allow grouproles to be reset for users when roles updated via
  webservices

Status in Mahara:
  In Progress
Status in Mahara 19.04 series:
  Won't Fix
Status in Mahara 19.10 series:
  In Progress
Status in Mahara 20.04 series:
  In Progress
Status in Mahara 20.10 series:
  In Progress

Bug description:
  When creating new groups via webservices while the user is logged in.

  The "group/find.php" search works with a user's grouproles and when a
  group is created via webservice the grouproles are not reset for the
  session. So only after the user logged out and logged in again, the
  group is found with "group/find.php".

  We need to set a flag so that when a person loads anything in mahara
  (eg calls the $user->renew() function) that it resets the group roles
  for the user so they don't have to logout and login again.

  Added from discussion with Robert (2020-05-08):
  The group_add_user() and group_remove_user() functions already call the 
$USER->reset_grouproles() function - so this patch is only fixing the problem 
when group_create() is called. In 'normal' Mahara we can't create a group with 
more than the current user, but via webservice we can create a group with many 
members at once and that causes this problem.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1871280/+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 1871280] Re: Allow grouproles to be reset for users when roles updated via webservices

2020-05-07 Thread Rangi Daymond
** Description changed:

  When creating new groups via webservices while the user is logged in.
  
  The "group/find.php" search works with a user's grouproles and when a
  group is created via webservice the grouproles are not reset for the
  session. So only after the user logged out and logged in again, the
  group is found with "group/find.php".
  
  We need to set a flag so that when a person loads anything in mahara (eg
  calls the $user->renew() function) that it resets the group roles for
- the user so they don't have to logout and login again
+ the user so they don't have to logout and login again.
+ 
+ Added from discussion with Robert (2020-05-08):
+ The group_add_user() and group_remove_user() functions already call the 
$USER->reset_grouproles() function - so this patch is only fixing the problem 
when group_create() is called. In 'normal' Mahara we can't create a group with 
more than the current user, but via webservice we can create a group with many 
members at once and that causes this problem.

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

Title:
  Allow grouproles to be reset for users when roles updated via
  webservices

Status in Mahara:
  In Progress

Bug description:
  When creating new groups via webservices while the user is logged in.

  The "group/find.php" search works with a user's grouproles and when a
  group is created via webservice the grouproles are not reset for the
  session. So only after the user logged out and logged in again, the
  group is found with "group/find.php".

  We need to set a flag so that when a person loads anything in mahara
  (eg calls the $user->renew() function) that it resets the group roles
  for the user so they don't have to logout and login again.

  Added from discussion with Robert (2020-05-08):
  The group_add_user() and group_remove_user() functions already call the 
$USER->reset_grouproles() function - so this patch is only fixing the problem 
when group_create() is called. In 'normal' Mahara we can't create a group with 
more than the current user, but via webservice we can create a group with many 
members at once and that causes this problem.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1871280/+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 1875973] Re: Mahara: Site information block needs link to download updated

2020-05-04 Thread Rangi Daymond
Hi Robert - just wondering which link/s this/these refer to ?
Is it the footer About page's 'Mahara' link or somewhere else ?

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

Title:
  Mahara: Site information block needs link to download updated

Status in Mahara:
  Confirmed
Status in Mahara 20.04 series:
  Confirmed
Status in Mahara 20.10 series:
  Confirmed

Bug description:
  Currently it links to launchpad but we want it to link to
  https://www.mahara.org/download

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1875973/+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 1875785] [NEW] External links in Mahara no longer open in external tab/window by default

2020-04-28 Thread Rangi Daymond
Public bug reported:

Code: Release 2020.04_RC2
Browser/s: Chrome & Firefox
Theme: Raw

Summary: The functionality for related bug ​#1802205 'Make all external
links in Mahara open in external tab/window by default' no longer works.

Steps:

As logged in PersonA:
1. Create a new page with a text block on it that has a few/5 paragraphs of 
text.

2. Use the tinymce editor to add the following links before the text paragraphs 
using the Insert/Edit Link modal:
a. External URL = https://www.catalyst.net.nz/ 
   Text to display = 'Catalyst default-None, new tab/window'
   Open link in... = 'None'
b. External URL = https://www.catalyst.net.nz/ 
   Text to display = 'Catalyst -same page'
   Open link in... = 'Same page'
c. External URL display = https://www.catalyst.net.nz/ 
   Text to display = 'Catalyst -new tab/window'
   Open link in... = 'New window'
d. Internal URL = 
http://http://mahara.rdaymond.wgtn.cat-it.co.nz/artefact/internal/index.php 
   Text to display = 'Profile page default-None, same tab/window'
   Open link in... = 'None'
e. Internal URL = 
http://http://mahara.rdaymond.wgtn.cat-it.co.nz/artefact/internal/index.php
   Text to display = 'Profile page - same page', 
   Open link in... = 'Same page'
f. Internal URL = 
http://http://mahara.rdaymond.wgtn.cat-it.co.nz/artefact/internal/index.php
   Text to display = 'Profile page - new tab/window'
   Open link in... = 'New window'.

3. At the bottom of the page, enter the text 'End of page' select the
text and use the tinymce editor to create an anchor tag (3rd option
line, second to last icon) named 'Page_End'.

4. Create the following in block link to the 'Page_End' anchor from the top of 
the page:
   URL = #Page_End
   Text to display = 'Link to page end -default None'
   Open link in... = 'None'

Expected results: When selected, each link should behave as per its displayed 
link text.
Actual results: all links behave as expected EXCEPT for 2.a.

** Affects: mahara
 Importance: Undecided
 Status: New

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

Title:
  External links in Mahara no longer open in external tab/window by
  default

Status in Mahara:
  New

Bug description:
  Code: Release 2020.04_RC2
  Browser/s: Chrome & Firefox
  Theme: Raw

  Summary: The functionality for related bug ​#1802205 'Make all
  external links in Mahara open in external tab/window by default' no
  longer works.

  Steps:

  As logged in PersonA:
  1. Create a new page with a text block on it that has a few/5 paragraphs of 
text.

  2. Use the tinymce editor to add the following links before the text 
paragraphs using the Insert/Edit Link modal:
  a. External URL = https://www.catalyst.net.nz/ 
 Text to display = 'Catalyst default-None, new tab/window'
 Open link in... = 'None'
  b. External URL = https://www.catalyst.net.nz/ 
 Text to display = 'Catalyst -same page'
 Open link in... = 'Same page'
  c. External URL display = https://www.catalyst.net.nz/ 
 Text to display = 'Catalyst -new tab/window'
 Open link in... = 'New window'
  d. Internal URL = 
http://http://mahara.rdaymond.wgtn.cat-it.co.nz/artefact/internal/index.php 
 Text to display = 'Profile page default-None, same tab/window'
 Open link in... = 'None'
  e. Internal URL = 
http://http://mahara.rdaymond.wgtn.cat-it.co.nz/artefact/internal/index.php
 Text to display = 'Profile page - same page', 
 Open link in... = 'Same page'
  f. Internal URL = 
http://http://mahara.rdaymond.wgtn.cat-it.co.nz/artefact/internal/index.php
 Text to display = 'Profile page - new tab/window'
 Open link in... = 'New window'.

  3. At the bottom of the page, enter the text 'End of page' select the
  text and use the tinymce editor to create an anchor tag (3rd option
  line, second to last icon) named 'Page_End'.

  4. Create the following in block link to the 'Page_End' anchor from the top 
of the page:
 URL = #Page_End
 Text to display = 'Link to page end -default None'
 Open link in... = 'None'

  Expected results: When selected, each link should behave as per its displayed 
link text.
  Actual results: all links behave as expected EXCEPT for 2.a.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1875785/+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 1874540] Re: Page settings form not behaving as expected

2020-04-28 Thread Rangi Daymond
Catalyst QA Retested - PASSED

Gerrit: https://reviews.mahara.org/#/c/10943 patch 2
Browser: Chrome
Theme: Raw

Above steps repeated and the error message was no longer displayed.

Note: suspected related bug '1875484 Create page using tag value
displays error messages' also retested and PASSED.

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

Title:
  Page settings form not behaving as expected

Status in Mahara:
  In Progress

Bug description:
  Now that we have the cover image chooser on the form when I go to make
  a new page and press enter when focus is on page title field the form
  doesn't save

  Instead there is an 'quotaUpdate( undefined undefined ) called but no
  id="quota_fill" on page' warning in the console log.

  And if I open the Advanced section and go into the 'Add a file' I see
  the error message 'The file / folder name is required.'

  
  Also if I select a cover image and save the form with the 'save' button and 
then come back to edit settings and update the page title and hit save - again 
the form doesn't save but now the selected cover image is now unselected - 
which will be confusing as the advanced section is still hidden.

  So somehow, the 'enter' keystroke is being captured by the file
  chooser even when we are not focussed on it.

  If we are not focusssed on the 'add a file' button or the 'remove'
  button for the selected cover image then they should not capture the
  enter keystroke

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1874540/+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 1875484] Re: Create page using tag value displays error messages

2020-04-28 Thread Rangi Daymond
As suspected by Robert, the fix for
https://bugs.launchpad.net/mahara/+bug/1874540 fixed this issue.

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

Title:
  Create page using tag value displays error messages

Status in Mahara:
  New

Bug description:
  Environment: https://master-10711-78684.qa.mahara.org/
   Release 20.04 candidate 2, Postgres
  Browser: Chrome
  Theme used: Default

  Preconditions:
  As PersonA, ensure the following are set up:
  a) Journal (tagged with target tag value) with 2 entries, one entry tagged 
with target tag value, the other with other non-target tag values
  b) Plan with 2 entries, one entry tagged with target tag value, the other 
with other non-target tag values
  c) PageA with a text block tagged with the target tag value and an image 
block tagged with the target tag value.

  Test steps:
  As logged in PersonA, create a new PageB from the target tag value used above.
  Expected result: PageB is created successfully and displays the correct 
content.
  Actual result: PageB is created, however, error messages are displayed that 
relate to the Journal/blog & tagged posts and Plan (see attached sample error 
messages).

  NOTE: related to https://bugs.launchpad.net/mahara/+bug/1874540
  Some of the new cover image chooser functionality is conflicting with 
existing functionality (the behat tests have indicated that 'create via tags' 
is one of these areas).

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1875484/+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 1875484] Re: Create page using tag value displays error messages

2020-04-28 Thread Rangi Daymond
Catalyst QA Retested - PASSED

Gerrit: https://reviews.mahara.org/#/c/10943 patch 2
Browser: Chrome
Theme: Raw

Above steps repeated and the error messages were no longer displayed.

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

Title:
  Create page using tag value displays error messages

Status in Mahara:
  New

Bug description:
  Environment: https://master-10711-78684.qa.mahara.org/
   Release 20.04 candidate 2, Postgres
  Browser: Chrome
  Theme used: Default

  Preconditions:
  As PersonA, ensure the following are set up:
  a) Journal (tagged with target tag value) with 2 entries, one entry tagged 
with target tag value, the other with other non-target tag values
  b) Plan with 2 entries, one entry tagged with target tag value, the other 
with other non-target tag values
  c) PageA with a text block tagged with the target tag value and an image 
block tagged with the target tag value.

  Test steps:
  As logged in PersonA, create a new PageB from the target tag value used above.
  Expected result: PageB is created successfully and displays the correct 
content.
  Actual result: PageB is created, however, error messages are displayed that 
relate to the Journal/blog & tagged posts and Plan (see attached sample error 
messages).

  NOTE: related to https://bugs.launchpad.net/mahara/+bug/1874540
  Some of the new cover image chooser functionality is conflicting with 
existing functionality (the behat tests have indicated that 'create via tags' 
is one of these areas).

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1875484/+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 1874540] Re: Page settings form not behaving as expected

2020-04-28 Thread Rangi Daymond
As posted by Cecilia - To reproduce in Resume section

go to Create-> Resume-> Education and employment
add one Education history
set all required fields and then click on the 'Save' button
edit the same Education history
when the focus is on one of the fields, press 'Enter'

You should see the 'The file / folder name is required.' error message
at the top of the form

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

Title:
  Page settings form not behaving as expected

Status in Mahara:
  In Progress

Bug description:
  Now that we have the cover image chooser on the form when I go to make
  a new page and press enter when focus is on page title field the form
  doesn't save

  Instead there is an 'quotaUpdate( undefined undefined ) called but no
  id="quota_fill" on page' warning in the console log.

  And if I open the Advanced section and go into the 'Add a file' I see
  the error message 'The file / folder name is required.'

  
  Also if I select a cover image and save the form with the 'save' button and 
then come back to edit settings and update the page title and hit save - again 
the form doesn't save but now the selected cover image is now unselected - 
which will be confusing as the advanced section is still hidden.

  So somehow, the 'enter' keystroke is being captured by the file
  chooser even when we are not focussed on it.

  If we are not focusssed on the 'add a file' button or the 'remove'
  button for the selected cover image then they should not capture the
  enter keystroke

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1874540/+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 1875484] Re: Create page using tag value displays error messages

2020-04-27 Thread Rangi Daymond
** Description changed:

  Environment: https://master-10711-78684.qa.mahara.org/
-  Release 20.04 candidate 2, Postgres
+  Release 20.04 candidate 2, Postgres
  Browser: Chrome
  Theme used: Default
  
  Preconditions:
  As PersonA, ensure the following are set up:
  a) Journal (tagged with target tag value) with 2 entries, one entry tagged 
with target tag value, the other with other non-target tag values
  b) Plan with 2 entries, one entry tagged with target tag value, the other 
with other non-target tag values
  c) PageA with a text block tagged with the target tag value and an image 
block tagged with the target tag value.
  
  Test steps:
  As logged in PersonA, create a new PageB from the target tag value used above.
  Expected result: PageB is created successfully and displays the correct 
content.
  Actual result: PageB is created, however, error messages are displayed that 
relate to the Journal/blog & tagged posts and Plan (see attached sample error 
messages).
+ 
+ NOTE: related to https://bugs.launchpad.net/mahara/+bug/1874540
+ Some of the new cover image chooser functionality is conflicting with 
existing functionality (the behat tests have indicated that 'create via tags' 
is one of these areas).

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

Title:
  Create page using tag value displays error messages

Status in Mahara:
  New

Bug description:
  Environment: https://master-10711-78684.qa.mahara.org/
   Release 20.04 candidate 2, Postgres
  Browser: Chrome
  Theme used: Default

  Preconditions:
  As PersonA, ensure the following are set up:
  a) Journal (tagged with target tag value) with 2 entries, one entry tagged 
with target tag value, the other with other non-target tag values
  b) Plan with 2 entries, one entry tagged with target tag value, the other 
with other non-target tag values
  c) PageA with a text block tagged with the target tag value and an image 
block tagged with the target tag value.

  Test steps:
  As logged in PersonA, create a new PageB from the target tag value used above.
  Expected result: PageB is created successfully and displays the correct 
content.
  Actual result: PageB is created, however, error messages are displayed that 
relate to the Journal/blog & tagged posts and Plan (see attached sample error 
messages).

  NOTE: related to https://bugs.launchpad.net/mahara/+bug/1874540
  Some of the new cover image chooser functionality is conflicting with 
existing functionality (the behat tests have indicated that 'create via tags' 
is one of these areas).

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1875484/+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 1875484] [NEW] Create page using tag value displays error messages

2020-04-27 Thread Rangi Daymond
Public bug reported:

Environment: https://master-10711-78684.qa.mahara.org/
 Release 20.04 candidate 2, Postgres
Browser: Chrome
Theme used: Default

Preconditions:
As PersonA, ensure the following are set up:
a) Journal (tagged with target tag value) with 2 entries, one entry tagged with 
target tag value, the other with other non-target tag values
b) Plan with 2 entries, one entry tagged with target tag value, the other with 
other non-target tag values
c) PageA with a text block tagged with the target tag value and an image block 
tagged with the target tag value.

Test steps:
As logged in PersonA, create a new PageB from the target tag value used above.
Expected result: PageB is created successfully and displays the correct content.
Actual result: PageB is created, however, error messages are displayed that 
relate to the Journal/blog & tagged posts and Plan (see attached sample error 
messages).

** Affects: mahara
 Importance: Undecided
 Status: New

** Attachment added: "New bug Create page using tag value - displayed error 
messages"
   
https://bugs.launchpad.net/bugs/1875484/+attachment/5361962/+files/New%20bug%20Create%20page%20using%20tag%20value%20-%20displayed%20error%20messages

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

Title:
  Create page using tag value displays error messages

Status in Mahara:
  New

Bug description:
  Environment: https://master-10711-78684.qa.mahara.org/
   Release 20.04 candidate 2, Postgres
  Browser: Chrome
  Theme used: Default

  Preconditions:
  As PersonA, ensure the following are set up:
  a) Journal (tagged with target tag value) with 2 entries, one entry tagged 
with target tag value, the other with other non-target tag values
  b) Plan with 2 entries, one entry tagged with target tag value, the other 
with other non-target tag values
  c) PageA with a text block tagged with the target tag value and an image 
block tagged with the target tag value.

  Test steps:
  As logged in PersonA, create a new PageB from the target tag value used above.
  Expected result: PageB is created successfully and displays the correct 
content.
  Actual result: PageB is created, however, error messages are displayed that 
relate to the Journal/blog & tagged posts and Plan (see attached sample error 
messages).

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1875484/+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 1873112] Re: Export collections not creating the export pdf

2020-04-15 Thread Rangi Daymond
Hi Lisa

Please see attached zip export file (unzipped content should contain a
single page 'collection' PDF file as shown by the HTML file).  I cannot
find the PDF in here ?

** Attachment added: "mahara-export-user3-2020-04-16_16-09.zip"
   
https://bugs.launchpad.net/mahara/+bug/1873112/+attachment/5355046/+files/mahara-export-user3-2020-04-16_16-09.zip

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

Title:
  Export collections not creating the export pdf

Status in Mahara:
  New

Bug description:
  When exporting an individual collection or group of collections the
  pdf files don't seem to be made

  To test / fix:

  1) A user with collections is exporting all content
  2) A user with collections is exporting just a few collections
  3) A user with collections exports just one collection

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1873112/+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 1871473] [NEW] Incorrect theme displayed for new pages when saved

2020-04-07 Thread Rangi Daymond
Public bug reported:

Environment: https://master.dev.mahara.org/
Browser: Win10-Chrome
Theme: Primary school

Test steps:
1. Log in as site administrator and navigate to 'Administration menu' > 
'Configure site' > 'Site options' > 'Site settings' - ensure that Theme is set 
to Primary school.
2. Select Main menu > Create > Pages and collections and 'Add' a new 'Page' 
filling in the 'Page title' then save.

Expected result: The 'Page saved successfully' message is displayed on the new 
page using the 'Primary school' theme.
Actual result: The 'Page saved successfully' message is displayed on the new 
page using the 'Default' theme.

** Affects: mahara
 Importance: Undecided
 Status: New

** Attachment added: "Add new page action selected in Primary school theme - on 
save theme changed to Default.png"
   
https://bugs.launchpad.net/bugs/1871473/+attachment/5348967/+files/Add%20new%20page%20action%20selected%20in%20Primary%20school%20theme%20-%20on%20save%20theme%20changed%20to%20Default.png

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

Title:
  Incorrect theme displayed for new pages when saved

Status in Mahara:
  New

Bug description:
  Environment: https://master.dev.mahara.org/
  Browser: Win10-Chrome
  Theme: Primary school

  Test steps:
  1. Log in as site administrator and navigate to 'Administration menu' > 
'Configure site' > 'Site options' > 'Site settings' - ensure that Theme is set 
to Primary school.
  2. Select Main menu > Create > Pages and collections and 'Add' a new 'Page' 
filling in the 'Page title' then save.

  Expected result: The 'Page saved successfully' message is displayed on the 
new page using the 'Primary school' theme.
  Actual result: The 'Page saved successfully' message is displayed on the new 
page using the 'Default' theme.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1871473/+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 1866528] Re: Reorder options in the site options panels

2020-03-17 Thread Rangi Daymond
- Code/Gerrit: https://reviews.mahara.org/#/c/10810/ Patch set 3
- Browser: Win10-Chrome - browser testing not necessary.
- Theme: Raw - theme testing not necessary.
   
Test steps:
1. Log in as site administrator and navigate to 'Administration menu' > 
'Configure site' > 'Site options'.
Expected result: ✔ the correct 12 site options (2 removed, 2 new and 10 
existing) display in the correct order, each with the correct sub-options 
(refer to attached spreadsheet).


** Attachment added: "Bug 1866528 Reorder site options panels - actual 
results.ods"
   
https://bugs.launchpad.net/mahara/+bug/1866528/+attachment/5338199/+files/Bug%201866528%20Reorder%20site%20options%20panels%20-%20actual%20results.ods

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

Title:
  Reorder options in the site options panels

Status in Mahara:
  In Progress

Bug description:
  Review the classification of the options in the site options to
  a) consolidate the 'User settings' and 'Account settings'
  b) move other settings around that would be better placed elsewhere

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1866528/+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 1846994] Re: Mozilla Backpack needs to be deprecated

2020-03-09 Thread Rangi Daymond
- Code/Gerrit: https://reviews.mahara.org/#/c/10602 Patch set 4
- Browser tested: Chrome; Note: browser testing not necessary.
- Theme: Raw; Note: theme testing not necessary.
- Scope: Testing an 'old' page with content from it is not covered in this 
testing, it was not implemented at this point in time (see patch set tested).

Preconditions:
a. Mahara site version 19.10 is present with fresh database.
b. Person A has an account with Open Badge Passport that is populated with 
several badges. The email address used in the Passport is also used in their 
account on Mahara.
c. PersonA has PageA that has an 'Open Badges' block on it that is populated 
with several badges from their Open Badge Passport. 

Test steps:
1. Upgrade the site with the patch.
2. Log in as site administrator, navigate to 'Admin menu'> 'Extensions' > 
'Plugin administration'.
   Expected results: The 'Plugin administration' page will display.
   - ✔ When site admin scrolls down to the page bottom, the option 
'openbadgedisplayer' is highlighted.
   - ✔ The message 'Component "Mozilla backpack" deprecated' will display 
between the option name and the 'Hide'/'Show' button.
   - ✔ The message will persist for both the 'Hide' button value and the 'Show' 
button value.
3. Login as PersonA, navigate to Page1 and edit it. Accept the page upgrade.
   Expected result: ✔ The page upgrade will complete successfully and the 
previously selected badges will remain present in the block.
4. Add a new 'Open Badges' block to the page.
   Expected results: The 'Open Badge' block modal displays:
   - ✔ the last line of the instructions text doesn't mention the Mozilla 
Backpack.
   - ✔ each named provider above is a link 
   - ✔ the Badgr information message is displayed unchanged
   - ✔ the Mozilla Backpack email message is NOT displayed
   - ✔ the Open Badge Passport badge selection information is displayed
   - ✔ other modal content is unchanged.
5. Update the block title to ‘Test new badge block’, select a collection of 
badges, then 'Save'.
   Expected result: ✔ The new block saves successfully. It displays the 
selected badges.
6. Edit the existing 'Open Badges' block.
   Expected results: The modal  displays:
   - ✔ the last line of the instructions text displayed underneath the block 
title will be updated as follows:
 'Open Badge Passport, Badgr Backpack' (i.e. no mention of 'Mozilla 
Backpack' is present)
   - ✔ each named provider above is a link 
   - ✔ the Badgr information message is displayed unchanged
   - ✔ the Mozilla Backpack email message is NOT displayed
   - ✔ the Open Badge Passport badge selection information is displayed with 
the correct badges ticked
   - ✔ other modal content is unchanged.
7. Make a change to the selected badges and 'Save'
   Expected result: ✔ The changed block saves successfully; when displayed, it 
shows the correct badges.

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

Title:
  Mozilla Backpack needs to be deprecated

Status in Mahara:
  Fix Committed
Status in Mahara 20.04 series:
  Fix Committed

Bug description:
  The Mozilla Open Badges Backpack does not exist anymore. Therefore, we
  should not be trying to connect to the server and pull badges.
  Furthermore, any badges that came from Mozilla Backpack won't be
  displayed anymore. It would be good to show a note in the block on the
  display and edit screens to that effect to let people know why badges
  are not displayed rather than simply not displaying them.

  At minimum these things will need to be dealt with:

  - Remove Mozilla as backpack source from config-defaults
  - Remove Mozilla from being searched for as backpack
  - Display a message in the Open Badges block about Mozilla Backpack not being 
available anymore when badges had been selected from it (if we keep that 
information somewhere in the database). This would be good to have as general 
message so it can also work for Badgr and Open Badge Passport if a person 
migrates to another site that doesn't have them enabled.
  - Add Badgr as default option into config-defaults if not already there.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1846994/+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 1836664] Re: TinyMCE issue on mobile devices

2020-03-02 Thread Rangi Daymond
- Code/Gerrit: https://reviews.mahara.org/#/c/10786/ Patch set 1
- Browser: ✔ Android 5.1 with latest Chrome, Themes: Raw and Primary school
   ✔ iPad Air2 iOS13.1 & Safari, Theme: Raw
   ✔ Ubuntu with latest Chrome , Themes: Raw and Primary school
   ✔ Ubuntu with latest Firefox, Theme: Raw.

Preconditions:
a. Fresh database with patch applied (version 19.04).
b. Log in as site admin and create Page1.
c. The account preferences are set to use the HTML editor (that ensures that 
TinyMCE is used where possible).

Test steps (repeat for each Browser/theme, actual results above):
1. Log in as site admin. If necessary,  set theme via 'Admin menu' > 'Configure 
site' > 'Site options' > 'Site settings'.
2. Edit Page1:
   - Add a text block
   - Enter a title & some content via the TinyMCE editor in the modal
   - Close the modal and do not save changes
   - Add a text block again
   - Enter a title & some content via the TinyMCE editor in the modal
   - Save.
Expected result: the text block is created successfully.
3. Edit Page1:
   - Edit the text block
   - Change the text block content via the TinyMCE editor in the modal
   - Close the modal and do not save changes
   - Edit the text block
   - Change the text block content via the TinyMCE editor in the modal
   - Save.
Expected result: The text block is updated successfully.

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

Title:
  TinyMCE issue on mobile devices

Status in Mahara:
  Incomplete
Status in Mahara 19.04 series:
  In Progress
Status in Mahara 19.10 series:
  Incomplete
Status in Mahara 20.04 series:
  Incomplete

Bug description:
  TinyMCE editor is not displayed for the second time.

  Steps to reproduce:

  • log in as a user
  • create a new page
  • select to add a block with a wysiwyg editor
  • the modal opens BUT do not save it(TinyMCE editor is showing), instead 
choose to remove the block
  • the modal closes
  • try to create that same block
  • the modal opens but the TinyMCE editor will not be attached

  
  Expected:

  TinyMCE editor will show.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1836664/+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 1855349] Re: Tagged Journal Entries are not importing in Leap2a

2020-03-02 Thread Rangi Daymond
- Code/Gerrit: https://reviews.mahara.org/#/c/10754/ Patch set 2
- Browser: Chrome, note that browser testing is not required.
- Theme: Raw, note that theme testing is not required.

Test scenario 1: verify that a Page created in 19.10_STABLE containing a
tagged journal entry block can be successfully exported from an upgraded
site.

Preconditions:
a. Mahara site version 19.10 present.
b. Turn on ‘Multiple journals’ in ‘Person menu’ > ‘Settings’ > ‘Preferences’.
c. PersonA's ‘Journal1’ is present with three entries each tagged with 
'research'.
d. PersonA's ‘Journal2’ is present with an entry tagged with 'learning' and 
'research' and another entry tagged with 'learning'.
e. PersonA's ‘Journal3’ present with one entry untagged.
f. PersonA's ‘Page1’ is present with:
   - a block1 created via the tag 'research' - will have 4 entries
   - a block2 created from Journal1 - will have 3 entries
   - a block3 created from Journal2 - will have 2 entries
   - a block4 created from Journal3 - will have 1 entry.

Test steps:
1. Apply the patch.
2. Log in as PersonA and export ‘Page1’ as a Leap2a export file.
Expected result ✔ : the export file is created without error message display.

Test scenario 2: verify that a Leap2a export file created from a page
containing a tagged journal entry block can be successfully imported by
a different user.

Precondition: test scenario 1 completed successfully.

Test steps:
1. Log in as PersonB and import the Leap2a export file created in test scenario 
1 ‘Ignoring’ the ‘About me’ and ‘Contact information’ values and using the ‘Add 
new’ default for the Journals and Page items.
Expected results: 
- ✔ The message ‘Your portfolio was imported successfully’ will be displayed
-  ✔ Page1 will be present with the above 4 blocks on it, each with the same 
content as precondition f
- ✔ Copies of the three journals and their entries will also be present.

Test scenario 3: verify that a Leap2a export file created from a page
containing a tagged journal entry block can be successfully imported by
the person who created it.

Precondition: test scenario 1 completed successfully.

Test steps
1. Log in as PersonA and import the Leap2a export file created in test scenario 
1 using the ‘Add new’ default.
Expected results: 
- ✔ The message ‘Your portfolio was imported successfully’ will be displayed
- ✔ Second copies of the three journals and their entries are present
- ✔ Two copies of Page1 are present with the above 4 blocks on it, 
- the first tagged journal entry block will contains 2 copies of each entry
- each of the journal blocks will have the same content as precondition f.

Test scenario 4: verify that a Leap2a export can be successfully created
from a new collection that contains a page with a 'Tagged journal
entries' block. The export file can then be imported successfully by the
same person.

Preconditions:
a. Latest Mahara site version is present.
b. Turn on ‘Multiple journals’ in ‘Person menu’ > ‘Settings’ > ‘Preferences’.
c. PersonC's Journal1 is present with four entries, two that are each tagged 
with 'reflection'.
d. PersonC's Journal2 is present with an entry tagged with 'reflection' and 
'practice' and another entry tagged with 'practice' only.
e. PersonC's 3 page ‘Collection1’ is present with ‘Page 3’ containing:
   - a block1 created via the tag 'reflection' - with 3 entries as per c & d
   - a block2 created via the tag 'practice' - with 2 entries as per d
   - a block3 created via both tags as above - with 1 entry as per d.

Test steps
1. Log in as PersonC and export 'All my data' as a Leap2a.
Expected result ✔ : The message ‘Your portfolio was imported successfully’ will 
be displayed.
2. Import PersonC's Leap2a file using the default settings.
Expected results: 
- ✔ 2 ‘Journal1’, both with 4 entries
- ✔ 2 ‘Journal2’, both with 2 entries
- ✔ 2 ‘Collection1‘ each with a ‘Page3’ with 3 blocks that contain 6, 4 & 2 
(i.e. twice) entries.

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

Title:
  Tagged Journal Entries are not importing in Leap2a

Status in Mahara:
  In Progress

Bug description:
  Tagged journal entries don't seem to make it through the Leap2a import
  process. An inspection of the exported Leap2a XML file produced
  contains data for the tagged journal that doesn't seem to be picked
  up/ imported properly.

  1/ Log in as any user and create a Journal with some tagged journal entries
  2/ Create a new page and add the "Tagged Journal entries" block with the tags 
selected.
  3/ Save the page and export the page in Leap2a format.
  4/ Import the leap2a file into mahara and navigate to the page.
  Expected result:
  The page displays with the tagged journal entries block displaying
  Actual resul

[Mahara-contributors] [Bug 1850559] Re: Problem with deleting a plan task

2020-03-01 Thread Rangi Daymond
- Code/Gerrit: https://reviews.mahara.org/#/c/10501/ Patch set 7
- Browser: Chrome; browser testing not required.
- Theme: Raw; theme testing not required.

Pre-conditions:
a. Log in as site admin.
b. Go to 'Create' > 'Files' and 
   - create a folder called 'animals'
   - in 'animals' create a folder called 'cats'
   - in 'cats' add some images files.
c. Go to 'Create' > 'Pages and collections' and create a page called 'Test 
page' with
   - a 'folder' block and select the folder 'cats' to display
   - an 'image' block and select one of the images in the 'cats' folder.
d. Go to 'Create' > 'Plans' and create a plan called 'Base plan', set 
'template' and 'Assignment tasks' to 'Yes'.
e. In 'Base plan' create a task called 'Base plan - task 1' and under 
'Assignment portfolio' choose 'Test page'.

Test scenario 1: Delete a task without making changes to the associated 
portfolio page.
Test steps:
1) Create a group called 'Group1'.
2) Choose 'Plans' in the group's menu bar and click 'New plan'.
3) Click the 'From template' button and choose 'Base plan' then save.
4) Click the 'Delete' button to delete 'Base plan - task 1' and click 'Delete 
plan' to confirm the delete action.
Expected results: 
- ✔ the error message no longer displays, 
- ✔ the first and only task 'Base plan - task 1' is removed.
5) Choose 'Files' in the group's menu bar then choose the 'viewfiles' folder.
Expected result: ✔ You should see a sub-folder that contains only a 'Parent 
folder' link.

Test scenario 2: Delete a task after having made changes to the associated 
portfolio page.
Test steps:
1) Create a group called 'Group2'.
2) Choose 'Plans' in the group's menu bar and click 'New plan'.
3) Click the 'From template' button
   - choose 'Base plan',
   - update the 'Title' to 'Group2 Test Plan'
   - save.
4) Click the displayed task's 'Open portfolio' icon
   - click 'Display page'
   - click 'Edit' and add a text block to the page, display the change.
5) Select 'Main menu' > 'Engage' > 'Groups
   - select Group2
   - click on the 'Plans' menu option
   - click on 'Group2 Test Plan'.
6) Click the 'Delete' button to delete 'Base plan - task 1' then click the 
'Delete plan' button to confirm the delete action.
Expected results: 
- ✔ the error message no longer displays, 
- ✔ the first and only task 'Base plan - task 1' is removed.
7) Choose 'Files' in the group's menu bar then choose the 'viewfiles' folder.
Expected result: You should see
- ✔ a 'Parent folder' link
- ✔ a numbered folder with description 'Files copied from Test Page' 
containing the files & structure of pre-condition c.

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

Title:
  Problem with deleting a plan task

Status in Mahara:
  Fix Committed
Status in Mahara 19.10 series:
  Fix Committed
Status in Mahara 20.04 series:
  Fix Committed

Bug description:
  Error message when I wanted to delete a group plan that had 1 task

  [WAR] 98 (artefact/plans/tools/PlansTools.php:691) Trying to get property 
'plugin' of non-object
  Call stack (most recent first):

  log_message("Trying to get property 'plugin' of non-object", 8, true, 
true, "/home/kristina/code/1910stable/htdocs/artefact/pla...", 691) at 
/home/kristina/code/1910stable/htdocs/lib/errors.php:521
  error(8, "Trying to get property 'plugin' of non-object", 
"/home/kristina/code/1910stable/htdocs/artefact/pla...", 691, array(size 8)) at 
/home/kristina/code/1910stable/htdocs/artefact/plans/tools/PlansTools.php:691
  
artefact\plans\tools\PlansTools::deleteViewAndAssignedArtefacts(object(View)) 
at /home/kristina/code/1910stable/htdocs/artefact/plans/lib.php:1009
  ArtefactTypeTask->delete() at 
/home/kristina/code/1910stable/htdocs/artefact/lib.php:722
  ArtefactType->delete() at 
/home/kristina/code/1910stable/htdocs/artefact/plans/lib.php:319
  ArtefactTypePlan->delete() at 
/home/kristina/code/1910stable/htdocs/artefact/plans/plan/delete.php:94
  deleteplanform_submit(object(Pieform), array(size 2)) at 
/home/kristina/code/1910stable/htdocs/lib/pieforms/pieform.php:546
  Pieform->__construct(array(size 6)) at 
/home/kristina/code/1910stable/htdocs/lib/pieforms/pieform.php:168
  Pieform::process(array(size 6)) at 
/home/kristina/code/1910stable/htdocs/lib/mahara.php:5432
  pieform(array(size 6)) at 
/home/kristina/code/1910stable/htdocs/artefact/plans/plan/delete.php:80

  [WAR] 98 (artefact/plans/tools/PlansTools.php:692) Trying to get property 
'artefacttype' of non-object
  Call stack (most recent first):

  log_message("Trying to get property 'artefacttype' of non-objec...", 8, 
true, true, "/home/kristina/code/1910stable/htdocs/artefact/pla...", 692) at 
/home/kristina/code/1910stable/h

[Mahara-contributors] [Bug 1836664] Re: TinyMCE issue on mobile devices

2020-02-26 Thread Rangi Daymond
Recreated issue in 19.04 on the Android 5.1.1 tablet (worded fine on the
Galaxy S5 emulator).

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

Title:
  TinyMCE issue on mobile devices

Status in Mahara:
  Incomplete
Status in Mahara 19.04 series:
  In Progress
Status in Mahara 19.10 series:
  Incomplete
Status in Mahara 20.04 series:
  Incomplete

Bug description:
  TinyMCE editor is not displayed for the second time.

  Steps to reproduce:

  • log in as a user
  • create a new page
  • select to add a block with a wysiwyg editor
  • the modal opens BUT do not save it(TinyMCE editor is showing), instead 
choose to remove the block
  • the modal closes
  • try to create that same block
  • the modal opens but the TinyMCE editor will not be attached

  
  Expected:

  TinyMCE editor will show.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1836664/+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 1858143] Re: Replace "user" with a more appropriate term where possible

2020-02-23 Thread Rangi Daymond
- Code/Gerrit: https://reviews.mahara.org/#/c/10697/ Patch set 12
- Browser tested: Chrome; Note1: browser testing not necessary.
- Theme: Raw; Note2: theme testing not necessary.

Test scenario 2: Navigate to the listed pages and use the browser find 'user' 
and visual checks of the displayed pages.
Expected results: the word user (in upper, lower or mixed case) is not present 
on the visible page.

Actual results:
1. ✔  Mahara home page - 2 references to U/username acceptable, 2 references in 
the performance footer acceptable.
2. ✔ Dashboard page - only 2 previously mentioned references in the performance 
footer.
3. ✔ Dashboard 'Search for people' page - only 2 previously mentioned 
references in the performance footer.
4. ✔ Dashboard 'Profile menu' options - none.
5. ✔ Dashboard 'Administration menu' options (8) and sub-options (53) - none.
6. ✔ Dashboard 'Administration menu' > 'Reports' default page - 2 references:
 - 2 previously mentioned references in the performance footer.
7. ✔ Dashboard 'Administration menu' > People > Add a person page - 3 
references:
 - 1 reference to Username acceptable and 
 - 2 previously mentioned references in the performance footer.
8. ✔ Dashboard 'Main menu' options (5) and sub-options (15) - none.

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

Title:
  Replace "user" with a more appropriate term where possible

Status in Mahara:
  In Progress

Bug description:
  See https://mahara.org/interaction/forum/topic.php?id=8546 for
  background

  It may not be possible to replace all instances at once, e.g.
  "username" is very much entrenched. However, I'll check in which cases
  we can easily change from "user" to another term.

  I am not going to change all language string identifiers as the
  translators may not wish to make that change in their language. I am
  going to change some string identifiers where there is a big change
  that I think would be good for translators to pick up.

  This is not going to eliminate the word "user" in the code, just what
  people see on the screen.

  We might want to consider combining "User setting"s and "Account
  settings" under "Site options" and then search for "User settings" to
  see in which help files it's been used.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1858143/+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 1855373] Re: Update gulp

2020-02-20 Thread Rangi Daymond
- Code/Gerrit: https://reviews.mahara.org/#/c/10657/ patch set 8
Successfully repeated previous test steps 1 and 2 and also included the 
following test scenario.

Test scenario 2: running 'gulp'

Preconditions:
a. Current Mahara master present.
b. Patch applied.
   
Test steps:
1. Run the command 'gulp' in a Terminal session to start css monitoring.
   Expected result ✔ : messages will display to indicate that the css files 
have been complied and the 'watch' has started.
2. Using your editor of choice, select to edit a css related file:
   - used file mahara/theme/raw/sass/features/_comment.scss 
   - make a change (edited line 51  'background-color: transparent;' to 
'background-color: red;')
   - Save the change
   Expected result ✔ : messages will display to indicate that the css files 
have been complied.
3. Using your editor of choice, select to undo your css related file change 
then Save the change.
   Expected result ✔ : messages will display to indicate that the css files 
have been complied.
4. Ctrl-C to end css monitoring. (see attachment for Terminal output)

** Attachment added: "Bug 1855373 Update Gulp to v4"
   
https://bugs.launchpad.net/mahara/+bug/1855373/+attachment/5329924/+files/Bug%201855373%20Update%20Gulp%20to%20v4

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

Title:
  Update gulp

Status in Mahara:
  In Progress

Bug description:
  A while ago we pinned Gulp to version 3.9 to prevent a problem with
  dependency incompatibility. We now need to upgrade Gulp to version 4
  to get rid of vulnerabilities in some of its dependencies.

  What needs to happen:
  1. Check for dependency incompatibility with Gulp 4 to see if it's still an 
issue. If so, can we work around it?
  2. See what's involved with upgrading to Gulp 4
  3. We could look at the dependencies we are including for gulp (and maybe 
node dependencies too, although this could be a separate issue) and confirm 
that they are needed in Mahara.

  Investigation of the above points:

  1. The only dependency we have now that is incompatible with v.4 seems to be 
gulp-help. It doesn't look like it will cause any problems to remove it, so we 
should just remove it.
  2. There are syntax changes that need to be made, but it looks like they can 
be made in the gulpfile.js, which limits the coding to be done.
  Assumption made: There are no wider changes necessary.
  3. Not looked at at this stage.

  Gulp docs:
  https://gulpjs.com/docs/en/getting-started/quick-start

  3rd party links:

  
https://stackoverflow.com/questions/36897877/gulp-error-the-following-tasks-did-not-complete-did-you-forget-to-signal-async
  
https://stackoverflow.com/questions/50505275/gulp4-assertionerror-task-never-defined-when-calling-or-importing-tasks
  https://codeburst.io/switching-to-gulp-4-0-271ae63530c0
  https://coder-coder.com/gulp-4-walk-through/

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1855373/+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 1852644] Re: Allowing a site admin to set an external app owner to be someone other than themselves

2020-02-20 Thread Rangi Daymond
- Code/Gerrit: https://reviews.mahara.org/#/c/10610/ Patch set 4
- Browser tested: Chrome
- Theme: Raw
- No browser or theme testing needed

Preconditions:
1. Mahara site version 19.10 present.
2. Institution1 is present.
3. Site admin has the following 'Settings for external applications' saved with 
Owner 'admin':
   - 'LTI integration' 'ExternalApp#1' 'No institution'
   - 'LTI integration' 'ExternalApp2' for 'Institution1'
   - 'Mahara Mobile API' 'ExternalApp-3' for Institution1
4. The following additional people exist with the given roles:
   - Inst1Admin has the institution admin role in Institution1
   - Staff has the site staff role (no institution)
   - Inst1Student has no special role in Institution1
   - PersonA no role (no institution) - suspended

Test scenario 1: The owner can be updated for existing external
applications.

Test steps:
1. Upgrade the site to use patch.
2. Login as site admin and navigate to 'Admin menu' > 'Web services' > 
'External apps'.
Expected result ✔ : The above three external applications are displayed 
correctly in the 'Settings for external applications' table.  In all 3 cases 
the owner is 'admin'.
3. Click the 'Edit' button for 'ExternalApp#1' and change the owner from 
'admin' to 'Staff' by deleting the 'admin' and searching for 'Staff' and 
selecting that account.  Click the 'Save' button.
Expected result ✔ : The change is saved and 'Staff' displays as the owner in 
the 'Settings for external applications' table.
4. Click the 'Edit' button for 'ExternalApp2' and change the owner from 'admin' 
to 'Inst1Admin' by deleting the 'admin' and searching for 'Inst1Admin' and 
selecting that account.  Click the 'Save' button.
Expected result ✔ : The change is saved and 'Inst1Admin' displays as the owner 
in the 'Settings for external applications' table.
5. Click the 'Edit' button for 'ExternalApp-3' settings and change the owner 
from 'admin' to 'Inst1Student'by deleting the 'admin' and searching for 
'Inst1Student' and selecting that account.  Click the 'Save' button.
Expected result ✔ : The change is saved and 'Inst1Student' displays as the 
owner in the 'Settings for external applications' table.
6. Log out, then log in again and return to 'Admin menu' > 'Web services' > 
'External apps'.
Expected result ✔ : The changes persist.

Test scenario 2: A new external application can be added for an owner
other than 'admin'

Test steps:
7. Navigate to 'Admin menu' > 'Web services' > 'External apps', enter 
'NewExtApp1' in 'Application:' and select to 'Add' a new external application 
for an owner other than 'admin'.
Expected results: The new external application is created and 'Registration...' 
page is displayed with default values:
 - ✔ The 'Service owner' field label is marked as required with a red asterisk,
 - ✔ The owner default value is 'admin', 
 - ✔ The default owner can be removed,
 - ✔ At least one and only one owner must be selected,
 - If no owner is selected then 'Save' is clicked:
✔ - Display the general page top error message,
✔ - Display 'Need to set an owner for this service' underneath the 'Service 
owner' field
✔ - Once an owner is selected and 'Save' is clicked again
  ✔  - clear both error messages,
  ✔  - the selected owner remains displayed.
 - If no owner is selected then 'Back' is clicked:
✔  - the 'Settings for external applications' table is displayed with no 
content change.
 - If no owner is selected then the person selects the Mahara logo:
✔  - the dashboard is displayed, when the user returns to 'Admin menu' > 
'Web services' > 'External apps'
  ✔  - the 'Settings for external applications' table is displayed with 
no content change.

8. Navigate to 'Admin menu' > 'Web services' > 'External apps', enter 
'NewExtApp2' in 'Application:' and select to 'Add' a new external application 
for an owner other than 'admin' and 'No institution'.
Expected results:
 - ✔ The owner default value is 'admin', 
 - ✔ The default owner can be removed, 
 - ✔ A suspended user/person is NOT available to be selected,
 - ✔ A single new value can be selected from any active user/person on the site,
 - ✔ The change is saved ('Save' then 'Back'), the selected owner displays in 
the 'Settings for external applications' table.

9. Navigate to 'Admin menu' > 'Web services' > 'External apps' and 'Add' a new 
external application for Institution1, select an owner other than 'admin' that 
is NOT a member of Institution1.
Expected results:
 - ✔ The owner default value is 'admin', 
 - ✔ The default owner can be removed,
 - ✔ A single new value can be selected from any active user/person on the site 
that is NOT a member of Institution1,
 - ✔ The change is saved ('Save' then 'Back'), the selected owner displays in 
the 'Settings for external applications' table.

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Cont

[Mahara-contributors] [Bug 1858143] Re: Replace "user" with a more appropriate term where possible

2020-02-18 Thread Rangi Daymond
Catalyst QA Testing - please see the content of the attached spreadsheet
(ChangeIdSpreadsheet.ods)for 11 spelling/grammar errors - each is
included with its filename and the (bold red) highlighted errors include
the line number and related text content.

- Code/Gerrit: https://reviews.mahara.org/#/c/10697/ Patch set 10

Test scenario 1: proof read the literal strings in code files present in
the 'lang' sub-folders.

Actual results: please see the content of the attached spreadsheet
(ChangeIdSpreadsheet.ods)for 11 spelling/grammar errors - each is
included with its filename and the (bold red) highlighted errors include
the line number and related text content.

** Attachment added: "ChangeIdSpreadsheet.ods"
   
https://bugs.launchpad.net/mahara/+bug/1858143/+attachment/5329424/+files/ChangeIdSpreadsheet.ods

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

Title:
  Replace "user" with a more appropriate term where possible

Status in Mahara:
  In Progress

Bug description:
  See https://mahara.org/interaction/forum/topic.php?id=8546 for
  background

  It may not be possible to replace all instances at once, e.g.
  "username" is very much entrenched. However, I'll check in which cases
  we can easily change from "user" to another term.

  I am not going to change all language string identifiers as the
  translators may not wish to make that change in their language. I am
  going to change some string identifiers where there is a big change
  that I think would be good for translators to pick up.

  This is not going to eliminate the word "user" in the code, just what
  people see on the screen.

  We might want to consider combining "User setting"s and "Account
  settings" under "Site options" and then search for "User settings" to
  see in which help files it's been used.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1858143/+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 1855373] Re: Update gulp

2020-02-17 Thread Rangi Daymond
- Code/Gerrit: https://reviews.mahara.org/#/c/10657/ patch set 6
- Browser tested: Chrome; note: Browser testing not required.
- Theme: Raw; note: theme testing not required.

Preconditions:
a. Current Mahara master present.
b. Run terminal command 'make css' and capture the output (see attachment 1 
prefixed 'Before').
   Summary of output: 11 npm WARN deprecated messages displayed and 22 
vulnerabilities (4 low, 10 moderate, 8 high).
   
Test steps:
1. Apply the patch.
2. Repeat above point b.
   Expected result: there are now no vulnerabilities and minimal or no npm 
messages.
   Summary of output (see attachment 2 prefixed 'After'): 
   - 2 npm WARN messages displayed (listed beneath) and 0 vulnerabilities (0) 
   "npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.11 
(node_modules/fsevents):"
   "npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for 
fsevents@1.2.11: wanted {"os":"darwin","arch":"any"} (current: 
{"os":"linux","arch":"x64"})"
   - All 22 vulnerabilities are now gone. The presence of the 2 npm messages is 
accepted.  ✔
3. Execute the manual smokescreen tests 
(https://wiki.mahara.org/wiki/Testing/Manual_testing). All tests pass.  ✔  

** Attachment added: "Before patch applied - make_css response.txt"
   
https://bugs.launchpad.net/mahara/+bug/1855373/+attachment/5329093/+files/Before%20patch%20applied%20-%20make_css%20response.txt

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

Title:
  Update gulp

Status in Mahara:
  In Progress

Bug description:
  A while ago we pinned Gulp to version 3.9 to prevent a problem with
  dependency incompatibility. We now need to upgrade Gulp to version 4
  to get rid of vulnerabilities in some of its dependencies.

  What needs to happen:
  1. Check for dependency incompatibility with Gulp 4 to see if it's still an 
issue. If so, can we work around it?
  2. See what's involved with upgrading to Gulp 4
  3. We could look at the dependencies we are including for gulp (and maybe 
node dependencies too, although this could be a separate issue) and confirm 
that they are needed in Mahara.

  Investigation of the above points:

  1. The only dependency we have now that is incompatible with v.4 seems to be 
gulp-help. It doesn't look like it will cause any problems to remove it, so we 
should just remove it.
  2. There are syntax changes that need to be made, but it looks like they can 
be made in the gulpfile.js, which limits the coding to be done.
  Assumption made: There are no wider changes necessary.
  3. Not looked at at this stage.

  Gulp docs:
  https://gulpjs.com/docs/en/getting-started/quick-start

  3rd party links:

  
https://stackoverflow.com/questions/36897877/gulp-error-the-following-tasks-did-not-complete-did-you-forget-to-signal-async
  
https://stackoverflow.com/questions/50505275/gulp4-assertionerror-task-never-defined-when-calling-or-importing-tasks
  https://codeburst.io/switching-to-gulp-4-0-271ae63530c0
  https://coder-coder.com/gulp-4-walk-through/

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

2020-02-17 Thread Rangi Daymond
** Attachment added: "After patch applied - make_css response.txt"
   
https://bugs.launchpad.net/mahara/+bug/1855373/+attachment/5329094/+files/After%20patch%20applied%20-%20make_css%20response.txt

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

Title:
  Update gulp

Status in Mahara:
  In Progress

Bug description:
  A while ago we pinned Gulp to version 3.9 to prevent a problem with
  dependency incompatibility. We now need to upgrade Gulp to version 4
  to get rid of vulnerabilities in some of its dependencies.

  What needs to happen:
  1. Check for dependency incompatibility with Gulp 4 to see if it's still an 
issue. If so, can we work around it?
  2. See what's involved with upgrading to Gulp 4
  3. We could look at the dependencies we are including for gulp (and maybe 
node dependencies too, although this could be a separate issue) and confirm 
that they are needed in Mahara.

  Investigation of the above points:

  1. The only dependency we have now that is incompatible with v.4 seems to be 
gulp-help. It doesn't look like it will cause any problems to remove it, so we 
should just remove it.
  2. There are syntax changes that need to be made, but it looks like they can 
be made in the gulpfile.js, which limits the coding to be done.
  Assumption made: There are no wider changes necessary.
  3. Not looked at at this stage.

  Gulp docs:
  https://gulpjs.com/docs/en/getting-started/quick-start

  3rd party links:

  
https://stackoverflow.com/questions/36897877/gulp-error-the-following-tasks-did-not-complete-did-you-forget-to-signal-async
  
https://stackoverflow.com/questions/50505275/gulp4-assertionerror-task-never-defined-when-calling-or-importing-tasks
  https://codeburst.io/switching-to-gulp-4-0-271ae63530c0
  https://coder-coder.com/gulp-4-walk-through/

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1855373/+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 1863197] [NEW] Primary school theme home page and dashboard widgets display incorrectly

2020-02-13 Thread Rangi Daymond
Public bug reported:

Browsers: Chrome, Firefox and Edge

Steps:
1. Set up environment to use master (current version ie 20.04 ) ie clear caches 
etc.
2. Log in as site admin and navigate to Admin menu > Configure site > Site 
options Site settings.
3. Set the 'Theme' to 'Primary School' and click 'Update site options'.
4. Click the site logo to return to the dashboard page.
Expected result: the dashboard page 'Create', 'Share' and 'Engage' widgets 
should each display
 correctly.
Actual result: Each widget has lost its background jigsaw colour in a rectangle 
around the widget name - it displays as white instead of red, brown and green 
(see attachment prefixed with SS1 ).

5. Log out.
Expected result: the home page 'Create', 'Share' and 'Engage' widgets should 
each display
 correctly.
Actual result: Each widget has lost its background jigsaw colour in a rectangle 
around the widget name. it displays as white instead of red, brown and green 
(see attachment prefixed with SS2 ).  The mouse over text is also displayed on 
top of the bottom of each of the coloured jigsaw pieces.

** Affects: mahara
 Importance: Undecided
 Status: New

** Attachment added: "SS1 Mahara Dashboard page - Primary theme incorrect 
widget display.png"
   
https://bugs.launchpad.net/bugs/1863197/+attachment/5328095/+files/SS1%20Mahara%20Dashboard%20page%20-%20Primary%20theme%20incorrect%20widget%20display.png

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

Title:
  Primary school theme home page and dashboard widgets display
  incorrectly

Status in Mahara:
  New

Bug description:
  Browsers: Chrome, Firefox and Edge

  Steps:
  1. Set up environment to use master (current version ie 20.04 ) ie clear 
caches etc.
  2. Log in as site admin and navigate to Admin menu > Configure site > Site 
options Site settings.
  3. Set the 'Theme' to 'Primary School' and click 'Update site options'.
  4. Click the site logo to return to the dashboard page.
  Expected result: the dashboard page 'Create', 'Share' and 'Engage' widgets 
should each display
   correctly.
  Actual result: Each widget has lost its background jigsaw colour in a 
rectangle around the widget name - it displays as white instead of red, brown 
and green (see attachment prefixed with SS1 ).

  5. Log out.
  Expected result: the home page 'Create', 'Share' and 'Engage' widgets should 
each display
   correctly.
  Actual result: Each widget has lost its background jigsaw colour in a 
rectangle around the widget name. it displays as white instead of red, brown 
and green (see attachment prefixed with SS2 ).  The mouse over text is also 
displayed on top of the bottom of each of the coloured jigsaw pieces.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1863197/+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 1863197] Re: Primary school theme home page and dashboard widgets display incorrectly

2020-02-13 Thread Rangi Daymond
** Attachment added: "SS2 Mahara Home page - Primary theme incorrect widget 
display.png"
   
https://bugs.launchpad.net/mahara/+bug/1863197/+attachment/5328096/+files/SS2%20Mahara%20Home%20page%20-%20Primary%20theme%20incorrect%20widget%20display.png

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

Title:
  Primary school theme home page and dashboard widgets display
  incorrectly

Status in Mahara:
  New

Bug description:
  Browsers: Chrome, Firefox and Edge

  Steps:
  1. Set up environment to use master (current version ie 20.04 ) ie clear 
caches etc.
  2. Log in as site admin and navigate to Admin menu > Configure site > Site 
options Site settings.
  3. Set the 'Theme' to 'Primary School' and click 'Update site options'.
  4. Click the site logo to return to the dashboard page.
  Expected result: the dashboard page 'Create', 'Share' and 'Engage' widgets 
should each display
   correctly.
  Actual result: Each widget has lost its background jigsaw colour in a 
rectangle around the widget name - it displays as white instead of red, brown 
and green (see attachment prefixed with SS1 ).

  5. Log out.
  Expected result: the home page 'Create', 'Share' and 'Engage' widgets should 
each display
   correctly.
  Actual result: Each widget has lost its background jigsaw colour in a 
rectangle around the widget name. it displays as white instead of red, brown 
and green (see attachment prefixed with SS2 ).  The mouse over text is also 
displayed on top of the bottom of each of the coloured jigsaw pieces.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1863197/+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 1862839] Re: Behat: update site_page_with_template_blocks to include Bug 1824767

2020-02-11 Thread Rangi Daymond
** Description changed:

  Refer to Bug 1824767 Site pages and collections : Page template become
  unavailable after changing settings.
  
  Update Behat test site_page_with_template_blocks.feature to include checks 
that there is no access:
- a) to share on any of the four templates, and,
- b) to share within any of the four templates.
+ a) to "Share" on any of the four template cards, and,
+ b) to "Share" within any of the four edit template pages.

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

Title:
  Behat: update site_page_with_template_blocks to include Bug 1824767

Status in Mahara:
  New

Bug description:
  Refer to Bug 1824767 Site pages and collections : Page template become
  unavailable after changing settings.

  Update Behat test site_page_with_template_blocks.feature to include checks 
that there is no access:
  a) to "Share" on any of the four template cards, and,
  b) to "Share" within any of the four edit template pages.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1862839/+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 1824767] Re: Site pages and collections : Page template become unavailable after changing settings

2020-02-11 Thread Rangi Daymond
Note: refer Behat bug 1862839 - these tests also include checking that
each edit template page does not include a "Share" button too.

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

Title:
  Site pages and collections : Page template become unavailable after
  changing settings

Status in Mahara:
  Fix Released
Status in Mahara 18.04 series:
  Fix Released
Status in Mahara 18.10 series:
  Fix Released
Status in Mahara 19.04 series:
  Fix Released
Status in Mahara 19.10 series:
  Fix Released

Bug description:
  Hello,

  I use Mahara.18.10.0 on ubuntu 18.10, php7.3, apache2 and Postgres
  10.7.

  When I edit the settings of the page template in the site pages and
  collections's menu, the page template become unavailable.

  More precisely, this bug (i think it's a bug but i'm not sure) append
  when I want to disable the comments in the Share's settings. When I
  save this modification, the page template is no more a template. I
  made a little video to show the bug.

  To correct this problem, I must restore an old version of the database
  (postgresql).

  Is it a bug ?
  Is it a way to disable the comment block in the page template ?

  Thanks,

  Luc

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1824767/+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 1862839] [NEW] Behat: update site_page_with_template_blocks to include Bug 1824767

2020-02-11 Thread Rangi Daymond
Public bug reported:

Refer to Bug 1824767 Site pages and collections : Page template become
unavailable after changing settings.

Update Behat test site_page_with_template_blocks.feature to include checks that 
there is no access:
a) to share on any of the four templates, and,
b) to share within any of the four templates.

** Affects: mahara
 Importance: Undecided
 Status: New


** Tags: behat-dev

** Description changed:

  Refer to Bug 1824767 Site pages and collections : Page template become
  unavailable after changing settings.
  
- Update Behat test site_page_with_template_blocks.feature to check that there 
is no access:
+ Update Behat test site_page_with_template_blocks.feature to include checks 
that there is no access:
  a) to share on any of the four templates, and,
  b) to share within any of the four templates.

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

Title:
  Behat: update site_page_with_template_blocks to include Bug 1824767

Status in Mahara:
  New

Bug description:
  Refer to Bug 1824767 Site pages and collections : Page template become
  unavailable after changing settings.

  Update Behat test site_page_with_template_blocks.feature to include checks 
that there is no access:
  a) to share on any of the four templates, and,
  b) to share within any of the four templates.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1862839/+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 1862838] [NEW] Behat: update site_page_with_template_blocks to include Bug 1824767

2020-02-11 Thread Rangi Daymond
Public bug reported:

Refer to Bug 1824767 Site pages and collections : Page template become
unavailable after changing settings.

Update Behat test site_page_with_template_blocks.feature to check that there is 
no access:
a) to share on any of the four templates, and,
b) to share within any of the four templates.

** Affects: mahara
 Importance: Undecided
 Status: New


** Tags: behat-dev

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

Title:
  Behat: update site_page_with_template_blocks to include Bug 1824767

Status in Mahara:
  New

Bug description:
  Refer to Bug 1824767 Site pages and collections : Page template become
  unavailable after changing settings.

  Update Behat test site_page_with_template_blocks.feature to check that there 
is no access:
  a) to share on any of the four templates, and,
  b) to share within any of the four templates.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1862838/+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 1860943] Re: Behat: update copy_note_content.feature

2020-02-06 Thread Rangi Daymond
** Description changed:

- Refer to Bug 1044878
- 
- Automating manual test for this bug.
+ Refer to Bug 1044878 - updating automated test copy_note_content.feature to 
include coverage for creating a new note block via 
+ a) copy note content (and create new note content that can be edited 
separately to the original content) 
+ versus 
+ b) use existing note content (and edit the original content in all places 
that it is used).

** Description changed:

- Refer to Bug 1044878 - updating automated test copy_note_content.feature to 
include coverage for creating a new note block via 
- a) copy note content (and create new note content that can be edited 
separately to the original content) 
- versus 
+ Refer to Bug 1044878 Make the info on copying text box more obvious.
+ Update Behat test copy_note_content.feature to include coverage for creating 
a new note block via
+ a) copy note content (and create new note content that can be edited separate 
to the original content)
+ versus
  b) use existing note content (and edit the original content in all places 
that it is used).

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

Title:
  Behat: update copy_note_content.feature

Status in Mahara:
  In Progress

Bug description:
  Refer to Bug 1044878 Make the info on copying text box more obvious.
  Update Behat test copy_note_content.feature to include coverage for creating 
a new note block via
  a) copy note content (and create new note content that can be edited separate 
to the original content)
  versus
  b) use existing note content (and edit the original content in all places 
that it is used).

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1860943/+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 1859355] Re: Peer assessor can delete another peers assessment

2020-02-04 Thread Rangi Daymond
- Code/Gerrit: https://reviews.mahara.org/#/c/10710/ Patch set 1
- Browser tested: Chrome
- Theme: Raw

Test Scenario 1: Only a peer assessment author (or site administrator)
can delete it.

Preconditions:
1. PersonA has created Page1 with a peer assessment block.
2. PersonA shares Page1 as follows: 
   - PersonB: role 'Peer and manager'
   - PersonC: role 'Peer'
   - Site admin: 'No special role'
3. PersonB publishes PeerAssessmentB.
4. PersonC publishes PeerAssessmentC1 and PeerAssessmentC2.

Steps:
1. PersonA is logged in and views Page1, 'Add peer assessment' is NOT present 
and PeerAssessmentB is visible and does NOT have a delete icon, 
PeerAssessmentC1 and PeerAssessmentC2 are visible and each does NOT have a 
delete icon.  ✔
2. PersonB is logged in and views Page1, 'Add peer assessment' is present and 
PeerAssessmentB is visible and has a delete icon, PeerAssessmentC1 and 
PeerAssessmentC2 are visible and neither have a delete icon.  ✔
3. PersonC is logged in and views Page1, 'Add peer assessment' is present and 
PeerAssessmentB is visible and does NOT have a delete icon, PeerAssessmentC1 
and PeerAssessmentC2 are visible and both have a delete icon.  ✔
4. Site admin is logged in and views Page1, 'Add peer assessment' is NOT 
present and PeerAssessmentB, C1 & C2 are visible and each have a delete icon.  
✔ 
5. Site admin can select the PeerAssessmentB delete icon and confirm to delete 
it.  ✔  
6. PersonB is logged in and views Page1. 'Add peer assessment' is present and 
PeerAssessmentB and PeerAssessmentC2 are displayed. Select the PeerAssessmentB 
delete icon and confirm the deletion and removal.  ✔
7. PersonB can publish another peer assessment for PersonA.  ✔


Test Scenario 2: Only a peer assessment author (or site administrator) can 
delete their own peer assessment when the sign-off block is present.

Preconditions:
1. PersonA has created Page1 with a peer assessment block and the sign-off 
block, but the page is not yet signed off 
2-4 are as per preconditions in test scenario 1. 

Steps: 
Follow the steps from test scenario 1.  ✔


Test sceanrio 3: Page has peer assessments and is signed off, only site admin 
can delete those.
1. PersonA has created Page1 with a peer assessment block and a sign-off block, 
the page is signed off 
2-4 are as per preconditions in test scenario 1. 

Steps: 
Follow the steps from test scenario 1 - however, only the Site admin user will 
see and be able to use the delete icons ✔

Catalyst QA Approved ✔

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

Title:
  Peer assessor can delete another peers assessment

Status in Mahara:
  In Progress
Status in Mahara 18.10 series:
  Confirmed
Status in Mahara 19.04 series:
  Confirmed
Status in Mahara 19.10 series:
  Confirmed
Status in Mahara 20.04 series:
  In Progress

Bug description:
  When we have the following setup:

  1) User A creates Page One and adds
  - a peer assessment block
  - a sign-off block

  2) User A shares Page One to
  - User B as 'peer'
  - User C as 'peer'
  - User D as 'no special role'

  3) Login as User B and add an assessment to Page One

  4) Login as User C and view Page One
  *** problem ***
   - you shouldn't be able to delete the peer assessment of User B

  This is also a problem when 'sign-off' block is not present

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1859355/+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 1861370] Re: group member search could result in fatal error message

2020-02-03 Thread Rangi Daymond
** Description changed:

  group member search could result in fatal error message:
  A nonrecoverable error occurred. This probably means you have encountered a 
bug in the system
  
  in mahara.org we can see that by searching group members and adding the 
parameters on the url
- id=1&limit=10&setlimit=77&sortoption=adminfirst&offset=9860
+ &limit=10&setlimit=77&sortoption=adminfirst&offset=9860
+ 
+ The offset must be higher than the number of group members in order to
+ trigger the error.
  
  this happens because there is a difference between the SQL query we use for 
counting the results and the one we use for getting the actual results.
  The count can be higher than the result numbers

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

Title:
  group member search could result in fatal error message

Status in Mahara:
  In Progress

Bug description:
  group member search could result in fatal error message:
  A nonrecoverable error occurred. This probably means you have encountered a 
bug in the system

  in mahara.org we can see that by searching group members and adding the 
parameters on the url
  &limit=10&setlimit=77&sortoption=adminfirst&offset=9860

  The offset must be higher than the number of group members in order to
  trigger the error.

  this happens because there is a difference between the SQL query we use for 
counting the results and the one we use for getting the actual results.
  The count can be higher than the result numbers

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1861370/+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 1856506] Re: gridstack - too much recursion error when translating from old layout

2020-02-03 Thread Rangi Daymond
- Code/Gerrit: https://reviews.mahara.org/#/c/10717/ Patch set 1
- Browser tested: Chrome (test step2) and Win10-Edge (test step3 and 4)
- Theme: Raw

Preconditions:
1. Mahara site version 19.04 present.
2. Page1 with custom layout of 4 rows created with one block in row1, two 
blocks in row3 and one block in row4. Row 2 is empty/has no blocks.
3. Page2 created with 1 row layout with no block content.
4. Page3 created with 3 row layout, no block content in rows 1 and 3, 2 blocks 
in row 2.
5. Collection1 created with Page2 and Page3 in it.

Test steps:
1. Apply patch.
2. Login as PersonA and navigate to Page1 and edit it, 'Accept' page 
conversion, Page1 is translated and there is a message to show the process was 
successful ✔
3. Navigate to Collection1 Page2 and edit it, 'Accept' page conversion, Page2 
is translated and there is a message to show the process was successful ✔
4. Navigate to Collection1 Page3 and edit it, 'Accept' page conversion, Page3 
is translated and there is a message to show the process was successful ✔

Catalyst QA Approved ✔

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

Title:
  gridstack - too much recursion error when translating from old layout

Status in Mahara:
  In Progress
Status in Mahara 19.10 series:
  In Progress
Status in Mahara 20.04 series:
  In Progress

Bug description:
  If there is an old layout page with empty rows (no blocks in that
  row), when translating to new gridstack layout there will be a
  javascript error "too much recursion". This error will make the script
  fail and the process of translating will never be completed.

  
  To test:

  - have a Mahara site version 19.04 or older
  - make a page and set the layout to one that has more than 3 rows. It should 
have at least one block in row 1 and row 3. No blocks in row 2
  - upgrade the site to 19.10 or newer
  - go to the page and edit it

  expected result: the page is translated and there a message to show the 
process was successful
  actual result: there is a "too much recursion" error in the browsers console 
and the translation process is interrupted

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1856506/+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 1856506] Re: gridstack - too much recursion error when translating from old layout

2020-02-03 Thread Rangi Daymond
- Code/Gerrit: https://reviews.mahara.org/#/c/10717/ Patch set 1
- Browser tested: Chrome (test step2) and Win10-Edge (test step3 and 4)
- Theme: Raw

Preconditions:
1. Mahara site version 19.04 present.
2. Page1 with custom layout of 4 rows created with one block in row1, two 
blocks in row3 and one block in row4. Row 2 is empty/has no blocks.
3. Page2 created with 1 row layout with no block content.
4. Page3 created with 3 row layout, no block content in rows 1 and 3, 2 blocks 
in row 2.
5. Collection1 created with Page2 and Page3 in it.
   
Test steps:
1. Upgrade the site to 19.10 or newer (use fix patch)
2. Login as PersonA and navigate to Page1 and edit it, 'Accept' page 
conversion, Page1 is translated and there is a message to show the process was 
successful ✔
3. Navigate to Collection1 Page1 and edit it, 'Accept' page conversion, Page2 
is translated and there is a message to show the process was successful ✔
4. Navigate to Collection1 Page2 and edit it, 'Accept' page conversion, Page3 
is translated and there is a message to show the process was successful ✔

Catalyst QA Approved ✔

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

Title:
  gridstack - too much recursion error when translating from old layout

Status in Mahara:
  In Progress
Status in Mahara 19.10 series:
  In Progress
Status in Mahara 20.04 series:
  In Progress

Bug description:
  If there is an old layout page with empty rows (no blocks in that
  row), when translating to new gridstack layout there will be a
  javascript error "too much recursion". This error will make the script
  fail and the process of translating will never be completed.

  
  To test:

  - have a Mahara site version 19.04 or older
  - make a page and set the layout to one that has more than 3 rows. It should 
have at least one block in row 1 and row 3. No blocks in row 2
  - upgrade the site to 19.10 or newer
  - go to the page and edit it

  expected result: the page is translated and there a message to show the 
process was successful
  actual result: there is a "too much recursion" error in the browsers console 
and the translation process is interrupted

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1856506/+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 1800319] Re: Revise merging of sharing permissions for a collection

2020-02-02 Thread Rangi Daymond
- Gerrit: https://reviews.mahara.org/#/c/10633/ Patch set 12
- Browser/s tested: desktop Chrome
- Theme: Raw

Test case1: Add page to existing collection.
Pre-requisites: PersonA has pre-patch Collection1 (with 2 pages) shared with 
Group 1 and Page3 shared with PersonB role 'Peer and manager'.
1. PersonA navigates to 'Main menu' > 'Create' > 'Pages and collections' > 
'Collection1' > 'Manage'.
Expected result: The 'Done' button text has been replaced by 'Next: Edit 
access'.   ✔
2. PersonA adds Page3 to Collection1 then selects the 'Next: Edit access' 
button.
Expected result: The 'Edit access' page is displayed for Collection1 showing 
that it is shared with Group 1 and PersonB role 'Peer and manager'.   ✔

Test case2: Create collection from several pages and check that (interim 
solution see comment#3) the confirmation modal is NOT displayed when the Person 
clicks off the 'Edit collection' page after adding page/s.
Pre-requisites:  PersonA has the Pages1 through Page4 set up
1. PersonA navigates to 'Main menu' > 'Create' > 'Pages and collections' > 
'Add' > 'Collection', enters 'Collection name' Collection2 then selects 'Next: 
Edit collection pages'.
Expected result: The 'Edit collection' page is displayed, the 'Done' button 
text has been replaced by 'Next: Edit access' button.   ✔
2. PersonA adds Page1 through Page4 to Collection2 then selects the Mahara logo.
Expected result: The confirmation modal is NOT displayed, the 'Pages and 
collections' page is displayed showing that Collection2 has 4 pages and Page1 
through Page4 are no longer present.   ✔ .

Catalyst QA Testing - PASSED both test cases  ✔

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

Title:
  Revise merging of sharing permissions for a collection

Status in Mahara:
  In Progress

Bug description:
  When pages are added to a collection, all sharing permissions are
  merged and a notice provided on screen to the user so that they know
  it happened. However, the details are not mentioned.

  By merging sharing permissions, it can happen that one person or group
  is mentioned multiple times, e.g. when a page was shared without peer
  or manager permissions but then is added to a collection that contains
  these permissions. This can get confusing quickly as there are
  contradicting sharing permissions. Furthermore, in the case of the
  peer permission, it would give a peer access to portfolio content they
  shouldn't see.

  It would be beneficial if a user were able to review the sharing
  permissions after adding one or more pages to a collection so as not
  to overshare by accident.

  I see two scenarios:

  1. Leave things as they are when the sharing permissions for the
  collection and the newly added page(s) are identical and mention that
  in the info box at the top of the page.

  2. When the sharing permissions are not identical (for whatever
  reason), require the user to continue to the sharing permissions
  screen when clicking the "Done" button at the bottom of the page. It
  would not be enough to provide a link in an info box because they are
  easily overlooked. When the "Done" button is clicked, a modal should
  come up informing the user that they need to review the permissions as
  they have been merged.

  Potential text for the modal: The permissions of the newly added
  page(s) were merged into the existing collection permissions. Please
  review them carefully and make any necessary adjustments.

  Button text: Review (we don't need "Review permissions" as that is
  mentioned in the text and makes the button text very long; even more
  so in other languages)

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1800319/+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 1800319] Re: Revise merging of sharing permissions for a collection

2020-02-02 Thread Rangi Daymond
- Gerrit: https://reviews.mahara.org/#/c/10633/ Patch set 12
- Browser/s tested: desktop Chrome
- Theme: Raw

Pre-requisites:
1. PersonA has the following pages set up with the noted share permission 
accesses:
- Page1 shared with PersonB role 'No special role'
- Page2 shared with Group1 (owner PersonA, members PersonB and PersonC)
- Page3 shared with 3 others (PersonC role 'Peer', PersonD role 'Manager' & 
PersonE role 'Peer and manager')
- Page4 not shared
- Page5 shared with PersonB role 'Peer and manager' and PersonE role 'No 
special role'
2. PersonA has pre-patch Collection1 (with 2 pages) shared with Group 1

Test case1: Add page to existing collection

1. PersonA navigates to 'Main menu' > 'Create' > 'Pages and collections' > 
'Collection1' > 'Manage'.
Expected result: The 'Done' button text has been replaced by 'Next: Edit 
access'.   ✔

2. PersonA selects Page5 then clicks the 'Add pages' button.
Expected result: The 'Edit collection pages' page is updated to display the '1 
page added...' message and the 'Add pages to collection' element is updated to 
display 'No pages are available to add.' and Page5 is added to the end of the 
'Pages already in collection' element.   ✔

3. PersonA selects the 'Next: Edit access' button.
Expected result: The 'Edit access' page is displayed for Collection1 showing 
that it is shared with Group 1, PersonB role 'Peer and manager' and PersonE 
role 'No special role'.   ✔

4. PersonA selects 'Cancel'.
Expected result: The 'Pages and collections' page is displayed showing that 
Collection1 has 3 pages and Page5 is no longer present.   ✔

5. PersonA selects the 'Manage access' icon for Collection1
Expected result: 'Manage access' options are displayed for Collection1 showing 
that it is shared with Group 1, PersonB role 'Peer and manager' and PersonE 
role 'No special role'.   ✔


Test case2: Create collection from several pages

1. PersonA navigates to 'Main menu' > 'Create' > 'Pages and collections' > 
'Add' > 'Collection', enters 'Collection name' Collection2 then selects 'Next: 
Edit collection pages'.
Expected result: The 'Edit collection' page is displayed with Page1 thru Page4 
listed in the 'Add pages to collection' element and "No pages" displayed in the 
'Pages already in collection' element and the 'Done' button text has been 
replaced by 'Next: Edit access' button.  

2. PersonA clicks the 'Add pages to collection' 'All' option then 'Add pages' 
then 'Next: Edit access'.
Expected result: The 'Edit access' page is displayed for Collection2 showing 
that it is shared with Group 1, PersonB role 'Peer and manager' and PersonE 
role 'No special role'.

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

Title:
  Revise merging of sharing permissions for a collection

Status in Mahara:
  In Progress

Bug description:
  When pages are added to a collection, all sharing permissions are
  merged and a notice provided on screen to the user so that they know
  it happened. However, the details are not mentioned.

  By merging sharing permissions, it can happen that one person or group
  is mentioned multiple times, e.g. when a page was shared without peer
  or manager permissions but then is added to a collection that contains
  these permissions. This can get confusing quickly as there are
  contradicting sharing permissions. Furthermore, in the case of the
  peer permission, it would give a peer access to portfolio content they
  shouldn't see.

  It would be beneficial if a user were able to review the sharing
  permissions after adding one or more pages to a collection so as not
  to overshare by accident.

  I see two scenarios:

  1. Leave things as they are when the sharing permissions for the
  collection and the newly added page(s) are identical and mention that
  in the info box at the top of the page.

  2. When the sharing permissions are not identical (for whatever
  reason), require the user to continue to the sharing permissions
  screen when clicking the "Done" button at the bottom of the page. It
  would not be enough to provide a link in an info box because they are
  easily overlooked. When the "Done" button is clicked, a modal should
  come up informing the user that they need to review the permissions as
  they have been merged.

  Potential text for the modal: The permissions of the newly added
  page(s) were merged into the existing collection permissions. Please
  review them carefully and make any necessary adjustments.

  Button text: Review (we don't need "Review permissions" as that is
  mentioned in the text and makes the button text very long; even more
  so in other languages)

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

[Mahara-contributors] [Bug 1857371] Re: Left-align performance footer messages

2020-01-30 Thread Rangi Daymond
Repeated the above tests for rebased code.
Catalyst QA Testing - PASSED ✔

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

Title:
  Left-align performance footer messages

Status in Mahara:
  Confirmed

Bug description:
  In Mahara 19.10 we left-aligned the header site messages. The only
  ones that don't yet seem to be left-aligned is the performance footer,
  which are still center-aligned and look a bit out of place now (see
  screenshot).

  To replicate:

  1. Make sure you have "$cfg->productionmode = false;" in your config.php file 
in /htdocs.
  2. Go to the Mahara homepage. You don't even need to log in. the performance 
info, something like "Memory: 3.2MB | Execution time: 0.048 seconds | Included 
files: 202 | ticks: 5 user: 1 sys: 2 cuser: 0 csys: 0 | Server load: 0.62" 
should be displayed in the footer.

  Expected result: It is left aligned with the Mahara logo in the footer.
  Actual result: It is center-aligned.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1857371/+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 1858707] Re: Links in a header with skin turned on shows normal link color instead of header color

2020-01-29 Thread Rangi Daymond
- Gerrit: https://reviews.mahara.org/#/c/10699/ Patch set 2
- Browser/s tested: desktop Chrome
- Theme: Raw

Test steps:

1. Create a skin with:
- Header background colour: #1A21F7
- Header text colour: #FA0CFA
2. Apply the skin to a page.
3. Ensure that you give your page at least one tag.
4. View the page.
Expected result: Both the person's name and the tags should be displayed in 
pink and underlined.
Actual result: As expected.  ✔

** Attachment added: "Correct Skins header colours and links.png"
   
https://bugs.launchpad.net/mahara/+bug/1858707/+attachment/5323926/+files/Correct%20Skins%20header%20colours%20and%20links.png

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

Title:
  Links in a header with skin turned on shows normal link color instead
  of header color

Status in Mahara:
  In Progress
Status in Mahara 19.10 series:
  Confirmed
Status in Mahara 20.04 series:
  In Progress

Bug description:
  The link color has not yet been changed in the header for a skin.

  It should match the header font color and links should be underlined
  to indicate that they are links.

  See attached screenshot.

  To replicate:

  1. Create a skin with:
  - Header background colour: #1A21F7
  - Header text colour: #FA0CFA
  2. Apply the skin to a page.
  3. Ensure that you give your page at least one tag.
  4. View the page.
  Expected result: Both the person's name and the tags should be displayed in 
pink and underlined.
  Actual result: The link colour set in the "Text" tab in the skin is used.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1858707/+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


  1   2   >