Zhen Qian | 1 Feb 06:15
Picon

Re: [Building Sakai] Localised Assignment Notification Emails

Hi, Esh:

The assignment notification email is not based on EmailTemplateService, however, it does use resource
bundle strings for the email body. 

However, while testing this now, I did find a bug that the email locale is not set to the recipient's (e.g.
student) locale, but remains the same as the one for sender. 

Furthermore, with SAK-10393 (worksite has a language preference the overrides the locale settings of
user/system) in 2.9, the notification email should respect this site setting first.

So the locale selection sequence should be: (1) site locale preference if set; or (2) recipient locale preference.

Please file a jira.

Thanks,

- Zhen
On Jan 31, 2012, at 5:38 PM, Yegeneswari Nagappan wrote:

> Hi,
> 
> We are working with Sakai version 2.9 and have a question on assignment emails that are sent when grades are
released to students.
> 
> Does assignment support localised/internationalised emails messages ? If yes,how does that work ?
> 
> If it does not support localised emails at the moment, do you plan to implement it in near future ? 
> 
> 
(Continue reading)

Sean Baker | 1 Feb 13:17
Favicon

Re: [Building Sakai] junk in email messages

Charles,

Thank goodness there's someone else out there experiencing this - I was beginning to think that we were the only ones!

Here's what we've found locally with what I believe is an identical problem (and hopefully identical cause):
  • Our Sakai 2.7.1 instances did not have these issues; sadly it slipped through our pre-2.8 testing
  • We upgraded Tomcat to 5.5.34 when we upgraded Sakai to 2.8.0 (self-hosted rSmart instance)
  • We upgraded our JDK to 1.6.0.26 when we upgraded Sakai to 2.8.0
  • As you describe, characters are not correctly converted into the destination character set by the mail utility on our production systems (I think it may actually be occurring at the MIME Part level but am not sure on that as I was forced to cut testing short)
  • For the time being, I've simply overridden all mail character encoding to be set to UTF-8 in order to keep users from the problem while we sort it out internally
  • And now for the weird piece - the rSmart 2.8 demonstration server does not have these problems

Given the last bit, my own thinking has been that the issue is likely to do with the Tomcat libraries (less likely), the JDK version (more likely - there have been bugs like this in the JDKs previously), or the server configuration itself (allowed character sets, etc.).

Looking for commonality of our problematic environments, can I ask which Sakai, Tomcat, and JDK versions you're on at your end?

Thanks for making me feel a little more sane :).

Sean



On 1/31/12 16:21 PM, Charles Hedrick wrote:
We had a complain that announcements containing special characters, e.g. &nbsp;, show up with garbage characters in the plaintext version. Looking at it, &nbsp turns into the correct NS character. However MyMessage in BasicEmailService checks to see whether all the characters can be handled with ISO_8859_1. They can, because it has NS. We then call bodyPart.setContent(partText.toString(), mimeType); using a Mime type of text/plain; charset=iso-8859-1. Unfortunately it appears that the Java mail mechanism doesn't actually use the charset here (and even using setText didn't help). It outputs UTF-8. However since the header claims ISO-8859-1, the mail program displays it incorrectly. In theory it makes sense to use 8859 rather than UTF_8 where possible. But the Java mail code seems almost intentionally designed to make it impossible to get this right. I get buried in layers of objects with ill-defined properties. Does anyone know the BasicEmailService well enough to see what's going on? _______________________________________________ sakai-dev mailing list sakai-dev <at> collab.sakaiproject.org http://collab.sakaiproject.org/mailman/listinfo/sakai-dev TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe <at> collab.sakaiproject.org with a subject of "unsubscribe"

-- Ne Desit Virtus, Sean R. Baker 1LT, MS United States Army Office #: (301) 319-0712 Email: sean.baker <at> usuhs.edu
_______________________________________________
sakai-dev mailing list
sakai-dev <at> collab.sakaiproject.org
http://collab.sakaiproject.org/mailman/listinfo/sakai-dev

TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe <at> collab.sakaiproject.org with a subject of "unsubscribe"
Paul Wando Mungai | 1 Feb 15:01
Picon

[Building Sakai] How does one configure sakai group provider ( CourseManagementGroupProvider )

We have json data providers for the courses and students, now we need to plug them into sakai.

In the sakai properties file, we have already pointed to our CourseManagementGroupProvider;

org.sakaiproject.authz.api.GroupProvider=org.wits.coursemanagement.impl.provider.CourseManagementGroupProvider

However, it is still the sample code, and we have not modified yet.

Current warning:

INFO http-8080-Processor25 org.sakaiproject.component.section.sakai.SectionManagerImpl - Synchronizing internal sections with externally defined sections in site ACCN5901
WARN http-8080-Processor25 org.sakaiproject.component.section.sakai.SectionManagerImpl - SectionManager can not automatically generate sections withouta properly configured GroupProvider

--
Regards,
Paul Mungai

"Ability is what youre capable of doing. Motivation determines what you do. Attitude determines how well you do it" By Lou Holtz, Notre Dame Football Coach

_______________________________________________
sakai-dev mailing list
sakai-dev <at> collab.sakaiproject.org
http://collab.sakaiproject.org/mailman/listinfo/sakai-dev

TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe <at> collab.sakaiproject.org with a subject of "unsubscribe"
David Horwitz | 1 Feb 15:04
Picon
Picon
Favicon

Re: [Building Sakai] Is there any plagiarism detection tool other than turnitin

Hi Jehan,

The API's are designed to be general and the service could be implemented for other services in theory. However as far as I know no one has done this work ...

D

On 01/31/2012 07:56 PM, Jehan Badshah wrote:
Dear All

Other then turnitin is there any sakai tool for plagiarism detection, I heard about a software developed by Stanford University, is it can be integrated with sakai.


Regards
----------------------------------------------------
Jehan Badshah | Software Engineer
FAST - National University of Computer and Emerging Sciences
A.K. Brohi Road, H-11/4, Islamabad
UAN: +92 (0)51 - 111 128 128 ext 344




_______________________________________________ sakai-dev mailing list sakai-dev <at> collab.sakaiproject.org http://collab.sakaiproject.org/mailman/listinfo/sakai-dev TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe <at> collab.sakaiproject.org with a subject of "unsubscribe"

_______________________________________________
sakai-dev mailing list
sakai-dev <at> collab.sakaiproject.org
http://collab.sakaiproject.org/mailman/listinfo/sakai-dev

TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe <at> collab.sakaiproject.org with a subject of "unsubscribe"
Charles Hedrick | 1 Feb 16:56
Picon
Favicon

Re: [Building Sakai] melete on 2.8 - no wysiwig

Here's a half-baked fix. You still get the error message but it works.  The error message is generated by
webapps/jsf-resource/inputRichText/sakai-htmlarea.js, which has a bad check for whether the editor
is supported. It requires a version of Firefox that is newer than the one emulated by Safari.

Unfortunately I haven't had time to figure out why this fix works. It removes the Sferyx setup code and adds
the CKeditor setup code. That CKeditor code should be called by saki:inputRichText, but is not. My
suspicion is that the wrong version of sakai:inputRichText is being used somehow.

Attachment (diff): application/octet-stream, 2377 bytes

On Jan 18, 2012, at 7:08 AM, David Horwitz wrote:

