[Mahara-contributors] [Bug 1820538] [NEW] Navigation incorrectly linked to previous collection

2019-03-17 Thread Eric Breton
Public bug reported:

Hello,

Here is a brief description of the steps to reproduce the bug. Mahara
17.04.

1. Copy a page that exists in a collection, this page contains a navigation 
block
2. Move the page in another collection
3. BUG : The navigation block is NOT updated to reflect the pages of the 
collection the page now belongs to
4. To resolve : edit the navigation block, no change needed, but when you SAVE 
the block, it now reflects the correct links

Thanks,
Eric

** 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/1820538

Title:
  Navigation incorrectly linked to previous collection

Status in Mahara:
  New

Bug description:
  Hello,

  Here is a brief description of the steps to reproduce the bug. Mahara
  17.04.

  1. Copy a page that exists in a collection, this page contains a navigation 
block
  2. Move the page in another collection
  3. BUG : The navigation block is NOT updated to reflect the pages of the 
collection the page now belongs to
  4. To resolve : edit the navigation block, no change needed, but when you 
SAVE the block, it now reflects the correct links

  Thanks,
  Eric

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1820538/+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 1806169] Re: starting youtubevideo at special timestamp does not work

2019-03-17 Thread Lisa Seeto
There are a few ways the YouTube url can be formatted.  Here is another
example:

https://www.youtube.com/watch?v=8kH3t0vbxMA&feature=youtu.be&t=170
(you get this by copying directly from search bar of the browser window instead 
of the share button on the webpage for YouTube videos).

-- 
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/1806169

Title:
  starting youtubevideo at special timestamp does not work

Status in Mahara:
  In Progress

Bug description:
   When I add a timestamp to start a youtubevideo 
  https://www.youtube.com/watch?v=**&t=30
  the video starts from the beginning and does not start at 30seconds.
  mahara 18.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1806169/+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 1820546] [NEW] Issue when removing a base64 encoded image from comment

2019-03-17 Thread Lisa Seeto
Public bug reported:

Mahara 18.10 master
OS: Linux
Postgres
Firefox 65.0.1

You can add a base64 encoded image to a text field such as a comment.  This 
functionality was introduced when addressing this issue: 
https://bugs.launchpad.net/mahara/+bug/1742590
The maxLength attr for the field was altered to accept up to 1 million 
characters allowing a base64 image to be able to be added to a comment.  After 
the comment is saved, editing the comment by viewing the source code reveals 
that the image has been converted into a blob, i.e: http://mahara/ce5b1d93-d955-49bb-8f6b-1a6e12a7d509"; alt="Z" />.  When 
you delete the comment a warning is produced:

[WAR] fa (lib/htmltotext/htmltotext.php:27) DOMDocument::loadHTML():
Misplaced DOCTYPE declaration in Entity, line: 1 (please see attached
screen shot)

** Affects: mahara
 Importance: Undecided
 Status: New

** Attachment added: "remove_base64_image"
   
https://bugs.launchpad.net/bugs/1820546/+attachment/5247116/+files/remove_base64_image

-- 
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/1820546

Title:
  Issue when removing a base64 encoded image from comment

Status in Mahara:
  New

Bug description:
  Mahara 18.10 master
  OS: Linux
  Postgres
  Firefox 65.0.1

  You can add a base64 encoded image to a text field such as a comment.  This 
functionality was introduced when addressing this issue: 
https://bugs.launchpad.net/mahara/+bug/1742590
  The maxLength attr for the field was altered to accept up to 1 million 
characters allowing a base64 image to be able to be added to a comment.  After 
the comment is saved, editing the comment by viewing the source code reveals 
that the image has been converted into a blob, i.e: http://mahara/ce5b1d93-d955-49bb-8f6b-1a6e12a7d509"; alt="Z" />.  When 
you delete the comment a warning is produced:

  [WAR] fa (lib/htmltotext/htmltotext.php:27) DOMDocument::loadHTML():
  Misplaced DOCTYPE declaration in Entity, line: 1 (please see attached
  screen shot)

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1820546/+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 1742590] Re: Text/Note/Annotation Maxlength rule is unnecessary

