[Mahara-contributors] [Bug 1388682] Re: Alphabetize notification settings

2015-04-20 Thread Jinelle Foley-Barnes
** Tags added: behat has-behat

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

Title:
  Alphabetize notification settings

Status in Mahara ePortfolio:
  Fix Released

Bug description:
  Mahara 1.10+

  There are now all notification settings listed under Notification
  settings on /admin/site/options.php

  These options should be alphabetized as there is no apparent order to
  the current listing.

  There are two options:

  1. Alphabetize the entire list.
  2. Alphabetize the list grouped into two: Users and administrators

  Alphabetize entire list
  =
  Contact us
  Feedback
  Group message
  Institution message
  Message from other users
  New forum post
  New page access
  Objectionable content
  Objectionable content in forum
  Repeat virus upload
  System message
  Virus flag release
  Watchlist

  Alphebetize the list grouped into two
  

  User notifications (heading)
  
  Feedback
  Group message
  Institution message
  Message from other users
  New forum post
  New page access
  Objectionable content in forum
  System message
  Watchlist

  Site administrator-only notifications
  ---
  Contact us
  Objectionable content (Help icon: Institution administrators also receive 
these notifications)
  Repeat virus upload
  Virus flag release

  
  ==

  The notifications will also need to be alphabetized in the same fashion on 
/account/activity/preferences/index.php
  and appropriate admin notifications only be shown to those that are allowed 
to see them (see bug #946724)

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

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


[Mahara-contributors] [Bug 1440947] Re: Imagebrowser tinymce plugin missing strings

2015-04-20 Thread Jinelle Foley-Barnes
** Tags added: needs-behat

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

Title:
  Imagebrowser tinymce plugin missing strings

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

Bug description:
  Hi,

  When I create a forum and add a pic into the description, the remove
  button has [[remove]] around it.

  I have attached a screen shot.

  If you need anymore info let me know.

  Cheers,
  Jinelle

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

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


[Mahara-contributors] [Bug 1443280] Re: No notifications for feedback on watched group pages, site pages, and institution pages

2015-04-20 Thread Jinelle Foley-Barnes
** Tags added: needs-behat

** Tags added: behat

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

Title:
  No notifications for feedback on watched group pages, site pages, and
  institution pages

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

Bug description:
  With Bug 1374674, feedback on a page sends notifications to people who
  have the page on their watchlist. But currently this only works for
  single-owner pages, not for group pages, site pages, or institution
  pages.

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

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


[Mahara-contributors] [Bug 1439194] Re: Notes and attached files

2015-04-20 Thread Jinelle Foley-Barnes
** Tags added: behat

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

Title:
  Notes and attached files

Status in Mahara ePortfolio:
  Fix Released
Status in Mahara 1.10 series:
  Fix Released
Status in Mahara 1.8 series:
  Fix Released
Status in Mahara 1.9 series:
  Fix Released
Status in Mahara 15.04 series:
  Fix Released
Status in Mahara 15.10 series:
  Fix Committed

Bug description:
  When I attach a file to a note on a page and then delete the file
  using the content  files panel, I can't edit the note via the
  portfolio  pages panel anymore.  When I try to do it, I get :
  Artefact with id XXX not found (where XXX is the id of the recently
  deleted file).

  I can still however edit the note directly from content  notes.
  The problem only occurs via portfolio  pages  edit content and
  layout.

  Mahara version : 1.10.3testing (2014092315)
  Operating system : Linux
  Database : MariaDB

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

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


[Mahara-contributors] [Bug 1446036] Re: Session changes in Mahara 15.04 can cause excessively large response headers

2015-04-20 Thread Jinelle Foley-Barnes
** Tags added: behat

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

Title:
  Session changes in Mahara 15.04 can cause excessively large response
  headers

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

Bug description:
  For the new Ajax progress bar, Bug 1352028, we changed
  htdocs/auth/session.php so that it closes the PHP session when not in
  use. This was necessary in order to allow multiple requests to the
  same session to process simultaneously; PHP by default locks the
  session between the time you call session_start() and
  session_write_close().

  The downside to this approach, though, is that every time you call
  session_start(), PHP adds a new (duplicate) PHP_SESS_ID cookie to the
  request header. Since we open and close the session every time we call
  $SESSION-set() now, this can lead to a very large cookie header.

  On our hosting environment, these headers got too large and started
  causing our Nginx proxy server to throw errors while trying to
  initiate an MNet connection. This causes the proxy server to throw a
  500 error, and to log an error like this:

  2015/04/20 14:59:03 [error] 14845#0: *137093286 upstream sent too big
  header while reading response header from upstream, client:
  2404:130:0:1000:61f4:7e47:8a26:821, server: master-
  mahara.catalystdemo.net.nz, request: GET
  /auth/xmlrpc/land.php?token=3acfeeb7cad9814471ec5932fc293b30bbc7e387idp=http
  ://mnet-moodle.testing.elearning.catalyst.net.nzwantsurl= HTTP/1.1,
  upstream:
  
http://202.78.243.12:9226/auth/xmlrpc/land.php?token=3acfeeb7cad9814471ec5932fc293b30bbc7e387idp=http
  ://mnet-moodle.testing.elearning.catalyst.net.nzwantsurl=, host:
  master-mahara.catalystdemo.net.nz

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

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


[Mahara-contributors] [Bug 1446412] [NEW] Webservice cron doesn't run due to missing function

2015-04-20 Thread Robert Lyon
Public bug reported:

The cron job webservice_clean_webservice_logs does not run due to the
file webservice/lib.php not being included into the lib/cron.php file

** Affects: mahara
 Importance: High
 Assignee: Robert Lyon (robertl-9)
 Status: In Progress

** Affects: mahara/15.04
 Importance: High
 Assignee: Robert Lyon (robertl-9)
 Status: In Progress

** Affects: mahara/15.10
 Importance: High
 Assignee: Robert Lyon (robertl-9)
 Status: In Progress

** Also affects: mahara/15.04
   Importance: High
 Assignee: Robert Lyon (robertl-9)
   Status: In Progress

** No longer affects: mahara/15.04

** Also affects: mahara/15.04
   Importance: High
 Assignee: Robert Lyon (robertl-9)
   Status: In Progress

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

** Changed in: mahara/15.04
Milestone: 15.10.0 = 15.04.1

** Changed in: mahara/15.10
Milestone: None = 15.10.0

** Changed in: mahara/15.10
   Status: New = In Progress

** Changed in: mahara/15.10
   Importance: Undecided = High

** Changed in: mahara/15.10
 Assignee: (unassigned) = Robert Lyon (robertl-9)

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

Title:
  Webservice cron doesn't run due to missing function

Status in Mahara ePortfolio:
  In Progress
Status in Mahara 15.04 series:
  In Progress
Status in Mahara 15.10 series:
  In Progress

Bug description:
  The cron job webservice_clean_webservice_logs does not run due to the
  file webservice/lib.php not being included into the lib/cron.php file

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

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


[Mahara-contributors] [Bug 1444229] Re: Signal the AJAX block loader with a flag instead of empty block content

2015-04-20 Thread Jinelle Foley-Barnes
** Tags added: no-behat-needed

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

Title:
  Signal the AJAX block loader with a flag instead of empty block
  content

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

Bug description:
  When I implemented the AJAX block loader, I wrote it so that the AJAX
  block loader is used, if a block's content is empty. This is a rather
  hacky way to do it, though, because sometimes a block just has empty
  content. (See Bug 1443832)

  We should instead have a specific way for the block to communicate to
  the template Use the AJAX block loader. This can probably be a flag
  of some sort on the block object.

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

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


[Mahara-contributors] [Bug 1432641] Re: Changing view layout causes an error

2015-04-20 Thread Jinelle Foley-Barnes
** Tags added: behat needs-behat

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

Title:
  Changing view layout causes an error

Status in Mahara ePortfolio:
  Fix Released
Status in Mahara 1.10 series:
  Fix Released
Status in Mahara 1.9 series:
  Fix Released
Status in Mahara 15.04 series:
  Fix Released
Status in Mahara 15.10 series:
  Fix Committed

Bug description:
  Steps to reproduce:

  1. Create a new view
  2. Select the layout with one column in first row and three columns in second
  3. Add two textboxes to each column, 8 textboxes total
  4. Change the layout to one row  one column

  This results in following error:

  [WAR] d1 (lib/dml.php:890) Failed to get a recordset: mysqli error: [1062: 
Duplicate entry '593-2-1-0' for key 'blocinst_vierowcolord_uk'] in 
adodb_throw(UPDATE block_instance SET order = 0  WHERE order = '1' AND 
view = '593' AND row = '2' AND column = 1, )
  Command was: UPDATE block_instance SET order = ?  WHERE order = ? AND 
view = ? AND row = ? AND column = ? and values was (0,1,593,2,1)

  Tested in 1.9.1 (Ubuntu 14.04.2 / MySQL 5.5.35 / Chrome 41.0.2272.89
  (64-bit)) and Mahara Demo (currently 1.10).

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

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


[Mahara-contributors] [Bug 1446412] A patch has been submitted for review

2015-04-20 Thread Mahara Bot
Patch for master branch: https://reviews.mahara.org/4679

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

Title:
  Webservice cron doesn't run due to missing function

Status in Mahara ePortfolio:
  In Progress
Status in Mahara 15.04 series:
  In Progress
Status in Mahara 15.10 series:
  In Progress

Bug description:
  The cron job webservice_clean_webservice_logs does not run due to the
  file webservice/lib.php not being included into the lib/cron.php file

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

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


[Mahara-contributors] [Bug 1443770] Re: Content - Files accessibility links show up when attempting to drag and drop

2015-04-20 Thread Jinelle Foley-Barnes
** Tags added: behat-needed

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

Title:
  Content - Files accessibility links show up when attempting to drag
  and drop

Status in Mahara ePortfolio:
  Fix Released
Status in Mahara 1.10 series:
  Fix Released
Status in Mahara 15.04 series:
  Fix Released
Status in Mahara 15.10 series:
  Fix Committed

Bug description:
  In 1.9 for accessibility purposes we added a feature to the Content
  - Files screen, which makes it so that if you click on a thumbnail
  of a file, it shows you a list of locations you could move the file
  to. This is an accessible alternative to the drag-and-drop system for
  moving your files to different folders.

  There are a couple of problems with this currently.

  First, the patch that we added to make it work in IE, has the side
  effect that in Firefox and Chromium, the accessible alternative shows
  up when you start dragging and dropping, as opposed to when you just
  click on it. Also, the thumbnail shifts up and away from the mouse
  pointer at the same time, meaning you need to click on it, it pops
  open, then you have to move your mouse back over the thumbnail's new
  location.

  To replicate:

  1. Go to Content - Files
  2. Upload at least one file
  3. Create a folder called Test
  3. Move your mouse pointer over the thumbnail's icon and try to drag and drop 
the thumbnail icon onto the Test folder.

  Expected result: You drag it onto the Test folder and drop it onto the
  Test folder. You do not see the accessibility options.

  Actual result: When you depress the mouse button, the accessibility
  option shows up, and the thumbnail moves away out from under your
  pointer.

  Using git bisect, I see this started with this patch, for IE support:

  https://reviews.mahara.org/#/c/3521/1

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

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


[Mahara-contributors] [Bug 1441945] Re: cancel link shows up when you clink on a file thumbnail in Contents - Files

2015-04-20 Thread Jinelle Foley-Barnes
** Tags added: behat

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

Title:
  cancel link shows up when you clink on a file thumbnail in Contents
  - Files

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

Bug description:
  While playing around with 15.10dev, I noticed that if I go to Content
  - Files, and click on the thumbnail of one of my images, it makes a
  link show up underneath the thumbnail that says - cancel. Clicking
  this just seems to take me to #. I'm guessing this probably the
  remnants of some Javascript that we've removed in the past.

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

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


[Mahara-contributors] [Bug 1436573] Re: Mouse pointer icon not displayed on Create, Share, Engage buttons

2015-04-20 Thread Jinelle Foley-Barnes
** Tags added: no-behat-needed

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

Title:
  Mouse pointer icon not displayed on Create, Share, Engage buttons

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

Bug description:
  Version 15.04rc1

  When hover over the Create, Share and Engage buttons with your mouse,
  on the dashboard page the mouse point icon is not displayed

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

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


[Mahara-contributors] [Bug 1422837] Re: XML RPC simpleXML limits payload size

2015-04-20 Thread Jinelle Foley-Barnes
** Tags added: no-behat-needed

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

Title:
  XML RPC simpleXML limits payload size

Status in Mahara ePortfolio:
  Confirmed
Status in Mahara 1.10 series:
  Confirmed
Status in Mahara 1.8 series:
  Won't Fix
Status in Mahara 1.9 series:
  Confirmed
Status in Mahara 15.04 series:
  Confirmed
Status in Mahara 15.10 series:
  Confirmed

Bug description:
  Operating System: Ubuntu 14.04.1 LTS

  Mahara version: 1.9.3

  Database: mysql

  Browser: chrome 40.0.2214.111

  --

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

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

  --

  
  simpleXML may not be the best parser for XMLRPC payloads

  in api/xmlrpc/lib.php

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

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

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

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

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

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


[Mahara-contributors] [Bug 1356638] Re: Can not see the image in the static page Home for logged-in users

2015-04-20 Thread Jinelle Foley-Barnes
** Tags added: behat needs-behat

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

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

Status in Mahara ePortfolio:
  Confirmed
Status in Mahara 1.10 series:
  Confirmed
Status in Mahara 1.8 series:
  Won't Fix
Status in Mahara 1.9 series:
  Won't Fix
Status in Mahara 15.04 series:
  Confirmed
Status in Mahara 15.10 series:
  In Progress

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

  Steps to reproduce the issue

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

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

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

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


[Mahara-contributors] [Bug 1438980] Re: Pointer-style cursor displayed on Create, Share, Engage buttons when logged out

2015-04-20 Thread Jinelle Foley-Barnes
** Tags added: no-behat-needed

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

Title:
  Pointer-style cursor displayed on Create, Share, Engage buttons when
  logged out

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

Bug description:
  Related to Bug #1436573 - the fix for that bug adds a pointer cursor
  to the Create, Share, Engage buttons both when a user is logged in and
  when they're logged out. When not logged in these buttons do nothing,
  so IMO a normal mouse cursor should be shown.

  Affects latest master

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

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


[Mahara-contributors] [Bug 1394082] Re: Can create a URL that takes you to a different page depending on whether you're logged in to MNet or not.

2015-04-20 Thread Jinelle Foley-Barnes
** Tags added: no-behat-needed

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

Title:
  Can create a URL that takes you to a different page depending on
  whether you're logged in to MNet or not.

Status in Mahara ePortfolio:
  Confirmed
Status in Mahara 1.10 series:
  Confirmed
Status in Mahara 1.8 series:
  Won't Fix
Status in Mahara 1.9 series:
  Confirmed
Status in Mahara 15.04 series:
  Confirmed
Status in Mahara 15.10 series:
  Confirmed

Bug description:
  As reported on the mahara.org forum:
  https://mahara.org/interaction/forum/topic.php?id=6549

  To replicate:

  1. Set up a Moodle instance with the Mahara assignment submission
  plugin and connect it up to your Mahara instance.

  2. Create a view with ID 1000.

  3. Create another view with ID 1001.

  4. Make both these pages accessible to the public.

  5. Set up an Mahara assignment in Moodle.

  6. Submit the view with ID 1000 to Moodle as an assignment submission.

  7. Note the access URL that gets generated, which will contain an MNet
  access token, i.e. /view/view.php?mt=abcd1234

  8. Add the ID of page 1001 to this URL:
  /view/view.php?id=1001mt=abcd1234

  Expected Result: This URL should either display page 1000 every time,
  or an access denied message

  Actual Result: If you're logged in to Mahara via MNet, you see page
  1000. If you're not, you see page 1001.

  
  The cause of this problem, is that /view/view.php completely ignores the 
mt= tag if you're not logged in via MNet. In which case, if an ID is also 
supplied, it falls back to that.

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

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


[Mahara-contributors] [Bug 1358092] Re: Improve SQL performance when deleting notifications

2015-04-20 Thread Jinelle Foley-Barnes
** Tags added: no-behat-needed

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

Title:
  Improve SQL performance when deleting notifications

Status in Mahara ePortfolio:
  Triaged
Status in Mahara 1.10 series:
  Fix Released
Status in Mahara 1.9 series:
  Fix Released
Status in Mahara 15.04 series:
  Triaged
Status in Mahara 15.10 series:
  Triaged

Bug description:
  Martin from Catalyst EU pointed out to me that the performance of the
  code in account/activity/index.json.php could be improved by stripping
  an unnecessary subquery from it.

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

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


[Mahara-contributors] [Bug 1443239] Re: Warning in Mahara logs when a MaharaDroid user has no tags in their Mahara account

2015-04-20 Thread Jinelle Foley-Barnes
** Tags added: no-behat-needed

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

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

Status in Mahara ePortfolio:
  Confirmed
Status in Mahara 1.10 series:
  Confirmed
Status in Mahara 1.8 series:
  Won't Fix
Status in Mahara 1.9 series:
  Confirmed
Status in Mahara 15.04 series:
  Confirmed
Status in Mahara 15.10 series:
  Confirmed

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

  To replicate:

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

  Result: You see this warning in the Apache logs:

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

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

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


[Mahara-contributors] [Bug 1444784] Re: Watchlist block needs tidying up

2015-04-20 Thread Robert Lyon
Have added patches to tackle points 1 and 3 for now

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

Title:
  Watchlist block needs tidying up

Status in Mahara ePortfolio:
  In Progress

Bug description:
  Chatting with end users they would like somewhere that they can see a
  list of what pages they are watching.

  We currently have a watchlist block but it is quite limited:

  1) It can only be added to dashbooard page, but isn't included on new user 
dashboard by default 
  - I feel it should be

  2) It is limited to number of items available which can be set to 100 which 
is a long list 
  - better to use pagination

  3) There is only the page name displayed so if you are watching a lot of 
pages with same title you can't tell the difference
  - needs some of the data that 'Latest pages' displays eg - owner name and/or 
last updated time

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

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


[Mahara-contributors] [Bug 1397131] Re: Replace Flowplayer with an HTML5 video player

2015-04-20 Thread Aaron Wells
** Changed in: mahara
Milestone: 15.04.1 = 15.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/1397131

Title:
  Replace Flowplayer with an HTML5 video player

Status in Mahara ePortfolio:
  Confirmed

Bug description:
  All the browers that Mahara supports, now can handle HTML 5 video:
  http://caniuse.com/#feat=video

  So, I think the time is right for us to replace Flowplayer-Flash with
  an HTML5 video player.

  One obvious option is the Flowplayer-HTML5 verison (which has the
  added benefit of supporting Flash as a fallback). But I'd like to see
  if there are any alternatives out there, because Flowplayer's handling
  of their Flash plugin has not shown that they are particularly
  interested in keeping the open-source version of their product up to
  date. So if we could find a product with a more active open-source
  community behind it, that would be tops.

  Or do we even need a separate library for HTML5 video playing? Could
  we just drop the video in with some tags around it?

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

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


[Mahara-contributors] [Bug 1444784] A patch has been submitted for review

2015-04-20 Thread Mahara Bot
Patch for master branch: https://reviews.mahara.org/4681

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

Title:
  Watchlist block needs tidying up

Status in Mahara ePortfolio:
  In Progress

Bug description:
  Chatting with end users they would like somewhere that they can see a
  list of what pages they are watching.

  We currently have a watchlist block but it is quite limited:

  1) It can only be added to dashbooard page, but isn't included on new user 
dashboard by default 
  - I feel it should be

  2) It is limited to number of items available which can be set to 100 which 
is a long list 
  - better to use pagination

  3) There is only the page name displayed so if you are watching a lot of 
pages with same title you can't tell the difference
  - needs some of the data that 'Latest pages' displays eg - owner name and/or 
last updated time

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

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


[Mahara-contributors] [Bug 1396761] Re: allow for reordering of files in image gallery block

2015-04-20 Thread Aaron Wells
** Changed in: mahara
Milestone: 15.04.1 = 15.10.0

** Changed in: mahara
   Importance: Medium = Wishlist

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

Title:
  allow for reordering of files in image gallery block

Status in Mahara ePortfolio:
  Confirmed

Bug description:
  This bug is similar to https://bugs.launchpad.net/mahara/+bug/732462
  and any resorting drag/drop fix there will need to be done for this as
  bug also.

  But there is another complicating factor that makes this bug separate
  and that is:

  When we first add a gallery block to a page and select some images to
  be attached to it the block renders them in the order we selected
  them.

  but when we got to edit the block again to add more items it changes
  the sort order of the originally added items

  This is due to the image gallery using a function to return the
  information for the selected items via:

  'selectlistcallback' = 'artefact_get_records_by_id'

  and that function returns a list of selected items in the order of
  when they were created in the system - eg an array of class objects
  with each class-id being the array key.

  eg:

  array (
  [9] = stdClass Object
  (
  [artefacttype] = image
  [title] = cats.jpg
   ...
  [id] = 9
  )
  [16] = stdClass Object
  (
  [artefacttype] = image
  [title] = ants.jpg
  ... 
  [id] = 16
  )

  
  So we end up with something that is not alphabetical - nor the order we 
selected them to be attached to the block

  What would be needed is to take the $values (which is in the order of
  attaching to block) and impose that sort order on the $selected array
  so that when we edit the block again it doesn't loose our initial
  selection order.

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

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


[Mahara-contributors] [Bug 1393620] Re: webservices: get_groups_by_id requires institution

2015-04-20 Thread Aaron Wells
I consider this one a bug rather than a feature, because it prevents you
from being able to search for non-institution groups.

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

** Also affects: mahara/15.10
   Importance: Medium
   Status: Confirmed

** Changed in: mahara/15.04
Milestone: None = 15.04.1

** Changed in: mahara/15.10
Milestone: 15.04.1 = 15.10.0

** Changed in: mahara/15.04
   Status: New = Confirmed

** Changed in: mahara/15.04
   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/1393620

Title:
  webservices: get_groups_by_id requires institution

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

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

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

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

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


[Mahara-contributors] [Bug 1444784] Re: Watchlist block needs tidying up

2015-04-20 Thread Robert Lyon
** Changed in: mahara
 Assignee: (unassigned) = Robert Lyon (robertl-9)

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

Title:
  Watchlist block needs tidying up

Status in Mahara ePortfolio:
  Confirmed

Bug description:
  Chatting with end users they would like somewhere that they can see a
  list of what pages they are watching.

  We currently have a watchlist block but it is quite limited:

  1) It can only be added to dashbooard page, but isn't included on new user 
dashboard by default 
  - I feel it should be

  2) It is limited to number of items available which can be set to 100 which 
is a long list 
  - better to use pagination

  3) There is only the page name displayed so if you are watching a lot of 
pages with same title you can't tell the difference
  - needs some of the data that 'Latest pages' displays eg - owner name and/or 
last updated time

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

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


[Mahara-contributors] [Bug 1446400] [NEW] Add anchor button to tinymce

2015-04-20 Thread Robert Lyon
Public bug reported:

One of the useful tinyMCE buttons that we currently do not use is the
Anchor button to allow one to add anchors to a block of text.

It should be a matter of adding 'anchor' to the plugins and toolbar
sections of lib/web.php

and then testing it out to make sure it works as expected

** Affects: mahara
 Importance: Low
 Status: Confirmed


** Tags: bite-sized

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

Title:
  Add anchor button to tinymce

Status in Mahara ePortfolio:
  Confirmed

Bug description:
  One of the useful tinyMCE buttons that we currently do not use is the
  Anchor button to allow one to add anchors to a block of text.

  It should be a matter of adding 'anchor' to the plugins and toolbar
  sections of lib/web.php

  and then testing it out to make sure it works as expected

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

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


[Mahara-contributors] [Bug 1373670] Re: The length of a message for a new friend request should be limited

2015-04-20 Thread Jinelle Foley-Barnes
** Tags added: behat has-behat

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

Title:
  The length of a message for a new friend request should be limited

Status in Mahara ePortfolio:
  Fix Released

Bug description:
  Version: master (1.10), 1.9, and 1.8

  We should limit the length of a new friend request message as it may
  cause the sending email failed.

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

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


[Mahara-contributors] [Bug 844457] Re: suckypasswords check is very limited, could be expanded

2015-04-20 Thread Jinelle Foley-Barnes
** Tags added: behat has-behat

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

Title:
  suckypasswords check is very limited, could be expanded

Status in Mahara ePortfolio:
  Fix Released

Bug description:
  When validating passwords, there is is a check against an array of really bad 
passwords:
  
https://gitorious.org/mahara/mahara/blobs/f7d9a23f0744f719fc7f75bd5d740eef6ae4d055/htdocs/auth/lib.php#line1606

  Currently the collection of bad passwords is really small. It could be 
expanded. Some resources are:
  http://www.dragonresearchgroup.org/insight/sshpwauth-cloud.html
  http://img.sjbn.co/files/500-most-used-passwords-show-as-a-tag-cloud.gif
  http://www.skullsecurity.org/wiki/index.php/Passwords

  There should be more than one level of filtering bad passwords. Some,
  such as the current suckypasswords collection, should be forced. There
  should also be an optional blacklist based on the resources above.

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

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


[Mahara-contributors] [Bug 1440908] Re: Clicking 'more' in friend request is not working

2015-04-20 Thread Jinelle Foley-Barnes
** Tags added: behat has-behat

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

Title:
  Clicking 'more' in friend request is not working

Status in Mahara ePortfolio:
  Fix Released
Status in Mahara 1.10 series:
  Fix Released
Status in Mahara 1.8 series:
  Fix Released
Status in Mahara 1.9 series:
  Fix Released
Status in Mahara 15.04 series:
  Fix Released
Status in Mahara 15.10 series:
  Fix Committed

Bug description:
  After a friend request has been accepted, the notification is send and
  appears in my inbox. Clicking on 'More...' at the bottom of that
  message produces an 'Not found' error while it redirects using the
  following URL structure:

  http://mymahara.com/http://mymahara.com/user/view.php?id=2

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

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


[Mahara-contributors] [Bug 1373095] Re: Rename Logged-in users on to Registered users

2015-04-20 Thread Jinelle Foley-Barnes
** Tags added: behat has-behat

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

Title:
  Rename Logged-in users on to Registered users

Status in Mahara ePortfolio:
  Fix Released

Bug description:
  You can choose the access for Public, Logged-in users, friends and
  others when you want to share your page.

  Logged-in users suggests that it is the people who are currently
  logged in whereas it's actually any registered user.

  The string should be renamed to Registered users.

  This would need to be done for Shared by me, Share on group,
  institution and site level.

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

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


[Mahara-contributors] [Bug 1397736] Re: Use SafeCURL in external RSS block

2015-04-20 Thread Jinelle Foley-Barnes
** Tags added: no-behat-needed

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

Title:
  Use SafeCURL in external RSS block

Status in Mahara ePortfolio:
  Confirmed
Status in Mahara 1.10 series:
  Confirmed
Status in Mahara 1.8 series:
  Won't Fix
Status in Mahara 1.9 series:
  Confirmed
Status in Mahara 15.04 series:
  Confirmed
Status in Mahara 15.10 series:
  In Progress

Bug description:
  For better security in the external RSS feed block, we should be using
  a library like SafeCURL to help guard against attacks.:
  https://github.com/fin1te/safecurl

  See also bug 1394820

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

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


[Mahara-contributors] [Bug 1446400] Re: Add anchor button to tinymce