> Not seeing any error from the browser or in firebug which is odd - have 
> a feeling the js is not loaded at all.
> 
> D
> 
> On 01/18/2012 01:01 PM, Steve Swinsburg wrote:
>> On the site is says to have a space in the name, as you found. Can you check for any Javascript errors in the
browser, since you are getting something partially working now?
>> 
>> cheers,
>> Steve
>> 
>> 
>> 
>> On 18/01/2012, at 8:02 PM, David Horwitz wrote:
>> 
>>> Thanks that helped me in the right direction, but it does look like some
>>> code change is needed to make this wok :-( I'll ping the longsite folks
>>> to see i'f they'lle share what they did.
>>> 
>>> it seems that setting:
>>> 
>>> melete.wysiwyg.editor=FCK Editor
>>> 
>>> (not what bellow) Gives you at least a plain text window ....
>>> 
>>> D
>>> 
>>> 
>>> 
>>> 
>>> On 01/17/2012 11:08 PM, Regan, Alan wrote:
>>>> Hi, David.
>>>> 
>>>> When we were planning for our Sakai 2.8 implementation over the summer (and jumping to CKEditor
early), we ran into this situation.  Our hosting partner, Longsight, was able to put in the fix.  I provide
the information that I received below... and hope you can decipher it.  I am not a programmer, so I can't
provide more assistance.  But I'm sure others on the list can jump in, if necessary.
>>>> 
>>>> Here is what the Etudes rep sent about text editors in Sakai for Melete:
>>>> "Melete uses<sakai:inputRichText>   tag to integrate with old FCK Editor.  If Sakai has updated this
tag to integrate with CKEditor then Melete is in place.  For this sakai tag, Joshua Ryan helped us in
creating a connector to open editor's image and file picker in meleteDocs collection. This work is in
textarea project under sakai."
>>>> 
>>>> *****
>>>> 
>>>> Here is what our Longsight rep reported after they made changes that fixed the issue:
>>>> " I just overrode the Melete default of the commercial Sferyx editor in the sakai.properties. I am now
seeing the CKEditor in dev."
>>>> 
>>>> *****
>>>> 
>>>> I hope something here at least points you in the right direction!
>>>> 
>>>> Sincerely,
>>>> 
>>>> Alan Regan, MFA
>>>> Manager, Technology and Learning
>>>> Information Technology
>>>> Pepperdine University
>>>> (310) 506-6756
>>>> 
>>>> 
>>>> 
>>>> -----Original Message-----
>>>> 
>>>> Date: Tue, 17 Jan 2012 15:44:11 +0200
>>>> From: David Horwitz<david.horwitz <at> uct.ac.za>
>>>> Subject: [Building Sakai] melete on 2.8 - no wysiwig
>>>> To: sakai-dev<sakai-dev <at> collab.sakaiproject.org>
>>>> Message-ID:<4F157B2B.6010803 <at> uct.ac.za>
>>>> Content-Type: text/plain; charset=WINDOWS-1252; format=flowed
>>>> 
>>>> Hi all,
>>>> 
>>>> We've just discovered  on our 2.8 installation that Melete seems not to work. When selecting the option
to enter text in the editor the editor is not shown (the page updates but there is no editor visible). We're
using CKEditor but I've tried setting:
>>>> 
>>>> melete.wysiwyg.editor=FCKeditor
>>>> 
>>>> To no avail. Has anyone hit this issue?
>>>> 
>>>> Regards
>>>> 
>>>> David
>>>> 
>>>> 
>>>> 
>>> _______________________________________________
>>> sakai-dev mailing list
>>> sakai-dev <at> collab.sakaiproject.org
>>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>>> 
>>> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe <at> collab.sakaiproject.org with a subject of "unsubscribe"
> 
> _______________________________________________
> sakai-dev mailing list
> sakai-dev <at> collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
> 
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe <at> collab.sakaiproject.org with a subject of "unsubscribe"

_______________________________________________
sakai-dev mailing list
sakai-dev <at> collab.sakaiproject.org
http://collab.sakaiproject.org/mailman/listinfo/sakai-dev

TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe <at> collab.sakaiproject.org with a subject of "unsubscribe"
Charles Hedrick | 1 Feb 16:58
Picon
Favicon

Re: [Building Sakai] junk in email messages

I have a fix for this. See KNL-876. 

On Jan 31, 2012, at 4:21 PM, Charles Hedrick wrote:

> We had a complain that announcements containing special characters, e.g. &nbsp;, show up with garbage
characters in the plaintext version.
> 
> Looking at it, &nbsp turns into the correct NS character. However MyMessage in BasicEmailService checks
to see whether all the characters can be handled with ISO_8859_1. They can, because it has NS. We then call 
> 
>                                                    bodyPart.setContent(partText.toString(), mimeType);
> 
> using a Mime type of text/plain; charset=iso-8859-1. Unfortunately it appears that the Java mail
mechanism doesn't actually use the charset here (and even using setText didn't help). It outputs UTF-8.
However since the header claims ISO-8859-1, the mail program displays it incorrectly.
> 
> In theory it makes sense to use 8859 rather than UTF_8 where possible. But the Java mail code seems almost
intentionally designed to make it impossible to get this right. I get buried in layers of objects with
ill-defined properties. Does anyone know the BasicEmailService well enough to see what's going on?
> 
> 
> _______________________________________________
> sakai-dev mailing list
> sakai-dev <at> collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
> 
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe <at> collab.sakaiproject.org with a subject of "unsubscribe"

_______________________________________________
sakai-dev mailing list
sakai-dev <at> collab.sakaiproject.org
http://collab.sakaiproject.org/mailman/listinfo/sakai-dev

TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe <at> collab.sakaiproject.org with a subject of "unsubscribe"

Jehan Badshah | 1 Feb 15:20
Picon
Favicon

Re: [Building Sakai] Is there any plagiarism detection tool other than turnitin

Thanks David for replying.


Could you please refer me to URL of that system.

On Wed, Feb 1, 2012 at 7:04 PM, David Horwitz <david.horwitz <at> uct.ac.za> wrote:
Hi Jehan,

The API's are designed to be general and the service could be implemented for other services in theory. However as far as I know no one has done this work ...

D


On 01/31/2012 07:56 PM, Jehan Badshah wrote:
Dear All

Other then turnitin is there any sakai tool for plagiarism detection, I heard about a software developed by Stanford University, is it can be integrated with sakai.


Regards
----------------------------------------------------
Jehan Badshah | Software Engineer
FAST - National University of Computer and Emerging Sciences
A.K. Brohi Road, H-11/4, Islamabad
UAN: +92 (0)51 - 111 128 128 ext 344




_______________________________________________ sakai-dev mailing list sakai-dev <at> collab.sakaiproject.org http://collab.sakaiproject.org/mailman/listinfo/sakai-dev TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe <at> collab.sakaiproject.org with a subject of "unsubscribe"


_______________________________________________
sakai-dev mailing list
sakai-dev <at> collab.sakaiproject.org
http://collab.sakaiproject.org/mailman/listinfo/sakai-dev

TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe <at> collab.sakaiproject.org with a subject of "unsubscribe"



--

Regards
----------------------------------------------------
Jehan Badshah | Sr. Software Engineer
FAST - National University of Computer and Emerging Sciences
A.K. Brohi Road, H-11/4, Islamabad
UAN: +92 (0)51 - 111 128 128 ext 344


_______________________________________________
sakai-dev mailing list
sakai-dev <at> collab.sakaiproject.org
http://collab.sakaiproject.org/mailman/listinfo/sakai-dev

TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe <at> collab.sakaiproject.org with a subject of "unsubscribe"
Brian Baillargeon | 1 Feb 19:53
Picon

Re: [Building Sakai] Has anybody created a PDF Certificate tool?

Thanks for the heads up Steve. I was using itext version 2.0.7 in my 
proof of concept, so this morning I reimplemented it using pdfbox from 
apache instead.

Brian

On 12-01-31 05:07 PM, Steve Swinsburg wrote:
> Hi Brian,
>
> This sounds like it could be a great extension to the gradebook itself?
>
> In a previous life I have done a lot of PDF work via iText which was great to work with, unfortunately it's
community license is AGPL, so not appropriate for Sakai. Interested to see what you come up with.
>
> cheers,
> Steve
>
>
>
> On 01/02/2012, at 4:23 AM, Brian Baillargeon wrote:
>
>> Hello,
>>
>> I would like to know if anybody has created a tool or is interested in assisting in creating a tool with the
following requirements:
>>
>> An instructor specifies a pdf template file for a certificate in their course's resources.
>> The instructor specifies a minimum grade and a gradebook column.
>> There could be other info for the instructor to specify as well such as whether to display the student's
grade in the certificate, the pixel positions of each stamp, font sizes, etc.
>>
>> If a student has met the minimum grade for the provided gradebook column, they get a link to save or
download a pdf stamped with their name (and other info if applicable).
>>
>> I've created a simple proof of concept, but if anybody has been working on something similar I'd be very interested.
>>
>> Thanks,
>> Brian
>>
>>
>> _______________________________________________
>> sakai-dev mailing list
>> sakai-dev <at> collab.sakaiproject.org
>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>>
>> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe <at> collab.sakaiproject.org with a subject of "unsubscribe"

_______________________________________________
sakai-dev mailing list
sakai-dev <at> collab.sakaiproject.org
http://collab.sakaiproject.org/mailman/listinfo/sakai-dev

TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe <at> collab.sakaiproject.org with a subject of "unsubscribe"

Zhen Qian | 1 Feb 20:12
Picon

Re: [Building Sakai] Has anybody created a PDF Certificate tool?

Hi, Brian:

Just curious; Site Info tool uses Apache FOP/XSLT to generate pdf file for site participants. Is PDFBox
easier to use compared to FOP? How to choose btw the two?

Thanks,

- Zhen

On Feb 1, 2012, at 1:53 PM, Brian Baillargeon wrote:

> Thanks for the heads up Steve. I was using itext version 2.0.7 in my 
> proof of concept, so this morning I reimplemented it using pdfbox from 
> apache instead.
> 
> Brian
> 
> On 12-01-31 05:07 PM, Steve Swinsburg wrote:
>> Hi Brian,
>> 
>> This sounds like it could be a great extension to the gradebook itself?
>> 
>> In a previous life I have done a lot of PDF work via iText which was great to work with, unfortunately it's
community license is AGPL, so not appropriate for Sakai. Interested to see what you come up with.
>> 
>> cheers,
>> Steve
>> 
>> 
>> 
>> On 01/02/2012, at 4:23 AM, Brian Baillargeon wrote:
>> 
>>> Hello,
>>> 
>>> I would like to know if anybody has created a tool or is interested in assisting in creating a tool with the
following requirements:
>>> 
>>> An instructor specifies a pdf template file for a certificate in their course's resources.
>>> The instructor specifies a minimum grade and a gradebook column.
>>> There could be other info for the instructor to specify as well such as whether to display the student's
grade in the certificate, the pixel positions of each stamp, font sizes, etc.
>>> 
>>> If a student has met the minimum grade for the provided gradebook column, they get a link to save or
download a pdf stamped with their name (and other info if applicable).
>>> 
>>> I've created a simple proof of concept, but if anybody has been working on something similar I'd be very interested.
>>> 
>>> Thanks,
>>> Brian
>>> 
>>> 
>>> _______________________________________________
>>> sakai-dev mailing list
>>> sakai-dev <at> collab.sakaiproject.org
>>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>>> 
>>> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe <at> collab.sakaiproject.org with a subject of "unsubscribe"
> 
> _______________________________________________
> sakai-dev mailing list
> sakai-dev <at> collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
> 
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe <at> collab.sakaiproject.org with a subject of "unsubscribe"
> 
> 

_______________________________________________
sakai-dev mailing list
sakai-dev <at> collab.sakaiproject.org
http://collab.sakaiproject.org/mailman/listinfo/sakai-dev

TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe <at> collab.sakaiproject.org with a subject of "unsubscribe"

Brian Baillargeon | 1 Feb 20:51
Picon

Re: [Building Sakai] Has anybody created a PDF Certificate tool?

As I understand it, FOP takes XSL-FO as input, and I don't know if FOP 
can read PDF files (I haven't looked to see what Site Info does). I 
think we would get better usability if the templates are uploaded to the 
resources as PDFs.

This may be helpful to get an idea of how the code looks to manipulate a 
PDF using PDFBox:
http://www.developerfeed.com/pdfbox/snippet/how-add-text-pdf

It's a little bit more work than IText, but not too bad.

Thanks,
Brian

  12-02-01 02:12 PM, Zhen Qian wrote:
> Hi, Brian:
>
> Just curious; Site Info tool uses Apache FOP/XSLT to generate pdf file for site participants. Is PDFBox
easier to use compared to FOP? How to choose btw the two?
>
> Thanks,
>
> - Zhen
>
> On Feb 1, 2012, at 1:53 PM, Brian Baillargeon wrote:
>
>> Thanks for the heads up Steve. I was using itext version 2.0.7 in my
>> proof of concept, so this morning I reimplemented it using pdfbox from
>> apache instead.
>>
>> Brian
>>
>> On 12-01-31 05:07 PM, Steve Swinsburg wrote:
>>> Hi Brian,
>>>
>>> This sounds like it could be a great extension to the gradebook itself?
>>>
>>> In a previous life I have done a lot of PDF work via iText which was great to work with, unfortunately it's
community license is AGPL, so not appropriate for Sakai. Interested to see what you come up with.
>>>
>>> cheers,
>>> Steve
>>>
>>>
>>>
>>> On 01/02/2012, at 4:23 AM, Brian Baillargeon wrote:
>>>
>>>> Hello,
>>>>
>>>> I would like to know if anybody has created a tool or is interested in assisting in creating a tool with
the following requirements:
>>>>
>>>> An instructor specifies a pdf template file for a certificate in their course's resources.
>>>> The instructor specifies a minimum grade and a gradebook column.
>>>> There could be other info for the instructor to specify as well such as whether to display the student's
grade in the certificate, the pixel positions of each stamp, font sizes, etc.
>>>>
>>>> If a student has met the minimum grade for the provided gradebook column, they get a link to save or
download a pdf stamped with their name (and other info if applicable).
>>>>
>>>> I've created a simple proof of concept, but if anybody has been working on something similar I'd be very interested.
>>>>
>>>> Thanks,
>>>> Brian
>>>>
>>>>
>>>> _______________________________________________
>>>> sakai-dev mailing list
>>>> sakai-dev <at> collab.sakaiproject.org
>>>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>>>>
>>>> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe <at> collab.sakaiproject.org with a subject of "unsubscribe"
>> _______________________________________________
>> sakai-dev mailing list
>> sakai-dev <at> collab.sakaiproject.org
>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>>
>> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe <at> collab.sakaiproject.org with a subject of "unsubscribe"
>>
>>

_______________________________________________
sakai-dev mailing list
sakai-dev <at> collab.sakaiproject.org
http://collab.sakaiproject.org/mailman/listinfo/sakai-dev

TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe <at> collab.sakaiproject.org with a subject of "unsubscribe"


Gmane