2019-03-17 Thread Steven
Environment tested: Master
Browser tested: Chrome

PRECONDITIONS:
 
1) Mahara user exists (no roles)
2) Image has been converted to a Base64 hash text
3) Portfolio page exists that was created by another user and is shared with 
public


TEST STEPS:  Allow large Base64 hash text 
 
1) Log in as Mahara user 
2) Browse to a portfolio page that has been made public by another user 
3) Make a comment on the page as follows 
  a) In the WYSIWYG editor click the source icon  (should open a text field 
modal with title Source code) 
  b) Enter the Image that has been converted to a Base64 hash text and 
click OK
  c) Publish the comment by clicking the comment button  
4) Verify that an image is displayed in the comment field  ✔
5) Verify that there are no error messages ✔
5) Edit the comment - **Note:** that the long has has been converted to a blob 
of text and add another Image that has been converted to a Base64 hash text and 
click OK
6) Verify that the second image has been added to the comment ✔
7) Remove the comment 
8) Verify that the comment has been removed and no error message is displayed  ✔


TEST STEPS:  Max 1000,000 chars allowed in text fields
 
1) Log in as Mahara user 
2) Browse to a portfolio page that has been made public by another user 
3) Make a comment on the page using more than 1,000,000 characters into the 
text field and publish
4) Verify that an error message is displayed as follows 
   * "This field must be at most 1,000,000 characters long. Please revise 
it or try splitting this over multiple instances." ✔
5) Make a comment on the page using less than 1,000,000 characters into the 
text field
6) Verify that text is published  ✔


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/1742590

Title:
  Text/Note/Annotation Maxlength rule is unnecessary

Status in Mahara:
  In Progress

Bug description:
  Mahara: 17.10.1
  OS: Ubuntu 16.04
  DB: Postgres
  Browser: FF

  When inserting a base-64 encoded image into a comment on a form, the
  user is presented with the following error:

  'This field must be 8192 characters long.'

  This rule validation is not really required because the DB field that
  it inserting into is a 'Text' type. Which basically means it's almost
  unlimited.

  Postgres 7.1+ does have an upper limit at 1 Gb for a Text field.
  Mahara supports Postgres 9+.

  I do think it's safe to remove the maxlength rule for the Text, Note
  and Annoation fields.

  Please let me know your thoughts.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1742590/+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 1773609] Re: User export has column "remotename" instead of "remoteuser"

2019-03-17 Thread Steven
Environment tested: Master
Browser tested: Chrome

PRECONDITIONS: 
 
1) Site admin user exists
2) The following users exist 
  a) User1 - Institution One member 
  b) User2 - Institution One member
  c) User3 - Institution One admin

TEST STEPS: 
 
1) Log in as Site admin
2) Browse to Admin menu -> User search and click the check boxes to left of the 
above users.
3) Click the "Get reports for selected users" button
4) Click the download link on the next screen (lower right of list) 
5) Save the CSV file locally 
6) Open the CSV file 
7) Confirm the column storing the remote username is called "remoteuser" ✔

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/1773609

Title:
  User export has column "remotename" instead of "remoteuser"

Status in Mahara:
  In Progress

Bug description:
  When you export user details via the "Reports" in Mahara, the column
  for the remote username / Username for external authentication is
  called "remotename". However, if you want to use the resulting CSV
  file to update user details, you'll have to rename that column to
  "remoteuser" first. It would be better if the column was called
  "remoteuser" to start with in the export.

  To replicate:

  1. Have a couple of users on your Mahara site.
  2. Go to Admin -> User search and click the check boxes.
  3. Click the "Get reports for selected users" button.
  4. Download the data on the next screen.

  Expected result: The column storing the remote username is called 
