annotate idavoll/implementation_issues.txt @ 150:35977eb964e6

Use uuid.py module [1] for generating unique id's for nodes and items. Factor out authorization checking. [1] http://ofxsuite.berlios.de/uuid.py
author Ralph Meijer <ralphm@ik.nu>
date Tue, 04 Oct 2005 12:17:01 +0000
parents 3ad74552bbc7
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
33
7e9bee656986 Few more notes
Ralph Meijer <ralphm@ik.nu>
parents: 22
diff changeset
1 - What happens when a node creation request is accompanied by a configure
22
9b610962d045 Initial revision
Ralph Meijer <ralphm@ik.nu>
parents:
diff changeset
2 node, but node configuration is not implemented?
9b610962d045 Initial revision
Ralph Meijer <ralphm@ik.nu>
parents:
diff changeset
3
9b610962d045 Initial revision
Ralph Meijer <ralphm@ik.nu>
parents:
diff changeset
4 Solution:
9b610962d045 Initial revision
Ralph Meijer <ralphm@ik.nu>
parents:
diff changeset
5
9b610962d045 Initial revision
Ralph Meijer <ralphm@ik.nu>
parents:
diff changeset
6 Reply with a not-acceptable stanza error, with a node-not-configurable
9b610962d045 Initial revision
Ralph Meijer <ralphm@ik.nu>
parents:
diff changeset
7 error attached.
9b610962d045 Initial revision
Ralph Meijer <ralphm@ik.nu>
parents:
diff changeset
8
33
7e9bee656986 Few more notes
Ralph Meijer <ralphm@ik.nu>
parents: 22
diff changeset
9 - Node purging with many items in storage and notification of retraction enabled
7e9bee656986 Few more notes
Ralph Meijer <ralphm@ik.nu>
parents: 22
diff changeset
10 could produce a large number of notifications. Suggestion: instead send a
7e9bee656986 Few more notes
Ralph Meijer <ralphm@ik.nu>
parents: 22
diff changeset
11 <event><purge/></event>
7e9bee656986 Few more notes
Ralph Meijer <ralphm@ik.nu>
parents: 22
diff changeset
12
7e9bee656986 Few more notes
Ralph Meijer <ralphm@ik.nu>
parents: 22
diff changeset
13 - Examples 58 and 62 are the same
7e9bee656986 Few more notes
Ralph Meijer <ralphm@ik.nu>
parents: 22
diff changeset
14
7e9bee656986 Few more notes
Ralph Meijer <ralphm@ik.nu>
parents: 22
diff changeset
15 - What error to return for outcast user requests?
7e9bee656986 Few more notes
Ralph Meijer <ralphm@ik.nu>
parents: 22
diff changeset
16 - What if some admin requested it?
7e9bee656986 Few more notes
Ralph Meijer <ralphm@ik.nu>
parents: 22
diff changeset
17
7e9bee656986 Few more notes
Ralph Meijer <ralphm@ik.nu>
parents: 22
diff changeset
18 - Why not return forbidden when JIDs do not match on subscription?
36
23b1dca64d06 More issues.
Ralph Meijer <ralphm@ik.nu>
parents: 33
diff changeset
19
23b1dca64d06 More issues.
Ralph Meijer <ralphm@ik.nu>
parents: 33
diff changeset
20 - What to do when receiving an unsubscription request with a subid, when
23b1dca64d06 More issues.
Ralph Meijer <ralphm@ik.nu>
parents: 33
diff changeset
21 subids are not supported? Ignore or reply with bad-request?
23b1dca64d06 More issues.
Ralph Meijer <ralphm@ik.nu>
parents: 33
diff changeset
22
23b1dca64d06 More issues.
Ralph Meijer <ralphm@ik.nu>
parents: 33
diff changeset
23 - unsubscription: why check for the requestor being subscribed. You want to
23b1dca64d06 More issues.
Ralph Meijer <ralphm@ik.nu>
parents: 33
diff changeset
24 check if the jid is subscribed. An not-authorized can be sent if the
23b1dca64d06 More issues.
Ralph Meijer <ralphm@ik.nu>
parents: 33
diff changeset
25 requestor and jid don't match. Otherwise, unexpected-request might
23b1dca64d06 More issues.
Ralph Meijer <ralphm@ik.nu>
parents: 33
diff changeset
26 be appropriate when the jid is not subscribed along with a special
23b1dca64d06 More issues.
Ralph Meijer <ralphm@ik.nu>
parents: 33
diff changeset
27 child element of not-subscribed in the pubsub#error namespace.
64
0072fc44fca8 Add note about incorrect text in section 8.1.7 of JEP-0060.
Ralph Meijer <ralphm@ik.nu>
parents: 36
diff changeset
28
0072fc44fca8 Add note about incorrect text in section 8.1.7 of JEP-0060.
Ralph Meijer <ralphm@ik.nu>
parents: 36
diff changeset
29 - 8.1.7 states:
0072fc44fca8 Add note about incorrect text in section 8.1.7 of JEP-0060.
Ralph Meijer <ralphm@ik.nu>
parents: 36
diff changeset
30 If subscription identifiers are supported by the service and the entity's
0072fc44fca8 Add note about incorrect text in section 8.1.7 of JEP-0060.
Ralph Meijer <ralphm@ik.nu>
parents: 36
diff changeset
31 subscription is not NONE or OUTCAST, the 'subid' attribute MUST be present
0072fc44fca8 Add note about incorrect text in section 8.1.7 of JEP-0060.
Ralph Meijer <ralphm@ik.nu>
parents: 36
diff changeset
32 as well as the 'jid' attribute.
0072fc44fca8 Add note about incorrect text in section 8.1.7 of JEP-0060.
Ralph Meijer <ralphm@ik.nu>
parents: 36
diff changeset
33 There is no such thing as a subscription of 'OUTCAST'. Also, I'm not sure
0072fc44fca8 Add note about incorrect text in section 8.1.7 of JEP-0060.
Ralph Meijer <ralphm@ik.nu>
parents: 36
diff changeset
34 why NONE is capitalized.
70
32452ad94430 Added node on meta-data.
Ralph Meijer <ralphm@ik.nu>
parents: 64
diff changeset
35
32452ad94430 Added node on meta-data.
Ralph Meijer <ralphm@ik.nu>
parents: 64
diff changeset
36 - On meta-data:
32452ad94430 Added node on meta-data.
Ralph Meijer <ralphm@ik.nu>
parents: 64
diff changeset
37 http://mail.jabber.org/pipermail/standards-jig/2004-July/005783.html
32452ad94430 Added node on meta-data.
Ralph Meijer <ralphm@ik.nu>
parents: 64
diff changeset
38 Assumed meta-data as per JEP-0128 is indeed optional, advertised with the
32452ad94430 Added node on meta-data.
Ralph Meijer <ralphm@ik.nu>
parents: 64
diff changeset
39 pubsub#meta-data disco feature. Also, how do you actually set this meta-data
32452ad94430 Added node on meta-data.
Ralph Meijer <ralphm@ik.nu>
parents: 64
diff changeset
40 information?
79
c40ccc30dfb7 Added note on max_items attribute.
Ralph Meijer <ralphm@ik.nu>
parents: 70
diff changeset
41
c40ccc30dfb7 Added note on max_items attribute.
Ralph Meijer <ralphm@ik.nu>
parents: 70
diff changeset
42 - on items attribute max_items. xs:string??
c40ccc30dfb7 Added note on max_items attribute.
Ralph Meijer <ralphm@ik.nu>
parents: 70
diff changeset
43
86
479895007e3f Added note about missing disco features
Ralph Meijer <ralphm@ik.nu>
parents: 79
diff changeset
44 - no disco feature for retracting items, purging nodes, deleting nodes, other
479895007e3f Added note about missing disco features
Ralph Meijer <ralphm@ik.nu>
parents: 79
diff changeset
45 owner use cases?
95
3ad74552bbc7 Merge from RELENG_0: Implemented node configuration.
Ralph Meijer <ralphm@ik.nu>
parents: 86
diff changeset
46
3ad74552bbc7 Merge from RELENG_0: Implemented node configuration.
Ralph Meijer <ralphm@ik.nu>
parents: 86
diff changeset
47 - no pubsub#error for bad node configuration options?
3ad74552bbc7 Merge from RELENG_0: Implemented node configuration.
Ralph Meijer <ralphm@ik.nu>
parents: 86
diff changeset
48
3ad74552bbc7 Merge from RELENG_0: Implemented node configuration.
Ralph Meijer <ralphm@ik.nu>
parents: 86
diff changeset
49 - configure in pubsub#owner namespace??