Commit Graph

1947 Commits

Author SHA1 Message Date
vladimir%pobox.com
9a9719b366 fixed storage recurrence; notpartofthebuild 2004-12-14 03:27:32 +00:00
shaver%mozilla.org
4714253f86 Recurrence fixes:
- add an icalProperty getter/setter for serialization (yet to come).
 - fix bogus assertion
 - throw NOT_IMPLEMENTED for getOccurrences, rather than NS_OK crash bait.
2004-12-14 02:00:34 +00:00
pavlov%pavlov.net
e224e150e4 hook up a week view observer to refresh the display when you add/modify/delete 2004-12-14 01:41:35 +00:00
pavlov%pavlov.net
200652205a clear out the attendees before adding the current set. insert mailto: before new attendees 2004-12-14 01:08:30 +00:00
dmose%mozilla.org
cbde9ba1d4 Fixed missing interface const. Not part of the build. 2004-12-14 00:54:05 +00:00
vladimir%pobox.com
f42243e57c fix occurrence thingy, notpartofthebuild 2004-12-14 00:53:45 +00:00
vladimir%pobox.com
f7f3f88e22 fixed case, notpartofthebuild 2004-12-14 00:51:58 +00:00
dmose%mozilla.org
34892f9c97 Fix recurrence issues; patch from vlad. Not part of the build. 2004-12-14 00:49:54 +00:00
pavlov%pavlov.net
a3523f2ba5 changing weekView to display occurrences 2004-12-14 00:47:51 +00:00
shaver%mozilla.org
28c8b5d84d add removeAllAttendees for pav 2004-12-14 00:44:21 +00:00
shaver%mozilla.org
03e9917344 Use var to avoid using window.title as a temporary and triggering assertions. 2004-12-14 00:36:18 +00:00
vladimir%pobox.com
a9c26b6f51 hooked up recurrence to storage; notpartofthebuild 2004-12-14 00:25:58 +00:00
pavlov%pavlov.net
1ed18969a4 fixing recurrence to set the interval and type and fixing a bug when adding attendeees 2004-12-14 00:19:01 +00:00
dmose%mozilla.org
b7b2c2c267 Merged in calMemoryCalendar.js changes through 1.9 2004-12-14 00:07:14 +00:00
shaver%mozilla.org
2429159487 mMethod cleanup too 2004-12-13 23:52:28 +00:00
shaver%mozilla.org
9dc296acdc more isPrivate fixes 2004-12-13 23:49:42 +00:00
shaver%mozilla.org
9c210babca Fix mPrivacy cloning, don't clone the erstwhile mMethod. 2004-12-13 23:43:16 +00:00
pavlov%pavlov.net
d8bcffcf0b Adding support for attendees and setting of recurrence 2004-12-13 23:15:41 +00:00
shaver%mozilla.org
f9c285b79a Successful status code for a caldav modify (PUT over existing item) is 204, not 200 2004-12-13 10:23:42 +00:00
shaver%mozilla.org
97aa9b771e Bug 274336: initialize mIsDate, because we can take some paths through
normalize and whatnot that give us a "valid" date while still having
uninitialized stack garbage in mIsDate. r=vlad
2004-12-13 10:09:38 +00:00
shaver%mozilla.org
c384132735 - Use literal strings instead of integer constants, for better insulation
from libical changes, and a vastly improved debugging experience.
  The requisite data validation is coming once I figure out how best to
  get libical to do that validation in any reasonable fashion whatsoever.

- Remove METHOD from calIItemBase, as it's a bit of ICS specificity that should
  live elsewhere for manipulation in calling code.

- Remove useless getAttendees/setAttendees from calIIcalComponent, now that
  real property/parameter support exists.

- Unify property/x-property interfaces as much as possible.

- Likewise for parameters/x-parameters.

- Real property and parameters support, sufficient at least to whack ATTENDEE
  props in interesting ways.

- Properties on calIAttendee (mapped generally to ICS parameters, though
  somewhat fragilely).

- Round-trip X-WHATEVER ICS properties and params reliably.

- Attendee serialization/deserialization in calItemBase.

- In various places, SetIsVoid on empty strings returned to signify
  missing property/parameters.  Nicer from JS, to be sure.

- Fix test cases and one little spot in Sunbird to keep up.

CalDAV event modification works now.
2004-12-13 09:50:30 +00:00
shaver%mozilla.org
086a3d6388 - Use signed constants for calIIcalComponent, so that we can express
the absence of integer-valued properties consistently.
- Add calIIcalComponent.INVALID_VALUE for just that purpose.
- Use the same constant values for method in calIItemBase as we use in
  calIIcalComponent, for the sake of my sanity.  (Tempted to just remove them
  and have people who care about setting .method do it on the icalComponent
  of their choice.)
- Make calIItemBase.generation unsigned, since 0 means not-stored.
- Voidify string properties returned from calICSService to indicate a missing
  property.
- Don't propagate null or INVALID_VALUE props when copying to/from ICS.
- calIItemBase.generation has precisely nothing to do with ICS VERSION, so
  remove the mapping.
2004-12-11 21:17:36 +00:00
dmose%mozilla.org
b91badc3b3 Fix deleteItem(), clean up a few calls to dump(). Not part of the build. 2004-12-11 19:51:25 +00:00
mvl%exedo.nl
13e68f643d set class on eventboxes to actually draw a box 2004-12-11 18:52:19 +00:00
vladimir%pobox.com
30c6c1d746 fixed up memory calendar, with working modify, and some recurrence impl. notpartoftehbuild 2004-12-11 00:38:10 +00:00
dmose%mozilla.org
2b83aa3f41 First cut at modifyItem() and deleteItem(). Not part of the build 2004-12-10 23:50:14 +00:00
vladimir%pobox.com
640eed7cc9 fix deleteItem.. notpartoftehbuild 2004-12-10 22:25:27 +00:00
vladimir%pobox.com
2edff8e8ba oops, can't have two deleteItems.. notpartoftehbuild 2004-12-10 22:16:30 +00:00
vladimir%pobox.com
b5943b3a9e fix for multiple modifys in a row, notpartofthebuild 2004-12-10 21:32:08 +00:00
vladimir%pobox.com
c2a025d0e0 sprinkle around some resets, to get around locked db issues. notpartofhtebuild 2004-12-10 20:55:51 +00:00
pavlov%pavlov.net
b0a66f05f0 clean up some code and fix up deleting of items 2004-12-10 20:34:30 +00:00
mostafah%oeone.com
d7f9f90168 Updated translation 2004-12-10 16:03:01 +00:00
pavlov%pavlov.net
7fd4187c45 Making clone() do a QI back to calIEvent 2004-12-10 11:35:05 +00:00
vladimir%pobox.com
a9928a0a44 updated for new last_modified type 2004-12-10 11:27:48 +00:00
vladimir%pobox.com
3ac937f726 fixed lastModifiedTime type, notpartofthebuild 2004-12-10 11:22:48 +00:00
pavlov%pavlov.net
4a7ecbc7ca fixing new event dialog to start with the correct start/end times 2004-12-10 11:13:04 +00:00
shaver%mozilla.org
43f7338641 A bouquet garni of fragrant fixes:
- set prodid and version in generated ICS
- don't set empty-valued properties on the icalcomp; it makes some
  parsers sad
- save the listener's "outer this" so that we find it to call the notification
  methods on when adding an item is well and truly done.

Can now create events on a CalDAV server.
2004-12-10 11:00:27 +00:00
pavlov%pavlov.net
0613c4802a getting the edit dialog up 2004-12-10 10:58:59 +00:00
shaver%mozilla.org
8b7826b74e A caller may ask us to set a date-valued property to null. Rebuff them
gently, instead of wetting the floor.
2004-12-10 10:00:17 +00:00
shaver%mozilla.org
522338eedf Use prefs to control calendar type ("calendar.default-calendar.type") and
uri ("calendar.default-calendar.uri", only for caldav and storage types), so
we can all stop hacking createCalendar ourselves. r=dmose.

The default remains a memory-type calendar.
2004-12-10 09:56:34 +00:00
vladimir%pobox.com
73864d156f Initialize stampDate on event init, notpartofthebuild 2004-12-10 02:32:30 +00:00
vladimir%pobox.com
b5eb3d4590 Initialize creationDate and lastModifiedDate on itembase init, notpartofthebuild 2004-12-10 02:29:05 +00:00
dmose%mozilla.org
ed3339b93c Get addItem() closer to working (not part of the build) 2004-12-10 02:25:12 +00:00
pavlov%pavlov.net
462ec34b9c fixing compile problem on windows 2004-12-10 01:50:51 +00:00
dmose%mozilla.org
e652f6111a utcTime is now known as nativeTime. not part of the build. 2004-12-10 01:46:09 +00:00
vladimir%pobox.com
c0e12e9f54 removed reinvention of instanceof; notpartofthebuild 2004-12-10 01:45:20 +00:00
pavlov%pavlov.net
9bd7c9f40b fixing weekView to request events for the full 7 days instead of just 6 2004-12-10 01:45:02 +00:00
vladimir%pobox.com
e175e14b86 utcTime is now nativeTime, notpartofthebuild 2004-12-10 01:43:25 +00:00
vladimir%pobox.com
8a5d2024e1 fix calDateTime jsDate conversion, oops; notpartofthebuild 2004-12-10 01:35:48 +00:00
vladimir%pobox.com
8b8224d58b forgot TimezoneOffset getter/setter, notpartofthebuild 2004-12-10 01:05:31 +00:00