2015-04-20 Thread Aaron Wells
To expand on what Robert said, the anchor plugin ships with TinyMCE,
and thus with Mahara (it's under htdocs/js/tinymce/plugins/anchor). But
we just haven't been activating it.

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

Title:
  Add anchor button to tinymce

Status in Mahara ePortfolio:
  Confirmed

Bug description:
  One of the useful tinyMCE buttons that we currently do not use is the
  Anchor button to allow one to add anchors to a block of text.

  It should be a matter of adding 'anchor' to the plugins and toolbar
  sections of lib/web.php

  and then testing it out to make sure it works as expected

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

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


[Mahara-contributors] [Bug 1340151] Re: Consider a different approach to libxml_disable_entity_loader(true) in init.php

2015-04-20 Thread Jinelle Foley-Barnes
** Tags added: no-behat-needed

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

Title:
  Consider a different approach to libxml_disable_entity_loader(true) in
  init.php

Status in Mahara ePortfolio:
  Confirmed
Status in Mahara 1.10 series:
  Confirmed
Status in Mahara 1.8 series:
  Won't Fix
Status in Mahara 1.9 series:
  Confirmed
Status in Mahara 15.04 series:
  Confirmed
Status in Mahara 15.10 series:
  Confirmed

Bug description:
  Unfortunately it seems like using libxml_disable_entity_loader(true)
  in init.php is unkind to other applications living on the same system.

  PHP Bug https://bugs.php.net/bug.php?id=64938 is the heart of the
  problem  - the use of this setting leaks between different threads and
  by setting it for the duration of every single Mahara request this bug
  comes into play much more easily.

  The other problem is https://bugs.php.net/bug.php?id=62577 which means
  that  simplexml_load_file() will not even load *local* files off disk.
  For example, this would break in Mahara even though no entities come
  into play:

  $xml = simplexml_load_file(get_config('libroot').'/db/install.xml');

  In Moodle we've been warned on one of our issues that users have seen
  this problem in the wild with Mahara, I didn't find an issue reported
  to you about it, so i'll copy and paste the report from our tracker
  here:

  We had experience with this problem on an upgrade to Mahara 1.7, when
  https://bugs.launchpad.net/mahara/+bug/1047111 was fixed. The approach
  was the same as is suggested in this ticket. This caused seemingly
  random failures in Moodle (which is run on the same webserver)
  whenever there was usage of Mahara. The root cause was not obvious,
  nor well advertised with the Mahara fix, so it took awhile to finally
  implement a fix. In the meantime, significant functionality is broken.
  Unfortunately, there's really no way around this unless you switch
  from using mod_php.

  Yesterday whilst debugging some code with Yuliya we realised she also
  was encountering this horrible combination of bugs affecting her
  Moodle install so it seems this is not a theoretical problem.

  In Moodle we have decided to use the same approach of many other projects and 
enable/disable the loader around vulnerable code to reduce the chance of this 
combination of bugs affecting other applications or uses of the the 
simplexml_load_file:
  http://cgit.drupalcode.org/drupal/commit/?id=b912710
  
https://github.com/symfony/symfony/blob/8ef8a1d289a6ce454b7c79baeddbfb45e4af6191/src/Symfony/Component/Config/Util/XmlUtils.php#L41
  http://www.mediawiki.org/wiki/XML_External_Entity_Processing

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

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


[Mahara-contributors] [Bug 1262040] Re: Problems with group artefact permissions due to misuse of $USER-can_view_artefact and $USER-can_edit_artefact

2015-04-20 Thread Jinelle Foley-Barnes
** Tags added: behat needs-behat

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

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

Status in Mahara ePortfolio:
  Confirmed
Status in Mahara 1.10 series:
  Confirmed
Status in Mahara 1.8 series:
  Won't Fix
Status in Mahara 1.9 series:
  Confirmed
Status in Mahara 15.04 series:
  Confirmed
Status in Mahara 15.10 series:
  In Progress

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

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

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

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

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

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


[Mahara-contributors] [Bug 1429647] Re: Watchlist lets you watch and receive notifications about pages you don't have view access to

2015-04-20 Thread Jinelle Foley-Barnes
** Tags added: behat behat-needed

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

Title:
  Watchlist lets you watch and receive notifications about pages you
  don't have view access to

Status in Mahara ePortfolio:
  Fix Released
Status in Mahara 1.10 series:
  Fix Released
Status in Mahara 1.8 series:
  Fix Released
Status in Mahara 1.9 series:
  Fix Released
Status in Mahara 15.04 series:
  Fix Released
Status in Mahara 15.10 series:
  Fix Committed

Bug description:
  In analyzing watchlist bug 1429505 (pages stay on your watchlist even
  if you lose access to them) I noticed a couple of things in the code:

  1. You apparently still can receive watchlist notifications about
  pages on your watchlist which you don't have access to.

  2. There are no access control checks in togglewatchlist.json.php, so
  it is apparently possible to add a page to your watchlist even if you
  don't have access to it.

  Together, these bugs mean that a user could watch private pages, and
  receive notifications about changes to those pages. While these
  notifications would not contain the actual page content, they would
  contain the title of the page and the names of blocks and/or artefacts
  changed in the page.

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

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


[Mahara-contributors] [Bug 1446400] Re: Add anchor button to tinymce

2015-04-20 Thread Aaron Wells
Hm, maybe we should add a local/lib.php method to let people customize
the TinyMCE buttons. Because I can see how, for instance, on mahara.org
it would be handy to have the code plugin enabled also, but probably
most Mahara sites wouldn't care about that one.

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

Title:
  Add anchor button to tinymce

Status in Mahara ePortfolio:
  Confirmed

Bug description:
  One of the useful tinyMCE buttons that we currently do not use is the
  Anchor button to allow one to add anchors to a block of text.

  It should be a matter of adding 'anchor' to the plugins and toolbar
  sections of lib/web.php

  and then testing it out to make sure it works as expected

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

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


[Mahara-contributors] [Bug 1445653] Re: Internet Explorer and video files

2015-04-20 Thread Jinelle Foley-Barnes
** Tags added: behat needs-behat

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

Title:
  Internet Explorer and video files

Status in Mahara ePortfolio:
  Triaged
Status in Mahara 1.10 series:
  Triaged
Status in Mahara 15.04 series:
  Triaged
Status in Mahara 15.10 series:
  Triaged

Bug description:
  In Content  Files, if I upload a video file (mp4), the file will
  upload correctly.  But the link to view the video won't work in IE.
  In every other browser, the video plays in the browser but IE trie to
  open Windows Media Player which gives the error :

  Windows Media Player cannot play the file.  The Player might not
  support the file type or might not support the codec that was used to
  compress the file.

  If I save the file to my desktop and play it from there, it works
  fine.

  Mahara version 1.10.3testing (2014092315)
  Operating system Linux
  Database MariaDB
  Browser IE11

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

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


[Mahara-contributors] [Bug 1308057] Re: Rss feed not working on Mahara website (https://mahara.org/planet)

2015-04-20 Thread Robert Lyon
I wonder if we still need Mahara Planet - it's not being used very much
and we have the public forums that people can subscribe to.

Kristina, Aaron - what do you think?

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

Title:
  Rss feed not working on Mahara website (https://mahara.org/planet)

Status in Mahara ePortfolio:
  Confirmed

Bug description:
  Hi, I tried to add a subscription to Mahara Planet
  (https://mahara.org/planet) using my RSS reader (Liferea).

  However, the url included in the RSS orange icon
  (https://mahara.org/planet/rss10.xml) throws a 404 error.

  Thank you,
  Leandro

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

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


[Mahara-contributors] [Bug 1333424] Re: Leap2A import does not update the collection id in navigation block

2015-04-20 Thread Aaron Wells
** Changed in: mahara/1.10
   Status: In Progress = Confirmed

** Also affects: mahara/15.10
   Importance: Medium
 Assignee: Son Nguyen (ngson2000)
   Status: Confirmed

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

** Changed in: mahara/1.9
   Status: New = Confirmed

** Changed in: mahara/1.9
   Importance: Undecided = Medium

** Changed in: mahara/1.9
Milestone: None = 1.9.6

** Changed in: mahara/15.04
Milestone: 15.04.1 = 15.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/1333424

Title:
  Leap2A import does not update the collection id in navigation block

Status in Mahara ePortfolio:
  Confirmed
Status in Mahara 1.10 series:
  Confirmed
Status in Mahara 1.9 series:
  Confirmed
Status in Mahara 15.04 series:
  Confirmed
Status in Mahara 15.10 series:
  Confirmed

Bug description:
  Version: master (1.10), 1.9, 1.8, 1.7

  After importing the attached leap2a file which has a collection and a
  navigation block pointed to this collection, I found the navigation
  block now pointed to the old collection id.

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

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


[Mahara-contributors] [Bug 1438928] Re: Registration page not allowing you to register - in behat

2015-04-20 Thread Jinelle Foley-Barnes
** Tags added: behat has-behat

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

Title:
  Registration page not allowing you to register - in behat

Status in Mahara ePortfolio:
  Triaged
Status in Mahara 15.04 series:
  Triaged
Status in Mahara 15.10 series:
  Triaged

Bug description:
  Hi all,

  When I am an admin and create an institution -  turn registration to
  be on -log out - follow the Registration link... type all the info
  into the fields (With a legit email address) then try press the
  Registration button it throws an error.

  The error I get is telling me that some fields haven't had data
  entered correctly but it doens't tell me what the error is, or what
  required field the error is happening to.

  I have uploaded a Behat test to test for this - If it's any help to
  use this to debug the issue and to attach your patch to when it's
  fixed :)

  Cheers,
  Jinelle

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

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


[Mahara-contributors] [Bug 1234582] Re: Can't display images in RSS feeds with protocol-relative URLs

2015-04-20 Thread Aaron Wells
** Also affects: mahara/15.10
   Importance: Medium
   Status: Confirmed

** Changed in: mahara/15.10
Milestone: 15.04.1 = 15.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/1234582

Title:
  Can't display images in RSS feeds with protocol-relative URLs

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

Bug description:
  As described by Robert while investigating another bug report:
  https://bugs.launchpad.net/mahara/+bug/1219499/comments/5

  The problem where some images are not showing up is because they tend
  to be protocol relative urls to the images and the Mahara system tries
  to append a url to them but this makes the path incorrect.

  eg for slideshare (http://www.slideshare.net/rss/latest)

  There are image links in the feed like:

  
//cdn.slidesharecdn.com/ss_thumbnails/lptrnhc2008cbnnhtnghththutit360-130902225125-phpapp02-thumbnail-2.jpg

  and mahara sees this as a relative url and appends
  http://www.slideshare.net/ to the front if it which then makes

  
http://www.slideshare.net//cdn.slidesharecdn.com/ss_thumbnails/lptrnhc2008cbnnhtnghththutit360-130902225125-phpapp02-thumbnail-2.jpg

  which is an incorrect url and the image will not be found there

  Need to alter the code in htdocs/blocktype/externalfeed/lib.php from
  /src=(\/[^]+)/ to something that doesn't try and update protocol
  relative urls

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

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


[Mahara-contributors] [Bug 1364689] Re: Don't assume the user has any views when doing an export.

2015-04-20 Thread Aaron Wells
It appears this problem was fixed as part of the big patch for Bug
1352028.

** Also affects: mahara/15.10
   Importance: Medium
 Assignee: Nigel Cunningham (nigelc-g)
   Status: Confirmed

** Changed in: mahara/15.04
   Status: In Progress = Incomplete

** Changed in: mahara/15.10
   Status: Confirmed = Incomplete

** Changed in: mahara/15.04
   Status: Incomplete = Fix Released

** No longer affects: mahara/15.10

** Changed in: mahara
Milestone: 15.04.1 = None

** Changed in: mahara/15.04
Milestone: 15.04.1 = None

** Changed in: mahara
   Status: Incomplete = Fix Released

** No longer affects: mahara/15.04

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

Title:
  Don't assume the user has any views when doing an export.

Status in Mahara ePortfolio:
  Fix Released

Bug description:
  We should not assume the user has any views when doing an export. If
  they were imported from a CSV file, none will have been created for
  them initially.

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

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


[Mahara-contributors] [Bug 1378581] Re: Incomplete storage of admin's email at install

2015-04-20 Thread Aaron Wells
** Changed in: mahara
Milestone: 15.04.1 = 15.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/1378581

Title:
  Incomplete storage of admin's email at install

Status in Mahara ePortfolio:
  Confirmed

Bug description:
  From https://bugs.launchpad.net/mahara/+bug/1376072/comments/1:

  When the admin user is first created it is assigned the
  'ad...@example.com' dummy email address.

  This address is saved in usr table email column and is also saved in
  artefact table under title column as artefacttype = 'email' and in
  artefact_internal_profile_email table during the install page.

  When you continue onto the next page you are prompted to save a new
  password and email address

  This new email is saved in the usr table (post this fix:
  https://reviews.mahara.org/#/c/3201/2) and
  artefact_internal_profile_email but doesn't update the artefact table.

  When I install via cli I get the email address variable being saved in
  usr table but not in artefact nor artefact_internal_profile_email -
  they are still ad...@example.org

  We need to adjust it so whether installing via browser or cli that the
  admin user's email address is correct in all three places

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

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


[Mahara-contributors] [Bug 1364703] Re: Add caching of results to ArtefactType::get_plugin_name.

2015-04-20 Thread Aaron Wells
** Also affects: mahara/15.10
   Importance: Medium
 Assignee: Nigel Cunningham (nigelc-g)
   Status: Confirmed

** No longer affects: mahara/15.04

** Changed in: mahara/15.10
   Importance: Medium = Wishlist

** Changed in: mahara/15.10
Milestone: 15.04.1 = 15.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/1364703

Title:
  Add caching of results to ArtefactType::get_plugin_name.

Status in Mahara ePortfolio:
  Confirmed
Status in Mahara 15.10 series:
  Confirmed

Bug description:
  Add caching of results to ArtefactType::get_plugin_name.

  In a test export of 1000 users via admin/users/bulkexport.php, the
  patch that goes with this bug reduced the number of calls to get_field
  from 78,000 to 26 and reduced the execution time from 115 seconds to
  92 seconds.

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

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


[Mahara-contributors] [Bug 1381184] Re: need to drop old default email option

2015-04-20 Thread Aaron Wells
** Changed in: mahara
Milestone: 15.04.1 = 15.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/1381184

Title:
  need to drop old default email option

Status in Mahara ePortfolio:
  Confirmed

Bug description:
  Now that we use individual default email options for each activity
  type we need a patch to remove the 'defaultnotificationmethod' from
  config table.

  But the problem is we can't add it to the lib/db/upgrade.php as that
  is run before the upgrade on plugins - nor can we put it in the
  postinst of a plugin because we don't know which plugins will need to
  be updated last post 1.9 - eg if we go from 1.9 - 1.10 or even 1.9 -
  1.15 we will need to know the old defaultmethod. But after the initial
  jump we will not need to know about it.

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

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


[Mahara-contributors] [Bug 1446426] [NEW] Bulk user export page has a redirect that doesn't work with subdirectories.

2015-04-20 Thread Aaron Wells
Public bug reported:

This is a bug that shows up after you have successfully downloaded the
bulk export from admin/users/bulkexport.php.

To replicate:

1. Set up your Mahara site so there is a subdirectory in its wwwroot. (e.g.: 
http://example.com/mahara/)
2. Go to http://example.com/mahara/admin/users/bulkexport.php and bulk export 
some users.

Expected result: You download the ZIP file, and are redirected back to 
http://example.com/mahara/admin/users/bulkexport.php
Actual result: You download the ZIP file, but are redirected to the broken URL 
http://example.com/admin/users/bulkexport.php

The problem is that the success redirect URL is a relative URL
(/admin/users/bulkexport.php), when it needs to be an absolute URL
starting with $CFG-wwwroot.

** Affects: mahara
 Importance: Medium
 Assignee: Aaron Wells (u-aaronw)
 Status: In Progress

** Affects: mahara/15.04
 Importance: Medium
 Assignee: Aaron Wells (u-aaronw)
 Status: In Progress

** Affects: mahara/15.10
 Importance: Medium
 Assignee: Aaron Wells (u-aaronw)
 Status: In Progress


** Tags: bulkexport

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

** Also affects: mahara/15.10
   Importance: Medium
 Assignee: Aaron Wells (u-aaronw)
   Status: In Progress

** Changed in: mahara/15.04
Milestone: None = 15.04.1

** Changed in: mahara/15.10
Milestone: 15.04.1 = 15.10.0

** Changed in: mahara/15.04
 Assignee: (unassigned) = Aaron Wells (u-aaronw)

** Changed in: mahara/15.04
   Importance: Undecided = Medium

** Changed in: mahara/15.04
   Status: New = In Progress

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

Title:
  Bulk user export page has a redirect that doesn't work with
  subdirectories.

Status in Mahara ePortfolio:
  In Progress
Status in Mahara 15.04 series:
  In Progress
Status in Mahara 15.10 series:
  In Progress

Bug description:
  This is a bug that shows up after you have successfully downloaded the
  bulk export from admin/users/bulkexport.php.

  To replicate:

  1. Set up your Mahara site so there is a subdirectory in its wwwroot. (e.g.: 
http://example.com/mahara/)
  2. Go to http://example.com/mahara/admin/users/bulkexport.php and bulk export 
some users.

  Expected result: You download the ZIP file, and are redirected back to 
http://example.com/mahara/admin/users/bulkexport.php
  Actual result: You download the ZIP file, but are redirected to the broken 
URL http://example.com/admin/users/bulkexport.php

  The problem is that the success redirect URL is a relative URL
  (/admin/users/bulkexport.php), when it needs to be an absolute URL
  starting with $CFG-wwwroot.

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

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


[Mahara-contributors] [Bug 1446426] Re: Bulk user export page has a redirect that doesn't work with subdirectories.

2015-04-20 Thread Aaron Wells
Medium priority, because the bulkexport.php page is hidden away. Easy
fix, though, so we should backport it.

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

Title:
  Bulk user export page has a redirect that doesn't work with
  subdirectories.

Status in Mahara ePortfolio:
  In Progress
Status in Mahara 15.04 series:
  In Progress
Status in Mahara 15.10 series:
  In Progress

Bug description:
  This is a bug that shows up after you have successfully downloaded the
  bulk export from admin/users/bulkexport.php.

  To replicate:

  1. Set up your Mahara site so there is a subdirectory in its wwwroot. (e.g.: 
http://example.com/mahara/)
  2. Go to http://example.com/mahara/admin/users/bulkexport.php and bulk export 
some users.

  Expected result: You download the ZIP file, and are redirected back to 
http://example.com/mahara/admin/users/bulkexport.php
  Actual result: You download the ZIP file, but are redirected to the broken 
URL http://example.com/admin/users/bulkexport.php

  The problem is that the success redirect URL is a relative URL
  (/admin/users/bulkexport.php), when it needs to be an absolute URL
  starting with $CFG-wwwroot.

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

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


[Mahara-contributors] [Bug 1444784] A patch has been submitted for review

2015-04-20 Thread Mahara Bot
Patch for master branch: https://reviews.mahara.org/4682

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

Title:
  Watchlist block needs tidying up

Status in Mahara ePortfolio:
  In Progress

Bug description:
  Chatting with end users they would like somewhere that they can see a
  list of what pages they are watching.

  We currently have a watchlist block but it is quite limited:

  1) It can only be added to dashbooard page, but isn't included on new user 
dashboard by default 
  - I feel it should be

  2) It is limited to number of items available which can be set to 100 which 
is a long list 
  - better to use pagination

  3) There is only the page name displayed so if you are watching a lot of 
pages with same title you can't tell the difference
  - needs some of the data that 'Latest pages' displays eg - owner name and/or 
last updated time

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

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


[Mahara-contributors] [Bug 1443730] Re: Install webservice annotation blocks by default

2015-04-20 Thread Jinelle Foley-Barnes
** Tags added: behat has-behat

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

Title:
  Install webservice  annotation blocks by default

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

Bug description:
  It's probably best practice to make sure new core plugins are
  installed by default.

  The annotation block, without the SmartEvidence Phase 2 stuff to go
  with it, is not very obvious, so I'm going to install it and then mark
  it disabled.

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

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


[Mahara-contributors] [Bug 1420590] Re: access denied error when editing group as group admin

2015-04-20 Thread Jinelle Foley-Barnes
** Tags added: behat has-behat

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

Title:
  access denied error when editing group as group admin

Status in Mahara ePortfolio:
  Confirmed
Status in Mahara 1.10 series:
  Confirmed
Status in Mahara 1.9 series:
  Confirmed
Status in Mahara 15.04 series:
  Confirmed
Status in Mahara 15.10 series:
  In Progress

Bug description:
  Get a:
   
  You do not have access to view this page.

  group_update: cannot update a group in this institution

  error - this is due a group admin that is only in the 'no insitituion'
  (mahara) institution doesn't have the expected info set in their $USER
  data.

  So need to make an exception for the 'mahara' institution.

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

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


[Mahara-contributors] [Bug 1409370] Re: Use the new paginator on Shared with me

2015-04-20 Thread Jinelle Foley-Barnes
** Tags added: behat has-behat

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

Title:
  Use the new paginator on Shared with me

Status in Mahara ePortfolio:
  Fix Released

Bug description:
  The Shared with me page /view/sharedviews.php uses the old paginator
  where you only see 1 page listed to the left and right in the
  paginator, but not page numbers in intervals as on the User search
  page in the administrator, for example. That makes it difficult to go
  through the list quickly when you have access to a lot of pages.

  This should be fixed alongside bug #1409369.

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

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


[Mahara-contributors] [Bug 897586] Re: Searching by user in Shared Pages

2015-04-20 Thread Jinelle Foley-Barnes
** Tags added: behat has-behat

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

Title:
  Searching by user in Shared Pages

Status in Mahara ePortfolio:
  Fix Released

Bug description:
  Possibly related to bug https://bugs.launchpad.net/mahara/+bug/857793,
  so apologies if this should have been in there.

  At the moment, in the Shared Pages tab it seems that you can only
  search by page title, page description or tags, but you cannot search
  by a user.

  Could this please be included in a future release (preferably 1.5)?

  Thanks

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

___
Mailing list: https://launchpad.net/~mahara-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

2015-04-20 Thread Aaron Wells
Fixed for 15.04 as part of this commit, which removed the Focus glow
from around text boxes. https://reviews.mahara.org/#/c/4425/

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: 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 ePortfolio:
  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 1446395] [NEW] Behat tests: Removing duplicates and tidying tests

2015-04-20 Thread Jinelle Foley-Barnes
Public bug reported:

Hi All,

The suite needs a little maintenance and tidying. In order to make the
tests run faster and be more efficient we need to tidy the tests  up.
Eg: put them into the correct folders, make sure they have appropriate
tags for running them in groups, delete those that are testing duplicate
things and also delete those that are directly duplicate tests.

Thanks,
Jinelle

** Affects: mahara
 Importance: Undecided
 Status: New


** Tags: behat

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

Title:
  Behat tests: Removing duplicates and tidying tests

Status in Mahara ePortfolio:
  New

Bug description:
  Hi All,

  The suite needs a little maintenance and tidying. In order to make the
  tests run faster and be more efficient we need to tidy the tests  up.
  Eg: put them into the correct folders, make sure they have appropriate
  tags for running them in groups, delete those that are testing
  duplicate things and also delete those that are directly duplicate
  tests.

  Thanks,
  Jinelle

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

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


[Mahara-contributors] [Bug 1431569] Re: Change check boxes into switchboxes where possible

2015-04-20 Thread Jinelle Foley-Barnes
** Tags added: behat has-behat

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

Title:
  Change check boxes into switchboxes where possible

Status in Mahara ePortfolio:
  Fix Released

Bug description:
  We started using switchboxes instead of check boxes. This should be
  done whereever possible and sensible in Mahara. It is not new
  functionality, but a visual change.

  The default strings to be used are On and Off whereever possible.
  Only in rare cases should other strings be used. Thus, even when the
  question is Yes / No, the default On / Off should be used
  unless it would not make any sense as per UX advice.

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

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


[Mahara-contributors] [Bug 1409369] Re: Add the Max. items to show drop-down menu to Shared with me

2015-04-20 Thread Jinelle Foley-Barnes
** Tags added: behat has-behat

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

Title:
  Add the Max. items to show drop-down menu to Shared with me

Status in Mahara ePortfolio:
  Fix Released

Bug description:
  The page Shared with me /view/sharedviews.php should also get the
  drop-down menu from which users can choose how many items to display
  on the page.

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

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


[Mahara-contributors] [Bug 1424512] Re: some block attachment expanders not working after ajax load of blocks was merged

2015-04-20 Thread Jinelle Foley-Barnes
** Tags added: behat has-behat

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

Title:
  some block attachment expanders not working after ajax load of blocks
  was merged

Status in Mahara ePortfolio:
  Fix Released

Bug description:
  Now that we load the note block by ajax it means the block is not on
  the page when the the expander js goexs to wire up the expand/collapse
  stuff.

  I've altered the block renderer  so that each block instance loads
  it's own js to call setupExpanders().

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

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


[Mahara-contributors] [Bug 1255222] Re: Error message missing for deleted wall post

2015-04-20 Thread Jinelle Foley-Barnes
** Tags added: behat has-behat

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

Title:
  Error message missing for deleted wall post

Status in Mahara ePortfolio:
  Fix Released

Bug description:
  1.7

  When a wall post is deleted, the error message string is missing when
  you go to the URL of the wall post directly, e.g.
  https://mahara.org/blocktype/wall/wall.php?id=158793

  It only says: [[blockinstancenotfound/error]]

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

___
Mailing list: https://launchpad.net/~mahara-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

2015-04-20 Thread Aaron Wells
Problem only affects Mahara 1.10, not 15.04 or 15.10.

** No longer affects: mahara/15.04

** Changed in: mahara
Milestone: 15.04.1 = 1.10.4

** Changed in: mahara/1.10
Milestone: 1.10.4 = None

** No longer affects: mahara/1.10

** Description changed:

- Mahara 1.10 and master
- 
  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.

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: 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 ePortfolio:
  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 1397562] Re: Error display on the admin menus (tabs) of theme 'primaryschool'

2015-04-20 Thread Aaron Wells
This problem is not present in 15.04.0. Presumably it was fixed as part
of the 15.04 style changes.

** Changed in: mahara
Milestone: 15.04.1 = None

** Changed in: mahara/1.10
Milestone: 1.10.4 = None

** No longer affects: mahara/15.04

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

** Changed in: mahara
   Status: Confirmed = Fix Released

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

Title:
  Error display on the admin menus (tabs) of theme 'primaryschool'

Status in Mahara ePortfolio:
  Fix Released
Status in Mahara 1.10 series:
  Won't Fix

Bug description:
  Version of Mahara: 1.10.1
  Database: MySQL
  Platform: any 
  Browser: any

  Steps to replicate:

  1. Select theme 'primaryschool' in the site settings
  2. Click the menu (tab) 'Administration' 
  Error display between menu (tab) 'Groups' and menu (tab) 'Institutions'

  Sorry for my limited english!

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

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


[Mahara-contributors] [Bug 1407848] Re: Behat cant click links when the duplicate ones are hidden.

2015-04-20 Thread Aaron Wells
** Also affects: mahara/15.04
   Importance: Undecided
   Status: New

** Also affects: mahara/15.10
   Importance: Medium
 Assignee: Son Nguyen (ngson2000)
   Status: Confirmed

** Changed in: mahara/15.04
   Status: New = Confirmed

** Changed in: mahara/15.04
Milestone: None = 15.04.1

** Changed in: mahara/15.10
Milestone: 15.04.1 = 15.10.0

** Changed in: mahara/15.04
   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/1407848

Title:
  Behat cant click links when the duplicate ones are hidden.

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

Bug description:
  Hi Sonn,

  When you log in as an Admin follow Administration and on the Admin
  home/Overview page all the green links under the blue headings cannot
  be clicked. There are hidden duplicate links stopping Behat from being
  able to click these.

  I have attached a part of a test that you can use to test if your code
  has worked or not. The part it is failing on is Site options.

  Thanks
  Jinelle

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

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


[Mahara-contributors] [Bug 1439194] Re: Notes and attached files

2015-04-20 Thread Jinelle Foley-Barnes
** Tags added: needs-behat

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

Title:
  Notes and attached files

Status in Mahara ePortfolio:
  Fix Released
Status in Mahara 1.10 series:
  Fix Released
Status in Mahara 1.8 series:
  Fix Released
Status in Mahara 1.9 series:
  Fix Released
Status in Mahara 15.04 series:
  Fix Released
Status in Mahara 15.10 series:
  Fix Committed

Bug description:
  When I attach a file to a note on a page and then delete the file
  using the content  files panel, I can't edit the note via the
  portfolio  pages panel anymore.  When I try to do it, I get :
  Artefact with id XXX not found (where XXX is the id of the recently
  deleted file).

  I can still however edit the note directly from content  notes.
  The problem only occurs via portfolio  pages  edit content and
  layout.

  Mahara version : 1.10.3testing (2014092315)
  Operating system : Linux
  Database : MariaDB

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

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


[Mahara-contributors] [Bug 1446036] Re: Session changes in Mahara 15.04 can cause excessively large response headers

2015-04-20 Thread Jinelle Foley-Barnes
** Tags added: needs-behat

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

Title:
  Session changes in Mahara 15.04 can cause excessively large response
  headers

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

Bug description:
  For the new Ajax progress bar, Bug 1352028, we changed
  htdocs/auth/session.php so that it closes the PHP session when not in
  use. This was necessary in order to allow multiple requests to the
  same session to process simultaneously; PHP by default locks the
  session between the time you call session_start() and
  session_write_close().

  The downside to this approach, though, is that every time you call
  session_start(), PHP adds a new (duplicate) PHP_SESS_ID cookie to the
  request header. Since we open and close the session every time we call
  $SESSION-set() now, this can lead to a very large cookie header.

  On our hosting environment, these headers got too large and started
  causing our Nginx proxy server to throw errors while trying to
  initiate an MNet connection. This causes the proxy server to throw a
  500 error, and to log an error like this:

  2015/04/20 14:59:03 [error] 14845#0: *137093286 upstream sent too big
  header while reading response header from upstream, client:
  2404:130:0:1000:61f4:7e47:8a26:821, server: master-
  mahara.catalystdemo.net.nz, request: GET
  /auth/xmlrpc/land.php?token=3acfeeb7cad9814471ec5932fc293b30bbc7e387idp=http
  ://mnet-moodle.testing.elearning.catalyst.net.nzwantsurl= HTTP/1.1,
  upstream:
  
http://202.78.243.12:9226/auth/xmlrpc/land.php?token=3acfeeb7cad9814471ec5932fc293b30bbc7e387idp=http
  ://mnet-moodle.testing.elearning.catalyst.net.nzwantsurl=, host:
  master-mahara.catalystdemo.net.nz

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

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


[Mahara-contributors] [Bug 1443736] Re: Sitewide option to turn off AJAX block-loading

2015-04-20 Thread Jinelle Foley-Barnes
** Tags added: no-behat-needed

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

Title:
  Sitewide option to turn off AJAX block-loading

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

Bug description:
  On slow connections AJAX block-loading causes more harm than good.
  Users wind up spinning at a pageload of spinners, over and over.

  We should provide a sitewide option for sites to disable it.

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

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


[Mahara-contributors] [Bug 1441945] Re: cancel link shows up when you clink on a file thumbnail in Contents - Files

2015-04-20 Thread Jinelle Foley-Barnes
** Tags added: behat-needed

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

Title:
  cancel link shows up when you clink on a file thumbnail in Contents
  - Files

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

Bug description:
  While playing around with 15.10dev, I noticed that if I go to Content
  - Files, and click on the thumbnail of one of my images, it makes a
  link show up underneath the thumbnail that says - cancel. Clicking
  this just seems to take me to #. I'm guessing this probably the
  remnants of some Javascript that we've removed in the past.

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

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


[Mahara-contributors] [Bug 1443732] Re: Turn AJAX block-loading off except for blocks that need it

2015-04-20 Thread Jinelle Foley-Barnes
** Tags added: no-behat-needed

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

Title:
  Turn AJAX block-loading off except for blocks that need it

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

Bug description:
  While the AJAX block-loading speeds up page loads if there are blocks
  that take a long time to render, it can actually slow down page load
  if you have many blocks that are quick to load, but you have a slow
  ping time to your Mahara site.

  So, it will probably create the least user frustration if we turn off
  the AJAX block loading feature for all blocks except the ones that are
  quite prone to loading slowly (i.e. ones that are database-heavy.)

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

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


[Mahara-contributors] [Bug 1436841] Re: Add External Media - YouTube Video

2015-04-20 Thread Jinelle Foley-Barnes
** Tags added: no-behat-needed

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

Title:
  Add External Media - YouTube Video

Status in Mahara ePortfolio:
  Fix Released
Status in Mahara 1.10 series:
  Fix Released
Status in Mahara 1.8 series:
  Fix Released
Status in Mahara 1.9 series:
  Fix Released
Status in Mahara 15.04 series:
  Fix Released
Status in Mahara 15.10 series:
  Fix Committed

Bug description:
  Version: 15.04rc1

  When adding a new External Media block to a page using the embed code
  from YouTube, if the option 'Enable privacy-enhanced mode' in YouTube
  is selected the video is not displayed in the block on Mahara.

  I think this is related to the URL changing if this option is selected:
  Option selected in YouTube:  https://www.youtube-nocookie.com/embed
  Option not selected in YouTube:  https://www.youtube.com/embed/

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

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


[Mahara-contributors] [Bug 1429871] Re: Link underlining in skins doesn't work

2015-04-20 Thread Jinelle Foley-Barnes
** Tags added: no-behat-needed

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

Title:
  Link underlining in skins doesn't work

Status in Mahara ePortfolio:
  Fix Released
Status in Mahara 1.10 series:
  Fix Released
Status in Mahara 1.8 series:
  Fix Released
Status in Mahara 1.9 series:
  Fix Released
Status in Mahara 15.04 series:
  Fix Released
Status in Mahara 15.10 series:
  Fix Committed

Bug description:
  If the user edits a skin (Edit skin  Fonts and colours) and checks
  the Underline link -option, the link doesn't get underlined on a page
  with the skin applied. There seems to be a bug in skin/style.php#38
  with the comparison

  if ($option == 'transparent')

  because when a checkbox is selected, the $option value is a boolean
  TRUE and when using PHP's loose comparison operator, (true ==
  'transparent') = true. Therefore for example
  $skin-viewskin['view_link_normal_underline'] (and a few others) value
  changes to an empty string and the value assigned to template is
  'none' instead of 'underline'.

  A simple fix is to use strict comparison:

  if ($option === 'transparent')

  ---

  Mahara version: 1.9.1
  Browser: Chrome (Linux) 40.0.2214.115 (64-bit)

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

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


[Mahara-contributors] [Bug 1436582] Re: Secret URLs - From/To Eror Message

2015-04-20 Thread Jinelle Foley-Barnes
** Tags added: behat needs-behat

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

Title:
  Secret URLs - From/To Eror Message

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

Bug description:
  Version: 15.04rc1

  Error message displayed when entering a 'From' date that is before the 'To' 
date and a 'To' date that is in the future.
  Current date: 25/03/2015 21:50
  From: 25/03/2015 21:50
  To:  25/03/2015 23:30

  Error Message 1: There was an error with submitting this form. Please check 
the marked fields and try again.
  Error Message 2: Stop date cannot be in the past

  Should message 'Stop date cannot be in the past' be changed to 'To
  date cannot be in the past'?

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

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


[Mahara-contributors] [Bug 1381231] Re: problem with submitting a tagged journal block

2015-04-20 Thread Aaron Wells
** Changed in: mahara
Milestone: 15.04.1 = 15.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/1381231

Title:
  problem with submitting a tagged journal block

Status in Mahara ePortfolio:
  Confirmed

Bug description:
  There are two problems here - but are probably closely related so will
  add them together.

  1) If I add submit a page with tagged journal blocks on it I can't
  edit those blocks but I can add a new journal entry with the same tag
  and it will show on the submitted page.

  2) If I create a few journal entries (say 5) and tag only 3 of them
  with a new tag (say cats) and then submit a tagged block on a page
  using 'cats' I find all 5 of my journal entries are now locked - I
  should only be getting the submitted ones locked.

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

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


[Mahara-contributors] [Bug 1386000] Re: Don't display submitted pages in Pages / collections shared with this group

2015-04-20 Thread Aaron Wells
Still a problem in 15.10dev.

** Changed in: mahara
Milestone: 15.04.1 = 15.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/1386000

Title:
  Don't display submitted pages in Pages / collections shared with this
  group

Status in Mahara ePortfolio:
  Confirmed

Bug description:
  When a user submits a page / collection to a group, the group admin
  sees it both under Pages / collections shared with this group and
  Submitted pages / collections. This is confusing as the pages /
  collections show up twice and it's not easy to see that they have
  actually been submitted only. I think it would be best to show
  submitted pages that have not been shared with the rest of the group
  only in Submitted pages / collections.

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

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


[Mahara-contributors] [Bug 1384492] Re: update Pear to version 1.9.5

2015-04-20 Thread Aaron Wells
** Changed in: mahara
Milestone: 15.04.1 = 15.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/1384492

Title:
  update Pear to version 1.9.5

Status in Mahara ePortfolio:
  Confirmed

Bug description:
  currently 1.9.4

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

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


[Mahara-contributors] [Bug 1386670] Re: Improve UI of secret URL auto-copy button

2015-04-20 Thread Aaron Wells
Still a problem in 15.10dev, although perhaps it'll be better after the
Bootstrap changes are merged in.

** Changed in: mahara
Milestone: 15.04.1 = 15.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/1386670

Title:
  Improve UI of secret URL auto-copy button

Status in Mahara ePortfolio:
  Confirmed

Bug description:
  We've finally got an auto-copy button for secret-URLs. But, there are
  a couple of ways it's lacking:

  1. The button shows up waaay over on the right-hand side of the
  screen, next to the edit and delete icons. The link is all the way
  over on the left. I knew that the copy button was there and I had a
  hard time finding it at first! We need to move it over closer to the
  URL. Since all the URLs are a fixed with, perhaps it would make more
  sense to change the table they're displayed in so that it's narrower,
  instead of stretching to fill the screen.

  2. When you click the button, there's no feedback to indicate that
  copying worked. I've seen this done in different ways on different
  sites, but we need to provide some graphic change to indicate that
  it's copied now. This could be something like highlighting the URL, or
  an ephemeral copied that shows up.

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

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


[Mahara-contributors] [Bug 1387412] Re: Eliminate links-that-look-like-buttons buttons-that-look-like-links

2015-04-20 Thread Aaron Wells
** Changed in: mahara
Milestone: 15.04.1 = 15.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/1387412

Title:
  Eliminate links-that-look-like-buttons  buttons-that-look-like-links

Status in Mahara ePortfolio:
  Confirmed

Bug description:
  Mahara contains quite a few HTML links (a tags) that are styled to
  look like buttons. It may also contain some buttons (input tags and
  button tags) that are styled to look like links.

  These interfere with our ability to write automated tests, and they're
  bad for accessibility. As the Mahara accessibility checklist says:

  Use buttons and links consistently.
  -  Use a link if you're navigating to a predefined page or section 
(navigation, tabs, etc.)
  -  Use a button if you're changing information or state (submitting a form, 
editing or deleting content, searching, etc.)

  From
  https://wiki.mahara.org/index.php/Developer_Area/Accessibility_Checklist#Forms

  To facilitate this, we should write a PHP function (and Dwoo tag) that
  allows you to create a link button, i.e. a button that, when
  clicked, simply takes you to a specified URL. Then we can
  systematically locate all the links-that-look-like-buttons and replace
  them with actual buttons using this functionality.

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

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


