Closed Bug 293545 Opened 20 years ago Closed 20 years ago

Need ability to publish calendars in lightning

Categories

(Calendar :: Lightning Only, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: pavlov, Assigned: pavlov)

Details

Attachments

(1 file, 1 obsolete file)

We need to publish calendars in lightning...
Attached patch New dialog, js, hookups, etc (obsolete) — — Splinter Review
This patch refactors the old publishDialog* out of resources/content and puts
updated versions in content/base.  it adds some utility functions for opening
the dialog and doing all the real publish work.  it adds a context menu to
lightning to publish.
Attachment #183101 - Flags: first-review?(shaver)
Component: Sunbird and Calendar-Extension Front End → Lightning
I removed calendar-publish.js and moved the actual publish code in to
calendar-publish-dialog.js so that it could actually do error handling
Attachment #183101 - Attachment is obsolete: true
Attachment #183108 - Flags: first-review?(shaver)
Comment on attachment 183108 [details] [diff] [review]
better patch with fewer files and better error checking

OK, yeah, let's get that in.  Can you file a bug on better error handling (for
aStatus that's not a success code)? r=shaver, looking for second from mvl on
publishing details.
Attachment #183108 - Flags: second-review?(mvl)
Attachment #183108 - Flags: first-review?(shaver)
Attachment #183108 - Flags: first-review+
Comment on attachment 183108 [details] [diff] [review]
better patch with fewer files and better error checking

>Index: base/content/calendar-publish-dialog.js

Can you make sunbird use this file too, and remove the old version? (Or file a
bug to make that happen)

>+/* helper functions */
>+function getCalendarManager()
>+function makeURL(uriString)

Why not use the helper functions from calendarUtils.js?

>Index: base/content/calendar-publish-dialog.xul
>+          <textbox flex="1" id="publish-remotePath-textbox" onkeypress="checkURL()"/>

Don't forget to port the patch fig bug bug 290736. (oninput instead of
onkeypress)

r=mvl
Attachment #183108 - Flags: second-review?(mvl) → second-review+
checked in.

I've filed bug 293710 for sunbird.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Comment on attachment 183101 [details] [diff] [review]
New dialog, js, hookups,  etc

Patch is obsolete
Attachment #183101 - Flags: first-review?(shaver)
QA Contact: gurganbl → lightning
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: