[Mahara-contributors] [Bug 1705547] Re: Error with auth_ldap_sync_cron

2017-07-27 Thread Gilles-Philippe Leblanc
** Changed in: mahara/17.10
 Assignee: (unassigned) => Gilles-Philippe Leblanc (gilles-philippe-leblanc)

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

Title:
  Error with auth_ldap_sync_cron

Status in Mahara:
  In Progress
Status in Mahara 17.04 series:
  Confirmed
Status in Mahara 17.10 series:
  In Progress

Bug description:
  We have this error in our log :
  [WAR] eb (auth/ldap/lib.php:1627) Undefined property: stdClass::$active

  The cause is the the db record do not contain "active":
  $auths = get_records_array('auth_instance', 'authname', 'ldap', 'id', 'id');

  It can be fixed by adding it :
  $auths = get_records_array('auth_instance', 'authname', 'ldap', 'id', 
'id,active');

  I think its a regression caused by :
  Bug 1640308: Adding an auth_instance "active" column

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

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


[Mahara-contributors] [Bug 1705547] Re: Error with auth_ldap_sync_cron

2017-07-20 Thread Gilles-Philippe Leblanc
I just give you the patch.

To reproduce and to test, you must have a ldap auth instance in your
system (in the table mhr_auth_instance)

At 0:00, if you run the cron, you will have it.
You can change the value temporarily for the test in get_cron() from the file 
auth/ldap/lib.php

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

Title:
  Error with auth_ldap_sync_cron

Status in Mahara:
  New

Bug description:
  We have this error in our log :
  [WAR] eb (auth/ldap/lib.php:1627) Undefined property: stdClass::$active

  The cause is the the db record do not contain "active":
  $auths = get_records_array('auth_instance', 'authname', 'ldap', 'id', 'id');

  It can be fixed by adding it :
  $auths = get_records_array('auth_instance', 'authname', 'ldap', 'id', 
'id,active');

  I think its a regression caused by :
  Bug 1640308: Adding an auth_instance "active" column

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

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


[Mahara-contributors] [Bug 1705547] Re: Error with auth_ldap_sync_cron

2017-07-20 Thread Gilles-Philippe Leblanc
** Summary changed:

- Synchronize users
+ Error with auth_ldap_sync_cron

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

Title:
  Error with auth_ldap_sync_cron

Status in Mahara:
  New

Bug description:
  We have this error in our log :
  [WAR] eb (auth/ldap/lib.php:1627) Undefined property: stdClass::$active

  The cause is the the db record do not contain "active":
  $auths = get_records_array('auth_instance', 'authname', 'ldap', 'id', 'id');

  It can be fixed by adding it :
  $auths = get_records_array('auth_instance', 'authname', 'ldap', 'id', 
'id,active');

  I think its a regression caused by :
  Bug 1640308: Adding an auth_instance "active" column

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

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


[Mahara-contributors] [Bug 1705547] [NEW] Error with auth_ldap_sync_cron

2017-07-20 Thread Gilles-Philippe Leblanc
Public bug reported:

We have this error in our log :
[WAR] eb (auth/ldap/lib.php:1627) Undefined property: stdClass::$active

The cause is the the db record do not contain "active":
$auths = get_records_array('auth_instance', 'authname', 'ldap', 'id', 'id');

It can be fixed by adding it :
$auths = get_records_array('auth_instance', 'authname', 'ldap', 'id', 
'id,active');

I think its a regression caused by :
Bug 1640308: Adding an auth_instance "active" column

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

Title:
  Error with auth_ldap_sync_cron

Status in Mahara:
  New

Bug description:
  We have this error in our log :
  [WAR] eb (auth/ldap/lib.php:1627) Undefined property: stdClass::$active

  The cause is the the db record do not contain "active":
  $auths = get_records_array('auth_instance', 'authname', 'ldap', 'id', 'id');

  It can be fixed by adding it :
  $auths = get_records_array('auth_instance', 'authname', 'ldap', 'id', 
'id,active');

  I think its a regression caused by :
  Bug 1640308: Adding an auth_instance "active" column

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

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


[Mahara-contributors] [Bug 1467252] Re: Display problem with Switchbox when label strings aren't the same length as "On" & "Off"

2017-03-21 Thread Gilles-Philippe Leblanc
Hi Kristina,

I just tested with the master on my development environment and for what
I know, everything seems to work properly.

Regards,

Gilles-Philippe

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

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

Status in Mahara:
  Fix Committed

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

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

  (see inclosed picture)

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

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


[Mahara-contributors] [Bug 1648837] Re: Select2 selector not UI problems

2017-01-10 Thread Gilles-Philippe Leblanc
Here is a new fix including
module/multirecipientnotification/sendmessage.php.

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

Title:
  Select2 selector not UI problems

Status in Mahara:
  In Progress

Bug description:
  * Click on > portfolio > page
  * If you don't have created a page yet, create one
  * Under the page title, click on the "Share page" link
  * Click on the "SHARED WITH" select list and choose "Friends"
  * Click on the "Search" select list

  Actual : The profile picture is not positioned correctly (stick on the text 
below it) and we see a horizontal scroll (not enough width, because of the 
negative margin of the image)
  Expected : margin under the profile picture, no horizontal scroll and enough 
width

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

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


[Mahara-contributors] [Bug 1648128] Re: Unnecessary scroll bars on ajax spinner with ie11

2017-01-10 Thread Gilles-Philippe Leblanc
Some behat tests failed but I think it is not related at all. Can we do
something for this ?

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

Title:
   Unnecessary scroll bars on ajax spinner with ie11

Status in Mahara:
  In Progress

Bug description:
  To reproduce :
  * Open Internet Explorer 11 and go to your profile page
  * Click on "Edit content"
  * On any block, click on the gear at the top right position of the head of a 
block

  Expected : See only the animated spinner
  Actual : Unwanted scroll bar around the spinner

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

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


[Mahara-contributors] [Bug 1648850] Re: The title for the notifications overlaps the Compose button

2017-01-09 Thread Gilles-Philippe Leblanc
I just provided a fix. Please check this. Thanks!

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

Title:
  The title for the notifications overlaps the Compose button

Status in Mahara:
  In Progress

Bug description:
  To reproduce:
  * Go to the module/multirecipientnotification/inbox.php page (don't know how 
to go in the interface directly without sending a message, sorry!)
  * Reduce the width of the page
  Actual: The Notifications title and the (i) overlaps the Compose button
  Expected: The compose button may float under the title

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

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


[Mahara-contributors] [Bug 1648128] Re: Unnecessary scroll bars on ajax spinner with ie11

2017-01-09 Thread Gilles-Philippe Leblanc
I just provided a fix. Please check this. Thanks!

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

Title:
   Unnecessary scroll bars on ajax spinner with ie11

Status in Mahara:
  In Progress

Bug description:
  To reproduce :
  * Open Internet Explorer 11 and go to your profile page
  * Click on "Edit content"
  * On any block, click on the gear at the top right position of the head of a 
block

  Expected : See only the animated spinner
  Actual : Unwanted scroll bar around the spinner

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

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


[Mahara-contributors] [Bug 1648850] Re: The title for the notifications overlaps the Compose button

2017-01-05 Thread Gilles-Philippe Leblanc
Forget my last comment, it was for:
https://bugs.launchpad.net/mahara/+bug/1648858

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

Title:
  The title for the notifications overlaps the Compose button

Status in Mahara:
  In Progress

Bug description:
  To reproduce:
  * Go to the module/multirecipientnotification/inbox.php page (don't know how 
to go in the interface directly without sending a message, sorry!)
  * Reduce the width of the page
  Actual: The Notifications title and the (i) overlaps the Compose button
  Expected: The compose button may float under the title

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

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


[Mahara-contributors] [Bug 1467252] Re: Display problem with Switchbox when label strings aren't the same length as "On" & "Off"

2017-01-05 Thread Gilles-Philippe Leblanc
Hi, here is a pure Javascript solution for this problem. Use only the
patch set 3.

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

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

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

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

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

  (see inclosed picture)

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

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


[Mahara-contributors] [Bug 1467252] Re: Display problem with Switchbox when label strings aren't the same length as "On" & "Off"

2016-12-23 Thread Gilles-Philippe Leblanc
Hi Kristina,

Yea, My first thought where I saw the problem was to ask myself why the 
computed width is done server side, at least, only here.
I did the patch like this to avoid to change too greatly the behavior but I 
admit now that a client side will be the best.

Now the problem with JavaScript is the switch is visible when the page is 
loaded and there’ll be a delay before the application of the width so the 
resize will be visible.
The best would be a pure CSS solution but I even not sure its possible the way 
the switch is.
This is why I would keep a fix on the server side when loading the page. The 
actual server side computed width still wrong.

I’m interested to investigate for it, I just hope it will not take too
much time, I already spent quite some on this.

Regards,
Gilles-Philippe Leblanc

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

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

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

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

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

  (see inclosed picture)

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

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


[Mahara-contributors] [Bug 1648089] Re: The pop-up help window pops up when the content is too long

2016-12-22 Thread Gilles-Philippe Leblanc
I think we may merge it in all version even if the example message is
different in the latest version to avoid this problem again in the
future in case we have a long help message again.

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

Title:
  The pop-up help window pops up when the content is too long

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

Bug description:
  To reproduce:
  * Click on the menu: Content > file
  * Click on the (i) icon after the License field
  Expected: We may be able to read all its content
  Actual: The top part is outside the screen (see Screen-shot)

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

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


[Mahara-contributors] [Bug 1467252] Re: Display problem with Switchbox when label strings aren't the same length as "On" & "Off"

2016-12-22 Thread Gilles-Philippe Leblanc
Oh, I see! I understand more now. We didn't test this case but the
problem is not that the On switch is larger than the no one since the
server use only the larger one.

