Closed
Bug 261460
Opened 20 years ago
Closed 3 years ago
Import events via commandline
Categories
(Calendar :: General, enhancement)
Calendar
General
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: mateo, Unassigned)
References
Details
Attachments
(1 file)
6.88 KB,
patch
|
Details | Diff | Splinter Review |
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:
Updated•19 years ago
|
QA Contact: gurganbl → general
Comment 1•18 years ago
|
||
Reassigning all automatically assigned bugs from Mostafa to nobody@m.o
Bugspam filter: TorontoMostafaMove
Assignee: mostafah → nobody
Comment 2•18 years ago
|
||
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?
Comment 3•18 years ago
|
||
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?
Comment 4•17 years ago
|
||
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
Comment 5•17 years ago
|
||
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
Comment 6•17 years ago
|
||
The commandline handler needs a real makeover. I'm going to do so in bug 359807 after 0.8 is out.
Depends on: 359807
Comment 7•15 years ago
|
||
Sebo, please change the status to NEW if you no longer work on this issue. Thanks.
Updated•15 years ago
|
Status: ASSIGNED → NEW
Updated•15 years ago
|
Assignee: sebo.moz → nobody
Comment 9•3 years ago
|
||
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.
Description
•