Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a way to clear all events in a calendar #326

Open
eesko opened this issue Mar 14, 2016 · 35 comments
Open

Add a way to clear all events in a calendar #326

eesko opened this issue Mar 14, 2016 · 35 comments

Comments

@eesko
Copy link

eesko commented Mar 14, 2016

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.

@georgehrke
Copy link
Contributor

@jancborchardt

@jancborchardt
Copy link
Member

Um … just delete the calendar before? ;)

@brot
Copy link

brot commented Apr 13, 2016

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.

@aspdye
Copy link

aspdye commented Apr 13, 2016

Why is the reconfiguration needed? The new calendar will have the same name, the same CalDAV URLs and credintals 😉 you only need to reconfigure the shares, or am i wrong 😁

@jancborchardt
Copy link
Member

Exactly, there is no re-configuration needed when the name stays the same.

@brot
Copy link

brot commented Apr 13, 2016

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?

@georgehrke
Copy link
Contributor

I have to import an external calendar every few weeks.

Maybe the webcal feature is what you are waiting for?
#132

@georgehrke
Copy link
Contributor

Are there any technical problems?

It clutters the user interface and it leaves us with more code to maintain.

@brot
Copy link

brot commented Apr 13, 2016

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

@georgehrke
Copy link
Contributor

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.

@brot
Copy link

brot commented Apr 13, 2016

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.

@brot
Copy link

brot commented Apr 13, 2016

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

@georgehrke
Copy link
Contributor

Well, if you can access the the ics file by sending http basic auth headers it will definitely work

@ege1
Copy link

ege1 commented Apr 13, 2016

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....

@georgehrke
Copy link
Contributor

@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.

@georgehrke
Copy link
Contributor

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: #468

@ege1
Copy link

ege1 commented Apr 13, 2016

@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.

@eesko
Copy link
Author

eesko commented Apr 15, 2016

There are some issues with just deleteng and recreating a calendar with the same name. See: #325

@georgehrke
Copy link
Contributor

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.

@jancborchardt
Copy link
Member

Yeah, isn’t this exactly what subscribing to remote calendars would be for?

@georgehrke
Copy link
Contributor

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.

@ege1
Copy link

ege1 commented Apr 15, 2016

@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.

@brot
Copy link

brot commented Apr 22, 2016

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.

@hitam4450
Copy link

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! 👎 👎 👎

@XuRuHang
Copy link

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 :

  1. delete all events from calendar before importing ics file
  2. 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.

@georgehrke
Copy link
Contributor

  1. be able to automate cleaning calendar and importing ics files.

We never had this feature.

@XuRuHang
Copy link

XuRuHang commented Apr 24, 2016

@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") :-(

@DeepDiver1975
Copy link
Member

Instead of crying for features and telling us how badly this is needed: contribute!

You know: this is open source!

@XuRuHang
Copy link

XuRuHang commented May 4, 2016

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.

@georgehrke
Copy link
Contributor

@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?

@XuRuHang
Copy link

@georgehrke
The main reason is that I manage also personal events on my owncloud calendar and I don't want to enter these events on my professional Notes agenda. My OC agenda handles then all events both professional and personal.
My android device is easy to configure to be synchronized with OC calendars too.

@h1-ffm
Copy link

h1-ffm commented Jun 8, 2016

Hallo
I, am one of the very very very few users and need the feature also.

@caco3
Copy link

caco3 commented Jun 22, 2016

As shown #132 (comment), there is a need to wipe a calendar also for me.

@EtlamGit
Copy link
Contributor

EtlamGit commented Jul 1, 2016

I also occasionally have to clear all events from a calendar. When something goes wrong it is a convenient way to import a backup for a calendar without all the configuration for sharing options or even syncing on clients.

@gohrner
Copy link

gohrner commented Nov 29, 2018

Apparently, issue #804 was a duplicate of this. In #804 it was mentioned, that sharing webcal subscriptions is planned (nextcloud/server#1600, not yet finished), which will probably help in several cases.

However, I also have the case that someone sends me an ICS file from time to time which I need to import and which is not publicly available on the web, so I also need the "clear existing calendar and import" feature if I do not want to nag my users about needing to re-enable a re-created calendar...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests