That is what I did for both NextCloud and OwnCloud.
I simply put the paths in as described, and then separated off the section for the calendar name. For OwnCloud it worked just fine, but NextCloud for some reason did not like the idea and simply displays True.
I will look at creating a separate area for a Next Cloud installation, one that has a dedicated path and see what happens.
Paul
]]>most problems are probably caused by the separation of the path and the calendar name. I think I copied that interface design from my mobile phone but looking at it now, that was a mistake. The links in owncloud and nextcloud come in one single entry and that should be the way to specify the calendar.
So when you copy the link from your nextcloud calendar instance, you have to cut off the last part, which is the calendar name, and paste the rest into the path-field. And the calendar name goes into the second field.
Unfortunately, the auto-discovery doesn't properly split the values either I think, so you would have to manually delete the calendar name from the path-string and put it into the calendar-name field.
Can you check that again?
Best regards
Tobias
Good news in that I am able to have the calendar displayed from both NextCloud and OwnCloud, but for some strange reason, no data seems to transfer. Do you have any thoughts on why this might be?
]]>I found some space amongst the grading and feedback sessions at work.
I put my Mahara into a place of its own, so I am not working constantly with sub-directories or sub-domains all over the place.
OwnCloud I could do by copying the link as you described, but, the data doesn't seem to come across, and in fact the same applies for NextCloud.
The calendar displays, which it didn't before, but as I say, just no data is coming across.
If you need any log file data, let me know.
I can also set you up a login to my Mahara too if you like.
]]>Some great progress, and perhaps we need to look at creating some instructions for other users that would help them to set this up on an own instance.
I know I did put Mahara to some frustration some years back when they too had assumed that everyone used these resources on dedicated server paths, I am a bit different in that mine tend to share a domain, and then have sub domains for the resoursces.
Best,
Paul
]]>the good news is that I was able to set up a calendar from your nextcloud-system by using the ellipsis-menu item "copy private link" on my calendar. You still have to manually split the calendar-name off the end and put that into the field "Calendar".
The autodiscovery did not work. Do you know, if that is set up? I think you need some rewrite-rule or something in your case, because the next-cloud instance lives in a sub-directory ("nextcloud"). I had to do that manually for my owncloud some years ago, but I don't remember all the details right now.
And for the autodiscovery with Owncloud it seems that the library I use does not follow redirects. Still I was able to display a calendar by copying the direct-link from the calendar-view (you can display that in Owncloud by clicking the "link" option in the ellipsis-menu for the calendar.
I will give this logic about the separate fields for base-url and calendar a thought. Maybe this can be done smarter. But I'm not sure, if I can easily replace the library that I use to talk to CalDav. So I'm not sure about what I can do about the calendar-discovery.
Best regards
Tobias
Please have a look at your inbox. I sent you the mail via internal message.
Best regards
Tobias
Do you have an e-mail address I can use for your test accounts?
Best,
Paul
]]>I sent you a private message with the email address.
The Nextcloud-Error message looks like Nextcloud and my plugin don't agree about the protocol in some point. Owncloud doesn't raise any error, which could mean that it's just a configuration issue. If you create test accounts, I should be able to find out more.
Best regards
Tobias
Error: <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>404 Not Found</title>
<link rel="stylesheet" href="/error_docs/styles.css">
</head>
<body>
<div class="page">
<div class="main">
<h1>Server Error</h1>
<div class="error-code">404</div>
<h2>Page Not Found</h2>
<p class="lead">This page either doesn't exist, or it moved somewhere else.</p>
<hr/>
<p>That's what you can do</p>
<div class="help-actions">
<a href="javascript:location.reload();">Reload Page</a>
<a href="javascript:history.back();">Back to Previous Page</a>
<a href="/">Home Page</a>
</div>
</div>
</div>
</body>
</html>
And the following images.
]]>
Sure, no problems. I did try the Autodiscover in many different configurations but with no luck, so your idea of the cloud accounts is a good one.
Do you have an e-mail address that I could use in the two?
Best,
Paul
]]>I adjusted the minor release number after merging Roberts change but not when I uploaded the version that I created under linux. I can't imagine that that makes any difference though. Installing a new version could be used if the plugin came with specific database tables and you wanted to update them for the next version, but if you replace the code in the blocktype-folder, then the new code will run with or without pushing the update button, I'm sure.
Can you have a look at the error log again? And if you create test-accounts for me in your owncloud and nextcloud, I will try to configure those in my mahara-instance to see if I can reproduce the error.
Did you configure the calendar via the autodiscovery? Then please check, if the base-url terminates with the calendar name. If that is the case, please remove the calendar name at the end of the base-url and try again.
Best regards
Tobias
Hmmm. Heres the funny thing. With my NextCloud instance I still get the same error, and with OwnCloud, I see nothing at all.
Just out of interest, did you give this last iteration a new name or the same as the one before?
Paul
]]>I finally got to fire up my linux pc and got docker with the mahara-containers to run on it. The file I had uploaded didn't work for me neither, but when I recreated it under linux, it suddenly worked. I'll attach a new version of the plugin.
When I tried the autodiscover for the calendars, I realized, that the calendar name has to be removed from the base-url afterwards. But besides that, the plugin at least displays my owncloud-calendar and I can see the details for an event (when I leave the edit-mode of the page).
Please give it a try. There is a lot of space for improvement. Unfortunately, I didn't see the last message in this thread - before you picked it up again and didn't even realize that anyone was using it. I can't promise much, but I should be able to look at one or the other small issue.
Best regards
Tobias
I am still getting:
Error: <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>404 Not Found</title>
<link rel="stylesheet" href="/error_docs/styles.css">
</head>
<body>
<div class="page">
<div class="main">
<h1>Server Error</h1>
<div class="error-code">404</div>
<h2>Page Not Found</h2>
<p class="lead">This page either doesn't exist, or it moved somewhere else.</p>
<hr/>
<p>That's what you can do</p>
<div class="help-actions">
<a href="javascript:location.reload();">Reload Page</a>
<a href="javascript:history.back();">Back to Previous Page</a>
<a href="/">Home Page</a>
</div>
</div>
</div>
</body>
</html>
Any thoughts?
]]>thanks a lot for providing the pull request. I merged it and updated the plugin page with a new download.
@Paul: If you have the chance, please test the new version of the plugin and let me know if it works.
Best regards
Tobias
Brilliant, and thanks again for this input, it really is appreciated.
Best,
Paul
]]>Awesome, thanks very much for your input. :-)
Best,
Paul
]]>