[Mahara-contributors] [Bug 1296698] Re: Text box title duplicated and only one instance updated

2016-12-11 Thread Launchpad Bug Tracker
[Expired for Mahara because there has been no activity for 60 days.]

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

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

Title:
  Text box title duplicated and only one instance updated

Status in Mahara:
  Expired

Bug description:
  When a new text box is created, its original title goes into the
  database in two places: artefact.title and block_instance.title.
  However if the title is then edited, only block_instance.title gets
  updated; artefact.title retains the original title.

  This becomes an issue when the text box is viewed on its own, when
  both titles are displayed (whereas in the page view only the updated
  block_instance.title is displayed). The page owner is unable to update
  the original title via the Mahara interface as it doesn't appear at
  all when editing the block.

  I think there are really two issues here: firstly that the title is
  only updated in one place, but also that both titles are displayed
  when the text box is viewed on its own. If the title has never been
  edited, the same title is displayed twice, which is unnecessary.

  This has been tested in Mahara 1.8.1 on Ubuntu 13.10 with a Postgres
  database.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1296698/+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 1649177] [NEW] Declaration issuesfor PHP7 on CLI install

2016-12-11 Thread Robert Lyon
Public bug reported:

There are these errors on CLI install in master

[WAR] 7e (artefact/file/blocktype/internalmedia/lib.php:443) Declaration of 
MaharaMediaPlayer_flash::get_unique_id($artefact, $block) should be compatible 
with MaharaMediaPlayer::get_unique_id(ArtefactType $artefact, BlockInstance 
$block)
Call stack (most recent first):
  * log_message("Declaration of MaharaMediaPlayer_flash::get_unique...", 8, 
true, true, "/home/robertl/code/mahara-devel/mahara/htdocs/arte...", 443) at 
/home/robertl/code/mahara-devel/mahara/htdocs/lib/errors.php:521
  * error(2, "Declaration of MaharaMediaPlayer_flash::get_unique...", 
"/home/robertl/code/mahara-devel/mahara/htdocs/arte...", 443, array(size 10)) 
at /home/robertl/code/mahara-devel/mahara/htdocs/lib/mahara.php:1569
  * require_once() at 
/home/robertl/code/mahara-devel/mahara/htdocs/lib/mahara.php:1569
  * safe_require("blocktype", "file/internalmedia") at 
/home/robertl/code/mahara-devel/mahara/htdocs/lib/upgrade.php:239
  * check_upgrades() at 
/home/robertl/code/mahara-devel/mahara/htdocs/admin/cli/install.php:67

[WAR] 7e (artefact/file/blocktype/internalmedia/lib.php:623) Declaration of 
MaharaMediaPlayer_html5audio::get_unique_id($artefact, $block) should be 
compatible with MaharaMediaPlayer::get_unique_id(ArtefactType $artefact, 
BlockInstance $block)
Call stack (most recent first):
  * log_message("Declaration of MaharaMediaPlayer_html5audio::get_u...", 8, 
true, true, "/home/robertl/code/mahara-devel/mahara/htdocs/arte...", 623) at 
/home/robertl/code/mahara-devel/mahara/htdocs/lib/errors.php:521
  * error(2, "Declaration of MaharaMediaPlayer_html5audio::get_u...", 
"/home/robertl/code/mahara-devel/mahara/htdocs/arte...", 623, array(size 10)) 
at /home/robertl/code/mahara-devel/mahara/htdocs/lib/mahara.php:1569
  * require_once() at 
/home/robertl/code/mahara-devel/mahara/htdocs/lib/mahara.php:1569
  * safe_require("blocktype", "file/internalmedia") at 
/home/robertl/code/mahara-devel/mahara/htdocs/lib/upgrade.php:239
  * check_upgrades() at 
/home/robertl/code/mahara-devel/mahara/htdocs/admin/cli/install.php:67

[WAR] 7e (artefact/file/blocktype/internalmedia/lib.php:623) Declaration of 
MaharaMediaPlayer_html5audio::get_js_initjs(ArtefactTypeFile $artefact, 
BlockInstance $block, $width, $height) should be compatible with 
MaharaMediaPlayer::get_js_initjs(ArtefactType $artefact, BlockInstance $block, 
$width, $height)
Call stack (most recent first):
  * log_message("Declaration of MaharaMediaPlayer_html5audio::get_j...", 8, 
true, true, "/home/robertl/code/mahara-devel/mahara/htdocs/arte...", 623) at 
/home/robertl/code/mahara-devel/mahara/htdocs/lib/errors.php:521
  * error(2, "Declaration of MaharaMediaPlayer_html5audio::get_j...", 
"/home/robertl/code/mahara-devel/mahara/htdocs/arte...", 623, array(size 10)) 
at /home/robertl/code/mahara-devel/mahara/htdocs/lib/mahara.php:1569
  * require_once() at 
/home/robertl/code/mahara-devel/mahara/htdocs/lib/mahara.php:1569
  * safe_require("blocktype", "file/internalmedia") at 
/home/robertl/code/mahara-devel/mahara/htdocs/lib/upgrade.php:239
  * check_upgrades() at 
/home/robertl/code/mahara-devel/mahara/htdocs/admin/cli/install.php:67

[WAR] 7e (artefact/file/blocktype/internalmedia/lib.php:680) Declaration of 
MaharaMediaPlayer_html5video::get_unique_id($artefact, $block) should be 
compatible with MaharaMediaPlayer::get_unique_id(ArtefactType $artefact, 
BlockInstance $block)
Call stack (most recent first):
  * log_message("Declaration of MaharaMediaPlayer_html5video::get_u...", 8, 
true, true, "/home/robertl/code/mahara-devel/mahara/htdocs/arte...", 680) at 
/home/robertl/code/mahara-devel/mahara/htdocs/lib/errors.php:521
  * error(2, "Declaration of MaharaMediaPlayer_html5video::get_u...", 
"/home/robertl/code/mahara-devel/mahara/htdocs/arte...", 680, array(size 10)) 
at /home/robertl/code/mahara-devel/mahara/htdocs/lib/mahara.php:1569
  * require_once() at 
/home/robertl/code/mahara-devel/mahara/htdocs/lib/mahara.php:1569
  * safe_require("blocktype", "file/internalmedia") at 
/home/robertl/code/mahara-devel/mahara/htdocs/lib/upgrade.php:239
  * check_upgrades() at 
/home/robertl/code/mahara-devel/mahara/htdocs/admin/cli/install.php:67

[WAR] 7e (artefact/file/blocktype/internalmedia/lib.php:680) Declaration of 
MaharaMediaPlayer_html5video::get_js_initjs(ArtefactTypeFile $artefact, 
BlockInstance $block, $width, $height) should be compatible with 
MaharaMediaPlayer::get_js_initjs(ArtefactType $artefact, BlockInstance $block, 
$width, $height)
Call stack (most recent first):
  * log_message("Declaration of MaharaMediaPlayer_html5video::get_j...", 8, 
true, true, "/home/robertl/code/mahara-devel/mahara/htdocs/arte...", 680) at 
/home/robertl/code/mahara-devel/mahara/htdocs/lib/errors.php:521
  * error(2, "Declaration of MaharaMediaPlayer_html5video::get_j...", 
"/home/robertl/code/mahara-devel/mahara/htdocs/arte...", 680, array(size 10)) 
at 

[Mahara-contributors] [Bug 1649176] [NEW] Eliminate MochiKit from Auth, BlockType and Index.php

2016-12-11 Thread Alexey Omelchenko
Public bug reported:

part of general task of eliminating mochikit from Mahara

** Affects: mahara
 Importance: Undecided
 Assignee: Alexey Omelchenko (alexeyomelchenko)
 Status: In Progress

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

** Changed in: mahara
 Assignee: (unassigned) => Alexey Omelchenko (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/1649176

Title:
  Eliminate MochiKit from Auth, BlockType and Index.php

Status in Mahara:
  In Progress

Bug description:
  part of general task of eliminating mochikit from Mahara

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

2016-12-11 Thread Mahara Bot
Patch for "master" branch: https://reviews.mahara.org/7323

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

Title:
  Eliminate MochiKit from Auth, BlockType and Index.php

Status in Mahara:
  In Progress

Bug description:
  part of general task of eliminating mochikit from Mahara

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

2016-12-11 Thread Mahara Bot
Reviewed:  https://reviews.mahara.org/7321
Committed: 
https://git.mahara.org/mahara/mahara/commit/2d71a1e201071412b94e48889e413b7cfb0ad104
Submitter: Robert Lyon (robe...@catalyst.net.nz)
Branch:16.10_STABLE

commit 2d71a1e201071412b94e48889e413b7cfb0ad104
Author: Cecilia Vela Gurovic 
Date:   Mon Dec 5 12:58:42 2016 +1300

Bug 1647220: Fix error in Institution statistics when no institution

behatnotneeded

Change-Id: I9735ac2729f56864906dd8fed9de48df4db46b6c
(cherry picked from commit 77c44ae9e69fa85a5c80a75475d6fac9a518d1bc)

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

Title:
  Error messages on Institution statistics

Status in Mahara:
  Fix Committed
Status in Mahara 16.04 series:
  In Progress
Status in Mahara 16.10 series:
  Fix Committed

Bug description:
  Mahara master 17.04dev:

  The following error messages appear in a fresh Mahara instance with no
  institutions set up on Admin -> Institutions -> Statistics -> Pages.

  It seems to be similar to bug #1486309.

  [WAR] e8 (lib/user.php:1909) Undefined variable: urlid
  Call stack (most recent first):

  log_message("Undefined variable: urlid", 8, true, true, 
"/home/kristina/code/mahara/htdocs/lib/user.php", 1909) at 
/home/kristina/code/mahara/htdocs/lib/errors.php:521
  error(8, "Undefined variable: urlid", 
"/home/kristina/code/mahara/htdocs/lib/user.php", 1909, array(size 4)) at 
/home/kristina/code/mahara/htdocs/lib/user.php:1909
  profile_url(false, false) at 
/home/kristina/code/mahara/htdocs/lib/view.php:5796
  View->get_url(false) at 
/home/kristina/code/mahara/htdocs/lib/view.php:5237
  View::get_extra_view_info(array(size 5), false, false) at 
/home/kristina/code/mahara/htdocs/lib/registration.php:1399
  institution_view_stats_table(10, 0, array(size 17)) at 
/home/kristina/code/mahara/htdocs/lib/registration.php:1323
  institution_view_statistics(10, 0, array(size 17)) at 
/home/kristina/code/mahara/htdocs/admin/users/statistics.php:83

  [WAR] e8 (lib/user.php:1918) Undefined variable: id
  Call stack (most recent first):

  log_message("Undefined variable: id", 8, true, true, 
"/home/kristina/code/mahara/htdocs/lib/user.php", 1918) at 
/home/kristina/code/mahara/htdocs/lib/errors.php:521
  error(8, "Undefined variable: id", 
"/home/kristina/code/mahara/htdocs/lib/user.php", 1918, array(size 4)) at 
/home/kristina/code/mahara/htdocs/lib/user.php:1918
  profile_url(false, false) at 
/home/kristina/code/mahara/htdocs/lib/view.php:5796
  View->get_url(false) at 
/home/kristina/code/mahara/htdocs/lib/view.php:5237
  View::get_extra_view_info(array(size 5), false, false) at 
/home/kristina/code/mahara/htdocs/lib/registration.php:1399
  institution_view_stats_table(10, 0, array(size 17)) at 
/home/kristina/code/mahara/htdocs/lib/registration.php:1323
  institution_view_statistics(10, 0, array(size 17)) at 
/home/kristina/code/mahara/htdocs/admin/users/statistics.php:83

  [WAR] e8 (lib/user.php:1922) profile_url called with no user id
  Call stack (most recent first):

  profile_url(false, false) at 
/home/kristina/code/mahara/htdocs/lib/view.php:5796
  View->get_url(false) at 
/home/kristina/code/mahara/htdocs/lib/view.php:5237
  View::get_extra_view_info(array(size 5), false, false) at 
/home/kristina/code/mahara/htdocs/lib/registration.php:1399
  institution_view_stats_table(10, 0, array(size 17)) at 
/home/kristina/code/mahara/htdocs/lib/registration.php:1323
  institution_view_statistics(10, 0, array(size 17)) at 
/home/kristina/code/mahara/htdocs/admin/users/statistics.php:83

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1647220/+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 1647220] Re: Error messages on Institution statistics

2016-12-11 Thread Robert Lyon
** Changed in: mahara/16.10
   Status: In Progress => Fix Committed

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

Title:
  Error messages on Institution statistics

Status in Mahara:
  Fix Committed
Status in Mahara 16.04 series:
  In Progress
Status in Mahara 16.10 series:
  Fix Committed

Bug description:
  Mahara master 17.04dev:

  The following error messages appear in a fresh Mahara instance with no
  institutions set up on Admin -> Institutions -> Statistics -> Pages.

  It seems to be similar to bug #1486309.

  [WAR] e8 (lib/user.php:1909) Undefined variable: urlid
  Call stack (most recent first):

  log_message("Undefined variable: urlid", 8, true, true, 
"/home/kristina/code/mahara/htdocs/lib/user.php", 1909) at 
/home/kristina/code/mahara/htdocs/lib/errors.php:521
  error(8, "Undefined variable: urlid", 
"/home/kristina/code/mahara/htdocs/lib/user.php", 1909, array(size 4)) at 
/home/kristina/code/mahara/htdocs/lib/user.php:1909
  profile_url(false, false) at 
/home/kristina/code/mahara/htdocs/lib/view.php:5796
  View->get_url(false) at 
/home/kristina/code/mahara/htdocs/lib/view.php:5237
  View::get_extra_view_info(array(size 5), false, false) at 
/home/kristina/code/mahara/htdocs/lib/registration.php:1399
  institution_view_stats_table(10, 0, array(size 17)) at 
/home/kristina/code/mahara/htdocs/lib/registration.php:1323
  institution_view_statistics(10, 0, array(size 17)) at 
/home/kristina/code/mahara/htdocs/admin/users/statistics.php:83

  [WAR] e8 (lib/user.php:1918) Undefined variable: id
  Call stack (most recent first):

  log_message("Undefined variable: id", 8, true, true, 
"/home/kristina/code/mahara/htdocs/lib/user.php", 1918) at 
/home/kristina/code/mahara/htdocs/lib/errors.php:521
  error(8, "Undefined variable: id", 
"/home/kristina/code/mahara/htdocs/lib/user.php", 1918, array(size 4)) at 
/home/kristina/code/mahara/htdocs/lib/user.php:1918
  profile_url(false, false) at 
/home/kristina/code/mahara/htdocs/lib/view.php:5796
  View->get_url(false) at 
/home/kristina/code/mahara/htdocs/lib/view.php:5237
  View::get_extra_view_info(array(size 5), false, false) at 
/home/kristina/code/mahara/htdocs/lib/registration.php:1399
  institution_view_stats_table(10, 0, array(size 17)) at 
/home/kristina/code/mahara/htdocs/lib/registration.php:1323
  institution_view_statistics(10, 0, array(size 17)) at 
/home/kristina/code/mahara/htdocs/admin/users/statistics.php:83

  [WAR] e8 (lib/user.php:1922) profile_url called with no user id
  Call stack (most recent first):

  profile_url(false, false) at 
/home/kristina/code/mahara/htdocs/lib/view.php:5796
  View->get_url(false) at 
/home/kristina/code/mahara/htdocs/lib/view.php:5237
  View::get_extra_view_info(array(size 5), false, false) at 
/home/kristina/code/mahara/htdocs/lib/registration.php:1399
  institution_view_stats_table(10, 0, array(size 17)) at 
/home/kristina/code/mahara/htdocs/lib/registration.php:1323
  institution_view_statistics(10, 0, array(size 17)) at 
/home/kristina/code/mahara/htdocs/admin/users/statistics.php:83

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1647220/+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 1637287] Re: Group members should not receive group membership request notifications

2016-12-11 Thread Robert Lyon
** Changed in: mahara/16.10
   Status: In Progress => Fix Committed

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

Title:
  Group members should not receive group membership request
  notifications

Status in Mahara:
  Fix Committed
Status in Mahara 16.10 series:
  Fix Committed
Status in Mahara 17.04 series:
  Fix Committed

Bug description:
  Notifications about new group membership requests are also sent to
  normal group members, which leads to a lot of useless emails. Only
  group administrators should receive this type of notification.

  This behaviour was first observed after upgrading to Mahara 16.10.0,
  thus seems to be a regression.

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

2016-12-11 Thread Mahara Bot
Reviewed:  https://reviews.mahara.org/7320
Committed: 
https://git.mahara.org/mahara/mahara/commit/0a9af2cba720d5992dc83243ca2806f35be917c8
Submitter: Robert Lyon (robe...@catalyst.net.nz)
Branch:16.10_STABLE

commit 0a9af2cba720d5992dc83243ca2806f35be917c8
Author: Robert Lyon 
Date:   Mon Nov 7 13:28:09 2016 +1300

Bug 1637287: Restrict the group membership request to admins only

Since we changed the message activity from 'maharamessage' to
'groupmessage' we need to restrict the users getting the message to
the admins.

Also update the group_invite_user() message to be a groupmessage as well

behatnotneeded

Change-Id: I0c4f94392c3a168b4a241f5c5ad3cce20547b934
Signed-off-by: Robert Lyon 
(cherry picked from commit e01256956614c8bb366bcc172168f98b2cb328e2)

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

Title:
  Group members should not receive group membership request
  notifications

Status in Mahara:
  Fix Committed
Status in Mahara 16.10 series:
  Fix Committed
Status in Mahara 17.04 series:
  Fix Committed

Bug description:
  Notifications about new group membership requests are also sent to
  normal group members, which leads to a lot of useless emails. Only
  group administrators should receive this type of notification.

  This behaviour was first observed after upgrading to Mahara 16.10.0,
  thus seems to be a regression.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1637287/+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 1443239] Re: Warning in Mahara logs when a MaharaDroid user has no tags in their Mahara account

2016-12-11 Thread Robert Lyon
** Changed in: mahara
Milestone: 17.04.0 => None

** Changed in: mahara/16.04
Milestone: 16.04.5 => None

** Changed in: mahara/16.10
Milestone: 16.10.1 => 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/1443239

Title:
  Warning in Mahara logs when a MaharaDroid user has no tags in their
  Mahara account

Status in Mahara:
  Won't Fix
Status in Mahara 15.10 series:
  Won't Fix
Status in Mahara 16.04 series:
  Won't Fix
Status in Mahara 16.10 series:
  Won't Fix

Bug description:
  This is a bug in the Mahara PHP code which interfaces with the
  MaharaDroid android app. See
  https://github.com/MaharaProject/maharadroid/issues/6 for the
  MaharaDroid side of this bug.

  To replicate:

  1. Create a new Mahara account
  2. Connect it to MaharaDroid
  3. Try to upload a file via MaharaDroid

  Result: You see this warning in the Apache logs:

  
   [Tue Jan 14 11:07:18 2014] [error] [client 10.22.33.88] [WAR] 88 
(api/mobile/sync.php:77) Invalid argument supplied for foreach()
   [Tue Jan 14 11:07:18 2014] [error] [client 10.22.33.88] Call stack (most 
recent first):
   [Tue Jan 14 11:07:18 2014] [error] [client 10.22.33.88] * 
log_message("Invalid argument supplied for foreach()", 8, true, true, 
"/home/demo/code/mahara/htdocs/api/mobile/sync.php", 77) at 
/home/demo/code/mahara/htdocs/lib/errors.php:430
   [Tue Jan 14 11:07:18 2014] [error] [client 10.22.33.88] * error(2, "Invalid 
argument supplied for foreach()", 
"/home/demo/code/mahara/htdocs/api/mobile/sync.php", 77, array(size 59)) at 
/home/demo/code/mahara/htdocs/api/mobile/sync.php:77
   [Tue Jan 14 11:07:18 2014] [error] [client 10.22.33.88]

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1443239/+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 1470064] Re: webservices complain about no HTTPS even for simple user authentication

2016-12-11 Thread Robert Lyon
** Changed in: mahara/16.10
Milestone: 16.10.1 => None

** Changed in: mahara
Milestone: 17.04.0 => 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/1470064

Title:
  webservices complain about no HTTPS even for simple user
  authentication

Status in Mahara:
  Won't Fix
Status in Mahara 16.10 series:
  Won't Fix

Bug description:
  Mahara 15.04

  To reproduce...

  - use a site with HTTP (not HTTPS)
  - Create a web service user 
  - configure the user through 'Manage service users' to access any suitable 
method (e.g. get institution users)
  - use the web services test client with any protocol you like and execute the 
selected method
  - An error is thrown...

  "exception: Forbidden - HTTPS must be used"

  The documentation (such as it is) indicates that HTTPS is only
  required for token based authentication, not simple username/password

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1470064/+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 1425392] Re: Behat bug: Behat gets confused by the 2 different Groups in navigation

2016-12-11 Thread Robert Lyon
** Changed in: mahara
Milestone: 17.04.0 => None

** Changed in: mahara/15.10
Milestone: 15.10.7 => None

** Changed in: mahara/16.04
Milestone: 16.04.5 => None

** Changed in: mahara/16.10
Milestone: 16.10.1 => 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/1425392

