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