[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Inf-IT DAVcl] URLs in calendar entries


Hi Heiko,

unfortunately, it is not as easy as it looks like. CalDavZAP is not a "web page" where you can "navigate". For standard web page navigation you need to process the requests on server side (and keep the current state of the software in "session"), but CalDavZAP is JavaScript only application (there is no server part). It is one "static" page which starts the "application" (JavaScript code) immediately after it is loaded, and all operations are performed using JavaScript without reloading the the page itself (or navigating to another page).

If you add a real URL link to the HTML code (and then click on it) the browser will open the new URL, what means that the whole JavaScript code will be immediately terminated. Then if you navigate back, the whole application is restarted and you need to re-login to use it.

Integrating anything with CalDavZAP is possible only if the other application also uses the same "JavaScript application" concept. Mixing the old "server generated static/dynamic web page"  with the new "JavaScript application" approach is simply not possible.


Cheers,


JM



> On 08 Oct 2015, at 23:21, Stegmann, Heiko <heiko.stegmann@xxxxxxxxx> wrote:
> 
> Hi all,
>  
> I am trying to combine CalDavZAP with the Roundup Issue Tracker http://www.roundup-tracker.org/ <http://www.roundup-tracker.org/>. Roundup is a highly customizable, open source issue tracking system that can be used, for example, to track software bug fixing processes, customer support tickets, sales opportunities, etc. It supports datetime stamps in its database, but it does not come with an own calendar client in its web interface. However, it is easily expandable by Python scripts, which should allow to set up some interaction between Roundup and CalDavZAP in both directions.
>  
> For example, I want to generate calendar events from within Roundup’s web interface using a script that adds content to the .ics files. This should be no problem using the Python iCalendar package. In the other direction, from CalDavZAP to Roundup, I want Roundup to update its database if calendar events have been changed, added or removed. I think this can also easily be implemented by monitoring the directory where the .ics files live for changes using the PyWin32 package, and then parse the changed files for new content using iCalendar.
>  
> But I would also need to be able to open a page in Roundup’s web interface directly from a CalDavZAP event. The URL field would be ideally suited for this. I could populate each calendar entry that corresponds to a certain Roundup issue with a URL that points to that issue’s page in Roundup’s web interface. However, URLs in CalDavZAP are not hyperlinks. I am not familiar with JavaScript, so my question is: Is there a way to make URLs displayed in CalDavZAP events clickable hyperlinks? I think this would also make much sense for general usage of the calendar.
>  
> Best regards
> Heiko Stegmann

Attachment: smime.p7s
Description: S/MIME cryptographic signature


References:
[Inf-IT DAVcl] URLs in calendar entries"Stegmann, Heiko" <heiko.stegmann@xxxxxxxxx>