409c46efe68b8ba61f623b116c3ded6c20e691bd
[spider.git] / Changes
1 29Jun99=======================================================================
2 1. fixed merge command that I broke.
3 2. added some randomness in waittimes for aborted outgoing messages 
4 3. made the queueing of messages asymetrical. Both of these to try to 
5 minimise thrashing.
6 28Jun99=======================================================================
7 1. console.pl now works with history and editting.
8 2. added scrolling to stuff sent by the cluster.
9 3. added colours to things.
10 27Jun99=======================================================================
11 1. added WWV filtering
12 2. added timeouts to for forwarding Messages, also added a waiting time for
13 failed (stalled) outgoing messages.
14 3. Incoming messages will now have priority over outgoing messages to the
15 same node.
16 4. Added 'catchup' command which will 'catchup' messages to date for a node. 
17 This means that when you start forwarding to a node, it doesn't get all the
18 messages queued up that are probably old.
19 5. added 'uncatchup' which does the opposite of the above.
20 6. fixed kill full and PC49 handling so that it actually works.
21 7. Fixed local aliases so they add to the front of the standard ones. This
22 means you only need to add your specials or override the system ones you need
23 to.
24 21Jun99=======================================================================
25 1. changed regex for cluster->client msgs so that strings like |---| are no
26 longer ignored.
27 20Jun99=======================================================================
28 1. prevented a merge to myself (causes a loop)
29 18Jun99=======================================================================
30 1. fixed a problem with DXLogPrint repeating log entries.
31 2. altered the permissions on disconnnect so that priv 5 users can disconnect
32 clusters, but still require priv 8 to disconnect users.
33 3. made sure that an incoming PC18 clears out all the cluster info for
34 that channel before re-initialising.
35 4. add init command.
36 5. disconnect users before nodess on shutdown
37 15Jun99=======================================================================
38 1. added grepdbg program (so you can search your debug files and get times
39 and dates of incidents).
40 2. Moved DXVars.pm to DXVars.pm.issue to force new users to cp it to their
41 local directory.
42 3. added $allowzero to DXProt to allow thru PC19s with zero protocol versions.
43 14Jun99=======================================================================
44 1. changed IO::File in help and apropos to IO::File
45 2. added a check for isa('DXNode') for PC50s
46 08Jun99=======================================================================
47 1. Started work on the curses based operator console.
48 03Jun99=======================================================================
49 1. cluster seems to have a memory leak, put DESTROY functions in where 
50 appropriate.
51 2. try to make sure that PC21 commands are not issued inappropriately and
52 also reformat PC19 for onward broadcast so that nodes coming in on loops are
53 dropped from those broadcasts.
54 3. make sure PC16,17,19,21 doen't affect locally connected nodes.
55 4. Changed all instances of FileHandle to IO::File.
56 01Jun99=======================================================================
57 1. removed a output of an unwanted pc21 for isolated nodes
58 31May99=======================================================================
59 1. Added checking for PC16,17,19 and 21 to make sure that they come in from
60 the channels that they are supposed to.
61 2. Pass the RCMDing node's priv level to the command (rather than the 
62 connecting node's privilege level).
63 3. Pass thru merge requests for other nodes.
64 4. Removed a warning from client.pl
65 5. routed external DB commands and drop them (for now) locally
66 6. routed external mail commands (ie those addressed elsewhere)
67 7. routed external PC26/27 lines 
68 25May99=======================================================================
69 1. try to make the lastin value correct even for local users
70 2. got rid of the stupid bug that failed to print out the offline message
71 but put a "*main::STDOUTmain" for every line of that message instead.
72 3. Ported to 5.00503 (well actually just installed it and it just runs). 
73 4. Added who command
74 23May99=======================================================================
75 1. Got rid of some of the useless error messages on global destruction when
76 quiting a program.
77 2. Stuck -w back on client.pl
78 23May99=======================================================================
79 1. tried to change connection to raw mode for cluster connections
80 2. sh/c and sh/u are now sorted in alphabetical order
81 3. Limited the number of queued dx spots when composing messages to 20 (the 
82 oldest one is lost for every one added above 20).
83 4. Added generalised shell globbing everywhere I think it is useful, including
84 sh/dx, dir, sh/files etc
85 5. Made dir more compatible with ak1a and added 'to' and 'from' call searching
86 it should now do everything that ak1a does except counts.
87 6. added similar functionality to kill command so that you can kill ranges, to
88 and from callsigns etc.
89 22May99=======================================================================
90 1. added check for -1 from Date::Parse and return undef for out of range dates
91 2. added show/files and type commands
92 21May99=======================================================================
93 1. made set/nodx work again.
94 2. made dx stuff queue nicely again when sending messages.
95 18May99=======================================================================
96 1. Added announce dup checking.
97 2. Added system announce filtering.
98 08May99=======================================================================
99 1. Added a bit more checking to the rcmd thing to make more sure that this
100 rcmd isn't coming from an imposter. Not possible to prevent everything 
101 ofcourse, just make it a bit harder.
102 2. altered set/lockout and set/privilege so that they can't executed remotely.
103 3. Added some code to reject rubbish (with invalid binary characters) protocol
104 or user lines as input.
105 4. prevented PC command being executed remotely :-)
106 05May99=======================================================================
107 1. change the connection overlap from an abort to a disconnect.
108 02May99=======================================================================
109 1. Added the mechanism for doing user spot filtering for spots in the cluster 
110 (no user control just yet - but sysops can do it).
111 2. Fixed problem with nodes sending out the node lists of isolated nodes.
112 30Apr99=======================================================================
113 1. Try to make it even more AK1A friendly by putting the node list out in the
114 'correct' order.
115 2. added code so that local users and commands go to all connected nodes 
116 INCLUDING the isolated ones.
117 26Apr99=======================================================================
118 1. added set/user command as a hack, please use this with care, there is
119 very little checking.
120 2. added export_opernam.pl which is a basic reader of AK1A opernam.dat files
121 to stdout
122 25Apr99=======================================================================
123 1. Fixed problem with filtered spots not coming out.
124 2. Added the possibility of filtering on channel callsign
125 20Apr99=======================================================================
126 1. altered order of undefing and closing of user file in an attempt to make 
127 corruptions/missing users less likely.
128 2. made messages that are addressed to the node call appear to the alias call
129 3. check dates much more rigourously.
130 4. ignore SIGTERM and SIGINT during shutdown of the cluster
131 15Mar99=======================================================================
132 1. added $actiondata to filter line to allow per action data such as no of hops
133 2. fixed a silly problem in talk for non-existant callsigns
134 3. Added sysop command
135 02Mar99========================================================================
136 1. Changed DXUser so that it uses a homemade import/export hash routine 
137 2. DXUser now uses a DB_BTREE file
138 3. Added export_users.pl, import_users.pl and convert_users.pl
139 25Feb99========================================================================
140 1. added NL language stuff.
141 2. added set/language
142 21Feb99========================================================================
143 1. Allowed multiple 'on <freq>' for show/dx
144 2. Made sure the 'on 20m/ssb' thing worked (also 'on hf/cw').
145 3. first cut of the Filtering code, no user commands yet but the file
146 format is defined and manually added filters should work for spots
147 17Feb99========================================================================
148 1. added export_user.pl to export user files (for interest and safety)
149 2. changed DXUser::init to allow O_RDONLY access which may limit the number
150 of coredumps G0RDI seems to get.
151 15Feb99========================================================================
152 1. Added msg forwarding code which uses $main::root/msg/forward.pl.
153 14Feb99========================================================================
154 1. Changed A & K in WWV to be the other way around (I am told by G3IOR that
155 this will mean that we won't have pole to pole aurora nor all the power lines
156 overloading everywhere as well as a result of having values of K > 10).
157 2. allow the '~' character in message bodies.
158 3. Moved $main::data/badmsg.pl to $main::root/msg/badmsg.pl.
159 11Feb99========================================================================
160 1. Fixed a problem with isolated nodes' configurations being sent on sending 
161 local configs to new connections.
162 08Feb99========================================================================
163 1. added a $SIG{ALRM} in the client to actually catch the alarm when it goes 
164 off which means that the netrom/ax25 call programs terminate properly (and not
165 loop as fast as their little legs can paddle, soaking up CPU time).
166 2. Implemented read receipts as an especial request from G4PDQ.
167 3. Fiddled with DXUser a bit to see whether I can stop it core dumping on new
168 users in PC16s on G0RDI's machine.
169 4. Added E4 (Palestine) to Prefix data.
170 30Jan99========================================================================
171 1. Some of the dates we get can cause crashes, tried to make it more robust (oh
172 and Y2K compliant)
173 2. PC16 seem to come in with missing callsigns from somewhere
174 3. added $main::data/baddx.pl which prevents callsigns that are in the list being
175 a) forwarded b) stored and c) (except for the originator, if local) being
176 displayed locally.
177 4. added $main::data/badmsg.pl which deletes any messages whose TO address is
178 in this list (this is largely for european sensibilities). 
179 18Jan99========================================================================
180 1. added present(),presentish() and disconnect() to DXCron so that you can see 
181 (easily) if a station is on the cluster anywhere and also disconnect them
182 locally. 
183 2. added rcmd() to DXCron so you can send an rcmd to someone else from crontab.
184 3. <embarrassment>Fixed create_sysop.pl so that longitude is spelt correctly
185 there as well</embarrassment> made the update work properly. NOTE create_sysop
186 will only do what you expect if all cluster.pl and client.pl programs are 
187 stopped.
188 4. DXCron wasn't reading in reliably on startup, this is now (hopefully) fixed.
189 the -M semantics are rather strange!
190 5. The -w switch is now standard on cluster.pl
191 6. Added last_connect() which gives the last connect time of a user (or now
192 if connected).
193 7. Added present_on(call, node) and presentish_on(ditto) which returns true if 
194 the call is connected to the node.
195 8. incoming messages for users will now send a 'new message' message (instead
196 of merely generating the message)[who wrote this rubbish?].
197 9. Hooked $SIG{__WARN__} and $SIG{__DIE__} so we store these nasty error 
198 messages.
199 10. Print the no of users on restricted protocol links if we have had PC50
200 11. Had a go at making the sh/cl stats more accurate.
201 12. PC11 was trying to call Local::spot1 instead of Local::spot, no warning 
202 previously.
203 13. Added a simple lockfile to prevent more than one cluster running at a time
204 17Jan99========================================================================
205 1. fixed some permission problems on DXLog.
206 2. There is a circumstance in DXMsg which caused the cluster to stop on an 
207 null ref pointer which I can't get to the bottom of but have bandaided out 
208 for now.
209 3. Started filter and Database code.
210 4. Upper cased all the TO callsigns for sending to more than one station in
211 messages.
212 07Jan99========================================================================
213 1. Fixed Geomag after emacs reformatted it wrong so sh/wwv works again.
214 2. Added more range checking in WWV spots (they really are a heap of ...)
215 3. Changed create_sysop.pl so that you can update as well as create the user 
216 file
217 4. Remove spotter's SSID from WWV spots
218 06Jan99========================================================================
219 1. Do some range checking for spots and WWV in the future (got a WWV for Oct 
220 2034 whhich caused a bit of confusion!)
221 2. Make WWV spots broadcast them to the users! (as opposed to merely storing 
222 them)(thank you G0RDI).
223 3. Allow users to do show/announce (thank you JE1SGH).
224 4. Delay broadcasts to users if they are not in a 'prompt' state (means you can
225 add messages and see what you are doing on a busy system)
226 5. Made set/unset dx,ann,wx,talk,wwv do what is expected
227 6. added set/sys_location and set/set_qra to set the cluster lat/long and qra
228 7. New messages will now be announced on logon (if there are any)
229 03Jan99========================================================================
230 1. Upped the version no !!!!
231 2. made the DXProtocol routines much less sensitive to '~' characters (JE1SGH)
232 3. added '^' -> ':' conversions on ann, talk and dx commands
233 4. You can now send messages containing blank lines.
234 5. Fixed merge command problem reported by G0RDI
235 28Dec98========================================================================
236 1. Crossed fingers, got rid of the instabilities caused by execing programs
237 at vast speed (reduced it significantly anyway).
238 2. Personals will now move if homenode is known.
239 3. Added Local.pm for doing local specials
240 27Dec98========================================================================
241 1. Various detail changes to remove some more warning with -w on
242 2. Added DXCron handling - you can do crontabs now.
243 3. Added show/program command so you can see where it is loading your .pm files
244 from.
245 4. Added pc26/27 replies to locally connected cluster's merge (pc25) requests
246 5. Added spotters DXCC and original cluster to Spot data files.
247 23Dec98========================================================================
248 1. Reindented various things
249 2. Added missing $main::mycall on the end of outgoing PC11s (!)
250 3. Check that PC16/17 node calls really are nodes (AFAIAC).
251 22Dec98========================================================================
252 1. Added brackets round callsign if not here for prompt
253 2. Added Iain's set/password routine
254 3. Fixed sh/dx problems (the xemacs indent region messed Spot.pm up!)
255 4. Issued 1.15
256 21Dec98============= late! ====================================================
257 1. fixed problem with missing DXDebug in DXProt.
258 2. Fixed DXDebug so that it actually works as advertised with and without 
259 trailing \n. 
260 3. Added deduping of WWV spots as well (at for date,time,sfi,k and i) dups
261 4. Replaced the 0 in "02-Dec-1998" with ' ' so it reads " 2-Dec-1998", it seems
262 hard to credit it but some 'programs' out there that connect to clusters have
263 problems with the leading '0'!
264 5. In the same vain, included a strictly AK1A compatible sh/heading, apparently
265 this is necessary for the same reason as 4.
266 6. Started contrib tree stored the old show/heading in contrib/g0rdi/show.
267 7. Because I now correctly dedupe spots and wwv (there's a hostage to fortune..)
268 I have added a merge command. 
269 21Dec98========================================================================
270 1. Added "issue" to the client program for 'login' connections
271 2. Added more docs for client program.
272 3. Fixed problem introduced in 1.12 where a connect locally with a callsign of
273 someone connected remotely would stop the cluster.
274 4. issue release 1.13
275 20Dec98========================================================================
276 1. Removed all the warnings I get with perl -w (at least for just starting the
277 cluster and running a few commands).
278 2. Added per node hop control.
279 3. Added some docs on how to use it and isolation
280 4. Made talk command more intelligent in that if the user isn't seen and the
281 user's last node is visible it tries the talk anyway.
282 19Dec98========================================================================
283 1. Fixed problems with sh/rcmd (talk/ann/log) with a callsign as argument and
284 also made what G0RDI wanted work as well!
285 2. Added isolate flag to allow isolation of different networks at a gateway.
286 3. Changed make Makefile.PL to perl Makefile.PL in instructions
287 4. Copied latest instructions to html directory
288 5. Had another attempt at making clients disconnect without hanging everytime.
289 6. Changed msg queuing semantics so that the system routes on exact callsign.
290 7. Changed the protocol version so that it increments with the DXSpider version.
291 14Dec98========================================================================
292 1. Made the telnet thing work a bit better. It still will not work reliably to
293 a real telnetd on port 23.
294 2. Allowed network logins on client by specifying login instead of call.
295 3. made msg handling more robust (PC30 with unknown streams cause PC42), queueing
296 is only done on channels that are in state 'normal'.
297 4. Added pc command which takes a callsign and some text and sends it without
298 mods to the callsign, useful for sending manual PC protocol to unstick things.
299 Also for sending anonymous messages to online users.
300 5. Stopped duplicate messages being stored (it receives them and then bins them)
301 6. Implemented PC49 delete/full from outside (kill full on the inside)
302 7. Implemented the client command in connect scripts so that you can have 
303 different scripts for the same callsign.
304 8. Added sh/wwv command
305 13Dec98========================================================================
306 1. Fixed VS6 lat/long in prefix_data and wpxloc.raw
307 2. Sorted out last in times for remote users
308 3. editted and substitued G0RDI's version of the install instructions over
309 mine in spider/html
310 4. fixed telnet connections
311 5. added connect instructions to html tree.
312 6. Added some more help
313 7. Upissued version
314 12Dec98========================================================================
315 1. Incorporated sh/st, (un)set/lockout, forward/opername from Iain G0RDI
316 2. Added group handling with (un)set/group, show/group. This allows arbitrary
317 groups to be formed (for ann/<group> for example) and is also used to 'filter' 
318 spots, announces, wwvs etc into groups of cluster nodes (useful for creating 
319 disjoint cluster networks)
320 3. **** CHANGE mylongtitude to mylongitude in DXVars.pm ****
321 4. Altered QRA locator routines so they work correctly!
322 5. Fixed all commands that had the wrong mylat(itude) and mylong(itude) names
323 in.
324 07Dec98========================================================================
325 1. Added set/name, set/qra, set/location, set/qth, set/homenode, set/bbs, 
326 set/email
327 2. changed the Msg socket close to a shutdown (hopefully more reliable), this 
328 should stop clients hanging on exit.
329 3. Added Alias support for help
330 4. Added lltos and stoll routines to DXBearing
331 5. Added auto prompting for name, qth, location and homenode if any of these
332 aren't known.
333 06Dec98========================================================================
334 1. Fixed DXBearing::is_qra so that it correctly detects full QRA locators
335 2. Added sh/qra for doing locator distances and bearings
336 3. Added some stuff to Notes.txt on hints for command writers
337 4. Changed help system to use just one file per language
338 5. Started adding more help
339 6. Fixed 24Mhz band limits
340 7. Added apropos command and lots of new help text
341 05Dec98========================================================================
342 1. Added sh/heading and QRA locator calculation stuff
343 04Dec98========================================================================
344 1. Started Changes file
345 2. Added load/cmd_cache.pl to clear cmd cache shortcuts (use this if cluster.pl
346 get confused about where it is getting its commands from eg if you have
347 removed a file from local_cmd 'cos you want to go back to standard one)
348 3. Fixed bull handling at least to the extent that it stores them and
349 doesn't mess up the normal directory handling.
350 4. Fixed the unset/debug command so that it actually does the job!
351 5. Removed the middle line 'written in perl for unix' from show/version.pl