[Mahara-contributors] [Bug 1221708] Re: Moodle URL not added to page access email

2013-09-12 Thread Aaron Wells
Hi Luke,

I've identified the general outlines of the fix we need in my previous
comment, but the Mahara developers in my office are pretty booked up
right now, so we will probably not have the time to implement a fix
immediately. It could happen faster if a member of the community outside
of our organization decides to fix it.

In the meantime, using the externallogin feature that Kristina
described, should be a pretty good workaround.

Cheers,
Aaron

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

Title:
  Moodle URL not added to page access email

Status in Mahara ePortfolio:
  Confirmed

Bug description:
  We have a Mahara site connected to Moodle. On all emails received so
  far the URLs have the Moodle URL and then the Mahara URL as the
  destination eg:

  
https://moodleurl.com/auth/mnet/jump.php?hostwwwroot=https://maharaurl.comwantsurl=user%2Fview.php%3Fid%3D9

  But this is not happening when sharing your page with users. The URL
  the user gets is just the standard Mahara URL which then takes them to
  a login page but the users do not have a login for Mahara only for the
  Moodle. Can the URL in this email be changed so behave in the same way
  as others such as Friend request and Group invite?

  Thanks

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

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


[Mahara-contributors] [Bug 1215190] Re: LDAP support for non-standard port LDAP Urls

2013-09-12 Thread Aaron Wells
Hi John,

Thanks for the patch! I've pushed it into our code review system here:
https://reviews.mahara.org/2492

Cheers,
Aaron

** Changed in: mahara
   Status: Triaged = In Progress

** Changed in: mahara
   Status: In Progress = Triaged

** Changed in: mahara/1.8
   Status: Triaged = In Progress

** Changed in: mahara/1.7
   Status: Triaged = Confirmed

** Changed in: mahara/1.6
   Status: Triaged = Confirmed

** Changed in: mahara/1.6
   Status: Confirmed = Triaged

** Changed in: mahara/1.7
   Status: Confirmed = Triaged

** Changed in: mahara/1.6
   Status: Triaged = Confirmed

** Changed in: mahara
   Status: Triaged = Confirmed

** Changed in: mahara/1.7
   Status: Triaged = Confirmed

** Changed in: mahara/1.8
Milestone: None = 1.8.0rc1

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

Title:
  LDAP support for non-standard port LDAP Urls

Status in Mahara ePortfolio:
  Confirmed
Status in Mahara 1.6 series:
  Confirmed
Status in Mahara 1.7 series:
  Confirmed
Status in Mahara 1.8 series:
  In Progress

Bug description:
  This came up from a user asking for help on IRC. They had upgraded
  their site from Mahara 1.4 to Mahara 1.5 and found that LDAP
  authentication stopped working. Their LDAP host URL field was in
  this format: ldap://fake-dc1.fake.ac.uk:3268;

  In Mahara 1.4, this string would be passed in as the first and only
  parameter to ldap_connect().

  In Mahara 1.5, the code is smarter and notices the final colon
  before the port number 3268. It strips this off of the URL, and passes
  ldap://fake-dc1.fake.ac.uk; as the first parameter and 3268 as the
  second parameter to ldap_connect().

  The problem is, if the first parameter to ldap-connect is in URL
  style starting with a protocol ldap:// or ldaps://, ldap_connect()
  IGNORES the second parameter. And so the port was stripped off, and
  then ignored, and the connection didn't work.

  Making matters worse, the documentation tells people to put a protocol
  header on the front of their Host URL.

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

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


[Mahara-contributors] [Bug 1221708] Re: Moodle URL not added to page access email

2013-09-12 Thread Luke Stirk
Hi,

Thanks for the replies. The config value sounds good however we have 2
separate Moodles accessing one Mahara so the URL really needs to be
pulled through from the institution.

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

Title:
  Moodle URL not added to page access email

Status in Mahara ePortfolio:
  Confirmed

Bug description:
  We have a Mahara site connected to Moodle. On all emails received so
  far the URLs have the Moodle URL and then the Mahara URL as the
  destination eg:

  
https://moodleurl.com/auth/mnet/jump.php?hostwwwroot=https://maharaurl.comwantsurl=user%2Fview.php%3Fid%3D9

  But this is not happening when sharing your page with users. The URL
  the user gets is just the standard Mahara URL which then takes them to
  a login page but the users do not have a login for Mahara only for the
  Moodle. Can the URL in this email be changed so behave in the same way
  as others such as Friend request and Group invite?

  Thanks

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

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


[Mahara-contributors] [Bug 1223810] Re: Multiple institutions breaks institution move

2013-09-12 Thread Howard Miller
Thanks for the update, but I'm still a bit confused. Step 1 (Move your
users). I don't know what you mean. The only option seems to be to
remove users from the institution, not to move to a new institution.
That's on the institutionusers.php page anyway. If I remove users from
the institution where are they now? I *cannot* have users being emailed
new login details as that will cause huge confusion. All my institutions
authenticate against the same LDAP server so I just want to move to a
different institution which will continue to have the same login
details. Thanks for your patience ;-)

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

Title:
  Multiple institutions breaks institution move

Status in Mahara ePortfolio:
  New

Bug description:
  Bug found in 1.6

  Where there are multiple institutions and membership of multiple
  institutions are permitted the bulk move of users from one institution
  to another is broken.

  The bulk move refuses to consider users who are in more than one
  institution. See code in htdocs/admin/users/bulk.php for the function
  changeauth_validate(). The validation simply fails if there is more
  than one institution record for the user.

  So, if I select all users in an institution and them attempt to move
  them to a different institution and there are ANY users in multiple
  institutions in the list the move will fail for all users.

  Worse - I can't think of any obvious workaround.

  What I want is for *just* the institution that I selected to be moved
  to the alternate institution. There would also need to be a check that
  this didn't result in a duplicate if they were in that institution
  already.

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

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


[Mahara-contributors] [Bug 1223810] Re: Multiple institutions breaks institution move

2013-09-12 Thread Howard Miller
Also (sorry), as regards adding members in that screen - it only seems
to show 100 users. I have upwards of 20,000 users. That's a lot of
clicking...

Think it might be quicker to write a little PHP script to abuse the
database but, unless I'm missing something, it's very difficult (at
best) to dump an institution and move all its users somewhere else which
I would think cannot be a rare requirement.

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

Title:
  Multiple institutions breaks institution move

Status in Mahara ePortfolio:
  New

Bug description:
  Bug found in 1.6

  Where there are multiple institutions and membership of multiple
  institutions are permitted the bulk move of users from one institution
  to another is broken.

  The bulk move refuses to consider users who are in more than one
  institution. See code in htdocs/admin/users/bulk.php for the function
  changeauth_validate(). The validation simply fails if there is more
  than one institution record for the user.

  So, if I select all users in an institution and them attempt to move
  them to a different institution and there are ANY users in multiple
  institutions in the list the move will fail for all users.

  Worse - I can't think of any obvious workaround.

  What I want is for *just* the institution that I selected to be moved
  to the alternate institution. There would also need to be a check that
  this didn't result in a duplicate if they were in that institution
  already.

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

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


[Mahara-contributors] [Bug 1223069] Re: Site files located in a subfolder cannot be accessed by normal users

2013-09-12 Thread Adrian Schlegel
Just submitted a patch to gerrit: https://reviews.mahara.org/#/c/2493/

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

Title:
  Site files located in a subfolder cannot be accessed by normal users

Status in Mahara ePortfolio:
  Confirmed

Bug description:
  According to the Site Files documentation, files uploaded into the
  site files section are meant to be accessible to all logged-in users
  (via the Site Files tab on any file selector). The one exception to
  this is files in the hard-coded Public folder, which are meant to
  also be accessible to users who aren't logged in.

  A user on the #mahara irc channel reported that Site Files sitting in
  a subdirectory, however, are not accessible to normal users. I
  verified this behavior in 1.8dev.

  To reproduce:

  1. Log in as an admin user
  2. Go to the Site Files page
  3. Create a subdirectory
  4. Upload a file into that subdirectory
  5. Log in as a non-admin user
  6. Add a files to download block to a page
  7. In the block's file selector, go to the site files page
  8. You will not see the subdirectory you created in step 4, or be able to 
access its files.

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

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


[Mahara-contributors] [Bug 1223069] Re: Site files located in a subfolder cannot be accessed by normal users

2013-09-12 Thread Adrian Schlegel
Sorry, I just read the bug report again. The behaviour that I was
talking about was the following:

1. Log in as an admin user
2. Go to the Site Files page
3. Create a subdirectory
4. Upload a file into that subdirectory
5. go to the 'links and resources' menu
6. select 'Logged-in links and resources' 
7. Check 'Site file' and select the uploaded file and add the new entry
8. Log in as a non-admin user
9. click on the newly created link in the 'links and resources' block
10. you get an 'access denied' error

The patch that I submitted fixes this issue.

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

Title:
  Site files located in a subfolder cannot be accessed by normal users

Status in Mahara ePortfolio:
  Confirmed

Bug description:
  According to the Site Files documentation, files uploaded into the
  site files section are meant to be accessible to all logged-in users
  (via the Site Files tab on any file selector). The one exception to
  this is files in the hard-coded Public folder, which are meant to
  also be accessible to users who aren't logged in.

  A user on the #mahara irc channel reported that Site Files sitting in
  a subdirectory, however, are not accessible to normal users. I
  verified this behavior in 1.8dev.

  To reproduce:

  1. Log in as an admin user
  2. Go to the Site Files page
  3. Create a subdirectory
  4. Upload a file into that subdirectory
  5. Log in as a non-admin user
  6. Add a files to download block to a page
  7. In the block's file selector, go to the site files page
  8. You will not see the subdirectory you created in step 4, or be able to 
access its files.

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

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


[Mahara-contributors] [Bug 1223810] Re: Multiple institutions breaks institution move

2013-09-12 Thread Kristina Hoeppner
On institutionusers.php you can add your users to an additional
institution (and then leave them in their old one or remove them from
their old institution). Users do get a notification when they are added
to an institution. If you do not want such notifications sent, you'd
have to customize your code and remove the sending of a notification.
Notifications are sent so that users know that they are now part of a
new institution.

The limit in the boxes where you can choose your users is hard-coded.
Thus, you can increase it in the code to your liking. We have increased
it on some of our instances to 250, but not limitless so as not to slow
down the server. ;-)

If you do not want to making code changes to stop notifications from
being sent and don't want to click on users individually, a script might
be easier that moves your users to a different institution. Although you
connect to the same LDAP, the auth method should probably be changed to
reflect the correct institution, but it shouldn't matter as it's the
same LDAP.

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

Title:
  Multiple institutions breaks institution move

Status in Mahara ePortfolio:
  New

Bug description:
  Bug found in 1.6

  Where there are multiple institutions and membership of multiple
  institutions are permitted the bulk move of users from one institution
  to another is broken.

  The bulk move refuses to consider users who are in more than one
  institution. See code in htdocs/admin/users/bulk.php for the function
  changeauth_validate(). The validation simply fails if there is more
  than one institution record for the user.

  So, if I select all users in an institution and them attempt to move
  them to a different institution and there are ANY users in multiple
  institutions in the list the move will fail for all users.

  Worse - I can't think of any obvious workaround.

  What I want is for *just* the institution that I selected to be moved
  to the alternate institution. There would also need to be a check that
  this didn't result in a duplicate if they were in that institution
  already.

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

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


[Mahara-contributors] [Bug 1223810] Re: Multiple institutions breaks institution move

2013-09-12 Thread Howard Miller
Ok - thanks for the update. I have to admit that my situation, although
it seems perfectly sensible to me, is likely to be unusual. It does look
like a custom script is the way forward on this 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/1223810

Title:
  Multiple institutions breaks institution move

Status in Mahara ePortfolio:
  New

Bug description:
  Bug found in 1.6

  Where there are multiple institutions and membership of multiple
  institutions are permitted the bulk move of users from one institution
  to another is broken.

  The bulk move refuses to consider users who are in more than one
  institution. See code in htdocs/admin/users/bulk.php for the function
  changeauth_validate(). The validation simply fails if there is more
  than one institution record for the user.

  So, if I select all users in an institution and them attempt to move
  them to a different institution and there are ANY users in multiple
  institutions in the list the move will fail for all users.

  Worse - I can't think of any obvious workaround.

  What I want is for *just* the institution that I selected to be moved
  to the alternate institution. There would also need to be a check that
  this didn't result in a duplicate if they were in that institution
  already.

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

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


[Mahara-contributors] [Bug 1041228] Re: Improve watchlist notifications

2013-09-12 Thread Kristina Hoeppner
Tobias provides an improved watchlist notification feature that is
discussed at https://mahara.org/interaction/forum/topic.php?id=5652

** Summary changed:

- watchlist notification
+ Improve watchlist notifications

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

Title:
  Improve watchlist notifications

Status in Mahara ePortfolio:
  Confirmed

Bug description:
  Notifications are sent every time when clicking the Configure button of a 
block on page to the users that have the page in their watchlist.
  The notifications should only be sent when the Done button below the page 
is clicked.

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

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


[Mahara-contributors] [Bug 1041228] Re: Improve watchlist notifications

2013-09-12 Thread Kristina Hoeppner
** 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/1041228

Title:
  Improve watchlist notifications

Status in Mahara ePortfolio:
  Confirmed

Bug description:
  Notifications are sent every time when clicking the Configure button of a 
block on page to the users that have the page in their watchlist.
  The notifications should only be sent when the Done button below the page 
is clicked.

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

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


[Mahara-contributors] [Bug 1224427] [NEW] Institution membership request throws errors

2013-09-12 Thread Kristina Hoeppner
Public bug reported:

Mahara 1.8.0dev latest master

To reproduce:

1. Set up an institution that allows registration (I have rego allowed and 
confirm rego ticked).
2. Add users to your Mahara instance, but not to the institution.
3. Log in as one of the new users and request institution membership.
4. When you click the  submit button, you get the following warning. The 
request goes through, but the warning is irritating.

[WAR] ca (lib/activity.php:391) Creating default object from empty value
Call stack (most recent first):

log_message(Creating default object from empty value, 8, true, true, 
/home/kristina/code/mahara/htdocs/lib/activity.php, 391) at 
/home/kristina/code/mahara/htdocs/lib/errors.php:446
error(2, Creating default object from empty value, 
/home/kristina/code/mahara/htdocs/lib/activity.php, 391, array(size 2)) at 
/home/kristina/code/mahara/htdocs/lib/activity.php:391
ActivityType-add_urltext(array(size 2)) at 
/home/kristina/code/mahara/htdocs/lib/activity.php:742
ActivityTypeInstitutionmessage-__construct(object(stdClass), false) at 
/home/kristina/code/mahara/htdocs/lib/activity.php:77
handle_activity(object(stdClass), object(stdClass)) at 
/home/kristina/code/mahara/htdocs/lib/activity.php:50
activity_occurred(institutionmessage, object(stdClass)) at 
/home/kristina/code/mahara/htdocs/lib/institution.php:306
Institution-addRequestFromUser(object(LiveUser), ) at 
/home/kristina/code/mahara/htdocs/auth/user.php:851
User-add_institution_request(institutionc, ) at 
/home/kristina/code/mahara/htdocs/account/institutions.php:235
requestmembership_submit(object(Pieform), array(size 4)) at Unknown:0
call_user_func_array(requestmembership_submit, array(size 2)) at 
/home/kristina/code/mahara/htdocs/lib/pieforms/pieform.php:528
Pieform-__construct(array(size 5)) at 
/home/kristina/code/mahara/htdocs/lib/pieforms/pieform.php:170
Pieform::process(array(size 5)) at 
/home/kristina/code/mahara/htdocs/lib/pieforms/pieform.php:71
pieform(array(size 5)) at 
/home/kristina/code/mahara/htdocs/account/institutions.php:226

** Affects: mahara
 Importance: Medium
 Status: Triaged


** Tags: regression

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

Title:
  Institution membership request throws errors

Status in Mahara ePortfolio:
  Triaged

Bug description:
  Mahara 1.8.0dev latest master

  To reproduce:

  1. Set up an institution that allows registration (I have rego allowed and 
confirm rego ticked).
  2. Add users to your Mahara instance, but not to the institution.
  3. Log in as one of the new users and request institution membership.
  4. When you click the  submit button, you get the following warning. The 
request goes through, but the warning is irritating.

  [WAR] ca (lib/activity.php:391) Creating default object from empty value
  Call stack (most recent first):

  log_message(Creating default object from empty value, 8, true, true, 
/home/kristina/code/mahara/htdocs/lib/activity.php, 391) at 
/home/kristina/code/mahara/htdocs/lib/errors.php:446
  error(2, Creating default object from empty value, 
/home/kristina/code/mahara/htdocs/lib/activity.php, 391, array(size 2)) at 
/home/kristina/code/mahara/htdocs/lib/activity.php:391
  ActivityType-add_urltext(array(size 2)) at 
/home/kristina/code/mahara/htdocs/lib/activity.php:742
  ActivityTypeInstitutionmessage-__construct(object(stdClass), false) at 
/home/kristina/code/mahara/htdocs/lib/activity.php:77
  handle_activity(object(stdClass), object(stdClass)) at 
/home/kristina/code/mahara/htdocs/lib/activity.php:50
  activity_occurred(institutionmessage, object(stdClass)) at 
/home/kristina/code/mahara/htdocs/lib/institution.php:306
  Institution-addRequestFromUser(object(LiveUser), ) at 
/home/kristina/code/mahara/htdocs/auth/user.php:851
  User-add_institution_request(institutionc, ) at 
/home/kristina/code/mahara/htdocs/account/institutions.php:235
  requestmembership_submit(object(Pieform), array(size 4)) at Unknown:0
  call_user_func_array(requestmembership_submit, array(size 2)) at 
/home/kristina/code/mahara/htdocs/lib/pieforms/pieform.php:528
  Pieform-__construct(array(size 5)) at 
/home/kristina/code/mahara/htdocs/lib/pieforms/pieform.php:170
  Pieform::process(array(size 5)) at 
/home/kristina/code/mahara/htdocs/lib/pieforms/pieform.php:71
  pieform(array(size 5)) at 
/home/kristina/code/mahara/htdocs/account/institutions.php:226

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

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : 

[Mahara-contributors] [Bug 1224495] [NEW] uploaded Images not displaying

2013-09-12 Thread Simha Bode
Public bug reported:

I am using Mahara 1.7 (Gaia University) operating OS X 10.6  - Browser -
Firefox 23.0.1 (unsure of database)

I am a Gaia University student, I upload images to Mahara's files as
jpgs under 50kb and when I insert them into a text block (using image
url). They appear fine for me but they don't appear for other users.
This seems to happen sporadically, some appear others do not. In my
recent collection the images I have placed in the header (page
description) don't appear (for other users) where others in the page
body do.

** Affects: mahara
 Importance: Undecided
 Status: New

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

Title:
  uploaded Images not displaying

Status in Mahara ePortfolio:
  New

Bug description:
  I am using Mahara 1.7 (Gaia University) operating OS X 10.6  - Browser
  - Firefox 23.0.1 (unsure of database)

  I am a Gaia University student, I upload images to Mahara's files as
  jpgs under 50kb and when I insert them into a text block (using image
  url). They appear fine for me but they don't appear for other users.
  This seems to happen sporadically, some appear others do not. In my
  recent collection the images I have placed in the header (page
  description) don't appear (for other users) where others in the page
  body do.

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

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


[Mahara-contributors] [Bug 1224495] Re: uploaded Images not displaying

2013-09-12 Thread Kristina Hoeppner
Thanks for the report, Simha. It's actually not a bug. When you place an
image into the page using the images block, Mahara sets the permissions
correctly on those images. However, in the header you only provide the
image URL and if the image is not visible to a user through another
context, they won't see it. You see the images because you are the owner
of them. :-)

It will be best not to use images in a page description. In Mahara 1.8
we will have more flexible page layouts which will allow you to have a
top section going across the entire page and more columns below for
example thus making it easier to arrange your content.

** Changed in: mahara
   Status: New = Invalid

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

Title:
  uploaded Images not displaying

Status in Mahara ePortfolio:
  Invalid

Bug description:
  I am using Mahara 1.7 (Gaia University) operating OS X 10.6  - Browser
  - Firefox 23.0.1 (unsure of database)

  I am a Gaia University student, I upload images to Mahara's files as
  jpgs under 50kb and when I insert them into a text block (using image
  url). They appear fine for me but they don't appear for other users.
  This seems to happen sporadically, some appear others do not. In my
  recent collection the images I have placed in the header (page
  description) don't appear (for other users) where others in the page
  body do.

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

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


[Mahara-contributors] [Bug 1221020] Re: JS to enable the Automatically retract checkbox is no longer working on blocks with TinyMCE

2013-09-12 Thread Robert Lyon
This looks to fail if license info is not enabled in the config as there
are a bunch of js calls expecting certain elements to be present in the
form that are not there.

I've added some js to check if the elements exist before trying to
access them

https://reviews.mahara.org/#/c/2494/

** 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.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1221020

Title:
  JS to enable the Automatically retract checkbox is no longer working
  on blocks with TinyMCE

