Add a way to clear all events in a calendar
Currently there seems to be no way of clearing all events in a calendar other than to do it manually one event at a time.
Previously one could tick an option to clear all events in a calendar when importing events. This option does not exist anymore.
@jancborchardt
Um … just delete the calendar before? ;)
Deleting the calendar before is no option. I use CalDav on my phone. Deleting the calendar before and creating a new one with the imported data means, that I have to reconfigure my phone. But I'm using a shared calendar, so everyone using this shared calendar on the phone needs to configure the new created calendar.
So the easiest way to resolve this issue is to bring back the option on import to delete the calendar before importing the data. This option was there before (Owncloud calendar <9) and should be here with the new calendar.
Why is the reconfiguration needed? The new calendar will have the same name, the same CalDAV URLs and credintals :wink: you only need to reconfigure the shares, or am i wrong :grin:
Exactly, there is no re-configuration needed when the name stays the same.
Maybe, but reconfiguring somethin is wrong and useless. What If you add a typo when creating the new calendar? And reconfiguring the shares?! This would be an extra step for every import. With the old version of the calendar app this wasn't necessary.
I have to import an external calendar every few weeks. And therefore I need to delete all the entries of the calendar before importing the new events. This calendar is shared with a few people.
So, what's the problem with adding the option to delete all entries before importing the new one? Are there any technical problems?
I have to import an external calendar every few weeks.
Maybe the webcal feature is what you are waiting for? https://github.com/owncloud/calendar/issues/132
Are there any technical problems?
It clutters the user interface and it leaves us with more code to maintain.
Maybe the webcal feature is what you are waiting for? #132
I'm not sure at the moment. I think the university only provides the ics file as a download. So this wouldn't work
It clutters the user interface and it leaves us with more code to maintain.
This would be one more ui element and one cleanup routine before importing the calendar
ics file as a download
ICS files on the web is essentially what webcal is
This would be one more ui element and one cleanup routine before importing the calendar
But it's used by very very very few users and if we start implementing every little feature that would benefit 0.0001% of our users the calendar would become a real usability pain.
But it's used by very very very few users and if we start implementing every little feature that would benefit 0.0001% of our users the calendar would become a real usability pain.
Hard to tell how much user would use this feature. At the moment there is @eesko who created this issue and me who would like to see this feature back in the calendar too. And maybe a lot more out there who are still using the old calendar version or don't know anything about issues on github. But yes, in the end it's the decision of the ownCloud maintainers.
ICS files on the web is essentially what webcal is
Yes, let me guess. Configuring webcal behind user login would also be too much to maintain. That's the feature I would need to use webcal, because I have to login before I can see/download the ICS file. Sadly there is not much information on #132, so I can't see if this feature would be included
Well, if you can access the the ics file by sending http basic auth headers it will definitely work
I'm also missing the "clear calendar" feature. While it wasn't really intuitive before (uploading the ICS file first, to import), it was convenient as I was able to just drag and drop the ICS file and import it, replacing the whole calendar. It is also OK for me to delete the calendar first, but less convenient....
@ege1 What do you use it for? Deleting all objects in a calendar and starting all over again on a regular basis doesn't make sense in my opinion.
it was convenient as I was able to just drag and drop the ICS file
That's indeed missing, i created an issue for it: https://github.com/owncloud/calendar/issues/468
@georgehrke Yes, it sounds a bit weird. I'm periodically syncing my personal calendar at my employers system (by exporting ICS file) to my private owncloud calendar, to be able to see business schedules on my private phone.
There are some issues with just deleteng and recreating a calendar with the same name. See: #325
Instead of reimplementing an old crappy feature you used to solve your problem we should think about different, more comfortable, more intuitive ways to solve your problem.
Yeah, isn’t this exactly what subscribing to remote calendars would be for?
If it's a plain ics file on the web (maybe behind basic auth) yes, If it's a different CalDAV/Exchange server, then no.
@georgehrke: I'm with you. It is surely not a normal use-case that I'm using here and if I would really rely on it, I would be searching for a proper/automated solution. But I wasn't aware that the old feature was crappy. For me it worked flawless.
So, at the moment the feature to delete all events from a calendar is missing. Also the webcal support (#132) is missing, but is the preferred solution to solve this issue. When should we be able to install a version from the Calendar app (1.2?) which includes this feature? At the moment I have to weekly delete an calendar, import the new ics file and reassign all the shared users.
I certainly agree, that the current version 1.1 of the calendar app in OC 9.0.1 is far away from being usable properly! :thumbsdown: :thumbsdown: :thumbsdown:
I do fully agree on this point. Since the upgrade to OC 9 I really miss two features. I export my professional Lotus Notes agenda by generating a .ics file. Then I import it into my OC calendar because I have there other personal events. In return, my OC calendar is synchronized with my Android devices. The 2 features I miss since OC 9 :
- delete all events from calendar before importing ics file
- be able to automate cleaning calendar and importing ics files.
In the time being, is there some workaround by deleting some entries in a database table ?
There is also a problem in OC 9 : I cannot open any calendar entry when i click on it after import. Unable to see details then.
- be able to automate cleaning calendar and importing ics files.
We never had this feature.
@georgehrke ooops yes that's correct. I was using your cl-calendarimport https://github.com/georgehrke/cl-calendarimport but now it is not working on OC 9 ("won't fix") :-(
Instead of crying for features and telling us how badly this is needed: contribute!
You know: this is open source!
Sorry but everyone here knows that's open source. Thanks. In my opinion, it's good there are feedback from users, even if in this point some complained because of a kind of regression in a feature they liked, because it points out a feature that is needed by your precious users. Most of us are not coders (or good coders in the language of the application which is my case). But anyway if I can help by describing my use case better, feel free to ask.
@XuRuHang And you can't sync your Lotus Notes agenda directly with your android? Apparently you don't share it with other users. What's the benefit of piping it thru ownCloud?