[Mahara-contributors] [Bug 1634591] [NEW] Show last updated date and time when seeing a portfolio page

2016-10-18 Thread Son Nguyen
Public bug reported:

Version: master(17.04), 16.10, 16.04

It would be good to see when a portfolio page has been updated

The last updated date and time will be shown next to the page visits
when seeing a page.

** Affects: mahara
 Importance: Wishlist
 Assignee: Son Nguyen (ngson2000)
 Status: 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/1634591

Title:
  Show last updated date and time when seeing a portfolio page

Status in Mahara:
  In Progress

Bug description:
  Version: master(17.04), 16.10, 16.04

  It would be good to see when a portfolio page has been updated

  The last updated date and time will be shown next to the page visits
  when seeing a page.

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

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


[Mahara-contributors] [Bug 1579145] Re: Ability to include live link on image description

2016-10-18 Thread Son Nguyen
** Changed in: mahara
   Status: Confirmed => In Progress

** Changed in: mahara
 Assignee: (unassigned) => Son Nguyen (ngson2000)

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

Title:
  Ability to include live link on image description

Status in Mahara:
  In Progress

Bug description:
  It would be very helpful to have the ability to include a live link in
  the image description to allow users to provide useful citations.

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

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


[Mahara-contributors] [Bug 1633311] Re: JS error in Firefox when editing annotation blocks

2016-10-13 Thread Son Nguyen
** Changed in: mahara
   Status: New => Confirmed

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

Title:
  JS error in Firefox when editing annotation blocks

Status in Mahara:
  Confirmed

Bug description:
  Version: master (17.04), 16.10
  Platform: any
  Browser: Firefox (45)

  I got the following error when adding/editing an annotation block in a
  portfolio page.

  SyntaxError: in strict mode code, functions may be declared only at
  top level or immediately within another function

  It works ok on Chrome 53

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

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


[Mahara-contributors] [Bug 1633311] [NEW] JS error in Firefox when editing annotation blocks

2016-10-13 Thread Son Nguyen
Public bug reported:

Version: master (17.04), 16.10
Platform: any
Browser: Firefox (45)

I got the following error when adding/editing an annotation block in a
portfolio page.

SyntaxError: in strict mode code, functions may be declared only at top
level or immediately within another function

It works ok on Chrome 53

** Affects: mahara
 Importance: Undecided
 Status: New

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

Title:
  JS error in Firefox when editing annotation blocks

Status in Mahara:
  New

Bug description:
  Version: master (17.04), 16.10
  Platform: any
  Browser: Firefox (45)

  I got the following error when adding/editing an annotation block in a
  portfolio page.

  SyntaxError: in strict mode code, functions may be declared only at
  top level or immediately within another function

  It works ok on Chrome 53

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

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


[Mahara-contributors] [Bug 1629105] Re: Access user Journals causes htdocs/artefact/blog/index.php net::ERR_TOO_MANY_REDIRECTS

2016-09-29 Thread Son Nguyen
I will check other versions

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

Title:
  Access user Journals causes htdocs/artefact/blog/index.php
  net::ERR_TOO_MANY_REDIRECTS

Status in Mahara:
  In Progress

Bug description:
  Version: master(16.10)
  Platform: any
  Browser: any

  Steps

  1. Create a normal user, make sure the account setting "Multiple journals" is 
disabled
  2. Import an Leap2a file which has at least 1 journal
  3. Click Content/Journals, you will see the error on the browser console

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

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


[Mahara-contributors] [Bug 1629105] Re: Access user Journals causes htdocs/artefact/blog/index.php net::ERR_TOO_MANY_REDIRECTS

2016-09-29 Thread Son Nguyen
** Attachment added: 
"mahara-export-leap-user6-2016-09-29_23-38_ATXUNEhuGy7OkPrx.zip"
   
https://bugs.launchpad.net/mahara/+bug/1629105/+attachment/4751336/+files/mahara-export-leap-user6-2016-09-29_23-38_ATXUNEhuGy7OkPrx.zip

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

Title:
  Access user Journals causes htdocs/artefact/blog/index.php
  net::ERR_TOO_MANY_REDIRECTS

Status in Mahara:
  In Progress

Bug description:
  Version: master(16.10)
  Platform: any
  Browser: any

  Steps

  1. Create a normal user, make sure the account setting "Multiple journals" is 
disabled
  2. Import an Leap2a file which has at least 1 journal
  3. Click Content/Journals, you will see the error on the browser console

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

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


[Mahara-contributors] [Bug 1629105] [NEW] Access user Journals causes htdocs/artefact/blog/index.php net::ERR_TOO_MANY_REDIRECTS

2016-09-29 Thread Son Nguyen
Public bug reported:

Version: master(16.10)
Platform: any
Browser: any

Steps

1. Create a normal user, make sure the account setting "Multiple journals" is 
disabled
2. Import an Leap2a file which has at least 1 journal
3. Click Content/Journals, you will see the error on the browser console

** Affects: mahara
 Importance: High
 Assignee: Son Nguyen (ngson2000)
 Status: 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/1629105

Title:
  Access user Journals causes htdocs/artefact/blog/index.php
  net::ERR_TOO_MANY_REDIRECTS

Status in Mahara:
  In Progress

Bug description:
  Version: master(16.10)
  Platform: any
  Browser: any

  Steps

  1. Create a normal user, make sure the account setting "Multiple journals" is 
disabled
  2. Import an Leap2a file which has at least 1 journal
  3. Click Content/Journals, you will see the error on the browser console

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

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


[Mahara-contributors] [Bug 1620411] Re: Error message showing up when tried to share among the users

2016-09-25 Thread Son Nguyen
** 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/1620411

Title:
  Error message showing up when tried to share among the users

Status in Mahara:
  Fix Committed

Bug description:
  Version master 16.10
  Happens in PHP server

  Encountered the following error message:

  [WAR] fb (view/access.php:415) Undefined index: startdate
  Call stack (most recent first):

  log_message("Undefined index: startdate", 8, true, true, 
"/home/niranjanbandi/code/mahara/htdocs/view/access...", 415) at 
/home/niranjanbandi/code/mahara/htdocs/lib/errors.php:513
  error(8, "Undefined index: startdate", 
"/home/niranjanbandi/code/mahara/htdocs/view/access...", 415, array(size 10)) 
at /home/niranjanbandi/code/mahara/htdocs/view/access.php:415
  editaccess_validate(object(Pieform), array(size 11)) at 
/home/niranjanbandi/code/mahara/htdocs/lib/pieforms/pieform.php:1449
  Pieform->validate(array(size 11)) at 
/home/niranjanbandi/code/mahara/htdocs/lib/pieforms/pieform.php:521
  Pieform->__construct(array(size 8)) at 
/home/niranjanbandi/code/mahara/htdocs/lib/pieforms/pieform.php:164
  Pieform::process(array(size 8)) at 
/home/niranjanbandi/code/mahara/htdocs/lib/mahara.php:4728
  pieform(array(size 8)) at 
/home/niranjanbandi/code/mahara/htdocs/view/access.php:555

  
  Steps to reproduce:

  
  1) Login as a admin user or normal user

  2) Navigate to portfolio>Shared by me ( make sure you have a profile
  page in it )

  3)Click on Edit Access ( key icon)

  4)select share with users and select one user. Make sure you don't
  enter from and to dates in it

  5)Click on save

  
  Result: Php code is displayed with some warning message.

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

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


[Mahara-contributors] [Bug 1622729] Re: Better SE matrix page adding of annotation block

2016-09-25 Thread Son Nguyen
** 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/1622729

Title:
  Better SE matrix page adding of annotation block

Status in Mahara:
  Fix Committed

Bug description:
  Currently if a user adds annotation(s) to a page via the SmartEvidence
  matrix, clicking on the dots system, the annotation block(s) that are
  created are added to the page as the last blocks, in priority ranking,
  of the first 'cell' of the page (point 1,1).

  It was done this way because no matter the layout there would always
  be a 'cell' at point 1,1

  Now that the system has been tested more thoroughly there is arisen an
  issue where there are multiple rows and the first row becomes quite
  long pushing all the other rows down (making their content hidden
  below viewport).

  Even though a user can edit their page and move the blocks to where
  ever they want them to be it still will be better if we initially
  placed them as last block in the left hand 'cell' of the last row, so
  at point 1,n where n = last row number.

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

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


[Mahara-contributors] [Bug 1545851] Re: Access permission changes for collection not mentioned when working with secret URL

2016-09-25 Thread Son Nguyen
** 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/1545851

Title:
  Access permission changes for collection not mentioned when working
  with secret URL

Status in Mahara:
  Fix Committed

Bug description:
  Tested in Mahara 15.04 and master

  When you shared a collection with people on Mahara and add another
  page, you get a notification about the change in access permissions.
  This is currently being fixed for Mahara 15.10/master (see bug
  #1527962).

  However,  when you shared a collection only by secret URL and add a
  page, you do not get that on-screen notification. This should be fixed
  as users might overlook the fact that their new page is now also
  available if they forgot that they had made their collection available
  via secret URL.

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

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


[Mahara-contributors] [Bug 1624153] Re: Valid URL(www) is not accepted while saving Books and publications

2016-09-25 Thread Son Nguyen
** 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/1624153

Title:
  Valid URL(www) is not accepted while saving Books and publications

Status in Mahara:
  Fix Committed

Bug description:
  Tested in

  Version 16.04 & Version 16.10

  Theme: Ocean and default

  Browser: FF, chrome

  Steps to Reproduce:

  1) Navigate to Content>Reseme>Achievements
  2) Click on add under Books and Publications
  3) Enter the mandatory fields and also add a valid URL ( I have used 
www.facebook.com)
  4) Click on save

  Expected result: The page should be saved
  Actual Result: Bug one: An error message is displayed " Not a Valid URL"

  Note: When www is replaced with http or https the page is saved
  successfully. And when we re-edit the URL back to www it accepts it

  Bug two: After saving the page try to re-edit  and click on any of the
  help icon, it doesn't show the information and instead it displays an
  error message ( see attached )

  Note: Similarly help icon doesn't show the information on "
  professional memberships " too

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

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


[Mahara-contributors] [Bug 1623282] Re: Existing annotations throw warning due to missing evidence

2016-09-25 Thread Son Nguyen
** 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/1623282

Title:
  Existing annotations throw warning due to missing evidence

Status in Mahara:
  Fix Committed

Bug description:
  As we added annotation plugin a while back those annotations do not
  have an evidence value set for them.

  We need to take that into account when rendering their feedback

  Call stack (most recent first):

  log_message("Trying to get property of non-object", 8, true, true, 
"/var/www/html/mahara/htdocs/artefact/annotation/li...", 1278) at 
/var/www/html/mahara/htdocs/lib/errors.php:513
  error(8, "Trying to get property of non-object", 
"/var/www/html/mahara/htdocs/artefact/annotation/li...", 1278, array(size 11)) 
at /var/www/html/mahara/htdocs/artefact/annotation/lib.php:1278
  
ArtefactTypeAnnotationfeedback::add_annotation_feedback_form(object(ArtefactTypeAnnotation),
 object(View), null, "108", false, "0") at 
/var/www/html/mahara/htdocs/artefact/annotation/lib.php:1132

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

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


[Mahara-contributors] [Bug 1626705] Re: Copying of group throws ADODB error

2016-09-22 Thread Son Nguyen
The problem is the value of group urlid is longer than 30.
This value is generated by the function generate_urlid()
at line 2799, htdocs/lib/group.php

 $group->urlid = generate_urlid($group->name,
get_config('cleanurlviewdefault'), 3, 100);

The max length should set to 30

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

Title:
  Copying of group throws ADODB error

Status in Mahara:
  In Progress

