[Building Sakai] Autogenerate .ics file name in calendar export

Adam Marshall adam.marshall at oucs.ox.ac.uk
Thu Jan 26 05:35:30 PST 2012


A patch exists and people are using the code.

adam

From: sakai-dev-bounces at collab.sakaiproject.org [mailto:sakai-dev-bounces at collab.sakaiproject.org] On Behalf Of Steve Swinsburg
Sent: 26 January 2012 12:49
To: Adrian Fish
Cc: Sakai Dev
Subject: Re: [Building Sakai] Autogenerate .ics file name in calendar export

Yeah that would work too. I reckon go for it.

I like the Oxford private calendars function as well (can that get patched up and submitted? We would love that feature!).

cheers





On 26/01/2012, at 11:45 PM, Adrian Fish wrote:


How about just pre-populating it with a GUID in the server side render and avoiding any extra JS? It'd need an instruction saying you can change it for something more human, if you wanted to.

On 26/01/2012 12:29, Steve Swinsburg wrote:
Hi Adrian,

Ah ok, sounds like a nice, neat solution. Stick an optional button on the side with a Javascript method to auto generate a UUID and populate the text box :) Jira it!

cheers,
Steve



On 26/01/2012, at 11:01 PM, Adrian Fish wrote:


Hi Steve,

Thanks, but I meant something simpler, namely autogenerating a complicated name for the publicly exported .ics file. So that box where you type the name of the file you want to export gets prepopulated with a UUID. That way, as long as students don't pass it around outside their course it stays private. I realise it's hack, but it's probably easy to do and better than nothing.

Cheers,
Adrian.

On 26/01/2012 11:55, Steve Swinsburg wrote:
Oxford did work on this, here's the post about it:


On 26/11/2011, at 2:49 AM, Adam Marshall wrote:


We have written a patch to implement a "private URLs" for all site calendars.

These are unique non guessable URLs (one per user) that one can subscribe to in all calendaring clients (including MS Outlook). This means that a calendar does not have to be exported (ie, made public) in order to subscribe to it. Marge calendars will appears in the ical feed and there is a link on the synoptic view.

https://jira.sakaiproject.org/browse/SAK-21497 now has patch for 2.6 (we are working on a 2.8 version, no plans to do a 2.7 patch I'm afraid). We'd love to get it in 2.10.

You'll probably need to apply: https://jira.sakaiproject.org/browse/SAK-19909 too - this is serious bug for anybodty wanting to export calendars.

Look at: https://blogs.oucs.ox.ac.uk/adamweblearn/2011/11/subscribing-to-weblearn-calendars-using-outlook/  for screenshots and a how to guide.

adam



cheers,
Steve



On 26/01/2012, at 8:50 PM, Adrian Fish wrote:


Does anybody know if here is a JIRA for something like this:

In the calendar subscription export page of the calendar tool it would
be a nice easy change to just autogenerate a hard to guess name for the
.ics file, a UUID perhaps. Just populate the text field with it but
still allow the user to change it.

Cheers,
Adrian.

--
==================================
Adrian Fish
Software Engineer
B66 Management School
Lancaster University
Lancaster
LA1 4YW

http://www.sakaiproject.org<http://www.sakaiproject.org/>
http://confluence.sakaiproject.org/display/YAFT/Yaft
http://confluence.sakaiproject.org/display/CLOG/Home
http://confluence.sakaiproject.org/display/BBB/Home

_______________________________________________
sakai-dev mailing list
sakai-dev at collab.sakaiproject.org<mailto: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<mailto:sakai-dev-unsubscribe at collab.sakaiproject.org> with a subject of "unsubscribe"




--

==================================

Adrian Fish

Software Engineer

B66 Management School

Lancaster University

Lancaster

LA1 4YW



http://www.sakaiproject.org<http://www.sakaiproject.org/>

http://confluence.sakaiproject.org/display/YAFT/Yaft

http://confluence.sakaiproject.org/display/CLOG/Home

http://confluence.sakaiproject.org/display/BBB/Home




--

==================================

Adrian Fish

Software Engineer

B66 Management School

Lancaster University

Lancaster

LA1 4YW



http://www.sakaiproject.org<http://www.sakaiproject.org/>

http://confluence.sakaiproject.org/display/YAFT/Yaft

http://confluence.sakaiproject.org/display/CLOG/Home

http://confluence.sakaiproject.org/display/BBB/Home

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20120126/f692308b/attachment.html 


More information about the sakai-dev mailing list