[Dxspider-support] User_json fields
Joaquin .
joaquin at cronux.net
Thu Dec 16 07:22:39 GMT 2021
Hi Dirk,
Great list, hihihi
I have two ideas around my head.
One is the use of part of that information for the
https://webcluster.ure.es/ cluster that receives the spots from a
DXspider.
The other is more daring. I would like to share the DB between 3
nodes. I don't know if it will be possible, so I wanted to identify
the fields and see the effect that the concurrency of these nodes
(EA4URE-2, -3 and -5) has.
They currently share the filter directory and it works great.
This structure is for safety and not for load, where the nodes are
connected in a star.
In Spanish we say "that when the Devil gets bored, he kills flies with
his tail."
Thanks Dirk.
We continue to enjoy ...
Kin
El mié., 15 dic. 2021 20:45, Dirk Koopman via Dxspider-support <
dxspider-support at tobit.co.uk> escribió:
> In DXUser.pm. But, be warned, new fields get added moderately frequently.
>
> The current list is:
>
> %valid = (
> call => '0,Callsign',
> alias => '0,Real Callsign',
> name => '0,Name',
> qth => '0,Home QTH',
> lat => '0,Latitude,slat',
> long => '0,Longitude,slong',
> qra => '0,Locator',
> email => '0,E-mail Address,parray',
> priv => '9,Privilege Level',
> lastin => '0,Last Time in,cldatetime',
> lastseen => '0,Last Seen,cldatetime',
> passwd => '9,Password,yesno',
> passphrase => '9,Pass Phrase,yesno',
> addr => '0,Full Address',
> 'sort' => '0,Type of User', # A - ak1a, U - User, S -
> spider cluster, B - BBS
> xpert => '0,Expert Status,yesno',
> bbs => '0,Home BBS',
> node => '0,Last Node',
> homenode => '0,Home Node',
> lockout => '9,Locked out?,yesno', # won't let them
> in at all
> dxok => '9,Accept DX Spots?,yesno', # accept his dx
> spots?
> annok => '9,Accept Announces?,yesno', # accept his
> announces?
> lang => '0,Language',
> hmsgno => '0,Highest Msgno',
> group => '0,Group,parray', # used to create a group
> of users/nodes for some purpose or other
> buddies => '0,Buddies,parray',
> isolate => '9,Isolate network,yesno',
> wantbeep => '0,Req Beep,yesno',
> wantann => '0,Req Announce,yesno',
> wantwwv => '0,Req WWV,yesno',
> wantwcy => '0,Req WCY,yesno',
> wantecho => '0,Req Echo,yesno',
> wanttalk => '0,Req Talk,yesno',
> wantwx => '0,Req WX,yesno',
> wantdx => '0,Req DX Spots,yesno',
> wantemail => '0,Req Msgs as Email,yesno',
> pagelth => '0,Current Pagelth',
> pingint => '9,Node Ping interval',
> nopings => '9,Ping Obs Count',
> wantlogininfo => '0,Login Info Req,yesno',
> wantgrid => '0,Show DX Grid,yesno',
> wantann_talk => '0,Talklike Anns,yesno',
> wantpc16 => '9,Want Users from node,yesno',
> wantsendpc16 => '9,Send PC16,yesno',
> wantroutepc19 => '9,Route PC19,yesno',
> wantusstate => '0,Show US State,yesno',
> wantdxcq => '0,Show CQ Zone,yesno',
> wantdxitu => '0,Show ITU Zone,yesno',
> wantgtk => '0,Want GTK interface,yesno',
> wantpc9x => '0,Want PC9X interface,yesno',
> wantrbn => '0,Want RBN spots,yesno',
> wantft => '0,Want RBN FT4/8,yesno',
> wantcw => '0,Want RBN CW,yesno',
> wantrtty => '0,Want RBN RTTY,yesno',
> wantpsk => '0,Want RBN PSK,yesno',
> wantbeacon => '0,Want RBN Beacon,yesno',
> lastoper => '9,Last for/oper,cldatetime',
> nothere => '0,Not Here Text',
> registered => '9,Registered?,yesno',
> prompt => '0,Required Prompt',
> version => '1,Version',
> build => '1,Build',
> believe => '1,Believable nodes,parray',
> lastping => '1,Last Ping at,ptimelist',
> maxconnect => '1,Max Connections',
> startt => '0,Start Time,cldatetime',
> connlist => '1,Connections,parraydifft',
> width => '0,Preferred Width',
> rbnseeme => '0,RBN See Me',
> );
>
> This is used to provide Automatic Get/Setter subroutines which could be
> overridden by real ones. It also is the "valid" list of user attributes.
> Use by the code of something not this list will throw an error, and *may*
> stop the program, but these is much more likely to create a huge stack
> trace and will carry on. Sorry isn't not in alphabetical order. As it is a
> hash lookup table, order isn't relevant.
>
> As an aside, as sysop (privilege 9) you can see all the attributes that
> are defined for a user with stat/user <callsign>. You will see more or
> fewer attributes depending on what a user (or the system) has set. The
> digit before the description is the privilege level at which you have to be
> to see the contents of that field. Things like 'yesno' are some functions
> that display the contents of the attribute in a more human "friendly" way
> (for certain values of "human" and "friendly".
>
> Some of the comments are incomplete... Quite a lot of comments are
> missing....
>
> Many modules have these %value hash tables. To see the full horror of some
> of the output, try: stat/chan EA3CV next time you are connected. There
> are a fair few of these 'stat/<something>' commands. <cough> there might be
> a couple that I have forgotten to provide help for. See /spider/cmd/stat/*
> for a complete list.
>
> So come on, tell all. What are you up to?
>
> 73 Dirk
>
> On 15/12/2021 18:33, Joaquin . via Dxspider-support wrote:
>
> Hi Dirk,
>
> Where can I find the name of all the fields that the user_json DB uses?
>
> 73 de Kin
> EA3CV
>
> _______________________________________________
> Dxspider-support mailing listDxspider-support at tobit.co.ukhttps://mailman.tobit.co.uk/mailman/listinfo/dxspider-support
>
>
> _______________________________________________
> Dxspider-support mailing list
> Dxspider-support at tobit.co.uk
> https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.tobit.co.uk/pipermail/dxspider-support/attachments/20211216/7c26abf9/attachment-0001.htm>
More information about the Dxspider-support
mailing list