Title:
  Behat bug: Behat gets confused by the 2 different Groups in navigation

Status in Mahara:
  Won't Fix
Status in Mahara 15.04 series:
  Won't Fix
Status in Mahara 15.10 series:
  Won't Fix
Status in Mahara 16.04 series:
  Won't Fix
Status in Mahara 16.10 series:
  Won't Fix

Bug description:
  Hi,

  I have a attached a broken Behat test. When it clicks on the first "Groups" 
heading in the navigation it works fine.
  eg "Find friends" in "Groups"

  Then it fails when it tries selecting "Archived submissions" in
  "Groups" .

  It doesn’t like the fact that there are 2 of them.  What way do we
  have to work around this?

  Thanks,
  Jinelle

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1425392/+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 1481450] Re: Should copied page names start at "v.2" or "v.1" (or something else)?

2016-12-11 Thread Robert Lyon
** Changed in: mahara
Milestone: 17.04.0 => None

** Changed in: mahara/16.10
Milestone: 16.10.1 => 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/1481450

Title:
  Should copied page names start at "v.2" or "v.1" (or something else)?

Status in Mahara:
  Won't Fix
Status in Mahara 16.10 series:
  Won't Fix

Bug description:
  In Mahara master (15.10dev), the page version numbers were changed and
  a "v." added. However, now the page version numbers start at 2 instead
  of 1. In a sense that is correct because the original page would be
  version 1, but without actually seeing that version number, it is
  confusing why there would be version 2 when no version 1 can be seen.

  Do others feel the same or am I overthinking things?

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1481450/+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 1514415] Re: [MySQL] Index column size too large. The maximum column size is 767 bytes.

2016-12-11 Thread Robert Lyon
The original issue sounds like it was an incompatibility with their
MySQL setup and Mahara install

The error "1709: Index column size too large. The maximum column size is
767 bytes."

Sounds similar to this problem 
http://stackoverflow.com/questions/30761867/mysql-error-the-maximum-column-size-is-767-bytes

Where the "innodb_large_prefix" was not set correctly.

As the reporter was able to install their site using the workaround in
patch https://reviews.mahara.org/5681 and no other users have mentioned
this issue I will close the bug

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

** Changed in: mahara/16.10
   Status: Triaged => Won't Fix

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

** Changed in: mahara/16.10
Milestone: 16.10.1 => 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/1514415

Title:
  [MySQL] Index column size too large. The maximum column size is 767
  bytes.

Status in Mahara:
  Won't Fix
Status in Mahara 16.10 series:
  Won't Fix

Bug description:
  Hallo,

  I have tried to install Mahara with MySQL.

  I have installed it in the following way:

  1. I cloned the git repository at https://git.mahara.org/mahara/mahara.git
  2. I built mahara with make css to create all neccessary files
  3. I started the installationn with php admin/cli/install.php 
--adminpassword='' --adminemail=

  After a while the following error appeared:

  "(lib/dml.php:150) mysqli error: [1709: Index column size too large.
  The maximum column size is 767 bytes.]"

  I did some research and found a potential solution for that:

  1. Some entries in my.cnf, which I have already added:

  innodb_large_prefix=on
  innodb_file_format=barracuda
  innodb_file_per_table=true

  
  2. To add "ROW_FORMAT=DYNAMIC;" when creating a table. But I have no idea how 
to do this.

  
  More information on this error can be found on:

  
http://mechanics.flite.com/blog/2014/07/29/using-innodb-large-prefix-to-avoid-error-1071/
  https://dev.mysql.com/doc/refman/5.5/en/innodb-restrictions.html
  https://dev.mysql.com/doc/refman/5.5/en/innodb-row-format-dynamic.html

  
  Here is the log-file

  [INF] 72 (admin/cli/install.php:74) Installing Mahara
  [INF] 72 (lib/mahara.php:228) Installing core
  [INF] 72 (lib/upgrade.php:1364) Enabled 2 HTML filters.
  [INF] 72 (lib/mahara.php:228) Installing firstcoredata
  [INF] 72 (lib/mahara.php:228) Installing localpreinst
  [INF] 72 (lib/mahara.php:228) Installing artefact.plans
  [INF] 72 (lib/mahara.php:228) Installing artefact.blog
  [INF] 72 (lib/mahara.php:228) Installing artefact.internal
  [INF] 72 (lib/mahara.php:228) Installing artefact.comment
  [INF] 72 (lib/mahara.php:228) Installing artefact.file
  [INF] 72 (artefact/file/lib.php:269) Updated filetype list: 142 added.
  [INF] 72 (lib/mahara.php:228) Installing artefact.annotation
  [INF] 72 (lib/mahara.php:228) Installing artefact.resume
  [INF] 72 (lib/mahara.php:228) Installing auth.saml
  [INF] 72 (lib/mahara.php:228) Installing auth.internal
  [INF] 72 (lib/mahara.php:228) Installing auth.ldap
  [INF] 72 (lib/mahara.php:228) Installing auth.browserid
  [INF] 72 (lib/mahara.php:228) Installing auth.none
  [INF] 72 (lib/mahara.php:228) Installing auth.imap
  [INF] 72 (lib/mahara.php:228) Installing auth.webservice
  [INF] 72 (lib/mahara.php:228) Installing auth.xmlrpc
  [INF] 72 (lib/mahara.php:228) Installing notification.email
  [INF] 72 (lib/mahara.php:228) Installing notification.emaildigest
  [INF] 72 (lib/mahara.php:228) Installing notification.internal
  [INF] 72 (lib/mahara.php:228) Installing search.elasticsearch
  [INF] 72 (lib/mahara.php:228) Installing search.internal
  [INF] 72 (lib/mahara.php:228) Installing blocktype.file/gallery
  [INF] 72 (lib/mahara.php:228) Installing blocktype.resume/entireresume
  [INF] 72 (lib/mahara.php:228) Installing blocktype.internal/profileinfo
  [INF] 72 (lib/mahara.php:228) Installing blocktype.file/image
  [INF] 72 (lib/mahara.php:228) Installing blocktype.internal/textbox
  [INF] 72 (lib/mahara.php:228) Installing blocktype.internal/socialprofile
  [INF] 72 (lib/mahara.php:228) Installing blocktype.file/pdf
  [INF] 72 (lib/mahara.php:228) Installing blocktype.file/html
  [INF] 72 (lib/mahara.php:228) Installing blocktype.blog/recentposts
  [INF] 72 (lib/mahara.php:228) Installing blocktype.file/filedownload
  [INF] 72 (lib/mahara.php:228) Installing blocktype.comment/comment
  [INF] 72 (lib/mahara.php:228) Installing blocktype.file/folder
  [INF] 72 (lib/mahara.php:228) Installing blocktype.blog/blog
  [INF] 72 (lib/mahara.php:228) Installing blocktype.resume/resumefield
  [INF] 72 (lib/mahara.php:228) Installing blocktype.blog/taggedposts
  [INF] 72 (lib/mahara.php:228) Installing 

[Mahara-contributors] [Bug 1543403] Re: TinyMCE full screen not working in IE10 for 15.10.1

2016-12-11 Thread Robert Lyon
*** This bug is a duplicate of bug 1631807 ***
https://bugs.launchpad.net/bugs/1631807

** This bug has been marked a duplicate of bug 1631807
   Problem when editing the content on IE11

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

Title:
  TinyMCE full screen not working in IE10 for 15.10.1

Status in Mahara:
  Fix Committed
Status in Mahara 15.10 series:
  Triaged
Status in Mahara 16.04 series:
  Triaged
Status in Mahara 16.10 series:
  Triaged

Bug description:
  In IE10 (win7), tinyMCE is not going full screen when clicking the expand 
button from the menu. 
  This problem occurs when editing a text box in the Portfolio - Pages. Assume 
this happens on all instances of TinyMCE and using the RAW theme (core issue 
with all themes that inherit RAW).

  Problem was found by a client using the Primary School theme.

  TinyMCE works correctly in IE11.

  
  May the force be with you for this one.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1543403/+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 1470064] Re: webservices complain about no HTTPS even for simple user authentication

2016-12-11 Thread Robert Lyon
It has been decided that webservices in a production site need to be run
over https (SSL) rather than allow some services to be http and others
not.

However one can test webservices by putting their Mahara into non-production 
mode.
In their config.php file add:

$cfg->productionmode = false;


So will not fix anything for this bug


** Changed in: mahara/16.10
   Status: Triaged => Won't Fix

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

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

Title:
  webservices complain about no HTTPS even for simple user
  authentication

Status in Mahara:
  Won't Fix
Status in Mahara 16.10 series:
  Won't Fix

Bug description:
  Mahara 15.04

  To reproduce...

  - use a site with HTTP (not HTTPS)
  - Create a web service user 
  - configure the user through 'Manage service users' to access any suitable 
method (e.g. get institution users)
  - use the web services test client with any protocol you like and execute the 
selected method
  - An error is thrown...

  "exception: Forbidden - HTTPS must be used"

  The documentation (such as it is) indicates that HTTPS is only
  required for token based authentication, not simple username/password

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1470064/+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 1528991] Re: Indent second line of notification in Inbox

2016-12-11 Thread Robert Lyon
** Changed in: mahara/16.10
Milestone: 16.10.1 => 16.10.2

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

Title:
  Indent second line of notification in Inbox

Status in Mahara:
  Confirmed
Status in Mahara 15.10 series:
  Confirmed
Status in Mahara 16.04 series:
  Confirmed
Status in Mahara 16.10 series:
  Confirmed

Bug description:
  Mahara 15.10+

  When the subject line of a notification is very long, the name pops to
  the second line when on a tablet for example. That second line is not
  indent, but should only start where the text starts on the first line
  (see attachment)

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1528991/+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 1517729] Re: Better documentation of the compatible Elasticsearch version

2016-12-11 Thread Robert Lyon
** Changed in: mahara/16.10
Milestone: 16.10.1 => 16.10.2

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

Title:
  Better documentation of the compatible Elasticsearch version

Status in Mahara:
  Confirmed
Status in Mahara 16.10 series:
  Confirmed

Bug description:
  See the discussion at the bottom of Bug 1389446.

  Currently, Mahara is using Elastica version 2.0 for our Elasticsearch
  PHP library. The Elastica project uncoupled their version numbers from
  Elasticsearch's version numbers with the 2.0 release, so Elastica 2.0
  was written to support Elasticsearch 1.5.

  However, there doesn't seem to be anywhere in the Mahara documentation
  that specifies *which* version of Elasticsearch we support. Even the
  README.Mahara file in htdocs/lib/elastica doesn't say it! So, we
  should really document that somewhere. Possibly in Mahara's main
  README, and/or the Elastica README, maybe even on the elasticsearch
  plugin's config page.

  In fact... maybe it would be a good idea if the elasticsearch plugin
  was able to sniff the elasticsearch version and tell you that it's not
  a compatible version? Of course, that does rely on the version
  detection system of Elasticsearch being backwards compatible.

  On a related note, we should also upgrade our Elastica version.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1517729/+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 1487299] Re: All edit and delete buttons should contain the name of what they manage

2016-12-11 Thread Robert Lyon
These still need to be fixed up

** Changed in: mahara/16.10
 Assignee: (unassigned) => Cecilia Vela Gurovic (ceciliavg)

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

Title:
  All edit and delete buttons should contain the name of what they
  manage

Status in Mahara:
  Confirmed
Status in Mahara 15.10 series:
  Confirmed
Status in Mahara 16.04 series:
  Confirmed
Status in Mahara 16.10 series:
  Confirmed

Bug description:
  Reopening Bug #1276397 - in the new Bootstrap theme, all edit and
  delete buttons seem to have descriptive text attached to them ("Edit"
  and "Delete"), but it is sometimes ambiguous for screen reader users
  which list item they refer to. In particular:

  - On the My groups page, Settings and Delete buttons should contain the name 
of the group (see Bug #1482482)
  - In the Resume (Education and employment, Achievements) edit and delete 
buttons should contain some information about the row they are on
  - Under Journals, all Edit and Delete buttons should include the name of the 
journal (or entry) they control
  - Same for files in the file browser (eg. Content -> Files)

  For an example of how to include this text, see the edit and delete
  buttons in the list on Portfolio -> Pages.

  There are probably other examples - they should be added here and then
  could be spun off into separate bug reports for fixing.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1487299/+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 1481450] Re: Should copied page names start at "v.2" or "v.1" (or something else)?

2016-12-11 Thread Robert Lyon
There has not been much complaining with the new suffix naming of pages
and now that it has been around for over a year it has become the
'normal' way.

Starting with v.2 actually makes sense in the fact that it is the 2nd
version of the original.

(Then again v.1 makes sense as it is the first copy of the original)

I feel it is probably best to stay with the new status quo now rather
than try and "fix" and create more issues.

** Changed in: mahara/16.10
   Status: Confirmed => Won't Fix

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

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

Title:
  Should copied page names start at "v.2" or "v.1" (or something else)?

Status in Mahara:
  Won't Fix
Status in Mahara 16.10 series:
  Won't Fix

Bug description:
  In Mahara master (15.10dev), the page version numbers were changed and
  a "v." added. However, now the page version numbers start at 2 instead
  of 1. In a sense that is correct because the original page would be
  version 1, but without actually seeing that version number, it is
  confusing why there would be version 2 when no version 1 can be seen.

  Do others feel the same or am I overthinking things?

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1481450/+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 1443239] Re: Warning in Mahara logs when a MaharaDroid user has no tags in their Mahara account

2016-12-11 Thread Robert Lyon
Now that we have a new app called "Mahara mobile" we will be looking at
supporting that rather than the old MaharaDroid app

** Changed in: mahara/16.10
   Status: Confirmed => Won't Fix

** Changed in: mahara/16.04
   Status: Confirmed => Won't Fix

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

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

Title:
  Warning in Mahara logs when a MaharaDroid user has no tags in their
  Mahara account

Status in Mahara:
  Won't Fix
Status in Mahara 15.10 series:
  Won't Fix
Status in Mahara 16.04 series:
  Won't Fix
Status in Mahara 16.10 series:
  Won't Fix

Bug description:
  This is a bug in the Mahara PHP code which interfaces with the
  MaharaDroid android app. See
  https://github.com/MaharaProject/maharadroid/issues/6 for the
  MaharaDroid side of this bug.

  To replicate:

  1. Create a new Mahara account
  2. Connect it to MaharaDroid
  3. Try to upload a file via MaharaDroid

  Result: You see this warning in the Apache logs:

  
   [Tue Jan 14 11:07:18 2014] [error] [client 10.22.33.88] [WAR] 88 
(api/mobile/sync.php:77) Invalid argument supplied for foreach()
   [Tue Jan 14 11:07:18 2014] [error] [client 10.22.33.88] Call stack (most 
recent first):
   [Tue Jan 14 11:07:18 2014] [error] [client 10.22.33.88] * 
log_message("Invalid argument supplied for foreach()", 8, true, true, 
"/home/demo/code/mahara/htdocs/api/mobile/sync.php", 77) at 
/home/demo/code/mahara/htdocs/lib/errors.php:430
   [Tue Jan 14 11:07:18 2014] [error] [client 10.22.33.88] * error(2, "Invalid 
argument supplied for foreach()", 
"/home/demo/code/mahara/htdocs/api/mobile/sync.php", 77, array(size 59)) at 
/home/demo/code/mahara/htdocs/api/mobile/sync.php:77
   [Tue Jan 14 11:07:18 2014] [error] [client 10.22.33.88]

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1443239/+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 1425392] Re: Behat bug: Behat gets confused by the 2 different Groups in navigation

2016-12-11 Thread Robert Lyon
Will leave the workaround as the preferred fix for this and so will
close the bug

** Changed in: mahara/15.10
   Status: Confirmed => Won't Fix

** Changed in: mahara/16.04
   Status: Confirmed => Won't Fix

** Changed in: mahara/16.10
   Status: Confirmed => Won't Fix

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

** Changed in: mahara/15.04
   Importance: Medium => Low

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

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

Title:
  Behat bug: Behat gets confused by the 2 different Groups in navigation

Status in Mahara:
  Won't Fix
Status in Mahara 15.04 series:
  Won't Fix
Status in Mahara 15.10 series:
  Won't Fix
Status in Mahara 16.04 series:
  Won't Fix
Status in Mahara 16.10 series:
  Won't Fix

Bug description:
  Hi,

  I have a attached a broken Behat test. When it clicks on the first "Groups" 
heading in the navigation it works fine.
  eg "Find friends" in "Groups"

  Then it fails when it tries selecting "Archived submissions" in
  "Groups" .

  It doesn’t like the fact that there are 2 of them.  What way do we
  have to work around this?

  Thanks,
  Jinelle

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1425392/+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 1500285] Re: Add path and update records slowness

2016-12-11 Thread Robert Lyon
** Changed in: mahara/16.10
Milestone: 16.10.1 => 16.10.2

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

Title:
  Add path and update records slowness

Status in Mahara:
  Confirmed
Status in Mahara 15.04 series:
  Won't Fix
Status in Mahara 15.10 series:
  Confirmed
Status in Mahara 16.04 series:
  Confirmed
Status in Mahara 16.10 series:
  Confirmed

Bug description:
  Upgrade Issue 1 - Add path and update records :

  This adds a field 'path' to artefact table and thereafter runs a
  update query to add data. We have around 500K rows and this takes
  around 94 minutes to upgrade! This can be done in one go without the
  limit of 200 and it works very well taking around 2-3 minutes!

  Few times the upgrade failed due to "mysqli error: [1205: Lock wait
  timeout exceeded; try restarting transaction]".

  This is spun off from Bug #1499568

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1500285/+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 1262040] Re: Problems with group artefact permissions due to misuse of $USER->can_view_artefact and $USER->can_edit_artefact

2016-12-11 Thread Robert Lyon
** Changed in: mahara/16.10
Milestone: 16.10.1 => 16.10.2

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

Title:
  Problems with group artefact permissions due to misuse of
  $USER->can_view_artefact and $USER->can_edit_artefact

Status in Mahara:
  Confirmed
Status in Mahara 16.10 series:
  Confirmed

Bug description:
  While discussing the export to ZIP bug ( Bug 1013022 ) I realized that
  $USER->can_view_artefact() does not do what I thought it did. I
  thought that it was like can_view_view(), i.e. it was an easy way to
  tell whether a particular user is allowed to see the contents of a
  particular artefact.

  But it does not mean that, as evidenced by the fact that it's not
  accessed at all on the artefact detail page, view/artefact.php.
  Instead, this function refers to whether or not the user should be
  able to see the artefact in their own or a group's Content area.

  The reason it exists and has this name, is because of the group files
  permissions system (see
  http://manual.mahara.org/en/1.8/groups/inside_group.html#index-16 ).
  This defines three permission levels for a file: "View" lets you see
  the page in Contents and use it in Group pages, "Edit" lets you change
  the file's metadata, and "Publish" lets you use the file in your own
  Portfolio pages.

  Anyway, I misunderstood it as doing the same thing as can_view_view(),
  which checks whether a particular user can see a particular Page in
  display-mode. The similar functionality for artefacts, as seen on
  view/artefact.php, is to provide an artefact ID & a page ID, and to
  check whether the artefact is in the page and the user can view the
  page.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1262040/+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 1482470] Re: Position and configure block dialogs no longer have focus management

2016-12-11 Thread Robert Lyon
** Changed in: mahara/16.10
Milestone: 16.10.1 => 16.10.2

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

Title:
  Position and configure block dialogs no longer have focus management

Status in Mahara:
  Confirmed
Status in Mahara 15.10 series:
  Confirmed
Status in Mahara 16.04 series:
  Confirmed
Status in Mahara 16.10 series:
  Confirmed

Bug description:
  With the new Bootstrap theme, it is still possible to add blocks using
  the keyboard (by pressing Enter when focused on a block type in the
  accordion) but the dialogs that appear no longer have focus
  management, making it appear to screen reader users as if nothing has
  happened. The old behaviour (focusing the dialog close button when it
  opens) needs to be reimplemented or fixed.

  Affects latest master

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1482470/+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 1554862] Re: Move testing infrastructure into a separate git submodule

2016-12-11 Thread Robert Lyon
** Changed in: mahara/16.10
Milestone: 16.10.1 => 16.10.2

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

Title:
  Move testing infrastructure into a separate git submodule

Status in Mahara:
  In Progress
Status in Mahara 15.04 series:
  Won't Fix
Status in Mahara 15.10 series:
  Confirmed
Status in Mahara 16.04 series:
  Confirmed
Status in Mahara 16.10 series:
  Confirmed

Bug description:
  Currently we include all the Mahara testing code in the main Mahara
  branch. This would work fine, except that rapid changes in Firefox
  mean that we need to make rapid changes in our Selenium interface, and
  all of these need to be backported into the testing code for all
  branches that are still supported.

  Effectively, this means that *all* testing-related code needs to be
  synchronized across all supported branches.

  The easiest way to ensure that is to move the testing code out of the
  main Mahara branch. For the time being, a git submodule is probably
  the best approach.

  Because some of the Behat steps need to be different between the
  different Mahara versions (for instance, navigation steps need to take
  into account changes in the menu structure's HTML), the Behat
  subproject may need to have code that sniffs the Mahara version it's
  running against and makes changes accordingly.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1554862/+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 1517732] Re: Upgrade Elastica to 2.3.1