Bug description:
  Mahara 16.10dev, upgraded site from Mahara 16.04

  I upgraded my site from 16.04 and when attempting to copy a group, it
  throws the following error:

  [WAR] d3 (lib/adodb/adodb-exceptions.inc.php:45) Array to string conversion
  Call stack (most recent first):

  log_message("Array to string conversion", 8, true, true, 
"/home/kristina/code/1610stable/htdocs/lib/adodb/ad...", 45) at 
/home/kristina/code/1610stable/htdocs/lib/errors.php:513
  error(8, "Array to string conversion", 
"/home/kristina/code/1610stable/htdocs/lib/adodb/ad...", 45, array(size 7)) at 
/home/kristina/code/1610stable/htdocs/lib/adodb/adodb-exceptions.inc.php:45
  ADODB_Exception->__construct("postgres8", "adodb_throw", -1, "ERROR: 
value too long for type character varying(...", "INSERT INTO "group" ("id", 
"name", "description", ...", array(size 28), object(ADODB_postgres8)) at 
/home/kristina/code/1610stable/htdocs/lib/adodb/adodb-exceptions.inc.php:80
  adodb_throw("postgres8", "adodb_throw", -1, "ERROR: value too long for 
type character varying(...", "INSERT INTO "group" ("id", "name", "description", 
...", array(size 28), object(ADODB_postgres8)) at 
/home/kristina/code/1610stable/htdocs/lib/adodb/adodb.inc.php:298
  ADODB_TransMonitor("postgres8", "EXECUTE", -1, "ERROR: value too long for 
type character varying(...", "INSERT INTO "group" ("id", "name", "description", 
...", array(size 28), object(ADODB_postgres8)) at 
/home/kristina/code/1610stable/htdocs/lib/adodb/adodb.inc.php:1249
  ADOConnection->_Execute("INSERT INTO "group" ("id", "name", 
"description", ...", array(size 28)) at 
/home/kristina/code/1610stable/htdocs/lib/adodb/adodb.inc.php:1209
  ADOConnection->Execute("INSERT INTO "group" ("id", "name", "description", 
...", array(size 28)) at /home/kristina/code/1610stable/htdocs/lib/dml.php:1085
  insert_record("group", object(stdClass), "id", true) at 
/home/kristina/code/1610stable/htdocs/lib/group.php:451
  group_create(array(size 31)) at 
/home/kristina/code/1610stable/htdocs/lib/group.php:2808
  group_copy(2, "adminlist") at 
/home/kristina/code/1610stable/htdocs/group/copy.php:37

  [WAR] d3 (lib/errors.php:819) Failed to get a recordset: postgres8 error: 
[-1: ERROR:  value too long for type character varying(30)] in 
adodb_throw(INSERT INTO "group" ("id", "name", "description", "grouptype", 
"jointype", "ctime", "mtime", "public", "usersautoadded", "category", 
"viewnotify", "quota", "institution", "shortname", "request", "submittableto", 
"editroles", "hidden", "hidemembers", "hidemembersfrommembers", 
"groupparticipationreports", "invitefriends", "suggestfriends", "urlid", 
"editwindowend", "sendnow", "feedbacknotify", "allowarchives") VALUES (?, ?, ?, 
?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?), 
Array)
  Command was: INSERT INTO "group" ("id", "name", "description", "grouptype", 
"jointype", "ctime", "mtime", "public", "usersautoadded", "category", 
"viewnotify", "quota", "institution", "shortname", "request", "submittableto", 
"editroles", "hidden", "hidemembers", "hidemembersfrommembers", 
"groupparticipationreports", "invitefriends", "suggestfriends", "urlid", 
"editwindowend", "sendnow", "feedbacknotify", "allowarchives") VALUES (?, ?, ?, 
?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) and 
values was 
(id:10,name:HumanComputerInteraction101v.2,description:Foundationcourseforbeginners,grouptype:course,jointype:approve,ctime:2016-09-2307:15:43,mtime:2016-09-2307:15:43,public:0,usersautoadded:0,category:1,viewnotify:1,quota:52428800,institution:mahara,shortname:humancomputerinteraction101a,request:1,submittableto:1,editroles:notmember,hidden:0,hidemembers:0,hidemembersfrommembers:0,groupparticipationreports:0,invitefriends:1,suggestfriends:0,urlid:human
 
-computer-interaction-101-v-2,editwindowend:2016-11-0700:00:00,sendnow:0,feedbacknotify:1,allowarchives:0)
  Call stack (most recent first):

  log_message("Failed to get a recordset: postgres8 error: [-1: E...", 8, 
true, true) at /home/kristina/code/1610stable/htdocs/lib/errors.php:95
  log_warn("Failed to get a recordset: postgres8 error: [-1: E...") at 
/home/kristina/code/1610stable/htdocs/lib/errors.php:819
  SQLException->__construct("Failed to get a 

[Mahara-contributors] [Bug 1626705] Re: Copying of group throws ADODB error

2016-09-22 Thread Son Nguyen
** Changed in: mahara
 Assignee: (unassigned) => Son Nguyen (ngson2000)

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

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

Title:
  Copying of group throws ADODB error

Status in Mahara:
  In Progress

Bug description:
  Mahara 16.10dev, upgraded site from Mahara 16.04

  I upgraded my site from 16.04 and when attempting to copy a group, it
  throws the following error:

  [WAR] d3 (lib/adodb/adodb-exceptions.inc.php:45) Array to string conversion
  Call stack (most recent first):

  log_message("Array to string conversion", 8, true, true, 
"/home/kristina/code/1610stable/htdocs/lib/adodb/ad...", 45) at 
/home/kristina/code/1610stable/htdocs/lib/errors.php:513
  error(8, "Array to string conversion", 
"/home/kristina/code/1610stable/htdocs/lib/adodb/ad...", 45, array(size 7)) at 
/home/kristina/code/1610stable/htdocs/lib/adodb/adodb-exceptions.inc.php:45
  ADODB_Exception->__construct("postgres8", "adodb_throw", -1, "ERROR: 
value too long for type character varying(...", "INSERT INTO "group" ("id", 
"name", "description", ...", array(size 28), object(ADODB_postgres8)) at 
/home/kristina/code/1610stable/htdocs/lib/adodb/adodb-exceptions.inc.php:80
  adodb_throw("postgres8", "adodb_throw", -1, "ERROR: value too long for 
type character varying(...", "INSERT INTO "group" ("id", "name", "description", 
...", array(size 28), object(ADODB_postgres8)) at 
/home/kristina/code/1610stable/htdocs/lib/adodb/adodb.inc.php:298
  ADODB_TransMonitor("postgres8", "EXECUTE", -1, "ERROR: value too long for 
type character varying(...", "INSERT INTO "group" ("id", "name", "description", 
...", array(size 28), object(ADODB_postgres8)) at 
/home/kristina/code/1610stable/htdocs/lib/adodb/adodb.inc.php:1249
  ADOConnection->_Execute("INSERT INTO "group" ("id", "name", 
"description", ...", array(size 28)) at 
/home/kristina/code/1610stable/htdocs/lib/adodb/adodb.inc.php:1209
  ADOConnection->Execute("INSERT INTO "group" ("id", "name", "description", 
...", array(size 28)) at /home/kristina/code/1610stable/htdocs/lib/dml.php:1085
  insert_record("group", object(stdClass), "id", true) at 
/home/kristina/code/1610stable/htdocs/lib/group.php:451
  group_create(array(size 31)) at 
/home/kristina/code/1610stable/htdocs/lib/group.php:2808
  group_copy(2, "adminlist") at 
/home/kristina/code/1610stable/htdocs/group/copy.php:37

  [WAR] d3 (lib/errors.php:819) Failed to get a recordset: postgres8 error: 
[-1: ERROR:  value too long for type character varying(30)] in 
adodb_throw(INSERT INTO "group" ("id", "name", "description", "grouptype", 
"jointype", "ctime", "mtime", "public", "usersautoadded", "category", 
"viewnotify", "quota", "institution", "shortname", "request", "submittableto", 
"editroles", "hidden", "hidemembers", "hidemembersfrommembers", 
"groupparticipationreports", "invitefriends", "suggestfriends", "urlid", 
"editwindowend", "sendnow", "feedbacknotify", "allowarchives") VALUES (?, ?, ?, 
?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?), 
Array)
  Command was: INSERT INTO "group" ("id", "name", "description", "grouptype", 
"jointype", "ctime", "mtime", "public", "usersautoadded", "category", 
"viewnotify", "quota", "institution", "shortname", "request", "submittableto", 
"editroles", "hidden", "hidemembers", "hidemembersfrommembers", 
"groupparticipationreports", "invitefriends", "suggestfriends", "urlid", 
"editwindowend", "sendnow", "feedbacknotify", "allowarchives") VALUES (?, ?, ?, 
?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) and 
values was 
(id:10,name:HumanComputerInteraction101v.2,description:Foundationcoursef

[Mahara-contributors] [Bug 1626289] Re: FAILED DB upgrading for artefact.file to version 1.2.6 (2016082900)

2016-09-21 Thread Son Nguyen
Test instruction

1. Install a fresh mahara 16.04 site using postgresql.
2. Checkout code from master or 16.10.rc
3. Upgrade the site DB

You can see the FAILED message on screen and in the error log file.

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

Title:
  FAILED DB upgrading for artefact.file to version 1.2.6 (2016082900)

Status in Mahara:
  In Progress

Bug description:
  Version: master and 16.10.rc
  Browser: any
  Platform: Ubuntu, Apache2, Php5, Postgres 9.3

  If $cfg->dbprefix is set, db upgrading for artefact.file to version
  1.2.6 (2016082900) has been FAILED

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

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


[Mahara-contributors] [Bug 1626289] [NEW] FAILED DB upgrading for artefact.file to version 1.2.6 (2016082900)

2016-09-21 Thread Son Nguyen
Public bug reported:

Version: master and 16.10.rc
Browser: any
Platform: Ubuntu, Apache2, Php5, Postgres 9.3

If $cfg->dbprefix is set, db upgrading for artefact.file to version
1.2.6 (2016082900) has been FAILED

** Affects: mahara
 Importance: High
 Assignee: Son Nguyen (ngson2000)
 Status: In Progress

** Description changed:

  Version: master and 16.10.rc
- Platform: any
+ Browser: any
+ Platform: Ubuntu, Apache2, Php5, Postgres 9.3
  
  If $cfg->dbprefix is set, db upgrading for artefact.file to version
  1.2.6 (2016082900) has been FAILED
- 
- Here is the error:

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

Title:
  FAILED DB upgrading for artefact.file to version 1.2.6 (2016082900)

Status in Mahara:
  In Progress

Bug description:
  Version: master and 16.10.rc
  Browser: any
  Platform: Ubuntu, Apache2, Php5, Postgres 9.3

  If $cfg->dbprefix is set, db upgrading for artefact.file to version
  1.2.6 (2016082900) has been FAILED

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

___
Mailing list: https://launchpad.net/~mahara-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] [NEW] ADODB error when edit page layout

2016-08-31 Thread Son Nguyen
Public bug reported:

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

** Affects: mahara
 Importance: High
 Assignee: Son Nguyen (ngson2000)
 Status: In Progress


** Tags: regression

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

Title:
  ADODB error when edit page layout

Status in Mahara:
  In Progress

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 1575512] Re: Behat tests are failing due to not waiting for Javascript to finish

2016-08-30 Thread Son Nguyen
** Changed in: mahara
 Assignee: (unassigned) => Son Nguyen (ngson2000)

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

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

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

Status in Mahara:
  In Progress

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 1618317] Re: JS error when click 'Edit image' in TinyMCE editor

2016-08-30 Thread Son Nguyen
** Changed in: mahara
   Status: Confirmed => In Progress

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

Title:
  JS error when click 'Edit image' in TinyMCE editor

Status in Mahara:
  In Progress
Status in Mahara 16.04 series:
  New

Bug description:
  Version: master(16.10)

  I got the following javascript error when edit an external image link
  via TinyMCE

  plugin.js?v=9174:37 Uncaught TypeError: Cannot read property '0' of
  null

  Steps

  1. Login as an user
  2. In the Prodfile/Introduction, click 'Insert/edit image' button in TinyMCE 
editor
  3. Add a link to an image: 
https://mahara.org/theme/mahara-org/static/images/site-logo.png
  4. Click Submit
  5. Select the image
  6. Click 'Insert/edit image' button

  Expected result: you should see the pop-up 'Insert or select an image'

  Actual
   - you see the above error in browser console
   - No pop-up appears
   - The browser scroll bar disappears

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

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


[Mahara-contributors] [Bug 1618317] Re: JS error when click 'Edit image' in TinyMCE editor

2016-08-30 Thread Son Nguyen
This bug also happens in 16.04

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

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

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

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

Title:
  JS error when click 'Edit image' in TinyMCE editor

Status in Mahara:
  Confirmed
Status in Mahara 16.04 series:
  New

Bug description:
  Version: master(16.10)

  I got the following javascript error when edit an external image link
  via TinyMCE

  plugin.js?v=9174:37 Uncaught TypeError: Cannot read property '0' of
  null

  Steps

  1. Login as an user
  2. In the Prodfile/Introduction, click 'Insert/edit image' button in TinyMCE 
editor
  3. Add a link to an image: 
https://mahara.org/theme/mahara-org/static/images/site-logo.png
  4. Click Submit
  5. Select the image
  6. Click 'Insert/edit image' button

  Expected result: you should see the pop-up 'Insert or select an image'

  Actual
   - you see the above error in browser console
   - No pop-up appears
   - The browser scroll bar disappears

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

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


[Mahara-contributors] [Bug 1618317] [NEW] JS error when click 'Edit image' in TinyMCE editor

2016-08-29 Thread Son Nguyen
Public bug reported:

Version: master(16.10)

I got the following javascript error when edit an external image link
via TinyMCE

plugin.js?v=9174:37 Uncaught TypeError: Cannot read property '0' of null

Steps

1. Login as an user
2. In the Prodfile/Introduction, click 'Insert/edit image' button in TinyMCE 
editor
3. Add a link to an image: 
https://mahara.org/theme/mahara-org/static/images/site-logo.png
4. Click Submit
5. Select the image
6. Click 'Insert/edit image' button

Expected result: you should see the pop-up 'Insert or select an image'

Actual
 - you see the above error in browser console
 - No pop-up appears
 - The browser scroll bar disappears

** Affects: mahara
 Importance: High
 Assignee: Son Nguyen (ngson2000)
 Status: Confirmed

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

Title:
  JS error when click 'Edit image' in TinyMCE editor

Status in Mahara:
  Confirmed

Bug description:
  Version: master(16.10)

  I got the following javascript error when edit an external image link
  via TinyMCE

  plugin.js?v=9174:37 Uncaught TypeError: Cannot read property '0' of
  null

  Steps

  1. Login as an user
  2. In the Prodfile/Introduction, click 'Insert/edit image' button in TinyMCE 
editor
  3. Add a link to an image: 
https://mahara.org/theme/mahara-org/static/images/site-logo.png
  4. Click Submit
  5. Select the image
  6. Click 'Insert/edit image' button

  Expected result: you should see the pop-up 'Insert or select an image'

  Actual
   - you see the above error in browser console
   - No pop-up appears
   - The browser scroll bar disappears

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

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


[Mahara-contributors] [Bug 1596808] Re: Warning when configuring the Profile completion

2016-08-29 Thread Son Nguyen
** Changed in: mahara
   Status: Won't Fix => 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/1596808

Title:
  Warning when configuring the Profile completion

Status in Mahara:
  Fix Committed

Bug description:
  I was configuring the details of the Profil completion feature for an
  institution on a new Mahara with the setting
  $cfg->productionmode=false.

  When I saved the page I got the following warning :

  Call stack (most recent first):

  log_message("sprintf(): Too few arguments", 8, true, true, 
"/var/mahara/htdocs/lib/mahara.php", 1419) at 
/var/mahara/htdocs/lib/errors.php:489
  error(2, "sprintf(): Too few arguments", 
"/var/mahara/htdocs/lib/mahara.php", 1419, array(size 3)) at Unknown:0
  sprintf("La barre de progression du remplissage du profil d...") at 
Unknown:0
  call_user_func_array("sprintf", array(size 1)) at 
/var/mahara/htdocs/lib/mahara.php:1419
  format_langstring("La barre de progression du remplissage du profil 
d...", array(size 0), "fr.utf8") at /var/mahara/htdocs/lib/mahara.php:512
  get_string_location("profilecompletenessdesc1", "admin", array(size 0)) 
at /var/mahara/htdocs/lib/mahara.php:295
  get_string("profilecompletenessdesc1", "admin") at Unknown:0
  call_user_func_array("get_string", array(size 2)) at 
/var/mahara/htdocs/lib/dwoo/mahara/plugins/function.str.php:32
  Dwoo_Plugin_str(object(Dwoo_Mahara), "profilecompletenessdesc1", "admin", 
null, null, null, null, null) at 
/var/www/data/maharadata/dwoo/compile/raw/var/mahara/htdocs/theme/raw/templates/admin/users/progressbar.tpl.d17.php:10
  include("/var/www/data/maharadata/dwoo/compile/raw/var/maha...") at 
/var/mahara/htdocs/lib/dwoo/dwoo/Dwoo/Core.php:374
  Dwoo_Core->get(object(Dwoo_Template_File), array(size 44)) at 
/var/mahara/htdocs/lib/dwoo/mahara/Dwoo_Mahara.php:123
  Dwoo_Mahara->fetch("admin/users/progressbar.tpl") at 
/var/mahara/htdocs/lib/dwoo/mahara/Dwoo_Mahara.php:107
  Dwoo_Mahara->display("admin/users/progressbar.tpl") at 
/var/mahara/htdocs/admin/users/progressbar.php:244

  
  Mahara last 16.04_STABLE pulled version

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

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


[Mahara-contributors] [Bug 1596808] Re: Warning when configuring the Profile completion

2016-08-29 Thread Son Nguyen
I've updated the translation of this lang string on launchpad.net

https://translations.launchpad.net/mahara-
lang/trunk/+pots/mahara/fr/+translate

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

Title:
  Warning when configuring the Profile completion

Status in Mahara:
  Won't Fix

Bug description:
  I was configuring the details of the Profil completion feature for an
  institution on a new Mahara with the setting
  $cfg->productionmode=false.

  When I saved the page I got the following warning :

  Call stack (most recent first):

  log_message("sprintf(): Too few arguments", 8, true, true, 
"/var/mahara/htdocs/lib/mahara.php", 1419) at 
/var/mahara/htdocs/lib/errors.php:489
  error(2, "sprintf(): Too few arguments", 
"/var/mahara/htdocs/lib/mahara.php", 1419, array(size 3)) at Unknown:0
  sprintf("La barre de progression du remplissage du profil d...") at 
Unknown:0
  call_user_func_array("sprintf", array(size 1)) at 
/var/mahara/htdocs/lib/mahara.php:1419
  format_langstring("La barre de progression du remplissage du profil 
d...", array(size 0), "fr.utf8") at /var/mahara/htdocs/lib/mahara.php:512
  get_string_location("profilecompletenessdesc1", "admin", array(size 0)) 
at /var/mahara/htdocs/lib/mahara.php:295
  get_string("profilecompletenessdesc1", "admin") at Unknown:0
  call_user_func_array("get_string", array(size 2)) at 
/var/mahara/htdocs/lib/dwoo/mahara/plugins/function.str.php:32
  Dwoo_Plugin_str(object(Dwoo_Mahara), "profilecompletenessdesc1", "admin", 
null, null, null, null, null) at 
/var/www/data/maharadata/dwoo/compile/raw/var/mahara/htdocs/theme/raw/templates/admin/users/progressbar.tpl.d17.php:10
  include("/var/www/data/maharadata/dwoo/compile/raw/var/maha...") at 
/var/mahara/htdocs/lib/dwoo/dwoo/Dwoo/Core.php:374
  Dwoo_Core->get(object(Dwoo_Template_File), array(size 44)) at 
/var/mahara/htdocs/lib/dwoo/mahara/Dwoo_Mahara.php:123
  Dwoo_Mahara->fetch("admin/users/progressbar.tpl") at 
/var/mahara/htdocs/lib/dwoo/mahara/Dwoo_Mahara.php:107
  Dwoo_Mahara->display("admin/users/progressbar.tpl") at 
/var/mahara/htdocs/admin/users/progressbar.php:244

  
  Mahara last 16.04_STABLE pulled version

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

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


[Mahara-contributors] [Bug 1596808] Re: Warning when configuring the Profile completion

2016-08-29 Thread Son Nguyen
Sorry Dominique. Please adding the '%' before it.

The correct translation:

La barre de progression du remplissage du profil donne aux utilisateurs
une bonne indication sur l\'état de la saisie des informations
personnelles. Vous pouvez choisir les éléments que doivent remplir les
utilisateurs pour que leur profil soit complet à 100 %%.

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

Title:
  Warning when configuring the Profile completion

Status in Mahara:
  Won't Fix

Bug description:
  I was configuring the details of the Profil completion feature for an
  institution on a new Mahara with the setting
  $cfg->productionmode=false.

  When I saved the page I got the following warning :

  Call stack (most recent first):

  log_message("sprintf(): Too few arguments", 8, true, true, 
"/var/mahara/htdocs/lib/mahara.php", 1419) at 
/var/mahara/htdocs/lib/errors.php:489
  error(2, "sprintf(): Too few arguments", 
"/var/mahara/htdocs/lib/mahara.php", 1419, array(size 3)) at Unknown:0
  sprintf("La barre de progression du remplissage du profil d...") at 
Unknown:0
  call_user_func_array("sprintf", array(size 1)) at 
/var/mahara/htdocs/lib/mahara.php:1419
  format_langstring("La barre de progression du remplissage du profil 
d...", array(size 0), "fr.utf8") at /var/mahara/htdocs/lib/mahara.php:512
  get_string_location("profilecompletenessdesc1", "admin", array(size 0)) 
at /var/mahara/htdocs/lib/mahara.php:295
  get_string("profilecompletenessdesc1", "admin") at Unknown:0
  call_user_func_array("get_string", array(size 2)) at 
/var/mahara/htdocs/lib/dwoo/mahara/plugins/function.str.php:32
  Dwoo_Plugin_str(object(Dwoo_Mahara), "profilecompletenessdesc1", "admin", 
null, null, null, null, null) at 
/var/www/data/maharadata/dwoo/compile/raw/var/mahara/htdocs/theme/raw/templates/admin/users/progressbar.tpl.d17.php:10
  include("/var/www/data/maharadata/dwoo/compile/raw/var/maha...") at 
/var/mahara/htdocs/lib/dwoo/dwoo/Dwoo/Core.php:374
  Dwoo_Core->get(object(Dwoo_Template_File), array(size 44)) at 
/var/mahara/htdocs/lib/dwoo/mahara/Dwoo_Mahara.php:123
  Dwoo_Mahara->fetch("admin/users/progressbar.tpl") at 
/var/mahara/htdocs/lib/dwoo/mahara/Dwoo_Mahara.php:107
  Dwoo_Mahara->display("admin/users/progressbar.tpl") at 
/var/mahara/htdocs/admin/users/progressbar.php:244

  
  Mahara last 16.04_STABLE pulled version

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

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


[Mahara-contributors] [Bug 1596808] Re: Warning when configuring the Profile completion

2016-08-29 Thread Son Nguyen
Hi Dominique

There is a special character '%' in the french translation of the lang
string 'profilecompletenessdesc1'. You need to escape this character by
adding the backslash '\' before it.


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

Title:
  Warning when configuring the Profile completion

Status in Mahara:
  Won't Fix

Bug description:
  I was configuring the details of the Profil completion feature for an
  institution on a new Mahara with the setting
  $cfg->productionmode=false.

  When I saved the page I got the following warning :

  Call stack (most recent first):

  log_message("sprintf(): Too few arguments", 8, true, true, 
"/var/mahara/htdocs/lib/mahara.php", 1419) at 
/var/mahara/htdocs/lib/errors.php:489
  error(2, "sprintf(): Too few arguments", 
"/var/mahara/htdocs/lib/mahara.php", 1419, array(size 3)) at Unknown:0
  sprintf("La barre de progression du remplissage du profil d...") at 
Unknown:0
  call_user_func_array("sprintf", array(size 1)) at 
/var/mahara/htdocs/lib/mahara.php:1419
  format_langstring("La barre de progression du remplissage du profil 
d...", array(size 0), "fr.utf8") at /var/mahara/htdocs/lib/mahara.php:512
  get_string_location("profilecompletenessdesc1", "admin", array(size 0)) 
at /var/mahara/htdocs/lib/mahara.php:295
  get_string("profilecompletenessdesc1", "admin") at Unknown:0
  call_user_func_array("get_string", array(size 2)) at 
/var/mahara/htdocs/lib/dwoo/mahara/plugins/function.str.php:32
  Dwoo_Plugin_str(object(Dwoo_Mahara), "profilecompletenessdesc1", "admin", 
null, null, null, null, null) at 
/var/www/data/maharadata/dwoo/compile/raw/var/mahara/htdocs/theme/raw/templates/admin/users/progressbar.tpl.d17.php:10
  include("/var/www/data/maharadata/dwoo/compile/raw/var/maha...") at 
/var/mahara/htdocs/lib/dwoo/dwoo/Dwoo/Core.php:374
  Dwoo_Core->get(object(Dwoo_Template_File), array(size 44)) at 
/var/mahara/htdocs/lib/dwoo/mahara/Dwoo_Mahara.php:123
  Dwoo_Mahara->fetch("admin/users/progressbar.tpl") at 
/var/mahara/htdocs/lib/dwoo/mahara/Dwoo_Mahara.php:107
  Dwoo_Mahara->display("admin/users/progressbar.tpl") at 
/var/mahara/htdocs/admin/users/progressbar.php:244

  
  Mahara last 16.04_STABLE pulled version

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

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


[Mahara-contributors] [Bug 1597117] Re: Can't save share access form on Windows in Edge

2016-08-28 Thread Son Nguyen
** Changed in: mahara/16.10
 Assignee: (unassigned) => Son Nguyen (ngson2000)

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

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

Title:
  Can't save share access form on Windows in Edge

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

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

  I could replicate the issue in Windows 10 using Edge 13.

  Steps to replicate:

  1. Create a couple of user accounts and groups.
  2. Create a page as a user.
  3. Share the page with another user selecting the "Share -> Search for: 
Users" option so that you are prompted to search for a user's name. Select a 
name.
  4. Click the "Save" button.

  Repeat the same for "Groups" and "Friends".

  Expected result: The form saves properly.
  Actual result: You stay on the form.

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

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


[Mahara-contributors] [Bug 1598672] Re: Site collections - 'Untitled' page which does not exist

2016-08-28 Thread Son Nguyen
** Changed in: mahara
 Assignee: (unassigned) => Son Nguyen (ngson2000)

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

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

Title:
  Site collections - 'Untitled' page which does not exist

Status in Mahara:
  In Progress

Bug description:
  Mahara: master
  DB: postgres
  OS: Linux
  Browser: Firefox

  On a new Mahara install, when you go to:

  * Siteadmin > Configure Site > Collections > New collection

  
  Enter the collection name and click Next.

  A mysterious 'Untitled' page appears in the list of pages to select
  from - Even though no site pages have been created.

  It still appears when site pages are created.

  Probably the same fix as per bug:
  https://bugs.launchpad.net/mahara/+bug/1597549

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

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


[Mahara-contributors] [Bug 1606509] Re: Anonymouse users should not be able to have URLs linked in comments

2016-08-28 Thread Son Nguyen
** Changed in: mahara
 Assignee: (unassigned) => Son Nguyen (ngson2000)

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

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

Title:
  Anonymouse users should not be able to have URLs linked in comments

Status in Mahara:
  In Progress

Bug description:
  We can have spam probation for users who are registered on Mahara, but
  anonymously placed comments circumvent that mechanism and have links
  linked directly.

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

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


[Mahara-contributors] [Bug 1607538] Re: Can't choose group shortname that is different from group name

2016-08-28 Thread Son Nguyen
*** This bug is a duplicate of bug 1613503 ***
https://bugs.launchpad.net/bugs/1613503

** This bug has been marked a duplicate of bug 1613503
   Can not add groups via CSV when shortname is not relied on displayname

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

Title:
  Can't choose group shortname that is different from group name

Status in Mahara:
  Confirmed

Bug description:
  Only affects master 16.10 as it's related to new functionality

  When I try to upload the attached CSV file, I get error messages along
  the lines of the following on master:

  group_create: The supplied shortname 'open' is already taken. This
  shortname 'openmembershipgroup' is available.

  This is a double problem:

  1. The group shortname "open" does not yet exist as it's an empty Mahara site.
  2. I should be able to choose my own shortnames (as long as they really 
haven't been taken) no matter what the actual group name is. 

  Currently, the shortname is just the groupname without capital letters
  and spaces. Nobody would set that up without being given instructions.
  Institutions might choose to use course shortnames as group shortnames
  but have the group titles display something entirely differently, e.g.
  the actual title of the course.

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

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


[Mahara-contributors] [Bug 1617143] Re: Update NPM packages in package.json

2016-08-28 Thread Son Nguyen
** Changed in: mahara
   Status: Confirmed => In Progress

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

** Changed in: mahara
 Assignee: (unassigned) => Son Nguyen (ngson2000)

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

Title:
  Update NPM packages in package.json

Status in Mahara:
  In Progress

Bug description:
  Version: master (16.10)

  We should update NPM packages to the latest version

   gulp   ^3.9.0  →  ^3.9.1
   gulp-minify-css^1.1.6  →  ^1.2.4 (Deprecated)
   gulp-sass  ^2.0.1  →  ^2.3.2
   event-stream   ^3.3.1  →  ^3.3.4
   gulp-autoprefixer  ^3.0.1  →  ^3.1.1
   es6-promise^3.0.2  →  ^3.2.1
   gulp-if^2.0.0  →  ^2.0.1
   globule^0.2.0  →  ^2.0.1 (the dependent package minimatch 0.2.14 
need to update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue)

  Replacing gulp-minify-css by gulp-clean-css is reported in 1569121

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

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


[Mahara-contributors] [Bug 1617143] Re: Update NPM packages in package.json

2016-08-28 Thread Son Nguyen
** Description changed:

  Version: master (16.10)
  
  We should update NPM packages to the latest version
  
-  gulp   ^3.9.0  →  ^3.9.1 
-  gulp-minify-css^1.1.6  →  ^1.2.4 (Deprecated)
-  gulp-sass  ^2.0.1  →  ^2.3.2 
-  event-stream   ^3.3.1  →  ^3.3.4 
-  gulp-autoprefixer  ^3.0.1  →  ^3.1.1 
-  es6-promise^3.0.2  →  ^3.2.1 
-  gulp-if^2.0.0  →  ^2.0.1
+  gulp   ^3.9.0  →  ^3.9.1
+  gulp-minify-css^1.1.6  →  ^1.2.4 (Deprecated)
+  gulp-sass  ^2.0.1  →  ^2.3.2
+  event-stream   ^3.3.1  →  ^3.3.4
+  gulp-autoprefixer  ^3.0.1  →  ^3.1.1
+  es6-promise^3.0.2  →  ^3.2.1
+  gulp-if^2.0.0  →  ^2.0.1
+  globule^0.2.0  →  ^2.0.1 (the dependent package minimatch 0.2.14 
need to update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue)
  
  Replacing gulp-minify-css by gulp-clean-css is reported in 1569121

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

Title:
  Update NPM packages in package.json

Status in Mahara:
  Confirmed

Bug description:
  Version: master (16.10)

  We should update NPM packages to the latest version

   gulp   ^3.9.0  →  ^3.9.1
   gulp-minify-css^1.1.6  →  ^1.2.4 (Deprecated)
   gulp-sass  ^2.0.1  →  ^2.3.2
   event-stream   ^3.3.1  →  ^3.3.4
   gulp-autoprefixer  ^3.0.1  →  ^3.1.1
   es6-promise^3.0.2  →  ^3.2.1
   gulp-if^2.0.0  →  ^2.0.1
   globule^0.2.0  →  ^2.0.1 (the dependent package minimatch 0.2.14 
need to update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue)

  Replacing gulp-minify-css by gulp-clean-css is reported in 1569121

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

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


[Mahara-contributors] [Bug 1617144] Re: Update composer packages in ./external/composer.json

2016-08-27 Thread Son Nguyen
** Changed in: mahara
   Status: Confirmed => In Progress

** Changed in: mahara
 Assignee: (unassigned) => Son Nguyen (ngson2000)

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

Title:
  Update composer packages in ./external/composer.json

Status in Mahara:
  In Progress

Bug description:
  Version: master (16.10)

  Here is the list of packages using for mahara behat and their latest
  version

   behat/mink (v1.6.1) latest is v1.7.1
   behat/behat (v3.0.10) latest is v3.1.0
   behat/mink-extension (v2.0.1) latest is v2.2
   guzzlehttp/guzzle (5.3.0) latest is 6.2.1
   fabpot/goutte (v2.0.4) latest is v3.1.2
   behat/mink-goutte-driver (v1.1.0) latest is v1.2.1
   behat/mink-selenium2-driver (v1.2.0) latest is v1.3.1

   phpunit/phpunit (3.7.38) latest is 5.5.3

  
  There is a security patch in guzzlehttp/guzzle 6.2.1. So this must be updated

  I'd file another bug for updating phpunit/phpunit

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

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


[Mahara-contributors] [Bug 1617144] [NEW] Update composer packages in ./external/composer.json

2016-08-25 Thread Son Nguyen
Public bug reported:

Version: master (16.10)

Here is the list of packages using for mahara behat and their latest
version

 behat/mink (v1.6.1) latest is v1.7.1
 behat/behat (v3.0.10) latest is v3.1.0
 behat/mink-extension (v2.0.1) latest is v2.2
 guzzlehttp/guzzle (5.3.0) latest is 6.2.1
 fabpot/goutte (v2.0.4) latest is v3.1.2
 behat/mink-goutte-driver (v1.1.0) latest is v1.2.1
 behat/mink-selenium2-driver (v1.2.0) latest is v1.3.1

 phpunit/phpunit (3.7.38) latest is 5.5.3


There is a security patch in guzzlehttp/guzzle 6.2.1. So this must be updated

I'd file another bug for updating phpunit/phpunit

** Affects: mahara
 Importance: High
 Status: Confirmed

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

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

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

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

Title:
  Update composer packages in ./external/composer.json

Status in Mahara:
  Confirmed

Bug description:
  Version: master (16.10)

  Here is the list of packages using for mahara behat and their latest
  version

   behat/mink (v1.6.1) latest is v1.7.1
   behat/behat (v3.0.10) latest is v3.1.0
   behat/mink-extension (v2.0.1) latest is v2.2
   guzzlehttp/guzzle (5.3.0) latest is 6.2.1
   fabpot/goutte (v2.0.4) latest is v3.1.2
   behat/mink-goutte-driver (v1.1.0) latest is v1.2.1
   behat/mink-selenium2-driver (v1.2.0) latest is v1.3.1

   phpunit/phpunit (3.7.38) latest is 5.5.3

  
  There is a security patch in guzzlehttp/guzzle 6.2.1. So this must be updated

  I'd file another bug for updating phpunit/phpunit

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

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


[Mahara-contributors] [Bug 1617143] [NEW] Update NPM packages in package.json

2016-08-25 Thread Son Nguyen
Public bug reported:

Version: master (16.10)

We should update NPM packages to the latest version

 gulp   ^3.9.0  →  ^3.9.1 
 gulp-minify-css^1.1.6  →  ^1.2.4 (Deprecated)
 gulp-sass  ^2.0.1  →  ^2.3.2 
 event-stream   ^3.3.1  →  ^3.3.4 
 gulp-autoprefixer  ^3.0.1  →  ^3.1.1 
 es6-promise^3.0.2  →  ^3.2.1 
 gulp-if^2.0.0  →  ^2.0.1

Replacing gulp-minify-css by gulp-clean-css is reported in 1569121

** Affects: mahara
 Importance: Medium
 Status: Confirmed

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

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

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

Title:
  Update NPM packages in package.json

Status in Mahara:
  Confirmed

Bug description:
  Version: master (16.10)

  We should update NPM packages to the latest version

   gulp   ^3.9.0  →  ^3.9.1 
   gulp-minify-css^1.1.6  →  ^1.2.4 (Deprecated)
   gulp-sass  ^2.0.1  →  ^2.3.2 
   event-stream   ^3.3.1  →  ^3.3.4 
   gulp-autoprefixer  ^3.0.1  →  ^3.1.1 
   es6-promise^3.0.2  →  ^3.2.1 
   gulp-if^2.0.0  →  ^2.0.1

  Replacing gulp-minify-css by gulp-clean-css is reported in 1569121

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

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


[Mahara-contributors] [Bug 1569121] Re: gulp-bless-css is deprecated

2016-08-25 Thread Son Nguyen
** Changed in: mahara/16.10
   Status: New => Confirmed

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

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

Title:
  gulp-bless-css is deprecated

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

Bug description:
  One of the gulp packages we use in our theme build, "gulp-minify-css",
  is now deprecated and should be replaced with gulp-clean-css.

  https://www.npmjs.com/package/gulp-minify-css

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

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


[Mahara-contributors] [Bug 1598990] Re: Cannot instantiate abstract class PluginImport

2016-08-25 Thread Son Nguyen
** 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/1598990

Title:
  Cannot instantiate abstract class PluginImport

Status in Mahara:
  Fix Committed

Bug description:
  Mahara: 16.04.1
  OS: Linux
  DB: Postgres
  Browser: Firefox

  During the cron task run for core_import_process_queue, we are getting
  this error:

  PHP Fatal error:  Cannot instantiate abstract class PluginImport in
  /var/www/site-anu/import/lib.php on line 191

  The import_queue table has a few record with format = ''.

  It is trying to import leap2A data into Mahara from Moodle.

  The Moodle version is 2.7 which is using an older version of the
  submission plugin. But, that shouldn't matter.

  I think we need 2 things:

  1) Check that the format is correct in
  PluginImport::class_from_format(). If it's not correct, default it to
  leap.

  2) When the importer is created in import_process_queue(), it should
  be wrapped in the try/catch block.

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

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


[Mahara-contributors] [Bug 1607564] Re: ClamAV quarantine directory should not be a language string

2016-08-25 Thread Son Nguyen
** 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/1607564

Title:
  ClamAV quarantine directory should not be a language string

Status in Mahara:
  Fix Committed

Bug description:
  While looking through Mahara's ClamAV code, I noticed that the name of
  the directory it tries to store infected files in, is controlled by a
  translatable language string:

  $quarantinedir = get_config('dataroot') .
  get_string('quarantinedirname');

  This is not a good idea, because it means that the location of these
  files will vary depending on what language packs are installed and
  what the current user's language setting is! Instead, it should be a
  hard-coded string or a config setting.

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

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


[Mahara-contributors] [Bug 1613135] Re: Fix negative block_instance sortorders before running upgrade

2016-08-22 Thread Son Nguyen
** 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/1613135

Title:
  Fix negative block_instance sortorders before running upgrade

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

Bug description:
  See:
  
https://mahara.org/interaction/forum/topic.php?id=7687=0=10#post30945

  For Bug 1528351 we added an upgrade block that corrects the
  block_instance sortorder drift that had been created by Bug 1523719.
  As a workaround to the uniqueness constraint on that column, this
  block temporarily moves the sortorders into the negative integerspace,
  and then re-orders them as positive numbers.

  However, we've had multiple reports of sites that have somehow got
  negative numbers already in their block_instance.sortorder column.
  These sites then error out during the upgrade, because the extant
  negative numbers turn into positive numbers, and then there's a
  uniqueness violation if another block being re-ordered overlaps with
  it.

  Ghada has written up a block of code that can fix this, and we've
  shared it with some affected sites via the forum. It should be easy to
  add it to the basic upgrade script, though. In order to reduce
  complications, we could preface it with a check to see whether there
  are negative sortorders in the database, and only run this additional
  step if we find any negatives.

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

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


[Mahara-contributors] [Bug 1613480] Re: Update HTML Purifier to 4.8.0

2016-08-22 Thread Son Nguyen
** 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/1613480

Title:
  Update HTML Purifier to 4.8.0

Status in Mahara:
  Fix Committed

Bug description:
  We need to update this library to 4.8.0 to compatible to PHP7

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

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


[Mahara-contributors] [Bug 1613481] Re: Update Zend framework to 1.12.19

2016-08-22 Thread Son Nguyen
** Changed in: mahara
   Status: Confirmed => Fix Committed

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

Title:
  Update Zend framework to 1.12.19

Status in Mahara:
  Fix Committed

Bug description:
  We need to update to 1.12.19 as some security patches since 1.12.17.

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

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


[Mahara-contributors] [Bug 1613483] Re: Update PDFjs to 1.4.20

2016-08-18 Thread Son Nguyen
Test instructions:

Make sure you can add, view PDF blocks in a page on all supported
browsers.

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

Title:
  Update PDFjs to 1.4.20

Status in Mahara:
  In Progress

Bug description:
  Since 1.1.1040, there have been several bug fixes and few features. We
  would highly update this.

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

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


[Mahara-contributors] [Bug 1613483] Re: Update PDFjs to 1.4.20

2016-08-17 Thread Son Nguyen
** Changed in: mahara
   Status: Confirmed => In Progress

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

Title:
  Update PDFjs to 1.4.20

Status in Mahara:
  In Progress

Bug description:
  Since 1.1.1040, there have been several bug fixes and few features. We
  would highly update this.

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

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


[Mahara-contributors] [Bug 1613480] Re: Update HTML Purifier to 4.8.0

2016-08-16 Thread Son Nguyen
** Changed in: mahara
 Assignee: (unassigned) => Son Nguyen (ngson2000)

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

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

Title:
  Update HTML Purifier to 4.8.0

Status in Mahara:
  In Progress

Bug description:
  We need to update this library to 4.8.0 to compatible to PHP7

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

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


[Mahara-contributors] [Bug 1613483] Re: Update PDFjs to 1.4.20

2016-08-16 Thread Son Nguyen
** Changed in: mahara
 Assignee: (unassigned) => Son Nguyen (ngson2000)

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

Title:
  Update PDFjs to 1.4.20

Status in Mahara:
  Confirmed

Bug description:
  Since 1.1.1040, there have been several bug fixes and few features. We
  would highly update this.

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

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


[Mahara-contributors] [Bug 1613478] Re: Update Elastica library to 2.3.1

2016-08-16 Thread Son Nguyen
** Changed in: mahara
   Status: Confirmed => In Progress

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

Title:
  Update Elastica library to 2.3.1

Status in Mahara:
  In Progress

Bug description:
  The current version of Elastica is 2.0.0, we should update it to 2.3.1
  as it has lots of bug fixes and support for newer Elasticsearch
  1.7.3+.

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

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


[Mahara-contributors] [Bug 1606744] Re: Accessibility - Select 'other' text field label incorrect

2016-08-16 Thread Son Nguyen
** 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/1606744

Title:
  Accessibility - Select 'other' text field label incorrect

Status in Mahara:
  Fix Committed
Status in Mahara 15.04 series:
  Confirmed
Status in Mahara 15.10 series:
  Confirmed
Status in Mahara 16.04 series:
  Confirmed
Status in Mahara 16.10 series:
  Fix Committed

Bug description:
  Mahara: master

  Input text fields should have a label and/or use the 'aria-labelled
  by' property to bind multiple inputs to a label.

  Please refer to: http://webaim.org/techniques/forms/controls#input

  An example where it is needed is in the screen
  (artefact/internal/socialprofile.php):

  * Social media > New social media account

  The input box (id=editprofileform_profiletype_other) next to "Other"
  is not linked to a label. Screen readers refer to it as "edit".

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

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


[Mahara-contributors] [Bug 1539346] Re: Upgrade adodb to 5.20.5

2016-08-16 Thread Son Nguyen
** 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/1539346

Title:
  Upgrade adodb to 5.20.5

Status in Mahara:
  Fix Committed

Bug description:
  Updating the adodb library

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

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


[Mahara-contributors] [Bug 1613503] Re: Can not add groups via CSV when shortname is not relied on displayname

2016-08-15 Thread Son Nguyen
It works fine now. Thank for your explanation.

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

Title:
  Can not add groups via CSV when shortname is not relied on displayname

Status in Mahara:
  New

Bug description:
  version: master(16.10)

  I got the following message when adding groups via CSV

  Mahara: Site unavailable
  Something in the way you're interacting with Mahara is causing an error.
  Details if any, follow:

  group_create: The supplied shortname 'gc' is already taken. This
  shortname 'groupc' is available.

  The content of my CSV file:
  shortname,displayname,roles
  "gc","Group C","standard"

  I have to change the shortname to 'groupc' to make it work.
  Is it the new behaviour?

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

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


[Mahara-contributors] [Bug 1613503] [NEW] Can not add groups via CSV when shortname is not relied on displayname

2016-08-15 Thread Son Nguyen
Public bug reported:

version: master(16.10)

I got the following message when adding groups via CSV

Mahara: Site unavailable
Something in the way you're interacting with Mahara is causing an error.
Details if any, follow:

group_create: The supplied shortname 'gc' is already taken. This
shortname 'groupc' is available.

The content of my CSV file:
shortname,displayname,roles
"gc","Group C","standard"

I have to change the shortname to 'groupc' to make it work.
Is it the new behaviour?

** Affects: mahara
 Importance: Undecided
 Status: New

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

Title:
  Can not add groups via CSV when shortname is not relied on displayname

Status in Mahara:
  New

Bug description:
  version: master(16.10)

  I got the following message when adding groups via CSV

  Mahara: Site unavailable
  Something in the way you're interacting with Mahara is causing an error.
  Details if any, follow:

  group_create: The supplied shortname 'gc' is already taken. This
  shortname 'groupc' is available.

  The content of my CSV file:
  shortname,displayname,roles
  "gc","Group C","standard"

  I have to change the shortname to 'groupc' to make it work.
  Is it the new behaviour?

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

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


[Mahara-contributors] [Bug 1613478] Re: Update Elastica library to 2.3.1

2016-08-15 Thread Son Nguyen
** Changed in: mahara
 Assignee: (unassigned) => Son Nguyen (ngson2000)

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

Title:
  Update Elastica library to 2.3.1

Status in Mahara:
  Confirmed

Bug description:
  The current version of Elastica is 2.0.0, we should update it to 2.3.1
  as it has lots of bug fixes and support for newer Elasticsearch
  1.7.3+.

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

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


[Mahara-contributors] [Bug 1613481] [NEW] Update Zend framework to 1.12.19

2016-08-15 Thread Son Nguyen
Public bug reported:

We need to update to 1.12.19 as some security patches since 1.12.17.

** Affects: mahara
 Importance: High
 Status: Confirmed

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

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

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

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

Title:
  Update Zend framework to 1.12.19

Status in Mahara:
  Confirmed

Bug description:
  We need to update to 1.12.19 as some security patches since 1.12.17.

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

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


[Mahara-contributors] [Bug 1613483] [NEW] Update PDFjs to 1.4.20

2016-08-15 Thread Son Nguyen
Public bug reported:

Since 1.1.1040, there have been several bug fixes and few features. We
would highly update this.

** Affects: mahara
 Importance: High
 Status: Confirmed

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

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

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

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

Title:
  Update PDFjs to 1.4.20

Status in Mahara:
  Confirmed

Bug description:
  Since 1.1.1040, there have been several bug fixes and few features. We
  would highly update this.

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

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


[Mahara-contributors] [Bug 1613478] [NEW] Update Elastica library to 2.3.1

2016-08-15 Thread Son Nguyen
Public bug reported:

The current version of Elastica is 2.0.0, we should update it to 2.3.1
as it has lots of bug fixes and support for newer Elasticsearch 1.7.3+.

** Affects: mahara
 Importance: High
 Status: Confirmed

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

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

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

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

Title:
  Update Elastica library to 2.3.1

Status in Mahara:
  Confirmed

Bug description:
  The current version of Elastica is 2.0.0, we should update it to 2.3.1
  as it has lots of bug fixes and support for newer Elasticsearch
  1.7.3+.

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

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


[Mahara-contributors] [Bug 1613480] [NEW] Update HTML Purifier to 4.8.0

2016-08-15 Thread Son Nguyen
Public bug reported:

We need to update this library to 4.8.0 to compatible to PHP7

** Affects: mahara
 Importance: High
 Status: Confirmed

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

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

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

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

Title:
  Update HTML Purifier to 4.8.0

Status in Mahara:
  Confirmed

Bug description:
  We need to update this library to 4.8.0 to compatible to PHP7

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

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


[Mahara-contributors] [Bug 1539346] Re: Upgrade adodb to 5.20.5

2016-08-14 Thread Son Nguyen
The latest version is now 5.20.5

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

Title:
  Upgrade adodb to 5.20.5

Status in Mahara:
  In Progress

Bug description:
  Updating the adodb library

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

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


[Mahara-contributors] [Bug 1539346] Re: Upgrade adodb to 5.20.5

2016-08-14 Thread Son Nguyen
** Summary changed:

- Upgrade adodb to 5.20.2
+ Upgrade adodb to 5.20.5

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

Title:
  Upgrade adodb to 5.20.5

Status in Mahara:
  In Progress

Bug description:
  Updating the adodb library

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

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


[Mahara-contributors] [Bug 1609538] Re: Block edit screen has empy success (green) messages boxes

2016-08-03 Thread Son Nguyen
** Changed in: mahara/16.10
   Status: Confirmed => In Progress

** Changed in: mahara/16.10
 Assignee: (unassigned) => Son Nguyen (ngson2000)

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

Title:
  Block edit screen has empy success (green) messages boxes

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

Bug description:
  When I add an block (eg an image block) I get a green box at top of
  page but no message in it.

  When I add an image and then save and then reload page and then delete
  the block I get the green box again but still no message in it

  It looks like the 'message' part of the ajax response is not set

  Need to get the message set so it can appear

  It looks like it's a problem in 15.10+

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

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


[Mahara-contributors] [Bug 1393552] Re: Simple text box doesn't show cursor in Chromium and Chrome

2016-07-24 Thread Son Nguyen
Hi,

I did not see the issue on both Chrome(51.0.2704.106 (64-bit)) and
Chromium(50.0.2661.102 Ubuntu 14.04 (64-bit)).

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

Title:
  Simple text box doesn't show cursor in Chromium and Chrome

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

Bug description:
  When having a simple text box, e.g. collection description, anonymous
  feedback, the cursor is not shown in Chrome and Chromium. I have it
  without problems in Firefox. You can still type in Chrome and
  Chromium, but just don't see the cursor.

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

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


[Mahara-contributors] [Bug 1574952] Re: Error with LEAP2A import

2016-07-19 Thread Son Nguyen
Hi Paul,

I got different errors when import you Leap2A files on my development
system (Ubuntu 12.04, Php5.3, Apache2.2, MySQL 5.5).

This issue may be related to Annotation artefact importing process. I
will fix this.

Thanks

Son

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

Title:
  Error with LEAP2A import

Status in Mahara:
  New

Bug description:
  I have a Mahara 15.10.1 installation running on php-5.3.5 and
  mysql-5.5.9 on a windows system  (its a demonstration/experimental
  system, not a production system)

  Creation of a user works OK.  I have had success with importing LEAP2A
  into an existing user.

  But I have another (larger) LEAP2A file which DOES NOT work, though
  the same LEAP2A file works find on a (Linux) production system.

  Partial error log of two scenarios are as follows ... suggestions
  welcome.

  Attempting to add user via LEAP2A import

  [Mon Apr 25 21:29:06 2016] [error] [client 127.0.0.1] [WAR] 2a 
(theme\\raw\\pieforms\\adduser.php:19) Undefined index: error, referer: 
http://localhost/mahara/admin/users/search.php
  [Mon Apr 25 21:29:06 2016] [error] [client 127.0.0.1] Call stack (most recent 
first):, referer: http://localhost/mahara/admin/users/search.php
  [Mon Apr 25 21:29:06 2016] [error] [client 127.0.0.1]   * 
log_message("Undefined index: error", 8, true, true, 
"C:\\ePortfolio\\www\\mahara\\theme\\raw\\pieforms\\adduse...", 19) at 
C:\\ePortfolio\\www\\mahara\\lib\\errors.php:441, referer: 
http://localhost/mahara/admin/users/search.php
  [Mon Apr 25 21:29:06 2016] [error] [client 127.0.0.1]   * error(8, "Undefined 
index: error", "C:\\ePortfolio\\www\\mahara\\theme\\raw\\pieforms\\adduse...", 
19, array(size 10)) at 
C:\\ePortfolio\\www\\mahara\\theme\\raw\\pieforms\\adduser.php:19, referer: 
http://localhost/mahara/admin/users/search.php
  [Mon Apr 25 21:29:06 2016] [error] [client 127.0.0.1]   * 
require("C:\\ePortfolio\\www\\mahara\\theme\\raw\\pieforms\\adduse...") at 
C:\\ePortfolio\\www\\mahara\\lib\\pieforms\\pieform.php:756, referer: 
http://localhost/mahara/admin/users/search.php
  [Mon Apr 25 21:29:06 2016] [error] [client 127.0.0.1]   * Pieform->build() at 
C:\\ePortfolio\\www\\mahara\\lib\\pieforms\\pieform.php:169, referer: 
http://localhost/mahara/admin/users/search.php
  [Mon Apr 25 21:29:06 2016] [error] [client 127.0.0.1]   * 
Pieform::process(array(size 8)) at 
C:\\ePortfolio\\www\\mahara\\lib\\pieforms\\pieform.php:71, referer: 
http://localhost/mahara/admin/users/search.php
  [Mon Apr 25 21:29:06 2016] [error] [client 127.0.0.1]   * pieform(array(size 
8)) at C:\\ePortfolio\\www\\mahara\\admin\\users\\add.php:156, referer: 
http://localhost/mahara/admin/users/search.php
  [Mon Apr 25 21:29:06 2016] [error] [client 127.0.0.1] , referer: 
http://localhost/mahara/admin/users/search.php

  
  User added manually, LEAP2A then attempted to be imported

  [Mon Apr 25 21:35:14 2016] [error] [client 127.0.0.1] [WAR] 70 
(theme\\raw\\pieforms\\adduser.php:19) Undefined index: error, referer: 
http://localhost/mahara/admin/users/search.php
  [Mon Apr 25 21:35:14 2016] [error] [client 127.0.0.1] Call stack (most recent 
first):, referer: http://localhost/mahara/admin/users/search.php
  [Mon Apr 25 21:35:14 2016] [error] [client 127.0.0.1]   * 
log_message("Undefined index: error", 8, true, true, 
"C:\\ePortfolio\\www\\mahara\\theme\\raw\\pieforms\\adduse...", 19) at 
C:\\ePortfolio\\www\\mahara\\lib\\errors.php:441, referer: 
http://localhost/mahara/admin/users/search.php
  [Mon Apr 25 21:35:14 2016] [error] [client 127.0.0.1]   * error(8, "Undefined 
index: error", "C:\\ePortfolio\\www\\mahara\\theme\\raw\\pieforms\\adduse...", 
19, array(size 10)) at 
C:\\ePortfolio\\www\\mahara\\theme\\raw\\pieforms\\adduser.php:19, referer: 
http://localhost/mahara/admin/users/search.php
  [Mon Apr 25 21:35:14 2016] [error] [client 127.0.0.1]   * 
require("C:\\ePortfolio\\www\\mahara\\theme\\raw\\pieforms\\adduse...") at 
C:\\ePortfolio\\www\\mahara\\lib\\pieforms\\pieform.php:756, referer: 
http://localhost/mahara/admin/users/search.php
  [Mon Apr 25 21:35:14 2016] [error] [client 127.0.0.1]   * Pieform->build() at 
C:\\ePortfolio\\www\\mahara\\lib\\pieforms\\pieform.php:169, referer: 
http://localhost/mahara/admin/users/search.php
  [Mon Apr 25 21:35:14 2016] [error] [client 127.0.0.1]   * 
Pieform::process(array(size 8)) at 
C:\\ePortfolio\\www\\mahara\\lib\\pieforms\\pieform.php:71, referer: 
http://localhost/mahara/admin/users/search.php
  [Mon Apr 25 21:35:14 2016] [error] [client 127.0.0.1]   * pieform(array(size 
8)) at C:\\ePortfolio\\www\\mahara\\admin\\users\\add.php:156, referer: 
http://localhost/mahara/admin/users/search.php
  [Mon Apr 25 21:35:14 2016] [error] [client 127.0.0.1] , 

[Mahara-contributors] [Bug 1279526] Re: Change default license text in Journal blocktypes

2016-07-19 Thread Son Nguyen
** 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/1279526

Title:
  Change default license text in Journal blocktypes

Status in Mahara:
  Fix Committed

Bug description:
  When viewing a journal entry from a page (eg. by clicking on the title of a 
"Journal entry" block), if licenses are turned on and a license has not been 
selected the text "None selected" appears at the bottom of the page. However, 
there's no indication of context for this message - "None selected" could refer 
to anything.
  It should be made in some way more obvious what this means - the text could 
be hidden entirely if no license is selected, the text could be changed to 
something like "No license has been selected for this journal entry", or a 
"License: " label could be added.

  Affects latest master

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

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


[Mahara-contributors] [Bug 1603332] Re: Make default plugin config styling be "panel panel-body"

2016-07-18 Thread Son Nguyen
** 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/1603332

Title:
  Make default plugin config styling be "panel panel-body"

Status in Mahara:
  Fix Committed

Bug description:
  The plugin config page's page template is basically just this:

  {include header.tpl}
  {$form|safe}
  {include footer.tpl}

  In order for the displayed form to look good, it needs to either be in
  class "panel panel-body", or be made of collapsible fieldsets. All of
  the core plugins are either made of collapsible fieldsets, or have
  "class=panel panel-body" declared at the plugin level, in the
  "get_config_options()" function for each one.

  But third-party plugin developers would have to know to add those two
  classes. Otherwise, the form is displayed directly on top of the page
  background, instead of in a white panel on top of the page background.

  So what we ought to do, is make "panel panel-body" be the default
  class for the plugin configuration page.

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

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


[Mahara-contributors] [Bug 1598962] Re: choose template .tpl needs styling

2016-07-18 Thread Son Nguyen
** 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/1598962

Title:
  choose template .tpl needs styling

Status in Mahara:
  Fix Committed
Status in Mahara 15.10 series:
  Confirmed
Status in Mahara 16.04 series:
  Confirmed

Bug description:
  To test:

  1) On an installed site go to a page's edit screen, and make note if the id 
in the url eg id=50
  2) Via database set that view's theme to something non-existant, eg:

   UPDATE view SET theme = 'thundercats' WHERE id = 50;

  3) Reload the page - you should be taken to a 'choose theme' page

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

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


[Mahara-contributors] [Bug 1593174] Re: Error-Message when trying to edit page-layout

2016-07-18 Thread Son Nguyen
Hi Ulrich;

I could not replicate the issue.
I have installed mahara 16.04.2 on a docker container running Debian 6.0.

Do you have any local code and plugins installed in your mahara code?

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

Title:
  Error-Message when trying to edit page-layout

Status in Mahara:
  New

Bug description:
  I have installed a new Mahara (Version 16.04) on an Hosted Linux-Server
   using a mySQL Database.

  Entering "Portfolio" -> "Pages" -> "Edit Layout" shows following 
error-message (I replaced global server path by "")
  
  Fatal error: Cannot redeclare init_performance_info() (previously declared in 
/mahara/htdocs/init.php:476) in 
/mahara/htdocs/init.php on line 490
  

  Also adding content to the page isn't possible (the same error-message
  can be found in the Console of Firebug when entering
  "/view/blocks.json.php")

  The file "init.php" is included by multiple other files using
  "require" instead of "require_once" or by "include" instead of
  "include_once".

  Is it possible to solve the problem by a apache-configuration?

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

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


[Mahara-contributors] [Bug 1574952] Re: Error with LEAP2A import

2016-07-14 Thread Son Nguyen
Hi Paul,

Can you please check the error log on your Linux production system if
you get the same WARNING message when importing the Leap2a file?

Did you check if the Leap2a was imported even you got the message on you
Windows system?

Thanks
Son

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

Title:
  Error with LEAP2A import

Status in Mahara:
  New

Bug description:
  I have a Mahara 15.10.1 installation running on php-5.3.5 and
  mysql-5.5.9 on a windows system  (its a demonstration/experimental
  system, not a production system)

  Creation of a user works OK.  I have had success with importing LEAP2A
  into an existing user.

  But I have another (larger) LEAP2A file which DOES NOT work, though
  the same LEAP2A file works find on a (Linux) production system.

  Partial error log of two scenarios are as follows ... suggestions
  welcome.

  Attempting to add user via LEAP2A import

  [Mon Apr 25 21:29:06 2016] [error] [client 127.0.0.1] [WAR] 2a 
(theme\\raw\\pieforms\\adduser.php:19) Undefined index: error, referer: 
http://localhost/mahara/admin/users/search.php
  [Mon Apr 25 21:29:06 2016] [error] [client 127.0.0.1] Call stack (most recent 
first):, referer: http://localhost/mahara/admin/users/search.php
  [Mon Apr 25 21:29:06 2016] [error] [client 127.0.0.1]   * 
log_message("Undefined index: error", 8, true, true, 
"C:\\ePortfolio\\www\\mahara\\theme\\raw\\pieforms\\adduse...", 19) at 
C:\\ePortfolio\\www\\mahara\\lib\\errors.php:441, referer: 
http://localhost/mahara/admin/users/search.php
  [Mon Apr 25 21:29:06 2016] [error] [client 127.0.0.1]   * error(8, "Undefined 
index: error", "C:\\ePortfolio\\www\\mahara\\theme\\raw\\pieforms\\adduse...", 
19, array(size 10)) at 
C:\\ePortfolio\\www\\mahara\\theme\\raw\\pieforms\\adduser.php:19, referer: 
http://localhost/mahara/admin/users/search.php
  [Mon Apr 25 21:29:06 2016] [error] [client 127.0.0.1]   * 
require("C:\\ePortfolio\\www\\mahara\\theme\\raw\\pieforms\\adduse...") at 
C:\\ePortfolio\\www\\mahara\\lib\\pieforms\\pieform.php:756, referer: 
http://localhost/mahara/admin/users/search.php
  [Mon Apr 25 21:29:06 2016] [error] [client 127.0.0.1]   * Pieform->build() at 
C:\\ePortfolio\\www\\mahara\\lib\\pieforms\\pieform.php:169, referer: 
http://localhost/mahara/admin/users/search.php
  [Mon Apr 25 21:29:06 2016] [error] [client 127.0.0.1]   * 
Pieform::process(array(size 8)) at 
C:\\ePortfolio\\www\\mahara\\lib\\pieforms\\pieform.php:71, referer: 
http://localhost/mahara/admin/users/search.php
  [Mon Apr 25 21:29:06 2016] [error] [client 127.0.0.1]   * pieform(array(size 
8)) at C:\\ePortfolio\\www\\mahara\\admin\\users\\add.php:156, referer: 
http://localhost/mahara/admin/users/search.php
  [Mon Apr 25 21:29:06 2016] [error] [client 127.0.0.1] , referer: 
http://localhost/mahara/admin/users/search.php

  
  User added manually, LEAP2A then attempted to be imported

  [Mon Apr 25 21:35:14 2016] [error] [client 127.0.0.1] [WAR] 70 
(theme\\raw\\pieforms\\adduser.php:19) Undefined index: error, referer: 
http://localhost/mahara/admin/users/search.php
  [Mon Apr 25 21:35:14 2016] [error] [client 127.0.0.1] Call stack (most recent 
first):, referer: http://localhost/mahara/admin/users/search.php
  [Mon Apr 25 21:35:14 2016] [error] [client 127.0.0.1]   * 
log_message("Undefined index: error", 8, true, true, 
"C:\\ePortfolio\\www\\mahara\\theme\\raw\\pieforms\\adduse...", 19) at 
C:\\ePortfolio\\www\\mahara\\lib\\errors.php:441, referer: 
http://localhost/mahara/admin/users/search.php
  [Mon Apr 25 21:35:14 2016] [error] [client 127.0.0.1]   * error(8, "Undefined 
index: error", "C:\\ePortfolio\\www\\mahara\\theme\\raw\\pieforms\\adduse...", 
19, array(size 10)) at 
C:\\ePortfolio\\www\\mahara\\theme\\raw\\pieforms\\adduser.php:19, referer: 
http://localhost/mahara/admin/users/search.php
  [Mon Apr 25 21:35:14 2016] [error] [client 127.0.0.1]   * 
require("C:\\ePortfolio\\www\\mahara\\theme\\raw\\pieforms\\adduse...") at 
C:\\ePortfolio\\www\\mahara\\lib\\pieforms\\pieform.php:756, referer: 
http://localhost/mahara/admin/users/search.php
  [Mon Apr 25 21:35:14 2016] [error] [client 127.0.0.1]   * Pieform->build() at 
C:\\ePortfolio\\www\\mahara\\lib\\pieforms\\pieform.php:169, referer: 
http://localhost/mahara/admin/users/search.php
  [Mon Apr 25 21:35:14 2016] [error] [client 127.0.0.1]   * 
Pieform::process(array(size 8)) at 
C:\\ePortfolio\\www\\mahara\\lib\\pieforms\\pieform.php:71, referer: 
http://localhost/mahara/admin/users/search.php
  [Mon Apr 25 21:35:14 2016] [error] [client 127.0.0.1]   * pieform(array(size 
8)) at C:\\ePortfolio\\www\\mahara\\admin\\users\\add.php:156, referer: 
http://localhost/mahara/admin/users/search.php
  [Mon Apr 25 21:35:14 2016] [error] [client 

[Mahara-contributors] [Bug 1602452] [NEW] Replace PEAR/Archive/Tar by Phar

2016-07-12 Thread Son Nguyen
Public bug reported:

Version: master (16.10)

We can use PHP Phar to replace PEAR/Archive/Tar library for
ArtefactTypeArchive.

** Affects: mahara
 Importance: Undecided
 Assignee: Son Nguyen (ngson2000)
 Status: 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/1602452

Title:
  Replace PEAR/Archive/Tar by Phar

Status in Mahara:
  In Progress

Bug description:
  Version: master (16.10)

  We can use PHP Phar to replace PEAR/Archive/Tar library for
  ArtefactTypeArchive.

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

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


[Mahara-contributors] [Bug 1234615] Re: Not checking artefact permissions before exporting

2016-07-11 Thread Son Nguyen
** Changed in: mahara/15.04
   Status: Fix Committed => 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/1234615

Title:
  Not checking artefact permissions before exporting

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

Bug description:
  In https://bugs.launchpad.net/bugs/1211758 , the reporter mentioned
  that in addition to embedding other users' artefacts in your pages,
  you could export them to view their full content:

  #3: Export function allows arbitrary file download
  Using the technique above you can get a 1024x1024 'thumbnail' of any users 
arbitrary file. Simply use the export function on a page like the one above 
where other users images are embedded. Make sure the embedded images max-size 
is set to 1024 and it will appear within /files/extra.

  There is an obvious fix for this issue, of checking
  $USER->can_publish_artefac()t or $USER->can_view_artefact() on each
  artefact before exporting it. But when Robert tested this fix, he
  found that it was too resource-intensive (as part of the already
  resource-intensive export process) for it to work while exporting an
  average-sized portfolio.

  Since fixing the embedding of other users' data mitigates the risk
  from this issue and was easier to accomplish, I've released that fix
  and spun this one off into a separate bug to fix when we're able.

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

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


[Mahara-contributors] [Bug 1582967] Re: Comment deletion forms & buttons with non-unique IDs

2016-07-11 Thread Son Nguyen
** Changed in: mahara/15.04
   Status: Fix Committed => 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/1582967

Title:
  Comment deletion forms & buttons with non-unique IDs

Status in Mahara:
  Fix Committed
Status in Mahara 15.04 series:
  Fix Released
Status in Mahara 15.10 series:
  Fix Released
Status in Mahara 16.04 series:
  Fix Released
Status in Mahara 16.10 series:
  Fix Committed

Bug description:
  While working on Bug 1580499, I noticed that the forms and buttons for
  comment deletion all have the same ID. This specifically gets in the
  way of me using their IDs for some workarounds in the Behat tests, but
  also it's just bad HTML. According to the HTML spec, the "ID"
  attribute is meant to be unique in the whole page.

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

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


[Mahara-contributors] [Bug 1588599] Re: PHP 7 unrecoverable errors in 16.04

2016-07-11 Thread Son Nguyen
** Changed in: mahara/15.04
   Status: Fix Committed => 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/1588599

Title:
  PHP 7 unrecoverable errors in 16.04

Status in Mahara:
  Fix Committed
Status in Mahara 15.04 series:
  Fix Released
Status in Mahara 15.10 series:
  Fix Released
Status in Mahara 16.04 series:
  Fix Released
Status in Mahara 16.10 series:
  Fix Committed

Bug description:
  I am porting my working instance of mahara 16.04 (debian, php 5.5) to
  a new server (ubuntu 16.04, php 7.04, using git for installation).
  Just by chance I stumble upon some crashes which seem to be related to
  using deprecated PHP functions. At this time I found (and easily
  repaired) the following files needing fixing for PHP 7:

  root@QSKW001:/var/www/mahara# git status
  On branch 16.04_STABLE
  Your branch is up-to-date with 'origin/16.04_STABLE'.
  Changes not staged for commit:
(use "git add ..." to update what will be committed)
(use "git checkout -- ..." to discard changes in working directory)

modified:   htdocs/lib/antispam/SimpleSpamTrap.php
modified:   htdocs/module/multirecipientnotification/inbox.php
modified:   
htdocs/module/multirecipientnotification/lib/activityextend.php
modified:   htdocs/module/multirecipientnotification/outbox.php

  the first one needing preg_match instead of eregi

  diff lib/antispam/SimpleSpamTrap.php 
../../mahara-16.04.0/htdocs/lib/antispam/SimpleSpamTrap.php
  25c25
  < if (preg_match("/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i", 
$email)) {
  ---
  > if (eregi("^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$", $email)) {

  while the other ones simply needed explode instead of split, e.g.:

  root@QSKW001:/var/www/mahara# diff 
htdocs/module/multirecipientnotification/inbox.php 
../mahara-16.04.0/htdocs/module/multirecipientnotification/inbox.php
  78c78
  < explode(',', $type),
  ---
  > split(',', $type),
  179c179
  < $types = explode(',', preg_replace('/[^a-z,]+/', '', $type));
  ---
  > $types = split(',', preg_replace('/[^a-z,]+/', '', $type));

  These are just quick hacks by me working up to now.

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

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


[Mahara-contributors] [Bug 1581227] Re: PHP Fatal error: Call to undefined function log_()

2016-07-11 Thread Son Nguyen
** Changed in: mahara/15.04
   Status: Fix Committed => 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/1581227

Title:
  PHP Fatal error:  Call to undefined function log_()

Status in Mahara:
  Fix Committed
Status in Mahara 15.04 series:
  Fix Released
Status in Mahara 15.10 series:
  Fix Released
Status in Mahara 16.04 series:
  Fix Released
Status in Mahara 16.10 series:
  Fix Committed

Bug description:
  If we don't have the behat config vars set we end up with this error

  PHP Fatal error:  Call to undefined function log_()

  It should be using a log_debug() for the message - I'll fix up

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

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


[Mahara-contributors] [Bug 1582039] Re: Submitted portfolios don't appear in group pages block automatically

2016-07-11 Thread Son Nguyen
** Changed in: mahara/15.04
   Status: Fix Committed => 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/1582039

Title:
  Submitted portfolios don't appear in group pages block automatically

Status in Mahara:
  Fix Committed
Status in Mahara 15.04 series:
  Fix Released
Status in Mahara 15.10 series:
  Fix Released
Status in Mahara 16.04 series:
  Fix Released
Status in Mahara 16.10 series:
  Fix Committed

Bug description:
  Similar to bug #1558246

  To test

  1. Set up a group and allow submissions.
  2. As a regular group member, submit a page or portfolio.
  3. 
  - Expected result: When logged in as admin, you should see the submitted 
portfolio on the group homepage. 
  - Actual result: That part of the group pages block is not displayed. You 
need to go into the block config and click the "Save" button (without making 
any changes as submitted portfolios is already on "Yes" per default) and 
suddenly they appear.

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

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


[Mahara-contributors] [Bug 1592276] Re: Still SSRF vulnerability in external feed

2016-07-11 Thread Son Nguyen
** Changed in: mahara/15.04
   Status: Fix Committed => 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/1592276

Title:
  Still SSRF vulnerability in external feed

Status in Mahara:
  Fix Committed
Status in Mahara 15.04 series:
  Fix Released
Status in Mahara 15.10 series:
  Fix Released
Status in Mahara 16.04 series:
  Fix Released

Bug description:
  While taking another look at Bug 1397736 (SafeCURL) and Bug 1394820
  (SSRF in external feed) I realized there are some problems with the
  patch https://reviews.mahara.org/4029 that I filed for the SSRF bug.

  As a refresher here, the idea is that an attacker can do this:

  1. Log in to Mahara
  2. Create a page
  3. Put an "External Feed" block on the page
  4. Set the "Feed location" to "localhost:389"

  Expected result: This meaningless URL does nothing, and the block
  config harmlessly errors out and asks them for a valid URL.

  Actual result: They see an error message that tells them whether the
  web server has port 389 (unencrypted LDAP) open or not. If the error
  they see ends with "Recv failure: Connection reset by peer", they know
  the web server has a process listening on 389. If they see "Failed to
  connect to... Connection refused" they know it is not.

  It's called an SSRF (Server Side Request Forgery) attack (
  http://www.acunetix.com/blog/articles/server-side-request-forgery-
  vulnerability/ ). As Hugh pointed out on that bug, the biggest problem
  with this vulnerability is that a user can use it to scan the network
  the web server is on, checking for machine names, IP addresses, and
  port numbers.

  My patch 4029 was to add the "CURLOPT_PROTOCOLS" option to our Curl
  requests. This has the main effect of preventing an attacker from
  using an HTTP redirect to make Curl send a request to a non-HTTP
  protocol. But it doesn't at all mitigate all the information-gathering
  attacks, because it only limits the protocol section of the URL (i.e.
  "https://;) and the structure of the request Curl makes. Crucially, it
  does not limit the port of the URL, you can still enter
  "http://localhost:389;.

  As such, it didn't mitigate any of those information-gathering
  attacks.

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

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


[Mahara-contributors] [Bug 1599404] Re: The function "get_mahara_install_subdirectory" doesn't correctly handle a URL with a missing trailing slash

2016-07-11 Thread Son Nguyen
** Changed in: mahara/15.04
   Status: Fix Committed => 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/1599404

Title:
  The function "get_mahara_install_subdirectory" doesn't correctly
  handle a URL with a missing trailing slash

Status in Mahara:
  Fix Committed
Status in Mahara 15.04 series:
  Fix Released
Status in Mahara 15.10 series:
  Fix Released
Status in Mahara 16.04 series:
  Fix Released

Bug description:
  One of the causes of Bug 1592236 was that
  get_mahara_install_subdirectory() doesn't correctly handle a wwwroot
  with a missing trailing slash. If you set your wwwroot to e.g.
  "http://www.example.com;, it will return "www.example.com".

  This rarely affects anything because fairly early in init.php we
  rectify $CFG->wwwroot to add the missing trailing slash if it's
  missing. But if we need to call it before that point it can cause
  subtle problems, so we may as well fix it.

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

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


[Mahara-contributors] [Bug 1578512] Re: Escape filenames with quotes in them, in Content-Disposition:attachment headers

2016-07-11 Thread Son Nguyen
** Changed in: mahara/15.04
   Status: Fix Committed => 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/1578512

Title:
  Escape filenames with quotes in them, in Content-
  Disposition:attachment headers

Status in Mahara:
  Fix Committed
Status in Mahara 15.04 series:
  Fix Released
Status in Mahara 15.10 series:
  Fix Released
Status in Mahara 16.04 series:
  Fix Released
Status in Mahara 16.10 series:
  Fix Committed

Bug description:
  If you give a file in Mahara a name that has doublequotes in it and
  try to download it, your browser will name the download "download.php"
  instead of the correct file name. This is because we're not properly
  escaping the double quotes in the filenames in the "Content-
  Disposition" header.

  In fact, in the relevant code in htdocs/lib/file.php, there's a note
  from 2007: "@todo possibly need addslashes on the filename, but I'm
  unsure on exactly how the browsers will handle it."

  Well, I tracked it down to the RFCs recently to find out the right
  format for this. The Content-Disposition header's usage in HTTP
  headers is defined in RFC 6266:
  https://tools.ietf.org/html/rfc6266#section-4.1 . The filename there
  is defined to be a "quoted-string". The format of quoted-string is
  defined in RFC2616: https://tools.ietf.org/html/rfc2616#section-2.2
  There, it says that if your quoted string contains double quotes, you
  can escape them with a single backslash.

  So there you go. We just need to replace any " in the filename with \"

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

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


[Mahara-contributors] [Bug 1598974] Re: Mahara as MNet IDP breaks because of longer session ids

2016-07-11 Thread Son Nguyen
** Changed in: mahara/15.04
   Status: Fix Committed => 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/1598974

Title:
  Mahara as MNet IDP breaks because of longer session ids

Status in Mahara:
  Fix Committed
Status in Mahara 15.04 series:
  Fix Released
Status in Mahara 15.10 series:
  Fix Released
Status in Mahara 16.04 series:
  Fix Released
Status in Mahara 16.10 series:
  Fix Committed

Bug description:
  When you use Mahara as the MNet identity provider, it tries to store
  the user's session id in the "sso_session.sessionid" database column.
  This column is 40 characters, because we were previously using SHA-1
  based sessionids, which are 40 characters. When we switched to
  SHA-256, the sessionids expanded to 64 characters, which causes it to
  crash.

  To replicate:

  1. Set up MNet between Moodle and Mahara, with Mahara as the identity 
provider.
  2. Log in to Mahara.
  3. In the sideblock, click on the link to roam over to Moodle

  Expected result: You roam over to Moodle
  Actual result: It crashes with this error message:

  [WAR] d8 (lib/errors.php:796) Failed to get a recordset: postgres8 error: 
[-1: ERROR:  value too long for type character varying(40)] in EXECUTE("INSERT 
INTO "sso_session" ("userid", "instanceid", "username", "useragent", "token", 
"confirmtimeout", "expires", "sessionid") VALUES (?, ?, ?, ?, ?, ?, ?, ?)")
  Command was: INSERT INTO "sso_session" ("userid", "instanceid", "username", 
"useragent", "token", "confirmtimeout", "expires", "sessionid") VALUES (?, ?, 
?, ?, ?, ?, ?, ?) and values was 
(userid:1,instanceid:2,username:admin,useragent:3628ed27e34fdc54e674d6a3b4a24c71208a600d,token:9d1b2dcf6adf3ab284b3940113ef76f0513eca93,confirmtimeout:1467678764,expires:1467765149,sessionid:a63792d82ed3538d731018873581817c7214a7ea94e4379316161a0b8c773a7c)
  Call stack (most recent first):

  log_message("Failed to get a recordset: postgres8 error: [-1: E...", 8, 
true, true) at /home/aaronw/www/mahara/htdocs/lib/errors.php:95
  log_warn("Failed to get a recordset: postgres8 error: [-1: E...") at 
/home/aaronw/www/mahara/htdocs/lib/errors.php:796
  SQLException->__construct("Failed to get a recordset: postgres8 error: 
[-1: E...") at /home/aaronw/www/mahara/htdocs/lib/dml.php:1088
  insert_record("sso_session", object(stdClass)) at 
/home/aaronw/www/mahara/htdocs/api/xmlrpc/lib.php:93
  start_jump_session(object(Peer), "2", "") at 
/home/aaronw/www/mahara/htdocs/auth/xmlrpc/jump.php:53

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

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


[Mahara-contributors] [Bug 1558246] Re: Shared collections in a group don't display for the admins

2016-07-11 Thread Son Nguyen
** Changed in: mahara/15.04
   Status: Fix Committed => 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/1558246

Title:
  Shared collections in a group don't display for the admins

Status in Mahara:
  Fix Released
Status in Mahara 15.04 series:
  Fix Released
Status in Mahara 15.10 series:
  Fix Released

Bug description:
  Hi guys!

  I don't know if this is a regression from 1.10, but we found a major
  bug in our 15.04.5 Mahara. In short, when members in a group submit
  their collections, the admins of that group cannot see them. I
  attached a screenshot for you to see. I also tested in a vanilla
  15.04.5 installation in order to be sure and I was still able to
  reproduce the bug.

  So, here are the steps to make it happen:

  *This test requires you to have an evaluation group with at least one
  member, at least 1 collection.

  1. Go into the group as admin
  2. Submit a collection
  3. Check if the collection appears under the "Collections shared with this 
group" title
  4. Now, with a member of that same group, follow the same steps.

  Result: The collections are never listed under the "Collections shared
  with this group".

  
  As always, thanks for your help!

  Melvin

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

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


[Mahara-contributors] [Bug 1583435] Re: Make it easier to run one specific feature file

2016-07-11 Thread Son Nguyen
** Changed in: mahara/15.04
   Status: Fix Committed => 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/1583435

Title:
  Make it easier to run one specific feature file

Status in Mahara:
  Fix Committed
Status in Mahara 15.04 series:
  Fix Released
Status in Mahara 15.10 series:
  Fix Released
Status in Mahara 16.04 series:
  Fix Released
Status in Mahara 16.10 series:
  Fix Committed

Bug description:
  Currently if automated tests fail and I want to re-run just one
  specific feature file, I have to manually edit the file, add "@debug"
  to it, and then tell our mahara_behat.sh script to look for that
  @debug tag. This is kind of annoying, and there's a tendency to
  accidentally leave those @debug tags there when committing.

  There's an easier way! The underlying behat command script,
  external/vendor/bin/behat, will accept a filename and only run the
  tests under that file. We can adapt our utility script to use that
  *or* a tag.

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

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


[Mahara-contributors] [Bug 1600069] Re: See other's profile images one is not meant to

2016-07-11 Thread Son Nguyen
** Changed in: mahara/15.04
   Status: Fix Committed => 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/1600069

Title:
  See other's profile images one is not meant to

Status in Mahara:
  Fix Committed
Status in Mahara 15.04 series:
  Fix Released
Status in Mahara 15.10 series:
  Fix Released
Status in Mahara 16.04 series:
  Fix Released

Bug description:
  As part of the follow on from this bug:
  https://bugs.launchpad.net/mahara/+bug/1211758

  I notice that it is possible to see profile images of other users that
  one isn't meant to.

  Demo:
  Login as User A and upload two profile icons - set one to be default
  make note of the artefact id's

  Login as User B then go to the url:

  thumb.php?type=profileiconbyid=150=[id from above]

  You should only be allowed to see the icon that is set to the default
  icon but you can see both

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

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


[Mahara-contributors] [Bug 1577258] Re: More PHP7 compatibility problems with function parameters

2016-07-11 Thread Son Nguyen
** Changed in: mahara/15.04
   Status: Fix Committed => 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/1577258

Title:
  More  PHP7 compatibility problems with function parameters

Status in Mahara:
  Fix Committed
Status in Mahara 15.04 series:
  Fix Released
Status in Mahara 15.10 series:
  Fix Released
Status in Mahara 16.04 series:
  Fix Released
Status in Mahara 16.10 series:
  Fix Committed

Bug description:
  Some places that were missed for bug 1575955

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

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


[Mahara-contributors] [Bug 1354222] Re: Files within a group aren't deleted after deleting the group

2016-07-11 Thread Son Nguyen
** Changed in: mahara/15.04
   Status: Fix Committed => 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/1354222

Title:
  Files within a group aren't deleted after deleting the group

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

Bug description:
  If you create a group that contains any files (e.g. image, file) and
  then delete that group you should see a warning message. In addition,
  the files are not deleted although the group is (or marked as deleted)

  To reproduce (Mahara master):

  1.- Click on the 'Group' tab and create a group
  2.- Click on the 'Files' tab and add a file or image
  3.- Delete the group and you should see the warning. To check that the added 
files/images weren't deleted you can check out the 'artefact_file_files' table.

  Is this a bug or is it an intended behaviour? If it is a bug I could
  provide a patch for review.

  
  Cheers,
  Moises

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

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


[Mahara-contributors] [Bug 1600668] Re: Google drive folders no longer work in Google Apps block

2016-07-11 Thread Son Nguyen
** Changed in: mahara/15.04
   Status: Fix Committed => 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/1600668

Title:
  Google drive folders no longer work in Google Apps  block

Status in Mahara:
  Fix Committed
Status in Mahara 15.04 series:
  Fix Released
Status in Mahara 15.10 series:
  Fix Released
Status in Mahara 16.04 series:
  Fix Released

Bug description:
  Related to Bug 1600665, while testing out all the different Google
  media in the Google Apps block, I noticed that Google "collections" no
  longer work.

  Based on context, and comments in the code, I assume the "Google
  collections" referred to in the Mahara manual (
  http://manual.mahara.org/en/16.04/blocks/external.html#google-apps )
  are actually Google Docs/Drive folders, and *not* Google Plus
  collections. This was a stumbling block at first, because the
  Docs/Drive folders are now called folders, rather than collections.
  And, from the code, it appears we've never supported embedding Google
  Plus collections.

  Anyway, to replicate:

  1. Create a Google Drive folder, like so:

  1a. Log in to drive.google.com

  1b. Click "New" and then "Folder" to create a new folder.

  1c. It will now navigate you into the new folder, so in the nav bar
  underneath the search bar, you should see "My Drive > Untitled folder"
  or whatever you named your folder.

  1d. In that nav bar, click the little triangle next to your folder's
  name on "My Drive > Untitled folder". This will open up a menu of
  options. Select "Get shareable link", and you should get a URL like
  this: https://drive.google.com/open?id=0BxaMLoyk4oT_N0ZNQWQtYUUyYjA

  1e. Alternately, click the little triangle and select "Share", and
  copy the link there, which will be like this:
  
https://drive.google.com/folderview?id=0BxaMLoyk4oT_N0ZNQWQtYUUyYjA=sharing

  2. Log in to Mahara

  3. Put a Google Apps block into a page

  4. Paste the link from Google Drive into the block.

  Expected result: The block displays a folder icon, which if clicked,
  is a link to the folder.

  Actual result: You see this error message in the block: "Unable to
  parse embedded code or URL:
  
https://drive.google.com/folderview?id=0BxaMLoyk4oT_N0ZNQWQtYUUyYjA=sharing
  "

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

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


[Mahara-contributors] [Bug 1578995] Re: In the skin module the background position of the image cannot be translated

2016-07-11 Thread Son Nguyen
** Changed in: mahara/15.04
   Status: Fix Committed => 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/1578995

Title:
  In the skin module the background position of the image cannot be
  translated

Status in Mahara:
  Fix Committed
Status in Mahara 15.04 series:
  Fix Released
Status in Mahara 15.10 series:
  Fix Released
Status in Mahara 16.04 series:
  Fix Released
Status in Mahara 16.10 series:
  Fix Committed

Bug description:
  Go to Portfolio > Skins
  Click on the Edit button to edit a skin
  Click on Background tab

  The position for the background image are in English with the French
  langpack

  Top left, Left, Bottom left, etc.

  -dajan

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

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


[Mahara-contributors] [Bug 1580399] Re: Users can login to suspended institutions via external auth under some circumstances

2016-07-11 Thread Son Nguyen
** Changed in: mahara/15.04
   Status: Fix Committed => 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/1580399

Title:
  Users can login to suspended institutions via external auth under some
  circumstances

Status in Mahara:
  Fix Committed
Status in Mahara 15.04 series:
  Fix Released
Status in Mahara 15.10 series:
  Fix Released
Status in Mahara 16.04 series:
  Fix Released

Bug description:
  The problem is this:

  The code that checks if the user's authinstance is from a suspended
  institution, is in LiveUser->login(). This is the method used by the
  username/password login box.

  But if you login with an auth method that doesn't use the login box,
  say SAML, XMLRPC, Shibboleth, you don't hit that check.

  
  We need to move the check into the "ensure_user_account_is_active()" method 
in auth/lib.php which is already called at the start of 
LiveUser->authenticate() so we should update that to make sure it checks that 
their auth institution isn't suspended and (maybe) remove the redundant code 
from LiveUser->login()

  
  See also https://bugs.launchpad.net/mahara/+bug/903534 for some more 
information about this issue
  That bug report is public but I'll mark this as private as it mentions the 
attack vector

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

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


[Mahara-contributors] [Bug 1579999] Re: PHP Fatal error: Class 'Session' not found

2016-07-11 Thread Son Nguyen
** Changed in: mahara/15.04
   Status: Fix Committed => 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/157

Title:
  PHP Fatal error:  Class 'Session' not found

Status in Mahara:
  Fix Committed
Status in Mahara 15.04 series:
  Fix Released
Status in Mahara 15.10 series:
  Fix Released
Status in Mahara 16.04 series:
  Fix Released
Status in Mahara 16.10 series:
  Fix Committed

Bug description:
  I get this error PHP Fatal error:  Class 'Session' not found in
  htdocs/lib/errors.php on line 128

  I believe it is due the the require_once not pointing to the correct
  file

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

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


[Mahara-contributors] [Bug 1084336] Re: mnet: mahara doesn't implement kill_child which results in not being logged out when logged out from a remote IdP over mnet

2016-07-11 Thread Son Nguyen
** Changed in: mahara/15.04
   Status: Fix Committed => 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/1084336

Title:
  mnet: mahara doesn't implement kill_child which results in not being
  logged out when logged out from a remote IdP over mnet

Status in Mahara:
  Fix Committed
Status in Mahara 15.04 series:
  Fix Released
Status in Mahara 15.10 series:
  Fix Released
Status in Mahara 16.04 series:
  Fix Released

Bug description:
  When Mahara is doing SSO via MNet, with a remote IdP, it ought to log
  you out of Mahara when you log out of the IdP. MNet allows for this
  via the "kill_child" API method, which the IdP will call for each
  connected service provider to tell it to log a user out.

  Mahara never implemented this method, so it doesn't log you out
  properly when you log out of the IdP.

  To replicate:

  1. Set up MNet between a Moodle & Mahara site, with Moodle as the identity 
provider (i.e. users log in to Moodle and then roam over to Mahara)
  2. Log in to Moodle
  3. Roam over to Mahara
  4. Open up Moodle in another tab.
  5. Log out of Moodle.
  6. Go back to the tab with Mahara and try to navigate around in the site.

  Expected result: You can't navigate around because you're logged out
  of Mahara

  Actual result: You are not logged out of Mahara

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

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


[Mahara-contributors] [Bug 1577259] Re: PHP7 fixing dwoo dynamic property references

2016-07-11 Thread Son Nguyen
** Changed in: mahara/15.04
   Status: Fix Committed => 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/1577259

Title:
  PHP7 fixing dwoo dynamic property references

Status in Mahara:
  Fix Committed
Status in Mahara 15.04 series:
  Fix Released
Status in Mahara 15.10 series:
  Fix Released
Status in Mahara 16.04 series:
  Fix Released
Status in Mahara 16.10 series:
  Fix Committed

Bug description:
  Where dynamic property references have changed in php7 - you need to
  enclose the variable reference name in {} completely.  eg: $data =
  $data->$m[2][$k] has become $data = $data->{$m[2][$k]}

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

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


[Mahara-contributors] [Bug 1508684] Re: Unserialize untrusted data when importing skins

2016-07-11 Thread Son Nguyen
** Changed in: mahara/15.04
   Status: Fix Committed => 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/1508684

Title:
  Unserialize untrusted data when importing skins

Status in Mahara:
  Fix Committed
Status in Mahara 15.04 series:
  Fix Released
Status in Mahara 15.10 series:
  Fix Released
Status in Mahara 16.04 series:
  Fix Released

Bug description:
  Version: 1.10, 15.04. 15.10, master
  Platform: any

  There is a unserialize vulnerability in skin import function

  see line 200 in htdocs/skin/import.php

  When importing the attached skin, you will see the error:

  [WAR] ce (lib/web.php:3684) Object of class __PHP_Incomplete_Class could not 
be converted to string
  Call stack (most recent first):
  log_message("Object of class __PHP_Incomplete_Class could not b...", 8, true, 
true, "/var/www/mahara/master/htdocs/lib/web.php", 3684) at 
/var/www/mahara/master/htdocs/lib/errors.php:441
  error(4096, "Object of class __PHP_Incomplete_Class could not b...", 
"/var/www/mahara/master/htdocs/lib/web.php", 3684, array(size 5)) at 
/var/www/mahara/master/htdocs/lib/web.php:3684
  clean_css(object(__PHP_Incomplete_Class), true) at 
/var/www/mahara/master/htdocs/skin/import.php:200
  importskinform_submit(object(Pieform), array(size 4)) at Unknown:0
  call_user_func_array("importskinform_submit", array(size 2)) at 
/var/www/mahara/master/htdocs/lib/pieforms/pieform.php:537
  Pieform->__construct(array(size 4)) at 
/var/www/mahara/master/htdocs/lib/pieforms/pieform.php:164
  Pieform::process(array(size 4)) at 
/var/www/mahara/master/htdocs/lib/pieforms/pieform.php:71
  pieform(array(size 4)) at /var/www/mahara/master/htdocs/skin/import.php:64

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

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


[Mahara-contributors] [Bug 1588613] Re: Mahara not respecting session lifetime setting from admin config page

2016-07-11 Thread Son Nguyen
** Changed in: mahara/15.04
   Status: Fix Committed => 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/1588613

Title:
  Mahara not respecting session lifetime setting from admin config page

Status in Mahara:
  Fix Committed
Status in Mahara 15.04 series:
  Fix Released
Status in Mahara 15.10 series:
  Fix Released
Status in Mahara 16.04 series:
  Fix Released
Status in Mahara 16.10 series:
  Fix Committed

Bug description:
  It seems that after the last round of session fixing bugs, Mahara no
  longer respects the session lifetime setting that the admin can set on
  the site configuration page.

  This setting is stored in the database config table as
  "session_timeout". It's then retrieved from the database during
  session setup, and loaded into the "session.gc_maxlifetime" ini value.

  The problem is, we are now initiating the session *before* we launch
  the database connection. So when we are setting
  session.gc_maxlifetime, session_timeout isn't available, and instead
  we use the default value of 1440 seconds = 24 minutes.

  The quick workaround is to add your session_timeout setting to your
  config.php:

  $cfg->session_timeout = 14400; // session timeout of 4 hours

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

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


[Mahara-contributors] [Bug 1587474] Re: No indents forum reply fails when the last post has been deleted

2016-07-11 Thread Son Nguyen
** Changed in: mahara/15.04
   Status: Fix Committed => 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/1587474

Title:
  No indents forum reply fails when the last post has been deleted

Status in Mahara:
  Fix Committed
Status in Mahara 15.04 series:
  Fix Released
Status in Mahara 15.10 series:
  Fix Released
Status in Mahara 16.04 series:
  Fix Released
Status in Mahara 16.10 series:
  Fix Committed

Bug description:
  When a 'Forum indent mode' is set to 'No indents', the 'Reply' button tries 
to create a reply to the last post and it fails when the last post has been 
deleted
  (see screenshots attached)

  Tested on Mahara 1.10 and 16.04

  Probably related to https://bugs.launchpad.net/mahara/+bug/1328388
  where the individual reply buttons for posts have been removed.

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

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


[Mahara-contributors] [Bug 1592236] Re: Sessions: constantly asked to log in to access the Users Admin screen

2016-07-11 Thread Son Nguyen
** Changed in: mahara/15.04
   Status: Fix Committed => 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/1592236

Title:
  Sessions: constantly asked to log in to access the Users Admin screen

Status in Mahara:
  Fix Committed
Status in Mahara 15.04 series:
  Fix Released
Status in Mahara 15.10 series:
  Fix Released
Status in Mahara 16.04 series:
  Fix Released
Status in Mahara 16.10 series:
  Fix Committed

Bug description:
  Mahara: 16.04.1
  DB: Postgres
  OS: Linux
  Browser: Firefox

  
  I think there may be something funny with sessions happening. When the 
session times out (it's currently set to 2 hours) and I'm on the 
/admin/users/search.php, I think it doesn't correctly update the session once I 
log in again.

  This is what I think the steps are to reproduce it:
  1. leave screen on /admin/users/search.php

  2. have the session time out

  3. try to do something on the screen (i.e. search for a user)

  4. It will redirect to the login screen.

  5. Login correctly

  6. user search screen is displayed.

  7. click on the Configure Site menu link

  8. Click back on the Users menu link

  9. It will ask you to log back in again.

  
  It seems to only happen on the Users (and Group - I think) menu links.

  Thanks.

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

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


[Mahara-contributors] [Bug 1598648] Re: Can not delete the first comment in every page of view comments in pagination mode

2016-07-03 Thread Son Nguyen
This is the problem of processing submitted variable when click an image
input.

When the first delete image is clicked, the variable
'delete_comment_submit' is submitted. For following delete images, 2
variables 'delete_comment_submit_x' and 'delete_comment_submit_y' are
submitted.

Quick fix:
 at the line 93 of htdocs/view/view.php, add one more checking for 
'delete_comment_submit'

 if (param_variable('delete_comment_submit_x', null)
|| param_variable('delete_comment_submit', null)) {
pieform(ArtefactTypeComment::delete_comment_form(param_integer('comment')));
 }

Better fix:
 Use a hidden input.

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

Title:
  Can not delete the first comment in every page of view comments in
  pagination mode

Status in Mahara:
  Confirmed

Bug description:
  Version: 15.04

  Steps to reproduce the issue:

  1. Create a page
  2. Add more than 10 comments on this page
  3. You will see 2 pages of the list
  4. Go to the last page, click delete button of the first comment

  Expected result
   You should see "Comment removed by ..." for the first comment.
  Actual result
   You still see the comment.

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

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


[Mahara-contributors] [Bug 1598648] [NEW] Can not delete the first comment in every page of view comments in pagination mode

2016-07-03 Thread Son Nguyen
Public bug reported:

Version: 15.04

Steps to reproduce the issue:

1. Create a page
2. Add more than 10 comments on this page
3. You will see 2 pages of the list
4. Go to the last page, click delete button of the first comment

Expected result
 You should see "Comment removed by ..." for the first comment.
Actual result
 You still see the comment.

** Affects: mahara
 Importance: Undecided
 Status: Confirmed

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

Title:
  Can not delete the first comment in every page of view comments in
  pagination mode

Status in Mahara:
  Confirmed

Bug description:
  Version: 15.04

  Steps to reproduce the issue:

  1. Create a page
  2. Add more than 10 comments on this page
  3. You will see 2 pages of the list
  4. Go to the last page, click delete button of the first comment

  Expected result
   You should see "Comment removed by ..." for the first comment.
  Actual result
   You still see the comment.

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

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


[Mahara-contributors] [Bug 1595123] Re: Mark suspended / expired accounts in User Search in admin area

2016-07-03 Thread Son Nguyen
** 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/1595123

Title:
  Mark suspended / expired accounts in User Search in admin area

Status in Mahara:
  Fix Committed

Bug description:
  When you are on the user search page in the admin area
  (/admin/users/search.php), there is no indicator whether an account is
  suspended or expired. It would be good to show these in a different
  shaded background or with another visual indicator that is more
  accessible so administrators see quickly that these are not active
  accounts.

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

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


[Mahara-contributors] [Bug 1583428] Re: Shorten "Confirm registration" description and add help file

2016-06-30 Thread Son Nguyen
** 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/1583428

Title:
  Shorten "Confirm registration" description and add help file

Status in Mahara:
  Fix Committed

Bug description:
  The description for Config site -> Institution settings -> Confirm
  registration is very long. We'll shorten it and add a help file
  providing additional information.

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

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


[Mahara-contributors] [Bug 1027739] Re: Copy block config of tagged journal entries block

2016-06-30 Thread Son Nguyen
** 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/1027739

Title:
  Copy block config of tagged journal entries block

Status in Mahara:
  Fix Committed

Bug description:
  This is a follow-up from https://reviews.mahara.org/#/c/1072/ for
  milestone 1.6

  Add block copy permission selector

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

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


[Mahara-contributors] [Bug 1593174] Re: Error-Message when trying to edit page-layout

2016-06-27 Thread Son Nguyen
Hi Ulrich;

I installed a fresh mahara 16.04.0 site on Ubuntu 14.04, Apache 2.4, Php 5.5, 
and MySQL 5.5.
I did not see any error when editing a page layout or page content.

Can you please give more info about your linux server?

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

Title:
  Error-Message when trying to edit page-layout

Status in Mahara:
  New

Bug description:
  I have installed a new Mahara (Version 16.04) on an Hosted Linux-Server
   using a mySQL Database.

  Entering "Portfolio" -> "Pages" -> "Edit Layout" shows following 
error-message (I replaced global server path by "")
  
  Fatal error: Cannot redeclare init_performance_info() (previously declared in 
/mahara/htdocs/init.php:476) in 
/mahara/htdocs/init.php on line 490
  

  Also adding content to the page isn't possible (the same error-message
  can be found in the Console of Firebug when entering
  "/view/blocks.json.php")

  The file "init.php" is included by multiple other files using
  "require" instead of "require_once" or by "include" instead of
  "include_once".

  Is it possible to solve the problem by a apache-configuration?

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

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


[Mahara-contributors] [Bug 1535989] Re: Upgrade Pear plugin to 1.10.1

2016-06-22 Thread Son Nguyen
PEAR/Log is only used in FeedReader and Tar. We can remove it after
replacing 1 and 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/1535989

Title:
  Upgrade Pear plugin to 1.10.1

Status in Mahara:
  In Progress

Bug description:
  Keeping plugins up to date.

  I note there is a xmlparser.php  included in this - maybe we don't
  need the other xmlparser anymore?

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

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


[Mahara-contributors] [Bug 1535989] Re: Upgrade Pear plugin to 1.10.1

2016-06-20 Thread Son Nguyen
1) I will use PHP XML library (http://www.php.net/xml) to replace the 
PEAR::XML_Feed_Parser
I created a new bug for this https://bugs.launchpad.net/mahara/+bug/1594615

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

Title:
  Upgrade Pear plugin to 1.10.1

Status in Mahara:
  In Progress

Bug description:
  Keeping plugins up to date.

  I note there is a xmlparser.php  included in this - maybe we don't
  need the other xmlparser anymore?

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

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


[Mahara-contributors] [Bug 1594615] [NEW] Replace PEAR::XML_Feed_Parser by the PHP XML standard library

2016-06-20 Thread Son Nguyen
Public bug reported:

Version master(16.10)

It would be good to replace PEAR::XML_Feed_Parser by the PHP XML
standard library

Ref: http://www.the-art-of-web.com/php/feed-reader/

** Affects: mahara
 Importance: Undecided
 Status: New

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

Title:
  Replace PEAR::XML_Feed_Parser by the PHP XML standard library

Status in Mahara:
  New

Bug description:
  Version master(16.10)

  It would be good to replace PEAR::XML_Feed_Parser by the PHP XML
  standard library

  Ref: http://www.the-art-of-web.com/php/feed-reader/

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

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


[Mahara-contributors] [Bug 1594208] [NEW] Quick find site options feature

2016-06-19 Thread Son Nguyen
Public bug reported:

Version: master (16.10)

As we have a lot of options in Administration/Configure site, it would
be good to have a javascript quick search form in the page

** Affects: mahara
 Importance: Undecided
 Status: New

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

Title:
  Quick find site options feature

Status in Mahara:
  New

Bug description:
  Version: master (16.10)

  As we have a lot of options in Administration/Configure site, it would
  be good to have a javascript quick search form in the page

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

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


[Mahara-contributors] [Bug 1594192] Re: Leap2a: Importing a file artefact has failed

2016-06-19 Thread Son Nguyen
We need to make sure $data->mtime is valid before assign it to $artefact
at line #472, htdocs/artefact/file/import/leap/lib.php.

** Attachment removed: 
"mahara-export-leap-user3-2016-06-16_11-18_hVXZzrwN58p9Otuq.zip"
   
https://bugs.launchpad.net/mahara/+bug/1594192/+attachment/4686872/+files/mahara-export-leap-user3-2016-06-16_11-18_hVXZzrwN58p9Otuq.zip

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

Title:
  Leap2a: Importing a file artefact has failed

Status in Mahara:
  Confirmed

Bug description:
  Version: master (16.10), 16.04, 15.10

  For some reasons, the attribute mtime of a file artefact in a leap2a
  file is empty. This cause the following error when import it.

  [WAR] fc (lib/errors.php:796) Failed to get a recordset: postgres8 error: 
[-1: ERROR:  invalid input syntax for type timestamp: ""] in adodb_throw(UPDATE 
"artefact" SET "artefacttype" = ? , "container" = ? , "parent" = ? , "owner" = 
? , "institution" = ? , "group" = ? , "ctime" = ? , "mtime" = ? , "atime" = ? , 
"locked" = ? , "title" = ? , "description" = ? , "note" = ? , "author" = ? , 
"authorname" = ? , "allowcomments" = ? , "approvecomments" = ? , "license" = ? 
, "licensor" = ? , "licensorurl" = ? , "path" = ?  WHERE "id" = ? , 
file,0,60,1,,,2016-06-2010:17:24,,2016-06-2010:17:24,0,MasterofEducationtranscript,,,1,,0,0/60/61,61),
 referer: 
http://192.168.2.47:8080/mahara/master/htdocs/import/index.php?action=1
  [Mon Jun 20 10:17:24.948612 2016] [:error] [pid 11881] [client 
192.168.2.47:33369] [WAR] fc (lib/errors.php:796) Command was: UPDATE 
"artefact" SET "artefacttype" = ? , "container" = ? , "parent" = ? , "owner" = 
? , "institution" = ? , "group" = ? , "ctime" = ? , "mtime" = ? , "atime" = ? , 
"locked" = ? , "title" = ? , "description" = ? , "note" = ? , "author" = ? , 
"authorname" = ? , "allowcomments" = ? , "approvecomments" = ? , "license" = ? 
, "licensor" = ? , "licensorurl" = ? , "path" = ?  WHERE "id" = ?  and values 
was 
(0:file,1:0,2:60,3:1,4:,5:,6:2016-06-2010:17:24,7:,8:2016-06-2010:17:24,9:0,10:MasterofEducationtranscript,11:,12:,13:1,14:,15:0,16:0,17:,18:,19:,20:/60/61,21:61),
 referer: 
http://192.168.2.47:8080/mahara/master/htdocs/import/index.php?action=1
  [Mon Jun 20 10:17:24.948629 2016] [:error] [pid 11881] [client 
192.168.2.47:33369] Call stack (most recent first):, referer: 
http://192.168.2.47:8080/mahara/master/htdocs/import/index.php?action=1
  [Mon Jun 20 10:17:24.948633 2016] [:error] [pid 11881] [client 
192.168.2.47:33369]   * log_message("Failed to get a recordset: postgres8 
error: [-1: E...", 8, true, true) at 
/var/www/html/mahara/master/htdocs/lib/errors.php:95, referer: 
http://192.168.2.47:8080/mahara/master/htdocs/import/index.php?action=1
  [Mon Jun 20 10:17:24.948638 2016] [:error] [pid 11881] [client 
192.168.2.47:33369]   * log_warn("Failed to get a recordset: postgres8 error: 
[-1: E...") at /var/www/html/mahara/master/htdocs/lib/errors.php:796, referer: 
http://192.168.2.47:8080/mahara/master/htdocs/import/index.php?action=1
  [Mon Jun 20 10:17:24.948642 2016] [:error] [pid 11881] [client 
192.168.2.47:33369]   * SQLException->__construct("Failed to get a recordset: 
postgres8 error: [-1: E...") at 
/var/www/html/mahara/master/htdocs/lib/dml.php:1302, referer: 
http://192.168.2.47:8080/mahara/master/htdocs/import/index.php?action=1
  [Mon Jun 20 10:17:24.948646 2016] [:error] [pid 11881] [client 
192.168.2.47:33369]   * update_record("artefact", object(stdClass), "id") at 
/var/www/html/mahara/master/htdocs/artefact/lib.php:628, referer: 
http://192.168.2.47:8080/mahara/master/htdocs/import/index.php?action=1
  [Mon Jun 20 10:17:24.948649 2016] [:error] [pid 11881] [client 
192.168.2.47:33369]   * ArtefactType->commit() at 
/var/www/html/mahara/master/htdocs/artefact/file/lib.php:1062, referer: 
http://192.168.2.47:8080/mahara/master/htdocs/import/index.php?action=1
  [Mon Jun 20 10:17:24.948653 2016] [:error] [pid 11881] [client 
192.168.2.47:33369]   * ArtefactTypeFile->commit() at 
/var/www/html/mahara/master/htdocs/artefact/file/import/leap/lib.php:499, 
referer: http://192.168.2.47:8080/mahara/master/htdocs/import/index.php?action=1
  [Mon Jun 20 10:17:24.948657 2016] [:error] [pid 11881] [client 
192.168.2.47:33369]   * 
LeapImportFile::create_file_from_entry_data(object(stdClass), 
object(PluginImportLeap), "portfolio:artefact148") at 
/var/www/html/mahara/master/htdocs/artefact/file/import/leap/lib.php:421, 
referer: http://192.168.2.47:8080/mahara/master/htdocs/import/index.php?action=1
  [Mon Jun 20 10:17:24.948661 2016] [:error] [pid 11881] [client 
192.168.2.47:33369]   * 
LeapImportFile::create_file_from_request(object(PluginImportLeap), 
object(stdClass), 60) at 

  1   2   3   4   5   6   7   8   9   10   >