[Mahara-contributors] [Bug 1367539] Re: When quota notification threshold is changed, send notifications to users who are now over threshold

2015-04-20 Thread Jinelle Foley-Barnes
** Tags added: behat has-behat

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

Title:
  When quota notification threshold is changed, send notifications to
  users who are now over threshold

Status in Mahara ePortfolio:
  Fix Released
Status in Mahara 1.10 series:
  Fix Released
Status in Mahara 15.04 series:
  Fix Released

Bug description:
  Bug 1307935 sends notifications to users when they go over a threshold
  near their quota. But if you change the threshold, then users who are
  already over the new threshold receive no notification.

  This patch makes it so that when you change the threshold, users who
  are now over the threshold will receive a notification.

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

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


[Mahara-contributors] [Bug 1446395] Re: Behat tests: Removing duplicates and tidying tests

2015-04-20 Thread Aaron Wells
** Changed in: mahara
Milestone: 15.04.1 = 15.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/1446395

Title:
  Behat tests: Removing duplicates and tidying tests

Status in Mahara ePortfolio:
  New

Bug description:
  Hi All,

  The suite needs a little maintenance and tidying. In order to make the
  tests run faster and be more efficient we need to tidy the tests  up.
  Eg: put them into the correct folders, make sure they have appropriate
  tags for running them in groups, delete those that are testing
  duplicate things and also delete those that are directly duplicate
  tests.

  Thanks,
  Jinelle

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

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