2016-12-11 Thread Robert Lyon
** Changed in: mahara/16.10
Milestone: 16.10.1 => 16.10.2

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

Title:
  Upgrade Elastica to 2.3.1

Status in Mahara:
  Confirmed
Status in Mahara 16.10 series:
  Confirmed

Bug description:
  Mahara 15.10 is using Elastica 2.0, which is only compatible with
  Elasticsearch versions up to 1.5.2.

  Elasticsearch is now up to version 2.3, which supports up to
  Elasticsearch 1.73: http://elastica.io/2015/10/18/release-2-dot-3-1/

  We should upgrade.

  It is worth noting, however, that Elasticsearch's latest version is
  2.0.0, and the current version of Elastica does not support that yet.
  Apparently ES 2.0.0 breaks a lot of backwards compatibility. An
  upgrade to support ES 2.0.0 is in progress, however:
  https://github.com/ruflin/Elastica/issues/900

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1517732/+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 1513710] Re: Destructor methods that access global variables can cause crashes

2016-12-11 Thread Robert Lyon
** Changed in: mahara/16.10
Milestone: 16.10.1 => 16.10.2

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

Title:
  Destructor methods that access global variables can cause crashes

Status in Mahara:
  Confirmed
Status in Mahara 16.04 series:
  Confirmed
Status in Mahara 16.10 series:
  Confirmed

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

  Here's the problem (which appears to be intermittent):

  1. ArtefactType has a destructor method, which gets called when an artefact 
object is garbage-collected by PHP.
  2. PHP runs destructor methods and garbage collects variables in no 
guaranteed order when exit() is called.
  3. Sometimes the ArtefactType destructor method tries to call DML methods, 
which use the global variable $db
  4. Apparently sometimes the $db global variable has already been garbage 
collected by the time the destructor runs
  5. This causes a fatal "method on a non-object" crash.

  It's unclear why this error has only started happening recently. It
  might be due to a change in the behavior of PHP's garbage collector,
  or it might be from new Mahara code leaving some artefacts with their
  $dirty flag set (which triggers that artefact commit).

  In either case, both global variables and implicit destructor methods
  are considered harmful design practices, in part because of this
  particular thing. So it's high time we got rid of these __destruct()
  methods.

  Alternatively, as a workaround for older Mahara versions, we could add
  some code to the top of each __destruct() method that re-creates the
  global $db if it's not set.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1513710/+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 1622858] Re: Can't access user notifications settings in mobile layout

2016-12-11 Thread Robert Lyon
** Changed in: mahara
   Status: In Progress => 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/1622858

Title:
  Can't access user notifications settings in mobile layout

Status in Mahara:
  Confirmed
Status in Mahara 16.10 series:
  Confirmed

Bug description:
  While working on Bug 1620879, I noticed that the user settings
  subnavigation links aren't accessible when Mahara's responsive theme
  shifts to the narrower "mobile" layout. This is true in 15.04 through
  16.10dev.

  Prior to Bug 1620879, the subnavigation links in question are just
  "Settings" ( "account/index.php" )and "Notifications" (
  htdocs/account/activity/preferences/index.php ). You can get to the
  "Settings" page easily enough in mobile by clicking the settings gear
  icon in the page header. But in desktop mode, the main user settings
  page has a subnav (generated by the "right_nav()" function in
  htdocs/lib/web.php) that lets you switch from "Settings" to
  "Notifications". In mobile, that subnav doesn't display, and it's not
  part of the "hamburger" menus either.

  In Bug 1620879 I'm adding a "Web services" link at the same nav level
  as "Settings" and "Notifications", to allow users to manage their
  webservices authorizations. Since these users are already on mobile
  devices, it becomes more important that they're able to access this
  submenu on mobile.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1622858/+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 1575923] Re: Mathslate/MathJax fails to load on https

2016-12-11 Thread Robert Lyon
** Changed in: mahara/16.10
Milestone: 16.10.1 => 16.10.2

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

Title:
  Mathslate/MathJax fails to load on https

Status in Mahara:
  Confirmed
Status in Mahara 15.10 series:
  Confirmed
Status in Mahara 16.04 series:
  Confirmed
Status in Mahara 16.10 series:
  Confirmed

Bug description:
  On HTTPS-enabled sites, the Mathslate tinymce plugin fails, due to
  loading http:// resources from yui.yahooapis.com and cdn.mathjax.org.

  The file htdocs/js/tinymce/plugins/mathslate/mathslate.html is
  hardcoded to pull http:// versions of these scripts (lines 11-12).

  Ultimately this is an upstream bug, but it's one that affects https-
  enabled Mahara sites.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1575923/+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 1432823] Re: Mobile - Inconsistency in not being able to exporting pages

2016-12-11 Thread Robert Lyon
** Changed in: mahara/16.10
Milestone: 16.10.1 => 16.10.2

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

Title:
  Mobile - Inconsistency in not being able to exporting pages

Status in Mahara:
  Confirmed
Status in Mahara 16.10 series:
  Confirmed

Bug description:
  From what I understood, exporting pages is disabled when using Mahara
  on an Android or iOS device.

  However, it is possible to access the export interface when deleting a
  page. To reproduce, you have to click on the delete page icon. There
  is a notification that recommends exporting the page before deleting
  (check screenshots). The link "Exporting" sends the user to the export
  interface.

  This notification should be modified when accessing Mahara on a mobile
  device. The "Exporting" link should be removed. Unless the community
  has plans to include an export function on mobiles.

  This has been reproduce on Mahara 10.0.2

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1432823/+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 1443284] Re: "Unsubscribe" link for feedback notifications due to watchlist

2016-12-11 Thread Robert Lyon
** Changed in: mahara/16.10
Milestone: 16.10.1 => 16.10.2

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

Title:
  "Unsubscribe" link for feedback notifications due to watchlist

Status in Mahara:
  Confirmed
Status in Mahara 16.10 series:
  Confirmed

Bug description:
  As described on Bug 1374674:
  https://bugs.launchpad.net/mahara/+bug/1374674/comments/9

  Users receive notifications when there are comments on pages that are
  on their watchlist. If they receive this notification by email, we
  should add a link to the bottom of the email explaining that they
  received the email because the page is on their watchlist, and telling
  them to unwatch the page if they want to unsubscribe.

  For that matter, it would also be good if the inbox notification for
  feedback on watched pages could also indicate this in some way. But
  with the current inbox design, it would not be easy to add that.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1443284/+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 1408577] Re: Elasticsearch not working properly with Chinese characters

2016-12-11 Thread Robert Lyon
** Changed in: mahara/16.10
Milestone: 16.10.1 => 16.10.2

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

Title:
  Elasticsearch not working properly with Chinese characters

Status in Mahara:
  Confirmed
Status in Mahara 16.10 series:
  Confirmed

Bug description:
  1. Search box in the top-right corner (the search box below the Settings) 
return no result.
  2. Search box in the Pages can only locate the name of the pages (not 
searching content of the page).

  Detail Information of server:
  ===
  Elasticsearch server is running:
  {
"cluster_name" : "elasticsearch",
"status" : "green",
"timed_out" : false,
"number_of_nodes" : 1,
"number_of_data_nodes" : 1,
"active_primary_shards" : 1,
"active_shards" : 1,
"relocating_shards" : 0,
"initializing_shards" : 0,
"unassigned_shards" : 0
  }

  The Elasticsearch plugin is currently active. 
  Host: 127.0.0.1
  Elasticsearch port: 9200
  Auth username: (not set)
  Auth password: (not set)
  Index name: mahara
  Bypass index: (not set)
  Elasticsearch analyzer: mahara_analyze
  lasticsearch types: 
usr,interaction_instance,interaction_forum_post,group,view,artefact
  Cron record limit: 0
  Artefact types: Select all

  Number of records of each type currently in the queue:
  usr   (1)
  interaction_instance  (0)
  interaction_forum_post(0)
  group (0)
  view  (0)
  artefact  (0)



  
  - Mahara 1.10.1
  - Ubuntu Linux 14.04.1
  - Postgres database (version 9.3.5)
  - Chrome Version 39.0.2171.95 m, Firefox 33.0.2, I.E. 11

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1408577/+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 1356638] Re: Can not see the image in the static page "Home" for logged-in users

2016-12-11 Thread Robert Lyon
** Changed in: mahara/16.10
Milestone: 16.10.1 => 16.10.2

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

Title:
  Can not see the image in the static page "Home" for logged-in users

Status in Mahara:
  In Progress
Status in Mahara 16.10 series:
  Confirmed

Bug description:
  Version: master(1.10), 1.9, 1.8
  Platform: any
  Browser: any

  Steps to reproduce the issue

  1. Login as a site admin, add a site image file out of the 'public' folder
  2. Add the image into the static page Home (Dashboard)
  3. Logout and login as a normal user

  Expected result: the image should display in my dashboard
  Actual result: the image is not accessible

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1356638/+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 1393620] Re: webservices: get_groups_by_id requires institution

2016-12-11 Thread Robert Lyon
** Changed in: mahara/16.10
Milestone: 16.10.1 => 16.10.2

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

Title:
  webservices: get_groups_by_id requires institution

Status in Mahara:
  Confirmed
Status in Mahara 16.10 series:
  Confirmed

Bug description:
  Currently the webservices method to fetch group information by id
  requires the group to have institution set.

  Will need to be adjusted to allow for groups not attached to an
  institution.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1393620/+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 1422264] Re: IPv6 Compliance

2016-12-11 Thread Robert Lyon
** Changed in: mahara/16.10
Milestone: 16.10.1 => 16.10.2

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

Title:
  IPv6 Compliance

Status in Mahara:
  Confirmed
Status in Mahara 15.04 series:
  Won't Fix
Status in Mahara 15.10 series:
  Confirmed
Status in Mahara 16.04 series:
  Confirmed
Status in Mahara 16.10 series:
  Confirmed

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

  Currently, Mahara is not compliant with the IPv6 protocol.

  Some places that need to change (where IP addresses are
  validated/checked):

   - SAML auth - validate URL Syntax (preg_match for IPv6 also).

   - DB: table - host.ipaddress needs to cater for 128 bit address.

   - Peer bootstrap: 
   1) preg-match should also include IPv6 format;
   2) use of PHP function gethostbyname().

   - Zend third part library - current version only supports IPv4. We
  currently use version 1.10.6.

   MNET heavily relise on Zend.
   The latest Zend is on version 3. But there is a release for 1.12.11 - which 
still doesn't support IPv6 (as far as I can tell).

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1422264/+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 1422837] Re: XML RPC simpleXML limits payload size

2016-12-11 Thread Robert Lyon
** Changed in: mahara/16.10
Milestone: 16.10.1 => 16.10.2

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

Title:
  XML RPC simpleXML limits payload size

Status in Mahara:
  Confirmed
