Closed Bug 261460 Opened 20 years ago Closed 3 years ago

Import events via commandline

Categories

(Calendar :: General, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: mateo, Unassigned)

References

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (X11; U; Linux i686; rv:1.7.3) Gecko/20040914 Firefox/0.10 Build Identifier: Wouldn't it be nice to import a calendar event via: > sunbird -remote 'openFile(new_event.ics)' This would allow invoking of Sunbird's Import function from .mailcap entries! Reproducible: Always Steps to Reproduce:
QA Contact: gurganbl → general
Reassigning all automatically assigned bugs from Mostafa to nobody@m.o Bugspam filter: TorontoMostafaMove
Assignee: mostafah → nobody
I *think* this has been covered in bug 177109. You can do -subscribe and the ics file will be subscribed to. Actual import into an existing calendar seems a lot harder, since external apps don't really know what calendars are around. Duplicate?
I don't think it's a duplicate. The intent of the request in this bug is to be able to add new events from an ics file via the command line. This is useful when you are using a mail program that can call external applications on attachments. For example, if I get an ics attachment from an Exchange user, I have to save it to a file, then go through the import dialog in sunbird and navigate to that file to import it. It would be much easier if I could double-click on the attachment and have it automatically have sunbird bring up the import dialog automatically. Does that make sense?
This bug is not completely the same as bug 212792. Here we want to see the import dialog automatically. Confirming per decision on QA working session.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Hardware: PC → All
Summary: Import calendar events via "-remote" cmd line arg → Import events via commandline
This patch introduces a -import command line flag and a -dest-cal command line flag. Both are optional, of course. Atm, only local files can be imported. The -dest-cal flag takes an integer starting from zero (0) indicating what calendar to import into. If not present, the choose calendar dialog comes up. Before I clean this patch out (instead of a local file any URI could be accepted) I would like to hear opinions, if this is the way to go.
Assignee: nobody → sebo.moz
Status: NEW → ASSIGNED
The commandline handler needs a real makeover. I'm going to do so in bug 359807 after 0.8 is out.
Depends on: 359807
Sebo, please change the status to NEW if you no longer work on this issue. Thanks.
Status: ASSIGNED → NEW
Assignee: sebo.moz → nobody

I think this is resolved by bug 357480 and follow-ups.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: