take only alphanum chars for dupe checking
[spider.git] / Changes
1 23Aug00=======================================================================
2 1. Added persistant dupe file so that all dupes are stored here (including
3 announces) - announces are now kept for 5 days (as default).
4 2. limit the characters stored in a dupe for spots and announces
5 20Aug00=======================================================================
6 1. Added system Alias for set/nodxgrid => unset/dxgrid
7 2. Add full individual checking for all PC protocol fields in all messages
8 and removed any language dependant stuff (hopefully).
9 3. console.pl is now a bit more international (client.c/pl already are)
10 19Aug00=======================================================================
11 1. Added an efficiency thing for AUTOLOADed accessors from OO Perl by Conway.
12 2. Fiddled with the rtty and digital bandplan frequencies.
13 18Aug00=======================================================================
14 1. added a couple of changes for perl 5.6.0
15 2. removed del_dup from DXUser for earlier versions of DB '1.85' (ie real ones
16 not 2.x versions in 1.85 compatibility mode).
17 3. Started the OOing of the PC protocol stuff.
18 15Aug00=======================================================================
19 1. added 1.25 of the admin manual html
20 14Aug00=======================================================================
21 1. Added regex support to sh/dup_*.pl commands
22 2. fixed rcmd in crontab so that will work again
23 13Aug00=======================================================================
24 1. removed extra /60 in AnnTalk to make deduping of announces work a bit
25 better for longer...
26 05Aug00=======================================================================
27 1. Fixed hex character problem put in somewhen in the C Client
28 03Aug00=======================================================================
29 1. caught some more signals (are any of these causing the random stopping
30 of the code?
31 2. the Console now requires 1.05 of the Curses module ^R REFRESHES THE SCREEN
32 (as does ^L) AT LAST!!!!!
33 02Aug00=======================================================================
34 1. put back hex check exception for PC29
35 01Aug00=======================================================================
36 1. made the export and import ascii system work finally. The user_asc file
37 generated (automatically and 0000Z Sunday morning) is autoloading. Just 
38 execute it and it will automatically reload your user database.
39 2. remove import_users.pl no longer necessary
40 31Jul00=======================================================================
41 1. try to fix paging problem.
42 2. added help for spoof and set/forward
43 3. fixed bogus callsign check for field 2 of a PC12
44 4. Add DB_File to DXCommandmode to make it available for commands
45 30Jul00=======================================================================
46 1. Added talk mode so that I don't have to keep typing T <call> all the time.
47 2. fiddled around with storing of Debug messages a bit more.
48 3. bomb proofed the type command.
49 4. started the objectifying for talk, dx and announcements.
50 5. fix talkmode so that it only does 'via' PC10s when it really needs to.
51 6. SEND now displays a message if you try to do it in not prompt mode.
52 7. stopped a few more things being done by rcmd (eg send, talk, ann, dx)
53 8. tidied up the talking a bit more.
54 9. Increase default hop counts all round.
55 10. Adjust hex encoding so that 8 bit characters should now go thru
56 11. check more of the essential protocol fields for 8 bit characters.
57 29Jul00=======================================================================
58 1. added forward/latlong which will forward ALL the users that have a latitude
59 and longitude set on them to one or more locally connected nodes - with a hop
60 count of 1.
61 2. speeded up the show/node command by using the DB_File interface and 
62 sequentially reading the data directly and only 'get'ting the ones that are
63 nodes.
64 3. did the same for show/isolate and show/lockout.
65 28Jul00=======================================================================
66 1. fixed watchdbg midnight rollover loop and removed the date part of the 
67 date/time translation to leave just the time.
68 27Jul00=======================================================================
69 1. made sure that 'en' is the default language on new users.
70 2. issue error message if shutdown is attempted by a low privileged user.
71 3. Make sure a privilege is defined for all users (even if it is 0).
72 4. Try to fix some more dups (and the time on them).
73 5. make the time stored on dups generated locally on spots an integer no of 
74 minutes * 60 
75 6. send unsolicited PC[38]5s to the sysop if online.
76 7. merged current html from www.dxcluster.org with Ian's stuff
77 8. Added sgml files into the source tree
78 9. changed default paclen in client.c to 236
79 26Jul00=======================================================================
80 1. added wantgrid (to control display of grid square info on DX Broadcasts)
81 2. added lastoper for controlling periodic demands for user info from other
82 nodes.
83 3. added spiderFAQ stuff from Ian G0VGS and latest update of the admin manual
84 4. changed updating and deleting from user file in an attempt to keep down
85 duplicates and possibly corruptions.
86 5. added a DXUser::export routine to allow the cluster to automatically 
87 export the user data in ascii from cron.
88 6. added a line in the ISSUED crontab to do the export once a week
89 7. delete annok and dxok if set to 1 in user records.
90 8. added export_users command to allow arbitary exporting of user files
91 9. added set and unset/dxgrid command to allow control over the grid squares 
92 on DX announcements
93 10. Removed export_user.pl (no longer needed)
94 11. made import_users.pl accept a non related input filename and always
95 update the current user file.
96 12. added an 'auto rcmd <node> for/oper <call>' for people I can see on the
97 cluster that issue spots and for whom I have no qra info (no more than once
98 a month). This isn't the default - set $send_opernam in
99 /spider/local/DXProtVars.pm (copied from /spider/perl). Good for gateways.
100 13. Despace spot texts properly again for deduping purposes.
101 14. Corrected Pc84/85 handling a bit.
102 15. Sync the user database every 15 secs to see whether we can reduce the 
103 corruptions and duplicates.
104 25Jul00=======================================================================
105 1. ignore \n in ax25 mode for C client.
106 2. remove extra space at the end of a DX spot announce when no grid square
107 is output.
108 3. added new admin manual from Ian G0VGS
109 20Jul00=======================================================================
110 1. Finally managed to update my source with the sourceforge one
111 2. added user->qra cleaning in various places
112 3. added four digit locator strings to broadcast DX spots (for users).
113 4. PC11 with blank callsigns should now be ignored.
114 5. put back the unpadding to the PC11 dup checking to catch spots with added
115 blanks at the end of lines.
116 25Jun00=======================================================================
117 1. added 0 to the regex that checks for valid data on the cluster.pl->client
118 channel - this will allow G0VGS and G0RDI to connect....
119 2. removed technically unnecessary /= 60 from the dup routines to see if 
120 Arnold's Sparcs don't then crash.
121 19Jun00=======================================================================
122 1. move ann_dup, spot_dup etc to dup_ann, dup_spots etc
123 2. made mode 3 the default line ending convention for all out going connects
124 via telnet in client.pl
125 18Jun00=======================================================================
126 1. fixed line ending ambiguities (I think) for telnet connections. Well 
127 actually only really band aided it. It works but isn't how I want it. 
128 Client.pl has got to go....
129 2. Added 1.21 of Ian G0VGS's admin manual
130 17Jun00=======================================================================
131 1. I believe I have fixed all the login/logout 'broken pipe' errors
132 2. Added G0RDI's 'links' command.
133 3. added update_sysop.pl which cleans out all previous versions of the sysops
134 information from the user database and recreates it with that in DXVars.pm
135 4. Added node type to links and who
136 5. Hardened up the cluster->client link in the cluster software so that 
137 rubbish on port 27754 doesn't (usually) crash the cluster.
138 14Jun00=======================================================================
139 1. fixed sh/node crash
140 2. fixed RTT in who.pl
141 13Jun00=======================================================================
142 1. fixed looping bug in C client on ending.
143 12Jun00=======================================================================
144 1. Added RCMD for clx
145 2. Added WCY processing
146 3. Added new node types (clx, spider, dxnet, arcluster)
147 4. Store echo settings
148 5. Store pagelth settings
149 6. sort out source of DXVars for callbot.pl
150 7. added sh/isolate
151 8. added sh/lockout 
152 11Jun00=======================================================================
153 1. removed extraneous DXDebug from DXUtil
154 2. added help for set/echo
155 3. Centralised all spot, wwv and ann dup handling into respective packages.
156 4. Created new AnnTalk package (for above and OOing announce and talk 
157 handling).
158 5. Fixed problem with outputting lines with | in them to console.pl.
159 10Jun00=======================================================================
160 1. got rid of some more nasty bugs in sh/qra.
161 2. fixed 9A3xx to always be Croatia (and not Haiti!).
162 09Jun00=======================================================================
163 1. change some print commands in DXMsg to dbg('err'...
164 2. overloaded confess, croak et al into DXDebug and removed Carp from 
165 everywhere and checked that the necessary debugging really does go into
166 the debug files now.
167 3. changed print statements in cluster.pl to dbg('err',... so they go into
168 the debug files as well.
169 4. Altered the logic around duplicate spots, reduced the length of comment
170 checked to 20 characters (this should solve some problems including those
171 people sucking ar-cluster spots with prefixes in the extreme rh end). 
172 08Jun00=======================================================================
173 1. fixed problem with binary characters from cluster->client
174 2. added set/echo and unset/echo commands
175 3. echo login characters on login: prompt for C client
176 4. Send \r\n on telnet connections for C Client
177 5. Make echoing the default option (for M$ telnet clients :-()
178 11May00=======================================================================
179 1. fixed looping in Msg.pm (at last)
180 10May00=======================================================================
181 1. wrote a cross between 'tail -f' and grepdbg so that you can watch the
182 debug files for particular strings and only have them print out. 
183 05May00=======================================================================
184 1. rewrote parts of Msg.pm and client.c so that the messages no longer use
185 a length word at the front of each one. They are simply strings of characters
186 separated by a \n. No binary characters are allowed (they are encoded as %nn)
187 a la HTTP. This hopefully cures Arnold's problem and also make it more
188 secure anyway. It also paves the way for the ax25/ip multicast client.
189 30Apr00=======================================================================
190 1. put some extra checks and balances in to message send routine in Msg.pm to
191 see if I can prevent the error seen by Arnold (which I think is only likely to
192 appear in heavily loaded sites).
193 25Apr00=======================================================================
194 1. Changed reply so that you can reply to more than one address privately
195 31Mar00=======================================================================
196 1. fixed nnn-mmm in kill (erase/delete) msgs so that mmm is also deleted and
197 not just nnn -> mmm-1.
198 2. Added an autosplit to message importing so that messages are split
199 automagically into bits if the filename used in the import directory starts
200 with "split". This will add a [1/5] type string on the the end of the subject. 
201 3. dedupe more aggressively on the text of Spots so that only the 1st 27 chars
202 of text are considered (as opposed to the whole lot).
203 30Mar00=======================================================================
204 1. altered client.pl connect code so that it doesn't falsely recognise 
205 /spider/src/client as a 'client' instruction.
206 28Mar00=======================================================================
207 1. Added buffering to client 
208 2. Fixed LOGIN so that you can login with an arbitrary callsign
209 27Mar00=======================================================================
210 1. updated wpxloc.raw and rsgb.cty for 4W and TX0.
211 2. display 'start time' rather than 'last start time in' in who.
212 3. Allow local users to see their own sh/talk or sh/log stuff.
213 4. A more robust version of the C client.
214 5. Added a message exporting command 'export'.
215 6. allow swopping on all messages, including imported and manually sent ones
216 7. S A < B @ C $BID now works from the command line and thus bbses ought to
217 be able to send messages into the cluster. Bids are (currently) ignored.
218 26Mar00=======================================================================
219 1. first cut of C client
220 18Mar00=======================================================================
221 1. fixed convkeps.pl so that it accepts more formats for floating point.
222 08Mar00=======================================================================
223 1. tidied up Sun.pm and sh/sat
224 2. fixed sh/qra so that the correct lat/long is displayed if only one locator
225 is given.
226 10Jan00=======================================================================
227 1. added Steve Franke's new Sun.pm and show/satellite command
228 08Jan00=======================================================================
229 1. really removed the restriction on 0 length messages.
230 2. added a periodic msg file import system a la FBB. Stick one or more files
231 into /spider/msg/import with a suitable SEND line, subject and the text and 
232 it will import it. The importer will accept some BBS syntax (eg < GB7TLH) to
233 allow you to customise the 'from' callsign.
234 03Jan00=======================================================================
235 1. changed the copyright statement in sh/version!
236 2. added sh/date with special "be compatible with ak1a" syntax for the output
237 of sh/date with no arguments, otherwise the same as sh/time. A special favour
238 to G4PDQ...
239 3. and another one, added show/node especially for G4PDQ.
240 01Jan00=======================================================================
241 1. Fixed Julian routines to get rid of the millenium bug! (do as I say, not
242 as I do!).
243 2. updated gdx.pl so that external programs can do a sh/dx just as a normal
244 user can. On reflection this could be used as a model for all sorts of 
245 "external" interface routines.
246 3. renamed gdx.pl as showdx.
247 11Dec99=======================================================================
248 1. added missing pc48 so that it calls the DXDb::process routine 
249 10Dec99=======================================================================
250 1. allow msgs to marked as read or unread
251 02Dec99=======================================================================
252 1. DX command doesn't recognise '6M' as '6m' in SH/DX ON 6M.
253 2. set/node now sets the homenode as the callsign.
254 3. changed the label for the 18Mhz band from '18m' to '17m' in the bands 
255 table. 
256 01Dec99=======================================================================
257 1. started the callbot which lives at n2tly.dxcluster.net 9000.
258 2. added www.qrz.com
259 3. added www.buck.com
260 4. added k4ute at no4j.com
261 28Nov99=======================================================================
262 1. fixed all the stupid errors introduced in 1.36 confusing DXUser->get with
263 DXCluster->get_exact.
264 24Nov99=======================================================================
265 1. extended badmsg.pl stuff so that it works like the forward file and allows
266 one to reject on to, from, origin and subject fields.
267 2. added a swop.pl again in a forward.pl like format that allows simple swop
268 for a field or test on a field and set another.
269 3. Fixed the problem that read private mail follows you around as well as
270 unread private mail does.
271 4. Change the logic of connections so that the node will accept callsigns with
272 SSIDs to -8 as different entities from each other. SSIDs > 8 are subtracted 
273 from 15 and are assumed to be coming in via netrom diddled connections. This
274 affects lots of the commands as well. I may not have got them all.
275 5. Hangup clients on HUP signals. I originally ignored them, for reasons that
276 are now lost in the mists of time. HUP signals now cause clients to die 
277 (cleanly) and disconnect everything correctly.
278 6. Added show/time command
279 21Nov99=======================================================================
280 1. lose extraneous rubbish after the callsign as sent by BBSes.
281 2. Change end label on sh/moon to RGain dB rather than Loss dB.
282 3. Remove spurious call to DXCluster->get_exact in pc50.
283 4. Allow rcmd to locally connected nodes that are not (for some reason) in the
284 nodes table.
285 5. Try and send a PC39 in more cases to a cluster that I want to disconnect
286 from in the hope that it notices and disconnects its end.
287 20Nov99=======================================================================
288 1. Added set/unset logininfo which will tell anybody that has this set when
289 someone has either logged in or out of this node.
290 2. Added set/pinginterval command which alters the length of time between
291 pings sent to nodes, the value is minutes < 120 and seconds above that, 0
292 means disable pinging (not recommended).
293 3. If someone does a sysop whilst connected via ax25, don't show privilege
294 level or passwd in stat/user.
295 4. Fixed the problem with the dx command where if the callsign ended in a ?
296 then the call and the freq would be replicated in the remarks.
297 5. Set/unset ann, dx, talk, beep, wx, wwv all are now permanent (ie stored in
298 the user file)
299 19Nov99=======================================================================
300 1. Added new version of sh/sun and also sh/moon from Steve K9AN
301 2. Added rtt to who.
302 3. added Aliase for show/tnc_sta to who.
303 4. added Alias for show/uptime to sh/cl 
304 18Nov99=======================================================================
305 1. Added ping obs counter together with Time::HiRes timers. This will dis-
306 connect nodes that fail to respond to 3 ping requests (on the 4th attempt). 
307 The default time is a ping every 3 mins, therefore a link will be struck out
308 after 12 minutes of nil response.
309 2. Maintain a table of outstanding connects to other nodes and prevent over-
310 laps (special favour to G0RDI).
311 17Nov99=======================================================================
312 1. Started using Data::Dumper for things again
313 2. 'Fixed' DXUser file corruption?
314 3. Allow multiline (ie lines with \n in them) output in $DXChannel::send 
315 4. Added Andrew K9CW's updated wpxloc.raw, regenerated prefix_data.pl
316 5. Put in callsign matching and stuff into sh/sun.
317 14Nov99=======================================================================
318 1. added BBS.pm to start BBS input of mail
319 2. fixed eval in DXUser to log errors rather than banging out
320 12Nov99=======================================================================
321 1. added sh/sun command kindly supplied by Steve K9AN.
322 2. allow ^Z on its own on a line to terminate a message
323 08Nov99=======================================================================
324 1. added spoofing (mk1 version) for sysops, useful for those little jobs like
325 reseting a user's qra locator and such like "spoof g7brn set/qra jo02lq".
326 2. fixed set/location so it stores the qra locator in the qra locator slot, 
327 NOT the lat/long (who wrote this stuff...?).
328 07Nov99=======================================================================
329 1. reduced the amount of stuff compared against for dup announces.
330 2. Check the regex for DK0WCY announces produces results before storing it as
331 a WWV.
332 3. Added some logging for set/priv (un)set/lockout.
333 4. Added test long path calc to sh/muf
334 5. Only wonder down the msg queue every minute
335 6. Put in the initial DB code (at last), you can create and remove local and
336 standard remote dbs, you can import AK1A style .FUL ascii databases, you can
337 enquire on a local or remote database.
338 7. A return ping to a node will clear down all outstanding pings to
339 that node (which might cause some confusion if more then one ping is
340 outstanding for a node, but then - shit happens).
341 04Nov99=======================================================================
342 1. Removed ~ from the end of the PC18.
343 2. Removed a hangover from duff character checking in cluster.pl
344 3. Stop PC frames that are to be routed, being routed back to themselves.
345 03Nov99=======================================================================
346 1. Simplified command caching so it uses anonymous subroutines, you should
347 also get error messages back on the console now when developing.
348 2. Allow locally connected AK1A clusters that for some obscure reason don't
349 issue PC19s to still appear as connected and allow them to acquire users.
350 31Oct99=======================================================================
351 1. updated Minimuf.pm and show/muf.pl to the fixed versions sent to me by
352 Steve Franke K9AN. 
353 2. Made set/badnodes work, added show/badnodes. This is an interim fix until
354 input spot filtering works.
355 24Oct99=======================================================================
356 1. fixed announces so that nodes only get one of them (not two).
357 2. Altered the select timeouts to prevent apparent excessive CPU usage on
358 multiprocessor machines (or at least that is what seems to be the trouble
359 here). 
360 22Oct99=======================================================================
361 1. allow filter CALLSIGNS to be in upper or lower case.
362 2. create the concept of input and output filters, input filters are of the 
363 form "in_$call.pl" eg: "in_g1tlh.pl" (or "in_G1TLH.pl"), output filters are 
364 "g1tlh.pl" (or "G1TLH.pl").
365 3. all users can now filter on spots, ann and wwv (assuming the sysop has set
366 the filters up - still no user creatable filters. Nodes can filter on both
367 input for announces and output for all of these. I would recommend setting 
368 up a few filters that are likely to be wanted and then symlinking callsigns
369 to them as you get requests.
370 4. added callsign and length of history/position of screen stats to console.
371 If you want to change the colour of the callsign you will need to copy the
372 Console.pm to your /spider/local directory and change the $mycallcolor equate.
373 21Oct99=======================================================================
374 1. fixed reply so that reply b or reply nop generate a bulletin with the 
375 correct address.
376 2. implemented sh/muf command.
377 3. reduced privilege of catchup and uncatchup to 5. This so that, suitably
378 privileged, nodes that occasionally link can rcmd a "catchup <nodecall> all"
379 to the node they are connecting to and thus prevent a large tranche of, 
380 potentially duplicate, mail. This isn't an issue for DXSpider, but may be
381 an issue for any AK1A clusters you are connected to.
382 20Oct99=======================================================================
383 1. Translated all the subroutines of minimuf into perl as Minimuf.pm
384 2. Limited the length of an ANN that is saved for de-duping to $pc12_dup_lth
385 (def 72)
386 3. help command should now return stuff that you expect.
387 4. reduced necessary privilege to use 'MSG' command to 6.
388 5. Correct the count of spots and wwv for a merge.
389 6. Allow decodes of DK0WCY-3 WWV data beacon announces
390 7. rewrote send so that an SB doesn't send a buckshee bull to NOPRIVATE!
391 8. Changed default colouration on console so that all spots >= 50Mhz are red
392 9. Fixed init command so that PC21s are sent down non-initted channels
393 10. Allow forwarding of unknown private mail. This means that you can set up
394 forwarding of 'foreign' mail across to and by gateways using the same 
395 mechanism as bulletins (/spider/msg/forward.pl).
396 11. Allow line wrapping on the console (G0RDI, G0VGS et al).
397 18Oct99=======================================================================
398 1. changed help command so that it works correctly with multiple title lines.
399 2. added to address to the list of things a message checks to see whether it
400 is a duplicate (how on earth did it take _this_ long to find this one?).
401 3. Changes S CC so that the callsign it says it has sent to is the real one
402 (request from G8TIC)
403 21Sep99=======================================================================
404 1. allow zero messages to be stored (request from G4PDQ)
405 2. make DX more flexible and change spotter syntax to be consistant with
406 sh/dx (request from K9AN)
407 30Aug99=======================================================================
408 1. remove -@ as well as \d from SSIDs for spots
409 2. remove WEB and/or NET from the front or rear of callsigns in Prefix.pm
410 29Aug99=======================================================================
411 1. Added msg command to allow the changing of To, From, Subject and so on the
412 messages. This seems particularly important just now as a whole raft of G3's
413 seem to be putting out non private bulls to callsigns.
414 2. While I am at set messages to TO fields that appear to be users to private
415 if they have been sent as bulls.
416 3. Add DISTROs, if a callsign field appears in /spider/msg/distro in upper
417 use that as a list of callsigns to send further. Note this is potentially
418 recursive as callsigns in a distro can be distros.
419 25Aug99=======================================================================
420 1. check the date of a WWV much more carefully.
421 24Aug99=======================================================================
422 1. Prevented spots with lowercase callsigns being forwarded. This opens a
423 much bigger can of worms which I shall have to address later.
424 17Aug99=======================================================================
425 1. all protocol except PC29 containing %XX characters will be dumped.
426 2. Changed console.pl so that if you start typing it moves the top window
427 back to the bottom.
428 19Jul99=======================================================================
429 1. Added iota and qra clauses to sh/dx as well, these take optional arguments
430 and will look for the appropriate strings.
431 17Jul99=======================================================================
432 1. Started database integration.
433 2. added qsl clause to sh/dx that searches for qsl or via in the dx info
434 16Jul99=======================================================================
435 1. drop frames with 'illegal' characters in them (but pass frames with 
436 embedded %XX characters).
437 15Jul99=======================================================================
438 1. Changed grepdbg to accept a regexp. More useful (to me anyway).
439 2. Altered init command so that it doesn't send PC21s down the initted 
440 channel.
441 10Jul99=======================================================================
442 1. added an explicit disconnect from my side for already connected calls. This
443 appears to have fixed a problem where if two consoles connect at the same time
444 with the same (sysop?) callsign the cluster would stop.
445 2. added some debugging in the Message handler to allow more state to be seen.
446 3. Message handler now seems to work better for longer and doesn't spew out
447 PC42 aborts with quite such gay abandon.
448 05Jul99=======================================================================
449 1. added stat/msg and stat/cluster commands to allow me to poke about inside
450 the msg and cluster node tables.
451 04Jul99=======================================================================
452 1. removed silly 'new message has arrived' to connected nodes 
453 2. added a ! command to the console.pl program; works like the bash shell.
454 01Jul99=======================================================================
455 1. Altered priv to 5 for connect.pl to match disconnect for nodes
456 29Jun99=======================================================================
457 1. fixed merge command that I broke.
458 2. added some randomness in waittimes for aborted outgoing messages 
459 3. Message Queuing now only occurs every 5 minutes (configurable if anyone 
460 wants to write the command for doing it) and on receipt of a PC16. This is
461 a further attempt at sorting the crossing of messages!
462 4. a PC33 will cause another attempt at queuing. If you are on a roll, keep
463 going!
464 28Jun99=======================================================================
465 1. console.pl now works with history and editting.
466 2. added scrolling to stuff sent by the cluster.
467 3. added colours to things.
468 27Jun99=======================================================================
469 1. added WWV filtering
470 2. added timeouts to for forwarding Messages, also added a waiting time for
471 failed (stalled) outgoing messages.
472 3. Incoming messages will now have priority over outgoing messages to the
473 same node.
474 4. Added 'catchup' command which will 'catchup' messages to date for a node. 
475 This means that when you start forwarding to a node, it doesn't get all the
476 messages queued up that are probably old.
477 5. added 'uncatchup' which does the opposite of the above.
478 6. fixed kill full and PC49 handling so that it actually works.
479 7. Fixed local aliases so they add to the front of the standard ones. This
480 means you only need to add your specials or override the system ones you need
481 to.
482 21Jun99=======================================================================
483 1. changed regex for cluster->client msgs so that strings like |---| are no
484 longer ignored.
485 20Jun99=======================================================================
486 1. prevented a merge to myself (causes a loop)
487 18Jun99=======================================================================
488 1. fixed a problem with DXLogPrint repeating log entries.
489 2. altered the permissions on disconnnect so that priv 5 users can disconnect
490 clusters, but still require priv 8 to disconnect users.
491 3. made sure that an incoming PC18 clears out all the cluster info for
492 that channel before re-initialising.
493 4. add init command.
494 5. disconnect users before nodess on shutdown
495 15Jun99=======================================================================
496 1. added grepdbg program (so you can search your debug files and get times
497 and dates of incidents).
498 2. Moved DXVars.pm to DXVars.pm.issue to force new users to cp it to their
499 local directory.
500 3. added $allowzero to DXProt to allow thru PC19s with zero protocol versions.
501 14Jun99=======================================================================
502 1. changed IO::File in help and apropos to IO::File
503 2. added a check for isa('DXNode') for PC50s
504 08Jun99=======================================================================
505 1. Started work on the curses based operator console.
506 03Jun99=======================================================================
507 1. cluster seems to have a memory leak, put DESTROY functions in where 
508 appropriate.
509 2. try to make sure that PC21 commands are not issued inappropriately and
510 also reformat PC19 for onward broadcast so that nodes coming in on loops are
511 dropped from those broadcasts.
512 3. make sure PC16,17,19,21 doen't affect locally connected nodes.
513 4. Changed all instances of FileHandle to IO::File.
514 01Jun99=======================================================================
515 1. removed a output of an unwanted pc21 for isolated nodes
516 31May99=======================================================================
517 1. Added checking for PC16,17,19 and 21 to make sure that they come in from
518 the channels that they are supposed to.
519 2. Pass the RCMDing node's priv level to the command (rather than the 
520 connecting node's privilege level).
521 3. Pass thru merge requests for other nodes.
522 4. Removed a warning from client.pl
523 5. routed external DB commands and drop them (for now) locally
524 6. routed external mail commands (ie those addressed elsewhere)
525 7. routed external PC26/27 lines 
526 25May99=======================================================================
527 1. try to make the lastin value correct even for local users
528 2. got rid of the stupid bug that failed to print out the offline message
529 but put a "*main::STDOUTmain" for every line of that message instead.
530 3. Ported to 5.00503 (well actually just installed it and it just runs). 
531 4. Added who command
532 23May99=======================================================================
533 1. Got rid of some of the useless error messages on global destruction when
534 quiting a program.
535 2. Stuck -w back on client.pl
536 23May99=======================================================================
537 1. tried to change connection to raw mode for cluster connections
538 2. sh/c and sh/u are now sorted in alphabetical order
539 3. Limited the number of queued dx spots when composing messages to 20 (the 
540 oldest one is lost for every one added above 20).
541 4. Added generalised shell globbing everywhere I think it is useful, including
542 sh/dx, dir, sh/files etc
543 5. Made dir more compatible with ak1a and added 'to' and 'from' call searching
544 it should now do everything that ak1a does except counts.
545 6. added similar functionality to kill command so that you can kill ranges, to
546 and from callsigns etc.
547 22May99=======================================================================
548 1. added check for -1 from Date::Parse and return undef for out of range dates
549 2. added show/files and type commands
550 21May99=======================================================================
551 1. made set/nodx work again.
552 2. made dx stuff queue nicely again when sending messages.
553 18May99=======================================================================
554 1. Added announce dup checking.
555 2. Added system announce filtering.
556 08May99=======================================================================
557 1. Added a bit more checking to the rcmd thing to make more sure that this
558 rcmd isn't coming from an imposter. Not possible to prevent everything 
559 ofcourse, just make it a bit harder.
560 2. altered set/lockout and set/privilege so that they can't executed remotely.
561 3. Added some code to reject rubbish (with invalid binary characters) protocol
562 or user lines as input.
563 4. prevented PC command being executed remotely :-)
564 05May99=======================================================================
565 1. change the connection overlap from an abort to a disconnect.
566 02May99=======================================================================
567 1. Added the mechanism for doing user spot filtering for spots in the cluster 
568 (no user control just yet - but sysops can do it).
569 2. Fixed problem with nodes sending out the node lists of isolated nodes.
570 30Apr99=======================================================================
571 1. Try to make it even more AK1A friendly by putting the node list out in the
572 'correct' order.
573 2. added code so that local users and commands go to all connected nodes 
574 INCLUDING the isolated ones.
575 26Apr99=======================================================================
576 1. added set/user command as a hack, please use this with care, there is
577 very little checking.
578 2. added export_opernam.pl which is a basic reader of AK1A opernam.dat files
579 to stdout
580 25Apr99=======================================================================
581 1. Fixed problem with filtered spots not coming out.
582 2. Added the possibility of filtering on channel callsign
583 20Apr99=======================================================================
584 1. altered order of undefing and closing of user file in an attempt to make 
585 corruptions/missing users less likely.
586 2. made messages that are addressed to the node call appear to the alias call
587 3. check dates much more rigourously.
588 4. ignore SIGTERM and SIGINT during shutdown of the cluster
589 15Mar99=======================================================================
590 1. added $actiondata to filter line to allow per action data such as no of hops
591 2. fixed a silly problem in talk for non-existant callsigns
592 3. Added sysop command
593 02Mar99========================================================================
594 1. Changed DXUser so that it uses a homemade import/export hash routine 
595 2. DXUser now uses a DB_BTREE file
596 3. Added export_users.pl, import_users.pl and convert_users.pl
597 25Feb99========================================================================
598 1. added NL language stuff.
599 2. added set/language
600 21Feb99========================================================================
601 1. Allowed multiple 'on <freq>' for show/dx
602 2. Made sure the 'on 20m/ssb' thing worked (also 'on hf/cw').
603 3. first cut of the Filtering code, no user commands yet but the file
604 format is defined and manually added filters should work for spots
605 17Feb99========================================================================
606 1. added export_user.pl to export user files (for interest and safety)
607 2. changed DXUser::init to allow O_RDONLY access which may limit the number
608 of coredumps G0RDI seems to get.
609 15Feb99========================================================================
610 1. Added msg forwarding code which uses $main::root/msg/forward.pl.
611 14Feb99========================================================================
612 1. Changed A & K in WWV to be the other way around (I am told by G3IOR that
613 this will mean that we won't have pole to pole aurora nor all the power lines
614 overloading everywhere as well as a result of having values of K > 10).
615 2. allow the '~' character in message bodies.
616 3. Moved $main::data/badmsg.pl to $main::root/msg/badmsg.pl.
617 11Feb99========================================================================
618 1. Fixed a problem with isolated nodes' configurations being sent on sending 
619 local configs to new connections.
620 08Feb99========================================================================
621 1. added a $SIG{ALRM} in the client to actually catch the alarm when it goes 
622 off which means that the netrom/ax25 call programs terminate properly (and not
623 loop as fast as their little legs can paddle, soaking up CPU time).
624 2. Implemented read receipts as an especial request from G4PDQ.
625 3. Fiddled with DXUser a bit to see whether I can stop it core dumping on new
626 users in PC16s on G0RDI's machine.
627 4. Added E4 (Palestine) to Prefix data.
628 30Jan99========================================================================
629 1. Some of the dates we get can cause crashes, tried to make it more robust (oh
630 and Y2K compliant)
631 2. PC16 seem to come in with missing callsigns from somewhere
632 3. added $main::data/baddx.pl which prevents callsigns that are in the list being
633 a) forwarded b) stored and c) (except for the originator, if local) being
634 displayed locally.
635 4. added $main::data/badmsg.pl which deletes any messages whose TO address is
636 in this list (this is largely for european sensibilities). 
637 18Jan99========================================================================
638 1. added present(),presentish() and disconnect() to DXCron so that you can see 
639 (easily) if a station is on the cluster anywhere and also disconnect them
640 locally. 
641 2. added rcmd() to DXCron so you can send an rcmd to someone else from crontab.
642 3. <embarrassment>Fixed create_sysop.pl so that longitude is spelt correctly
643 there as well</embarrassment> made the update work properly. NOTE create_sysop
644 will only do what you expect if all cluster.pl and client.pl programs are 
645 stopped.
646 4. DXCron wasn't reading in reliably on startup, this is now (hopefully) fixed.
647 the -M semantics are rather strange!
648 5. The -w switch is now standard on cluster.pl
649 6. Added last_connect() which gives the last connect time of a user (or now
650 if connected).
651 7. Added present_on(call, node) and presentish_on(ditto) which returns true if 
652 the call is connected to the node.
653 8. incoming messages for users will now send a 'new message' message (instead
654 of merely generating the message)[who wrote this rubbish?].
655 9. Hooked $SIG{__WARN__} and $SIG{__DIE__} so we store these nasty error 
656 messages.
657 10. Print the no of users on restricted protocol links if we have had PC50
658 11. Had a go at making the sh/cl stats more accurate.
659 12. PC11 was trying to call Local::spot1 instead of Local::spot, no warning 
660 previously.
661 13. Added a simple lockfile to prevent more than one cluster running at a time
662 17Jan99========================================================================
663 1. fixed some permission problems on DXLog.
664 2. There is a circumstance in DXMsg which caused the cluster to stop on an 
665 null ref pointer which I can't get to the bottom of but have bandaided out 
666 for now.
667 3. Started filter and Database code.
668 4. Upper cased all the TO callsigns for sending to more than one station in
669 messages.
670 07Jan99========================================================================
671 1. Fixed Geomag after emacs reformatted it wrong so sh/wwv works again.
672 2. Added more range checking in WWV spots (they really are a heap of ...)
673 3. Changed create_sysop.pl so that you can update as well as create the user 
674 file
675 4. Remove spotter's SSID from WWV spots
676 06Jan99========================================================================
677 1. Do some range checking for spots and WWV in the future (got a WWV for Oct 
678 2034 whhich caused a bit of confusion!)
679 2. Make WWV spots broadcast them to the users! (as opposed to merely storing 
680 them)(thank you G0RDI).
681 3. Allow users to do show/announce (thank you JE1SGH).
682 4. Delay broadcasts to users if they are not in a 'prompt' state (means you can
683 add messages and see what you are doing on a busy system)
684 5. Made set/unset dx,ann,wx,talk,wwv do what is expected
685 6. added set/sys_location and set/set_qra to set the cluster lat/long and qra
686 7. New messages will now be announced on logon (if there are any)
687 03Jan99========================================================================
688 1. Upped the version no !!!!
689 2. made the DXProtocol routines much less sensitive to '~' characters (JE1SGH)
690 3. added '^' -> ':' conversions on ann, talk and dx commands
691 4. You can now send messages containing blank lines.
692 5. Fixed merge command problem reported by G0RDI
693 28Dec98========================================================================
694 1. Crossed fingers, got rid of the instabilities caused by execing programs
695 at vast speed (reduced it significantly anyway).
696 2. Personals will now move if homenode is known.
697 3. Added Local.pm for doing local specials
698 27Dec98========================================================================
699 1. Various detail changes to remove some more warning with -w on
700 2. Added DXCron handling - you can do crontabs now.
701 3. Added show/program command so you can see where it is loading your .pm files
702 from.
703 4. Added pc26/27 replies to locally connected cluster's merge (pc25) requests
704 5. Added spotters DXCC and original cluster to Spot data files.
705 23Dec98========================================================================
706 1. Reindented various things
707 2. Added missing $main::mycall on the end of outgoing PC11s (!)
708 3. Check that PC16/17 node calls really are nodes (AFAIAC).
709 22Dec98========================================================================
710 1. Added brackets round callsign if not here for prompt
711 2. Added Iain's set/password routine
712 3. Fixed sh/dx problems (the xemacs indent region messed Spot.pm up!)
713 4. Issued 1.15
714 21Dec98============= late! ====================================================
715 1. fixed problem with missing DXDebug in DXProt.
716 2. Fixed DXDebug so that it actually works as advertised with and without 
717 trailing \n. 
718 3. Added deduping of WWV spots as well (at for date,time,sfi,k and i) dups
719 4. Replaced the 0 in "02-Dec-1998" with ' ' so it reads " 2-Dec-1998", it seems
720 hard to credit it but some 'programs' out there that connect to clusters have
721 problems with the leading '0'!
722 5. In the same vain, included a strictly AK1A compatible sh/heading, apparently
723 this is necessary for the same reason as 4.
724 6. Started contrib tree stored the old show/heading in contrib/g0rdi/show.
725 7. Because I now correctly dedupe spots and wwv (there's a hostage to fortune..)
726 I have added a merge command. 
727 21Dec98========================================================================
728 1. Added "issue" to the client program for 'login' connections
729 2. Added more docs for client program.
730 3. Fixed problem introduced in 1.12 where a connect locally with a callsign of
731 someone connected remotely would stop the cluster.
732 4. issue release 1.13
733 20Dec98========================================================================
734 1. Removed all the warnings I get with perl -w (at least for just starting the
735 cluster and running a few commands).
736 2. Added per node hop control.
737 3. Added some docs on how to use it and isolation
738 4. Made talk command more intelligent in that if the user isn't seen and the
739 user's last node is visible it tries the talk anyway.
740 19Dec98========================================================================
741 1. Fixed problems with sh/rcmd (talk/ann/log) with a callsign as argument and
742 also made what G0RDI wanted work as well!
743 2. Added isolate flag to allow isolation of different networks at a gateway.
744 3. Changed make Makefile.PL to perl Makefile.PL in instructions
745 4. Copied latest instructions to html directory
746 5. Had another attempt at making clients disconnect without hanging everytime.
747 6. Changed msg queuing semantics so that the system routes on exact callsign.
748 7. Changed the protocol version so that it increments with the DXSpider version.
749 14Dec98========================================================================
750 1. Made the telnet thing work a bit better. It still will not work reliably to
751 a real telnetd on port 23.
752 2. Allowed network logins on client by specifying login instead of call.
753 3. made msg handling more robust (PC30 with unknown streams cause PC42), queueing
754 is only done on channels that are in state 'normal'.
755 4. Added pc command which takes a callsign and some text and sends it without
756 mods to the callsign, useful for sending manual PC protocol to unstick things.
757 Also for sending anonymous messages to online users.
758 5. Stopped duplicate messages being stored (it receives them and then bins them)
759 6. Implemented PC49 delete/full from outside (kill full on the inside)
760 7. Implemented the client command in connect scripts so that you can have 
761 different scripts for the same callsign.
762 8. Added sh/wwv command
763 13Dec98========================================================================
764 1. Fixed VS6 lat/long in prefix_data and wpxloc.raw
765 2. Sorted out last in times for remote users
766 3. editted and substitued G0RDI's version of the install instructions over
767 mine in spider/html
768 4. fixed telnet connections
769 5. added connect instructions to html tree.
770 6. Added some more help
771 7. Upissued version
772 12Dec98========================================================================
773 1. Incorporated sh/st, (un)set/lockout, forward/opername from Iain G0RDI
774 2. Added group handling with (un)set/group, show/group. This allows arbitrary
775 groups to be formed (for ann/<group> for example) and is also used to 'filter' 
776 spots, announces, wwvs etc into groups of cluster nodes (useful for creating 
777 disjoint cluster networks)
778 3. **** CHANGE mylongtitude to mylongitude in DXVars.pm ****
779 4. Altered QRA locator routines so they work correctly!
780 5. Fixed all commands that had the wrong mylat(itude) and mylong(itude) names
781 in.
782 07Dec98========================================================================
783 1. Added set/name, set/qra, set/location, set/qth, set/homenode, set/bbs, 
784 set/email
785 2. changed the Msg socket close to a shutdown (hopefully more reliable), this 
786 should stop clients hanging on exit.
787 3. Added Alias support for help
788 4. Added lltos and stoll routines to DXBearing
789 5. Added auto prompting for name, qth, location and homenode if any of these
790 aren't known.
791 06Dec98========================================================================
792 1. Fixed DXBearing::is_qra so that it correctly detects full QRA locators
793 2. Added sh/qra for doing locator distances and bearings
794 3. Added some stuff to Notes.txt on hints for command writers
795 4. Changed help system to use just one file per language
796 5. Started adding more help
797 6. Fixed 24Mhz band limits
798 7. Added apropos command and lots of new help text
799 05Dec98========================================================================
800 1. Added sh/heading and QRA locator calculation stuff
801 04Dec98========================================================================
802 1. Started Changes file
803 2. Added load/cmd_cache.pl to clear cmd cache shortcuts (use this if cluster.pl
804 get confused about where it is getting its commands from eg if you have
805 removed a file from local_cmd 'cos you want to go back to standard one)
806 3. Fixed bull handling at least to the extent that it stores them and
807 doesn't mess up the normal directory handling.
808 4. Fixed the unset/debug command so that it actually does the job!
809 5. Removed the middle line 'written in perl for unix' from show/version.pl