annotate TODO @ 390:2ad4c1c97734 noffle

[svn] * src/client.c: Return correct status from Client_postArt() and add function comment detailing what return code should be, because it's not obvious that the return code should report success when the posting failed for reasons other than connection problems. This should fix problem with failing posting stopping fetches. Thanks to Dan Jacobson for spotting this. * src/client.c: Fix problemette with filter discards not updating remote group article count and so the overview being refetched until and article appears that doesn't fall foul of the filter and thus does update the remove group 'next article' marker. Thanks to Dan Jacobson for spotting this. * src/content.c: Don't be fooled into thinking a filename starting ".." is just "..". * src/outgoing.c: Don't assume "." and ".." are the first files returned from readdir(). Thanks to Andreas Happe for spotting this. * src/noffle.c: Update online help to include 'm' group posting status. * src/server.c: Move incorrect updating of server.grp in doGrp() which was causing doGrp() to not retrieve remote article details when in online mode. Thanks to Miernik and Andreas Happe for reporting the problem.
author bears
date Thu, 22 May 2003 10:04:38 +0100
parents b0ee77fa24d4
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
42
2467ff423c15 [svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff changeset
1 -------------------------------------------------------------------------------
2467ff423c15 [svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff changeset
2 NOFFLE Todolist
2467ff423c15 [svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff changeset
3 -------------------------------------------------------------------------------
2467ff423c15 [svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff changeset
4
2467ff423c15 [svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff changeset
5 Urgent
2467ff423c15 [svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff changeset
6 ------
2467ff423c15 [svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff changeset
7
206
eb2589384836 [svn] * TODO: Update the TODO list.
bears
parents: 197
diff changeset
8 * Deal properly with headers split over several lines where the overall
eb2589384836 [svn] * TODO: Update the TODO list.
bears
parents: 197
diff changeset
9 content of the header exceeds MAXCHAR characters (i.e. length of Str).
eb2589384836 [svn] * TODO: Update the TODO list.
bears
parents: 197
diff changeset
10
42
2467ff423c15 [svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff changeset
11 Later
2467ff423c15 [svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff changeset
12 -----
2467ff423c15 [svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff changeset
13
290
f35a7d45efd5 [svn] * docs/noffle.1,docs/noffle.conf.5: Correct footer date, add new RFCs,
bears
parents: 207
diff changeset
14 * Internationalisation.
f35a7d45efd5 [svn] * docs/noffle.1,docs/noffle.conf.5: Correct footer date, add new RFCs,
bears
parents: 207
diff changeset
15
f35a7d45efd5 [svn] * docs/noffle.1,docs/noffle.conf.5: Correct footer date, add new RFCs,
bears
parents: 207
diff changeset
16 * Get pseudo article contents from files in /etc/noffle, to allow
f35a7d45efd5 [svn] * docs/noffle.1,docs/noffle.conf.5: Correct footer date, add new RFCs,
bears
parents: 207
diff changeset
17 local customisation.
f35a7d45efd5 [svn] * docs/noffle.1,docs/noffle.conf.5: Correct footer date, add new RFCs,
bears
parents: 207
diff changeset
18
296
62cdb3113115 [svn] * TODO: Add items from Debian wishlist.
bears
parents: 292
diff changeset
19 * Remove groups if they disappear from the upstream servers.
62cdb3113115 [svn] * TODO: Add items from Debian wishlist.
bears
parents: 292
diff changeset
20 (Subject to setting? Only if all articles in the group are expired?)
62cdb3113115 [svn] * TODO: Add items from Debian wishlist.
bears
parents: 292
diff changeset
21 Debian bug 168401
62cdb3113115 [svn] * TODO: Add items from Debian wishlist.
bears
parents: 292
diff changeset
22
62cdb3113115 [svn] * TODO: Add items from Debian wishlist.
bears
parents: 292
diff changeset
23 * Add command line options to add/remove message IDs to/from the article
62cdb3113115 [svn] * TODO: Add items from Debian wishlist.
bears
parents: 292
diff changeset
24 fetchlist. Debian bug 151655.
62cdb3113115 [svn] * TODO: Add items from Debian wishlist.
bears
parents: 292
diff changeset
25
62cdb3113115 [svn] * TODO: Add items from Debian wishlist.
bears
parents: 292
diff changeset
26 * Let all commands that could accept >1 argument. Debian bug 151655.
62cdb3113115 [svn] * TODO: Add items from Debian wishlist.
bears
parents: 292
diff changeset
27
206
eb2589384836 [svn] * TODO: Update the TODO list.
bears
parents: 197
diff changeset
28 * Provide list of suggested configurations for popular upstream servers.
eb2589384836 [svn] * TODO: Update the TODO list.
bears
parents: 197
diff changeset
29
eb2589384836 [svn] * TODO: Update the TODO list.
bears
parents: 197
diff changeset
30 * Review latest NNTP draft (http://www.ieft.org/ids.by.wg/nntpext.html).
eb2589384836 [svn] * TODO: Update the TODO list.
bears
parents: 197
diff changeset
31 Noted so far: Implement DATE and OVER. OVER is a synonym for XOVER,
eb2589384836 [svn] * TODO: Update the TODO list.
bears
parents: 197
diff changeset
32 which should continue to work for compatability reasons.
eb2589384836 [svn] * TODO: Update the TODO list.
bears
parents: 197
diff changeset
33
207
79f845db4897 [svn] * TODO: Update the TODO list.
bears
parents: 206
diff changeset
34 * Review latest Usenet message format (draft).
79f845db4897 [svn] * TODO: Update the TODO list.
bears
parents: 206
diff changeset
35 http://www.ietf.org/ids.by.wg/usefor.html.
79f845db4897 [svn] * TODO: Update the TODO list.
bears
parents: 206
diff changeset
36
121
a0a96e1021c3 [svn] Performance of group database
enz
parents: 45
diff changeset
37 * Improve performance of group database. Using GDBM is a bad choice,
a0a96e1021c3 [svn] Performance of group database
enz
parents: 45
diff changeset
38 better use a btree from the Berkeley db library in libc.
a0a96e1021c3 [svn] Performance of group database
enz
parents: 45
diff changeset
39 This will be a good time for a redesign of the group.h interface
a0a96e1021c3 [svn] Performance of group database
enz
parents: 45
diff changeset
40 with respect to process concurrency if the simple global locking strategy
a0a96e1021c3 [svn] Performance of group database
enz
parents: 45
diff changeset
41 will be changed in the future.
a0a96e1021c3 [svn] Performance of group database
enz
parents: 45
diff changeset
42
42
2467ff423c15 [svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff changeset
43 * Read timeout when running as server and automatically close if client
2467ff423c15 [svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff changeset
44 does not send data for a longer time.
2467ff423c15 [svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff changeset
45
2467ff423c15 [svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff changeset
46 * Implement simple filter using popen or fifos.
2467ff423c15 [svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff changeset
47
2467ff423c15 [svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff changeset
48 * Improve speed of online mode: Keep connection to server open for a while
2467ff423c15 [svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff changeset
49
292
b1d5c55b76f6 [svn] * Add TODO item 'retry lost connections'.
bears
parents: 290
diff changeset
50 * Automatically retry NNTP transactions that fail due to lost connection/
b1d5c55b76f6 [svn] * Add TODO item 'retry lost connections'.
bears
parents: 290
diff changeset
51 timeout up to a configurable threshold number of times before passing
b1d5c55b76f6 [svn] * Add TODO item 'retry lost connections'.
bears
parents: 290
diff changeset
52 the failure on. This to cope with servers with short timeouts on
b1d5c55b76f6 [svn] * Add TODO item 'retry lost connections'.
bears
parents: 290
diff changeset
53 networks with highly variable and significant latencies.
b1d5c55b76f6 [svn] * Add TODO item 'retry lost connections'.
bears
parents: 290
diff changeset
54
42
2467ff423c15 [svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff changeset
55 * Check all in
2467ff423c15 [svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff changeset
56 http://mars.superlink.net/user/tal/writings/news-software-authors.html
2467ff423c15 [svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff changeset
57 (Use NOV library? Use inews for validating posted articles? ... )
2467ff423c15 [svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff changeset
58
2467ff423c15 [svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff changeset
59 * Store requested articles by group + number. This would allow to create
2467ff423c15 [svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff changeset
60 pseudo-groups (like <groupname>.requested) that contained only fully
2467ff423c15 [svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff changeset
61 downloaded articles in overview mode (very nice and clever
2467ff423c15 [svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff changeset
62 idea sent in by a user, it would make using overview mode much easier).
2467ff423c15 [svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff changeset
63 Second advantage: Noffle would work with servers that have retrieving
2467ff423c15 [svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff changeset
64 articles by message-id disabled.
2467ff423c15 [svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff changeset
65
2467ff423c15 [svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff changeset
66 * Expire should clean up empty request/outgoing directories, so they will not
2467ff423c15 [svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff changeset
67 exists forever after a server change.
2467ff423c15 [svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff changeset
68
2467ff423c15 [svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff changeset
69 * Do not log program abortion due to SIGINT, if no inconsistency can occur,
2467ff423c15 [svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff changeset
70 (e.g. when calling 'noffle -d' to a pipe and next program terminates or
2467ff423c15 [svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff changeset
71 pressing ^C).
2467ff423c15 [svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff changeset
72
2467ff423c15 [svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff changeset
73 * Improve www page and documentation.
2467ff423c15 [svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff changeset
74
2467ff423c15 [svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff changeset
75 * Keeping the content list for several lock/unlock times could lead to
2467ff423c15 [svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff changeset
76 inconsistent results, because content list is maybe modified by
2467ff423c15 [svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff changeset
77 pseudo articles. Check this!
2467ff423c15 [svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff changeset
78
2467ff423c15 [svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff changeset
79 * Optimize NEWGROUPS (extra list?)
2467ff423c15 [svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff changeset
80
2467ff423c15 [svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff changeset
81 * Add noffle query option for checking all groups, if they are still
2467ff423c15 [svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff changeset
82 available at the remote server(s) and delete them otherwise.
2467ff423c15 [svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff changeset
83
2467ff423c15 [svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff changeset
84 * In online mode, retrieve full article header from remote server if client
2467ff423c15 [svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff changeset
85 sends a HEAD command. Presently, only the header lines from the overview
2467ff423c15 [svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff changeset
86 are returned and the article is only retrieved on an ARTICLE or BODY command.
2467ff423c15 [svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff changeset
87 The reason for this was that some readers (like pine) retrieve the group
2467ff423c15 [svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff changeset
88 overview by sending lots of HEAD commands and their performance would badly
2467ff423c15 [svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff changeset
89 suffer. On the other hand, some readers (like slrn) cache the header from
2467ff423c15 [svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff changeset
90 a HEAD command, even if a following ARTICLE command gets more header lines,
2467ff423c15 [svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff changeset
91 so that not all header lines are available when reading news in online mode,
2467ff423c15 [svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff changeset
92 before the next start of the reader. But some header lines (e.g. Reply-To)
2467ff423c15 [svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff changeset
93 are important.
2467ff423c15 [svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff changeset
94 Maybe make the behaviour configurable.
2467ff423c15 [svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff changeset
95
2467ff423c15 [svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff changeset
96
163
3d243292468d [svn] Added user wishlist section and first entry by Alberto Mardegan
enz
parents: 161
diff changeset
97 User-Wishlist
3d243292468d [svn] Added user wishlist section and first entry by Alberto Mardegan
enz
parents: 161
diff changeset
98 -------------
3d243292468d [svn] Added user wishlist section and first entry by Alberto Mardegan
enz
parents: 161
diff changeset
99
3d243292468d [svn] Added user wishlist section and first entry by Alberto Mardegan
enz
parents: 161
diff changeset
100 * Group requesting: I'd like noffle mantain a whitelist of users who can
3d243292468d [svn] Added user wishlist section and first entry by Alberto Mardegan
enz
parents: 161
diff changeset
101 request new subscriptions: for instance, if user mardy wants noffle to
3d243292468d [svn] Added user wishlist section and first entry by Alberto Mardegan
enz
parents: 161
diff changeset
102 fetch headers of it.comp.os.linux, he could just post a message to
3d243292468d [svn] Added user wishlist section and first entry by Alberto Mardegan
enz
parents: 161
diff changeset
103 noffle.control with something like this in the body:
3d243292468d [svn] Added user wishlist section and first entry by Alberto Mardegan
enz
parents: 161
diff changeset
104 subscribe-over: it.comp.os.linux
3d243292468d [svn] Added user wishlist section and first entry by Alberto Mardegan
enz
parents: 161
diff changeset
105
3d243292468d [svn] Added user wishlist section and first entry by Alberto Mardegan
enz
parents: 161
diff changeset
106
42
2467ff423c15 [svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff changeset
107 Some day far away
2467ff423c15 [svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff changeset
108 -----------------
2467ff423c15 [svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff changeset
109
197
24d4cd032da5 [svn] * AUTHORS,INSTALL,NEWS,README,TODO,docs/NOTES,src/client.c,src/protocol.c,
bears
parents: 185
diff changeset
110 * Extend execution of cancel messages to those retrieved from the upstream
24d4cd032da5 [svn] * AUTHORS,INSTALL,NEWS,README,TODO,docs/NOTES,src/client.c,src/protocol.c,
bears
parents: 185
diff changeset
111 server (e.g. by subscribing to control.cancel - only fetching cancels
24d4cd032da5 [svn] * AUTHORS,INSTALL,NEWS,README,TODO,docs/NOTES,src/client.c,src/protocol.c,
bears
parents: 185
diff changeset
112 for groups in the fetchlist would be a good idea, volume in
24d4cd032da5 [svn] * AUTHORS,INSTALL,NEWS,README,TODO,docs/NOTES,src/client.c,src/protocol.c,
bears
parents: 185
diff changeset
113 control.cancel).
42
2467ff423c15 [svn] * AUTHORS.html, CHANGELOG.html, COPYING.html, README.html, FAQ.html,
uh1763
parents:
diff changeset
114