Status in Mahara 16.10 series:
  Confirmed

Bug description:
  Operating System: Ubuntu 14.04.1 LTS

  Mahara version: 1.9.3

  Database: mysql

  Browser: chrome 40.0.2214.111

  --

  Steps to reproduce - you need a system capable of XMLRPC communication
  with Mahara (e.g. Moodle)

  1) With Moodle - set up mahara networking / portfolios.
  2) Open a course with a forum
  3) Add 2 entries. One with an attachment under 5 MB. One with an attachment 
over 5 MB. On Each click "Export to portfolio" in the bottom. 4) Go through the 
screens to start export - ask it to do it now (i.e. not wait for cron).
  5) Check the Mahara site to see what made it through successfully.

  --

  
  simpleXML may not be the best parser for XMLRPC payloads

  in api/xmlrpc/lib.php

  function parse_payload($payload) {
  try {
  $xml = new SimpleXMLElement($payload);
  return $xml;
  } catch (Exception $e) {
  throw new MaharaException('Encrypted payload is not a valid XML 
document', 6002);
  }
  }

  This means if you send a large file (in our tests greater than approx 7mb) 
base 64 encoded over XMLRPC it will fail to parse.
  It didn't seem to make any difference if we increased the memory limit to 
800M in php.ini or even by setting the php memory limit to 800M via PHP ini_set 
in function parse_payload - this suggests that there is a limit to what 
SimpleXML can handle regardless of the PHP memory limit.

  Note - 932 in my source code is the 'throw new exception' following
  $xml = new SimpleXMLElement($payload);

  called at [/vagrant/www/maharadev/mahara/lib/errors.php:465] #1 
exception(MaharaException Object ([] => 1,[] => Encrypted payload is not a 
valid XML document,[] => ,[] => 6002,[] => 
/vagrant/www/maharadev/mahara/api/xmlrpc/lib.php,[] => 932,[] => Array ([0] => 
Array ([file] => /vagrant/www/maharadev/mahara/api/xmlrpc/lib.php,[line] => 
921,[function] => parse_payload,[args] => Array ([0] =>ERROR 4:
  4: remote server error: code: , message: A nonrecoverable error occurred. 
This probably means you have encountered a bug in the system #0 
MaharaException->handle_exception() called at 
[/vagrant/www/maharadev/mahara/lib/errors.php:465] #1 exception(MaharaException 
Object ([] => 1,[] => Encrypted payload is not a valid XML document,[] => ,[] 
=> 6002,[] => /vagrant/www/maharadev/mahara/api/xmlrpc/lib.php,[] => 932,[] => 
Array ([0] => Array ([file] => 
/vagrant/www/maharadev/mahara/api/xmlrpc/lib.php,[line] => 921,[function] => 
parse_payload,[args] => Array ([0] =>

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1422837/+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 1619036] Re: ADODB error when edit page layout

2016-12-11 Thread Robert Lyon
** Changed in: mahara
   Status: In Progress => Fix Committed

** Changed in: mahara/16.10
   Status: Confirmed => Fix Released

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

Title:
  ADODB error when edit page layout

Status in Mahara:
  Fix Committed
Status in Mahara 16.10 series:
  Fix Released

Bug description:
  Version: master (16.10)

  I got the following error when editing a page layout

  [WAR] b0 (lib/adodb/adodb.inc.php:3496) Undefined offset: 0
  Call stack (most recent first):
  log_message("Undefined offset: 0", 8, true, true, 
"/var/www/html/mahara/master/htdocs/lib/adodb/adodb...", 3496) at 
/var/www/html/mahara/master/htdocs/lib/errors.php:513
  error(8, "Undefined offset: 0", 
"/var/www/html/mahara/master/htdocs/lib/adodb/adodb...", 3496, array(size 7)) 
at /var/www/html/mahara/master/htdocs/lib/adodb/adodb.inc.php:3496
  ADORecordSet->GetAssoc(true) at 
/var/www/html/mahara/master/htdocs/lib/dml.php:562
  recordset_to_assoc(object(ADORecordSet_postgres8)) at 
/var/www/html/mahara/master/htdocs/lib/dml.php:644
  get_records_select_assoc("view_layout", "layoutmenuorder > 0 AND iscustom = 
0", array(size 0), "layoutmenuorder", "id, id") at 
/var/www/html/mahara/master/htdocs/view/layout.php:54

  This happened after we upgraded ADODB to 5.20.5

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1619036/+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 1189823] Re: Pieforms attempts to load renderer plugin even when already loaded

2016-12-11 Thread Robert Lyon
** Changed in: mahara/16.10
Milestone: 16.10.1 => 16.10.2

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

Title:
  Pieforms attempts to load renderer plugin even when already loaded

Status in Mahara:
  Incomplete
Status in Mahara 16.04 series:
  Incomplete
Status in Mahara 16.10 series:
  Incomplete

Bug description:
  This prevents plugins from providing their own form renderers (useful
  for working around issues like #1181966 -- nested fieldsets are
  broken).

  I've attached a patch to the Pieforms library which changes the
  behaviour a little bit; if the renderer function already exists, we'll
  skip the loading process.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1189823/+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 1575512] Re: Behat tests are failing due to not waiting for Javascript to finish

2016-12-11 Thread Robert Lyon
** Changed in: mahara/16.10
Milestone: 16.10.1 => 16.10.2

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

Title:
  Behat tests are failing due to not waiting for Javascript to finish

Status in Mahara:
  In Progress
Status in Mahara 16.10 series:
  Confirmed

Bug description:
  We're seeing an annoying number of Behat tests that are failing due to
  a race condition between Behat and the Javascript in the browser.
  Here's an example: http://test.mahara.org/job/mahara-
  gerrit/5558/console

  In that case, the test is failing in this part:

  1. I press "Create folder"
  2. And I follow "Folder1"

  The failure happens because Behat can't find a link named "Follow1"
  when it tries to carry out that step. The way it *should* work, is
  basically like this:

  1. Behat step: I press "Create folder"
  2. Behat web driver locates and presses the "Create folder" button.
  3. The button press triggers a Pieform javascript method, which fires off an 
Ajax request to submit the form for creating a new folder.
  4. The Ajax request is handled by a PHP script, which creates the artefact 
and sends back a success response, including updated HTML for what the file 
area should look like now.
  5. Pieform Javascript receives the response from the Ajax script, and swaps 
the new HTML in place of the old HTML. The new HTML contains the link to the 
new folder.
  6. Behat step: I follow "Folder1"
  7. Behat web driver locates and clicks the link with text "Folder1".

  The race condition seems to happen because when you do the "I press"
  step (defined in \Behat\MinkExtension\Context\MinkContext) waits for
  the conclusion of any HTTP requests caused by the button press, but it
  doesn't wait for the Pieform callback to finish.

  The quick workaround for these is to add a "And I wait "1" seconds"
  step on affected tests. But it would be better to get a systemic fix
  to it. I think maybe the best thing to do, would be to change all the
  underlying "find" methods into spin functions, which, if they don't
  find the element, will wait up to 5 seconds to find it. Behat's
  inheritance structure for steps may make that tricky to do, though.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1575512/+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 1565197] Re: Selecting "Site journal" in "Recent journal entries" block in a group just spins

2016-12-11 Thread Robert Lyon
** Changed in: mahara/16.10
Milestone: 16.10.1 => 16.10.2

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

Title:
  Selecting "Site journal" in "Recent journal entries" block in a group
  just spins

Status in Mahara:
  In Progress
Status in Mahara 16.04 series:
  Confirmed
Status in Mahara 16.10 series:
  Confirmed

Bug description:
  16.04.rc1

  How to test:

  1. Create a site journal as site admin and add 1 entry.
  2. Create a group as regular user
  3. Set up a group journal in that group and add 1 entry.
  4. Create a page.
  5. Place the "Recent journal entries" block onto the page and select the 
group and site journal.
  6. Expected result: The config is saved. Actual result: The config modal 
stays open and the spinning icon is displayed. If you only select the group 
journal everything is fine.

  Note: When you are the site admin and a member of the group, you can
  place the site journal onto the group page.

  There are other two related bugs that should be fixed at the same time:
  1. Bug #1565198: "Recent journal entries" block should mention journal 
context in config
  2. Bug #1565199: Journals that you can't add entries to appear in drop-down 
for "Add new entry" in "Recent journal entries" block

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1565197/+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 1467252] Re: Display problem with Switchbox when label strings aren't the same length as "On" & "Off"

2016-12-11 Thread Robert Lyon
** Changed in: mahara/16.10
Milestone: 16.10.1 => 16.10.2

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

Title:
  Display problem with Switchbox when label strings aren't the same
  length as "On" & "Off"

Status in Mahara:
  Incomplete
Status in Mahara 15.10 series:
  Incomplete
Status in Mahara 16.04 series:
  Incomplete
Status in Mahara 16.10 series:
  Incomplete

Bug description:
  It was ok in 15.04 but the the new interface of 15.10dev, the
  translated text for the "switch" options are not displayed correctly.

  1/ When "On", the translated text for "on" is displayed, with the text for 
"off" partially 
  2/ When "Off", the translated text for "off" is displayed centered below the 
the red bullet

  (see inclosed picture)

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1467252/+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 1608305] Re: Can't delete a block in Safari

2016-12-11 Thread Robert Lyon
** Changed in: mahara/16.10
Milestone: 16.10.1 => 16.10.2

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

Title:
  Can't delete a block in Safari

Status in Mahara:
  Confirmed
Status in Mahara 15.10 series:
  Confirmed
Status in Mahara 16.04 series:
  Confirmed
Status in Mahara 16.10 series:
  Confirmed

Bug description:
  OS: X El Capitan
  Browser: Safari 9
  Mahara: 16.10


  
  Not able to delete a block/content created from Page editor when delete 
button is click

  Test step:
  1. Log on as User
  2. From Profile>Page
  3. Click Edit on existing Page
  4. Click on a content from the side panel>Block is added on the page
  5. Edit and Delete button is displayed from the block
  6. Click Delete

  Result: Block is not deleted

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1608305/+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 1530611] Re: "Recent journal entries" displays group journal in private portfolio area

2016-12-11 Thread Robert Lyon
** Changed in: mahara/16.10
Milestone: 16.10.1 => 16.10.2

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

Title:
  "Recent journal entries" displays group journal in private portfolio
  area

Status in Mahara:
  Confirmed
Status in Mahara 15.10 series:
  Confirmed
Status in Mahara 16.04 series:
  Confirmed
Status in Mahara 16.10 series:
  Confirmed

Bug description:
  Mahara 15.10+

  When you have a journal entry in a group forum and you select the
  "Recent journal entries" block on a personal portfolio page (not a
  group portfolio page), you see the group journal listed.

  This is not the case for the blocks "Journal" and "Journal entry". Th
  group journal should only be visible for a group page.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1530611/+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 1487274] Re: Elasticsearch choking on non-ASCII characters

2016-12-11 Thread Robert Lyon
** Changed in: mahara/16.10
Milestone: 16.10.1 => 16.10.2

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

Title:
  Elasticsearch choking on non-ASCII characters

Status in Mahara:
  Confirmed
Status in Mahara 1.10 series:
  Won't Fix
Status in Mahara 1.9 series:
  Won't Fix
Status in Mahara 15.04 series:
  Won't Fix
Status in Mahara 15.10 series:
  Confirmed
Status in Mahara 16.04 series:
  Confirmed
Status in Mahara 16.10 series:
  Confirmed

Bug description:
  In 15.10 I've added code to "quarantine" records that Elasticsearch
  won't index. That is, if Elasticsearch errors out while processing a
  batch of records, then I re-try each record individually. And if it
  errors out while processing one of those individual records, I mark
  the record as quarantined, and keep it in the
  search_elasticsearch_queue table.

  I've backported that to one of our large 15.04 sites, and since then
  I've taken a look at the data in the records that have caused
  Elasticsearch to choke. They all contain non-ASCII characters, i.e.
  Unicode characters. These can be as simple as "e with an accent over
  it", all the way up to exotic ones like emoji and the Unicode snowman.

  I was not able to replicate this when testing on my local machine, but
  it is certainly in place on our production servers, and bugs such as
  Bug 1408577 make me think it's probably also present on some other
  servers as well.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1487274/+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 1572825] Re: voki externalmedia embed code changed

2016-12-11 Thread Robert Lyon
** Changed in: mahara/16.10
Milestone: 16.10.1 => 16.10.2

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

Title:
  voki externalmedia embed code changed

Status in Mahara:
  In Progress
Status in Mahara 15.04 series:
  Won't Fix
Status in Mahara 15.10 series:
  Confirmed
Status in Mahara 16.04 series:
  Confirmed
Status in Mahara 16.10 series:
  Confirmed

Bug description:
  A recent support post on the Mahara forums has highlighted that the
  externalmedia flags the voki URL invalid:

  
https://mahara.org/interaction/forum/topic.php?id=4007=0=10#post30536

  It appears that the links have changed and will require an update in
  Mahara.

  Previous voki bug: https://bugs.launchpad.net/mahara/+bug/905097

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

2016-12-11 Thread Mahara Bot
Patch for "16.04_STABLE" branch: https://reviews.mahara.org/7322

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

Title:
  Error messages on Institution statistics

Status in Mahara:
  Fix Committed
Status in Mahara 16.04 series:
  In Progress
Status in Mahara 16.10 series:
  In Progress

Bug description:
  Mahara master 17.04dev:

  The following error messages appear in a fresh Mahara instance with no
  institutions set up on Admin -> Institutions -> Statistics -> Pages.

  It seems to be similar to bug #1486309.

  [WAR] e8 (lib/user.php:1909) Undefined variable: urlid
  Call stack (most recent first):

  log_message("Undefined variable: urlid", 8, true, true, 
"/home/kristina/code/mahara/htdocs/lib/user.php", 1909) at 
/home/kristina/code/mahara/htdocs/lib/errors.php:521
  error(8, "Undefined variable: urlid", 
"/home/kristina/code/mahara/htdocs/lib/user.php", 1909, array(size 4)) at 
/home/kristina/code/mahara/htdocs/lib/user.php:1909
  profile_url(false, false) at 
/home/kristina/code/mahara/htdocs/lib/view.php:5796
  View->get_url(false) at 
/home/kristina/code/mahara/htdocs/lib/view.php:5237
  View::get_extra_view_info(array(size 5), false, false) at 
/home/kristina/code/mahara/htdocs/lib/registration.php:1399
  institution_view_stats_table(10, 0, array(size 17)) at 
/home/kristina/code/mahara/htdocs/lib/registration.php:1323
  institution_view_statistics(10, 0, array(size 17)) at 
/home/kristina/code/mahara/htdocs/admin/users/statistics.php:83

  [WAR] e8 (lib/user.php:1918) Undefined variable: id
  Call stack (most recent first):

  log_message("Undefined variable: id", 8, true, true, 
"/home/kristina/code/mahara/htdocs/lib/user.php", 1918) at 
/home/kristina/code/mahara/htdocs/lib/errors.php:521
  error(8, "Undefined variable: id", 
"/home/kristina/code/mahara/htdocs/lib/user.php", 1918, array(size 4)) at 
/home/kristina/code/mahara/htdocs/lib/user.php:1918
  profile_url(false, false) at 
/home/kristina/code/mahara/htdocs/lib/view.php:5796
  View->get_url(false) at 
/home/kristina/code/mahara/htdocs/lib/view.php:5237
  View::get_extra_view_info(array(size 5), false, false) at 
/home/kristina/code/mahara/htdocs/lib/registration.php:1399
  institution_view_stats_table(10, 0, array(size 17)) at 
/home/kristina/code/mahara/htdocs/lib/registration.php:1323
  institution_view_statistics(10, 0, array(size 17)) at 
/home/kristina/code/mahara/htdocs/admin/users/statistics.php:83

  [WAR] e8 (lib/user.php:1922) profile_url called with no user id
  Call stack (most recent first):

  profile_url(false, false) at 
/home/kristina/code/mahara/htdocs/lib/view.php:5796
  View->get_url(false) at 
/home/kristina/code/mahara/htdocs/lib/view.php:5237
  View::get_extra_view_info(array(size 5), false, false) at 
/home/kristina/code/mahara/htdocs/lib/registration.php:1399
  institution_view_stats_table(10, 0, array(size 17)) at 
/home/kristina/code/mahara/htdocs/lib/registration.php:1323
  institution_view_statistics(10, 0, array(size 17)) at 
/home/kristina/code/mahara/htdocs/admin/users/statistics.php:83

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

2016-12-11 Thread Mahara Bot
Reviewed:  https://reviews.mahara.org/7292
Committed: 
https://git.mahara.org/mahara/mahara/commit/77c44ae9e69fa85a5c80a75475d6fac9a518d1bc
Submitter: Robert Lyon (robe...@catalyst.net.nz)
Branch:master

commit 77c44ae9e69fa85a5c80a75475d6fac9a518d1bc
Author: Cecilia Vela Gurovic 
Date:   Mon Dec 5 12:58:42 2016 +1300

Bug 1647220: Fix error in Institution statistics when no institution

behatnotneeded

Change-Id: I9735ac2729f56864906dd8fed9de48df4db46b6c

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

Title:
  Error messages on Institution statistics

Status in Mahara:
  Fix Committed
Status in Mahara 16.04 series:
  In Progress
Status in Mahara 16.10 series:
  In Progress

Bug description:
  Mahara master 17.04dev:

  The following error messages appear in a fresh Mahara instance with no
  institutions set up on Admin -> Institutions -> Statistics -> Pages.

  It seems to be similar to bug #1486309.

  [WAR] e8 (lib/user.php:1909) Undefined variable: urlid
  Call stack (most recent first):

  log_message("Undefined variable: urlid", 8, true, true, 
"/home/kristina/code/mahara/htdocs/lib/user.php", 1909) at 
/home/kristina/code/mahara/htdocs/lib/errors.php:521
  error(8, "Undefined variable: urlid", 
"/home/kristina/code/mahara/htdocs/lib/user.php", 1909, array(size 4)) at 
/home/kristina/code/mahara/htdocs/lib/user.php:1909
  profile_url(false, false) at 
/home/kristina/code/mahara/htdocs/lib/view.php:5796
  View->get_url(false) at 
/home/kristina/code/mahara/htdocs/lib/view.php:5237
  View::get_extra_view_info(array(size 5), false, false) at 
/home/kristina/code/mahara/htdocs/lib/registration.php:1399
  institution_view_stats_table(10, 0, array(size 17)) at 
/home/kristina/code/mahara/htdocs/lib/registration.php:1323
  institution_view_statistics(10, 0, array(size 17)) at 
/home/kristina/code/mahara/htdocs/admin/users/statistics.php:83

  [WAR] e8 (lib/user.php:1918) Undefined variable: id
  Call stack (most recent first):

  log_message("Undefined variable: id", 8, true, true, 
"/home/kristina/code/mahara/htdocs/lib/user.php", 1918) at 
/home/kristina/code/mahara/htdocs/lib/errors.php:521
  error(8, "Undefined variable: id", 
"/home/kristina/code/mahara/htdocs/lib/user.php", 1918, array(size 4)) at 
/home/kristina/code/mahara/htdocs/lib/user.php:1918
  profile_url(false, false) at 
/home/kristina/code/mahara/htdocs/lib/view.php:5796
  View->get_url(false) at 
/home/kristina/code/mahara/htdocs/lib/view.php:5237
  View::get_extra_view_info(array(size 5), false, false) at 
/home/kristina/code/mahara/htdocs/lib/registration.php:1399
  institution_view_stats_table(10, 0, array(size 17)) at 
/home/kristina/code/mahara/htdocs/lib/registration.php:1323
  institution_view_statistics(10, 0, array(size 17)) at 
/home/kristina/code/mahara/htdocs/admin/users/statistics.php:83

  [WAR] e8 (lib/user.php:1922) profile_url called with no user id
  Call stack (most recent first):

  profile_url(false, false) at 
/home/kristina/code/mahara/htdocs/lib/view.php:5796
  View->get_url(false) at 
/home/kristina/code/mahara/htdocs/lib/view.php:5237
  View::get_extra_view_info(array(size 5), false, false) at 
/home/kristina/code/mahara/htdocs/lib/registration.php:1399
  institution_view_stats_table(10, 0, array(size 17)) at 
/home/kristina/code/mahara/htdocs/lib/registration.php:1323
  institution_view_statistics(10, 0, array(size 17)) at 
/home/kristina/code/mahara/htdocs/admin/users/statistics.php:83

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1647220/+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 1647220] Re: Error messages on Institution statistics

2016-12-11 Thread Robert Lyon
** Changed in: mahara
   Status: In Progress => Fix Committed

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

Title:
  Error messages on Institution statistics

Status in Mahara:
  Fix Committed
Status in Mahara 16.04 series:
  In Progress
Status in Mahara 16.10 series:
  In Progress

Bug description:
  Mahara master 17.04dev:

  The following error messages appear in a fresh Mahara instance with no
  institutions set up on Admin -> Institutions -> Statistics -> Pages.

  It seems to be similar to bug #1486309.

  [WAR] e8 (lib/user.php:1909) Undefined variable: urlid
  Call stack (most recent first):

  log_message("Undefined variable: urlid", 8, true, true, 
"/home/kristina/code/mahara/htdocs/lib/user.php", 1909) at 
/home/kristina/code/mahara/htdocs/lib/errors.php:521
  error(8, "Undefined variable: urlid", 
"/home/kristina/code/mahara/htdocs/lib/user.php", 1909, array(size 4)) at 
/home/kristina/code/mahara/htdocs/lib/user.php:1909
  profile_url(false, false) at 
/home/kristina/code/mahara/htdocs/lib/view.php:5796
  View->get_url(false) at 
/home/kristina/code/mahara/htdocs/lib/view.php:5237
  View::get_extra_view_info(array(size 5), false, false) at 
/home/kristina/code/mahara/htdocs/lib/registration.php:1399
  institution_view_stats_table(10, 0, array(size 17)) at 
/home/kristina/code/mahara/htdocs/lib/registration.php:1323
  institution_view_statistics(10, 0, array(size 17)) at 
/home/kristina/code/mahara/htdocs/admin/users/statistics.php:83

  [WAR] e8 (lib/user.php:1918) Undefined variable: id
  Call stack (most recent first):

  log_message("Undefined variable: id", 8, true, true, 
"/home/kristina/code/mahara/htdocs/lib/user.php", 1918) at 
/home/kristina/code/mahara/htdocs/lib/errors.php:521
  error(8, "Undefined variable: id", 
"/home/kristina/code/mahara/htdocs/lib/user.php", 1918, array(size 4)) at 
/home/kristina/code/mahara/htdocs/lib/user.php:1918
  profile_url(false, false) at 
/home/kristina/code/mahara/htdocs/lib/view.php:5796
  View->get_url(false) at 
/home/kristina/code/mahara/htdocs/lib/view.php:5237
  View::get_extra_view_info(array(size 5), false, false) at 
/home/kristina/code/mahara/htdocs/lib/registration.php:1399
  institution_view_stats_table(10, 0, array(size 17)) at 
/home/kristina/code/mahara/htdocs/lib/registration.php:1323
  institution_view_statistics(10, 0, array(size 17)) at 
/home/kristina/code/mahara/htdocs/admin/users/statistics.php:83

  [WAR] e8 (lib/user.php:1922) profile_url called with no user id
  Call stack (most recent first):

  profile_url(false, false) at 
/home/kristina/code/mahara/htdocs/lib/view.php:5796
  View->get_url(false) at 
/home/kristina/code/mahara/htdocs/lib/view.php:5237
  View::get_extra_view_info(array(size 5), false, false) at 
/home/kristina/code/mahara/htdocs/lib/registration.php:1399
  institution_view_stats_table(10, 0, array(size 17)) at 
/home/kristina/code/mahara/htdocs/lib/registration.php:1323
  institution_view_statistics(10, 0, array(size 17)) at 
/home/kristina/code/mahara/htdocs/admin/users/statistics.php:83

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1647220/+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 1647220] Re: Error messages on Institution statistics

2016-12-11 Thread Robert Lyon
** Changed in: mahara/16.10
   Status: Confirmed => In Progress

** Changed in: mahara/16.04
   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/1647220

Title:
  Error messages on Institution statistics

Status in Mahara:
  Fix Committed
Status in Mahara 16.04 series:
  In Progress
Status in Mahara 16.10 series:
  In Progress

Bug description:
  Mahara master 17.04dev:

  The following error messages appear in a fresh Mahara instance with no
  institutions set up on Admin -> Institutions -> Statistics -> Pages.

  It seems to be similar to bug #1486309.

  [WAR] e8 (lib/user.php:1909) Undefined variable: urlid
  Call stack (most recent first):

  log_message("Undefined variable: urlid", 8, true, true, 
"/home/kristina/code/mahara/htdocs/lib/user.php", 1909) at 
/home/kristina/code/mahara/htdocs/lib/errors.php:521
  error(8, "Undefined variable: urlid", 
"/home/kristina/code/mahara/htdocs/lib/user.php", 1909, array(size 4)) at 
/home/kristina/code/mahara/htdocs/lib/user.php:1909
  profile_url(false, false) at 
/home/kristina/code/mahara/htdocs/lib/view.php:5796
  View->get_url(false) at 
/home/kristina/code/mahara/htdocs/lib/view.php:5237
  View::get_extra_view_info(array(size 5), false, false) at 
/home/kristina/code/mahara/htdocs/lib/registration.php:1399
  institution_view_stats_table(10, 0, array(size 17)) at 
/home/kristina/code/mahara/htdocs/lib/registration.php:1323
  institution_view_statistics(10, 0, array(size 17)) at 
/home/kristina/code/mahara/htdocs/admin/users/statistics.php:83

  [WAR] e8 (lib/user.php:1918) Undefined variable: id
  Call stack (most recent first):

  log_message("Undefined variable: id", 8, true, true, 
"/home/kristina/code/mahara/htdocs/lib/user.php", 1918) at 
/home/kristina/code/mahara/htdocs/lib/errors.php:521
  error(8, "Undefined variable: id", 
"/home/kristina/code/mahara/htdocs/lib/user.php", 1918, array(size 4)) at 
/home/kristina/code/mahara/htdocs/lib/user.php:1918
  profile_url(false, false) at 
/home/kristina/code/mahara/htdocs/lib/view.php:5796
  View->get_url(false) at 
/home/kristina/code/mahara/htdocs/lib/view.php:5237
  View::get_extra_view_info(array(size 5), false, false) at 
/home/kristina/code/mahara/htdocs/lib/registration.php:1399
  institution_view_stats_table(10, 0, array(size 17)) at 
/home/kristina/code/mahara/htdocs/lib/registration.php:1323
  institution_view_statistics(10, 0, array(size 17)) at 
/home/kristina/code/mahara/htdocs/admin/users/statistics.php:83

  [WAR] e8 (lib/user.php:1922) profile_url called with no user id
  Call stack (most recent first):

  profile_url(false, false) at 
/home/kristina/code/mahara/htdocs/lib/view.php:5796
  View->get_url(false) at 
/home/kristina/code/mahara/htdocs/lib/view.php:5237
  View::get_extra_view_info(array(size 5), false, false) at 
/home/kristina/code/mahara/htdocs/lib/registration.php:1399
  institution_view_stats_table(10, 0, array(size 17)) at 
/home/kristina/code/mahara/htdocs/lib/registration.php:1323
  institution_view_statistics(10, 0, array(size 17)) at 
/home/kristina/code/mahara/htdocs/admin/users/statistics.php:83

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

2016-12-11 Thread Mahara Bot
Reviewed:  https://reviews.mahara.org/7234
Committed: 
https://git.mahara.org/mahara/mahara/commit/e01256956614c8bb366bcc172168f98b2cb328e2
Submitter: Robert Lyon (robe...@catalyst.net.nz)
Branch:master

commit e01256956614c8bb366bcc172168f98b2cb328e2
Author: Robert Lyon 
Date:   Mon Nov 7 13:28:09 2016 +1300

Bug 1637287: Restrict the group membership request to admins only

Since we changed the message activity from 'maharamessage' to
'groupmessage' we need to restrict the users getting the message to
the admins.

Also update the group_invite_user() message to be a groupmessage as well

behatnotneeded

Change-Id: I0c4f94392c3a168b4a241f5c5ad3cce20547b934
Signed-off-by: Robert Lyon 

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

Title:
  Group members should not receive group membership request
  notifications

Status in Mahara:
  Fix Committed
Status in Mahara 16.10 series:
  In Progress
Status in Mahara 17.04 series:
  Fix Committed

Bug description:
  Notifications about new group membership requests are also sent to
  normal group members, which leads to a lot of useless emails. Only
  group administrators should receive this type of notification.

  This behaviour was first observed after upgrading to Mahara 16.10.0,
  thus seems to be a regression.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1637287/+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 1637287] Re: Group members should not receive group membership request notifications

2016-12-11 Thread Robert Lyon
** Changed in: mahara/16.10
   Status: Confirmed => In Progress

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

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

Title:
  Group members should not receive group membership request
  notifications

Status in Mahara:
  Fix Committed
Status in Mahara 16.10 series:
  In Progress
Status in Mahara 17.04 series:
  Fix Committed

Bug description:
  Notifications about new group membership requests are also sent to
  normal group members, which leads to a lot of useless emails. Only
  group administrators should receive this type of notification.

  This behaviour was first observed after upgrading to Mahara 16.10.0,
  thus seems to be a regression.

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

2016-12-11 Thread Mahara Bot
Patch for "16.10_STABLE" branch: https://reviews.mahara.org/7320

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

Title:
  Group members should not receive group membership request
  notifications

Status in Mahara:
  Fix Committed
Status in Mahara 16.10 series:
  In Progress
Status in Mahara 17.04 series:
  Fix Committed

Bug description:
  Notifications about new group membership requests are also sent to
  normal group members, which leads to a lot of useless emails. Only
  group administrators should receive this type of notification.

  This behaviour was first observed after upgrading to Mahara 16.10.0,
  thus seems to be a regression.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1637287/+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 1181696] Re: Renaming image gallery files doesn't reorder them

2016-12-11 Thread Robert Lyon
** Changed in: mahara
   Status: Fix Released => 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/1181696

Title:
  Renaming image gallery files doesn't reorder them

Status in Mahara:
  Fix Committed

Bug description:
  Tested on Mahara master (1.8.0dev).

  When image files are uploaded to a folder and that is displayed as
  image gallery, the order of the files stays the same no matter whether
  you rename the files later on in order to actually re-order the
  gallery.

  This is partially related to bug #732462 where it should be possible
  to re-order your images by dragging and dropping.

  See also https://mahara.org/interaction/forum/topic.php?id=5423

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1181696/+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 1647885] Re: Not all file types and mime types get populated on install/upgrade

2016-12-11 Thread Robert Lyon
** Changed in: mahara
   Status: In Progress => Fix Committed

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

Title:
  Not all file types and mime types get populated on install/upgrade

Status in Mahara:
  Fix Committed
Status in Mahara 15.10 series:
  In Progress
Status in Mahara 16.04 series:
  Confirmed
Status in Mahara 16.10 series:
  Fix Committed

Bug description:
  Please include (if relevant) in your bug report:
  - exact version of Mahara: 16.10_STABLE
  - operating system: Linux
  - database: Postgres

  Steps to replicate:

  1. Install a fresh mahara.
  2. Execute following SQL on DB
  SELECT * FROM artefact_file_mime_types WHERE mimetype = 'video/mp4';

  Expected result:
   mimetype  | description 
  ---+-
   video/mp4 | m4a
   video/mp4 | m4b
   video/mp4 | m4p
   video/mp4 | m4r
   video/mp4 | m4v
   video/mp4 | mp4
  (6 rows)

  
  Actual result:
   mimetype  | description 
  ---+-
   video/mp4 | m4v

  (1 rows)

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