Status in Mahara ePortfolio:
  In Progress

Bug description:
  To replicate:

  1. Add a Text Box block to a page
  2. Notice that by default, the Retractable and Automatically retract 
checkboxes are both unticked, and the Automatically rectract checkbox is 
disabled (grayed out)
  3. Tick the Retractable checkbox
  Expected result: The Automatically retract checkbox should become enabled
  Actual result: The Automatically retract checkbox remains disabled.

  It's also broken in the reverse direction:

  1. Add a Text Box block to a page
  2. Tick the Retractable checkbox for that block and save it.
  3. Now edit the block again
  4. Notice that the Automatically retract checkbox is enabled.
  5. Untick the Retractable checkbox
  Expected result: The Automatically retract checkbox should become disabled
  Actual result: The Automatically rectract checkbox remains enabled

  This problem was observed in master (1.8dev). It is not present in
  1.7_STABLE.

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

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


[Mahara-contributors] [Bug 1220639] Re: mp4 file has wrong icon

2013-09-12 Thread Kristina Hoeppner
Bob could upload the file that failed for me just fine.

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

Title:
  mp4 file has wrong icon

Status in Mahara ePortfolio:
  In Progress

Bug description:
  On master (1.8.0dev) in Firefox:

  When an mp4 file is uploaded, it does not have the media icon of a
  camera, but just the generic document icon. I think the match-up of
  mime type and icon doesn't work properly.

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

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


[Mahara-contributors] [Bug 1224750] [NEW] Site files located in a subfolder cannot be accessed by normal users

2013-09-12 Thread Kristina Hoeppner
Public bug reported:

This is the original bug report on bug #1223069. Because the discussion
went into a different direction and a different feature developed which
does not address this issue here directly, I created a new report.

According to the Site Files documentation, files uploaded into the site
files section are meant to be accessible to all logged-in users (via the
Site Files tab on any file selector). The one exception to this is
files in the hard-coded Public folder, which are meant to also be
accessible to users who aren't logged in.

A user on the #mahara irc channel reported that Site Files sitting in a
subdirectory, however, are not accessible to normal users. I verified
this behavior in 1.8dev.

To reproduce:

1. Log in as an admin user
2. Go to the Site Files page
3. Create a subdirectory
4. Upload a file into that subdirectory
5. Log in as a non-admin user
6. Add a files to download block to a page
7. In the block's file selector, go to the site files page
8. You will not see the subdirectory you created in step 4, or be able to 
access its files.

** Affects: mahara
 Importance: Medium
 Status: Confirmed


** Tags: fileupload sitefiles snack-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/1224750

Title:
  Site files located in a subfolder cannot be accessed by normal users

Status in Mahara ePortfolio:
  Confirmed

Bug description:
  This is the original bug report on bug #1223069. Because the
  discussion went into a different direction and a different feature
  developed which does not address this issue here directly, I created a
  new report.

  According to the Site Files documentation, files uploaded into the
  site files section are meant to be accessible to all logged-in users
  (via the Site Files tab on any file selector). The one exception to
  this is files in the hard-coded Public folder, which are meant to
  also be accessible to users who aren't logged in.

  A user on the #mahara irc channel reported that Site Files sitting in
  a subdirectory, however, are not accessible to normal users. I
  verified this behavior in 1.8dev.

  To reproduce:

  1. Log in as an admin user
  2. Go to the Site Files page
  3. Create a subdirectory
  4. Upload a file into that subdirectory
  5. Log in as a non-admin user
  6. Add a files to download block to a page
  7. In the block's file selector, go to the site files page
  8. You will not see the subdirectory you created in step 4, or be able to 
access its files.

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

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


[Mahara-contributors] [Bug 1223069] Re: Site files accessible in Links and resources sidebar

2013-09-12 Thread Kristina Hoeppner
I created bug #1224750 for Aaron's original report so that we don't lose
track of it.

** Summary changed:

- Site files located in a subfolder cannot be accessed by normal users
+ Site files accessible in Links and resources sidebar

** Changed in: mahara
   Importance: Low = 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/1223069

Title:
  Site files accessible in Links and resources sidebar

Status in Mahara ePortfolio:
  Confirmed

Bug description:
  According to the Site Files documentation, files uploaded into the
  site files section are meant to be accessible to all logged-in users
  (via the Site Files tab on any file selector). The one exception to
  this is files in the hard-coded Public folder, which are meant to
  also be accessible to users who aren't logged in.

  A user on the #mahara irc channel reported that Site Files sitting in
  a subdirectory, however, are not accessible to normal users. I
  verified this behavior in 1.8dev.

  To reproduce:

  1. Log in as an admin user
  2. Go to the Site Files page
  3. Create a subdirectory
  4. Upload a file into that subdirectory
  5. Log in as a non-admin user
  6. Add a files to download block to a page
  7. In the block's file selector, go to the site files page
  8. You will not see the subdirectory you created in step 4, or be able to 
access its files.

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

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


[Mahara-contributors] [Bug 1223069] Re: Site files accessible in Links and resources sidebar

2013-09-12 Thread Kristina Hoeppner
Important for testing:

Use Adrian's test scenario and make sure that the site setting of site
file access is ticked.

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

Title:
  Site files accessible in Links and resources sidebar

Status in Mahara ePortfolio:
  Confirmed

Bug description:
  According to the Site Files documentation, files uploaded into the
  site files section are meant to be accessible to all logged-in users
  (via the Site Files tab on any file selector). The one exception to
  this is files in the hard-coded Public folder, which are meant to
  also be accessible to users who aren't logged in.

  A user on the #mahara irc channel reported that Site Files sitting in
  a subdirectory, however, are not accessible to normal users. I
  verified this behavior in 1.8dev.

  To reproduce:

  1. Log in as an admin user
  2. Go to the Site Files page
  3. Create a subdirectory
  4. Upload a file into that subdirectory
  5. Log in as a non-admin user
  6. Add a files to download block to a page
  7. In the block's file selector, go to the site files page
  8. You will not see the subdirectory you created in step 4, or be able to 
access its files.

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

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


[Mahara-contributors] [Bug 1223069] Re: Site files accessible in Links and resources sidebar

2013-09-12 Thread Kristina Hoeppner
Tagged wishlist because it introduces a new feature

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

Title:
  Site files accessible in Links and resources sidebar

Status in Mahara ePortfolio:
  Confirmed

Bug description:
  According to the Site Files documentation, files uploaded into the
  site files section are meant to be accessible to all logged-in users
  (via the Site Files tab on any file selector). The one exception to
  this is files in the hard-coded Public folder, which are meant to
  also be accessible to users who aren't logged in.

  A user on the #mahara irc channel reported that Site Files sitting in
  a subdirectory, however, are not accessible to normal users. I
  verified this behavior in 1.8dev.

  To reproduce:

  1. Log in as an admin user
  2. Go to the Site Files page
  3. Create a subdirectory
  4. Upload a file into that subdirectory
  5. Log in as a non-admin user
  6. Add a files to download block to a page
  7. In the block's file selector, go to the site files page
  8. You will not see the subdirectory you created in step 4, or be able to 
access its files.

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

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


[Mahara-contributors] [Bug 1224788] [NEW] upgrading from old version breaks due to view_layout

2013-09-12 Thread Robert Lyon
Public bug reported:

Upgrading breaks because the view layout table is dropped and recreated
so causes problems.

have adjusted it to upgrade in a more friendly way.

to test:

install fresh see if that still works

upgrade from previous version where there are portfolio pages with
different layout options

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

** Changed in: mahara
   Status: New = Confirmed

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

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

** Changed in: mahara
   Importance: Undecided = High

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

Title:
  upgrading from old version breaks due to  view_layout

Status in Mahara ePortfolio:
  In Progress

Bug description:
  Upgrading breaks because the view layout table is dropped and
  recreated so causes problems.

  have adjusted it to upgrade in a more friendly way.

  to test:

  install fresh see if that still works

  upgrade from previous version where there are portfolio pages with
  different layout options

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

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


[Mahara-contributors] [Bug 1224788] Re: upgrading from old version breaks due to view_layout

2013-09-12 Thread Robert Lyon
patch submitted
https://reviews.mahara.org/#/c/2495/

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

Title:
  upgrading from old version breaks due to  view_layout

Status in Mahara ePortfolio:
  In Progress

Bug description:
  Upgrading breaks because the view layout table is dropped and
  recreated so causes problems.

  have adjusted it to upgrade in a more friendly way.

  to test:

  install fresh see if that still works

  upgrade from previous version where there are portfolio pages with
  different layout options

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

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