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