[Mahara-contributors] [Bug 1299993] Re: Improvements to notification system

2015-04-20 Thread Jinelle Foley-Barnes
** Tags added: behat has-behat

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

Title:
  Improvements to notification system

Status in Mahara ePortfolio:
  Fix Released
Status in Mahara 1.10 series:
  Fix Released
Status in Mahara 15.04 series:
  Fix Released

Bug description:
  This patch implements some improvements to notification settings which
  will also allow us to more easily implement further features. Included
  in this patch:

  - Each activity type can specify a default notification method. They default 
to 'email' to remain backwards compatible.
  - Each activity type can specify if it is allowed to be set to 'none'. 
Defaults to 'allowed' for backwards compatibility.
  - Removed 'required' from notification settings - it didn't make sense, and 
the change above deals with this in a better way.
  - The site wide defaults for each activity type can be edited in Site options 
- Notification settings. These are applied to new users or whenever a user 
does not have the appropriate usr_activity_preference records.
  - There is a separate help next to each activity type to explain what 
messages will be affected by the setting.

  The following additional changes were made internally to allow the
  above:

  - Most activity types can now be set to 'none'. We feel that only user to 
user and system messages should be enforeced and everything else should be 
optional.
  - The way 'none' is handled was changed. A missing usr_activity_preference 
record indicates that the settings has not yet been set, so the default should 
be user. Null method indicates 'none' was selected.
  - The function pieform_get_help was modified to check for element fields 
'helpplugintype', 'helppluginname' and 'helpformname' so that the notification 
settings form elements could be reused in the site options. (We want to use the 
same help files on more than one form, but the help files are saved with the 
form name, so we had to allow the form name to be specified for the help).

  Activity type plugin authors should be aware of the following changes:

  - 'enablenonemethod' and 'defaultmethod' are values that can be specified 
when specifying an activity type. Both are optional.
  - Help files can be specified for each activity type. The help files can be 
placed in the plugin's subfolder (e.g. artefact/myplugin/lang/...). Help files 
are optional, but should be provided, otherwise There was no help found for 
this item. will be displayed.

  Version: master

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

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


[Mahara-contributors] [Bug 1433342] Re: Admins don't see all activity filter types in inbox/outbox

2015-04-20 Thread Jinelle Foley-Barnes
** Tags added: behat has-behat

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

Title:
  Admins don't see all activity filter types in inbox/outbox

Status in Mahara ePortfolio:
  Fix Released
Status in Mahara 1.10 series:
  Won't Fix

Bug description:
  Admins are allowed to see more types of messages than a normal user -
  but their activity filter box has only the basic types.

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

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


[Mahara-contributors] [Bug 1408438] Re: Remove Journal option from profile completion

2015-04-20 Thread Jinelle Foley-Barnes
** Tags added: behat has-behat

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

Title:
  Remove Journal option from profile completion

Status in Mahara ePortfolio:
  Fix Released

Bug description:
  Since every user has a journal set up by default, we do not need the
  option Journal in the profile completion as everyone would get
  points for that option. I think it should be removed.

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

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


[Mahara-contributors] [Bug 1364705] Re: Save another 17 seconds off a 1000 user export by caching the value of $updated in LeapExportElementInternal's assign_smarty_vars function.

2015-04-20 Thread Jinelle Foley-Barnes
** Tags added: no-behat-needed

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

Title:
  Save another 17 seconds off a 1000 user export by caching the value of
  $updated in LeapExportElementInternal's assign_smarty_vars function.

Status in Mahara ePortfolio:
  Confirmed
Status in Mahara 15.10 series:
  In Progress

Bug description:
  This bug/patch lets us save another 17 seconds off a 1000 user export
  by caching the value of $updated in LeapExportElementInternal's
  assign_smarty_vars function.

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

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


[Mahara-contributors] [Bug 1442150] Re: Replace delete logo switch with a checkbox

2015-04-20 Thread Jinelle Foley-Barnes
** Tags added: behat needs-behat

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

Title:
  Replace delete logo switch with a checkbox

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

Bug description:
  I noticed another switchbox that would make more sense as an old-
  fashioned checkbox. When you upload an institution logo, there's a
  checkbox to delete the logo the next time you save the institution.

  This makes more sense as a checkbox than as a switchbox. The switchbox
  implies a persistent change in a setting. Like a light switch, it will
  remain in position until you flick it off. But this particular setting
  is no persistent. It's just indicating that you want to do an action
  this one time.

  So we should change it back to a checkbox. Or maybe change its text to
  say Yes and No rather than On and Off.

  To replicate:

  1. Edit No institution
  2. Upload a logo file
  3. Save
  4. Edit No institution again
  5. Below the uploaded logo, you'll see a setting to allow you to delete the 
uploaded logo

  Expected result: This should be a checkbox, because it's a one-time
  action that will be triggered when you hit save

  Actual result: It's a switchbox

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

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


[Mahara-contributors] [Bug 1432523] Re: Lang string review for 15.04

2015-04-20 Thread Robert Lyon
This is done now that 15.04 is out

if we need to change more lang strings they will be on their own bug
reports

** Changed in: mahara
   Status: In Progress = Fix Released

** Changed in: mahara
Milestone: 15.04.1 = None

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

Title:
  Lang string review for 15.04

Status in Mahara ePortfolio:
  Fix Released

Bug description:
  Review and revise lang strings right before the UI freeze for 15.04

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

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


[Mahara-contributors] [Bug 1374163] Re: List of shared pages to a group not taking account of access date

2015-04-20 Thread Jinelle Foley-Barnes
** Tags added: behat needs-behat

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

Title:
  List of shared pages to a group not taking account of access date

Status in Mahara ePortfolio:
  Confirmed
Status in Mahara 1.10 series:
  Confirmed
Status in Mahara 1.8 series:
  Won't Fix
Status in Mahara 1.9 series:
  Confirmed
Status in Mahara 15.04 series:
  Confirmed
Status in Mahara 15.10 series:
  Confirmed

Bug description:
  Version: master(1.10) and previous version
  Browser, platform: any

  When I clicked a shared page in the  list of shared pages in the group 
homepage (htdocs/group/view.php), I got Access denied message.
  Steps

  1. Login as user A, create a page, share the page to a group Z
  2. Set the  'Overriding start date' to a future date
  3. Login as a member of group Z
  4. In the group Z homepage, click the page shared by the user A
  You will see the Access denied message.

  Expected result: The page shared by the user A to the group Z should
  not be displayed in the list until the date set by  'Overriding start
  date'

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

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


[Mahara-contributors] [Bug 1407854] Re: New Behat step: And I expand text node

2015-04-20 Thread Jinelle Foley-Barnes
** Tags added: has-behat

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

Title:
  New Behat step: And I expand text node

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

Bug description:
  Hi,

  Could you please implement a step that says: And I expand text node.
  Moodle already uses this step.

  I would be useful when you follow Portfolio - Create page - Edit content 
and then expanding the Media, Journals. General, Personal information and 
External tabs/nodes.
   
  I have attached a piece of a test below that you can use to test the code 
change with.

  Thanks,
  Jinelle

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

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


[Mahara-contributors] [Bug 1348024] Re: users can stay logged into suspended institution

2015-04-20 Thread Jinelle Foley-Barnes
** Tags added: behat needs-behat

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

Title:
  users can stay logged into suspended institution

Status in Mahara ePortfolio:
  Fix Released
Status in Mahara 1.10 series:
  Fix Released
Status in Mahara 1.8 series:
  Fix Released
Status in Mahara 1.9 series:
  Fix Released
Status in Mahara 15.04 series:
  Fix Released
Status in Mahara 15.10 series:
  Fix Committed

Bug description:
  If a user does not use their own institution's auth method then user
  only belonging to a suspended institution can still log in.

  Scenario: 
  - Create an institution called 'testone' with the auth method internal mahara
  - Add a user to it (so that the user is only in this institution and no 
others)
  - Update the user auth method to be another internal one
  - suspend the institution
  - log out and  then in as user - can get in because the auth method is paired 
to 'mahara' institution

  Another problem:

  Same as above but have the user using the institutions auth method
  - this time one gets a warning about the institution being suspended, which 
is good
  but also gets the top menu and is actually logged in/can navigate about.

  What needs to be done:

  1) when an institution is suspended make sure all users that only
  belong to this institution have a valid usr.authinstance value and if
  they don't give them one.

  2) when they are trying to log in to their suspended institution
  actually deny them properly.

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

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


[Mahara-contributors] [Bug 1437083] Re: Files - Download folder content as a zip file

2015-04-20 Thread Jinelle Foley-Barnes
** Tags added: behat behat-needed

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

Title:
  Files - Download folder content as a zip file

Status in Mahara ePortfolio:
  Confirmed
Status in Mahara 1.10 series:
  Confirmed
Status in Mahara 15.04 series:
  Confirmed
Status in Mahara 15.10 series:
  Confirmed

Bug description:
  Version: 15.04rc1

  OS: Windows 7
  Browser: Firefox 36.0.4

  If download zip file of home (parent) folder, error message displayed
  when try to extract zipped folder. Try this with sub folders (child
  folders) seems to work fine.

  1. In Mahara, click Content  Files
  2. Click 'Download folder content as a zip file'
  3. On downloaded zipped folder right-click and select 'Extract All...' then 
click the 'Extract' button
  4. Error message displayed (attached)

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

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


[Mahara-contributors] [Bug 1444905] Re: Elasticsearch doesn't search achievements

2015-04-20 Thread Jinelle Foley-Barnes
** Tags added: no-behat-needed

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

Title:
  Elasticsearch doesn't search achievements

Status in Mahara ePortfolio:
  Triaged
Status in Mahara 1.10 series:
  Triaged
Status in Mahara 1.9 series:
  Triaged
Status in Mahara 15.04 series:
  Triaged
Status in Mahara 15.10 series:
  Triaged

Bug description:
  We are testing Elasticsearch and we can see that it doesn't search for
  any field in achievements (certification, book, membership). I can see
  it's indexed in Elasticsearch but it doesn't give any records in
  Mahara.

  We are using:
  Mahara 1.10.2
  Postgres 9.1
  Debian
  Elasticsearch 1.5.0

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

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


[Mahara-contributors] [Bug 1229660] Re: tag lastinstitution:... shows up for admin under my tags

2015-04-20 Thread Aaron Wells
To expand on this some more, the lastinstitution: is an example of the
obscure feature of user tags. These were added in Mahara 1.5 (See Bug
800926), but we never wrote any code that uses them except for the
members who have left an institution feature.

You can manually set and view user tags via the account settings page.
Just log in as an admin, go to a user's account settings, and you'll
have a tag selector!

So the specific problem here is that a user shouldn't be able to add the
lastinstitution: tag manually like that. It's supposed to be hidden.

There are two ways we could fix this.

1. The hacky way: Edit the SQL in taglist.php (which is the JSON script
that generates the list of tags for the tag selector pieform element) so
that it is hardcoded to ignore tags that start with lastinstitution:

2. The more robust way: Add a hidden flag column to the usr_tag table.
Then alter taglist.php (and all the other places that access usr_tag) so
that they don't display tags marked as hidden. This will replace the
existing code that has lastinstitution: hardcoded in.

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

Title:
  tag lastinstitution:... shows up for admin under my tags

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

Bug description:
  When you are an admin on a multitenannted Mahara site, you see tags of
  lastinstitution:... in your list of tags when users have left an
  institution.

  These are for the functionality of allowing the admin to see People
  who have left a given institution on the Administration -
  Institutions - Members screen.

  This tag should not show up in an admin's list of tags though as they
  are not that admin's tags and he shouldn't really hand those tags out.

  To replicate:

  1. Clean Mahara install. Log in as admin.
  2. Create Institution A
  3. Create User 1
  4. Go to User 1's account settings page, go down to the Institution 
Settings section at the bottom, and add them to Institution A.
  5. Return to User 1's account settings page, and remove them from Institution 
A.
  6. Go to admin's Portfolio section and create a page.
  7. On the Edit title and description screen, at the Tags field, click the 
Show my tags link.

  Result: lastinstitution:institutiona shows up as one of the tags.
  Expected result: lastinstitution:institutiona should not be listed as one 
of the tags.

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

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


[Mahara-contributors] [Bug 1446426] A patch has been submitted for review

2015-04-20 Thread Mahara Bot
Patch for master branch: https://reviews.mahara.org/4680

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

Title:
  Bulk user export page has a redirect that doesn't work with
  subdirectories.

Status in Mahara ePortfolio:
  In Progress
Status in Mahara 15.04 series:
  In Progress
Status in Mahara 15.10 series:
  In Progress

Bug description:
  This is a bug that shows up after you have successfully downloaded the
  bulk export from admin/users/bulkexport.php.

  To replicate:

  1. Set up your Mahara site so there is a subdirectory in its wwwroot. (e.g.: 
http://example.com/mahara/)
  2. Go to http://example.com/mahara/admin/users/bulkexport.php and bulk export 
some users.

  Expected result: You download the ZIP file, and are redirected back to 
http://example.com/mahara/admin/users/bulkexport.php
  Actual result: You download the ZIP file, but are redirected to the broken 
URL http://example.com/admin/users/bulkexport.php

  The problem is that the success redirect URL is a relative URL
  (/admin/users/bulkexport.php), when it needs to be an absolute URL
  starting with $CFG-wwwroot.

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

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


[Mahara-contributors] [Bug 1388664] Re: Add focus for social media profile creation

2015-04-20 Thread Aaron Wells
** Also affects: mahara/15.04
   Importance: Undecided
   Status: New

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

** Also affects: mahara/15.10
   Importance: Medium
   Status: Confirmed

** Changed in: mahara/1.10
   Status: New = Confirmed

** Changed in: mahara/15.04
   Status: New = Confirmed

** Changed in: mahara/15.04
   Importance: Undecided = Medium

** Changed in: mahara/1.10
   Importance: Undecided = Medium

** Changed in: mahara/15.04
Milestone: None = 15.04.1

** Changed in: mahara/1.10
Milestone: None = 1.10.4

** Changed in: mahara/15.10
Milestone: 15.04.1 = 15.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/1388664

Title:
  Add focus for social media profile creation

Status in Mahara ePortfolio:
  Confirmed
Status in Mahara 1.10 series:
  Confirmed
Status in Mahara 15.04 series:
  Confirmed
Status in Mahara 15.10 series:
  Confirmed

Bug description:
  When you create a new social media account on
  /artefact/internal/socialprofile.php, the focus is missing whereas it
  should be on the drop-down menu where you select which account you
  want to use.

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

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


[Mahara-contributors] [Bug 1229660] Re: tag lastinstitution:... shows up for admin under my tags

2015-04-20 Thread Aaron Wells
This bug is still present in 15.04dev. It's worth noting that the
lastinstitution: tags do not show up in your tags page
(mahara.example.com/tags.php). So perhaps whatever logic is being used
there, needs to be shared by the tags pieform element.

** Tags added: tags

** Tags added: admin

** Description changed:

  When you are an admin on a multitenannted Mahara site, you see tags of
- lastinstitution:... in your list of tags when users have switched
- institutions.
+ lastinstitution:... in your list of tags when users have left an
+ institution.
  
- These are for the functionality
- http://manual.mahara.org/en/1.7/administration/institutions.html#people-
- who-have-left-a-given-institution
+ These are for the functionality of allowing the admin to see People who
+ have left a given institution on the Administration - Institutions -
+ Members screen.
  
- They should not show up in an admin's list of tags though as they are
- not that admin's tags and he shouldn't really hand those tags out.
+ This tag should not show up in an admin's list of tags though as they
+ are not that admin's tags and he shouldn't really hand those tags out.
+ 
+ To replicate:
+ 
+ 1. Clean Mahara install. Log in as admin.
+ 2. Create Institution A
+ 3. Create User 1
+ 4. Go to User 1's account settings page, go down to the Institution 
Settings section at the bottom, and add them to Institution A.
+ 5. Return to User 1's account settings page, and remove them from Institution 
A.
+ 6. Go to admin's Portfolio section and create a page.
+ 7. On the Edit title and description screen, at the Tags field, click the 
Show my tags link.
+ 
+ Result: lastinstitution:institutiona shows up as one of the tags.
+ Expected result: lastinstitution:institutiona should not be listed as one 
of the tags.

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

Title:
  tag lastinstitution:... shows up for admin under my tags

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

Bug description:
  When you are an admin on a multitenannted Mahara site, you see tags of
  lastinstitution:... in your list of tags when users have left an
  institution.

  These are for the functionality of allowing the admin to see People
  who have left a given institution on the Administration -
  Institutions - Members screen.

  This tag should not show up in an admin's list of tags though as they
  are not that admin's tags and he shouldn't really hand those tags out.

  To replicate:

  1. Clean Mahara install. Log in as admin.
  2. Create Institution A
  3. Create User 1
  4. Go to User 1's account settings page, go down to the Institution 
Settings section at the bottom, and add them to Institution A.
  5. Return to User 1's account settings page, and remove them from Institution 
A.
  6. Go to admin's Portfolio section and create a page.
  7. On the Edit title and description screen, at the Tags field, click the 
Show my tags link.

  Result: lastinstitution:institutiona shows up as one of the tags.
  Expected result: lastinstitution:institutiona should not be listed as one 
of the tags.

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

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


[Mahara-contributors] [Bug 1426983] Re: Converting Selenim tests to Behat tests

2015-04-20 Thread Jinelle Foley-Barnes
** Tags added: has-behat

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

Title:
  Converting Selenim tests to Behat tests

Status in Mahara ePortfolio:
  In Progress

Bug description:
  Hi,

  This is an added feature for the 15.04 release.

  The current Selenium IDE test will be converted to Behat tests so we can 
regression test and prevent bugs before the release.
  This bug number will be attached to the Gerrit patches for the Selenium tests 
from now on so they can all be tracked on Launchpad. 

  
  Regards,
  Jinelle

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

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


[Mahara-contributors] [Bug 809297] Re: Missing help icons in portfolio tab

2015-04-20 Thread Jinelle Foley-Barnes
** Tags added: behat has-behat

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

Title:
  Missing help icons in portfolio tab

Status in Mahara ePortfolio:
  Fix Released

Bug description:
  Version: 1.4.0

  The Help (i) icon appears against all the items in the Content tab (eg
  Profile, Files etc), but does not appear in any of the Portfolio
  tabs (Pages, etc), but there does appear to be help for sub menus of
  these tabs (ie, no help for Collections, but there is help for 'Edit
  Title...' of a collection).

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

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


[Mahara-contributors] [Bug 1411070] Re: Missing help for pages under 'Portfolio'/'Skins'

2015-04-20 Thread Jinelle Foley-Barnes
** Tags added: behat has-behat

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

Title:
  Missing help for pages under 'Portfolio'/'Skins'

Status in Mahara ePortfolio:
  Fix Released

Bug description:
  Missing help icon and help context.

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

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


[Mahara-contributors] [Bug 1444905] Re: Elasticsearch doesn't search achievements

2015-04-20 Thread Robert Lyon
** Changed in: mahara/15.10
 Assignee: (unassigned) = Robert Lyon (robertl-9)

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

Title:
  Elasticsearch doesn't search achievements

Status in Mahara ePortfolio:
  Triaged
Status in Mahara 1.10 series:
  Triaged
Status in Mahara 1.9 series:
  Triaged
Status in Mahara 15.04 series:
  Triaged
Status in Mahara 15.10 series:
  Triaged

Bug description:
  We are testing Elasticsearch and we can see that it doesn't search for
  any field in achievements (certification, book, membership). I can see
  it's indexed in Elasticsearch but it doesn't give any records in
  Mahara.

  We are using:
  Mahara 1.10.2
  Postgres 9.1
  Debian
  Elasticsearch 1.5.0

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

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


[Mahara-contributors] [Bug 1436672] Re: Upgrade from Mahara 1.4 - 15.04 doesn't work

2015-04-20 Thread Jinelle Foley-Barnes
** Tags added: no-behat-needed

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

Title:
  Upgrade from Mahara 1.4 - 15.04 doesn't work

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

Bug description:
  If I try to upgrade from Mahara 1.4 (or earlier) to 15.04 through the
  web interface, I can't do so. Loading up the main /index.php page
  presents me with a blank Site unavailable error page, and no way to
  click through to the upgrade screen. Even if I navigate directly to
  /admin/upgrade.php, it also shows Site Unavailable.

  Using git bisect, I traced the cause to commit
  90a1c4294cc29181d474093420a172ab01bd1d1a, which is the patch for Bug
  1408473, Upload 'no institution' site logo through admin -
  institution

  In the Apache logs, I see this error:

   [WAR] f2 (lib/errors.php:747) Failed to get a recordset: postgres8 error: 
[-1: ERROR:  column logo does not exist
   [WAR] f2 (lib/errors.php:747) LINE 1: SELECT logo FROM institution  
WHERE name =  $1
   [WAR] f2 (lib/errors.php:747)^] in EXECUTE(SELECT logo 
FROM institution  WHERE name = ? )
   [WAR] f2 (lib/errors.php:747) Command was: SELECT logo FROM institution  
WHERE name = ?  and values was (mahara)
   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:97
     * log_warn(Failed to get a recordset: postgres8 error: [-1: E...) at 
/home/aaronw/www/mahara/htdocs/lib/errors.php:747
     * SQLException-__construct(Failed to get a recordset: postgres8 error: 
[-1: E...) at /home/aaronw/www/mahara/htdocs/lib/dml.php:480
     * get_recordset_sql(SELECT logo FROM institution  WHERE name = 
?..., array(size 1)) at /home/aaronw/www/mahara/htdocs/lib/dml.php:791
     * get_field_sql(SELECT logo FROM institution  WHERE name = ?..., 
array(size 1)) at /home/aaronw/www/mahara/htdocs/lib/dml.php:779
     * get_field(institution, logo, name, mahara) at 
/home/aaronw/www/mahara/htdocs/lib/web.php:1055
     * Theme-header_logo() at /home/aaronw/www/mahara/htdocs/lib/web.php:502
     * smarty() at /home/aaronw/www/mahara/htdocs/admin/upgrade.php:32

   [WAR] f2 (lib/dml.php:480) Failed to get a recordset: postgres8 error: [-1: 
ERROR:  column logo does not exist
   [WAR] f2 (lib/dml.php:480) LINE 1: SELECT logo FROM institution  WHERE 
name =  $1
   [WAR] f2 (lib/dml.php:480)^] in EXECUTE(SELECT logo FROM 
institution  WHERE name = ? )
   [WAR] f2 (lib/dml.php:480) Command was: SELECT logo FROM institution  
WHERE name = ?  and values was (mahara)
   Call stack (most recent first):
     * get_recordset_sql(SELECT logo FROM institution  WHERE name = 
?..., array(size 1)) at /home/aaronw/www/mahara/htdocs/lib/dml.php:791
     * get_field_sql(SELECT logo FROM institution  WHERE name = ?..., 
array(size 1)) at /home/aaronw/www/mahara/htdocs/lib/dml.php:779
     * get_field(institution, logo, name, mahara) at 
/home/aaronw/www/mahara/htdocs/lib/web.php:1055
     * Theme-header_logo() at /home/aaronw/www/mahara/htdocs/lib/web.php:502
     * smarty() at /home/aaronw/www/mahara/htdocs/admin/upgrade.php:32

   [WAR] f2 (lib/errors.php:747) Failed to get a recordset: postgres8 error: 
[-1: ERROR:  column logo does not exist
   [WAR] f2 (lib/errors.php:747) LINE 1: SELECT logo FROM institution  
WHERE name =  $1
   [WAR] f2 (lib/errors.php:747)^] in EXECUTE(SELECT logo 
FROM institution  WHERE name = ? )
   [WAR] f2 (lib/errors.php:747) Command was: SELECT logo FROM institution  
WHERE name = ?  and values was (mahara)
   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:97
     * log_warn(Failed to get a recordset: postgres8 error: [-1: E...) at 
/home/aaronw/www/mahara/htdocs/lib/errors.php:747
     * SQLException-__construct(Failed to get a recordset: postgres8 error: 
[-1: E...) at /home/aaronw/www/mahara/htdocs/lib/dml.php:480
     * get_recordset_sql(SELECT logo FROM institution  WHERE name = 
?..., array(size 1)) at /home/aaronw/www/mahara/htdocs/lib/dml.php:791
     * get_field_sql(SELECT logo FROM institution  WHERE name = ?..., 
array(size 1)) at /home/aaronw/www/mahara/htdocs/lib/dml.php:779
     * get_field(institution, logo, name, mahara) at 
/home/aaronw/www/mahara/htdocs/lib/web.php:1055
     * Theme-header_logo() at /home/aaronw/www/mahara/htdocs/lib/web.php:502
     * smarty(array(size 0), array(size 0), array(size 0), array(size 1)) at 
/home/aaronw/www/mahara/htdocs/lib/errors.php:576
     * 

[Mahara-contributors] [Bug 604839] Re: Upgrade swfobject to version 2.2 (new upstream)

2015-04-20 Thread Aaron Wells
** Also affects: mahara/15.10
   Importance: Medium
 Assignee: Robert Lyon (robertl-9)
   Status: Confirmed

** Changed in: mahara/15.10
Milestone: 15.04.1 = 15.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/604839

Title:
  Upgrade swfobject to version 2.2 (new upstream)

Status in Mahara ePortfolio:
  Confirmed
Status in Mahara 15.10 series:
  Confirmed

Bug description:
  The SWFObject detection script we used in the internal media blocktype
  is using this upstream code:

http://blog.deconcept.com/swfobject/

  but it has now been replaced by this one, which is up to version 2.2:

http://code.google.com/p/swfobject/

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

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


[Mahara-contributors] [Bug 1229660] Re: tag lastinstitution:... shows up for admin under my tags

2015-04-20 Thread Aaron Wells
** Also affects: mahara/15.10
   Importance: Medium
   Status: Confirmed

** Changed in: mahara/15.10
Milestone: 15.04.1 = 15.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/1229660

Title:
  tag lastinstitution:... shows up for admin under my tags

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

Bug description:
  When you are an admin on a multitenannted Mahara site, you see tags of
  lastinstitution:... in your list of tags when users have switched
  institutions.

  These are for the functionality
  http://manual.mahara.org/en/1.7/administration/institutions.html
  #people-who-have-left-a-given-institution

  They should not show up in an admin's list of tags though as they are
  not that admin's tags and he shouldn't really hand those tags out.

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

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


[Mahara-contributors] [Bug 1175538] Re: Encrypt LDAP auth RSS block passwords in the database

2015-04-20 Thread Aaron Wells
** Changed in: mahara
Milestone: 15.04.1 = 15.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/1175538

Title:
  Encrypt LDAP auth  RSS block passwords in the database

Status in Mahara ePortfolio:
  Confirmed

Bug description:
  (Spinning this one off from
  https://bugs.launchpad.net/mahara/+bug/1016253 )

  Currently, we store RSS passwords as plaintext in the database. If
  someone manages to use a SQL injection to gain read access to the DB,
  that means they'll be able to get these passwords. So, it would be
  good to encrypt them. Since they have to be decrypted back to
  plaintext in order for us to use them when refreshing the RSS feeds,
  this means using 2-way encryption, probably mcrypt.

  So, there a are a few concerns:

  1. The encryption key should be stored OUTSIDE the database, in the 
config.php file. (Because we're protecting against an attacker who has DB read 
access)
  2. The encryption key should not be overrideable from the config table. 
Probably re-using $cfg-passwordsaltmain is a good idea, because it's already 
set up like this and it'll prevent the user from having to generate two 
separate random strings
  3. But if we use passwordsaltmain, we also need to be able to support all the 
alternative old salts that can be stored alongside it. And then you have to 
consider, how will you tell which of them the password was encrypted with? 
Probably need to keep a second column alongside the encrypted password, which 
is encrypted to a known value with one of the passwords, and use that to check 
which it is
  4. We'll probably want to use the PHP mcrypt library for this. Since that's 
an optional library, that means we either make this behavior optional, or we 
add another system requirement to Mahara. (I prefer making it optional)
  5. We'll need to include an upgrade script and/or fallback behavior to be 
handle the existing unencrypted stored passwords
  6. We should make this a general encrypted-db-contents API, so that we can 
use it to encrypt other things as well, such as stored auth method passwords

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

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


[Mahara-contributors] [Bug 1431659] Re: Problems importing Annotations via Leap2a

2015-04-20 Thread Aaron Wells
** Also affects: mahara/15.04
   Importance: Undecided
   Status: New

** Also affects: mahara/15.10
   Importance: High
 Assignee: Ghada El-Zoghbi (ghada-z)
   Status: Confirmed

** Changed in: mahara/15.04
Milestone: None = 15.04.1

** Changed in: mahara/15.10
Milestone: 15.04.1 = 15.10.0

** Changed in: mahara/15.04
   Importance: Undecided = High

** Changed in: mahara/15.04
   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/1431659

Title:
  Problems importing Annotations via Leap2a

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

Bug description:
  As reported on https://reviews.mahara.org/#/c/4123/:

  When I import a Leap2A (a collection with two pages; one with a text
  and 2 annotation blocks and the other with an image block and an
  annotation block), I get [INF] 83 (import/index.php:301) Leap2A
  import failed: Cannot find reflection entry for annotation. The text
  block does not have an embedded image. Just plain text.

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

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


[Mahara-contributors] [Bug 1446395] Re: Behat tests: Removing duplicates and tidying tests

2015-04-20 Thread Robert Lyon
Changed importance to high as the rationalization of the tests should
speed up the behat test suite

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

** Changed in: mahara
   Importance: Undecided = High

** Changed in: mahara
 Assignee: (unassigned) = Jinelle Foley-Barnes (jinelleb)

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

Title:
  Behat tests: Removing duplicates and tidying tests

Status in Mahara ePortfolio:
  In Progress

Bug description:
  Hi All,

  The suite needs a little maintenance and tidying. In order to make the
  tests run faster and be more efficient we need to tidy the tests  up.
  Eg: put them into the correct folders, make sure they have appropriate
  tags for running them in groups, delete those that are testing
  duplicate things and also delete those that are directly duplicate
  tests.

  Thanks,
  Jinelle

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

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


  1   2   3   >