[Mahara-contributors] [Bug 1051529] A change has been merged

2013-03-13 Thread Mahara Bot
Reviewed:  https://reviews.mahara.org/1998
Committed: 
http://gitorious.org/mahara/mahara/commit/741e3bb31f73996088a0fdf0b4b310e977831a76
Submitter: Aaron Wells (aar...@catalyst.net.nz)
Branch:master

commit 741e3bb31f73996088a0fdf0b4b310e977831a76
Author: Son Nguyen 
Date:   Wed Jan 16 11:27:29 2013 +1300

Fix warnings when clicking spell checker button (Bug #1051529)

Change-Id: I4143374a28f8342df9e2646b3c14cc1b252bc015
Signed-off-by: Son Nguyen 

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/1051529

Title:
  Activating spellchecker brings up warning

Status in Mahara ePortfolio:
  In Progress

Bug description:
  Mahara 1.6dev (latest code)

  When I activate the spellchecker in the cover letter section and move
  on to "Education and employment" (or any other page), I get the
  following warnings:

  
  [WAR] 65 (js/tinymce/plugins/spellchecker/config.php:22) Use of undefined 
constant PSPELL_FAST - assumed 'PSPELL_FAST'
  Call stack (most recent first):

  log_message("Use of undefined constant PSPELL_FAST - assumed 'P...", 8, 
true, true, "/home/kristina/code/16stable/htdocs/js/tinymce/plu...", 22) at 
/home/kristina/code/16stable/htdocs/lib/errors.php:446
  error(8, "Use of undefined constant PSPELL_FAST - assumed 'P...", 
"/home/kristina/code/16stable/htdocs/js/tinymce/plu...", 22, array(size 53)) at 
/home/kristina/code/16stable/htdocs/js/tinymce/plugins/spellchecker/config.php:22
  require_once("/home/kristina/code/16stable/htdocs/js/tinymce/plu...") at 
/home/kristina/code/16stable/htdocs/js/tinymce/plugins/spellchecker/includes/general.php:15
  require_once("/home/kristina/code/16stable/htdocs/js/tinymce/plu...") at 
/home/kristina/code/16stable/htdocs/js/tinymce/plugins/spellchecker/rpc.php:10

  [WAR] 65 (js/tinymce/plugins/spellchecker/config.php:28) Use of undefined 
constant PSPELL_FAST - assumed 'PSPELL_FAST'
  Call stack (most recent first):

  log_message("Use of undefined constant PSPELL_FAST - assumed 'P...", 8, 
true, true, "/home/kristina/code/16stable/htdocs/js/tinymce/plu...", 28) at 
/home/kristina/code/16stable/htdocs/lib/errors.php:446
  error(8, "Use of undefined constant PSPELL_FAST - assumed 'P...", 
"/home/kristina/code/16stable/htdocs/js/tinymce/plu...", 28, array(size 53)) at 
/home/kristina/code/16stable/htdocs/js/tinymce/plugins/spellchecker/config.php:28
  require_once("/home/kristina/code/16stable/htdocs/js/tinymce/plu...") at 
/home/kristina/code/16stable/htdocs/js/tinymce/plugins/spellchecker/includes/general.php:15
  require_once("/home/kristina/code/16stable/htdocs/js/tinymce/plu...") at 
/home/kristina/code/16stable/htdocs/js/tinymce/plugins/spellchecker/rpc.php:10

  [WAR] 65 (js/tinymce/plugins/spellchecker/classes/utils/JSON.php:351) 
Uninitialized string offset: 60
  Call stack (most recent first):

  log_message("Uninitialized string offset: 60", 8, true, true, 
"/home/kristina/code/16stable/htdocs/js/tinymce/plu...", 351) at 
/home/kristina/code/16stable/htdocs/lib/errors.php:446
  error(8, "Uninitialized string offset: 60", 
"/home/kristina/code/16stable/htdocs/js/tinymce/plu...", 351, array(size 0)) at 
/home/kristina/code/16stable/htdocs/js/tinymce/plugins/spellchecker/classes/utils/JSON.php:351
  Moxiecode_JSONReader->peek() at 
/home/kristina/code/16stable/htdocs/js/tinymce/plugins/spellchecker/classes/utils/JSON.php:323
  Moxiecode_JSONReader->readAway() at 
/home/kristina/code/16stable/htdocs/js/tinymce/plugins/spellchecker/classes/utils/JSON.php:126
  Moxiecode_JSONReader->readToken() at 
/home/kristina/code/16stable/htdocs/js/tinymce/plugins/spellchecker/classes/utils/JSON.php:379
  Moxiecode_JSON->readValue(object(Moxiecode_JSONReader)) at 
/home/kristina/code/16stable/htdocs/js/tinymce/plugins/spellchecker/classes/utils/JSON.php:369
  
Moxiecode_JSON->decode("{"id":"c0","method":"checkWords","params":["en",["...") 
at 
/home/kristina/code/16stable/htdocs/js/tinymce/plugins/spellchecker/rpc.php:93

  [WAR] 65 (js/tinymce/plugins/spellchecker/classes/utils/JSON.php:339) 
Uninitialized string offset: 60
  Call stack (most recent first):

  log_message("Uninitialized string offset: 60", 8, true, true, 
"/home/kristina/code/16stable/htdocs/js/tinymce/plu...", 339) at 
/home/kristina/code/16stable/htdocs/lib/errors.php:446
  error(8, "Uninitialized string offset: 60", 
"/home/kristina/code/16stable/htdocs/js/tinymce/plu...", 339, array(size 1)) at 
/home/kristina/code/16stable/htdocs/js/tinymce/plugins/spellchecker/classes/utils/JSON.php:339
  Moxiecode_JSONReader->read() at 
/home/kristina/code/16stable/htdocs/js/tinymce/plugins/spellchecker/classes/utils/JSON.php:90
  Moxiecode_JSONReader->readToken() at 
/home/kristina/code/16stable/htdocs/js/tinymce/plugins/spellchecker/classes/utils/JSON.php:379
  Moxiecode_JSON->readValue(object(Moxiecod

[Mahara-contributors] [Bug 1031560] A change has been merged

2013-03-13 Thread Mahara Bot
Reviewed:  https://reviews.mahara.org/1467
Committed: 
http://gitorious.org/mahara/mahara/commit/08a0d1c193c4a18a75c20b2b4d81977286bcff33
Submitter: Aaron Wells (aar...@catalyst.net.nz)
Branch:master

commit 08a0d1c193c4a18a75c20b2b4d81977286bcff33
Author: Alan McNatty 
Date:   Wed Aug 1 22:05:37 2012 +1200

Change json_headers to use application/json (Bug #1031560)

Change-Id: I4be9af5259346fbc5d00f38f6e85fefeb24a15e2
Signed-off-by: Alan McNatty 

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/1031560

Title:
  json_headers change to use application/json

Status in Mahara ePortfolio:
  In Progress

Bug description:
  RFC 4627 [1] suggests application/json for json and it whilst it is
  not a 'standard' it seems to be the closest thing to one. See also
  http://en.wikipedia.org/wiki/JSON

  I'm not sure why plain/text is used - is there some legacy browser
  compatibility issue?

  [1] http://www.ietf.org/rfc/rfc4627.txt

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

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


[Mahara-contributors] [Bug 1056544] Re: The number of topics on /interaction/forum/view.php doesn't count the sticky topics

2013-03-13 Thread Son Nguyen
** Changed in: mahara
   Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/1056544

Title:
  The number of topics on /interaction/forum/view.php doesn't count the
  sticky topics

Status in Mahara ePortfolio:
  Fix Committed

Bug description:
  Version: all
  Platform: all
  Browser: all

  The number of topics on /interaction/forum/view.php doesn't count the sticky 
topics
  see the attached file

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

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


[Mahara-contributors] [Bug 1095834] Re: Wrong result when searching for the special string: '0'

2013-03-13 Thread Aaron Wells
** Changed in: mahara
   Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/1095834

Title:
  Wrong result when searching for the special string: '0'

Status in Mahara ePortfolio:
  Fix Committed

Bug description:
  Version: All
  Platform: All
  Browser: All

  In some pages that use the function views_by_owner(), the search query
  will reset to be empty when enter the string "0" in the text box for
  searching.

  The following pages need to be tested:
   - the page "My pages" Porfolio/Pages (/view/index.php), 
   - the page "Institution pages" Administration/Institutions/Pages 
(/view/institutionviews.php)

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

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


[Mahara-contributors] [Bug 1050671] Re: Drop-down menu does not work properly on Chromium using responsive design.

2013-03-13 Thread Son Nguyen
** Tags added: usability

** Changed in: mahara
Milestone: 1.7.0 => 1.8.0

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/1050671

Title:
  Drop-down menu does not work properly on Chromium using responsive
  design.

Status in Mahara ePortfolio:
  Triaged

Bug description:
  Version: master
  Browser: Chromium 18.0.1025

  Drop-down menu does not work properly on Chromium using responsive design.
  The following themes have problems with drop-down menu:
   - Fresh
   - Sunset
   - Ultima
  The drop-down menu disappears when you drag the mouse down in order to choose 
a menu item

  This issue only happens when I use Zoom-In/Out of the Chromium.
  For Zoom=100%, the drop-down menu works properly.

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

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


[Mahara-contributors] [Bug 1049400] Re: Text, buttons, forms, menu in RTL languages should be rendered from right to left.

2013-03-13 Thread Son Nguyen
** Changed in: mahara
Milestone: 1.7.0 => 1.8.0

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/1049400

Title:
  Text, buttons, forms, menu in RTL languages should be rendered from
  right to left.

Status in Mahara ePortfolio:
  Triaged

Bug description:
  Versions: master

  Text, buttons, forms, menu in RTL languages should be rendered from
  right to left.

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

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


[Mahara-contributors] [Bug 1042051] Re: Users of suspended institutions still can login

2013-03-13 Thread Son Nguyen
** Changed in: mahara
Milestone: 1.7.0 => 1.8.0

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/1042051

Title:
  Users of suspended institutions still can login

Status in Mahara ePortfolio:
  Triaged

Bug description:
  Version: master
  Platform: Ubuntu, apache2, php5, postgres
  Browser: Chrome, FF

  Assumptions:
   - User A only belongs to the institution X (using an authentication method: 
X:internal)
   - X has been suspended by site admins
  Actions:
   - User A login using X:internal
  Expected results:
   - A message about refusing user A to login
  Actual results
   - User A get a message but can access different parts (see the attached 
image)

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

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


[Mahara-contributors] [Bug 903534] Re: Users can still login even if their only institution has expired

2013-03-13 Thread Son Nguyen
** Changed in: mahara
Milestone: 1.7.0 => 1.8.0

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/903534

Title:
  Users can still login even if their only institution has expired

Status in Mahara ePortfolio:
  In Progress

Bug description:
  Institutions can have an expiry date.

  However, users who are only members of that institution can still
  login after the institution has expired.

  This is not easy to fix. There are lots of things to consider:

  - what happens when you are a member of more than one institution?
  - what happens when your auth instance is tied to an expired institution?
  - if you can still login, what happens to the content that's tied to an 
expired institution you are a member of?

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

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


[Mahara-contributors] [Bug 891383] Re: Login form requires Javascript

2013-03-13 Thread Son Nguyen
** Changed in: mahara
Milestone: 1.7.0 => 1.8.0

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/891383

Title:
  Login form requires Javascript

Status in Mahara ePortfolio:
  In Progress

Bug description:
  The login form requires javascript to be enabled, yet this should be
  the case. With some small code hacking to remove the js form and
  disable js I can still login fine.

  The js wrapper to the login form is meant to check whether cookies are
  enabled, but it seems that it doesn't do that...

  Message displayed to the user if js is disabled is
   'Your browser does not have javascript enabled for this site. Mahara 
requires javascript to be enabled before you can log in'

  I would recommend removing the dependency on javascript for login,
  make the assumtion that cookies are enabled (if they aren't the user
  will quickly find out! as they will have to relogin after every page).

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

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


[Mahara-contributors] [Bug 1070019] Re: Make it more obvious when adding a page to a collection that same access rules apply

2013-03-13 Thread Aaron Wells
** Changed in: mahara
Milestone: 1.7.0 => 1.8.0

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/1070019

Title:
  Make it more obvious when adding a page to a collection that same
  access rules apply

Status in Mahara ePortfolio:
  Triaged

Bug description:
  When a user creates a collection and makes that accessible to a group
  of people, all pages within the collection receive the same access
  permissions (wanted behavior).

  When the user adds another page to the collection, this page
  immediately takes on these access permissions as well (wanted
  behavior). However, the user is not alerted to that fact but it is
  only implied.

  It should be more obvious that when a page gets added to a collection
  that the same access permissions apply as to the rest of the
  collection to give the user the chance to review these access
  permissions.

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

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


[Mahara-contributors] [Bug 1069274] Re: "Allow copying" is not shown on the institution and site access list

2013-03-13 Thread Son Nguyen
** Changed in: mahara
   Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/1069274

Title:
  "Allow copying" is not shown on the institution and site access list

Status in Mahara ePortfolio:
  Fix Committed

Bug description:
  Mahara master (1.7.0dev)

  In an earlier version of Mahara 1.6.0dev, the setting "Copying
  allowed" was shown for site and institution pages / collections on the
  access list like for portfolio pages / collections and group pages /
  collections. This is not the case anymore. This setting should be made
  visible again so that administrators can quickly see which pages /
  collections are allowed to be copied.

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

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


[Mahara-contributors] [Bug 1095890] Re: allowcomments not respected properly

2013-03-13 Thread Aaron Wells
** Changed in: mahara
   Status: Invalid => Triaged

** Changed in: mahara
Milestone: 1.7.0 => 1.8.0

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/1095890

Title:
  allowcomments not respected properly

Status in Mahara ePortfolio:
  Triaged

Bug description:
  Not sure why, but the function user_comments_allowed (lib/view.php
  line 3872), seems to check through all the access rights for the
  "allowcomment" flag, which doesn't seem to be configurable from the
  web interface. If the page has allowcomments off, and one of the
  access rights allows comments, then comments are allowed.

  The particular access right i found it on was an "objectionable" type.

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

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


[Mahara-contributors] [Bug 1131508] Re: artefact licences feature not configurable on mysql

2013-03-13 Thread Aaron Wells
** Changed in: mahara
 Assignee: (unassigned) => Son Nguyen (ngson2000)

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

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/1131508

Title:
  artefact licences feature not configurable on mysql

Status in Mahara ePortfolio:
  Triaged

Bug description:
  http:///admin/site/licenses.php fails on a mysql
  installation because the EXCEPT clause is not in mysql.

  Instead of except, something like "LEFT JOIN, IS NULL" needs to be
  used.

  [WAR] c9 (lib/errors.php:749) Failed to get a recordset: mysql error: [1064: 
You have an error in your SQL syntax; check the manual that corresponds to your 
MySQL server version for the right syntax to use near 'EXCEPT
  SELECT name FROM artefact_license' at line 2] in EXECUTE("
  SELECT license FROM artefact WHERE license IS NOT NULL and license <> ''
  EXCEPT
  SELECT name FROM artefact_license
  ")
  Command was:
  SELECT license FROM artefact WHERE license IS NOT NULL and license <> ''
  EXCEPT
  SELECT name FROM artefact_license
  Call stack (most recent first):

  log_message("Failed to get a recordset: mysql error: [1064: You...", 8, 
true, true) at /var/www/mahara-mysql/code/htdocs/lib/errors.php:109
  log_warn("Failed to get a recordset: mysql error: [1064: You...") at 
/var/www/mahara-mysql/code/htdocs/lib/errors.php:749
  SQLException->__construct("Failed to get a recordset: mysql error: [1064: 
You...") at /var/www/mahara-mysql/code/htdocs/lib/dml.php:846
  get_column_sql(" SELECT license FROM artefact WHERE license IS...") at 
/var/www/mahara-mysql/code/htdocs/admin/site/licenses.php:57

  [WAR] c9 (lib/dml.php:846) Failed to get a recordset: mysql error: [1064: You 
have an error in your SQL syntax; check the manual that corresponds to your 
MySQL server version for the right syntax to use near 'EXCEPT
  SELECT name FROM artefact_license' at line 2] in EXECUTE("
  SELECT license FROM artefact WHERE license IS NOT NULL and license <> ''
  EXCEPT
  SELECT name FROM artefact_license
  ")
  Command was:
  SELECT license FROM artefact WHERE license IS NOT NULL and license <> ''
  EXCEPT
  SELECT name FROM artefact_license
  Call stack (most recent first):

  get_column_sql(" SELECT license FROM artefact WHERE license
  IS...") at /var/www/mahara-
  mysql/code/htdocs/admin/site/licenses.php:57

  Mahara: Site unavailable
  A nonrecoverable error occurred. This probably means you have encountered a 
bug in the system

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

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


[Mahara-contributors] [Bug 1103748] Re: included flowplayer 3.2.7 is vulnerable

2013-03-13 Thread Aaron Wells
** Changed in: mahara
   Status: Confirmed => Fix Committed

** Changed in: mahara/1.6
   Status: New => Fix Committed

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/1103748

Title:
  included flowplayer 3.2.7 is vulnerable

Status in Mahara ePortfolio:
  Fix Committed
Status in Mahara 1.6 series:
  Fix Committed

Bug description:
  Wan Ikram has notified us that the version of flowplayer currently
  distributed is vulnerable.

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

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


[Mahara-contributors] [Bug 1040337] Re: [Ongoing]Upgrade TinyMCE

2013-03-13 Thread Aaron Wells
** Changed in: mahara
   Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/1040337

Title:
  [Ongoing]Upgrade TinyMCE

Status in Mahara ePortfolio:
  Fix Committed

Bug description:
  Upgrade current version of tiny-mce to latest version 3.5.6.

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

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


[Mahara-contributors] [Bug 1051529] Re: Activating spellchecker brings up warning

2013-03-13 Thread Aaron Wells
** Changed in: mahara
   Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/1051529

Title:
  Activating spellchecker brings up warning

Status in Mahara ePortfolio:
  Fix Committed

Bug description:
  Mahara 1.6dev (latest code)

  When I activate the spellchecker in the cover letter section and move
  on to "Education and employment" (or any other page), I get the
  following warnings:

  
  [WAR] 65 (js/tinymce/plugins/spellchecker/config.php:22) Use of undefined 
constant PSPELL_FAST - assumed 'PSPELL_FAST'
  Call stack (most recent first):

  log_message("Use of undefined constant PSPELL_FAST - assumed 'P...", 8, 
true, true, "/home/kristina/code/16stable/htdocs/js/tinymce/plu...", 22) at 
/home/kristina/code/16stable/htdocs/lib/errors.php:446
  error(8, "Use of undefined constant PSPELL_FAST - assumed 'P...", 
"/home/kristina/code/16stable/htdocs/js/tinymce/plu...", 22, array(size 53)) at 
/home/kristina/code/16stable/htdocs/js/tinymce/plugins/spellchecker/config.php:22
  require_once("/home/kristina/code/16stable/htdocs/js/tinymce/plu...") at 
/home/kristina/code/16stable/htdocs/js/tinymce/plugins/spellchecker/includes/general.php:15
  require_once("/home/kristina/code/16stable/htdocs/js/tinymce/plu...") at 
/home/kristina/code/16stable/htdocs/js/tinymce/plugins/spellchecker/rpc.php:10

  [WAR] 65 (js/tinymce/plugins/spellchecker/config.php:28) Use of undefined 
constant PSPELL_FAST - assumed 'PSPELL_FAST'
  Call stack (most recent first):

  log_message("Use of undefined constant PSPELL_FAST - assumed 'P...", 8, 
true, true, "/home/kristina/code/16stable/htdocs/js/tinymce/plu...", 28) at 
/home/kristina/code/16stable/htdocs/lib/errors.php:446
  error(8, "Use of undefined constant PSPELL_FAST - assumed 'P...", 
"/home/kristina/code/16stable/htdocs/js/tinymce/plu...", 28, array(size 53)) at 
/home/kristina/code/16stable/htdocs/js/tinymce/plugins/spellchecker/config.php:28
  require_once("/home/kristina/code/16stable/htdocs/js/tinymce/plu...") at 
/home/kristina/code/16stable/htdocs/js/tinymce/plugins/spellchecker/includes/general.php:15
  require_once("/home/kristina/code/16stable/htdocs/js/tinymce/plu...") at 
/home/kristina/code/16stable/htdocs/js/tinymce/plugins/spellchecker/rpc.php:10

  [WAR] 65 (js/tinymce/plugins/spellchecker/classes/utils/JSON.php:351) 
Uninitialized string offset: 60
  Call stack (most recent first):

  log_message("Uninitialized string offset: 60", 8, true, true, 
"/home/kristina/code/16stable/htdocs/js/tinymce/plu...", 351) at 
/home/kristina/code/16stable/htdocs/lib/errors.php:446
  error(8, "Uninitialized string offset: 60", 
"/home/kristina/code/16stable/htdocs/js/tinymce/plu...", 351, array(size 0)) at 
/home/kristina/code/16stable/htdocs/js/tinymce/plugins/spellchecker/classes/utils/JSON.php:351
  Moxiecode_JSONReader->peek() at 
/home/kristina/code/16stable/htdocs/js/tinymce/plugins/spellchecker/classes/utils/JSON.php:323
  Moxiecode_JSONReader->readAway() at 
/home/kristina/code/16stable/htdocs/js/tinymce/plugins/spellchecker/classes/utils/JSON.php:126
  Moxiecode_JSONReader->readToken() at 
/home/kristina/code/16stable/htdocs/js/tinymce/plugins/spellchecker/classes/utils/JSON.php:379
  Moxiecode_JSON->readValue(object(Moxiecode_JSONReader)) at 
/home/kristina/code/16stable/htdocs/js/tinymce/plugins/spellchecker/classes/utils/JSON.php:369
  
Moxiecode_JSON->decode("{"id":"c0","method":"checkWords","params":["en",["...") 
at 
/home/kristina/code/16stable/htdocs/js/tinymce/plugins/spellchecker/rpc.php:93

  [WAR] 65 (js/tinymce/plugins/spellchecker/classes/utils/JSON.php:339) 
Uninitialized string offset: 60
  Call stack (most recent first):

  log_message("Uninitialized string offset: 60", 8, true, true, 
"/home/kristina/code/16stable/htdocs/js/tinymce/plu...", 339) at 
/home/kristina/code/16stable/htdocs/lib/errors.php:446
  error(8, "Uninitialized string offset: 60", 
"/home/kristina/code/16stable/htdocs/js/tinymce/plu...", 339, array(size 1)) at 
/home/kristina/code/16stable/htdocs/js/tinymce/plugins/spellchecker/classes/utils/JSON.php:339
  Moxiecode_JSONReader->read() at 
/home/kristina/code/16stable/htdocs/js/tinymce/plugins/spellchecker/classes/utils/JSON.php:90
  Moxiecode_JSONReader->readToken() at 
/home/kristina/code/16stable/htdocs/js/tinymce/plugins/spellchecker/classes/utils/JSON.php:379
  Moxiecode_JSON->readValue(object(Moxiecode_JSONReader)) at 
/home/kristina/code/16stable/htdocs/js/tinymce/plugins/spellchecker/classes/utils/JSON.php:369
  
Moxiecode_JSON->decode("{"id":"c0","method":"checkWords","params":["en",["...") 
at 
/home/kristina/code/16stable/htdocs/js/tinymce/plugins/spellchecker/rpc.php:93

  [WAR] 65 (js/tinymce/plugins/spellchecker/rpc.php:104) Trying to get property 
of non-object
  Call stack (most recen

[Mahara-contributors] [Bug 1131508] Re: artefact licences feature not configurable on mysql

2013-03-13 Thread Son Nguyen
** Changed in: mahara
   Status: Triaged => In Progress

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/1131508

Title:
  artefact licences feature not configurable on mysql

Status in Mahara ePortfolio:
  In Progress

Bug description:
  http:///admin/site/licenses.php fails on a mysql
  installation because the EXCEPT clause is not in mysql.

  Instead of except, something like "LEFT JOIN, IS NULL" needs to be
  used.

  [WAR] c9 (lib/errors.php:749) Failed to get a recordset: mysql error: [1064: 
You have an error in your SQL syntax; check the manual that corresponds to your 
MySQL server version for the right syntax to use near 'EXCEPT
  SELECT name FROM artefact_license' at line 2] in EXECUTE("
  SELECT license FROM artefact WHERE license IS NOT NULL and license <> ''
  EXCEPT
  SELECT name FROM artefact_license
  ")
  Command was:
  SELECT license FROM artefact WHERE license IS NOT NULL and license <> ''
  EXCEPT
  SELECT name FROM artefact_license
  Call stack (most recent first):

  log_message("Failed to get a recordset: mysql error: [1064: You...", 8, 
true, true) at /var/www/mahara-mysql/code/htdocs/lib/errors.php:109
  log_warn("Failed to get a recordset: mysql error: [1064: You...") at 
/var/www/mahara-mysql/code/htdocs/lib/errors.php:749
  SQLException->__construct("Failed to get a recordset: mysql error: [1064: 
You...") at /var/www/mahara-mysql/code/htdocs/lib/dml.php:846
  get_column_sql(" SELECT license FROM artefact WHERE license IS...") at 
/var/www/mahara-mysql/code/htdocs/admin/site/licenses.php:57

  [WAR] c9 (lib/dml.php:846) Failed to get a recordset: mysql error: [1064: You 
have an error in your SQL syntax; check the manual that corresponds to your 
MySQL server version for the right syntax to use near 'EXCEPT
  SELECT name FROM artefact_license' at line 2] in EXECUTE("
  SELECT license FROM artefact WHERE license IS NOT NULL and license <> ''
  EXCEPT
  SELECT name FROM artefact_license
  ")
  Command was:
  SELECT license FROM artefact WHERE license IS NOT NULL and license <> ''
  EXCEPT
  SELECT name FROM artefact_license
  Call stack (most recent first):

  get_column_sql(" SELECT license FROM artefact WHERE license
  IS...") at /var/www/mahara-
  mysql/code/htdocs/admin/site/licenses.php:57

  Mahara: Site unavailable
  A nonrecoverable error occurred. This probably means you have encountered a 
bug in the system

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

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


[Mahara-contributors] [Bug 1154928] [NEW] Warning when adding a new user or add users via CSV

2013-03-13 Thread Son Nguyen
Public bug reported:

Version: master
Platform: all
Browser: all

1. Login as site admin
2. Turn 'License metadata' setting on (in Configure site/General settings)
3. Add a new user or add users via CSV will issue warnings:

[WAR] a7 (lib/pieforms/pieform.php:1212) Invalid value for select 
"licensedefault"
Call stack (most recent first):
log_message("Invalid value for select "licensedefault"", 8, true, true, 
"/home/sonn/code/mahara/htdocs/lib/pieforms/pieform...", 1212) at 
/home/sonn/code/mahara/htdocs/lib/errors.php:446
error(1024, "Invalid value for select "licensedefault"", 
"/home/sonn/code/mahara/htdocs/lib/pieforms/pieform...", 1212, array(size 2)) 
at Unknown:0
trigger_error("Invalid value for select "licensedefault"", 1024) at 
/home/sonn/code/mahara/htdocs/lib/pieforms/pieform.php:1212
Pieform::info("Invalid value for select "licensedefault"") at 
/home/sonn/code/mahara/htdocs/lib/pieforms/pieform/elements/select.php:100
pieform_element_select(object(Pieform), array(size 12)) at 
/home/sonn/code/mahara/htdocs/lib/pieforms/pieform.php:1378
Pieform->build_element_html(array(size 12)) at 
/home/sonn/code/mahara/htdocs/lib/pieforms/pieform.php:659
Pieform->build() at /home/sonn/code/mahara/htdocs/lib/pieforms/pieform.php:162
Pieform::process(array(size 7)) at 
/home/sonn/code/mahara/htdocs/lib/pieforms/pieform.php:71
pieform(array(size 7)) at /home/sonn/code/mahara/htdocs/admin/users/add.php:164

** Affects: mahara
 Importance: Undecided
 Assignee: Son Nguyen (ngson2000)
 Status: New


** Tags: license

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/1154928

Title:
  Warning when adding a new user or add users via CSV

Status in Mahara ePortfolio:
  New

Bug description:
  Version: master
  Platform: all
  Browser: all

  1. Login as site admin
  2. Turn 'License metadata' setting on (in Configure site/General settings)
  3. Add a new user or add users via CSV will issue warnings:

  [WAR] a7 (lib/pieforms/pieform.php:1212) Invalid value for select 
"licensedefault"
  Call stack (most recent first):
  log_message("Invalid value for select "licensedefault"", 8, true, true, 
"/home/sonn/code/mahara/htdocs/lib/pieforms/pieform...", 1212) at 
/home/sonn/code/mahara/htdocs/lib/errors.php:446
  error(1024, "Invalid value for select "licensedefault"", 
"/home/sonn/code/mahara/htdocs/lib/pieforms/pieform...", 1212, array(size 2)) 
at Unknown:0
  trigger_error("Invalid value for select "licensedefault"", 1024) at 
/home/sonn/code/mahara/htdocs/lib/pieforms/pieform.php:1212
  Pieform::info("Invalid value for select "licensedefault"") at 
/home/sonn/code/mahara/htdocs/lib/pieforms/pieform/elements/select.php:100
  pieform_element_select(object(Pieform), array(size 12)) at 
/home/sonn/code/mahara/htdocs/lib/pieforms/pieform.php:1378
  Pieform->build_element_html(array(size 12)) at 
/home/sonn/code/mahara/htdocs/lib/pieforms/pieform.php:659
  Pieform->build() at /home/sonn/code/mahara/htdocs/lib/pieforms/pieform.php:162
  Pieform::process(array(size 7)) at 
/home/sonn/code/mahara/htdocs/lib/pieforms/pieform.php:71
  pieform(array(size 7)) at 
/home/sonn/code/mahara/htdocs/admin/users/add.php:164

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

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


[Mahara-contributors] [Bug 1154928] Re: Warning when adding a new user or add users via CSV

2013-03-13 Thread Kristina Hoeppner
** Changed in: mahara
 Assignee: (unassigned) => Son Nguyen (ngson2000)

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/1154928

Title:
  Warning when adding a new user or add users via CSV

Status in Mahara ePortfolio:
  New

Bug description:
  Version: master
  Platform: all
  Browser: all

  1. Login as site admin
  2. Turn 'License metadata' setting on (in Configure site/General settings)
  3. Add a new user or add users via CSV will issue warnings:

  [WAR] a7 (lib/pieforms/pieform.php:1212) Invalid value for select 
"licensedefault"
  Call stack (most recent first):
  log_message("Invalid value for select "licensedefault"", 8, true, true, 
"/home/sonn/code/mahara/htdocs/lib/pieforms/pieform...", 1212) at 
/home/sonn/code/mahara/htdocs/lib/errors.php:446
  error(1024, "Invalid value for select "licensedefault"", 
"/home/sonn/code/mahara/htdocs/lib/pieforms/pieform...", 1212, array(size 2)) 
at Unknown:0
  trigger_error("Invalid value for select "licensedefault"", 1024) at 
/home/sonn/code/mahara/htdocs/lib/pieforms/pieform.php:1212
  Pieform::info("Invalid value for select "licensedefault"") at 
/home/sonn/code/mahara/htdocs/lib/pieforms/pieform/elements/select.php:100
  pieform_element_select(object(Pieform), array(size 12)) at 
/home/sonn/code/mahara/htdocs/lib/pieforms/pieform.php:1378
  Pieform->build_element_html(array(size 12)) at 
/home/sonn/code/mahara/htdocs/lib/pieforms/pieform.php:659
  Pieform->build() at /home/sonn/code/mahara/htdocs/lib/pieforms/pieform.php:162
  Pieform::process(array(size 7)) at 
/home/sonn/code/mahara/htdocs/lib/pieforms/pieform.php:71
  pieform(array(size 7)) at 
/home/sonn/code/mahara/htdocs/admin/users/add.php:164

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

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


[Mahara-contributors] [Bug 1072850] A change has been merged

2013-03-13 Thread Mahara Bot
Reviewed:  https://reviews.mahara.org/2016
Committed: 
http://gitorious.org/mahara/mahara/commit/447a266ec186c8b6b560ca1ba8fb806dee2a9b9f
Submitter: Aaron Wells (aar...@catalyst.net.nz)
Branch:master

commit 447a266ec186c8b6b560ca1ba8fb806dee2a9b9f
Author: Son Nguyen 
Date:   Fri Jan 18 13:00:27 2013 +1300

Add open graph tags into head section of Mahara site (Bug #1072850)

These tags will be used by Facebook to pick up the right mahara logo
for displaying in "Likes and Interests" section of the user's profile.
see also http://developers.facebook.com/docs/opengraphprotocol/

Update a bigger mahara site logo.
Change-Id: Id6dc981558131dc427d540190d8c0d786f2d6aa1
Signed-off-by: Son Nguyen 

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/1072850

Title:
  Facebook doesn't pick up Mahara's Facebook logo

Status in Mahara ePortfolio:
  Fix Committed

Bug description:
  This is related to bug #900529.

  The Mahara Facebook logo is not picked up anymore. It was when we
  tested it for 1.6.

  The important thing is _not_ the Share button. The logo should be
  picked up correctly when you make a genuine Facebook update or a
  comment on an update.

  Making a post for demo.mahara.org gives me 10 thumbnails. These are
  pictures that are displayed on the homepage itself, but not just the
  logo.

  When I make a comment mentioning demo.mahara.org it displays the help
  icon.

  Maybe Facebook changed its API?

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

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


[Mahara-contributors] [Bug 1154943] [NEW] Admin settings for OpenGraph (Facebook) tags

2013-03-13 Thread Aaron Wells
Public bug reported:

In https://bugs.launchpad.net/mahara/+bug/1072850 we added OpenGraph
tags to the standard Mahara header template. These are primarily
consumed by Facebook when people "share" a URL by pasting it into their
wall or a comment. They provide the following:

1. A name for the page
2. A description of the page
3. An image for the page

The page name comes from $PAGETITLE, the same thing as our  tag,
so that's good. It winds up being the site name (configurable via the
admin screens) and the page name.

The Site description, though, is a hard-coded lang string. So, we should
perhaps add an admin config option for that. (Would there be other uses
for it? Would it make sense to vary it on different pages -- like use
the Page description when viewing a Page?)

The logo is the theme's site-logo4facebook.png file. Presumably people
designing their own custom theme know to replace site-logo.png, but we
need to make sure they'll know to replace site-logo4facebook.png as
well. Or change the code to use site-logo.png, if there is no site-
logo4facebook.png present?

** Affects: mahara
 Importance: Medium
 Status: Triaged

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

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

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/1154943

Title:
  Admin settings for OpenGraph (Facebook) tags

Status in Mahara ePortfolio:
  Triaged

Bug description:
  In https://bugs.launchpad.net/mahara/+bug/1072850 we added OpenGraph
  tags to the standard Mahara header template. These are primarily
  consumed by Facebook when people "share" a URL by pasting it into
  their wall or a comment. They provide the following:

  1. A name for the page
  2. A description of the page
  3. An image for the page

  The page name comes from $PAGETITLE, the same thing as our 
  tag, so that's good. It winds up being the site name (configurable via
  the admin screens) and the page name.

  The Site description, though, is a hard-coded lang string. So, we
  should perhaps add an admin config option for that. (Would there be
  other uses for it? Would it make sense to vary it on different pages
  -- like use the Page description when viewing a Page?)

  The logo is the theme's site-logo4facebook.png file. Presumably people
  designing their own custom theme know to replace site-logo.png, but we
  need to make sure they'll know to replace site-logo4facebook.png as
  well. Or change the code to use site-logo.png, if there is no site-
  logo4facebook.png present?

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

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


[Mahara-contributors] [Bug 1072850] Re: Facebook doesn't pick up Mahara's Facebook logo

2013-03-13 Thread Aaron Wells
I posted another bug to enhance the customization of the OpenGraph tags:
https://bugs.launchpad.net/mahara/+bug/1154943

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

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/1072850

Title:
  Facebook doesn't pick up Mahara's Facebook logo

Status in Mahara ePortfolio:
  Fix Committed

Bug description:
  This is related to bug #900529.

  The Mahara Facebook logo is not picked up anymore. It was when we
  tested it for 1.6.

  The important thing is _not_ the Share button. The logo should be
  picked up correctly when you make a genuine Facebook update or a
  comment on an update.

  Making a post for demo.mahara.org gives me 10 thumbnails. These are
  pictures that are displayed on the homepage itself, but not just the
  logo.

  When I make a comment mentioning demo.mahara.org it displays the help
  icon.

  Maybe Facebook changed its API?

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

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


[Mahara-contributors] [Bug 1081309] Re: export fails if files missing from dataroot

2013-03-13 Thread Aaron Wells
** Changed in: mahara
   Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/1081309

Title:
  export fails if files missing from dataroot

Status in Mahara ePortfolio:
  Fix Committed

Bug description:
  get errors such as:

  HTML export - "Unable to copy profile icon  into export" or
  "Unable to create 'filename' for directory "

  Leap2A export - "Tried to add non-existent file: ''"

  After these errors, the export page just hangs.

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

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


[Mahara-contributors] [Bug 1081309] A change has been merged

2013-03-13 Thread Mahara Bot
Reviewed:  https://reviews.mahara.org/2042
Committed: 
http://gitorious.org/mahara/mahara/commit/91be4c3d17c469d9dcddf8e5d16e965cb10530b4
Submitter: Aaron Wells (aar...@catalyst.net.nz)
Branch:master

commit 91be4c3d17c469d9dcddf8e5d16e965cb10530b4
Author: Son Nguyen 
Date:   Wed Feb 27 17:06:14 2013 +1300

Enhance the exporting process (Bug #1081309)

1. During the exporting, put the error messages into $SESSION.
2. Refactor the displayMessages() function to display all messages
or hide the previous one.
3. Refactor the function print_export_footer() to handle html code in
lang strings.

Change-Id: I589822dc360e8f5bcac0298f9534824513214160
Signed-off-by: Son Nguyen 

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/1081309

Title:
  export fails if files missing from dataroot

Status in Mahara ePortfolio:
  Fix Committed

Bug description:
  get errors such as:

  HTML export - "Unable to copy profile icon  into export" or
  "Unable to create 'filename' for directory "

  Leap2A export - "Tried to add non-existent file: ''"

  After these errors, the export page just hangs.

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

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