See in htdocs/lib/form/elements/switchbox.php:
$strlength = max(strlen($onlabel), strlen($offlabel));
$width = floor((57 + (($strlength - 2) * 3.5) + pow(1.4, ($strlength - 2 . 
'px';

My educated guess is that this formula is incorrect. I admit to do not
understand it but if someone is able to explain it I'll be interested :)

I'm already into rewrite it and I'm pretty sure this will fix this.

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

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

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

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

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

  (see inclosed picture)

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

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


[Mahara-contributors] [Bug 1467252] Re: Display problem with Switchbox when label strings aren't the same length as "On" & "Off"

2016-12-20 Thread Gilles-Philippe Leblanc
I mean, I do not understand your comment.

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

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

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

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

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

  (see inclosed picture)

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

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


[Mahara-contributors] [Bug 1467252] Re: Display problem with Switchbox when label strings aren't the same length as "On" & "Off"

2016-12-20 Thread Gilles-Philippe Leblanc
Hello Kristina, I do not your comment here :
https://reviews.mahara.org/7353 

"Patch Set 2: Verified-1

It's already better :-) but not quite yet unless we don't care about
very long words: https://seafile.catalyst.net.nz/f/a1c6470ac1/";

Thanks!

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

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

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

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

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

  (see inclosed picture)

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

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


[Mahara-contributors] [Bug 1648850] Re: The title for the notifications overlaps the Compose button

2016-12-20 Thread Gilles-Philippe Leblanc
My solution was to add a "table-responsive" to the div surrounding the table 
but like Kristina Hoeppner said, this is not a mobile problem but a file name 
problem. The actual fix is better than mines.
+1 for it.

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

Title:
  The title for the notifications overlaps the Compose button

Status in Mahara:
  In Progress

Bug description:
  To reproduce:
  * Go to the module/multirecipientnotification/inbox.php page (don't know how 
to go in the interface directly without sending a message, sorry!)
  * Reduce the width of the page
  Actual: The Notifications title and the (i) overlaps the Compose button
  Expected: The compose button may float under the title

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

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


[Mahara-contributors] [Bug 1648131] Re: The bottom margin of the first file picker is different of the other filepickers

2016-12-19 Thread Gilles-Philippe Leblanc
The fix seems OK but it is not correct.
It add now two margin-bottom to each element but the first one.
Its not visible only because the two bottom margin overlap.
* Go to developer mode on your browser (F12) and go see the file picker.
* You will see that each picker picker but the first are surrounded by a 
div.file-wrapper.

Hopefully, the two bottom-margin is only applied one that why you don't
see the problem but that why I don't think the actual fix is the best.

I just committed mines. It modify the html and the class to correctly
use the file wrapper. This way, the first file-picker is wrapped in the
 like the other added after.

I putted two fix. One with my patch and the second with the remove of
the first fix already merged.

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

Title:
  The bottom margin of the first file picker is different of the other
  filepickers

Status in Mahara:
  Fix Committed

Bug description:
  To reproduce:
  * Click on the menu: Content > Resume
  * On the "Education history" section, click on the "Add" button
  * Then, click on the "Add attachment" button 3 times

  Expected: The margin between the first file picker may be equal of the
  margin between the others file pickers.

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

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


[Mahara-contributors] [Bug 1648128] Re: Unnecessary scroll bars on ajax spinner with ie11

2016-12-19 Thread Gilles-Philippe Leblanc
** Changed in: mahara
   Status: In Progress => Fix Committed

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

Title:
   Unnecessary scroll bars on ajax spinner with ie11

Status in Mahara:
  Fix Committed

Bug description:
  To reproduce :
  * Open Internet Explorer 11 and go to your profile page
  * Click on "Edit content"
  * On any block, click on the gear at the top right position of the head of a 
block

  Expected : See only the animated spinner
  Actual : Unwanted scroll bar around the spinner

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

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


[Mahara-contributors] [Bug 1648089] Re: The pop-up help window pops up when the content is too long

2016-12-19 Thread Gilles-Philippe Leblanc
** Changed in: mahara
   Status: In Progress => Fix Committed

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

Title:
  The pop-up help window pops up when the content is too long

Status in Mahara:
  Fix Committed

Bug description:
  To reproduce:
  * Click on the menu: Content > file
  * Click on the (i) icon after the License field
  Expected: We may be able to read all its content
  Actual: The top part is outside the screen (see Screen-shot)

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

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


[Mahara-contributors] [Bug 1648878] Re: The share page secret urls icon are not correctly aligned

2016-12-13 Thread Gilles-Philippe Leblanc
Finally, its the same as mine, sorry :) You can proceed with 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/1648878

Title:
  The share page secret urls icon are not correctly aligned

Status in Mahara:
  In Progress

Bug description:
  To reproduce:
  * Create some collections and/or page and share some
  * Click on Content > Share by me
  Actual: The secret urls icons are not centered
  Expected : The secret urls icons are centered

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

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


[Mahara-contributors] [Bug 1649319] Re: Editing a table - editor's icons are not being displayed

2016-12-13 Thread Gilles-Philippe Leblanc
The problem is from the skin "light" in the TinyMCE theme. He miss the required 
font and :before css style to call the icons.
A workaround is to replace the call of the "light" skin to the "lightgray" 
default skin in the htdocs/lib/web.php file.

I don't know exactly where is came from the "light skin" but if its an adapted 
version from the link below, it has the same problem :
https://pixabay.com/fr/blog/posts/a-modern-custom-theme-for-tinymce-4-40/

Maybe a solution is to begin from the "lightgray" skin and to create a new one. 
Ex using this:
http://skin.tinymce.com/

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

Title:
  Editing a table - editor's icons are not being displayed

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

Bug description:
  Mahara 16.04

  When you try to edit a table, the icons with the different options
  (add row, delete row, etc.) doesn't show up in the editor. See the
  screenshot attached.

  Already tested in different browsers (Chrome, Firefox, etc.).

  Steps :

  1 - edit a page
  2 - add a table
  3 - try to edit the table (you'll see the icons are missing)

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

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


[Mahara-contributors] [Bug 1467252] Re: Display problem with Switchbox when label strings aren't the same length as "On" & "Off"

2016-12-13 Thread Gilles-Philippe Leblanc
Hi! I have a fix for this bug but I just need some time to share it with
you (at the end this week). Thank you !

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

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

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

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

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

  (see inclosed picture)

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

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


[Mahara-contributors] [Bug 1648878] Re: The share page secret urls icon are not correctly aligned

2016-12-13 Thread Gilles-Philippe Leblanc
Hi, I have a fix for this bug but I just need some time to share it with you 
(at the end this week) Thank you!
I see you have already a fix for it but mines is a little different. Maybe we 
can compare to find the better solution. Thanks!

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

Title:
  The share page secret urls icon are not correctly aligned

Status in Mahara:
  In Progress

Bug description:
  To reproduce:
  * Create some collections and/or page and share some
  * Click on Content > Share by me
  Actual: The secret urls icons are not centered
  Expected : The secret urls icons are centered

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

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


[Mahara-contributors] [Bug 1648089] Re: The pop-up help window pops up when the content is too long

2016-12-13 Thread Gilles-Philippe Leblanc
Hi Kristina,

We use the version 16.04. It's not related with the browser (we have the 
problem will all of them).
I just check with the latest version and I'm unable to reproduce it. I'm pretty 
sure it because the difference between both version is the content of the 
license message. It have much more text content in 16.04 than the latest 
version.

So we may consider it's fixed in latest for this specific license
message but I worry if there is other help message with long content.

I have a fix for this bug but I just need some time to share it with you (at 
the end this week).
I may check if some help message is long enough in latest and if so, I'll share 
it with you.

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

Title:
  The pop-up help window pops up when the content is too long

Status in Mahara:
  Incomplete

Bug description:
  To reproduce:
  * Click on the menu: Content > file
  * Click on the (i) icon after the License field
  Expected: We may be able to read all its content
  Actual: The top part is outside the screen (see Screen-shot)

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

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


[Mahara-contributors] [Bug 1648128] Re: Unnecessary scroll bars on ajax spinner with ie11

2016-12-13 Thread Gilles-Philippe Leblanc
Hi! I have a fix for this bug but I just need some time to share it with
you (at the end this week). Thank you !

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

Title:
   Unnecessary scroll bars on ajax spinner with ie11

Status in Mahara:
  Confirmed

Bug description:
  To reproduce :
  * Open Internet Explorer 11 and go to your profile page
  * Click on "Edit content"
  * On any block, click on the gear at the top right position of the head of a 
block

  Expected : See only the animated spinner
  Actual : Unwanted scroll bar around the spinner

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

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


[Mahara-contributors] [Bug 1648131] Re: The bottom margin of the first file picker is different of the other filepickers

2016-12-13 Thread Gilles-Philippe Leblanc
Hi! I have a fix for this bug but I just need some time to share it with
you (at the end this week). Thank you !

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

Title:
  The bottom margin of the first file picker is different of the other
  filepickers

Status in Mahara:
  In Progress

Bug description:
  To reproduce:
  * Click on the menu: Content > Resume
  * On the "Education history" section, click on the "Add" button
  * Then, click on the "Add attachment" button 3 times

  Expected: The margin between the first file picker may be equal of the
  margin between the others file pickers.

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

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


[Mahara-contributors] [Bug 1648850] Re: The title for the notifications overlaps the Compose button

2016-12-13 Thread Gilles-Philippe Leblanc
Hi! I have a fix for this bug but I just need some time to share it with
you (at the end this week). Thank you !

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

Title:
  The title for the notifications overlaps the Compose button

Status in Mahara:
  Confirmed

Bug description:
  To reproduce:
  * Go to the module/multirecipientnotification/inbox.php page (don't know how 
to go in the interface directly without sending a message, sorry!)
  * Reduce the width of the page
  Actual: The Notifications title and the (i) overlaps the Compose button
  Expected: The compose button may float under the title

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

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


[Mahara-contributors] [Bug 1648858] Re: The file list overflow incorrectly with mobile devices

2016-12-13 Thread Gilles-Philippe Leblanc
Hi, I have a fix for this bug but I just need some time to share it with you 
(at the end this week) Thank you!
I see you have already a fix for it but mines is a little different. Maybe we 
can compare to find the better solution. Thanks!

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

Title:
  The file list overflow incorrectly with mobile devices

Status in Mahara:
  In Progress

Bug description:
  To reproduce:
  * Go to Content > Files
  * Add a file with a long name (ex. 
super_long_file_name_that_breaks_the_layout.jpg)
  Actual: With mobile devices, the table go outside the page layout
  Expected: The table do not go outside the page layout but a scroll is added 
for that table

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

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


[Mahara-contributors] [Bug 1648837] Re: Select2 selector not UI problems

2016-12-13 Thread Gilles-Philippe Leblanc
Hi, I have a fix for this bug but I just need some time to share it with
you. Thank you!

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

Title:
  Select2 selector not UI problems

Status in Mahara:
  Confirmed

Bug description:
  * Click on > portfolio > page
  * If you don't have created a page yet, create one
  * Under the page title, click on the "Share page" link
  * Click on the "SHARED WITH" select list and choose "Friends"
  * Click on the "Search" select list

  Actual : The profile picture is not positioned correctly (stick on the text 
below it) and we see a horizontal scroll (not enough width, because of the 
negative margin of the image)
  Expected : margin under the profile picture, no horizontal scroll and enough 
width

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

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


[Mahara-contributors] [Bug 1648870] Re: The plan tasks list completed icons are not aligned correctly

2016-12-13 Thread Gilles-Philippe Leblanc
Hi, I have a fix for this bug but I just need some time to share it with you. 
Thank you!
I see you have already a fix for it but mines is a little different. Maybe we 
can compare to find the better solution. Thanks!

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

Title:
  The plan tasks list completed icons are not aligned correctly

Status in Mahara:
  In Progress

Bug description:
  To reproduce:
  * Go to Content > Plans
  * Create a plan and some tasks
  ** Set some task to complete and some with a due date in the past
  * Resize the Windows of your browser horizontally
  Actual: the icons in the first column are not correctly align with the 
"Completed" header
  Expected : Centered icon in a fixed width column based on the size of the 
header "Completed"

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

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


[Mahara-contributors] [Bug 1648878] [NEW] The share page secret urls icon are not correctly aligned

2016-12-09 Thread Gilles-Philippe Leblanc
Public bug reported:

To reproduce:
* Create some collections and/or page and share some
* Click on Content > Share by me
Actual: The secret urls icons are not centered
Expected : The secret urls icons are centered

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

Title:
  The share page secret urls icon are not correctly aligned

Status in Mahara:
  New

Bug description:
  To reproduce:
  * Create some collections and/or page and share some
  * Click on Content > Share by me
  Actual: The secret urls icons are not centered
  Expected : The secret urls icons are centered

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

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


[Mahara-contributors] [Bug 1648878] Re: The share page secret urls icon are not correctly aligned

2016-12-09 Thread Gilles-Philippe Leblanc
** Attachment added: "EVOSTDM-680_secreturls_a.png"
   
https://bugs.launchpad.net/mahara/+bug/1648878/+attachment/4789710/+files/EVOSTDM-680_secreturls_a.png

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

Title:
  The share page secret urls icon are not correctly aligned

Status in Mahara:
  New

Bug description:
  To reproduce:
  * Create some collections and/or page and share some
  * Click on Content > Share by me
  Actual: The secret urls icons are not centered
  Expected : The secret urls icons are centered

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

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


[Mahara-contributors] [Bug 1648870] [NEW] The plan tasks list completed icons are not aligned correctly

2016-12-09 Thread Gilles-Philippe Leblanc
Public bug reported:

To reproduce:
* Go to Content > Plans
* Create a plan and some tasks
** Set some task to complete and some with a due date in the past
* Resize the Windows of your browser horizontally
Actual: the icons in the first column are not correctly align with the 
"Completed" header
Expected : Centered icon in a fixed width column based on the size of the 
header "Completed"

** Affects: mahara
 Importance: Undecided
 Status: New

** Attachment added: "EVOSTDM-680_taskslist_a.png"
   
https://bugs.launchpad.net/bugs/1648870/+attachment/4789709/+files/EVOSTDM-680_taskslist_a.png

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

Title:
  The plan tasks list completed icons are not aligned correctly

Status in Mahara:
  New

Bug description:
  To reproduce:
  * Go to Content > Plans
  * Create a plan and some tasks
  ** Set some task to complete and some with a due date in the past
  * Resize the Windows of your browser horizontally
  Actual: the icons in the first column are not correctly align with the 
"Completed" header
  Expected : Centered icon in a fixed width column based on the size of the 
header "Completed"

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

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


[Mahara-contributors] [Bug 1648858] [NEW] The file list overflow incorrectly with mobile devices

2016-12-09 Thread Gilles-Philippe Leblanc
Public bug reported:

To reproduce:
* Go to Content > Files
* Add a file with a long name (ex. 
super_long_file_name_that_breaks_the_layout.jpg)
Actual: With mobile devices, the table go outside the page layout
Expected: The table do not go outside the page layout but a scroll is added for 
that table

** Affects: mahara
 Importance: Undecided
 Status: New

** Attachment added: "EVOSTDM-680_filecontainer_a.png"
   
https://bugs.launchpad.net/bugs/1648858/+attachment/4789678/+files/EVOSTDM-680_filecontainer_a.png

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

Title:
  The file list overflow incorrectly with mobile devices

Status in Mahara:
  New

Bug description:
  To reproduce:
  * Go to Content > Files
  * Add a file with a long name (ex. 
super_long_file_name_that_breaks_the_layout.jpg)
  Actual: With mobile devices, the table go outside the page layout
  Expected: The table do not go outside the page layout but a scroll is added 
for that table

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

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


[Mahara-contributors] [Bug 1648850] [NEW] The title for the notifications overlaps the Compose button

2016-12-09 Thread Gilles-Philippe Leblanc
Public bug reported:

To reproduce:
* Go to the module/multirecipientnotification/inbox.php page (don't know how to 
go in the interface directly without sending a message, sorry!)
* Reduce the width of the page
Actual: The Notifications title and the (i) overlaps the Compose button
Expected: The compose button may float under the title

** Affects: mahara
 Importance: Undecided
 Status: New

** Attachment added: "EVOSTDM-680_notifications_a.png"
   
https://bugs.launchpad.net/bugs/1648850/+attachment/4789648/+files/EVOSTDM-680_notifications_a.png

** Description changed:

  To reproduce:
  * Go to the module/multirecipientnotification/inbox.php page (don't know how 
to go in the interface directly without sending a message, sorry!)
- * Reduce the with of the page
- Actual: The Notifications and (i) overlaps the Compose button
+ * Reduce the width of the page
+ Actual: The Notifications title and the (i) overlaps the Compose button
  Expected: The compose button may float under the title

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

Title:
  The title for the notifications overlaps the Compose button

Status in Mahara:
  New

Bug description:
  To reproduce:
  * Go to the module/multirecipientnotification/inbox.php page (don't know how 
to go in the interface directly without sending a message, sorry!)
  * Reduce the width of the page
  Actual: The Notifications title and the (i) overlaps the Compose button
  Expected: The compose button may float under the title

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

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


[Mahara-contributors] [Bug 1648837] [NEW] Select2 selector not UI problems

2016-12-09 Thread Gilles-Philippe Leblanc
Public bug reported:

* Click on > portfolio > page
* If you don't have created a page yet, create one
* Under the page title, click on the "Share page" link
* Click on the "SHARED WITH" select list and choose "Friends"
* Click on the "Search" select list

Actual : The profile picture is not positioned correctly (stick on the text 
below it) and we see a horizontal scroll (not enough width, because of the 
negative margin of the image)
Expected : margin under the profile picture, no horizontal scroll and enough 
width

** Affects: mahara
 Importance: Undecided
 Status: New

** Attachment added: "EVOSTDM-680_select2_a.png"
   
https://bugs.launchpad.net/bugs/1648837/+attachment/4789583/+files/EVOSTDM-680_select2_a.png

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

Title:
  Select2 selector not UI problems

Status in Mahara:
  New

Bug description:
  * Click on > portfolio > page
  * If you don't have created a page yet, create one
  * Under the page title, click on the "Share page" link
  * Click on the "SHARED WITH" select list and choose "Friends"
  * Click on the "Search" select list

  Actual : The profile picture is not positioned correctly (stick on the text 
below it) and we see a horizontal scroll (not enough width, because of the 
negative margin of the image)
  Expected : margin under the profile picture, no horizontal scroll and enough 
width

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

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


[Mahara-contributors] [Bug 1648131] [NEW] The bottom margin of the first file picker is different of the other filepickers

2016-12-07 Thread Gilles-Philippe Leblanc
Public bug reported:

To reproduce:
* Click on the menu: Content > Resume
* On the "Education history" section, click on the "Add" button
* Then, click on the "Add attachment" button 3 times

Expected: The margin between the first file picker may be equal of the
margin between the others file pickers.

** Affects: mahara
 Importance: Undecided
 Status: New

** Attachment added: "EVOSTDM-680_filepicker_a.png"
   
https://bugs.launchpad.net/bugs/1648131/+attachment/4788624/+files/EVOSTDM-680_filepicker_a.png

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

Title:
  The bottom margin of the first file picker is different of the other
  filepickers

Status in Mahara:
  New

Bug description:
  To reproduce:
  * Click on the menu: Content > Resume
  * On the "Education history" section, click on the "Add" button
  * Then, click on the "Add attachment" button 3 times

  Expected: The margin between the first file picker may be equal of the
  margin between the others file pickers.

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

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


[Mahara-contributors] [Bug 1648128] [NEW] Unnecessary scroll bars on ajax spinner with ie11

2016-12-07 Thread Gilles-Philippe Leblanc
Public bug reported:

To reproduce :
* Open Internet Explorer 11 and go to your profile page
* Click on "Edit content"
* On any block, click on the gear at the top right position of the head of a 
block

Expected : See only the animated spinner
Actual : Unwanted scroll bar around the spinner

** Affects: mahara
 Importance: Undecided
 Status: New

** Attachment added: "EVOSTDM-680_loading-ie11.png"
   
https://bugs.launchpad.net/bugs/1648128/+attachment/4788623/+files/EVOSTDM-680_loading-ie11.png

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

Title:
   Unnecessary scroll bars on ajax spinner with ie11

Status in Mahara:
  New

Bug description:
  To reproduce :
  * Open Internet Explorer 11 and go to your profile page
  * Click on "Edit content"
  * On any block, click on the gear at the top right position of the head of a 
block

  Expected : See only the animated spinner
  Actual : Unwanted scroll bar around the spinner

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

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


[Mahara-contributors] [Bug 1648089] [NEW] The pop-up help window pops up when the content is too long

2016-12-07 Thread Gilles-Philippe Leblanc
Public bug reported:

To reproduce:
* Click on the menu: Content > file
* Click on the (i) icon after the License field
Expected: We may be able to read all its content
Actual: The top part is outside the screen (see Screen-shot)

** Affects: mahara
 Importance: Undecided
 Status: New

** Attachment added: "EVOSTDM-680_help_a.png"
   
https://bugs.launchpad.net/bugs/1648089/+attachment/4788564/+files/EVOSTDM-680_help_a.png

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

Title:
  The pop-up help window pops up when the content is too long

Status in Mahara:
  New

Bug description:
  To reproduce:
  * Click on the menu: Content > file
  * Click on the (i) icon after the License field
  Expected: We may be able to read all its content
  Actual: The top part is outside the screen (see Screen-shot)

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

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


[Mahara-contributors] [Bug 1467252] Re: Display problem with Switchbox when label strings aren't the same length as "On" & "Off"

2016-11-24 Thread Gilles-Philippe Leblanc
Hello, I sill have this problem in french with the version 16.04.4.
I'm using Windows 7 Chrome 54 and Firefox 50.

To reproduce:
* Put your language in French
* Visit this page : artefact/file/index.php
* Click on the the pencil to open the files settings
* Check the comments switchbox

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

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

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

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

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

  (see inclosed picture)

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

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


[Mahara-contributors] [Bug 1444461] Re: Allow the use of SVG files for the license images

2015-10-05 Thread Gilles-Philippe Leblanc
Unfortunately, I can not contribute to this task since I am no longer
assigned to the development of Mahara. So I'll have to let someone else
work on this task.

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

Title:
  Allow the use of SVG files for the license images

Status in Mahara:
  Confirmed

Bug description:
  Licenses images called in the following file are harcoded in png files and 
may use the$THEME->get_image_url():
  htdocs/lib/db/upgrade.php  line 3051, column 41
  htdocs/lib/db/upgrade.php  line 3061, column 38
  htdocs/lib/db/upgrade.php  line 3071, column 41
  htdocs/lib/db/upgrade.php  line 3081, column 44
  htdocs/lib/db/upgrade.php  line 3091, column 41
  htdocs/lib/db/upgrade.php  line 3101, column 44
  htdocs/lib/license.php line 325, column 42
  htdocs/lib/license.php line 344, column 37
  htdocs/lib/license.php line 351, column 34
  htdocs/lib/license.php line 358, column 37
  htdocs/lib/license.php line 365, column 40
  htdocs/lib/license.php line 372, column 37
  htdocs/lib/license.php line 379, column 40
  htdocs/lib/license.php line 386, column 36

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

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


[Mahara-contributors] [Bug 1465107] Re: Use the Bootstrap CSS framework

2015-06-15 Thread Gilles-Philippe Leblanc
Hi just found that the following fix broke the image license:
https://github.com/MaharaProject/mahara/commit/75f77523122c1394cd0d154f8c9a23522c2422ba

That will not work if we keep the file extension.

The following task was created to address the correct use of the get_image_url 
method in this context:
https://bugs.launchpad.net/mahara/+bug/161

Also, the following fix broke some remaining get_themeurl call:
https://github.com/MaharaProject/mahara/commit/74b5a5e0a5989670a48199413fb646a72170bc95#diff-109

in the file artefact/file/js, there is two remaining call of the
get_themeurl() method that cannot work right now because there is no
config.theme value inserted.

Maybe we should convert them in the font awesome spinner icon.

The call of SVG file in Javascript was reported here:
https://bugs.launchpad.net/mahara/+bug/1436854

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

Title:
  Use the Bootstrap CSS framework

Status in Mahara ePortfolio:
  In Progress

Bug description:
  Mahara's CSS, and general front-end coding, is a bit chaotic. So for
  the past several months we've had a couple of front-end developers
  working on rewriting the entire Mahara front end to use the Bootstrap
  CSS framework. http://getbootstrap.com/css/

  This should make all of our front-end development work easier
  henceforth, as well as providing a nice set of standard widgets to
  make Mahara look better right away.

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

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


[Mahara-contributors] [Bug 1444450] Re: Allow the use of SVG files for the thumbs

2015-06-15 Thread Gilles-Philippe Leblanc
I just rebased to the latest master and now this task  is useless...

Will be fixed in https://bugs.launchpad.net/mahara/+bug/1465107


** Changed in: mahara
   Status: Confirmed => 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/150

Title:
  Allow the use of SVG files for the thumbs

Status in Mahara ePortfolio:
  Invalid

Bug description:
  Mahara use thumbs.php files to render some icons. It would be nice to
  allow the use of the SVG format in the thumbs images.

  Here a list of files and position who currently call png files :
  htdocs/admin/thumb.php line 20, column 38
  htdocs/admin/thumb.php line 28, column 61
  htdocs/lib/file.phpline 358, column 84
  htdocs/lib/file.phpline 376, column 33
  htdocs/lib/file.phpline 403, column 16
  htdocs/lib/file.phpline 557, column 72
  htdocs/lib/file.phpline 565, column 24
  htdocs/lib/file.phpline 572, column 29
  htdocs/lib/file.phpline 573, column 45
  htdocs/lib/file.phpline 614, column 45
  htdocs/skin/thumb.php  line 37, column 58
  htdocs/skin/thumb.php  line 39, column 33
  htdocs/skin/thumb.php  line 44, column 33
  htdocs/skin/thumb.php  line 45, column 53
  htdocs/thumb.php   line 96, column 46
  htdocs/thumb.php   line 102, column 65
  htdocs/thumb.php   line 110, column 50
  htdocs/thumb.php   line 117, column 42
  htdocs/thumb.php   line 118, column 61
  htdocs/thumb.php   line 137, column 42
  htdocs/thumb.php   line 138, column 58
  htdocs/thumb.php   line 148, column 37
  htdocs/thumb.php   line 155, column 48
  htdocs/thumb.php   line 159, column 61
  htdocs/thumb.php   line 163, column 61

  Refer to the method $THEME->get_image_url() for adapting that.

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

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


[Mahara-contributors] [Bug 1444461] Re: Allow the use of SVG files for the license images

2015-06-15 Thread Gilles-Philippe Leblanc
I just rebased to the latest master and now the patch is useless...

Will be fixed in https://bugs.launchpad.net/mahara/+bug/1465107

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

Title:
  Allow the use of SVG files for the license images

Status in Mahara ePortfolio:
  Confirmed

Bug description:
  Licenses images called in the following file are harcoded in png files and 
may use the$THEME->get_image_url():
  htdocs/lib/db/upgrade.php  line 3051, column 41
  htdocs/lib/db/upgrade.php  line 3061, column 38
  htdocs/lib/db/upgrade.php  line 3071, column 41
  htdocs/lib/db/upgrade.php  line 3081, column 44
  htdocs/lib/db/upgrade.php  line 3091, column 41
  htdocs/lib/db/upgrade.php  line 3101, column 44
  htdocs/lib/license.php line 325, column 42
  htdocs/lib/license.php line 344, column 37
  htdocs/lib/license.php line 351, column 34
  htdocs/lib/license.php line 358, column 37
  htdocs/lib/license.php line 365, column 40
  htdocs/lib/license.php line 372, column 37
  htdocs/lib/license.php line 379, column 40
  htdocs/lib/license.php line 386, column 36

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

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


[Mahara-contributors] [Bug 1436854] Re: Allow the call of SVG images in javascript

2015-06-15 Thread Gilles-Philippe Leblanc
I just rebased to the latest master and now the patch is useless...

Will be fixed in https://bugs.launchpad.net/mahara/+bug/1465107


** Changed in: mahara
   Status: Confirmed => 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/1436854

Title:
  Allow the call of SVG images in javascript

Status in Mahara ePortfolio:
  Invalid

Bug description:
  In the htdocs/js/mahara.js file, we should create a method equivalent
  to the method php get_image_url () in htdocs/lib/web.php

  It should also replace the call of the method get_themeurl by this new
  method and replace config.theme['images/myimage.png'] calls in the
  javascript files.

  This task is related with:
  https://bugs.launchpad.net/mahara/+bug/1416890

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

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


[Mahara-contributors] [Bug 1444463] Re: Allow themepaths method to use get_image_url method

2015-06-15 Thread Gilles-Philippe Leblanc
I just rebased to the latest master and now the patch is useless...

Will be fixed in https://bugs.launchpad.net/mahara/+bug/1465107

** Changed in: mahara
   Status: Confirmed => 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/163

Title:
  Allow themepaths method to use get_image_url method

Status in Mahara ePortfolio:
  Invalid

Bug description:
  Currently, the themepaths method located in the lib/web.php file stock a list 
of theme path.
  Some of this path are image are may be called by the 
get_image_url_method_instead of the get_url method.

  Adapt the use of this method to detect if the path is an image or
  refactor it.

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

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


[Mahara-contributors] [Bug 1436854] Re: Allow the call of SVG images in javascript

2015-06-10 Thread Gilles-Philippe Leblanc
** Changed in: mahara
 Assignee: (unassigned) => Gilles-Philippe Leblanc (gilles-philippe-leblanc)

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

Title:
  Allow the call of SVG images in javascript

Status in Mahara ePortfolio:
  Confirmed

Bug description:
  In the htdocs/js/mahara.js file, we should create a method equivalent
  to the method php get_image_url () in htdocs/lib/web.php

  It should also replace the call of the method get_themeurl by this new
  method and replace config.theme['images/myimage.png'] calls in the
  javascript files.

  This task is related with:
  https://bugs.launchpad.net/mahara/+bug/1416890

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

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


[Mahara-contributors] [Bug 1444465] [NEW] Allow the skin class to use SVG image format

2015-04-15 Thread Gilles-Philippe Leblanc
Public bug reported:

I just found that the Skin class local in lib/skin.php do not allow the use of 
the SVG format.
I'm not sure if we want to use that but I create this task for reference.

** Affects: mahara
 Importance: Undecided
 Status: New

** Project changed: dragonflow => mahara

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

Title:
  Allow the skin class to use SVG image format

Status in Mahara ePortfolio:
  New

Bug description:
  I just found that the Skin class local in lib/skin.php do not allow the use 
of the SVG format.
  I'm not sure if we want to use that but I create this task for reference.

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

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


[Mahara-contributors] [Bug 1444461] [NEW] Allow the use of SVG files for the license images

2015-04-15 Thread Gilles-Philippe Leblanc
Public bug reported:

Licenses images called in the following file are harcoded in png files and may 
use the$THEME->get_image_url():
htdocs/lib/db/upgrade.phpline 3051, column 41
htdocs/lib/db/upgrade.phpline 3061, column 38
htdocs/lib/db/upgrade.phpline 3071, column 41
htdocs/lib/db/upgrade.phpline 3081, column 44
htdocs/lib/db/upgrade.phpline 3091, column 41
htdocs/lib/db/upgrade.phpline 3101, column 44
htdocs/lib/license.php   line 325, column 42
htdocs/lib/license.php   line 344, column 37
htdocs/lib/license.php   line 351, column 34
htdocs/lib/license.php   line 358, column 37
htdocs/lib/license.php   line 365, column 40
htdocs/lib/license.php   line 372, column 37
htdocs/lib/license.php   line 379, column 40
htdocs/lib/license.php   line 386, column 36

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

Title:
  Allow the use of SVG files for the license images

Status in Mahara ePortfolio:
  New

Bug description:
  Licenses images called in the following file are harcoded in png files and 
may use the$THEME->get_image_url():
  htdocs/lib/db/upgrade.php  line 3051, column 41
  htdocs/lib/db/upgrade.php  line 3061, column 38
  htdocs/lib/db/upgrade.php  line 3071, column 41
  htdocs/lib/db/upgrade.php  line 3081, column 44
  htdocs/lib/db/upgrade.php  line 3091, column 41
  htdocs/lib/db/upgrade.php  line 3101, column 44
  htdocs/lib/license.php line 325, column 42
  htdocs/lib/license.php line 344, column 37
  htdocs/lib/license.php line 351, column 34
  htdocs/lib/license.php line 358, column 37
  htdocs/lib/license.php line 365, column 40
  htdocs/lib/license.php line 372, column 37
  htdocs/lib/license.php line 379, column 40
  htdocs/lib/license.php line 386, column 36

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

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


[Mahara-contributors] [Bug 1444463] [NEW] Allow themepaths method to use get_image_url method

2015-04-15 Thread Gilles-Philippe Leblanc
Public bug reported:

Currently, the themepaths method located in the lib/web.php file stock a list 
of theme path.
Some of this path are image are may be called by the 
get_image_url_method_instead of the get_url method.

Adapt the use of this method to detect if the path is an image or
refactor it.

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

Title:
  Allow themepaths method to use get_image_url method

Status in Mahara ePortfolio:
  New

Bug description:
  Currently, the themepaths method located in the lib/web.php file stock a list 
of theme path.
  Some of this path are image are may be called by the 
get_image_url_method_instead of the get_url method.

  Adapt the use of this method to detect if the path is an image or
  refactor it.

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

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


[Mahara-contributors] [Bug 1444457] [NEW] Standarize the call of some image files

2015-04-15 Thread Gilles-Philippe Leblanc
Public bug reported:

The following images call are incorrect and may be modified to use the 
$THEME->get_image_url() method:
htdocs/artefact/blog/atom.phpline 91, column 77
htdocs/export/html/lib.php   line 258, column 82
htdocs/interaction/forum/atom.phpline 151, column 69
htdocs/theme/raw/artefact/file/export/html/templates/index.tpl   line 23, 
column 76
htdocs/theme/raw/artefact/file/export/html/templates/index.tpl   line 32, 
column 76
htdocs/theme/raw/artefact/file/export/html/templates/index.tpl   line 41, 
column 74
htdocs/theme/raw/artefact/internal/blocktype/socialprofile/templates/content.tpl
 line 11, column 115
htdocs/theme/raw/artefact/plans/templates/taskrows.tpl   line 13, column 101
htdocs/theme/raw/artefact/plans/templates/taskrows.tpl   line 27, column 104
htdocs/theme/raw/artefact/plans/templates/taskslist.tpl  line 8, column 94
htdocs/theme/raw/artefact/plans/templates/taskslist.tpl  line 16, column 97
htdocs/theme/raw/pieforms/viewlayout.php line 33, column 151
htdocs/theme/raw/pieforms/viewlayout.php line 96, column 151
htdocs/theme/raw/search/elasticsearch/templates/artefact.tpl line 7, column 
135

Also, the following language packs may use parameters instead of
hardcoding images :

htdocs/lang/en.utf8/help/forms/accountprefs.addremovecolumns.htmlline 
4, column 111
htdocs/lang/en.utf8/help/forms/accountprefs.addremovecolumns.htmlline 
4, column 188
htdocs/lang/en.utf8/help/forms/adduser.addremovecolumns.html line 4, column 
108
htdocs/lang/en.utf8/help/forms/adduser.addremovecolumns.html line 4, column 
181
htdocs/lang/en.utf8/help/forms/license.icon.html line 6, column 23
htdocs/lang/en.utf8/help/forms/license.icon.html line 7, column 33
htdocs/lang/en.utf8/help/forms/uploadcsv.addremovecolumns.html   line 4, column 
117
htdocs/lang/en.utf8/help/forms/uploadcsv.addremovecolumns.html   line 4, column 
194

** Affects: mahara
 Importance: Undecided
 Status: New

** Description changed:

  The following images call are incorrect and may be modified to use the 
$THEME->get_image_url() method:
- htdocs/artefact/blog/atom.php  line 91, column 77 $image = 
get_config('wwwroot') . 'theme/raw/static/images/site-logo.png';
- htdocs/export/html/lib.php line 258, column 82
$smarty->assign('maharalogo', $rootpath . $this->theme_path('images/logo.png'));
- htdocs/interaction/forum/atom.php  line 151, column 69$image = 
get_config('wwwroot') . 'theme/raw/static/images/site-logo.png';
- htdocs/theme/raw/artefact/file/export/html/templates/index.tpl line 
23, column 76 
- htdocs/theme/raw/artefact/file/export/html/templates/index.tpl line 
32, column 76 
- htdocs/theme/raw/artefact/file/export/html/templates/index.tpl line 
41, column 74 
- 
htdocs/theme/raw/artefact/internal/blocktype/socialprofile/templates/content.tpl
   line 11, column 115{if $showicon}{/if}
- htdocs/theme/raw/artefact/plans/templates/taskrows.tpl line 13, 
column 101
- htdocs/theme/raw/artefact/plans/templates/taskrows.tpl line 27, 
column 104
- htdocs/theme/raw/artefact/plans/templates/taskslist.tplline 8, column 
94  
- htdocs/theme/raw/artefact/plans/templates/taskslist.tplline 16, 
column 97 
- htdocs/theme/raw/pieforms/viewlayout.php   line 33, column 151. ''
- htdocs/theme/raw/pieforms/viewlayout.php   line 96, column 151. ''
- htdocs/theme/raw/search/elasticsearch/templates/artefact.tpl   line 7, column 
135 
+ htdocs/artefact/blog/atom.php  line 91, column 77
+ htdocs/export/html/lib.php line 258, column 82
+ htdocs/interaction/forum/atom.php  line 151, column 69
+ htdocs/theme/raw/artefact/file/export/html/templates/index.tpl line 
23, column 76
+ htdocs/theme/raw/artefact/file/export/html/templates/index.tpl line 
32, column 76
+ htdocs/theme/raw/artefact/file/export/html/templates/index.tpl line 
41, column 74
+ 
htdocs/theme/raw/artefact/internal/blocktype/socialprofile/templates/content.tpl
   line 11, column 115
+ htdocs/theme/raw/artefact/plans/templates/taskrows.tpl line 13, 
column 101
+ htdocs/theme/raw/artefact/plans/templates/taskrows.tpl line 27, 
column 104
+ htdocs/theme/raw/artefact/plans/templates/taskslist.tplline 8, column 
94
+ htdocs/theme/raw/artefact/plans/templates/taskslist.tplline 16, 
column 97
+ htdocs/theme/raw/pieforms/viewlayout.php   line 33, column 151
+ htdocs/theme/raw/pieforms/viewlayout.php   line 96, column 151
+ htdocs/theme/raw/search/elasticsearch/templates/artefact.tpl   line 7, column 
135
  
- Also, the following language packs may use parameters instead of hardcoding 
images :
- htdocs/lang/en.utf8/help/forms/accountprefs.addremovecolumns.html  line 
4, column 111 You can choose to display a row with the buttons  and  in the 
page editor. These buttons add and remov

[Mahara-contributors] [Bug 1444453] [NEW] Allow the use of SVG files for the social media icons

2015-04-15 Thread Gilles-Philippe Leblanc
Public bug reported:

Images called in the following file are not in the correct folder :
htdocs/theme/raw/artefact/file/blocktype/gallery/templates/supported.tpl
htdocs/artefact/file/blocktype/gallery/logos/

It may be moved in a correct folder to be called by
$THEME->get_image_url() and then, be used in SVG format.

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

Title:
  Allow the use of SVG files for the social media icons

Status in Mahara ePortfolio:
  New

Bug description:
  Images called in the following file are not in the correct folder :
  htdocs/theme/raw/artefact/file/blocktype/gallery/templates/supported.tpl
  htdocs/artefact/file/blocktype/gallery/logos/

  It may be moved in a correct folder to be called by
  $THEME->get_image_url() and then, be used in SVG format.

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

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


[Mahara-contributors] [Bug 1444450] [NEW] Allow the use of SVG files for the thumbs

2015-04-15 Thread Gilles-Philippe Leblanc
Public bug reported:

Mahara use thumbs.php files to render some icons. It would be nice to
allow the use of the SVG format in the thumbs images.

Here a list of files and position who currently call png files :
htdocs/admin/thumb.php   line 20, column 38
htdocs/admin/thumb.php   line 28, column 61
htdocs/lib/file.php  line 358, column 84
htdocs/lib/file.php  line 376, column 33
htdocs/lib/file.php  line 403, column 16
htdocs/lib/file.php  line 557, column 72
htdocs/lib/file.php  line 565, column 24
htdocs/lib/file.php  line 572, column 29
htdocs/lib/file.php  line 573, column 45
htdocs/lib/file.php  line 614, column 45
htdocs/skin/thumb.phpline 37, column 58
htdocs/skin/thumb.phpline 39, column 33
htdocs/skin/thumb.phpline 44, column 33
htdocs/skin/thumb.phpline 45, column 53
htdocs/thumb.php line 96, column 46
htdocs/thumb.php line 102, column 65
htdocs/thumb.php line 110, column 50
htdocs/thumb.php line 117, column 42
htdocs/thumb.php line 118, column 61
htdocs/thumb.php line 137, column 42
htdocs/thumb.php line 138, column 58
htdocs/thumb.php line 148, column 37
htdocs/thumb.php line 155, column 48
htdocs/thumb.php line 159, column 61
htdocs/thumb.php line 163, column 61

Refer to the method $THEME->get_image_url() for adapting that.

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

Title:
  Allow the use of SVG files for the thumbs

Status in Mahara ePortfolio:
  New

Bug description:
  Mahara use thumbs.php files to render some icons. It would be nice to
  allow the use of the SVG format in the thumbs images.

  Here a list of files and position who currently call png files :
  htdocs/admin/thumb.php line 20, column 38
  htdocs/admin/thumb.php line 28, column 61
  htdocs/lib/file.phpline 358, column 84
  htdocs/lib/file.phpline 376, column 33
  htdocs/lib/file.phpline 403, column 16
  htdocs/lib/file.phpline 557, column 72
  htdocs/lib/file.phpline 565, column 24
  htdocs/lib/file.phpline 572, column 29
  htdocs/lib/file.phpline 573, column 45
  htdocs/lib/file.phpline 614, column 45
  htdocs/skin/thumb.php  line 37, column 58
  htdocs/skin/thumb.php  line 39, column 33
  htdocs/skin/thumb.php  line 44, column 33
  htdocs/skin/thumb.php  line 45, column 53
  htdocs/thumb.php   line 96, column 46
  htdocs/thumb.php   line 102, column 65
  htdocs/thumb.php   line 110, column 50
  htdocs/thumb.php   line 117, column 42
  htdocs/thumb.php   line 118, column 61
  htdocs/thumb.php   line 137, column 42
  htdocs/thumb.php   line 138, column 58
  htdocs/thumb.php   line 148, column 37
  htdocs/thumb.php   line 155, column 48
  htdocs/thumb.php   line 159, column 61
  htdocs/thumb.php   line 163, column 61

  Refer to the method $THEME->get_image_url() for adapting that.

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

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


[Mahara-contributors] [Bug 1436854] [NEW] Allow the call of SVG images in javascript

2015-03-26 Thread Gilles-Philippe Leblanc
Public bug reported:

In the htdocs/js/mahara.js file, we should create a method equivalent to
the method php get_image_url () in htdocs/lib/web.php

It should also replace the call of the method get_themeurl by this new
method and replace config.theme['images/myimage.png'] calls in the
javascript files.

This task is related with:
https://bugs.launchpad.net/mahara/+bug/1416890

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

Title:
  Allow the call of SVG images in javascript

Status in Mahara ePortfolio:
  New

Bug description:
  In the htdocs/js/mahara.js file, we should create a method equivalent
  to the method php get_image_url () in htdocs/lib/web.php

  It should also replace the call of the method get_themeurl by this new
  method and replace config.theme['images/myimage.png'] calls in the
  javascript files.

  This task is related with:
  https://bugs.launchpad.net/mahara/+bug/1416890

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

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


[Mahara-contributors] [Bug 1416890] Re: Use SVG images and provide backward compatibility

2015-03-23 Thread Gilles-Philippe Leblanc
Hi Kristina,

By default, There is no SVG used at all.
I have added a config, disabled by default, that allow the use of SVG in a 
theme.
This config must be enabled in the themeconfig.php like this to allow the use 
of SVG images :
$theme->usesvg = true;

The site-logo.svg was only added as an example and to be used in the
phpunit tests.

I coded this functionality in this way in order not to degrade
performance when calling the images and to avoid unnecessary search for
SVG files if the theme simply do not use and to allow a iterative
development that will allow you to make the conversion or the addition
of SVG icons.

In short, if you want to manually test the use of SVG files, simply add
"$theme->usesvg = true;" in the themeconfig.php file of the raw theme or
in any theme of your choice. One enabled, you should see site-logo.svg
in the header of the page.

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

Title:
  Use SVG images and provide backward compatibility

Status in Mahara ePortfolio:
  In Progress

Bug description:
  Suggestion by Gilles-Philippe Leblanc:

  In the Moodle software, the images are all managed by a cascade system.
  The function initially looking if a svg file exists, then a png, then gif, 
jpg and ico.

  This lets you use a svg file and maintain backward compatibility.

  The system also detects if the browser supports SVG. Generally, all
  browsers support this format except Internet Explorer 8 and below.

  Everything is cached to avoid unnecessary calculation.

  So I was wondering if it was planned to add the following components to do 
this:
  * A library for browser detection on the server side
  * A function to find the right file extension
  * A library for caching php

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

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


[Mahara-contributors] [Bug 1416890] Re: Use SVG images and provide backward compatibility

2015-03-20 Thread Gilles-Philippe Leblanc
Here's the patch for this improvment.

What is covered:
* Appel THEME->get_url() becomes THEME->get_image_url()
* Dans les templates, theme_url becomes theme_image_url

What is not covered :

* Create method call get_image_url in javascript
* Allow to use SVG in thumbnails (thumbs.php Files)
* Create a method to relative links (used $ smarty-> assign 
('maharalogofilename', 'images / Site-logo-small .png')).
* Fix for atom.php files and viewlayout.php to get_config size ('wwwroot'). 
'Theme / raw / static / images / logo.png Site';
* Manage License images svg (license.php)
* Manage themepaths () function in lib / web.php

Also, I have not implemented cache because it seemed too expensive.
A general cache solution like memcached seems a better solution.
However, this should not add significant load because the use of the svg file 
is disabled bu default.
Only theme using will check for this format.

To test, make sure all the lines of code have been replaced.
Otherwise, run the following load test:
phpunit ThemeTest htdocs/lib/tests/phpunit/ThemeTest.php

Finnally, the documentation may be updated once this task is accepted.

To be peer-reviewed.

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

Title:
  Use SVG images and provide backward compatibility

Status in Mahara ePortfolio:
  In Progress

Bug description:
  Suggestion by Gilles-Philippe Leblanc:

  In the Moodle software, the images are all managed by a cascade system.
  The function initially looking if a svg file exists, then a png, then gif, 
jpg and ico.

  This lets you use a svg file and maintain backward compatibility.

  The system also detects if the browser supports SVG. Generally, all
  browsers support this format except Internet Explorer 8 and below.

  Everything is cached to avoid unnecessary calculation.

  So I was wondering if it was planned to add the following components to do 
this:
  * A library for browser detection on the server side
  * A function to find the right file extension
  * A library for caching php

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

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


[Mahara-contributors] [Bug 1416890] Re: Use SVG images and provide backward compatibility

2015-03-10 Thread Gilles-Philippe Leblanc
In addition to my previous comment, if no one has started this task, I will be 
happy to do so.
Just tell me where you are with this.

Cheers,
Gilles-Philippe

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

Title:
  Use SVG images and provide backward compatibility

Status in Mahara ePortfolio:
  In Progress

Bug description:
  Suggestion by Gilles-Philippe Leblanc:

  In the Moodle software, the images are all managed by a cascade system.
  The function initially looking if a svg file exists, then a png, then gif, 
jpg and ico.

  This lets you use a svg file and maintain backward compatibility.

  The system also detects if the browser supports SVG. Generally, all
  browsers support this format except Internet Explorer 8 and below.

  Everything is cached to avoid unnecessary calculation.

  So I was wondering if it was planned to add the following components to do 
this:
  * A library for browser detection on the server side
  * A function to find the right file extension
  * A library for caching php

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

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


[Mahara-contributors] [Bug 1416890] Re: Use SVG images and provide backward compatibility

2015-03-10 Thread Gilles-Philippe Leblanc
Hi,

We choose to work on this task on our current sprint and I see you just start 
to work on it too.
If I can help you to fix this task, feel free to ask me.

Thanks,
Gilles-Philippe

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

Title:
  Use SVG images and provide backward compatibility

Status in Mahara ePortfolio:
  In Progress

Bug description:
  Suggestion by Gilles-Philippe Leblanc:

  In the Moodle software, the images are all managed by a cascade system.
  The function initially looking if a svg file exists, then a png, then gif, 
jpg and ico.

  This lets you use a svg file and maintain backward compatibility.

  The system also detects if the browser supports SVG. Generally, all
  browsers support this format except Internet Explorer 8 and below.

  Everything is cached to avoid unnecessary calculation.

  So I was wondering if it was planned to add the following components to do 
this:
  * A library for browser detection on the server side
  * A function to find the right file extension
  * A library for caching php

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

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


[Mahara-contributors] [Bug 1416890] Re: Use SVG images and provide backward compatibility

2015-02-06 Thread Gilles-Philippe Leblanc
I agree with all your comments.

We already coded a method in Theme class in the lib/web.php file. It
doesn't have caching neither have support for IE8 and below but I think
it is simple and do the job:

/**
 * Adds the URL of an image with the extension svg if it exists, png 
otherwise.
 *
 * @param string $filename The name of the file without the extension
 * @param string $plugindirectory The plugin directory
 * @return string The image URL with the correct file extension.
 */
public function get_image_url_with_extension($filename, $plugindirectory = 
'') {
$ext = '.png';
if (file_exists($this->_get_path($filename . '.svg', false, 
$plugindirectory, get_config('docroot' {
$ext = '.svg';
}
return $this->get_url($filename . $ext, false, $plugindirectory);
}

Note that it don't support the multi-files array possible with the
get_url param (second parameter) but I dont think its a problem.

I'm new to mahara and I don't know yet how to share with you but I may
create a Git branch if you want. We could maybe create the same for the
path, something like get_image_path_with_extension.

It should be great to have the same thing in javascript. That could be
another task too.

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

Title:
  Use SVG images and provide backward compatibility

Status in Mahara ePortfolio:
  Triaged

Bug description:
  Suggestion by Gilles-Philippe Leblanc:

  In the Moodle software, the images are all managed by a cascade system.
  The function initially looking if a svg file exists, then a png, then gif, 
jpg and ico.

  This lets you use a svg file and maintain backward compatibility.

  The system also detects if the browser supports SVG. Generally, all
  browsers support this format except Internet Explorer 8 and below.

  Everything is cached to avoid unnecessary calculation.

  So I was wondering if it was planned to add the following components to do 
this:
  * A library for browser detection on the server side
  * A function to find the right file extension
  * A library for caching php

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

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


[Mahara-contributors] [Bug 1417120] Re: non-english lang no used in theme

2015-02-03 Thread Gilles-Philippe Leblanc
Hi,

First, thanks for the quick feedback.

The problem is that a non-english custom string will not be used. The
english string works OK.

In your langtest theme, add for exemple a fr.utf8 folder or the language
of your choice, add the "theme.langtest.php" file in it and install in
your system the language pack. The strings in the non-english language
will note be used.

I found a workaround. Put the "theme.langtest.php" with the good lang folder in 
the htdocs/local/lang folder and it will work.
Buts its not the way it should work based on the documentation.

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

Title:
  non-english lang no used in theme

Status in Mahara ePortfolio:
  Incomplete
Status in Mahara 1.10 series:
  Incomplete
Status in Mahara 15.04 series:
  Incomplete

Bug description:
  Based on the doc here:
  https://wiki.mahara.org/index.php/Customising/Themes/1.10#Theme_lang_strings

  Its possible to add a custom lang package relative to a theme but it
  don't seems to be used.

  To reproduce:
  On a custom theme add a lang string like explained here:
  https://wiki.mahara.org/index.php/Customising/Themes/1.10#Theme_lang_strings

  Expected:
  The custom lang string should be used

  Actual:
  The custom lang string is not used

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

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


[Mahara-contributors] [Bug 1417120] [NEW] non-english lang no used in theme

2015-02-02 Thread Gilles-Philippe Leblanc
Public bug reported:

Based on the doc here:
https://wiki.mahara.org/index.php/Customising/Themes/1.10#Theme_lang_strings

Its possible to add a custom lang package relative to a theme but it
don't seems to be used.

To reproduce:
On a custom theme add a lang string like explained here:
https://wiki.mahara.org/index.php/Customising/Themes/1.10#Theme_lang_strings

Expected:
The custom lang string should be used

Actual:
The custom lang string is not used

** Affects: mahara
 Importance: Undecided
 Status: New

** Summary changed:

- lang no used in theme
+ non-english lang no used in theme

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

Title:
  non-english lang no used in theme

Status in Mahara ePortfolio:
  New

Bug description:
  Based on the doc here:
  https://wiki.mahara.org/index.php/Customising/Themes/1.10#Theme_lang_strings

  Its possible to add a custom lang package relative to a theme but it
  don't seems to be used.

  To reproduce:
  On a custom theme add a lang string like explained here:
  https://wiki.mahara.org/index.php/Customising/Themes/1.10#Theme_lang_strings

  Expected:
  The custom lang string should be used

  Actual:
  The custom lang string is not used

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

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