[Mahara-contributors] [Bug 1672737] [NEW] Entries missing from view_rows_columns

2017-03-14 Thread davosmith
Public bug reported:

We have had a problem occur a couple of times recently for a particular
customer using Mahara.

Some of the content is disappearing from pages - it is still there in
the 'view_layout_rows_columns' and 'view_layout_columns' tables, but
some of it is missing from the 'view_rows_columns' table.

If you delete all the records relating to the particular view from the
'view_rows_columns' table, then Mahara spots that all the records are
missing and rebuilds the whole page. This results in the missing page
sections reappearing correctly.

I'm afraid I can't offer any step-by-step instructions for how to
reproduce the problem - it has only happened twice (that we have
discovered) in the last few months and in each case we can see what is
wrong with the data, but not how it reached that state.

This may be related to https://bugs.launchpad.net/mahara/+bug/1626462
but the site is currently running Mahara 16.04.4 and that has not fixed
the problem (as that fix only works when *all* the records in
'view_rows_columns' are missing, not when only some of them are
missing).

Mahara: 16.04.4
OS: Linux
DB: MySQL
Browser: not relevant

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

Title:
  Entries missing from view_rows_columns

Status in Mahara:
  New

Bug description:
  We have had a problem occur a couple of times recently for a
  particular customer using Mahara.

  Some of the content is disappearing from pages - it is still there in
  the 'view_layout_rows_columns' and 'view_layout_columns' tables, but
  some of it is missing from the 'view_rows_columns' table.

  If you delete all the records relating to the particular view from the
  'view_rows_columns' table, then Mahara spots that all the records are
  missing and rebuilds the whole page. This results in the missing page
  sections reappearing correctly.

  I'm afraid I can't offer any step-by-step instructions for how to
  reproduce the problem - it has only happened twice (that we have
  discovered) in the last few months and in each case we can see what is
  wrong with the data, but not how it reached that state.

  This may be related to https://bugs.launchpad.net/mahara/+bug/1626462
  but the site is currently running Mahara 16.04.4 and that has not
  fixed the problem (as that fix only works when *all* the records in
  'view_rows_columns' are missing, not when only some of them are
  missing).

  Mahara: 16.04.4
  OS: Linux
  DB: MySQL
  Browser: not relevant

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1672737/+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 1672865] [NEW] Update Zend framework to 1.12.20

2017-03-14 Thread Cecilia Vela Gurovic
Public bug reported:

We need to update to 1.12.20 as there is a security patch since 1.12.19

https://framework.zend.com/changelog/1.12.20

** Affects: mahara
 Importance: High
 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/1672865

Title:
  Update Zend framework to 1.12.20

Status in Mahara:
  New

Bug description:
  We need to update to 1.12.20 as there is a security patch since
  1.12.19

  https://framework.zend.com/changelog/1.12.20

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1672865/+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 1672867] [NEW] update ADOdb library to 5.20.9

2017-03-14 Thread Cecilia Vela Gurovic
Public bug reported:

We need to update the ADOdb library to 5.20.9 due to security updates

https://github.com/ADOdb/ADOdb/blob/v5.20.9/docs/changelog.md

** Affects: mahara
 Importance: High
 Assignee: Cecilia Vela Gurovic (ceciliavg)
 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/1672867

Title:
  update ADOdb library to 5.20.9

Status in Mahara:
  New

Bug description:
  We need to update the ADOdb library to 5.20.9 due to security updates

  https://github.com/ADOdb/ADOdb/blob/v5.20.9/docs/changelog.md

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1672867/+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 1672865] Re: Update Zend framework to 1.12.20

2017-03-14 Thread Cecilia Vela Gurovic
** Changed in: mahara
 Assignee: (unassigned) => Cecilia Vela Gurovic (ceciliavg)

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

Title:
  Update Zend framework to 1.12.20

Status in Mahara:
  New

Bug description:
  We need to update to 1.12.20 as there is a security patch since
  1.12.19

  https://framework.zend.com/changelog/1.12.20

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1672865/+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 1672873] [NEW] PHPMailer security update 5.2.22

2017-03-14 Thread Cecilia Vela Gurovic
Public bug reported:

Need to upgrade PHPMailer library to version 5.2.22, there is a security
patch:

https://github.com/PHPMailer/PHPMailer/blob/master/SECURITY.md

** Affects: mahara
 Importance: High
 Assignee: Cecilia Vela Gurovic (ceciliavg)
 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/1672873

Title:
  PHPMailer security update 5.2.22

Status in Mahara:
  New

Bug description:
  Need to upgrade PHPMailer library to version 5.2.22, there is a
  security patch:

  https://github.com/PHPMailer/PHPMailer/blob/master/SECURITY.md

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

2017-03-14 Thread Mahara Bot
Patch for "master" branch: https://reviews.mahara.org/7519

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

Title:
  Mahara to support LTI (phase 1)

Status in Mahara:
  In Progress

Bug description:
  https://mahara.org/interaction/forum/topic.php?id=7797

  This wishlist item deals with phase 1:

  The first step would be to create a modern LTI plugin that allows for:

  * Single sign-on between an LMS and Mahara;
  * The creation of accounts on the fly when learners come from the LMS for the 
first time;
  * The support of Mahara instances with multiple institutions set up.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1668472/+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 1672893] [NEW] TinyMCE library - upgrade to version 4.5.x

2017-03-14 Thread Cecilia Vela Gurovic
Public bug reported:

There is security patch in version 4.5.0

https://github.com/tinymce/tinymce/blob/master/changelog.txt

** Affects: mahara
 Importance: High
 Assignee: Cecilia Vela Gurovic (ceciliavg)
 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/1672893

Title:
  TinyMCE library - upgrade to version 4.5.x

Status in Mahara:
  New

Bug description:
  There is security patch in version 4.5.0

  https://github.com/tinymce/tinymce/blob/master/changelog.txt

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1672893/+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 1670900] A change has been merged

2017-03-14 Thread Mahara Bot
Reviewed:  https://reviews.mahara.org/7510
Committed: 
https://git.mahara.org/mahara/mahara/commit/7445e00a2c9037331b39d4b579c92e822284791e
Submitter: Robert Lyon (robe...@catalyst.net.nz)
Branch:master

commit 7445e00a2c9037331b39d4b579c92e822284791e
Author: alexeyomelchenko 
Date:   Wed Mar 8 15:42:21 2017 +1300

Bug1670900: cant upload image

mahara has been throwing a js error -> missing switchbox library

Change-Id: Ib683572533c46bb1c3861f8dc5e98250801c8fef
behatnotneeded: same functionality
Signed-off-by: alexeyomelchenko 

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

Title:
  Can't uploadimage from within TinyMCE

Status in Mahara:
  Fix Committed

Bug description:
  Mahara 17.04master

  When I'm in TinyMCE and click the image icon to add an image to the
  text, but the image is not yet on my Mahara site, the image is not
  uploaded after "Browse" but the window simply closes.

  Applying patch https://reviews.mahara.org/#/c/7352/ doesn't resolve
  the issue.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1670900/+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 1670900] Re: Can't uploadimage from within TinyMCE

2017-03-14 Thread Robert Lyon
** Changed in: mahara
   Status: Confirmed => Fix Committed

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

Title:
  Can't uploadimage from within TinyMCE

Status in Mahara:
  Fix Committed

Bug description:
  Mahara 17.04master

  When I'm in TinyMCE and click the image icon to add an image to the
  text, but the image is not yet on my Mahara site, the image is not
  uploaded after "Browse" but the window simply closes.

  Applying patch https://reviews.mahara.org/#/c/7352/ doesn't resolve
  the issue.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1670900/+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 1672865] Re: Update Zend framework to 1.12.20

2017-03-14 Thread Cecilia Vela Gurovic
The security patch modifies a part of the library we don't use,
according to readme_moodle.txt

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

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

Title:
  Update Zend framework to 1.12.20

Status in Mahara:
  Invalid

Bug description:
  We need to update to 1.12.20 as there is a security patch since
  1.12.19

  https://framework.zend.com/changelog/1.12.20

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

2017-03-14 Thread Mahara Bot
Patch for "master" branch: https://reviews.mahara.org/7520

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

Title:
  update ADOdb library to 5.20.9

Status in Mahara:
  New

Bug description:
  We need to update the ADOdb library to 5.20.9 due to security updates

  https://github.com/ADOdb/ADOdb/blob/v5.20.9/docs/changelog.md

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

2017-03-14 Thread Mahara Bot
Patch for "master" branch: https://reviews.mahara.org/7521

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

Title:
  TinyMCE library - upgrade to version 4.5.x

Status in Mahara:
  New

Bug description:
  There is security patch in version 4.5.0

  https://github.com/tinymce/tinymce/blob/master/changelog.txt

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1672893/+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 1672930] [NEW] When you aren't allowed to edit / delete a page or collection you still see the icons

2017-03-14 Thread Kristina Hoeppner
Public bug reported:

Tested in Mahara 16.10 and a patch in review for 17.04:

Test case:

1. A group admin sets up the group so that regular group members cannot edit 
pages.
2. Group admin creates a page.
3. Regular group member sees the "Edit" and "Delete" buttons.
4. When regular group member clicks on the buttons, they get "Access denied". 

Expected result: Group member doesn't see the "Edit" and "Delete"
buttons. This may have snug in with the Bootstrap update as I don't
remember having seen the buttons in earlier versions of Mahara.

** Affects: mahara
 Importance: Medium
 Status: Confirmed


** Tags: regression

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

Title:
  When you aren't allowed to edit / delete a page or collection you
  still see the icons

Status in Mahara:
  Confirmed

Bug description:
  Tested in Mahara 16.10 and a patch in review for 17.04:

  Test case:

  1. A group admin sets up the group so that regular group members cannot edit 
pages.
  2. Group admin creates a page.
  3. Regular group member sees the "Edit" and "Delete" buttons.
  4. When regular group member clicks on the buttons, they get "Access denied". 

  Expected result: Group member doesn't see the "Edit" and "Delete"
  buttons. This may have snug in with the Bootstrap update as I don't
  remember having seen the buttons in earlier versions of Mahara.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1672930/+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 1672932] [NEW] Group member not allowed creating/editing groups can create collections

2017-03-14 Thread Kristina Hoeppner
Public bug reported:

Tested on Mahara 16.10 and preview 17.04

1. Group admin does not allow regular group members to edit / create content.
2. Group admin creates a couple of pages.
3. Regular group member logs in and creates a collection. They do get an error 
message:

[WAR] 50 (lib/dml.php:277) reset() expects parameter 1 to be array, boolean 
given
Call stack (most recent first):

log_message("reset() expects parameter 1 to be array, boolean g...", 8, 
true, true, "/home/kristina/code/1610stable/htdocs/lib/dml.php", 277) at 
/home/kristina/code/1610stable/htdocs/lib/errors.php:521
error(2, "reset() expects parameter 1 to be array, boolean g...", 
"/home/kristina/code/1610stable/htdocs/lib/dml.php", 277, array(size 3)) at 
Unknown:0
reset(false) at /home/kristina/code/1610stable/htdocs/lib/dml.php:277
count_records_sql("SELECT token FROM {view_access} WHERE view IN (45)...") 
at /home/kristina/code/1610stable/htdocs/collection/views.json.php:106

Expected result though: Regular group member should not be able to
create a collection as they aren't allowed to create / edit pages.

** Affects: mahara
 Importance: Medium
 Status: Confirmed

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

Title:
  Group member not allowed creating/editing groups can create
  collections

Status in Mahara:
  Confirmed

Bug description:
  Tested on Mahara 16.10 and preview 17.04

  1. Group admin does not allow regular group members to edit / create content.
  2. Group admin creates a couple of pages.
  3. Regular group member logs in and creates a collection. They do get an 
error message:

  [WAR] 50 (lib/dml.php:277) reset() expects parameter 1 to be array, boolean 
given
  Call stack (most recent first):

  log_message("reset() expects parameter 1 to be array, boolean g...", 8, 
true, true, "/home/kristina/code/1610stable/htdocs/lib/dml.php", 277) at 
/home/kristina/code/1610stable/htdocs/lib/errors.php:521
  error(2, "reset() expects parameter 1 to be array, boolean g...", 
"/home/kristina/code/1610stable/htdocs/lib/dml.php", 277, array(size 3)) at 
Unknown:0
  reset(false) at /home/kristina/code/1610stable/htdocs/lib/dml.php:277
  count_records_sql("SELECT token FROM {view_access} WHERE view IN 
(45)...") at /home/kristina/code/1610stable/htdocs/collection/views.json.php:106

  Expected result though: Regular group member should not be able to
  create a collection as they aren't allowed to create / edit pages.

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