"remoteuser".
  Actual result: It's called "remotename".

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1773609/+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 1768160] A patch has been submitted for review

2019-03-17 Thread Mahara Bot
Patch for "master" branch: https://reviews.mahara.org/9631

-- 
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/1768160

Title:
  resume tinyMCE keeps old text

Status in Mahara:
  Confirmed

Bug description:
  In User Menu-> Content -> Resume

  when adding "Education and employment" or "Achievements items", e.g.
  "Education history" we can add and item with description "Some text"
  in the TinyMCE text area, when we save and want to add a new one, we
  can see that the text "Some text" still show in the description field,
  but it should be empty.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1768160/+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 1768160] Re: resume tinyMCE keeps old text

2019-03-17 Thread Lisa Seeto
** Changed in: mahara
   Status: Confirmed => In Progress

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

Title:
  resume tinyMCE keeps old text

Status in Mahara:
  In Progress

Bug description:
  In User Menu-> Content -> Resume

  when adding "Education and employment" or "Achievements items", e.g.
  "Education history" we can add and item with description "Some text"
  in the TinyMCE text area, when we save and want to add a new one, we
  can see that the text "Some text" still show in the description field,
  but it should be empty.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1768160/+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 1777971] Re: jquery-ui timepicker- old code needs to be removed

2019-03-17 Thread Lisa Seeto
** Changed in: mahara
   Status: Confirmed => In Progress

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

Title:
  jquery-ui timepicker- old code needs to be removed

Status in Mahara:
  In Progress

Bug description:
  when upgrading jquery-ui to 1.12.1 I found a customization in the file 
  jquery-ui/js/jquery-ui.min.js that was made when this message was added to 
js/jquery/jquery-ui/README.Mahara

  * Added call to function after datepicker arrow key is pressed - to
  allow the year arrows to be re-added on day change

  that was added in commit 
  here, a function add_prev_next_year() was defined and added to 
jquery-ui/js/jquery-ui.min.js

  that function was removed in commit 8d796e7ca04b6df776b5deeb07cf38b9c7b037c0
  for Bug #1744191: Updated the datepicker to use the bootstrap one

  there is no need to add extra code to jquery-ui.min.js
  and it would be good to check what else is in the code but not needed anymore

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1777971/+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 1749308] Re: Collection navigation triggering swiperight event on mouse click

2019-03-17 Thread Kristina Hoeppner
Work-around for still selecting text:
- double-click for a word
- triple-click for a paragraph

Hat tip to Eric Breton at
https://mahara.org/interaction/forum/topic.php?id=8413&post=33591

-- 
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/1749308

Title:
  Collection navigation triggering swiperight event on mouse click

Status in Mahara:
  Confirmed

Bug description:
  Mahara: 17.10.3
  OS: Linux 16.04
  DB: Postgres (not relevant)
  Browser: Firefox and Chrome

  
  In a collection on a view with the 'Previous page' displayed, the swiperight 
event is getting triggered on a mouse click. 

  When a user tries to select some text (i.e. click mouse, hold it down,
  and select text), this action is interpreted as a swipe action. And,
  the swiperight event is triggered.

  I've come across this stackoverflow discussion:

  https://stackoverflow.com/questions/36317660/jquery-mobile-swipe-
  gesture-for-touch-screen-only-and-not-for-mouse

  Bascially, the swiperight and swipeleft events should be disabled on
  the mousedown event and enabled on the touchstart event.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1749308/+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 1792250] Re: Remove the test/selenium/ directory

2019-03-17 Thread Lisa Seeto
** Changed in: mahara
   Status: Confirmed => In Progress

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

Title:
  Remove the test/selenium/ directory

Status in Mahara:
  In Progress

Bug description:
  We used to use the test/selenium/ system to write tests for Mahara but
  when we moved to the Behat (test/behat/) system we stopped maintaining
  the old one so we should remove it to avoid problems/confusion

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1792250/+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