Delete spiderweb directory

This commit is contained in:
Corrado Gerbaldo 2022-08-23 07:42:13 +02:00 committed by GitHub
parent 8bbdd7e94f
commit 5591f75849
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
102 changed files with 0 additions and 6049 deletions

View File

@ -1,38 +0,0 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''
---
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**Expected behavior**
A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
**Additional context**
Add any other context about the problem here.

View File

@ -1,20 +0,0 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''
---
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.

View File

@ -1,76 +0,0 @@
# Contributor Covenant Code of Conduct
## Our Pledge
In the interest of fostering an open and welcoming environment, we as
contributors and maintainers pledge to making participation in our project and
our community a harassment-free experience for everyone, regardless of age, body
size, disability, ethnicity, sex characteristics, gender identity and expression,
level of experience, education, socio-economic status, nationality, personal
appearance, race, religion, or sexual identity and orientation.
## Our Standards
Examples of behavior that contributes to creating a positive environment
include:
* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members
Examples of unacceptable behavior by participants include:
* The use of sexualized language or imagery and unwelcome sexual attention or
advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic
address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting
## Our Responsibilities
Project maintainers are responsible for clarifying the standards of acceptable
behavior and are expected to take appropriate and fair corrective action in
response to any instances of unacceptable behavior.
Project maintainers have the right and responsibility to remove, edit, or
reject comments, commits, code, wiki edits, issues, and other contributions
that are not aligned to this Code of Conduct, or to ban temporarily or
permanently any contributor for other behaviors that they deem inappropriate,
threatening, offensive, or harmful.
## Scope
This Code of Conduct applies both within project spaces and in public spaces
when an individual is representing the project or its community. Examples of
representing a project or community include using an official project e-mail
address, posting via an official social media account, or acting as an appointed
representative at an online or offline event. Representation of a project may be
further defined and clarified by project maintainers.
## Enforcement
Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported by contacting the project team at corrado.gerbaldo@gmail.com. All
complaints will be reviewed and investigated and will result in a response that
is deemed necessary and appropriate to the circumstances. The project team is
obligated to maintain confidentiality with regard to the reporter of an incident.
Further details of specific enforcement policies may be posted separately.
Project maintainers who do not follow or enforce the Code of Conduct in good
faith may face temporary or permanent repercussions as determined by other
members of the project's leadership.
## Attribution
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
[homepage]: https://www.contributor-covenant.org
For answers to common questions about this code of conduct, see
https://www.contributor-covenant.org/faq

View File

@ -1,675 +0,0 @@
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
<program> Copyright (C) <year> <name of author>
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<http://www.gnu.org/licenses/>.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<http://www.gnu.org/philosophy/why-not-lgpl.html>.

View File

@ -1,273 +0,0 @@
SPIDERWEB
===
### Ham radio cluster web viewer for DxSpider
[![GPLv3 license](https://img.shields.io/badge/License-GPLv3-blue.svg)](http://perso.crans.org/besson/LICENSE.html)
[![Linux](https://svgshare.com/i/Zhy.svg)](https://svgshare.com/i/Zhy.svg)
[![made-with-python](https://img.shields.io/badge/Made%20with-Python-1f425f.svg)](https://www.python.org/)
[![made-with-javascript](https://img.shields.io/badge/Made%20with-JavaScript-1f425f.svg)](https://www.javascript.com)
[![CodeFactor](https://www.codefactor.io/repository/github/coulisse/spiderweb/badge)](https://www.codefactor.io/repository/github/coulisse/spiderweb)
- **Release:** v2.3
- **Author:** Corrado Gerbaldo - IU1BOW.
- **Mail:** <corrado.gerbaldo@gmail.com>
- **Licensing:** Gpl V3.0 see ["LICENSE"](LICENSE) file.
- **Languages:** This application is written in Python/flask,Javascript and HTML
___
**DXSpider** is a great DX Cluster software that has a usefull telnet interface.
I wrote this application in order to add a web user interface to DXSpider and show the spots collected.
The user could see 50 spots at time and filter them by band, spotter continent and spotted continent.
For this application I've used:
- **Bootstrap** for stylesheet CSS
- **jQuery** In the header you can find the link to MS link
- **qrz.com** For each callsing found you can click on lens and you'll see him on qrz.com
- **flag-icon-css** [https://github.com/lipis/flag-icon-css](https://github.com/lipis/flag-icon-css) I used it for show the country flags
- **ng3k.com** [ng3k.com](http://ng3k.com/misc/adxo.html) I used to get information about "Announced Dx Operations". Thanks to Bill/NG3K !!!
You can find my web site at [https://www.iu1bow.it](https://www.i1bow.it)
### Changelog
see file ["CHANGELOG.md"](docs/CHANGELOG.md)
### Install
**1) DXSpider**
First of all you have to installed [DXspider] (http://www.dxcluster.org/) and connected with some other cluster nodes.
**2) MariaDB / MySQL**
Then you have to install MariaDB on your web server, on the same server where DXSpider is running and configure DXSpider to use it: in your spider folder edit `local/DXVars.pm` adding these lines:
```DXWars.pm
# the SQL database DBI dsn
$dsn = "dbi:mysql:dxcluster:localhost:3306";
$dbuser = "your-user";
$dbpass = "your-password";
```
If you would change some MariaDB parameters, then you can find them in `/etc/mysql/my.cnf` or `/etc/my.cnf`, depending on your distro.
If the database will not be created automatically, please see ["DB_ISSUES.md"](docs/DB_ISSUES.md)
**3) Python modules**
You could install python modules using automatic or manual way.
*3.1) Automatic modules install*
after downloaded spiderweb move in the main folder and install using requirements.txt file
```console
foo@bar:~$ cd spiderweb
foo@bar:~$ pip install -r requirements.txt
```
*3.2) Manual modules install*
First of all you have to install the python3 pip installer
```console
foo@bar:~$ sudo apt install python3-pip
```
This application is based on Flask
To install **Flask**:
```console
foo@bar:~$ pip install flask
foo@bar:~$ pip install Flask-minify
foo@bar:~$ pip install staticjinja
foo@bar:~$ pip install flask_wtf
```
Then you have to install mysql libraries**:
```console
foo@bar:~$ pip install mysql-connector-python
foo@bar:~$ pip install --upgrade mysql-connector-python==8.0.12
```
Finally you have to install matplotlib and pandas in order to plots some graphics
```console
foo@bar:~$ pip3 install matplotlib
foo@bar:~$ pip3 install statsmodels
foo@bar:~$ pip3 install geopandas
foo@bar:~$ pip3 install shapely
or
foo@bar:~$ sudo -H pip3 install matplotlib --system
foo@bar:~$ sudo -H pip3 install statsmodels --system
foo@bar:~$ sudo -H pip3 install geopandas --system
foo@bar:~$ sudo -H pip3 install shapely --system
```
### Configuration
In the path `spiderweb/cfg/` rename `config.json.template` in `config.json`:
```console
foo@bar:~$ mv config.json.template config.json
```
then edit it and set the user and password of your database, the menu items, and other stuffs (callsign, mail address...).
There is also a specific parameter, named "enable_cq_filter" used to enable the CQ Zone filtering.
Othewhise, if you prefer, you could use an utility for edit your configuration and menu. Go in "script" folder and run ./config.sh
```console
foo@bar:~$ cd scripts
foo@bar:~$ ./config.sh
*** DxSpider configuration ***
Configuration file loaded from: ../cfg/config.json
h: help
vc: view config.
ec: edit config.
vm: view menu
em: edit menu
s: save
t: load config. from template
x: exit
Make your choiche:
```
In order to show the right *plots*, you have to generate them!
To do so you have to run *.sh* files inside *scripts* folders, or the better way is to **schedule** them with your **crontab**
```console
foo@bar:~$ crontab -e
```
then edit it in a manner like this:
```crontab
0 22 * * * /home/web/spiderweb/scripts/qso_world_map.sh > /dev/null 2>&1
0 23 * * * /home/web/spiderweb/scripts/qso_months.sh > /dev/null 2>&1
*/15 * * * * /home/web/spiderweb/scripts/propagation_heatmaps.sh > /dev/null 2>&1
0 1 * * * /home/web/spiderweb/scripts/qso_trend.sh > /dev/null 2>&1
*/30 * * * * /home/web/spiderweb/scripts/qso_hour_band.sh > /dev/null 2>&1
39 * * * * /home/web/spiderweb/scripts/monitor.sh> /dev/null 2>&1
__
```
### Run test
Now you can run your web application with the following command:
```console
foo@bar:~$ python3 webapp.py
```
The flask default port is 5000, so you can see your web app, typing `http://localhost:5000` in your web browser.
Keep in mind that the flask web server, usually is used as a test server.
### Production
There are some ways to use it in production.
My configuration is:
Cloudflare + Nginx + Bjoern
**Bjoern is a lightweight WSGI for python.**
for install it:
```console
foo@bar:~$ sudo apt install libev-dev libevdev2
foo@bar:~$ pip3 install bjoern
```
If you want you can make it as a _daemon service_.
Create and edit a file named for example spiderweb.service (in the systemd folder)
```console
foo@bar:~$ sudo nano /etc/systemd/system/spiderweb.service
```
Below an example of configuration:
```console
[Unit]
Description=bjoern instance spiderweb
After=network.target
After=multi-user.target
[Service]
User=web
Group=www-data
Type=simple
WorkingDirectory=/home/web/spiderweb
Environment="PATH=/home/web/spiderweb"
ExecStart=/usr/bin/python3 /home/web/spiderweb/wsgi.py
[Install]
WantedBy=multi-user.target
```
Then you can install and start the daemon:
```console
foo@bar:~$ sudo systemctl enable spiderweb.service
foo@bar:~$ sudo systemctl start spiderweb.service
foo@bar:~$ sudo systemctl status spiderweb.service
● spiderweb.service - bjoern instance spiderweb
Loaded: loaded (/etc/systemd/system/spiderweb.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2020-10-25 09:56:35 UTC; 8h ago
Main PID: 6518 (python3)
Tasks: 1 (limit: 420)
CGroup: /system.slice/spiderweb.service
└─6518 /usr/bin/python3 /home/web/spiderweb/wsgi.py
Oct 25 09:56:35 dxcluster01 systemd[1]: Started bjoern instance spiderweb.
```
Now you can install and configur **NGINX**
Install with:
```console
foo@bar:~$ sudo apt install nginx
```
Configure:
```console
sudo nano /etc/nginx/sites-available/myapp
```
```console
server {
listen 80;
server_name iu1bow.it www.iu1bow.it;
location ^~ /.well-known/ {
alias /home/web/verify/.well-known/;
}
location / {
ssi off;
include proxy_params;
proxy_pass http://localhost:8080/;
proxy_set_header Host $host;
}
}
```
For SSL I'm using [Cloudflare](https://www.cloudflare.com/). This is a free service that alow you to use https and a proxy cache.
**Search engine indexing:** when you are on-line, if you would to index your website on search engines, you have to generate a file named sitemap.xml and put it in /static/ folder. There are many tool to generate sitemap.xml, for example [www.xml-sitemaps.com] (https://www.xml-sitemaps.com/)
**Index on MySQL:** if you would to increase speed on callsign search, you could define some index on the table 'spot'. You can see more details on ["create_mysql_index.sql"](scripts/create_mysql_index.sql)
**Cookie settings:** if you don't use https, but you use http, you have to change the following setting in webapp.py:
```
SESSION_COOKIE_SECURE=True,
```
to
```
SESSION_COOKIE_SECURE=False,
```
### Monitoring
you can use the scritp `scripts/monitoring.sh` in order to monitoring your system. Check instruction inside this scripts.
### API
**Spot list**
You can retrive last spots calling "**/spotlist**"; For example [www.iu1bow.com/spotlist] (https://www.iu1bow.com/spotlist)
**country of a callsign**
You cam retrive some informations about a callsign with **callsign**; For example [www.iu1bow.com/callsign?c=IU1BOW] (https://www.iu1bow.com/callsign?c=IU1BOW)
### Screenshots
----------
<img src="docs/images/01_desktop_main.jpg" width="300"/>
<img src="docs/images/02_desktop_plot.jpg" width="300"/>
<p float="left">
<img src="docs/images/03_mobile_install.jpg" width="200"/>
<img src="docs/images/04_mobile_icon.jpg" width="200"/>
<img src="docs/images/05_mobile_splash.jpg" width="200"/>
<img src="docs/images/06_mobile_main.jpg" width="200"/>
</p>

View File

@ -1,6 +0,0 @@
# Security Policy
## Reporting a Vulnerability
Reporting a Vulnerability
Please report (suspected) security vulnerabilities to <corrado.gerbaldo@gmail.com> .
You will receive a response as soon as possible. If the issue is confirmed, we will try to release a patch.

View File

@ -1,74 +0,0 @@
{
"bands": [
{
"id": "160",
"min": 135.7,
"max": 1850
},
{
"id": "80",
"min": 3500,
"max": 3800
},
{
"id": "60",
"min": 5351,
"max": 5367
},
{
"id": "40",
"min": 7000,
"max": 7200
},
{
"id": "30",
"min": 10100,
"max": 10150
},
{
"id": "20",
"min": 14000,
"max": 14350
},
{
"id": "17",
"min": 18068,
"max": 18168
},
{
"id": "15",
"min": 21000,
"max": 21450
},
{
"id": "12",
"min": 24890,
"max": 24990
},
{
"id": "10",
"min": 28000,
"max": 29550
},
{
"id": "6",
"min": 50000,
"max": 50750
},
{
"id": "VHF",
"min": 144000,
"max": 146000
},
{
"id": "UHF",
"min": 432000,
"max": 435975
},
{
"id": "SHF",
"min": 1240000,
"max": 91298000
}
]
}

View File

@ -1,27 +0,0 @@
{
"mysql":{
"host":"localhost",
"user":"foo",
"passwd":"bar",
"db":"dxcluster"
},
"timer":{
"interval":30000
},
"plot_refresh_timer":{
"interval":450000
},
"mycallsign":"XXXXXX",
"mail":"foo@bar.com",
"mail_token": "foobar",
"enable_cq_filter":"n",
"telnet":"mysite:7300",
"menu": {
"menu_list": [
{"label":"Graphs & stats", "link": "/plots.html", "external": false},
{"label":"Sources", "link": "https://github.com/coulisse/spiderweb/" , "external": true},
{"label":"Cookies", "link": "/cookies.html", "external": false},
{"label":"Privacy", "link": "/privacy.html", "external": false}
]
}
}

View File

@ -1,32 +0,0 @@
{
"continents": [
{
"id": "AF",
"cq": "22,33,34,35,36,37,38,39"
},
{
"id": "AN",
"cq": "12"
},
{
"id": "AS",
"cq": "17,18,19,20,21,22,23,24,25,26,27,28"
},
{
"id": "EU",
"cq": "14,15,16,20,33,40"
},
{
"id": "NA",
"cq": "1,2,3,4,5,6,7,8"
},
{
"id": "OC",
"cq": "40,27,28,29,30,31,32"
},
{
"id": "SA",
"cq": "9,10,11,12,13"
}
]
}

View File

@ -1,391 +0,0 @@
{
"country_codes": [
{ "WPX": "1", "ISO": "bw", "desc": "Botswana" },
{ "WPX": "2", "ISO": "to", "desc": "Tonga" },
{ "WPX": "3", "ISO": "om", "desc": "Oman" },
{ "WPX": "4", "ISO": "bt", "desc": "Bhutan" },
{ "WPX": "5", "ISO": "ae", "desc": "United Arab Emirates" },
{ "WPX": "6", "ISO": "qa", "desc": "Qatar" },
{ "WPX": "7", "ISO": "bh", "desc": "Bahrain" },
{ "WPX": "8", "ISO": "pk", "desc": "Pakistan" },
{ "WPX": "9", "ISO": "tw", "desc": "Taiwan" },
{ "WPX": "10", "ISO": "cn", "desc": "China" },
{ "WPX": "11", "ISO": "nr", "desc": "Nauru" },
{ "WPX": "12", "ISO": "ad", "desc": "Andorra" },
{ "WPX": "13", "ISO": "gm", "desc": "The Gambia" },
{ "WPX": "14", "ISO": "bs", "desc": "Bahamas" },
{ "WPX": "15", "ISO": "mz", "desc": "Mozambique" },
{ "WPX": "16", "ISO": "cl", "desc": "Chile" },
{ "WPX": "17", "ISO": "cl", "desc": "Easter Island" },
{ "WPX": "18", "ISO": "cl", "desc": "San Felix San Ambrosio" },
{ "WPX": "18", "ISO": "cl", "desc": "San Felix & San Ambrosio" },
{ "WPX": "19", "ISO": "cl", "desc": "Juan Fernandez Islands" },
{ "WPX": "20", "ISO": "cu", "desc": "Cuba" },
{ "WPX": "21", "ISO": "ma", "desc": "Morocco" },
{ "WPX": "22", "ISO": "bo", "desc": "Bolivia" },
{ "WPX": "23", "ISO": "pt", "desc": "Portugal" },
{ "WPX": "24", "ISO": "pt", "desc": "Azores" },
{ "WPX": "25", "ISO": "pt", "desc": "Madeira Islands" },
{ "WPX": "26", "ISO": "uy", "desc": "Uruguay" },
{ "WPX": "27", "ISO": "ca", "desc": "St Paul Island" },
{ "WPX": "27", "ISO": "ca", "desc": "St. Paul Island" },
{ "WPX": "28", "ISO": "ca", "desc": "Sable Island" },
{ "WPX": "29", "ISO": "ao", "desc": "Angola" },
{ "WPX": "30", "ISO": "cv", "desc": "Cape Verde" },
{ "WPX": "31", "ISO": "km", "desc": "Comoros" },
{ "WPX": "32", "ISO": "de", "desc": "Fed Rep of Germany" },
{ "WPX": "32", "ISO": "de", "desc": "Fed. Rep. of Germany" },
{ "WPX": "33", "ISO": "ph", "desc": "Philippines" },
{ "WPX": "34", "ISO": "es", "desc": "Spain" },
{ "WPX": "35", "ISO": "es", "desc": "Balearic Islands" },
{ "WPX": "36", "ISO": "es", "desc": "Canary Islands" },
{ "WPX": "37", "ISO": "es", "desc": "Ceuta Melilla" },
{ "WPX": "37", "ISO": "es", "desc": "Ceuta & Melilla" },
{ "WPX": "38", "ISO": "ie", "desc": "Ireland" },
{ "WPX": "39", "ISO": "lr", "desc": "Liberia" },
{ "WPX": "40", "ISO": "ir", "desc": "Iran" },
{ "WPX": "41", "ISO": "et", "desc": "Ethiopia" },
{ "WPX": "42", "ISO": "fr", "desc": "France" },
{ "WPX": "43", "ISO": "gp", "desc": "Guadeloupe" },
{ "WPX": "44", "ISO": "yt", "desc": "Mayotte" },
{ "WPX": "45", "ISO": "nz", "desc": "New Caledonia" },
{ "WPX": "46", "ISO": "mq", "desc": "Martinique" },
{ "WPX": "47", "ISO": "pf", "desc": "French Polynesia" },
{ "WPX": "48", "ISO": "fr", "desc": "Clipperton Island" },
{ "WPX": "49", "ISO": "ca", "desc": "St Pierre Miquelon" },
{ "WPX": "49", "ISO": "ca", "desc": "St. Pierre & Miquelon" },
{ "WPX": "50", "ISO": "re", "desc": "Reunion Island" },
{ "WPX": "51", "ISO": "fr", "desc": "Glorioso Islands" },
{ "WPX": "52", "ISO": "fr", "desc": "Juan de Nova Europa" },
{ "WPX": "52", "ISO": "fr", "desc": "Juan de Nova, Europa" },
{ "WPX": "52", "ISO": "fr", "desc": "Juan de Nova" },
{ "WPX": "53", "ISO": "fr", "desc": "Tromelin Island" },
{ "WPX": "54", "ISO": "fr", "desc": "St Martin" },
{ "WPX": "54", "ISO": "fr", "desc": "St. Martin" },
{ "WPX": "55", "ISO": "fr", "desc": "Crozet Island" },
{ "WPX": "56", "ISO": "fr", "desc": "Kerguelen Islands" },
{ "WPX": "58", "ISO": "fr", "desc": "Amsterdam St Paul Is" },
{ "WPX": "58", "ISO": "fr", "desc": "Amsterdam & St. Paul Is." },
{ "WPX": "59", "ISO": "wf", "desc": "Wallis Futuna Islands" },
{ "WPX": "59", "ISO": "wf", "desc": "Wallis & Futuna Islands" },
{ "WPX": "60", "ISO": "fr", "desc": "French Guiana" },
{ "WPX": "61", "ISO": "gb", "desc": "England" },
{ "WPX": "62", "ISO": "im", "desc": "Isle of Man" },
{ "WPX": "63", "ISO": "ie", "desc": "Northern Ireland" },
{ "WPX": "64", "ISO": "je", "desc": "Jersey" },
{ "WPX": "65", "ISO": "gb", "desc": "Scotland" },
{ "WPX": "66", "ISO": "gg", "desc": "Guernsey" },
{ "WPX": "67", "ISO": "gb", "desc": "Wales" },
{ "WPX": "68", "ISO": "sb", "desc": "Solomon Islands" },
{ "WPX": "69", "ISO": "hu", "desc": "Hungary" },
{ "WPX": "70", "ISO": "ch", "desc": "Switzerland" },
{ "WPX": "71", "ISO": "li", "desc": "Liechtenstein" },
{ "WPX": "72", "ISO": "ec", "desc": "Ecuador" },
{ "WPX": "73", "ISO": "ec", "desc": "Galapagos Islands" },
{ "WPX": "74", "ISO": "ht", "desc": "Haiti" },
{ "WPX": "75", "ISO": "do", "desc": "Dominican Republic" },
{ "WPX": "76", "ISO": "co", "desc": "Colombia" },
{ "WPX": "77", "ISO": "co", "desc": "Malpelo Island" },
{ "WPX": "78", "ISO": "ni", "desc": "San Andres Providencia" },
{ "WPX": "78", "ISO": "ni", "desc": "San Andres & Providencia" },
{ "WPX": "78", "ISO": "ni", "desc": "San Andres" },
{ "WPX": "79", "ISO": "kr", "desc": "Republic of Korea" },
{ "WPX": "80", "ISO": "pa", "desc": "Panama" },
{ "WPX": "81", "ISO": "hn", "desc": "Honduras" },
{ "WPX": "82", "ISO": "th", "desc": "Thailand" },
{ "WPX": "83", "ISO": "va", "desc": "Vatican City" },
{ "WPX": "84", "ISO": "sa", "desc": "Saudi Arabia" },
{ "WPX": "85", "ISO": "it", "desc": "Italy" },
{ "WPX": "85", "ISO": "it", "desc": "African Italy" },
{ "WPX": "86", "ISO": "it", "desc": "Sardinia" },
{ "WPX": "86", "ISO": "it", "desc": "Sicily" },
{ "WPX": "88", "ISO": "dj", "desc": "Djibouti" },
{ "WPX": "90", "ISO": "gd", "desc": "Grenada" },
{ "WPX": "91", "ISO": "gw", "desc": "Guinea Bissau" },
{ "WPX": "91", "ISO": "gw", "desc": "Guinea-Bissau" },
{ "WPX": "92", "ISO": "lc", "desc": "St Lucia" },
{ "WPX": "92", "ISO": "lc", "desc": "St. Lucia" },
{ "WPX": "93", "ISO": "dm", "desc": "Dominica" },
{ "WPX": "94", "ISO": "vc", "desc": "St Vincent" },
{ "WPX": "94", "ISO": "vc", "desc": "St. Vincent" },
{ "WPX": "95", "ISO": "jp", "desc": "Japan" },
{ "WPX": "96", "ISO": "jp", "desc": "Minami Torishima" },
{ "WPX": "97", "ISO": "jp", "desc": "Ogasawara" },
{ "WPX": "98", "ISO": "mn", "desc": "Mongolia" },
{ "WPX": "99", "ISO": "no", "desc": "Svalbard" },
{ "WPX": "100", "ISO": "no", "desc": "Jan Mayen" },
{ "WPX": "101", "ISO": "jo", "desc": "Jordan" },
{ "WPX": "102", "ISO": "aq", "desc": "Antarctica" },
{ "WPX": "104", "ISO": "fm", "desc": "Micronesia" },
{ "WPX": "105", "ISO": "us", "desc": "Guantanamo Bay" },
{ "WPX": "106", "ISO": "us", "desc": "Baker Howland Islands" },
{ "WPX": "106", "ISO": "us", "desc": "Baker & Howland Islands" },
{ "WPX": "107", "ISO": "gu", "desc": "Guam" },
{ "WPX": "108", "ISO": "us", "desc": "Johnston Island" },
{ "WPX": "109", "ISO": "us", "desc": "Midway Island" },
{ "WPX": "110", "ISO": "us", "desc": "Palmyra Jarvis Islands" },
{ "WPX": "110", "ISO": "us", "desc": "Palmyra & Jarvis Islands" },
{ "WPX": "112", "ISO": "us", "desc": "Hawaii" },
{ "WPX": "113", "ISO": "us", "desc": "Kure Island" },
{ "WPX": "114", "ISO": "as", "desc": "American Samoa" },
{ "WPX": "115", "ISO": "us", "desc": "Wake Island" },
{ "WPX": "116", "ISO": "us", "desc": "Mariana Islands" },
{ "WPX": "117", "ISO": "us", "desc": "Alaska" },
{ "WPX": "118", "ISO": "us", "desc": "Navassa Island" },
{ "WPX": "119", "ISO": "vi", "desc": "US Virgin Islands" },
{ "WPX": "120", "ISO": "pr", "desc": "Puerto Rico" },
{ "WPX": "121", "ISO": "pr", "desc": "Desecheo Island" },
{ "WPX": "122", "ISO": "mh", "desc": "Marshall Islands" },
{ "WPX": "123", "ISO": "no", "desc": "Norway" },
{ "WPX": "-", "ISO": "no", "desc": "Bear Island" },
{ "WPX": "124", "ISO": "ar", "desc": "Argentina" },
{ "WPX": "125", "ISO": "lu", "desc": "Luxembourg" },
{ "WPX": "126", "ISO": "bg", "desc": "Bulgaria" },
{ "WPX": "127", "ISO": "pe", "desc": "Peru" },
{ "WPX": "128", "ISO": "lb", "desc": "Lebanon" },
{ "WPX": "129", "ISO": "at", "desc": "Austria" },
{ "WPX": "129", "ISO": "at", "desc": "Vienna Intl Ctr" },
{ "WPX": "130", "ISO": "fi", "desc": "Finland" },
{ "WPX": "131", "ISO": "ax", "desc": "Aland Islands" },
{ "WPX": "132", "ISO": "se", "desc": "Market Reef" },
{ "WPX": "133", "ISO": "cz", "desc": "Czech Republic" },
{ "WPX": "134", "ISO": "be", "desc": "Belgium" },
{ "WPX": "135", "ISO": "gl", "desc": "Greenland" },
{ "WPX": "136", "ISO": "fo", "desc": "Faroe Islands" },
{ "WPX": "137", "ISO": "dk", "desc": "Denmark" },
{ "WPX": "138", "ISO": "pg", "desc": "Papua New Guinea" },
{ "WPX": "139", "ISO": "nl", "desc": "Netherlands" },
{ "WPX": "142", "ISO": "br", "desc": "Brazil" },
{ "WPX": "143", "ISO": "eh", "desc": "Western Kiribati" },
{ "WPX": "144", "ISO": "br", "desc": "Fernando de Noronha" },
{ "WPX": "145", "ISO": "br", "desc": "St Peter St Paul" },
{ "WPX": "145", "ISO": "br", "desc": "St. Peter & St. Paul" },
{ "WPX": "146", "ISO": "br", "desc": "Trindade Martim Vaz" },
{ "WPX": "146", "ISO": "br", "desc": "Trindade & Martim Vaz" },
{ "WPX": "147", "ISO": "sr", "desc": "Suriname" },
{ "WPX": "148", "ISO": "bd", "desc": "Bangladesh" },
{ "WPX": "149", "ISO": "sc", "desc": "Seychelles" },
{ "WPX": "150", "ISO": "st", "desc": "Sao Tome Principe" },
{ "WPX": "150", "ISO": "st", "desc": "Sao Tome & Principe" },
{ "WPX": "151", "ISO": "se", "desc": "Sweden" },
{ "WPX": "152", "ISO": "pl", "desc": "Poland" },
{ "WPX": "153", "ISO": "sd", "desc": "Sudan" },
{ "WPX": "155", "ISO": "eg", "desc": "Egypt" },
{ "WPX": "156", "ISO": "gr", "desc": "Greece" },
{ "WPX": "157", "ISO": "gr", "desc": "Dodecanese" },
{ "WPX": "158", "ISO": "gr", "desc": "Crete" },
{ "WPX": "159", "ISO": "gr", "desc": "Mount Athos" },
{ "WPX": "160", "ISO": "tv", "desc": "Tuvalu" },
{ "WPX": "161", "ISO": "ki", "desc": "Central Kiribati" },
{ "WPX": "162", "ISO": "cl", "desc": "Eastern Kiribati" },
{ "WPX": "163", "ISO": "so", "desc": "Somalia" },
{ "WPX": "164", "ISO": "sm", "desc": "San Marino" },
{ "WPX": "165", "ISO": "tr", "desc": "Asiatic Turkey" },
{ "WPX": "165", "ISO": "tr", "desc": "European Turkey" },
{ "WPX": "166", "ISO": "is", "desc": "Iceland" },
{ "WPX": "167", "ISO": "gt", "desc": "Guatemala" },
{ "WPX": "168", "ISO": "cr", "desc": "Costa Rica" },
{ "WPX": "169", "ISO": "cr", "desc": "Cocos Island" },
{ "WPX": "169", "ISO": "cr", "desc": "Cocos (Keeling) Islands" },
{ "WPX": "170", "ISO": "cm", "desc": "Cameroon" },
{ "WPX": "171", "ISO": "fr", "desc": "Corsica" },
{ "WPX": "172", "ISO": "cf", "desc": "Central African Republic" },
{ "WPX": "173", "ISO": "cg", "desc": "Republic of the Congo" },
{ "WPX": "173", "ISO": "cg", "desc": "Dem. Rep. of the Congo" },
{ "WPX": "174", "ISO": "ga", "desc": "Gabon" },
{ "WPX": "175", "ISO": "td", "desc": "Chad" },
{ "WPX": "176", "ISO": "ci", "desc": "Cote d'Ivoire" },
{ "WPX": "177", "ISO": "bj", "desc": "Benin" },
{ "WPX": "178", "ISO": "ml", "desc": "Mali" },
{ "WPX": "179", "ISO": "ru", "desc": "European Russia" },
{ "WPX": "180", "ISO": "ru", "desc": "Franz Josef Land" },
{ "WPX": "181", "ISO": "ru", "desc": "Kaliningrad" },
{ "WPX": "182", "ISO": "ru", "desc": "Asiatic Russia" },
{ "WPX": "183", "ISO": "ua", "desc": "Ukraine" },
{ "WPX": "184", "ISO": "by", "desc": "Belarus" },
{ "WPX": "185", "ISO": "az", "desc": "Azerbaijan" },
{ "WPX": "186", "ISO": "ge", "desc": "Georgia" },
{ "WPX": "187", "ISO": "am", "desc": "Armenia" },
{ "WPX": "188", "ISO": "tm", "desc": "Turkmenistan" },
{ "WPX": "189", "ISO": "uz", "desc": "Uzbekistan" },
{ "WPX": "190", "ISO": "tj", "desc": "Tajikistan" },
{ "WPX": "191", "ISO": "kz", "desc": "Kazakhstan" },
{ "WPX": "192", "ISO": "kg", "desc": "Kyrgyzstan" },
{ "WPX": "193", "ISO": "md", "desc": "Moldova" },
{ "WPX": "194", "ISO": "lt", "desc": "Lithuania" },
{ "WPX": "195", "ISO": "lv", "desc": "Latvia" },
{ "WPX": "196", "ISO": "ee", "desc": "Estonia" },
{ "WPX": "197", "ISO": "ca", "desc": "Canada" },
{ "WPX": "198", "ISO": "au", "desc": "Australia" },
{ "WPX": "199", "ISO": "au", "desc": "Lord Howe Island" },
{ "WPX": "200", "ISO": "cx", "desc": "Christmas Island" },
{ "WPX": "201", "ISO": "cc", "desc": "Cocos Keeling Islands" },
{ "WPX": "202", "ISO": "au", "desc": "Mellish Reef" },
{ "WPX": "203", "ISO": "nf", "desc": "Norfolk Island" },
{ "WPX": "204", "ISO": "au", "desc": "Willis Island" },
{ "WPX": "205", "ISO": "hm", "desc": "Heard Island" },
{ "WPX": "206", "ISO": "au", "desc": "Macquarie Island" },
{ "WPX": "207", "ISO": "ai", "desc": "Anguilla" },
{ "WPX": "208", "ISO": "ms", "desc": "Montserrat" },
{ "WPX": "209", "ISO": "vg", "desc": "British Virgin Islands" },
{ "WPX": "210", "ISO": "tc", "desc": "Turks Caicos Islands" },
{ "WPX": "210", "ISO": "tc", "desc": "Turks & Caicos Islands" },
{ "WPX": "211", "ISO": "gs", "desc": "South Georgia Island" },
{ "WPX": "212", "ISO": "gb", "desc": "South Orkney Islands" },
{ "WPX": "213", "ISO": "gs", "desc": "South Sandwich Islands" },
{ "WPX": "214", "ISO": "gb", "desc": "South Shetland Islands" },
{ "WPX": "214", "ISO": "gb", "desc": "Shetland Islands" },
{ "WPX": "215", "ISO": "bm", "desc": "Bermuda" },
{ "WPX": "216", "ISO": "gb", "desc": "Chagos Islands" },
{ "WPX": "217", "ISO": "pn", "desc": "Pitcairn Island" },
{ "WPX": "218", "ISO": "hk", "desc": "Hong Kong" },
{ "WPX": "219", "ISO": "in", "desc": "India" },
{ "WPX": "220", "ISO": "in", "desc": "Andaman Nicobar Is" },
{ "WPX": "220", "ISO": "in", "desc": "Andaman & Nicobar Is." },
{ "WPX": "221", "ISO": "in", "desc": "Lakshadweep Islands" },
{ "WPX": "222", "ISO": "ag", "desc": "Antigua Barbuda" },
{ "WPX": "222", "ISO": "ag", "desc": "Antigua & Barbuda" },
{ "WPX": "223", "ISO": "bz", "desc": "Belize" },
{ "WPX": "224", "ISO": "kn", "desc": "St Kitts Nevis" },
{ "WPX": "224", "ISO": "kn", "desc": "St. Kitts & Nevis" },
{ "WPX": "225", "ISO": "bn", "desc": "Brunei Darussalam" },
{ "WPX": "226", "ISO": "us", "desc": "United States" },
{ "WPX": "227", "ISO": "mx", "desc": "Mexico" },
{ "WPX": "228", "ISO": "mx", "desc": "Revillagigedo" },
{ "WPX": "229", "ISO": "bf", "desc": "Burkina Faso" },
{ "WPX": "230", "ISO": "kh", "desc": "Cambodia" },
{ "WPX": "231", "ISO": "vn", "desc": "Vietnam" },
{ "WPX": "232", "ISO": "la", "desc": "Laos" },
{ "WPX": "233", "ISO": "mo", "desc": "Macao" },
{ "WPX": "234", "ISO": "fk", "desc": "Falkland Islands" },
{ "WPX": "235", "ISO": "mm", "desc": "Myanmar" },
{ "WPX": "237", "ISO": "af", "desc": "Afghanistan" },
{ "WPX": "238", "ISO": "id", "desc": "Indonesia" },
{ "WPX": "239", "ISO": "iq", "desc": "Iraq" },
{ "WPX": "240", "ISO": "vu", "desc": "Vanuatu" },
{ "WPX": "241", "ISO": "sy", "desc": "Syria" },
{ "WPX": "242", "ISO": "ni", "desc": "Nicaragua" },
{ "WPX": "243", "ISO": "ro", "desc": "Romania" },
{ "WPX": "244", "ISO": "sv", "desc": "El Salvador" },
{ "WPX": "245", "ISO": "rs", "desc": "Serbia" },
{ "WPX": "246", "ISO": "ve", "desc": "Venezuela" },
{ "WPX": "247", "ISO": "ve", "desc": "Aves Island" },
{ "WPX": "248", "ISO": "al", "desc": "Albania" },
{ "WPX": "249", "ISO": "gi", "desc": "Gibraltar" },
{ "WPX": "250", "ISO": "cy", "desc": "UK Base Areas on Cyprus" },
{ "WPX": "251", "ISO": "sh", "desc": "St Helena" },
{ "WPX": "251", "ISO": "sh", "desc": "St. Helena" },
{ "WPX": "252", "ISO": "gb", "desc": "Ascension Island" },
{ "WPX": "253", "ISO": "gb", "desc": "Tristan da Cunha Gough Islands" },
{ "WPX": "253", "ISO": "gb", "desc": "Tristan da Cunha & Gough" },
{ "WPX": "254", "ISO": "zw", "desc": "Zimbabwe" },
{ "WPX": "255", "ISO": "ky", "desc": "Cayman Islands" },
{ "WPX": "256", "ISO": "nz", "desc": "North Cook Islands" },
{ "WPX": "257", "ISO": "ss", "desc": "South Cook Islands" },
{ "WPX": "258", "ISO": "nu", "desc": "Niue" },
{ "WPX": "259", "ISO": "tk", "desc": "Tokelau Islands" },
{ "WPX": "260", "ISO": "nz", "desc": "New Zealand" },
{ "WPX": "261", "ISO": "nz", "desc": "Chatham Islands" },
{ "WPX": "262", "ISO": "nz", "desc": "Kermadec Islands" },
{ "WPX": "263", "ISO": "aq", "desc": "NZ Subantarctic Is" },
{ "WPX": "263", "ISO": "aq", "desc": "N.Z. Subantarctic Is." },
{ "WPX": "265", "ISO": "za", "desc": "South Africa" },
{ "WPX": "266", "ISO": "za", "desc": "Pr Edward Marion Is" },
{ "WPX": "266", "ISO": "za", "desc": "Pr. Edward & Marion Is." },
{ "WPX": "267", "ISO": "na", "desc": "Namibia" },
{ "WPX": "268", "ISO": "mt", "desc": "Sov Mil Order of Malta" },
{ "WPX": "269", "ISO": "ph", "desc": "Spratly Islands" },
{ "WPX": "270", "ISO": "mc", "desc": "Monaco" },
{ "WPX": "271", "ISO": "mu", "desc": "Agalega St Brandon" },
{ "WPX": "271", "ISO": "mu", "desc": "Agalega & St. Brandon" },
{ "WPX": "271", "ISO": "mu", "desc": "Agalega Islands" },
{ "WPX": "273", "ISO": "mu", "desc": "Mauritius" },
{ "WPX": "274", "ISO": "mu", "desc": "Rodriguez Island" },
{ "WPX": "275", "ISO": "gq", "desc": "Equatorial Guinea" },
{ "WPX": "276", "ISO": "gq", "desc": "Annobon Island" },
{ "WPX": "277", "ISO": "fj", "desc": "Fiji" },
{ "WPX": "278", "ISO": "sz", "desc": "Kingdom of eSwatini" },
{ "WPX": "279", "ISO": "tn", "desc": "Tunisia" },
{ "WPX": "280", "ISO": "gn", "desc": "Guinea" },
{ "WPX": "281", "ISO": "bv", "desc": "Bouvet" },
{ "WPX": "282", "ISO": "lk", "desc": "Sri Lanka" },
{ "WPX": "283", "ISO": "ch", "desc": "ITU HQ" },
{ "WPX": "284", "ISO": "un", "desc": "United Nations HQ" },
{ "WPX": "286", "ISO": "il", "desc": "Israel" },
{ "WPX": "287", "ISO": "ly", "desc": "Libya" },
{ "WPX": "288", "ISO": "cy", "desc": "Cyprus" },
{ "WPX": "289", "ISO": "tz", "desc": "Tanzania" },
{ "WPX": "290", "ISO": "ng", "desc": "Nigeria" },
{ "WPX": "291", "ISO": "mg", "desc": "Madagascar" },
{ "WPX": "292", "ISO": "mr", "desc": "Mauritania" },
{ "WPX": "293", "ISO": "ne", "desc": "Niger" },
{ "WPX": "294", "ISO": "tg", "desc": "Togo" },
{ "WPX": "295", "ISO": "ws", "desc": "Samoa" },
{ "WPX": "296", "ISO": "ug", "desc": "Uganda" },
{ "WPX": "297", "ISO": "ke", "desc": "Kenya" },
{ "WPX": "298", "ISO": "sn", "desc": "Senegal" },
{ "WPX": "299", "ISO": "jm", "desc": "Jamaica" },
{ "WPX": "300", "ISO": "ye", "desc": "Yemen" },
{ "WPX": "301", "ISO": "ls", "desc": "Lesotho" },
{ "WPX": "302", "ISO": "mw", "desc": "Malawi" },
{ "WPX": "303", "ISO": "dz", "desc": "Algeria" },
{ "WPX": "304", "ISO": "bb", "desc": "Barbados" },
{ "WPX": "305", "ISO": "mv", "desc": "Maldives" },
{ "WPX": "306", "ISO": "gy", "desc": "Guyana" },
{ "WPX": "307", "ISO": "gh", "desc": "Ghana" },
{ "WPX": "308", "ISO": "mt", "desc": "Malta" },
{ "WPX": "309", "ISO": "zm", "desc": "Zambia" },
{ "WPX": "310", "ISO": "kw", "desc": "Kuwait" },
{ "WPX": "311", "ISO": "sl", "desc": "Sierra Leone" },
{ "WPX": "312", "ISO": "my", "desc": "West Malaysia" },
{ "WPX": "313", "ISO": "my", "desc": "East Malaysia" },
{ "WPX": "313", "ISO": "my", "desc": "Sabah" },
{ "WPX": "314", "ISO": "np", "desc": "Nepal" },
{ "WPX": "315", "ISO": "cg", "desc": "Dem Rep of the Congo" },
{ "WPX": "316", "ISO": "bi", "desc": "Burundi" },
{ "WPX": "317", "ISO": "sg", "desc": "Singapore" },
{ "WPX": "318", "ISO": "rw", "desc": "Rwanda" },
{ "WPX": "319", "ISO": "tt", "desc": "Trinidad Tobago" },
{ "WPX": "319", "ISO": "tt", "desc": "Trinidad & Tobago" },
{ "WPX": "320", "ISO": "no", "desc": "Peter 1 Island" },
{ "WPX": "321", "ISO": "fj", "desc": "Conway Reef" },
{ "WPX": "323", "ISO": "ki", "desc": "Banaba Island" },
{ "WPX": "324", "ISO": "fj", "desc": "Rotuma Island" },
{ "WPX": "325", "ISO": "eh", "desc": "Western Sahara" },
{ "WPX": "326", "ISO": "aw", "desc": "Aruba" },
{ "WPX": "327", "ISO": "kp", "desc": "DPR of Korea" },
{ "WPX": "329", "ISO": "ph", "desc": "Scarborough Reef" },
{ "WPX": "330", "ISO": "tw", "desc": "Pratas Island" },
{ "WPX": "331", "ISO": "sk", "desc": "Slovak Republic" },
{ "WPX": "332", "ISO": "sb", "desc": "Temotu Province" },
{ "WPX": "333", "ISO": "py", "desc": "Paraguay" },
{ "WPX": "334", "ISO": "hr", "desc": "Croatia" },
{ "WPX": "335", "ISO": "si", "desc": "Slovenia" },
{ "WPX": "336", "ISO": "ba", "desc": "Bosnia Herzegovina" },
{ "WPX": "336", "ISO": "ba", "desc": "Bosnia-Herzegovina" },
{ "WPX": "337", "ISO": "ps", "desc": "Palestine" },
{ "WPX": "338", "ISO": "pf", "desc": "Austral Islands" },
{ "WPX": "339", "ISO": "fr", "desc": "Marquesas Islands" },
{ "WPX": "340", "ISO": "tl", "desc": "Timor Leste" },
{ "WPX": "340", "ISO": "tl", "desc": "Timor - Leste" },
{ "WPX": "341", "ISO": "gb", "desc": "Chesterfield Islands" },
{ "WPX": "342", "ISO": "pn", "desc": "Ducie Island" },
{ "WPX": "346", "ISO": "pw", "desc": "Palau" },
{ "WPX": "347", "ISO": "us", "desc": "Swains Island" },
{ "WPX": "348", "ISO": "er", "desc": "Eritrea" },
{ "WPX": "349", "ISO": "ie", "desc": "North Macedonia" },
{ "WPX": "350", "ISO": "me", "desc": "Montenegro" },
{ "WPX": "351", "ISO": "fr", "desc": "St Barthelemy" },
{ "WPX": "351", "ISO": "fr", "desc": "St. Barthelemy" },
{ "WPX": "353", "ISO": "cw", "desc": "Curacao" },
{ "WPX": "354", "ISO": "nl", "desc": "Bonaire" },
{ "WPX": "355", "ISO": "an", "desc": "Sint Eustatius" },
{ "WPX": "355", "ISO": "an", "desc": "Saba St Eustatius" },
{ "WPX": "355", "ISO": "an", "desc": "Saba & St. Eustatius" },
{ "WPX": "356", "ISO": "nl", "desc": "Sint Maarten" },
{ "WPX": "357", "ISO": "ss", "desc": "Republic of South Sudan" },
{ "WPX": "359", "ISO": "xk", "desc": "Republic of Kosovo" },
{ "WPX": "666", "ISO": "", "desc": "Pirate Country" }
]
}

View File

@ -1,249 +0,0 @@
{
"modes": [
{
"id": "cw",
"freq": [
{
"min": 1800.0,
"max": 1839.9
},
{
"min": 3500.0,
"max": 3569.9
},
{
"min": 7000.0,
"max": 7039.9
},
{
"min": 10100.0,
"max": 10129.9
},
{
"min": 14000.0,
"max": 14069.9
},
{
"min": 18068.0,
"max": 18099.9
},
{
"min": 21000.0,
"max": 21069.9
},
{
"min": 24890.0,
"max": 24914.9
},
{
"min": 28000.0,
"max": 28069.9
},
{
"min": 50000.0,
"max": 50499.9
},
{
"min": 51000.0,
"max": 52000.0
},
{
"min": 70030,
"max": 70250
},
{
"min": 144000,
"max": 144150
},
{
"min": 432000,
"max": 432150
},
{
"min": 1296000,
"max": 1296150
},
{
"min": 2320100,
"max": 2320150
},
{
"min": 3400000,
"max": 3402000
},
{
"min": 5668000,
"max": 5670000
},
{
"min": 5760000,
"max": 5762000
},
{
"min": 10368000,
"max": 10370000
},
{
"min": 10450000,
"max": 10452000
},
{
"min": 24048000,
"max": 24050000
},
{
"min": 47087000,
"max": 47089000
}
]
},
{
"id": "digi",
"freq": [
{
"min": 1840.0,
"max": 1841.0
},
{
"min": 3570.0,
"max": 3600.0
},
{
"min": 7040.0,
"max": 7080.0
},
{
"min": 10130.0,
"max": 10150.0
},
{
"min": 14070.0,
"max": 14095.0
},
{
"min": 18100.0,
"max": 18105.0
},
{
"min": 21070.0,
"max": 21100.0
},
{
"min": 21140.0,
"max": 21141.0
},
{
"min": 24915.0,
"max": 24930.0
},
{
"min": 28070.0,
"max": 28120.0
},
{
"min": 28180.0,
"max": 28180.0
},
{
"min": 50500.0,
"max": 51000.0
}
]
},
{
"id": "phone",
"freq": [
{
"min": 1843.0,
"max": 2000.0
},
{
"min": 3600.0,
"max": 4000.0
},
{
"min": 7081.0,
"max": 7300.0
},
{
"min": 14100.0,
"max": 14350.0
},
{
"min": 18105.0,
"max": 18168.0
},
{
"min": 21100.0,
"max": 21139.0
},
{
"min": 21141.0,
"max": 21450.0
},
{
"min": 24930.0,
"max": 24990.0
},
{
"min": 28120.0,
"max": 29700.0
},
{
"min": 50100,
"max": 50500
},
{
"min": 70030,
"max": 70250
},
{
"min": 144150,
"max": 144500
},
{
"min": 432150,
"max": 432500
},
{
"min": 1296150,
"max": 1296800
},
{
"min": 2320150,
"max": 2320800
},
{
"min": 3400000,
"max": 3402000
},
{
"min": 5668000,
"max": 5670000
},
{
"min": 5760000,
"max": 5762000
},
{
"min": 10368000,
"max": 10370000
},
{
"min": 10450000,
"max": 10452000
},
{
"min": 24048000,
"max": 24050000
},
{
"min": 47087000,
"max": 47089000
}
]
}
]
}

View File

@ -1,29 +0,0 @@
[loggers]
keys=root
[handlers]
keys=stream_handler,file_handler
[formatters]
keys=formatter
[logger_root]
level=INFO
handlers=stream_handler,file_handler
[handler_stream_handler]
class=StreamHandler
level=INFO
formatter=formatter
args=(sys.stderr,)
[handler_file_handler]
class=handlers.RotatingFileHandler
level=INFO
formatter=formatter
args = ('../log/plots.log', 'a',30000000, 5)
[formatter_formatter]
format=%(asctime)s [%(levelname)s] (%(filename)s) %(message)s
datefmt=

View File

@ -1,27 +0,0 @@
[loggers]
keys=root
[handlers]
keys=stream_handler,file_handler
[formatters]
keys=formatter
[logger_root]
level=INFO
handlers=stream_handler,file_handler
[handler_stream_handler]
class=StreamHandler
formatter=formatter
args=(sys.stderr,)
[handler_file_handler]
class=handlers.RotatingFileHandler
formatter=formatter
args = ('log/webapp.log', 'a',30000000, 5)
[formatter_formatter]
format=%(asctime)s [%(levelname)s] (%(filename)s) %(message)s
datefmt=

View File

@ -1,111 +0,0 @@
### Change log
Date: 04/03/2022
Release: v2.3
- lint on code with codefactor
- added new world qso in lasth month plot
___
Date: 13/01/2022
Release: v2.2
- fixed country code of Curacao
- managed CTY.dat file for a more precise localization of callsign
- bootstrap upgraded to 5.1.3
- added UTC clock in menu bar
- added cookie consent banner
- updated flag-icon-css
- modified modes.json in order to improve modes filter
- fixed forecast on months plots
- upgraded pillow library to 9.0 for security issues
___
Date: 04/12/2021
Release: v2.1
- created a new "spider" icon
- jquery upgraded to 3.6
- bootstrap upgraded to 5.0.2
- managed connection error to telnet host
- used a base template in order to put all csv/scripts on a page
- keywords changed
- added version to page footer
- created a build script in order to automating versioning and others
- added security policy in meta tag
- added cross-site request forgery security
- added security headers
- added cache control headers
___
16/05/2021: 2.0.2
- Fixed frequency mode on 40 meters
- Fixed unicode query
- used qry.py also inside webapp.py
- replaced MySqlDb with mysql.connector
___
14/05/2021: 2.0.1
- Addded installation with requirements
___
06/05/2021: 2.0
- Migrated to bootstrap 5
- Migrated to python 3
- Added configuration in config.json for telnet and mail address (so you can avoid to change index.html file)
- In the spot list, moved the country columns, after flag
- When press "search", collapse filters form
- Added mode filter
- fixed label on qso/months plot
- removed link to country-flags.io and used https://github.com/lipis/flag-icon-css hosted at https://cdnjs.com/libraries/flag-icon-css/3.4.1 in order to improve performances and remove cookies
- removed cookie bar
- improved offline page
- remove colors from callsing search resoults table
- added popover on mobile
- added monitor.sh in order to monitor your system
- added connected nodes in plots page (renamed as "plots and stats")
- added hour / band qso plot
- improved qso per month plot
- added plot trend
- improved logging
- insert bootstrap icons
- improved footer
- added "Announced Dx Operation" integration with ng3k website
- used bootstrap icons instead of custom icons
- migrated to last jquery version 3.6.0
___
04/10/2020: 1.2.2
- Added config.sh utilty in script folder, in order to avoid edit manually config.json
- fixex menu on callsign page
___
21/09/2020: 1.2.1
- Added country column (only on desktop version)
- Added external configurable menu
- Renamed json.config.example json.config.template
- Added code of conduct and issue templates
___
08/09/2020: 1.2
- Modified cookies.html in order to insert dinamically the host name (instead of dxcluster.iu1bobw.it)
- Removed sitemap.xml from git
- updated jquery version to 3.5.1
- added callsign search
- made flags responsive
- some little changes on meta tag and pages descriptions
- fixed day on datas
___
08/09/2020: 1.1.4
- Fixed menu on cookies and plots
___
08/09/2020: 1.1.3
- pretty print html pages
- removed horizontal scrollbar
- fixed icon apple not found
___
04/09/2020: 1.1.2
- Fix on continents.cfg
- minor changes on html tags
___
20/06/2020: 1.1.1
- managed plot refresh
___
16/06/2020: 1.1
- updated plots page in order to not cache images
___
02/06/2020: 1.0
- added cookie bar
- added cookie policy
- added nav bar
- added plots
___
08/03/2020: beta release

View File

@ -1,44 +0,0 @@
#DX Spider database issue
If, after edit DXVars.pm, your DX Spider **not create mysql database**, you have to create it **manually**.
Before to run the below instructions, please check that the user which is used to run dxspider; I hope this is not root, but another user like "sysop". If you are running it with root, I think you could have some problems.
Then, If you are using another user, procede.
- First of all you have to create the database. From Mysql console:
`CREATE DATABASE dxcluster;`
- Then you have to give the right privileges to the user you are using for dxspider.
For example:
`GRANT ALL PRIVILEGES ON dxcluster.* to 'sysop'@'localhost';`
- So manually the spot table with the following command:
CREATE TABLE 'spot' (
'rowid' int(11) NOT NULL AUTO_INCREMENT,
'freq' double NOT NULL,
'spotcall' varchar(14) NOT NULL,
'time' int(11) NOT NULL,
'comment' varchar(255) DEFAULT NULL,
'spotter' varchar(14) NOT NULL,
'spotdxcc' smallint(6) DEFAULT NULL,
'spotterdxcc' smallint(6) DEFAULT NULL,
'origin' varchar(14) DEFAULT NULL,
'spotitu' tinyint(4) DEFAULT NULL,
'spotcq' tinyint(4) DEFAULT NULL,
'spotteritu' tinyint(4) DEFAULT NULL,
'spottercq' tinyint(4) DEFAULT NULL,
'spotstate' char(2) DEFAULT NULL,
'spotterstate' char(2) DEFAULT NULL,
'ipaddr' varchar(40) DEFAULT NULL,
PRIMARY KEY ('rowid'),
KEY 'spot_ix1' ('time'),
KEY 'spot_ix2' ('spotcall'),
KEY 'spiderweb_spotter' ('spotter')
) ENGINE=InnoDB AUTO_INCREMENT=2598318 DEFAULT CHARSET=utf8mb4
- At the end, reboot your system.

View File

@ -1,10 +0,0 @@
how to connect dx-spider to another cluster node:
- login on gnu/linux as sysop user
- go in spider/connect folder and create a file named OTHERCALLSIGN with the connection info of the other node
- from your client (IU1BOW) send command: set/spider OHTERCALLSIGN
- Open file /spider/local_cmd/crontab ed put 0,10,20,30,40,50 * * * * start_connect('OTHERCALLSIGN') unless connected('OTHERCALLSIGN')
see:
http://www.dxcluster.org/main/adminmanual_en-11.html
https://tobit.co.uk/pipermail/dxspider-support/2014-November/012319.html

Binary file not shown.

Before

Width:  |  Height:  |  Size: 120 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 146 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 104 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 464 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 126 KiB

View File

@ -1,78 +0,0 @@
#***********************************************************************************
# Module used to get Announced DX Operation from NG3K website via .ICS (Calendar)
# file, parse it and return a dictionary with these events
#***********************************************************************************
__author__ = 'IU1BOW - Corrado'
import requests
import logging
from datetime import datetime
import tempfile
logging.basicConfig(level=logging.INFO,format='%(asctime)s [%(levelname)s]: %(message)s',datefmt='%m/%d/%Y %I:%M:%S')
#format single line
def format_line(prop):
prop_out=dict()
try:
dtstart=datetime.strptime(prop['DTSTART;VALUE=DATE'], '%Y%m%d')
dtend=datetime.strptime(prop['DTEND;VALUE=DATE'], '%Y%m%d')
now=datetime.now()
if dtstart <=now and dtend>=now:
prop_out['start']=dtstart.strftime('%Y-%m-%dT%H:%M:%S%z')
prop_out['end']=dtend.strftime('%Y-%m-%dT%H:%M:%S%z')
prop_out['summary']=prop['SUMMARY'].split('(')[0].strip()
prop_out['callsign']=prop['SUMMARY'].split('(',1)[1].split(')',1)[0]
prop_out['description']=prop['DESCRIPTION'].replace('\\', '')
except KeyError:
pass
return prop_out
#TODO: url from conf parameter
def get_adxo_events():
url = 'http://dxcal.kj4z.com/dxcal'
line_num=0
event_num=0
try:
logging.info('connection to: '+url)
req=requests.get(url)
events=[]
prop=dict()
prop_name=''
with tempfile.TemporaryFile() as temp:
temp.write(req.content)
temp.seek(0)
lines=temp.readlines()
for line_bytes in lines:
line=line_bytes.decode()
line_num+=1
current_line_array=line.strip().split(':', 1)
if current_line_array[0]=='BEGIN':
if current_line_array[1]=='VCALENDAR':
prop={}
if current_line_array[1]=='VEVENT':
event_num+=1
prop={}
else:
if current_line_array[0]=='END':
if current_line_array[1]=='VCALENDAR':
pass
if current_line_array[1]=='VEVENT':
prop=format_line(prop)
if prop:
events.append(prop)
else:
if len(current_line_array)>1:
prop_name=current_line_array[0]
prop[prop_name]=current_line_array[1]
else:
if len(prop_name)>0:
prop[prop_name]=prop[prop_name]+current_line_array[0]
logging.debug('number of line reads: '+str(line_num))
logging.info('number ADXO events: '+str(event_num))
return events
except Exception as e1:
logging.error(e1)
return

View File

@ -1,298 +0,0 @@
#*************************************************************************************
# CLI Utility used for manage configuration file
#*************************************************************************************
__author__ = 'IU1BOW - Corrado'
import os
import os.path
from os import path
import json
configs = [('mycallsign','Callsign_______________: '), \
('mysql/host','MySql host_____________: '),\
('mysql/db','MySql database_________: '),\
('mysql/user','MySql user_____________: '),\
('mysql/passwd','MySql password_________: '),\
('timer/interval','Spot page refresh(ms)__: ' ),\
('plot_refresh_timer/interval','Plot page refresh(ms)__: '),\
('mail','Mail address___________: '),\
('mail_token','token google 2FA auth__: '),\
('telnet','Telnet address_________: '),\
('enable_cq_filter','Enable cq filter______: ')
]
class bcolors:
HEADER = '\033[95m'
OKBLUE = '\033[94m'
OKGREEN = '\033[92m'
WARNING = '\033[93m'
FAIL = '\033[91m'
ENDC = '\033[0m'
BOLD = '\033[1m'
UNDERLINE = '\033[4m'
TEMPLATE_FILE = '../cfg/config.json.template'
USER_FILE = '../cfg/config.json'
#search and open the configuration file
def get_cfg_file(template):
if template:
cfg_file = TEMPLATE_FILE
if not path.exists(cfg_file):
print ('file not found')
cfg_file = ''
else:
cfg_file = USER_FILE
if not path.exists(cfg_file):
cfg_file = TEMPLATE_FILE
if not path.exists(cfg_file):
cfg_file = ''
print('Configuration file loaded from: '+cfg_file)
return cfg_file
#covert file in json
def get_cfg_json(f):
if f:
with open(f) as json_data_file:
cfg = json.load(json_data_file)
else:
cfg = {}
return cfg
#read a single value from json
def get_cfg_value(cfg,key):
k_arr = key.split('/')
l_arr = len(k_arr)
try:
if l_arr == 1:
val = cfg[k_arr[0]]
elif l_arr == 2:
val = cfg[k_arr[0]][k_arr[1]]
except KeyError:
val=''
return val
def set_cfg_value(cfg,key,val):
k_arr = key.split('/')
l_arr = len(k_arr)
try:
if l_arr == 1:
cfg[k_arr[0]]=val
elif l_arr == 2:
cfg[k_arr[0]][k_arr[1]]=val
except KeyError:
pass
return cfg
def style_field(lbl,val):
return lbl+bcolors.BOLD + str(val) + bcolors.ENDC
def show_menu(cfg,key):
menu=get_cfg_value(cfg,'menu/menu_list')
i=-1
for element in menu:
i+=1
print(style_field(str(i)+'. external: ',str(element['external']))+style_field(', label: ',element['label']))
print(style_field(' link____: ',element['link']))
print()
return
def help_list():
print ()
print (' h: help')
print (' vc: view config.')
print (' ec: edit config.')
print (' vm: view menu')
print (' em: edit menu')
print (' s: save')
print (' t: load config. from template')
print ()
print (' x: exit')
print ()
return
def help_menu_edit():
print ()
print (' n: new menu entry')
print (' d: delete menu entry')
print (' e: edit menu entry')
print ()
print (' x: exit')
print ()
return
def view(cfg,t):
if t == 'c':
i=0
for element in configs:
(key, lbl)=element
print(style_field(str(i)+'. '+lbl,str(get_cfg_value(cfg,key))))
i+=1
elif t == 'm':
print ('Menu:')
show_menu(cfg,'menu/menu_list')
print()
return
def user_input(caption):
return input(caption)
def edit_config(cfg):
view(cfg,'c')
inp=''
while inp!='x':
inp=str(user_input ('Type the number of config. you would to edit, x for end: ')).lower()
if inp.isdigit():
inp=int(inp)
try:
(key, lbl)=configs[inp]
print(style_field(lbl,get_cfg_value(cfg,key)))
val=str(user_input ('Enter new value, [ENTER] for nothing: '))
except IndexError:
print ('configuration not found!')
finally:
if val!='x' and val !='':
cfg=set_cfg_value(cfg,key,val)
return cfg
def menu_delete_entry(cfg):
view(cfg,'m')
inp=''
while inp!='x':
inp=str(user_input ('Choose the menu you would to delete, x for end: ')).lower()
if inp.isdigit():
inp=int(inp)
element = cfg['menu']['menu_list']
try:
del element[inp]
cfg['menu']['menu_list']=element
except IndexError:
print ('menu entry not found!')
return cfg
def is_external(val):
return val == 'y'
def menu_input_entry(entry,new_entry):
if not new_entry:
print('label old value: '+entry['label'])
label=str(user_input('label new value: '))
if not new_entry:
print('link old value: '+entry['link'])
link=str(user_input('link value: '))
if not new_entry:
print('external old value: '+str(entry['external']))
external = ''
while external != 'y' and external != 'n':
external=str(user_input('open link external [y/n]: ')).lower()
# if external == 'y':
# external = True
# else:
# external = False
external=is_external(external)
entry['label']=label
entry['link']=link
entry['external']=external
return entry
def menu_edit_entry(cfg):
view(cfg,'m')
inp=''
while inp!='x':
inp=str(user_input ('Choose the menu you would to edit, X for end: ')).lower()
if inp.isdigit():
inp=int(inp)
element = cfg['menu']['menu_list']
try:
element[inp]=menu_input_entry(element[inp],False)
cfg['menu']['menu_list']=element
except IndexError:
print ('menu entry not found!')
return cfg
def menu_new_entry(cfg):
view(cfg,'m')
inp=''
valid = False
entry=menu_input_entry({"label":"", "link": "", "external": False},True)
while not valid:
inp=str(user_input ('Enter the position number of your menu entry, X for end: '))
if inp.isdigit():
inp=int(inp)
if inp > len(cfg['menu']['menu_list']):
print('position not valid!')
valid = False
elif inp == len(cfg['menu']['menu_list']):
cfg['menu']['menu_list'].append(entry)
valid = True
else:
cfg['menu']['menu_list'].insert(inp,entry)
valid = True
else:
valid = False
return cfg
def edit_menu(cfg):
view(cfg,'m')
inp=''
while inp!='x':
help_menu_edit()
inp=str(user_input ('Edit menu> make your choiche: ')).lower()
if (inp == 'n'):
cfg=menu_new_entry(cfg)
elif inp == 'd':
cfg=menu_delete_entry(cfg)
elif inp == 'e':
cfg=menu_edit_entry(cfg)
return cfg
def save_cfg(cfg):
with open(USER_FILE, 'w') as outfile:
json.dump(cfg, outfile,indent=4)
print ('configuration saved to: '+USER_FILE)
return
def main():
print()
print('*** DxSpider configuration ***')
finput=get_cfg_file(False)
help_list()
cfg=get_cfg_json(finput)
inp = ''
while inp != 'x' and inp != 'exit':
inp = str(user_input('Main> make your choiche: ')).lower()
if (inp == 'h' or inp =='?' or inp =='help'):
help_list()
elif inp == 'vc':
view(cfg,'c')
elif inp == 'vm':
view(cfg,'m')
elif inp == 'ec':
cfg=edit_config(cfg)
elif inp == 'em':
cfg=edit_menu(cfg)
elif inp == 's' or inp == 'save':
save_cfg(cfg)
elif inp == 't':
finput=get_cfg_file(True)
cfg=get_cfg_json(finput)
if __name__ == '__main__':
main()

View File

@ -1,318 +0,0 @@
#*************************************************************************************
# Module used to download cty.dat country file and search callsign in it
#*************************************************************************************
__author__ = 'IU1BOW - Corrado'
import requests
import logging
import os
import time
import threading
from datetime import datetime
import json
logging.basicConfig(level=logging.INFO,format='%(asctime)s [%(levelname)s]: %(message)s',datefmt='%m/%d/%Y %I:%M:%S')
#TODO: url from conf parameter
url = 'https://www.country-files.com/cty/cty_wt_mod.dat'
cty_local=os.path.dirname(__file__)+'/../cfg/cty_wt_mod.dat'
country_file=os.path.dirname(__file__)+'/../cfg/country.json'
#-------------------------------------------------------------------------------------
# download country files cty.dat
#-------------------------------------------------------------------------------------
def download_cty(url,cty_local):
try:
logging.info('connection to: '+url)
req=requests.get(url)
f=open(cty_local,'wb')
f.write(req.content)
f.close()
logging.info('cty file saved in: '+cty_local)
return 0
except Exception as e1:
logging.error(e1)
return 1
#-------------------------------------------------------------------------------------
# get age of a file in days
#-------------------------------------------------------------------------------------
def file_age_in_days(pathname):
return (time.time() - os.stat(pathname).st_ctime)/(24*3600)
#-------------------------------------------------------------------------------------
# manage file cty.dat
#-------------------------------------------------------------------------------------
def get_cty(url,local):
if os.path.isfile(local):
age=file_age_in_days(local)
if age>7:
logging.info(cty_local+' too old ('+str(round(age,0))+' days): proceding to download it')
return download_cty(url,local)
# else:
# logging.info(cty_local+' updated ('+str(round(age,0))+' days), is not necessary to download it')
# return 0
logging.info(cty_local+' updated ('+str(round(age,0))+' days), is not necessary to download it')
return 0
# else:
# logging.info(cty_local+' not present: proceding to download it')
# return download_cty(url,local)
logging.info(cty_local+' not present: proceding to download it')
return download_cty(url,local)
#-------------------------------------------------------------------------------------
# parsing alias and get exceptions
#-------------------------------------------------------------------------------------
def parse_alias(alias,master):
try:
#create a dictionary of array, with start and end position of each exception
find_dict={}
find_dict['pos_cq']=[alias.find('('),alias.find(')')]
find_dict['pos_itu']=[alias.find('['),alias.find(']')]
find_dict['pos_lat_lon']=[alias.find('<'),alias.find('>')]
find_dict['pos_continent']=[alias.find('{'),alias.find('}')]
find_dict['pos_time']=[alias.find('~'),alias[:alias.find('~')].find('~')]
first=9999
parsed={}
#assign default values from master callsing
parsed["country"]=master["country"]
parsed["cq"]=master["cq"]
parsed["itu"]=master["itu"]
parsed["continent"]=master["continent"]
parsed["lat"]=master["lat"]
parsed["lon"]=master["lon"]
parsed["time_loc"]=master["time_loc"]
parsed["full"]=master["full"]
parsed["darc_waedc"]=master["darc_waedc"]
#extract override cq
if find_dict['pos_cq'][0]>=0:
parsed["cq"]=alias[find_dict['pos_cq'][0]+1:find_dict['pos_cq'][1]]
if find_dict['pos_cq'][0] < first:
first=find_dict['pos_cq'][0]
#extract override itu
if find_dict['pos_itu'][0]>=0:
parsed["itu"]=alias[find_dict['pos_itu'][0]+1:find_dict['pos_itu'][1]]
if find_dict['pos_itu'][0] < first:
first=find_dict['pos_itu'][0]
#extract override lat_lon
if find_dict['pos_lat_lon'][0]>=0:
lat_lon=alias[find_dict['pos_lat_lon'][0]+1:find_dict['pos_lat_lon'][1]]
parsed["lat"]=lat_lon[0:].split('/')[0]
parsed["lon"]=lat_lon[:len(lat_lon)].split('/')[1]
if find_dict['pos_lat_lon'][0] < first:
first=find_dict['pos_lat_lon'][0]
#extract override continent
if find_dict['pos_continent'][0]>=0:
parsed["continent"]=alias[find_dict['pos_continent'][0]+1:find_dict['pos_continent'][1]]
if find_dict['pos_continent'][0] < first:
first=find_dict['pos_continent'][0]
#extract override time
if find_dict['pos_time'][0]>=0:
parsed["time_loc"]=alias[find_dict['pos_time'][0]+1:find_dict['pos_time'][1]]
if find_dict['pos_time'][0] < first:
first=find_dict['pos_time'][0]
#extract callsign
callsing=alias[:first].upper()
if callsing.startswith('='):
parsed["full"]='y'
callsing=callsing[1:]
if callsing.startswith('*'):
parsed["darc_waedc"]='y'
callsing=callsing[1:]
return callsing, parsed
except Exception as e1:
template = "An exception of type {0} occurred. Arguments:\n{1!r}"
message = template.format(type(e1).__name__, e1.args)
logging.error(message)
logging.error(alias)
return -1
#-------------------------------------------------------------------------------------
# load file from configuration, containing all world country, with related ISO codes
#-------------------------------------------------------------------------------------
def load_country():
with open(country_file) as json_country:
return json.load(json_country)
#-------------------------------------------------------------------------------------
# search for ISO code, transcoding the country description
#-------------------------------------------------------------------------------------
def add_country(table):
country_data=load_country()
for key, value in table.items():
found=0
for i in country_data['country_codes']:
if i['desc'].upper()==value['country'].upper():
value["iso"]=i["ISO"]
value["wpx"]=i["WPX"]
found=1
break
if found==0:
logging.warning('country "'+value['country']+'" not found in cfg/country.json')
return
class prefix_table:
#-------------------------------------------------------------------------------------
# init of the class
# - download file cty.dat
# - parse file and create prefix_master with all prefixies and attributes
#.....................................................................................
# CTY.DAT Format
#
# reference: https://www.country-files.com/cty-dat-format/
#
# Note that the fields are aligned in columns and spaced out for readability only. It
# is the “:” at the end of each field that acts as a delimiter for that field:
# Column Length Description
# 1 26 Country Name
# 27 5 CQ Zone
# 32 5 ITU Zone
# 37 5 2-letter continent abbreviation
# 42 9 Latitude in degrees, + for North
# 51 10 Longitude in degrees, + for West
# 61 9 Local time offset from GMT
# 70 6 Primary DXCC Prefix (A “*” preceding this prefix indicates that the country
# is on the DARC WAEDC list, and counts in CQ-sponsored contests, but not
# ARRL-sponsored contests).
#
# Alias DXCC prefixes (including the primary one) follow on consecutive lines,
# separated by commas (,). Multiple lines are OK; a line to be continued should end with
# comma (,) though its not required. A semi-colon (;) terminates the last alias
# prefix in the list.
#
# If an alias prefix is preceded by =, this indicates that the prefix is to be treated
# as a full callsign, i.e. must be an exact match.
#
# The following special characters can be applied after an alias prefix:
# (#) Override CQ Zone
# [#] Override ITU Zone
# <#/#> Override latitude/longitude
# {aa} Override Continent
# ~#~ Override local time offset from GMT
#
#-------------------------------------------------------------------------------------
def __init__(self):
global prefix_master
prefix_master=dict()
initialization()
return
global initialization
def initialization():
refresh()
threading.Timer(3600*24,initialization).start() #try to refresh once a day
return
#-------------------------------------------------------------------------------------
# refresh data
#-------------------------------------------------------------------------------------
global refresh
def refresh():
logging.info('CTY: start initialization')
if get_cty(url,cty_local)>0:
logging.error('there is a problem during downloading country files!')
logging.info('continue with previous file')
logging.info('check the connectivity, or put manually the file '+cty_local)
line_num=0
line_num_valid=0
entities_number=0
data=''
table=[]
prefix_master.clear()
try:
with open(cty_local, 'r') as f:
for line in f:
line_num+=1
li=line.strip()
#remove comments
if not li.startswith("#"):
line_num_valid+=1
data+=li
logging.info('number of lines reads: '+str(line_num))
logging.info('number of valid lines: '+str(line_num_valid))
#split in array of lines terminated with semicolon
table=data.split(';')
for i,item_table in enumerate(table):
row=item_table.split(':')
#remove trailing spaces and uppercasing
row = [x.strip(' ') for x in row]
if len(row)==9:
#if the row is corret put the row in a master prefix dictionary
entities_number+=1
single_prefix={}
single_prefix["country"]=row[0]
single_prefix["cq"]=row[1]
single_prefix["itu"]=row[2]
single_prefix["continent"]=row[3]
single_prefix["lat"]=row[4]
single_prefix["lon"]=row[5]
single_prefix["time_loc"]=row[6]
single_prefix["full"]='n'
single_prefix["darc_waedc"]='n'
prefix_master[row[7].upper()]=single_prefix
#managing sub-prefixies
sub_prefixies=row[8].split(',')
for sb in sub_prefixies:
values={}
callsign, values=parse_alias(sb,single_prefix)
prefix_master[callsign]=values
logging.info('number of entities: '+str(entities_number))
logging.info('number of single alias: '+str(len(prefix_master)))
add_country(prefix_master)
logging.info('memory used for prefix: '+str(prefix_master.__sizeof__())+' bytes')
logging.info('CTY: initialization complete')
return
except Exception as e1:
template = "An exception of type {0} occurred. Arguments:\n{1!r}"
message = template.format(type(e1).__name__, e1.args)
logging.error(message)
return
#-------------------------------------------------------------------------------------
# find a callsign
#-------------------------------------------------------------------------------------
def find(self,callsign):
try:
data=dict()
i=len(callsign)
callsign=callsign.strip().upper()
while i>0:
try:
data=prefix_master[callsign[:i]]
data['match']=callsign[:i]
return data
except KeyError:
pass
i-=1
except Exception as e1:
template = "An exception of type {0} occurred. Arguments:\n{1!r}"
message = template.format(type(e1).__name__, e1.args)
logging.error(message)
return data
#not found
data["country"]="unknown country"
data["iso"]="xx"
return data

View File

@ -1,74 +0,0 @@
#*************************************************************************************
# Module used to interface with telnet cluster and get connected nodes
#*************************************************************************************
__author__ = 'IU1BOW - Corrado'
import telnetlib
import struct
import json
import logging
def parse_who(lines):
#print(lines.decode('ascii'))
#create a list o lines and define the structure
lines = lines.splitlines()
fmtstring='2x 9s 10s 18s 9s 8s 15s'
fieldstruct = struct.Struct(fmtstring)
row_headers=('callsign','type','started','name','average_rtt','link')
#skip first lines and last line
payload=[]
for i in range(3,len(lines)-1):
line=lines[i]
ln=len(line)
padding=bytes(' ' * (struct.calcsize(fmtstring)-ln),'utf-8')
line=(line+padding)
if ln > 10:
parse = fieldstruct.unpack_from
fields =list(parse(line))
for j,item_field in enumerate(fields):
try:
fields[j]=item_field.decode('utf-8').strip()
except AttributeError:
print(item_field)
payload.append(dict(zip(row_headers,fields)))
# payload = json.dumps(payload)
return payload
def who(host,port,user):
WAIT_FOR = b'dxspider >'
TIMEOUT=1
res=0
try:
tn = telnetlib.Telnet(host,port,TIMEOUT)
try:
tn.read_until(b"login: ",TIMEOUT)
tn.write(user.encode('ascii') + b"\n")
res=tn.read_until(WAIT_FOR,TIMEOUT)
tn.write(b"who\n")
res=tn.read_until(WAIT_FOR,TIMEOUT)
tn.write(b"exit\n")
except EOFError:
logging.error ('could not autenticate to telnet dxspider host: check user callsign ')
logging.error (res)
res=0
except:
logging.error ('could not connect to telnet dxspider host: check host/port')
ret = ''
if res!=0:
ret=parse_who(res)
else:
ret=''
return ret

View File

@ -1,137 +0,0 @@
#*************************************************************************************
# Module used to convert dxcluster band file to band configuration file modes for
# spiderweb
# you can use it in build step
#*************************************************************************************
__author__ = 'IU1BOW - Corrado'
import logging
import os
import time
from datetime import datetime
import json
import re
import sys
logging.basicConfig(level=logging.INFO,format='%(asctime)s [%(levelname)s]: %(message)s',datefmt='%m/%d/%Y %I:%M:%S')
#dxspider_band='/home/sysop/spider/data/bands.pl'
output_modes='../cfg/modes.json'
#-------------------------------------------------------------------------------------
# reads bands file and convert to json
#-------------------------------------------------------------------------------------
def parse(input_file):
line_num=0
line_num_valid=0
data=''
band_trigger = False
try:
with open(input_file, 'r') as f:
for line in f:
line_num+=1
li=line.strip()
#remove comments
if li.startswith("%bands = "):
band_trigger = True
if li.endswith(");"):
band_trigger = False
if not li.startswith("#") and band_trigger == True:
line_num_valid+=1
data+=li
logging.debug("first step parsing output: ")
logging.debug(data)
#replacing strings in order to obtain a json
data=data.lower()
data=data.replace(" ","")
data=data.replace("bless","")
data=data.replace("%bands=","")
data=data.replace(",'bands'","")
data=re.sub(r"([\"'])(?:(?=(\\?))\2.)*?\1=>", "", data) #remove token like '136khz' =>
data=data.replace("=>",":")
data=data.replace("(","")
data=data.replace(")","")
data=re.sub(r'([a-zA-Z]+):', r'"\1":', data) #add quotation around words
data=data.replace(",}","}")
data="["+data+"]"
data=data.replace(",]","]")
logging.debug("second step parsing output: ")
logging.debug(data)
return json.loads(data)
except Exception as e1:
template = "An exception of type {0} occurred. Arguments:\n{1!r}"
message = template.format(type(e1).__name__, e1.args)
logging.error(message)
logging.error(input_file)
return ""
#-------------------------------------------------------------------------------------
# add min max freq element to the related mode in final json
#-------------------------------------------------------------------------------------
def add_freq(mode, freq, json_modes):
try:
for modes in json_modes['modes']:
if modes["id"]==mode:
ind_freq = 0
while ind_freq < len(freq):
modes["freq"].append({"min":freq[ind_freq],"max":freq[ind_freq+1]})
ind_freq +=2
return json_modes
except Exception as e1:
template = "An exception of type {0} occurred. Arguments:\n{1!r}"
message = template.format(type(e1).__name__, e1.args)
logging.error(message)
return {}
#-------------------------------------------------------------------------------------
# reads bands file and convert to json
#-------------------------------------------------------------------------------------
def create_output(data):
json_modes=json.loads('{"modes":[{"id":"cw","freq":[]},{"id":"phone","freq":[]},{"id":"digi","freq":[]}]}')
try:
for element in data:
for mode in element:
if mode == "band":
pass
elif mode == "cw":
json_modes=add_freq("cw",element[mode],json_modes)
elif mode == "ssb":
json_modes=add_freq("phone",element[mode],json_modes)
else:
json_modes=add_freq("digi",element[mode],json_modes)
logging.debug("final step output: ")
logging.debug(json.dumps(json_modes))
return json_modes
except Exception as e1:
template = "An exception of type {0} occurred. Arguments:\n{1!r}"
message = template.format(type(e1).__name__, e1.args)
logging.error(message)
logging.error(input_file)
return {}
#*************************************************************************************
# Main
#*************************************************************************************
logging.info('RDxSpider band file conversion starting...')
if len(sys.argv)!=2:
logging.error("argument invalid. Specify dxcluster band file")
logging.error("use: python get_dxcluster_modes.py input_file")
raise Exception()
dxspider_band=sys.argv[1]
parsed = parse(dxspider_band)
if parsed != "" :
json_output=create_output(parsed)
with open(output_modes, 'w') as outfile:
json.dump(json_output, outfile,indent=4)
logging.info('modes saved to: '+output_modes)
logging.info('DxSpider band file conversion completed')
else:
logging.error("error on parsing input file")

View File

@ -1,88 +0,0 @@
#*****************************************************************************************
# module used to save a plot and delete old plots
#*****************************************************************************************
__author__ = 'IU1BOW - Corrado'
import logging
import logging.config
from datetime import datetime
import glob
import os
import json
logging.config.fileConfig("../cfg/plots_log_config.ini", disable_existing_loggers=False)
logger = logging.getLogger(__name__)
def del_with_retention(filename, number,ext):
#list all file with date time and extension
#and delete al file except the last "number" passed by param, and ordered by name
logger.info('deleting old files')
pattern=filename+'_????????-??????.'+ext
logger.debug('search pattern for delete files: '+pattern)
files=glob.glob(pattern)
length = len(files)
if length>number:
files_ordered=sorted(files)
i = 0
# Iterating using while loop
while i < length - number:
try:
os.remove(files_ordered[i])
logger.info('deleted file:'+files_ordered[i])
except Exception as e:
logger.error(e)
logger.error('not deleted file:'+files_ordered[i])
finally:
i += 1
return
def saveplt(plt,filename):
#convert relative to absolute path
#filename=os.path.abspath(os.path.expanduser(os.path.expandvars(filename)))
now = datetime.now() # current date and time
timestamp=now.strftime("%Y%m%d-%H%M%S")
outputfile=filename+'_'+timestamp
#saving svg file
try:
plt.savefig(outputfile+'.svg', dpi=100, bbox_inches='tight')
logger.info('plotted saved on: '+outputfile+'.svg')
except Exception as e01:
logger.error(e01)
logger.error('error saving file: '+outputfile+'.svg')
#saving png file
try:
plt.savefig(outputfile+'.png', dpi=100, bbox_inches='tight')
logger.info('plotted saved on: '+outputfile+'.png')
except Exception as e02:
logger.error(e02)
logger.error('error saving file: '+outputfile+'.png')
#creating idx file in order to match standard file name to filename with timestamp
try:
basepath=os.path.dirname(filename)
idxfile=os.path.join(basepath,'plots.json')
if os.path.exists(idxfile):
logger.debug(idxfile+' found')
with open(idxfile,'r') as jsonfile:
json_content = json.load(jsonfile) # this is now in memory! you can use it outside 'open'
else:
logger.debug(idxfile+ ' not found')
json_content={}
json_content[os.path.basename(filename)] = os.path.basename(outputfile)
with open(idxfile,'w') as jsonfile:
json.dump(json_content, jsonfile, indent=4) # you decide the indentation level
logging.info(idxfile+' updated')
except Exception as e03:
logger.error(e03)
logger.error('error writing idx: '+idxfile)
del_with_retention(filename,2,'svg')
del_with_retention(filename,2,'png')
return

View File

@ -1,161 +0,0 @@
#*****************************************************************************************
# plot propagation heat maps
#*****************************************************************************************
__author__ = 'IU1BOW - Corrado'
import matplotlib
matplotlib.use('Agg')
import matplotlib.pyplot as plt
import numpy as np
import sys
import os
from datetime import datetime
import logging
import logging.config
import matplotlib.gridspec as gridspec
from qry import query_manager
from plotuty import saveplt
from matplotlib.colors import LogNorm
import json
logging.config.fileConfig("../cfg/plots_log_config.ini", disable_existing_loggers=False)
logger = logging.getLogger(__name__)
file_output = '../static/plots/'+ os.path.splitext(os.path.basename(sys.argv[0]))[0]
#load band file
with open('../cfg/bands.json') as json_bands:
band_frequencies = json.load(json_bands)
#load continent file
with open('../cfg/continents.json') as json_continents:
continents_cq = json.load(json_continents)
logger.info("Start")
logger.info("doing query...")
#construct bands query
bands_qry_string = 'CASE '
for i in range(len(band_frequencies["bands"])):
bands_qry_string+=' WHEN freq between '+str(band_frequencies["bands"][i]["min"])+' AND '+ str(band_frequencies["bands"][i]["max"])
bands_qry_string+=' THEN "'+band_frequencies["bands"][i]["id"]+'"'
#construct continent region query
spottercq_qry_string = 'CASE '
spotcq_qry_string = 'CASE '
for i in range(len(continents_cq["continents"])):
spottercq_qry_string+=' WHEN spottercq in('+continents_cq["continents"][i]["cq"]+')'
spottercq_qry_string+=' THEN "' +continents_cq["continents"][i]["id"]+'"'
spotcq_qry_string+=' WHEN spotcq in('+continents_cq["continents"][i]["cq"]+')'
spotcq_qry_string+=' THEN "' +continents_cq["continents"][i]["id"]+'"'
#construct final query string
qry_string ="""
SELECT
"""+spottercq_qry_string+""" ELSE spottercq END,
"""+spotcq_qry_string+""" ELSE spotcq END,
"""+bands_qry_string+""" END,
count(0) number
from spot
where
rowid > (select max(rowid) max_rowid from spot) - 5000 and
time > UNIX_TIMESTAMP()-3600
group by 1, 2, 3
;
"""
logger.debug(qry_string)
qm=query_manager()
qm.qry(qry_string)
data=qm.get_data()
logger.info("query done")
logger.debug (data)
#plot
if data is None or len(data)==0:
logger.warning("no data found")
sys.exit(1)
logger.info("plotting...")
#preparing data
continents=continents_cq["continents"]
bands=band_frequencies["bands"]
continents_ar=[]
for i, item_continent in enumerate(continents):
continents_ar.append(item_continent["id"])
bands_ar=[]
for i, item_band in enumerate(bands):
bands_ar.append(item_band["id"])
# fucntion for search continent in the global data returned by query and making a cartesian product
# in order to prepare data for heatmap
def filter_de(data_list,continent,continents_list, band_list):
data_filtered=[]
for i, item_data in enumerate(data_list):
if item_data[0]==continent and not (item_data[3] is None):
element=[]
element.append(item_data[1])
element.append(item_data[2])
element.append(item_data[3])
data_filtered.append(element)
cartesian_product = []
for j, item_continent in enumerate(continents_list):
for k, item_band in enumerate(band_list):
found=0
for l, item_filtered in enumerate(data_filtered):
if item_filtered[0]==item_continent["id"] and item_filtered[1]==item_band["id"]:
cartesian_product.append(item_filtered)
found=1
if found==0:
element=[]
element.append(item_continent["id"])
element.append(item_band["id"])
element.append(0)
cartesian_product.append(element)
logger.debug("cartesian product for continent: "+continent)
logger.debug(cartesian_product)
return cartesian_product
#main
dt_string = datetime.now().strftime("%d/%m/%Y %H:%M")
for i, item in enumerate(continents):
continent=item["id"]
data_de=filter_de(data,continent,continents,bands)
dx, band, number=zip(*data_de)
number_ar = []
for j in range(0, len(number), len(bands)):
number_ar.append(number[j : j+len(bands)])
logger.debug("heatmap:")
logger.debug(np.array(number_ar))
LOGMIN = 0.1
im = plt.imshow(np.array(number_ar), cmap='YlOrRd', interpolation='quadric', norm=LogNorm(vmin=10, vmax=35),vmin=max(np.array(number_ar).min(), LOGMIN))
for spine in plt.gca().spines.values():
spine.set_visible(False)
plt.tick_params(top='off', bottom='off', left='off', right='off', labelleft='on', labelbottom='on')
plt.gca().set_xticks(np.arange(len(bands)))
plt.gca().set_yticks(np.arange(len(continents)))
plt.gca().set_yticklabels(continents_ar, fontsize=8)
plt.gca().set_xticklabels(bands_ar, fontsize=8)
plt.gca().set_xticks(np.arange(.5,len(bands),1),minor=True)
plt.gca().set_yticks(np.arange(.5,len(continents),1),minor=True)
plt.tick_params(axis='x', which='minor', colors='w')
plt.tick_params(axis='y', which='minor', colors='w')
plt.grid(which='minor', color='blue', linestyle=':', linewidth=1)
plt.text(.94,.90,'from '+continent, size=10, va="center", ha="center", transform=plt.gca().transAxes, rotation=-30, color='white',bbox=dict(boxstyle="Round", alpha=0.7))
plt.annotate('created on '+dt_string, (0,0), (0, -20), xycoords='axes fraction', textcoords='offset points', va='top', size=8, style='italic')
saveplt(plt,file_output+'_'+continent)
plt.clf()
logger.info("End")

View File

@ -1,70 +0,0 @@
#*****************************************************************************************
# module used to make query to mysql
# TODO: manage polymorfism and use only one qry sign
#*****************************************************************************************
#import MySQLdb as my
import mysql.connector as my
from mysql.connector import pooling
import logging
import json
import pandas as pd
logging.basicConfig(level=logging.INFO,format='%(asctime)s [%(levelname)s]: %(message)s',datefmt='%m/%d/%Y %I:%M:%S')
class query_manager:
#connection definition
def __init__(self):
try:
with open('../cfg/config.json') as json_data_file:
cfg = json.load(json_data_file)
except Exception as e1:
logging.info(e1)
logging.info('trying with other path...')
try:
with open ('cfg/config.json') as json_data_file:
cfg = json.load(json_data_file)
except Exception as e2:
logging.error(e2)
return
logging.info('config file loaded')
self.__cnxpool = pooling.MySQLConnectionPool(host=cfg['mysql']['host'],
user=cfg['mysql']['user'],
passwd=cfg['mysql']['passwd'],
db=cfg['mysql']['db'],
charset='utf8',
pool_name = "spider_pool",
pool_size = 3
)
logging.info('db connection pool created')
#normal query
def qry(self,qs,prepared_statement=False):
try:
cnx=self.__cnxpool.get_connection()
cursor = cnx.cursor(prepared=prepared_statement)
cursor.execute(qs)
self.__data=cursor.fetchall()
self.__row_headers=[x[0] for x in cursor.description] #this will extract row headers
cursor.close()
except Exception as e2:
logging.error(e2)
finally:
cnx.close()
def get_data(self):
return self.__data
def get_headers(self):
return self.__row_headers
#query with pandas
def qry_pd(self,qs):
try:
cnx=self.__cnxpool.get_connection()
self.__data = pd.read_sql(qs,con=cnx)
except Exception as e2:
logging.error(e2)
finally:
cnx.close()

View File

@ -1,98 +0,0 @@
#*****************************************************************************************
# plot qso per hour / band
#*****************************************************************************************
__author__ = 'IU1BOW - Corrado'
import matplotlib
matplotlib.use('Agg')
import matplotlib.pyplot as plt
import numpy as np
import sys
import os
from datetime import datetime
import logging
import logging.config
import json
import matplotlib.gridspec as gridspec
from qry import query_manager
from plotuty import saveplt
from matplotlib.colors import LogNorm
from calendar import monthrange
logging.config.fileConfig("../cfg/plots_log_config.ini", disable_existing_loggers=False)
logger = logging.getLogger(__name__)
file_output = '../static/plots/'+ os.path.splitext(os.path.basename(sys.argv[0]))[0]
#load band file
with open('../cfg/bands.json') as json_bands:
band_frequencies = json.load(json_bands)
logger.info("Start")
logger.info("doing query...")
#construct bands query
bands_qry_string = 'CASE '
for i in range(len(band_frequencies["bands"])):
bands_qry_string+=' WHEN freq between '+str(band_frequencies["bands"][i]["min"])+' AND '+ str(band_frequencies["bands"][i]["max"])
bands_qry_string+=' THEN "'+band_frequencies["bands"][i]["id"]+'"'
#construct bands query weight
bands_weight_qry_string = 'CASE '
for i in range(len(band_frequencies["bands"])):
bands_weight_qry_string+=' WHEN freq between '+str(band_frequencies["bands"][i]["min"])+' AND '+ str(band_frequencies["bands"][i]["max"])
bands_weight_qry_string+=' THEN "'+str(band_frequencies["bands"][i]["min"])+'"'
#construct final query string
qry_string ="""
select s1.hour, s1.band, s1.total from (
SELECT
cast(concat(HOUR (FROM_UNIXTIME(time))) as unsigned) as hour,
"""+bands_qry_string+""" ELSE "other" END as band,
cast("""+bands_weight_qry_string+""" ELSE 0 END as unsigned) as band_weight,
cast(round(count(0)/20) as unsigned) AS total
from spot
WHERE FROM_UNIXTIME(time) > DATE_SUB(now(), INTERVAL 1 MONTH)
and rowid > (select max(rowid)-500000 from spot)
group by 1, 2
) as s1
order by s1.band_weight
;
"""
logger.debug(qry_string)
qm=query_manager()
qm.qry(qry_string)
data=qm.get_data()
logger.info("query done")
logger.debug (data)
#plot
if data is None or len(data)==0:
logger.warning("no data found")
sys.exit(1)
logger.info("plotting...")
#main
x, y, z = zip(*data)
fig, ax = plt.subplots()
plt.suptitle("QSO per hour in last month")
dt_string = datetime.now().strftime("%d/%m/%Y %H:%M")
plt.annotate('created on '+dt_string, (0,0), (0, -20), xycoords='axes fraction', textcoords='offset points', va='top', size=8, style='italic')
plt.xticks(rotation=90)
plt.xlabel("Hours")
plt.ylabel("QSO")
plt.grid(False)
plt.subplots_adjust(left=0.15)
plt.scatter(x, y, z, c=x, cmap='jet', edgecolors='darkslategray', alpha=0.5, )
plt.xticks(np.arange(1, 24, 2.0),rotation='horizontal')
saveplt(plt,file_output)
logger.info("End")

View File

@ -1,146 +0,0 @@
#*****************************************************************************************
# plot qso per months
#*****************************************************************************************
__author__ = 'IU1BOW - Corrado'
import matplotlib
matplotlib.use('Agg')
import matplotlib.pyplot as plt
import numpy as np
import sys
import os
from datetime import datetime
import logging
import logging.config
import matplotlib.gridspec as gridspec
from qry import query_manager
from plotuty import saveplt
from calendar import monthrange
logging.config.fileConfig("../cfg/plots_log_config.ini", disable_existing_loggers=False)
logger = logging.getLogger(__name__)
file_output = '../static/plots/'+ os.path.splitext(os.path.basename(sys.argv[0]))[0]
logger.info("Start")
logger.info("doing query...")
#construct final query string
qry_string="""
select month(s1.ym) as referring_month,
sum(
case
when YEAR(s1.ym)=YEAR(now())
then s1.total
else 0
end
) as current_year,
sum(
case
when YEAR(s1.ym)=YEAR(now())-1
then s1.total
else 0
end
) as one_year_ago,
sum(
case
when YEAR(s1.ym)=YEAR(now())-2
then s1.total
else 0
end
) as two_year_ago
from (
/* extract number of qso per year */
select
CAST(
CONCAT(
YEAR(FROM_UNIXTIME(time)),
'-',
right(concat('0',MONTH(FROM_UNIXTIME(time))),2),
'-',
'01'
)
AS DATE) as ym,
count(0) as total
from spot
WHERE FROM_UNIXTIME(time) > DATE_SUB(now(), INTERVAL 36 MONTH)
GROUP by 1
/*union used to initialize all months */
union select '1976-01-01', 0
union select '1976-02-01', 0
union select '1976-03-01', 0
union select '1976-04-01', 0
union select '1976-05-01', 0
union select '1976-06-01', 0
union select '1976-07-01', 0
union select '1976-08-01', 0
union select '1976-09-01', 0
union select '1976-10-01', 0
union select '1976-11-01', 0
union select '2019-12-01', 0
) as s1
group by referring_month
;
"""
logger.debug(qry_string)
qm=query_manager()
qm.qry(qry_string)
data=qm.get_data()
logger.info("query done")
logger.debug (data)
if data is None or len(data)==0:
logger.warning("no data found")
sys.exit(1)
logger.info("plotting...")
months, current_year, one_year_ago, two_year_ago = zip(*data)
#plt.style.use('seaborn-colorblind')
#plt.style.use('fast')
#plt.style.use('seaborn-bright')
plt.style.use('tableau-colorblind10')
fig, ax = plt.subplots()
ax.get_yaxis().set_major_formatter(matplotlib.ticker.FuncFormatter(lambda x, p: format(int(x), ',')))
plt.suptitle("QSO per month")
dt_string = datetime.now().strftime("%d/%m/%Y %H:%M")
plt.annotate('created on '+dt_string, (0,0), (0, -20), xycoords='axes fraction', textcoords='offset points', va='top', size=8, style='italic')
plt.xticks(rotation=90)
plt.xlabel("Months")
plt.ylabel("QSO")
plt.grid(False)
plt.subplots_adjust(left=0.15)
width=0.30
#plot current year and estimate trend of last month
current_year_lst = list(current_year)
le=len(current_year_lst)-1
day=datetime.today().day
month=datetime.today().month
year=datetime.today().year
days_of_month=monthrange(year,month)
current_year_lst[month-1]=int(current_year[month-1]/day*days_of_month[1])
plt.bar(months[month-1], tuple(current_year_lst),width=width, align='edge', color='lightsteelblue')
plt.bar(months,current_year,width=width, align='edge',label=year)
#plot previous year
#calculate position of bar of previous year
months1=[]
for i in months:
months1.append(i-width)
plt.bar(months1,one_year_ago,width=width, align='edge',label=year-1)
#plot two years ago
#calculate position of bar of two years ago
months2=[]
for i in months1:
months2.append(i-width)
plt.bar(months2,two_year_ago,width=width, align='edge',label=year-2)
#plot legend and set ticks frequency (every one month)
plt.legend()
plt.xticks(np.arange(min(months), max(months)+1, 1.0),rotation='horizontal')
saveplt(plt,file_output)
logger.info("End")

View File

@ -1,88 +0,0 @@
#**********************************************************************************
# plot qso trend
#**********************************************************************************
__author__ = 'IU1BOW - Corrado'
import matplotlib
matplotlib.use('Agg')
import matplotlib.pyplot as plt
import numpy as np
import sys
import os
from datetime import datetime
import logging
import logging.config
import matplotlib.gridspec as gridspec
import matplotlib.dates as mdates
from qry import query_manager
from plotuty import saveplt
import pandas as pd
from statsmodels.tsa.api import ExponentialSmoothing
#from statsmodels.tsa.holtwinters import SimpleExpSmoothing
import warnings
from statsmodels.tools.sm_exceptions import ConvergenceWarning
logging.config.fileConfig("../cfg/plots_log_config.ini", disable_existing_loggers=False)
logger = logging.getLogger(__name__)
file_output = '../static/plots/'+ os.path.splitext(os.path.basename(sys.argv[0]))[0]
logger.info("Start")
logger.info("doing query...")
#construct final query string
qry_string="""
select
FROM_UNIXTIME(time,'%Y-%m-%d') as day,
count(0) as total
from spot
WHERE FROM_UNIXTIME(time) > DATE_SUB(now(), INTERVAL 60 MONTH)
GROUP by 1
;
"""
logger.debug(qry_string)
qm=query_manager()
qm.qry_pd(qry_string)
df=qm.get_data()
logger.info("query done")
logger.debug (df)
if df is None ==0:
logger.warning("no data found")
sys.exit(1)
logger.info("plotting...")
warnings.simplefilter('ignore', ConvergenceWarning)
df['day']=pd.to_datetime(df['day'])
df=df.set_index('day')
df=df.resample('D').interpolate(method='pad', limit_direction='forward', axis=0)
df=df.rolling('30D').mean()
y=df['total']
plt.style.use('seaborn-colorblind')
fig, ax = plt.subplots(figsize=(14,3))
plt.suptitle("QSO trend")
dt_string = datetime.now().strftime("%d/%m/%Y %H:%M")
plt.annotate('created on '+dt_string, (0,0), (0, -20), xycoords='axes fraction', textcoords='offset points', va='top', size=8, style='italic')
plt.xlabel("Time")
plt.ylabel("QSO")
plt.margins(0)
plt.grid(True)
plt.grid(which='major', color='grey', linestyle=':', linewidth=1)
plt.subplots_adjust(left=0.15)
ax.get_yaxis().set_major_formatter(matplotlib.ticker.FuncFormatter(lambda x, p: format(int(x), ',')))
ax.plot(y,marker='', linestyle='-', color='#4089F9', linewidth=1, label='observed')
ax.fill_between(df.index, y, facecolor='#4089F9', alpha=0.4)
model = ExponentialSmoothing(y, seasonal_periods =52, trend='add', seasonal='add', damped_trend=True)
#model = SimpleExpSmoothing(y, trend='add', seasonal='add', damped_trend=True)
fit=model.fit()
fcast = fit.forecast(40)
ax.plot(fcast,marker='',linestyle='-', color='#23B55E', linewidth=1, label='predicted')
logger.debug(fcast)
ax.fill_between(fcast.index,fcast,facecolor='#23B55E',alpha=0.4)
# Minor ticks every month.
fmt_month = mdates.MonthLocator()
ax.xaxis.set_minor_locator(fmt_month)
ax.legend()
saveplt(plt,file_output)
logger.info("End")

View File

@ -1,110 +0,0 @@
#*****************************************************************************************
# plot qso on a world map
#*****************************************************************************************
#https://datascientyst.com/plot-latitude-longitude-pandas-dataframe-python/
__author__ = 'IU1BOW - Corrado'
import matplotlib.pyplot as plt
import pandas as pd
import sys
import os
from datetime import datetime
import logging
import logging.config
import geopandas as gpd
from geopandas import GeoDataFrame
import matplotlib.pyplot as plt
from qry import query_manager
from plotuty import saveplt
from cty import prefix_table
logging.config.fileConfig("../cfg/plots_log_config.ini", disable_existing_loggers=False)
logger = logging.getLogger(__name__)
file_output = '../static/plots/'+ os.path.splitext(os.path.basename(sys.argv[0]))[0]
logger.info("Start")
logger.info("doing query...")
#construct final query string
qry_string ="""
select spotcall as dx
from spot
WHERE FROM_UNIXTIME(time) > DATE_SUB(now(), INTERVAL 1 MONTH)
and rowid > (select max(rowid)-500000 from spot)
group by 1;
"""
logger.debug(qry_string)
qm=query_manager()
qm.qry(qry_string)
data=qm.get_data()
row_headers=qm.get_headers()
logger.info("query done")
logger.debug (data)
#plot
if data is None or len(data)==0:
logger.warning("no data found")
sys.exit(1)
#define country table for search info on callsigns
pfxt=prefix_table()
df = pd.DataFrame(columns=['row_id','dx','lat','lon'])
dx=[]
lat=[]
lon=[]
row_id=[]
idx=0
#count=[]
for result in data:
main_result=dict(zip(row_headers,result))
# find the country in prefix table
search_prefix=pfxt.find(main_result["dx"])
if search_prefix["country"] != "unknown country" :
# merge recordset and contry prefix
dx.append(main_result["dx"])
lon.append(float(search_prefix["lat"]))
lat.append(-float(search_prefix["lon"]))
idx+=1
row_id.append(idx)
del pfxt
df['dx']=dx
df['lat']=lat
df['lon']=lon
df['row_id']=row_id
df_grp=df.groupby(["lat", "lon"])["row_id"].count().reset_index(name="count")
logger.info("plotting...")
#main
plt.subplots_adjust(left=0.1, right=0.9, top=0.9, bottom=0.1)
#fig, ax = plt.subplots(figsize = (18,6))
fig, ax = plt.subplots(figsize = (14,7))
plt.suptitle("World QSO in last month")
dt_string = datetime.now().strftime("%d/%m/%Y %H:%M")
plt.annotate('created on '+dt_string, (0,0), (0, -20), xycoords='axes fraction', textcoords='offset points', va='top', size=8, style='italic')
plt.grid(False)
plt.margins(0.0)
#water = 'lightskyblue'
#water = 'skyblue'
water = 'lightsteelblue'
earth = 'cornsilk'
ax.set_aspect('equal')
ax.set_facecolor(water)
geometry=gpd.points_from_xy(df_grp.lat, df_grp.lon)
gdf = GeoDataFrame(df_grp, geometry=geometry)
world= gpd.read_file(gpd.datasets.get_path("naturalearth_lowres"))
world.plot(ax=ax,color=earth,edgecolor='grey')
gdf.plot(column='count', ax=ax, alpha=0.2, markersize=gdf['count'])
logger.debug(gdf.head)
saveplt(plt,file_output)
logger.info("End")
os._exit(0)

View File

@ -1,15 +0,0 @@
#
# little script used to build static pages
#
__author__ = 'IU1BOW - Corrado'
from staticjinja import Site
def cookies_check():
return False
if __name__ == "__main__":
site = Site.make_site(searchpath="../static/html/templates/",outpath="../static/html/",env_globals={
'cookies_check':cookies_check,
})
site.render(use_reloader=False)

View File

View File

@ -1 +0,0 @@
nohup ./test.sh >/dev/null 2>&1 &

View File

@ -1,123 +0,0 @@
#! /bin/bash
#***********************************************************************************
# Script used to BUILD the progect (ie. replacing version, minify etc)
#***********************************************************************************
path_templates='../templates'
base_template='_base.html'
path_static='../static'
path_static_html=${path_static}'/html'
path_static_js=${path_static}'/js'
path_static_css=${path_static}'/css'
path_docs='../docs'
readme='../README.md'
manifest=${path_static}'/manifest.webmanifest'
changelog=${path_docs}'/'CHANGELOG.md
#echo '*** SPIDERWEB building process ***'
#echo 'create modes.json from dxspider bands.pl'
#python ../lib/get_dxcluster_modes.py /home/sysop/spider/data/bands.pl
#if [ "$?" != "0" ]; then
# echo 'ERROR on creating modes.json from dxspider bands.pl'
# exit 5
#fi
echo 'get version from git'
#ver=`git describe --tags --abbrev=0`
if ! ver=$(git describe --tags --abbrev=0)
then
echo 'ERROR on get version from git'
exit 10
fi
if [ ${ver} == "" ]; then
echo 'ERROR git version is empty'
exit 20
fi
echo 'version: '${ver}
echo 'writing version in '${manifest} '...'
if ! sed -i 's/v.*",/'$ver'",/g' ${manifest}
then
echo 'ERROR writing version in '${manifest}
exit 42
fi
echo 'writing version in '${readme} '...'
if ! sed -i 's/- \*\*Release:\*\* v.*/- \*\*\Release:\*\* '$ver'/g' ${readme}
then
echo 'ERROR writing version in '${readme}
exit 30
fi
echo 'writing version in '${changelog} '...'
if ! sed -i '1,4s/Release: v.*/Release: '$ver'/g' ${changelog}
then
echo 'ERROR writing version in '${changelog}
exit 35
fi
echo 'writing date in '${changelog} '...'
#sed -i '1,4s/Date: [0-9][0-9]\/[0-9][0-9]\/[0-9][0-9][0-9][0-9]/Date: '`date '+%d\/%m\/%Y'`'/g' ${changelog}
if ! sed -i '1,4s/Date: [0-9][0-9]\/[0-9][0-9]\/[0-9][0-9][0-9][0-9]/Date: '$(date '+%d\/%m\/%Y')'/g' ${changelog}
then
echo 'ERROR writing date in '${changelog}
exit 35
fi
echo 'writing version in '${base_template} '...'
if ! sed -i 's/<span id="version">v.*<\/span>/<span id="version">'$ver'<\/span>/g' ${path_templates}/${base_template}
then
echo 'ERROR writing version in '${base_template}
exit 40
fi
echo 'generating static pages...'
#staticjinja build --srcpath=${path_static_html}/templates/ --outpath=${path_static_html}/ --log=info
if ! python ../lib/static_build.py
then
echo 'ERROR generating static pages'
exit 50
fi
echo 'writing requirements...'
if ! pip freeze|tee ../requirements.txt
then
echo 'ERROR wrinting requirements'
exit 60
fi
#used to minify the application javascript
echo 'minify javascripts...'
shopt -s extglob
for i in ${path_static_js}/!(*[m][i][n].js|*.md)
do
[[ -e ${i} ]] || break # handle the case of no files found
echo ${i}
file_no_ext=$(basename "${i%.js}")
if ! curl -X POST -s --data-urlencode 'input@'${i} https://www.toptal.com/developers/javascript-minifier/raw > ${path_static_js}/${file_no_ext}.min.js
then
echo 'ERROR minifying javascript: '${i}
shopt -u extglob
exit 80
fi
sleep 3
done
#used to minify css
echo 'minify css...'
for i in ${path_static_css}/!(*[m][i][n].css|*.md)
do
[[ -e ${i} ]] || break # handle the case of no files found
echo ${i}
file_no_ext=$(basename "${i%.css}")
#curl -X POST --data-urlencode 'input@'${path_static_css}/${i} https://cssminifier.com/raw > ${path_static_css}/${file_no_ext}.min.css
if ! curl -X POST --data-urlencode 'input@'${i} https://cssminifier.com/raw > ${path_static_css}/${file_no_ext}.min.css
then
echo 'ERROR minifying css: '${i}
shopt -u extglob
exit 80
fi
sleep 3
done
shopt -u extglob
echo
echo Build ok

View File

@ -1,4 +0,0 @@
DIR=$(realpath -s $0|sed 's|\(.*\)/.*|\1|')
echo Absolute path: ${DIR}
cd ${DIR}
python3 ../lib/config.py

View File

@ -1,4 +0,0 @@
/* If you would to increase speed on search of a callsign spot,
you could add the following indexes on your dxcluster database
*/
CREATE INDEX spiderweb_spotter ON spot (spotter);

View File

@ -1,119 +0,0 @@
#!/bin/sh
#-------------------------------------------------------------------------
# Author: IU1BOW - Corrado Gerbaldo
#.........................................................................
# Script for monitoring dxspider system
#
# To use this script you need to install and configure ssmtp
# for enable sending mail using gmail (with 2-factor autentication):
# 1. Log-in into Gmail with your account
# 2. Navigate to https://security.google.com/settings/security/apppasswords
# 3. In 'select app' choose 'custom', give it an arbitrary name and press generate
# 4. It will give you 16 chars token.
# 5. put the token in your config file
#-------------------------------------------------------------------------
DISK=/dev/sda1 # <--- CHANGE WITH YOUR DRIVE !!!
#...................................................
CONFIG=../cfg/config.json
SSMTP=/usr/sbin/ssmtp
LIM_DISK=80
LIM_MEMPERC=80
LIM_DATE=1800
DIR=$(realpath -s $0|sed 's|\(.*\)/.*|\1|')
echo Absolute path: ${DIR}
cd ${DIR}
WARNING=false
trap 'rm -f "$TMPFILE"' EXIT
TMPFILE=$(mktemp)|| exit 1
#echo 'Subject: This is dxspider monitor '>>${TMPFILE}
echo >> ${TMPFILE}
echo 'RAM:' >> ${TMPFILE}
mon_memperc=$(free | grep Mem | awk '{print $3/$2 * 100}')
mon_memperc=$(echo ${mon_memperc}| awk '{ printf "%d\n",$1 }')
free -h>>${TMPFILE}
if [ ${mon_memperc} -gt ${LIM_MEMPERC} ]
then
WARNING=true
echo "WARNING: RAM space is critical!">> ${TMPFILE}
fi
echo >> ${TMPFILE}
echo 'DISK' >> ${TMPFILE}
mon_diskperc=$(df ${DISK} | tail -n 1 | grep -E "[[:digit:]]+%" -o | grep -E "[1-9]+" -o)
df ${DISK} -h>>${TMPFILE}
if [ ${mon_diskperc} -gt ${LIM_DISK} ]
then
WARNING=true
echo "WARNING: Disk space is critical!">> ${TMPFILE}
fi
echo >> ${TMPFILE}
echo 'SERVICES' >> ${TMPFILE}
ps -ef|head -1>> ${TMPFILE}
ps -ef | grep cluster.pl | grep -v grep >> ${TMPFILE}
mon_cluster=$?
ps -ef | grep mysqld | grep -v grep >> ${TMPFILE}
mon_mariadb=$?
ps -ef | grep "wsgi.py" | grep -v grep >> ${TMPFILE}
mon_wsgi=$?
ps -ef | grep "nginx: worker" | grep -v grep >> ${TMPFILE}
mon_nginx=$?
echo >> ${TMPFILE}
if [ ${mon_mariadb} -ne 0 ]
then
WARNING=true
echo "ERROR: maria db is not running!">> ${TMPFILE}
else
echo 'Mysql dxspider' >> ${TMPFILE}
password=$(grep -Po '"passwd":.*?[^\/]",' ${CONFIG}|cut -d '"' -f 4)
user=$(grep -Po '"user":.*?[^\/]",' ${CONFIG}|cut -d '"' -f 4)
mon_sqlres=$(mysql --user=$user --password=$password -Bse "use dxcluster;select time from spot order by 1 desc limit 1;")
current_date=$(date +"%s")
date_diff=$((current_date - mon_sqlres))
echo 'Last spot received: ' ${date_diff}' seconds ago' >> ${TMPFILE}
if [ ${date_diff} -gt ${LIM_DATE} ]
then
WARNING=true
echo 'WARNING: mysql is not UPDATED!' >> ${TMPFILE}
fi
fi
if [ ${mon_cluster} -ne 0 ]
then
WARNING=true
echo "ERROR: cluster is not running!">> ${TMPFILE}
fi
if [ ${mon_wsgi} -ne 0 ]
then
WARNING=true
echo "ERROR: WSGI is not running!">> ${TMPFILE}
fi
if [ ${mon_nginx} -ne 0 ]
then
WARNING=true
echo "ERROR: NGINX is not running!">> ${TMPFILE}
fi
if [ ${WARNING} = true ] ; then
echo "$(echo 'Subject: [WARNING]: Spider monitor'; cat ${TMPFILE})" > ${TMPFILE}
else
echo "$(echo 'Subject: Spider monitor'; cat ${TMPFILE})" > ${TMPFILE}
fi
mailto=$(grep -Po '"mail":.*?[^\/]",' ${CONFIG}|cut -d '"' -f 4)
mail_token=$(grep -Po '"mail_token":.*?[^\/]",' ${CONFIG}|cut -d '"' -f 4)
echo ${mailto}
#${SSMTP} ${mailto} < ${TMPFILE}
${SSMTP} ${mailto} -au${mailto} -ap${mail_token} < ${TMPFILE}
cat ${TMPFILE}
rm ${TMPFILE}

View File

@ -1,4 +0,0 @@
DIR=$(realpath -s $0|sed 's|\(.*\)/.*|\1|')
echo Absolute path: ${DIR}
cd ${DIR}
python3 ../lib/propagation_heatmaps.py

View File

@ -1,4 +0,0 @@
DIR=$(realpath -s $0|sed 's|\(.*\)/.*|\1|')
echo Absolute path: ${DIR}
cd ${DIR}
python3 ../lib/qso_hour_band.py

View File

@ -1,4 +0,0 @@
DIR=$(realpath -s $0|sed 's|\(.*\)/.*|\1|')
echo Absolute path: ${DIR}
cd ${DIR}
python3 ../lib/qso_months.py

View File

@ -1,5 +0,0 @@
DIR=$(realpath -s $0|sed 's|\(.*\)/.*|\1|')
echo Absolute path: ${DIR}
cd ${DIR}
python3 ../lib/qso_trend.py

View File

@ -1,5 +0,0 @@
DIR=$(realpath -s $0|sed 's|\(.*\)/.*|\1|')
echo Absolute path: ${DIR}
cd ${DIR}
python3 ../lib/qso_world_map.py
echo end of script

View File

@ -1 +0,0 @@
Make changes only on file without '.min.' in their name, then minify using build.sh in 'script' folder

View File

@ -1,87 +0,0 @@
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.4.1/font/bootstrap-icons.css");
.badge-responsive {
width: 70px;
}
@media screen and (max-width: 768px) {
.text-responsive {
font-size: 11px;
}
.badge-responsive {
width: 40px;
}
}
@media screen and (max-width: 768px) {
#collapseFilters.collapsing {
position: absolute !important;
z-index: 20;
}
#collapseFilters.collapse.show {
display: block;
position: absolute;
z-index: 20;
}
.navbar-collapse {
max-height: none !important;
}
}
.img-flag {
// width: 80%;
background-color: white;
// box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
border: 1px solid #ddd;
border-radius: 2px;
padding: 3px;
background-size:cover !important;
max-width: auto;
max-height: auto;
height: 19px !important;
width: 32px !important;
-webkit-box-shadow: 0 2px 10px rgba(0, 0, 0, .5), 0 2px 3px rgba(0, 0, 0, .5);
-moz-box-shadow: 0 2px 10px rgba(0, 0, 0, .5), 0 2px 3px rgba(0, 0, 0, .5);
-o-box-shadow: 0 2px 10px rgba(0, 0, 0, .5), 0 2px 3px rgba(0, 0, 0, .5);
box-shadow: 0 2px 10px rgba(0, 0, 0, .5), 0 2px 3px rgba(0, 0, 0, .5);
}
.ipcs {
background-image: url("/static/images/background.webp");
background-size: cover;
background-repeat: no-repeat;
}
.copyleft {
display: inline-block;
transform: rotate(180deg);
}
span.search-callsign {
background: url(/static/images/search-callsign.svg) no-repeat top left;
background-size: contain;
cursor: pointer;
display: inline-block;
height: 16px;
width: 20px;
}
#input-group-callsign {
margin-right: 1rem;
margin-bottom: 0.5rem;
}
#collapseFilters {
margin-top: 10px;
background-color: #DDE2E6;
}
#spotsTable {
margin-top: 10px;
}
#band {
margin-top: 5px;
}

View File

@ -1 +0,0 @@
@import url(https://cdn.jsdelivr.net/npm/bootstrap-icons@1.4.1/font/bootstrap-icons.css);.badge-responsive{width:70px}@media screen and (max-width:768px){.text-responsive{font-size:11px}.badge-responsive{width:40px}}@media screen and (max-width:768px){#collapseFilters.collapsing{position:absolute!important;z-index:20}#collapseFilters.collapse.show{display:block;position:absolute;z-index:20}.navbar-collapse{max-height:none!important}}.img-flag{background-color:#fff;border:1px solid #ddd;border-radius:2px;padding:3px;background-size:cover!important;max-width:auto;max-height:auto;height:19px!important;width:32px!important;-webkit-box-shadow:0 2px 10px rgba(0,0,0,.5),0 2px 3px rgba(0,0,0,.5);-moz-box-shadow:0 2px 10px rgba(0,0,0,.5),0 2px 3px rgba(0,0,0,.5);-o-box-shadow:0 2px 10px rgba(0,0,0,.5),0 2px 3px rgba(0,0,0,.5);box-shadow:0 2px 10px rgba(0,0,0,.5),0 2px 3px rgba(0,0,0,.5)}.ipcs{background-image:url("/static/images/background.webp");background-size:cover;background-repeat:no-repeat}.copyleft{display:inline-block;transform:rotate(180deg)}span.search-callsign{background:url(/static/images/search-callsign.svg) no-repeat top left;background-size:contain;cursor:pointer;display:inline-block;height:16px;width:20px}#input-group-callsign{margin-right:1rem;margin-bottom:.5rem}#collapseFilters{margin-top:10px;background-color:#dde2e6}#spotsTable{margin-top:10px}#band{margin-top:5px}

View File

@ -1,133 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>DX Cluster from IU1BOW: OFFLINE</title>
<!-- page generated by staticjinja -->
<meta http-equiv="Content-Security-Policy"
content="
script-src 'self' cdnjs.cloudflare.com cdn.jsdelivr.net 'unsafe-inline'
">
<meta charset="utf-8">
<meta name="description" content="Web Ham Radio DX Cluster and spot search">
<meta name="keywords" content="ham radio, dx cluster, dx spots, cluster sposts,web dx cluster,dx cluster search, DX spots">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="#2196f3">
<link rel="icon" href="/static/images/icons/favicon.ico" size="any">
<link rel="icon" href="/static/images/icons/spider_ico_master.svg" type="image/svg+xml">
<link rel="apple-touch-icon" href="/static/images/icons/icon-apple.png">
<link rel="manifest" href="/static/manifest.webmanifest">
<link rel="stylesheet" href="/static/css/style.min.css">
<link rel="preload" href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" as="style" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous" onload="this.rel='stylesheet'">
<noscript><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css"></noscript>
<link rel="preload" href="https://cdnjs.cloudflare.com/ajax/libs/flag-icon-css/4.1.5/css/flag-icons.min.css" as="style" integrity="sha512-UwbBNAFoECXUPeDhlKR3zzWU3j8ddKIQQsDOsKhXQGdiB5i3IHEXr9kXx82+gaHigbNKbTDp3VY/G6gZqva6ZQ==" crossorigin="anonymous" onload="this.rel='stylesheet'">
<noscript><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/flag-icon-css/4.1.5/css/flag-icons.min.css"></noscript>
<script src="static/js/load_css.min.js"></script>
</head>
<body>
<header>
<!-- nav bar -->
<nav class="navbar px-2 navbar-expand-lg navbar-dark bg-dark">
<div class="container-fluid">
<a class="navbar-brand" href="/">
<img src="/static/images/icons/icon-72x72.png" width="30" height="30" class="d-inline-block align-top" alt="">
</a>
<button class="navbar-toggler" type="button" aria-controls="navbarToggler01" aria-expanded="false" aria-label="Toggle navigation" data-bs-toggle="collapse" data-bs-target="#navbarToggler01" >
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarToggler01">
<ul class="navbar-nav me-auto mb-2 mb-lg-0" >
</ul>
<div id="MyClockDisplay" onload="showTime()" class="text-white-50 d-none d-lg-block"></div>
<div class="text-white-50 d-none d-lg-block" >&nbsp (UTC) &nbsp &nbsp</div>
</div>
</div>
</nav>
</header>
<div class="container-fluid mt-1 ml-0 mr-0 px-0">
<div class="ipcs bg-light p-4 rounded-lg m-2">
<h1 class="display-4 text-white">WEB DX Cluster</h1>
<p class="lead text-light">Spots list</p>
<p class="text-light">Telnet access: <a href="telnet://" class="text-white"></a></p>
<p class="text-light">For connect your cluster, write to <a href="mailto:?Subject=Connect%20my%20DxCluster%20node" target="_top" class="text-white"></a></p>
</div>
<!-- <div class="container">
<div class="row">
<div class="col align-self-center"> -->
<div class="jumbotron alert alert-warning" role="alert">
<h2 class="display-4">No internet connection</h2>
<p class="lead">The features in this area require Internet connectivity. Please connect your computer to the Internet</p>
<p class="lead">
<a class="btn btn-primary btn-lg" href="/" role="button">Try again</a>
</p>
<!-- </div>
</div>
</div> -->
</div>
</div>
<footer class="page-footer font-small blue">
<div class="footer-copyright text-center py-3">
<span class="copyleft">&copy;</span> Copyleft:
<span id="copyDate"></span>
<a href="https://github.com/coulisse/spiderweb/" target="blank" rel="noopener">IU1BOW Spiderweb</a>
<span id="version">v2.3</span>
</div>
</footer>
<script async src="static/js/clock.min.js"></script>
<script async src="static/js/copy_date.min.js"></script>
<script async src="static/js/load-sw.min.js"></script>
<script>
</script>
<script defer src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.slim.min.js" integrity="sha512-6ORWJX/LrnSjBzwefdNUyLCMTIsGoNP6NftMy2UAm1JBm6PRZCO1d7OHBStWpVFZLO+RerTvqX/Z9mBFfCJZ4A==" crossorigin="anonymous"></script>
<script defer src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script>
<script async src="static/js/callsign_search.min.js"></script>
<!-- cookie consent management -->
<div class="modal" tabindex="-1" id="cookie-consent-container">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h1 class="modal-title">We use cookies</h1>
</div>
<div class="modal-body">
<p>We use only technical cookies.</p>
<p>Clicking &quot;I agree&quot;, you agree to the storing of cookies on your device. To learn more about how we use cookies, please see our cookies policy.</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-primary" id="cookie-consent">I agree</button>
</div>
</div>
</div>
</div>
<script defer src="static/js/cookie_consent.min.js"></script>
</body>
</html>

View File

@ -1 +0,0 @@
../../../templates/_base.html

View File

@ -1 +0,0 @@
../../../templates/offline.html

View File

@ -1 +0,0 @@
SVG from https://material.io/

Binary file not shown.

Before

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.6 KiB

View File

@ -1,311 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="560.14996"
height="560.14996"
version="1.1"
id="svg32"
sodipodi:docname="spider_ico_master.svg"
inkscape:version="1.1.1 (3bf5ae0d25, 2021-09-20)"
inkscape:export-filename="/home/corrado/Downloads/icon-128x128.png"
inkscape:export-xdpi="21.940001"
inkscape:export-ydpi="21.940001"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/">
<title
id="title67422">Spiderweb</title>
<defs
id="defs36">
<filter
style="color-interpolation-filters:sRGB"
inkscape:label="Invert"
id="filter7161"
x="0"
y="0"
width="1"
height="1">
<feColorMatrix
values="2 -0.5 -0.5 0 0 -0.5 2 -0.5 0 0 -0.5 -0.5 2 0 0 0 0 0 1 0 "
id="feColorMatrix7159"
result="fbSourceGraphic" />
<feColorMatrix
result="fbSourceGraphicAlpha"
in="fbSourceGraphic"
values="0 0 0 -1 0 0 0 0 -1 0 0 0 0 -1 0 0 0 0 1 0"
id="feColorMatrix7538" />
<feColorMatrix
id="feColorMatrix7540"
values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 -0.21 -0.72 -0.07 2 0 "
result="color2"
in="fbSourceGraphic" />
</filter>
<filter
style="color-interpolation-filters:sRGB"
inkscape:label="Invert"
id="filter7165"
x="0"
y="0"
width="1"
height="1">
<feColorMatrix
values="2 -0.5 -0.5 0 0 -0.5 2 -0.5 0 0 -0.5 -0.5 2 0 0 0 0 0 1 0 "
id="feColorMatrix7163"
result="fbSourceGraphic" />
<feColorMatrix
result="fbSourceGraphicAlpha"
in="fbSourceGraphic"
values="0 0 0 -1 0 0 0 0 -1 0 0 0 0 -1 0 0 0 0 1 0"
id="feColorMatrix7542" />
<feColorMatrix
id="feColorMatrix7544"
values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 -0.21 -0.72 -0.07 2 0 "
result="color2"
in="fbSourceGraphic" />
</filter>
<filter
style="color-interpolation-filters:sRGB"
inkscape:label="Invert"
id="filter7169"
x="0"
y="0"
width="1"
height="1">
<feColorMatrix
values="2 -0.5 -0.5 0 0 -0.5 2 -0.5 0 0 -0.5 -0.5 2 0 0 0 0 0 1 0 "
id="feColorMatrix7167"
result="fbSourceGraphic" />
<feColorMatrix
result="fbSourceGraphicAlpha"
in="fbSourceGraphic"
values="0 0 0 -1 0 0 0 0 -1 0 0 0 0 -1 0 0 0 0 1 0"
id="feColorMatrix7546" />
<feColorMatrix
id="feColorMatrix7548"
values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 -0.21 -0.72 -0.07 2 0 "
result="color2"
in="fbSourceGraphic" />
</filter>
<filter
style="color-interpolation-filters:sRGB"
inkscape:label="Invert"
id="filter7173"
x="-0.012613986"
y="-6.0373068e-08"
width="1.025228"
height="1.0003493">
<feColorMatrix
values="2 -0.5 -0.5 0 0 -0.5 2 -0.5 0 0 -0.5 -0.5 2 0 0 0 0 0 1 0 "
id="feColorMatrix7171"
result="fbSourceGraphic" />
<feColorMatrix
result="fbSourceGraphicAlpha"
in="fbSourceGraphic"
values="0 0 0 -1 0 0 0 0 -1 0 0 0 0 -1 0 0 0 0 1 0"
id="feColorMatrix7550" />
<feColorMatrix
id="feColorMatrix7552"
values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 -0.21 -0.72 -0.07 2 0 "
result="color2"
in="fbSourceGraphic" />
</filter>
</defs>
<sodipodi:namedview
id="namedview34"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="false"
showgrid="false"
inkscape:snap-intersection-paths="true"
inkscape:object-nodes="false"
inkscape:zoom="1.295"
inkscape:cx="205.01931"
inkscape:cy="260.61776"
inkscape:window-width="1920"
inkscape:window-height="1011"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg32"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="4.7"
height="560.14996px"
showborder="true"
inkscape:showpageshadow="false"
borderlayer="false" />
<ellipse
style="fill:#ff5700;fill-opacity:1;stroke-width:1.76609"
id="path243-7-5"
cx="-48.205605"
cy="150.94463"
rx="16.56599"
ry="16.33416"
transform="scale(-1,1)" />
<ellipse
style="fill:#ff5700;fill-opacity:1;stroke-width:1.51899"
id="path243-5-3-2"
cx="-83.936867"
cy="385.96417"
rx="14.505604"
ry="13.799365"
transform="scale(-1,1)" />
<rect
style="fill:#ff5700;fill-opacity:1"
id="rect7728"
width="32.810989"
height="84.403656"
x="318.63251"
y="18.919161"
transform="rotate(60)" />
<rect
style="fill:#ff5700;fill-opacity:1"
id="rect7912"
width="28.922182"
height="62.438999"
x="69.416702"
y="326.92044" />
<rect
style="fill:#ff5700;fill-opacity:1"
id="rect7728-3"
width="32.810989"
height="84.403656"
x="138.41681"
y="-50.843887"
transform="rotate(60)" />
<rect
style="fill:#ff5700;fill-opacity:1"
id="rect7728-3-6"
width="32.810989"
height="84.403656"
x="-0.3049508"
y="-232.98296"
transform="rotate(130)" />
<path
style="fill:#ff6600;fill-opacity:1;stroke-width:0.772201"
d="m 154.27386,171.56785 c -1.65432,-1.12414 -3.72366,-2.83736 -4.59853,-3.80715 -1.98195,-2.19697 -38.32292,-32.7414 -39.55909,-33.24924 -0.49652,-0.20398 -12.311185,6.21197 -26.254815,14.25767 -31.494698,18.17294 -31.002511,17.92508 -35.552955,17.90422 -8.672812,-0.0398 -16.41121,-7.44287 -16.435723,-15.72357 -0.0095,-3.22526 2.018648,-7.85993 4.600053,-10.51168 2.596045,-2.66679 74.49956,-44.790272 76.45564,-44.790272 0.47382,0 13.67783,10.763722 29.34226,23.919372 15.66442,13.15566 28.90754,24.01474 29.42915,24.13128 1.06303,0.23752 6.11453,5.49447 6.11453,6.36321 0,0.65497 -15.9539,19.30053 -18.67588,21.82678 l -1.85679,1.72327 z"
id="path8936" />
<path
id="path8975"
style="fill:#ff6600;fill-opacity:1;stroke-width:0.772201"
d="m 281.98668,121.65591 h -17.3457 v -18.19336 c -21.43278,2.57324 -39.29067,7.80986 -57.09766,16.69922 -12.6622,6.32105 -23.92727,13.8699 -31.81641,21.32032 -2.90718,2.7455 -3.3895,2.95174 -4.63281,1.97852 -0.76336,-0.59753 -13.37678,-11.01797 -28.0293,-23.15626 -14.6525,-12.13828 -27.53012,-22.648368 -28.61718,-23.355468 -1.95643,-1.272602 -2.15285,-1.184798 -19.474605,8.691408 -30.469384,17.37247 -55.67121,32.66004 -58.589846,35.54102 -3.131826,3.09143 -4.927596,8.1921 -4.1875,11.89258 1.348402,6.74201 7.477317,12.35522 14.546875,13.32422 4.603726,0.63101 7.015649,-0.50489 35.126951,-16.56055 11.99885,-6.8531 23.232835,-13.1838 24.962885,-14.06641 l 3.14453,-1.60351 3.60938,2.93359 c 6.28661,5.10849 22.63377,18.84145 30.47656,25.60352 l 7.5625,6.51953 -1.49023,1.62891 c -6.19259,6.77298 -17.8329,34.64574 -19.91992,47.69726 l -0.47461,2.9668 h 3.64843 3.64844 l -0.26758,13.96094 c -0.30272,15.76783 -0.45301,16.15429 -6.30664,16.15429 h -3.04101 l 0.54492,4.81836 c 1.13257,10.01062 6.10349,31.84743 7.4375,32.67188 0.33998,0.21012 1.76799,-0.32062 3.17383,-1.17774 1.40584,-0.85712 2.95064,-1.55854 3.43164,-1.56054 1.01062,-0.003 4.9589,5.95495 12.24218,18.4707 3.85021,6.61625 4.8782,8.96473 4.11524,9.39648 -0.55944,0.31658 -2.50164,1.65399 -4.31641,2.97266 -2.82483,2.05262 -3.18411,2.61313 -2.49414,3.90234 2.71763,5.07793 19.95645,23.38045 28.57422,30.33789 22.84522,18.44377 51.69539,30.40259 83.0332,34.41797 2.96145,0.37945 8.82381,0.73341 13.0293,0.78711 l 7.64649,0.0977 -0.50391,-83.97656 c -0.27736,-46.1873 -0.72978,-109.95216 -1.00586,-141.69926 z m -61.27539,84.26173 c 11.265,-0.0701 19.83945,3.0894 27.57812,10.16211 8.32185,7.6057 12.22852,16.40565 12.22852,27.54687 0,10.54193 -3.61228,18.54046 -11.83789,26.2168 -5.66389,5.28569 -11.69888,8.46749 -18.99414,10.01367 -13.86279,2.93812 -28.03062,-1.27178 -37.39453,-11.11133 -8.16557,-8.58034 -11.08498,-16.47078 -10.41992,-28.16406 0.33099,-5.81958 0.78934,-7.60683 3.16015,-12.35547 7.224,-14.46932 19.6031,-22.20858 35.67969,-22.30859 z" />
<path
style="fill:#ff6600;fill-opacity:1;stroke-width:0.772201"
d="m 10.582786,314.93582 c -3.4156189,-1.21764 -7.0423259,-4.403 -8.7604559,-7.69436 -1.59768402,-3.06064 -1.57808902,-8.77136 0.04124,-12.01736 0.730892,-1.46511 7.628835,-20.04858 15.3287619,-41.2966 7.699927,-21.24801 14.272083,-38.94431 14.604783,-39.3251 0.35637,-0.40788 22.277001,-0.24978 53.34886,0.38475 29.009165,0.59241 54.444545,1.07771 56.523075,1.07845 l 3.77912,0.001 -0.43539,12.86948 c -0.23946,7.07822 -0.80109,13.55281 -1.24805,14.38798 -0.44697,0.83517 -1.77792,1.65596 -2.95765,1.82399 -1.17973,0.16802 -11.52721,0.0792 -22.99439,-0.19733 -11.46718,-0.27656 -31.044295,-0.63379 -43.504704,-0.79386 l -22.6553,-0.29103 -9.94569,27.33566 c -5.470131,15.03462 -10.701171,29.62921 -11.624541,32.43243 -1.966322,5.96954 -5.698782,10.06325 -10.481789,11.49627 -3.902481,1.16921 -5.274994,1.13957 -9.017875,-0.19472 z"
id="path9014" />
<path
style="fill:#ff6600;fill-opacity:1;stroke-width:0.772201"
d="m 77.816105,397.90621 c -3.31058,-1.72619 -4.98028,-3.40095 -6.647595,-6.66777 -1.361883,-2.66837 -1.462232,-4.96038 -1.462232,-33.39769 0,-20.14862 0.266661,-30.53269 0.784076,-30.53269 0.431242,0 15.012181,-8.25289 32.402086,-18.33977 42.0838,-24.41035 38.80087,-22.63292 39.98618,-21.6492 1.23761,1.02712 8.04665,11.99232 12.54465,20.20175 l 3.3321,6.0815 -1.86046,1.41787 c -1.02325,0.77984 -3.07667,2.02592 -4.56316,2.76908 -1.48648,0.74316 -14.25468,7.9669 -28.37377,16.05275 l -25.671065,14.70154 -0.005,19.91494 c -0.004,18.01294 -0.14426,20.18855 -1.46684,22.77992 -1.67265,3.27726 -3.29097,4.85567 -6.80058,6.63287 -3.13182,1.58589 -9.19095,1.60323 -12.19879,0.0349 z"
id="path9053" />
<path
style="fill:#ff6600;fill-opacity:1;stroke-width:0.546028"
d="m 127.51202,250.4485 c -0.18229,-0.47504 -0.33143,-1.82646 -0.33143,-3.00316 v -2.13946 h 4.56792 4.56792 l -0.41843,2.28827 c -0.23014,1.25854 -0.8584,2.60996 -1.39612,3.00315 -1.4403,1.05317 -6.57053,0.94396 -6.98986,-0.1488 z"
id="path9488" />
<path
style="fill:#ff6600;fill-opacity:1;stroke-width:0.0170634"
d="m 145.27064,231.76312 c -0.0972,-0.0361 -0.1796,-0.11006 -0.23034,-0.20645 l -0.0448,-0.0852 -0.006,-0.81904 c -0.003,-0.45048 -5e-4,-0.88178 0.006,-0.95846 l 0.0112,-0.13941 0.41237,-0.23515 c 0.5458,-0.31124 1.6342,-0.9395 1.66653,-0.96198 0.0168,-0.0117 0.0123,-0.0116 -0.0129,2.5e-4 -0.034,0.016 -0.0408,0.0124 -0.0568,-0.0295 -0.0666,-0.17374 -0.19448,-0.77944 -0.21398,-1.01326 l -0.0113,-0.13494 0.0494,-0.002 c 0.0352,-0.002 0.0395,-0.005 0.0152,-0.01 -0.0491,-0.0115 -0.0768,-0.0545 -0.0768,-0.11928 v -0.0564 h 0.1365 c 0.10722,0 0.13651,0.005 0.13651,0.0245 0,0.0384 -0.0342,0.11851 -0.0565,0.13274 -0.0141,0.009 -0.0144,0.013 -0.001,0.0132 0.0315,5e-4 0.0554,-0.0398 0.0671,-0.11307 l 0.0111,-0.069 -0.37288,-0.0111 c -0.20509,-0.006 -0.71458,-0.0151 -1.1322,-0.02 -0.41763,-0.005 -0.84848,-0.0128 -0.95746,-0.0175 l -0.19813,-0.009 -0.069,0.19231 c -0.47914,1.3352 -0.60792,1.68972 -0.64008,1.76203 -0.13031,0.29307 -0.43388,0.38383 -0.68178,0.20385 -0.12217,-0.0887 -0.17299,-0.17669 -0.18066,-0.31277 -0.005,-0.0832 0.002,-0.13739 0.0281,-0.20664 0.019,-0.0516 0.22002,-0.59679 0.4468,-1.2115 0.22679,-0.61471 0.42845,-1.16151 0.44814,-1.21511 0.0293,-0.0797 0.0444,-0.0993 0.0827,-0.10775 0.0258,-0.006 0.55995,-0.001 1.18701,0.009 0.62706,0.0106 1.30053,0.0207 1.49659,0.0225 l 0.35647,0.003 0.039,-0.14504 c 0.1157,-0.43025 0.34626,-0.95064 0.54516,-1.23041 0.0307,-0.0433 0.0509,-0.0856 0.0448,-0.0941 -0.02,-0.0281 -0.37976,-0.33682 -0.82906,-0.71164 l -0.44263,-0.36925 -0.16312,0.0879 c -0.0897,0.0483 -0.43187,0.24129 -0.76034,0.42882 -0.32847,0.18754 -0.66632,0.37501 -0.75079,0.41659 -0.14791,0.0728 -0.15828,0.0753 -0.28154,0.0686 -0.14761,-0.008 -0.2307,-0.0442 -0.33073,-0.14327 -0.15559,-0.15422 -0.18831,-0.3459 -0.0916,-0.53652 0.0662,-0.13054 0.0959,-0.15185 0.78065,-0.56065 0.87077,-0.51987 1.64035,-0.95639 1.68609,-0.95639 0.0256,0 0.28765,0.21171 1.12937,0.91223 0.38009,0.31632 0.70043,0.57906 0.71188,0.58387 0.0114,0.005 0.0805,-0.0434 0.15348,-0.10697 0.58291,-0.50839 1.40143,-0.9059 2.20605,-1.07138 0.24217,-0.0498 0.71008,-0.11299 0.83676,-0.11299 0.0465,0 0.0856,-0.002 0.0867,-0.004 0.001,-0.003 0.007,-0.31233 0.0137,-0.68887 0.0104,-0.6152 0.0147,-0.6893 0.0419,-0.73088 0.0383,-0.0584 0.12376,-0.0946 0.2233,-0.0946 0.065,0 0.0888,0.0102 0.14985,0.064 0.0399,0.0352 0.0782,0.0717 0.0851,0.0811 0.007,0.009 0.0126,0.3297 0.0128,0.71182 l 2.5e-4,0.69475 -0.18214,0.005 -0.18214,0.005 0.005,1.03777 c 0.002,0.57077 0.007,1.05451 0.01,1.07499 0.003,0.0204 0.0103,1.04312 0.0157,2.27253 0.006,1.22942 0.0151,2.73633 0.0211,3.34869 l 0.011,1.11339 -0.12619,-2.5e-4 c -0.36707,-0.001 -0.81248,-0.0624 -1.23532,-0.16999 -0.61998,-0.15773 -1.18501,-0.42233 -1.71487,-0.80309 -0.31936,-0.22948 -1.03497,-0.96971 -1.06956,-1.10635 -0.008,-0.0301 2.5e-4,-0.0494 0.0305,-0.0742 0.0406,-0.0333 0.0406,-0.0333 -0.0189,-10e-4 -0.0328,0.0181 -0.4225,0.23954 -0.86588,0.49226 l -0.80616,0.4595 -6e-5,0.56503 c -7e-5,0.31087 -0.008,0.60637 -0.0174,0.65694 -0.0394,0.20876 -0.18947,0.33823 -0.40625,0.35052 -0.0724,0.004 -0.138,-0.003 -0.17998,-0.0182 z m 2.46349,-2.72319 c -0.01,-0.0187 -0.0221,-0.0341 -0.0268,-0.0341 -0.005,0 -2.5e-4,0.0154 0.01,0.0341 0.0101,0.0188 0.0221,0.0342 0.0268,0.0342 0.004,0 2.5e-4,-0.0154 -0.01,-0.0342 z m -0.53039,-0.74457 c 0.0234,-0.0205 -0.0322,-0.002 -0.0593,0.0203 -0.0312,0.025 -0.0307,0.0254 0.01,0.006 0.0235,-0.0111 0.0459,-0.0231 0.0498,-0.0265 z m 2.81228,-0.23776 c 0.41995,-0.0939 0.79443,-0.45164 0.90072,-0.86052 0.0376,-0.14468 0.0385,-0.40128 0.002,-0.54603 -0.10172,-0.40192 -0.41968,-0.72319 -0.84677,-0.85557 -0.16603,-0.0515 -0.50925,-0.0565 -0.68253,-0.0101 -0.14932,0.04 -0.36434,0.14826 -0.47238,0.2378 -0.19058,0.15793 -0.35575,0.41705 -0.40843,0.64077 -0.0363,0.1541 -0.0239,0.46774 0.0238,0.60175 0.13132,0.36929 0.40994,0.64055 0.78822,0.76744 0.18863,0.0633 0.47662,0.0734 0.69558,0.0245 z"
id="path9527" />
<path
style="fill:#ff6600;fill-opacity:1;stroke-width:0.546028"
d="m 135.86559,248.33365 c 0.0361,0.0424 0.0508,0.15274 0.0508,0.32618 0,0.29297 -0.38061,1.00884 -0.84766,1.59179 -0.80068,0.99941 -0.81222,0.98245 -0.19922,-0.30468 0.597,-1.25356 0.88785,-1.74049 0.9961,-1.61329 z"
id="path585" />
<path
style="fill:#ff6600;fill-opacity:1;stroke-width:0.546028"
d="m 223.30895,205.88834 c 10.0875,0.40211 18.96952,4.29263 26.25976,11.5293 7.08788,7.0358 10.33237,14.28829 10.72656,23.97656 0.29688,7.29648 -0.43797,11.30331 -3.11914,17.01563 -4.46972,9.52292 -12.9277,16.89179 -23.51953,20.49023 -2.83575,0.96342 -5.08557,1.24313 -11.19336,1.38867 -8.24232,0.19639 -10.04587,-0.0458 -15.69531,-2.10547 -5.47267,-1.99523 -9.40894,-4.55642 -14.02344,-9.125 -7.04876,-6.97863 -10.30265,-14.05138 -10.81445,-23.50586 -0.62252,-11.49974 2.54317,-19.57332 11.03711,-28.15429 4.05539,-4.09695 5.74263,-5.37435 9.56445,-7.23047 5.83285,-2.83281 9.80747,-3.86125 16.38086,-4.23828 1.48916,-0.0854 2.95541,-0.0985 4.39649,-0.041 z"
id="path583" />
<g
id="g30118"
transform="translate(-24.888315,29.624662)">
<path
style="fill:#ff6600;fill-opacity:1;stroke-width:0.546028"
d="m 137.84961,66.341797 c -1.70255,0 -23.40942,12.28167 -53.214844,30.107422 -23.696582,14.172211 -23.93177,14.341991 -25.97461,18.660161 -2.877914,6.08334 -1.85056,12.13771 2.859375,16.84765 3.231436,3.23144 6.078492,4.43222 11.101563,4.68359 4.309667,0.21567 4.434538,0.18603 9.238281,-2.3125 2.677964,-1.39286 14.718359,-8.13353 26.755855,-14.97851 12.03751,-6.84499 22.87847,-12.95101 24.0918,-13.56836 l 2.20508,-1.12305 13.08398,10.93555 c 18.56267,15.51522 27.05532,22.86385 27.36914,23.68164 0.14955,0.38972 -0.71294,2.1581 -1.91601,3.92969 -6.39761,9.4209 -13.70588,26.49918 -17.55274,41.01758 l -0.63281,2.39648 -13.20117,-0.35547 c -26.12149,-0.70303 -82.006159,-1.50194 -83.640625,-1.19531 -1.243218,0.23323 -1.844525,0.76632 -2.353516,2.08594 -0.375941,0.97468 -6.231983,16.88215 -13.013671,35.35156 -6.781688,18.46941 -13.427356,36.4077 -14.767579,39.86133 -2.211254,5.6982 -2.420535,6.63723 -2.251953,10.15039 0.222584,4.63856 1.759156,7.37422 5.779297,10.29297 7.932547,5.75928 17.62509,2.86181 21.824219,-6.52344 0.671002,-1.49973 4.394574,-11.57341 8.273437,-22.38477 C 65.790971,243.09098 70.637194,229.63573 72.683594,224 l 3.720703,-10.24805 6.298828,0.27539 c 3.464309,0.15093 17.233612,0.40213 30.597655,0.5586 13.36405,0.15646 29.64197,0.44441 36.17383,0.63867 l 11.87695,0.35156 -0.0742,1.41797 c -0.0675,1.28556 -0.0959,1.30386 -0.31054,0.18945 -0.22167,-1.15086 -0.51186,-1.22851 -4.56836,-1.22851 h -4.33008 v 1.91015 c 0,1.18306 0.41577,2.32788 1.0918,3.00391 0.84938,0.84938 0.91046,1.0918 0.27343,1.0918 -0.60396,0 -0.81836,0.63048 -0.81836,2.40234 0,4.95694 3.69527,23.75111 6.25586,31.81445 0.73897,2.32704 1.26211,4.31211 1.16211,4.41211 -0.24335,0.24335 -24.7864,14.44181 -46.79882,27.07227 -17.743549,10.18103 -17.815194,10.22814 -18.150396,12.25586 -0.590775,3.57383 -0.389627,57.55903 0.222657,59.76367 0.892172,3.21244 3.739599,6.53175 7.039059,8.20508 6.82966,3.46367 15.22632,0.93929 18.89258,-5.67969 l 1.61719,-2.91992 0.18945,-20.20313 0.18946,-20.20312 22.41992,-12.83203 c 32.45002,-18.57329 30.88571,-17.74455 30.59179,-16.20703 -0.37213,1.94666 5.25055,9.00346 15.68164,19.68164 10.11206,10.3516 14.68781,14.22984 24.57227,20.82617 24.02218,16.03107 53.94692,25.63071 83.67969,26.8457 l 8.59961,0.35157 v -0.45704 c -0.18923,8.3e-4 -0.38349,0.0118 -0.57227,0.0117 l -5.10547,-0.002 0.38477,-55.01172 c 0.21144,-30.2567 0.63127,-87.44638 0.93359,-127.08789 0.30232,-39.64152 0.55455,-78.648201 0.56055,-86.681641 l 0.01,-14.605468 -5.73242,-0.0039 -5.73437,-0.002 v -0.376953 c -7.84066,0.717285 -19.80029,2.658267 -27.21289,4.503906 -23.20097,5.776736 -45.30655,16.830812 -63.1875,31.597656 -3.30347,2.72814 -6.17077,4.89922 -6.3711,4.82422 -0.20033,-0.075 -10.18863,-8.29823 -22.19726,-18.275391 -25.9121,-21.528634 -35.95552,-29.638672 -36.70508,-29.638672 z"
id="path581" />
<ellipse
style="fill:#ffffff;fill-opacity:1"
id="path16099"
cx="238.09875"
cy="204.74332"
rx="58.335846"
ry="53.177788" />
<ellipse
style="fill:#ff6600;fill-opacity:1;stroke-width:1.55313"
id="path32163"
cx="238.87134"
cy="206.25528"
rx="23.006531"
ry="22.928482" />
</g>
<ellipse
style="fill:#ffffff;fill-opacity:1"
id="path16099-5"
cx="344.69705"
cy="234.17474"
rx="58.335846"
ry="53.177788" />
<rect
style="fill:none;fill-opacity:1"
id="rect40719"
width="93.445511"
height="53.95443"
x="248.65269"
y="48.496769" />
<ellipse
style="fill:#ff6600;fill-opacity:1;stroke-width:1.38395"
id="path243"
cx="281.13608"
cy="41.323746"
rx="13.738047"
ry="12.094742" />
<metadata
id="metadata67420">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:title>Spiderweb</dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<rect
style="fill:#ff6600;fill-opacity:1;stroke-width:1.13977"
id="rect1123"
width="28.51865"
height="43.413666"
x="267.04886"
y="79.911217" />
<ellipse
style="fill:#ff6600;fill-opacity:1;stroke-width:1.40869"
id="path243-3"
cx="281.42377"
cy="79.351738"
rx="14.233684"
ry="12.094742" />
<g
id="g30118-6"
transform="matrix(-1,0,0,1,583.25464,29.831286)">
<path
style="fill:#ff6600;fill-opacity:1;stroke-width:0.546028"
d="m 137.84961,66.341797 c -1.70255,0 -23.40942,12.28167 -53.214844,30.107422 -23.696582,14.172211 -23.93177,14.341991 -25.97461,18.660161 -2.877914,6.08334 -1.85056,12.13771 2.859375,16.84765 3.231436,3.23144 6.078492,4.43222 11.101563,4.68359 4.309667,0.21567 4.434538,0.18603 9.238281,-2.3125 2.677964,-1.39286 14.718359,-8.13353 26.755855,-14.97851 12.03751,-6.84499 22.87847,-12.95101 24.0918,-13.56836 l 2.20508,-1.12305 13.08398,10.93555 c 18.56267,15.51522 27.05532,22.86385 27.36914,23.68164 0.14955,0.38972 -0.71294,2.1581 -1.91601,3.92969 -6.39761,9.4209 -13.70588,26.49918 -17.55274,41.01758 l -0.63281,2.39648 -13.20117,-0.35547 c -26.12149,-0.70303 -82.006159,-1.50194 -83.640625,-1.19531 -1.243218,0.23323 -1.844525,0.76632 -2.353516,2.08594 -0.375941,0.97468 -6.231983,16.88215 -13.013671,35.35156 -6.781688,18.46941 -13.427356,36.4077 -14.767579,39.86133 -2.211254,5.6982 -2.420535,6.63723 -2.251953,10.15039 0.222584,4.63856 1.759156,7.37422 5.779297,10.29297 7.932547,5.75928 17.62509,2.86181 21.824219,-6.52344 0.671002,-1.49973 4.394574,-11.57341 8.273437,-22.38477 C 65.790971,243.09098 70.637194,229.63573 72.683594,224 l 3.720703,-10.24805 6.298828,0.27539 c 3.464309,0.15093 17.233612,0.40213 30.597655,0.5586 13.36405,0.15646 29.64197,0.44441 36.17383,0.63867 l 11.87695,0.35156 -0.0742,1.41797 c -0.0675,1.28556 -0.0959,1.30386 -0.31054,0.18945 -0.22167,-1.15086 -0.51186,-1.22851 -4.56836,-1.22851 h -4.33008 v 1.91015 c 0,1.18306 0.41577,2.32788 1.0918,3.00391 0.84938,0.84938 0.91046,1.0918 0.27343,1.0918 -0.60396,0 -0.81836,0.63048 -0.81836,2.40234 0,4.95694 3.69527,23.75111 6.25586,31.81445 0.73897,2.32704 1.26211,4.31211 1.16211,4.41211 -0.24335,0.24335 -24.7864,14.44181 -46.79882,27.07227 -17.743549,10.18103 -17.815194,10.22814 -18.150396,12.25586 -0.590775,3.57383 -0.389627,57.55903 0.222657,59.76367 0.892172,3.21244 3.739599,6.53175 7.039059,8.20508 6.82966,3.46367 15.22632,0.93929 18.89258,-5.67969 l 1.61719,-2.91992 0.18945,-20.20313 0.18946,-20.20312 22.41992,-12.83203 c 32.45002,-18.57329 30.88571,-17.74455 30.59179,-16.20703 -0.37213,1.94666 5.25055,9.00346 15.68164,19.68164 10.11206,10.3516 14.68781,14.22984 24.57227,20.82617 24.02218,16.03107 53.94692,25.63071 83.67969,26.8457 l 8.59961,0.35157 v -0.45704 c -0.18923,8.3e-4 -0.38349,0.0118 -0.57227,0.0117 l -5.10547,-0.002 0.38477,-55.01172 c 0.21144,-30.2567 0.63127,-87.44638 0.93359,-127.08789 0.30232,-39.64152 0.55455,-78.648201 0.56055,-86.681641 l 0.01,-14.605468 -5.73242,-0.0039 -5.73437,-0.002 v -0.376953 c -7.84066,0.717285 -19.80029,2.658267 -27.21289,4.503906 -23.20097,5.776736 -45.30655,16.830812 -63.1875,31.597656 -3.30347,2.72814 -6.17077,4.89922 -6.3711,4.82422 -0.20033,-0.075 -10.18863,-8.29823 -22.19726,-18.275391 -25.9121,-21.528634 -35.95552,-29.638672 -36.70508,-29.638672 z"
id="path581-7" />
<ellipse
style="fill:#ffffff;fill-opacity:1"
id="path16099-53"
cx="238.09875"
cy="204.74332"
rx="58.335846"
ry="53.177788" />
<ellipse
style="fill:#ff6600;fill-opacity:1;stroke-width:1.55313"
id="path32163-5"
cx="238.87134"
cy="206.25528"
rx="23.006531"
ry="22.928482" />
</g>
</svg>

Before

Width:  |  Height:  |  Size: 23 KiB

View File

@ -1 +0,0 @@
Make changes only on file without '.min.' in their name, then minify using build.sh in 'script' folder

View File

@ -1,7 +0,0 @@
/*
* script loaded inline page in order to prepare data
* for next operations
*/
var my_adxo_events=jQuery.parseJSON(my_adxo_events_json.replaceAll("\t",""));
var rows_list = new Array();
buildHtmlTable('#bodyspot',payload_json, rows_list, my_callsign);

View File

@ -1 +0,0 @@
var my_adxo_events=jQuery.parseJSON(my_adxo_events_json.replaceAll("\t","")),rows_list=new Array;buildHtmlTable("#bodyspot",payload_json,rows_list,my_callsign);

View File

@ -1,11 +0,0 @@
/**
* Receive a callsign by the html form and make the request to server
*/
function myCallsignSearch() {
callsign=document.getElementById('callsignInput').value;
//construct query parameters
if (callsign.replace(/\s/g, "").length > 0) {
location.href = ('/callsign.html?c=').concat((callsign.trim()).toUpperCase());
}
}

View File

@ -1 +0,0 @@
function myCallsignSearch(){callsign=document.getElementById("callsignInput").value,callsign.replace(/\s/g,"").length>0&&(location.href="/callsign.html?c=".concat(callsign.trim().toUpperCase()))}

View File

@ -1,14 +0,0 @@
function showTime(){
var date=new Date()
var utc = new Date(date.getTime() + date.getTimezoneOffset() * 60000);
var time = utc.toTimeString().split(' ')[0];
time = time.split(':')[0]+':'+time.split(':')[1];
document.getElementById("MyClockDisplay").innerText = time;
document.getElementById("MyClockDisplay").textContent = time;
setTimeout(showTime, 1000);
}
showTime();

View File

@ -1 +0,0 @@
function showTime(){var e=new Date,t=new Date(e.getTime()+6e4*e.getTimezoneOffset()).toTimeString().split(" ")[0];t=t.split(":")[0]+":"+t.split(":")[1],document.getElementById("MyClockDisplay").innerText=t,document.getElementById("MyClockDisplay").textContent=t,setTimeout(showTime,1e3)}showTime();

View File

@ -1,11 +0,0 @@
/*
script used to acquire user conset to cookie banner (and set the cookie consent)
*/
var fn = function () {
document.cookie = "cookie_consent=true;SameSite=Strict; Secure;max-age=2592000";
// document.getElementById('cookie-consent-container').hidden = true;
$('#cookie-consent-container').modal('hide')
};
document.getElementById('cookie-consent').onclick = fn;
$('#cookie-consent-container').modal({backdrop:"static",keyboard:false})
$('#cookie-consent-container').modal('show')

View File

@ -1 +0,0 @@
var fn=function(){document.cookie="cookie_consent=true;SameSite=Strict; Secure;max-age=2592000",$("#cookie-consent-container").modal("hide")};document.getElementById("cookie-consent").onclick=fn,$("#cookie-consent-container").modal({backdrop:"static",keyboard:!1}),$("#cookie-consent-container").modal("show");

View File

@ -1 +0,0 @@
document.getElementById('copyDate').innerHTML='2020-'.concat(new Date().getFullYear())

View File

@ -1 +0,0 @@
document.getElementById("copyDate").innerHTML="2020-".concat((new Date).getFullYear());

View File

@ -1,13 +0,0 @@
/*
* script loaded inline page in order to prepare data
* for next operations
* Moreover, add an event to the button of the filter form
*/
var my_adxo_events=jQuery.parseJSON(my_adxo_events_json.replaceAll("\t",""));
var rows_list = new Array();
buildHtmlTable('#bodyspot',payload_json, rows_list);
var myRefresh = setInterval(myTimer, timer_interval_json);
window.onload = () => {
document.getElementById('form-filters').addEventListener('submit', mySearch);
};

View File

@ -1 +0,0 @@
var my_adxo_events=jQuery.parseJSON(my_adxo_events_json.replaceAll("\t","")),rows_list=new Array;buildHtmlTable("#bodyspot",payload_json,rows_list);var myRefresh=setInterval(myTimer,timer_interval_json);window.onload=(()=>{document.getElementById("form-filters").addEventListener("submit",mySearch)});

View File

@ -1,17 +0,0 @@
/* this is used to instance service worker for PWA
* Check compatibility for the browser we're running this in
*/
if ("serviceWorker" in navigator) {
if (navigator.serviceWorker.controller) {
console.log("[PWA Builder] active service worker found, no need to register");
} else {
// Register the service worker
navigator.serviceWorker
.register("service-worker.js", {
scope: "./"
})
.then(function (reg) {
console.log("[PWA Builder] Service worker has been registered for scope: " + reg.scope);
});
}
}

View File

@ -1 +0,0 @@
"serviceWorker"in navigator&&(navigator.serviceWorker.controller?console.log("[PWA Builder] active service worker found, no need to register"):navigator.serviceWorker.register("service-worker.js",{scope:"./"}).then(function(e){console.log("[PWA Builder] Service worker has been registered for scope: "+e.scope)}));

View File

@ -1,88 +0,0 @@
/*! loadCSS. [c]2020 Filament Group, Inc. MIT License */
(function(w){
"use strict";
/* exported loadCSS */
var loadCSS = function( href, before, media, attributes ){
// Arguments explained:
// `href` [REQUIRED] is the URL for your CSS file.
// `before` [OPTIONAL] is the element the script should use as a reference for injecting our stylesheet <link> before
// By default, loadCSS attempts to inject the link after the last stylesheet or script in the DOM. However, you might desire a more specific location in your document.
// `media` [OPTIONAL] is the media type or query of the stylesheet. By default it will be 'all'
// `attributes` [OPTIONAL] is the Object of attribute name/attribute value pairs to set on the stylesheet's DOM Element.
var doc = w.document;
var ss = doc.createElement( "link" );
var ref;
if( before ){
ref = before;
}
else {
var refs = ( doc.body || doc.getElementsByTagName( "head" )[ 0 ] ).childNodes;
ref = refs[ refs.length - 1];
}
var sheets = doc.styleSheets;
// Set any of the provided attributes to the stylesheet DOM Element.
if( attributes ){
for( var attributeName in attributes ){
if( attributes.hasOwnProperty( attributeName ) ){
ss.setAttribute( attributeName, attributes[attributeName] );
}
}
}
ss.rel = "stylesheet";
ss.href = href;
// temporarily set media to something inapplicable to ensure it'll fetch without blocking render
ss.media = "only x";
// wait until body is defined before injecting link. This ensures a non-blocking load in IE11.
function ready( cb ){
if( doc.body ){
return cb();
}
setTimeout(function(){
ready( cb );
});
}
// Inject link
// Note: the ternary preserves the existing behavior of "before" argument, but we could choose to change the argument to "after" in a later release and standardize on ref.nextSibling for all refs
// Note: `insertBefore` is used instead of `appendChild`, for safety re: http://www.paulirish.com/2011/surefire-dom-element-insertion/
ready( function(){
ref.parentNode.insertBefore( ss, ( before ? ref : ref.nextSibling ) );
});
// A method (exposed on return object for external use) that mimics onload by polling document.styleSheets until it includes the new sheet.
var onloadcssdefined = function( cb ){
var resolvedHref = ss.href;
var i = sheets.length;
while( i-- ){
if( sheets[ i ].href === resolvedHref ){
return cb();
}
}
setTimeout(function() {
onloadcssdefined( cb );
});
};
function loadCB(){
if( ss.addEventListener ){
ss.removeEventListener( "load", loadCB );
}
ss.media = media || "all";
}
// once loaded, set link's media back to `all` so that the stylesheet applies once it loads
if( ss.addEventListener ){
ss.addEventListener( "load", loadCB);
}
ss.onloadcssdefined = onloadcssdefined;
onloadcssdefined( loadCB );
return ss;
};
// commonjs
if( typeof exports !== "undefined" ){
exports.loadCSS = loadCSS;
}
else {
w.loadCSS = loadCSS;
}
}( typeof global !== "undefined" ? global : this ));

View File

@ -1 +0,0 @@
!function(e){"use strict";var t=function(t,n,r,o){var i,a=e.document,d=a.createElement("link");if(n)i=n;else{var f=(a.body||a.getElementsByTagName("head")[0]).childNodes;i=f[f.length-1]}var l=a.styleSheets;if(o)for(var s in o)o.hasOwnProperty(s)&&d.setAttribute(s,o[s]);d.rel="stylesheet",d.href=t,d.media="only x",function e(t){if(a.body)return t();setTimeout(function(){e(t)})}(function(){i.parentNode.insertBefore(d,n?i:i.nextSibling)});var u=function(e){for(var t=d.href,n=l.length;n--;)if(l[n].href===t)return e();setTimeout(function(){u(e)})};function c(){d.addEventListener&&d.removeEventListener("load",c),d.media=r||"all"}return d.addEventListener&&d.addEventListener("load",c),d.onloadcssdefined=u,u(c),d};"undefined"!=typeof exports?exports.loadCSS=t:e.loadCSS=t}("undefined"!=typeof global?global:this);

View File

@ -1,64 +0,0 @@
/**
* Build the html plots
*
* @param selector {string} The html identifier where put the plots
* @param data {array} List of the plots to show
*/
function buildHtmlPlots(selector,data) {
$(selector).empty();
//bands activity
var contBandsActivity$=$('<div class="container justify-content-center"/>');
contBandsActivity$.append($('<h3 class="text-center"/>').html('Band Activity'));
contBandsActivity$.append($('<img class="img-fluid" src="/static/plots/'+data['propagation_heatmaps_AF']+'.png" alt="propagation heatmap AF" srcset="/static/plots/'+data['propagation_heatmaps_AF']+'.svg">'));
contBandsActivity$.append($('<img class="img-fluid" src="/static/plots/'+data['propagation_heatmaps_AN']+'.png" alt="propagation heatmap AN" srcset="/static/plots/'+data['propagation_heatmaps_AN']+'.svg">'));
contBandsActivity$.append($('<img class="img-fluid" src="/static/plots/'+data['propagation_heatmaps_AS']+'.png" alt="propagation heatmap AS" srcset="/static/plots/'+data['propagation_heatmaps_AS']+'.svg">'));
contBandsActivity$.append($('<img class="img-fluid" src="/static/plots/'+data['propagation_heatmaps_EU']+'.png" alt="propagation heatmap EU" srcset="/static/plots/'+data['propagation_heatmaps_EU']+'.svg">'));
contBandsActivity$.append($('<img class="img-fluid" src="/static/plots/'+data['propagation_heatmaps_NA']+'.png" alt="propagation heatmap NA" srcset="/static/plots/'+data['propagation_heatmaps_NA']+'.svg">'));
contBandsActivity$.append($('<img class="img-fluid" src="/static/plots/'+data['propagation_heatmaps_OC']+'.png" alt="propagation heatmap OC" srcset="/static/plots/'+data['propagation_heatmaps_OC']+'.svg">'));
contBandsActivity$.append($('<img class="img-fluid" src="/static/plots/'+data['propagation_heatmaps_SA']+'.png" alt="propagation heatmap SA" srcset="/static/plots/'+data['propagation_heatmaps_SA']+'.svg">'));
$(selector).append(contBandsActivity$);
//qso per months
$(selector).append($('<hr>'));
var contQSO$=$('<div class="container justify-content-center"/>');
contQSO$.append($('<img class="img-fluid" src="/static/plots/'+data['qso_months']+'.png" alt="Qso per months" srcset="/static/plots/'+data['qso_months']+'.svg">'));
$(selector).append(contQSO$);
//qso per bands and hour in last month
contQSO$.append($('<img class="img-fluid" src="/static/plots/'+data['qso_hour_band']+'.png" alt="Qso per hour/band" srcset="/static/plots/'+data['qso_hour_band']+'.svg">'));
$(selector).append(contQSO$);
//qso in the world and hour in last month
contQSO$.append($('<img class="img-fluid" src="/static/plots/'+data['qso_world_map']+'.png" alt="Qso per hour/band" srcset="/static/plots/'+data['qso_world_map']+'.svg">'));
$(selector).append(contQSO$);
//qso trend
contQSO$.append($('<img class="img-fluid" src="/static/plots/'+data['qso_trend']+'.png" alt="Qso trend" srcset="/static/plots/'+data['qso_trend']+'.svg">'));
$(selector).append(contQSO$);
}
/**
* Timer for refresh the plot page
*/
function plotsTimer() {
var request = new XMLHttpRequest()
request.open('GET','plotlist',true)
request.onload = function(){
try {
buildHtmlPlots('#plotlist',JSON.parse(this.response));
} catch (err) {
console.log(err);
console.log(err.stack);
}
}
request.send()
}
/*
* script loaded inline page in order to prepare data
* for next operations
*/
buildHtmlPlots('#plotlist',payload_json);
setInterval(plotsTimer, timer_interval_json);

View File

@ -1 +0,0 @@
function buildHtmlPlots(t,a){$(t).empty();var s=$('<div class="container justify-content-center"/>');s.append($('<h3 class="text-center"/>').html("Band Activity")),s.append($('<img class="img-fluid" src="/static/plots/'+a.propagation_heatmaps_AF+'.png" alt="propagation heatmap AF" srcset="/static/plots/'+a.propagation_heatmaps_AF+'.svg">')),s.append($('<img class="img-fluid" src="/static/plots/'+a.propagation_heatmaps_AN+'.png" alt="propagation heatmap AN" srcset="/static/plots/'+a.propagation_heatmaps_AN+'.svg">')),s.append($('<img class="img-fluid" src="/static/plots/'+a.propagation_heatmaps_AS+'.png" alt="propagation heatmap AS" srcset="/static/plots/'+a.propagation_heatmaps_AS+'.svg">')),s.append($('<img class="img-fluid" src="/static/plots/'+a.propagation_heatmaps_EU+'.png" alt="propagation heatmap EU" srcset="/static/plots/'+a.propagation_heatmaps_EU+'.svg">')),s.append($('<img class="img-fluid" src="/static/plots/'+a.propagation_heatmaps_NA+'.png" alt="propagation heatmap NA" srcset="/static/plots/'+a.propagation_heatmaps_NA+'.svg">')),s.append($('<img class="img-fluid" src="/static/plots/'+a.propagation_heatmaps_OC+'.png" alt="propagation heatmap OC" srcset="/static/plots/'+a.propagation_heatmaps_OC+'.svg">')),s.append($('<img class="img-fluid" src="/static/plots/'+a.propagation_heatmaps_SA+'.png" alt="propagation heatmap SA" srcset="/static/plots/'+a.propagation_heatmaps_SA+'.svg">')),$(t).append(s),$(t).append($("<hr>"));var p=$('<div class="container justify-content-center"/>');p.append($('<img class="img-fluid" src="/static/plots/'+a.qso_months+'.png" alt="Qso per months" srcset="/static/plots/'+a.qso_months+'.svg">')),$(t).append(p),p.append($('<img class="img-fluid" src="/static/plots/'+a.qso_hour_band+'.png" alt="Qso per hour/band" srcset="/static/plots/'+a.qso_hour_band+'.svg">')),$(t).append(p),p.append($('<img class="img-fluid" src="/static/plots/'+a.qso_world_map+'.png" alt="Qso per hour/band" srcset="/static/plots/'+a.qso_world_map+'.svg">')),$(t).append(p),p.append($('<img class="img-fluid" src="/static/plots/'+a.qso_trend+'.png" alt="Qso trend" srcset="/static/plots/'+a.qso_trend+'.svg">')),$(t).append(p)}function plotsTimer(){var t=new XMLHttpRequest;t.open("GET","plotlist",!0),t.onload=function(){try{buildHtmlPlots("#plotlist",JSON.parse(this.response))}catch(t){console.log(t),console.log(t.stack)}},t.send()}buildHtmlPlots("#plotlist",payload_json),setInterval(plotsTimer,timer_interval_json);

View File

@ -1,198 +0,0 @@
/********************************************************************************
* javascript used to popolate main table with spots
* ******************************************************************************/
var adxo_url='https://www.ng3k.com/misc/adxo.html'
var qrz_url='https://www.qrz.com/db/'
/**
* Decode Announced Dx Operation (ng3k)
*
* @param adxo {adxo} This is the json containing all the dxo events
* @param callsign_to_find {callsign_to_find} The callsign of the current dx line
*/
function findAdxo(adxo, callsign_to_find) {
if (adxo) {
for (var i = 0; i < adxo.length; i++) {
if (adxo[i].callsign == callsign_to_find) {
return adxo[i];
}
}
}
}
/**
* Build the table with the spot
*
* @param selector {string} The html identifier where build the spots table
* @param data {json} The payload with all the spots received from cluster
* @param callsign {string} An optional parameter with the callsign to search
*/
function buildHtmlTable(selector,data,rl,callsign) {
if ( data != null ){
var myRows=new Array();
//get current date
var d=new Date();
var dd_current='00'+d.getUTCDate();
dd_current=dd_current.substring(dd_current.length - 2, dd_current.length);
var mo_current='00'+(Number(d.getUTCMonth())+1);
mo_current=mo_current.substring(mo_current.length - 2, mo_current.length);
var yy_current=d.getUTCFullYear();
dt_current=dd_current+'/'+mo_current+'/'+yy_current;
$(selector).empty();
for (var i = 0; i < data.length; i++) {
myRows[i]=data[i].rowid;
var row$=$('<tr id="'+data[i].rowid+'"/>');
var found = rl.find(element => element ==data[i].rowid);
if ( callsign != undefined ) {
if ( callsign == data[i].de ) {
row$=$('<tr id="'+data[i].rowid+'"/>');
} else if ( callsign == data[i].dx ) {
row$=$('<tr id="'+data[i].rowid+'"/>');
}
} else if ( found == undefined && rl.length > 0) {
row$=$('<tr class="table-info" id="'+data[i].rowid+'"/>');
}
if (data[i].de == callsign) {
de = '<mark>'+data[i].de+'</mark>'
} else {
de = data[i].de
}
row$.append($('<td/>').html('<a href="'+qrz_url+data[i].de+ '" target="_blank" rel="noopener"><i class="bi-search" role="button" aria-label="'+data[i].de+'"></i></a><span>&nbsp'+de+'</span></b>'));
var freq = Intl.NumberFormat('it-IT', { style: 'decimal' }).format(data[i].freq);
row$.append($('<td/>').html('<span class="badge bg-warning text-dark badge-responsive">'+freq+'</span>'));
if (data[i].dx == callsign) {
dx = '<mark>'+data[i].dx+'</mark>'
} else {
dx = data[i].dx
}
var adxo=findAdxo(my_adxo_events, data[i].dx);
var adxo_link='<a href='+adxo_url+' target=_blank rel=noopener >NG3K Website</a>'
if (adxo != undefined) {
dx=dx+'&nbsp<i tabindex="0" class="bi-megaphone-fill" style="color: cornflowerblue; " role="button" aria-label="dx_operations" data-bs-container="body" data-bs-toggle="popover" data-bs-trigger="focus" data-bs-sanitize="true" data-bs-placement="auto" data-bs-html="true" data-bs-title="Announced DX Op.: '+adxo.summary+'" data-bs-content="'+adxo.description+" data from "+'&nbsp'+adxo_link+'"></i>'
}
row$.append($('<td/>').html('<a href="'+qrz_url+data[i].dx+ '" target="_blank" rel="noopener"><i class="bi-search" role="button" aria-label="'+data[i].dx+'"></i></a><span>&nbsp'+dx+'</span>'));
try {
row$.append($('<td/>').html('<span class="img-flag flag-icon flag-icon-'+data[i].iso+'" data-bs-container="body" data-bs-toggle="popover" data-bs-trigger="hover" data-bs-placement="left" data-bs-content="'+data[i].country+'"></span>'));
} catch (err) {
row$.append($('<td/>'));
}
row$.append($('<td class="d-none d-lg-table-cell d-xl-table-cell"/>').html(data[i].country));
row$.append($('<td class="d-none d-lg-table-cell d-xl-table-cell"/>').html(data[i].comm));
var dt=new Date(data[i].time * 1000);
var hh='00'+dt.getUTCHours();
hh=hh.substring(hh.length - 2, hh.length);
var mi='00'+dt.getMinutes();
mi=mi.substring(mi.length - 2, mi.length);
var dd='00'+dt.getUTCDate();
dd=dd.substring(dd.length - 2, dd.length);
var mo='00'+(Number(dt.getUTCMonth())+1);
mo=mo.substring(mo.length - 2, mo.length);
var yy=dt.getUTCFullYear();
tm=hh+':'+mi;
dt=dd+'/'+mo+'/'+yy;
//show date only if is different from current date
if (dt == dt_current) {
row$.append($('<td/>').html(tm))
} else {
row$.append($('<td/>').html('<table class="table-sm table-borderless"><tbody><tr style="background-color:transparent"><td>'+tm+'</td></tr><tr><td>'+dt+'</td></tr></tbody></table>'));
}
$(selector).append(row$);
}
$(function () {
$('[data-bs-toggle="popover"]').popover({
container: selector
})
})
try {
return Array.from(myRows);
} catch (err) {
return;
}
}
}
/**
* Function to filter spot when pressed the search button on filter
* This function trigger the search, also triggered by timer
*/
function mySearch(event) {
event.preventDefault();
myTimer(); //force the call of query
}
/**
* Function for construct query string for single value selection
*
* @param id {string} The html identifier used for filter
* @param param {string}the parameter for the query
* @param len {number} The maximum number of element that could be selected; use -1 if the filter permits a single selection
* @param qrystr {string} Th initial query string to be completed with the new filter
*/
function getFilter(id,param,len,qrystr) {
selectedFilter = [].map.call(document.getElementById(id).selectedOptions, option => option.value);
var qryFilter ='';
if (selectedFilter.length < len || len == -1) {
qryFilter = selectedFilter.map(function(el) {
if (el) {
return param+'='+ el;
} else {
return '';
}
}).join('&');
qrystr=qrystr.concat('&'.concat(qryFilter));
if (qrystr.substring(0,1) == '&') {
qrystr=qrystr.substring(1)
}
}
return qrystr;
}
/**
* Search / Filter cluster spot based on filter settings
* Gets the filter values, constructs the query parameter and
* make the request to the server
*/
function myTimer() {
var request = new XMLHttpRequest()
var qryAll='';
qryAll=getFilter('band','b',14,qryAll);
qryAll=getFilter('de_re','e',7,qryAll);
qryAll=getFilter('dx_re','x',7,qryAll);
qryAll=getFilter('mode','m',3,qryAll);
qryAll=getFilter('cqdeInput','qe',-1,qryAll);
qryAll=getFilter('cqdxInput','qx',-1,qryAll);
// Open a new connection, using the GET request on the URL endpoint
var qryString='spotlist';
if (qryAll){
qryString=qryString.concat('?'.concat(qryAll));
}
request.open('GET', qryString, true)
//when received data, constructs the tables
request.onload = function(){
try {
rows_list=buildHtmlTable('#bodyspot',JSON.parse(this.response),rows_list);
} catch (err) {
console.log(err);
console.log(err.stack);
}
}
request.send()
}

View File

@ -1 +0,0 @@
var adxo_url="https://www.ng3k.com/misc/adxo.html",qrz_url="https://www.qrz.com/db/";function findAdxo(t,e){if(t)for(var a=0;a<t.length;a++)if(t[a].callsign==e)return t[a]}function buildHtmlTable(t,e,a,r){if(null!=e){var n=new Array,l=new Date,d="00"+l.getUTCDate();d=d.substring(d.length-2,d.length);var o="00"+(Number(l.getUTCMonth())+1);o=o.substring(o.length-2,o.length);var s=l.getUTCFullYear();dt_current=d+"/"+o+"/"+s,$(t).empty();for(var i=0;i<e.length;i++){n[i]=e[i].rowid;var c=$('<tr id="'+e[i].rowid+'"/>'),b=a.find(t=>t==e[i].rowid);null!=r?r==e[i].de?c=$('<tr id="'+e[i].rowid+'"/>'):r==e[i].dx&&(c=$('<tr id="'+e[i].rowid+'"/>')):null==b&&a.length>0&&(c=$('<tr class="table-info" id="'+e[i].rowid+'"/>')),e[i].de==r?de="<mark>"+e[i].de+"</mark>":de=e[i].de,c.append($("<td/>").html('<a href="'+qrz_url+e[i].de+'" target="_blank" rel="noopener"><i class="bi-search" role="button" aria-label="'+e[i].de+'"></i></a><span>&nbsp'+de+"</span></b>"));var g=Intl.NumberFormat("it-IT",{style:"decimal"}).format(e[i].freq);c.append($("<td/>").html('<span class="badge bg-warning text-dark badge-responsive">'+g+"</span>")),e[i].dx==r?dx="<mark>"+e[i].dx+"</mark>":dx=e[i].dx;var p=findAdxo(my_adxo_events,e[i].dx),u="<a href="+adxo_url+" target=_blank rel=noopener >NG3K Website</a>";null!=p&&(dx=dx+'&nbsp<i tabindex="0" class="bi-megaphone-fill" style="color: cornflowerblue; " role="button" aria-label="dx_operations" data-bs-container="body" data-bs-toggle="popover" data-bs-trigger="focus" data-bs-sanitize="true" data-bs-placement="auto" data-bs-html="true" data-bs-title="Announced DX Op.: '+p.summary+'" data-bs-content="'+p.description+" data from &nbsp"+u+'"></i>'),c.append($("<td/>").html('<a href="'+qrz_url+e[i].dx+'" target="_blank" rel="noopener"><i class="bi-search" role="button" aria-label="'+e[i].dx+'"></i></a><span>&nbsp'+dx+"</span>"));try{c.append($("<td/>").html('<span class="img-flag flag-icon flag-icon-'+e[i].iso+'" data-bs-container="body" data-bs-toggle="popover" data-bs-trigger="hover" data-bs-placement="left" data-bs-content="'+e[i].country+'"></span>'))}catch(t){c.append($("<td/>"))}c.append($('<td class="d-none d-lg-table-cell d-xl-table-cell"/>').html(e[i].country)),c.append($('<td class="d-none d-lg-table-cell d-xl-table-cell"/>').html(e[i].comm));var m=new Date(1e3*e[i].time),h="00"+m.getUTCHours();h=h.substring(h.length-2,h.length);var f="00"+m.getMinutes();f=f.substring(f.length-2,f.length);var x="00"+m.getUTCDate();x=x.substring(x.length-2,x.length);var v="00"+(Number(m.getUTCMonth())+1);v=v.substring(v.length-2,v.length);var y=m.getUTCFullYear();tm=h+":"+f,(m=x+"/"+v+"/"+y)==dt_current?c.append($("<td/>").html(tm)):c.append($("<td/>").html('<table class="table-sm table-borderless"><tbody><tr style="background-color:transparent"><td>'+tm+"</td></tr><tr><td>"+m+"</td></tr></tbody></table>")),$(t).append(c)}$(function(){$('[data-bs-toggle="popover"]').popover({container:t})});try{return Array.from(n)}catch(t){return}}}function mySearch(t){t.preventDefault(),myTimer()}function getFilter(t,e,a,r){selectedFilter=[].map.call(document.getElementById(t).selectedOptions,t=>t.value);var n="";return(selectedFilter.length<a||-1==a)&&(n=selectedFilter.map(function(t){return t?e+"="+t:""}).join("&"),"&"==(r=r.concat("&".concat(n))).substring(0,1)&&(r=r.substring(1))),r}function myTimer(){var t=new XMLHttpRequest,e="";e=getFilter("band","b",14,e),e=getFilter("de_re","e",7,e),e=getFilter("dx_re","x",7,e),e=getFilter("mode","m",3,e),e=getFilter("cqdeInput","qe",-1,e);var a="spotlist";(e=getFilter("cqdxInput","qx",-1,e))&&(a=a.concat("?".concat(e))),t.open("GET",a,!0),t.onload=function(){try{rows_list=buildHtmlTable("#bodyspot",JSON.parse(this.response),rows_list)}catch(t){console.log(t),console.log(t.stack)}},t.send()}

View File

@ -1,56 +0,0 @@
{
"name": "IU1BOW DXCluster v2.3",
"description": "DXCluser for ham radio by IU1BOW",
"short_name": "IU1BOW DX",
"theme_color": "#2196f3",
"background_color": "#f3b221",
"display": "standalone",
"orientation": "portrait",
"scope": "/",
"start_url": "/index.html",
"lang": "en-EN",
"icons": [
{
"src": "images/icons/icon-72x72.png",
"sizes": "72x72",
"type": "image/png",
"purpose": "any maskable"
},
{
"src": "images/icons/icon-96x96.png",
"sizes": "96x96",
"type": "image/png"
},
{
"src": "images/icons/icon-128x128.png",
"sizes": "128x128",
"type": "image/png"
},
{
"src": "images/icons/icon-144x144.png",
"sizes": "144x144",
"type": "image/png"
},
{
"src": "images/icons/icon-152x152.png",
"sizes": "152x152",
"type": "image/png"
},
{
"src": "images/icons/icon-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "images/icons/icon-384x384.png",
"sizes": "384x384",
"type": "image/png"
},
{
"src": "images/icons/icon-512x512.png",
"sizes": "512x512",
"type": "image/png"
}
],
"splash_pages": null
}

View File

@ -1,5 +0,0 @@
# Ignore everything in this directory
*
# Except this file
!.gitignore

View File

@ -1,57 +0,0 @@
// This is the "Offline page" service worker
const CACHE = "pwabuilder-page";
const offlineFallbackPage = "/offline.html";
// Install stage sets up the offline page in the cache and opens a new cache
self.addEventListener("install", function (event) {
console.log("[PWA Builder] Install Event processing");
event.waitUntil(
caches.open(CACHE).then(function (cache) {
console.log("[PWA Builder] Cached offline page during install");
/*
if (offlineFallbackPage === "/html/offline.html") {
return cache.add(new Response("TODO: Update the value of the offlineFallbackPage constant in the serviceworker."));
}
*/
return cache.add(offlineFallbackPage);
})
);
});
// If any fetch fails, it will show the offline page.
self.addEventListener("fetch", function (event) {
if (event.request.method !== "GET") return;
event.respondWith(
fetch(event.request).catch(function (error) {
// The following validates that the request was for a navigation to a new document
if (
event.request.destination !== "document" ||
event.request.mode !== "navigate"
) {
return;
}
console.error("[PWA Builder] Network request Failed. Serving offline page " + error);
return caches.open(CACHE).then(function (cache) {
return cache.match(offlineFallbackPage);
});
})
);
});
// This is an event that can be fired from your page to tell the SW to update the offline page
self.addEventListener("refreshOffline", function () {
const offlinePageRequest = new Request(offlineFallbackPage);
return fetch(offlineFallbackPage).then(function (response) {
return caches.open(CACHE).then(function (cache) {
console.log("[PWA Builder] Offline page updated from refreshOffline event: " + response.url);
return cache.put(offlinePageRequest, response);
});
});
});

View File

@ -1,133 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
{% block title %}
{% endblock title %}
{% block head %}
<meta http-equiv="Content-Security-Policy"
content="
script-src 'self' cdnjs.cloudflare.com cdn.jsdelivr.net 'unsafe-inline'
">
<meta charset="utf-8">
<meta name="description" content="Web Ham Radio DX Cluster and spot search">
<meta name="keywords" content="ham radio, dx cluster, dx spots, cluster sposts,web dx cluster,dx cluster search, DX spots">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="#2196f3">
<link rel="icon" href="/static/images/icons/favicon.ico" size="any">
<link rel="icon" href="/static/images/icons/spider_ico_master.svg" type="image/svg+xml">
<link rel="apple-touch-icon" href="/static/images/icons/icon-apple.png">
<link rel="manifest" href="/static/manifest.webmanifest">
<link rel="stylesheet" href="/static/css/style.min.css">
<link rel="preload" href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" as="style" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous" onload="this.rel='stylesheet'">
<noscript><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css"></noscript>
<link rel="preload" href="https://cdnjs.cloudflare.com/ajax/libs/flag-icon-css/4.1.5/css/flag-icons.min.css" as="style" integrity="sha512-UwbBNAFoECXUPeDhlKR3zzWU3j8ddKIQQsDOsKhXQGdiB5i3IHEXr9kXx82+gaHigbNKbTDp3VY/G6gZqva6ZQ==" crossorigin="anonymous" onload="this.rel='stylesheet'">
<noscript><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/flag-icon-css/4.1.5/css/flag-icons.min.css"></noscript>
<script src="static/js/load_css.min.js"></script>
{% endblock head %}
</head>
<body>
<header>
{% block menu %}
<!-- nav bar -->
<nav class="navbar px-2 navbar-expand-lg navbar-dark bg-dark">
<div class="container-fluid">
<a class="navbar-brand" href="/">
<img src="/static/images/icons/icon-72x72.png" width="30" height="30" class="d-inline-block align-top" alt="">
{{ mycallsign }}
</a>
<button class="navbar-toggler" type="button" aria-controls="navbarToggler01" aria-expanded="false" aria-label="Toggle navigation" data-bs-toggle="collapse" data-bs-target="#navbarToggler01" >
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarToggler01">
<ul class="navbar-nav me-auto mb-2 mb-lg-0" >
{% for dict_item in menu_list %}
<li class="nav-item">
<a class="nav-link {% if request.path == dict_item["link"] %} active {% endif %}" href="{{dict_item["link"]}}"
{% if dict_item["external"] %}
target="blank" rel="noopener"
{% endif %}
>{{dict_item["label"]}}<span class="sr-only"></span></a>
</li>
{% endfor %}
</ul>
<div id="MyClockDisplay" onload="showTime()" class="text-white-50 d-none d-lg-block"></div>
<div class="text-white-50 d-none d-lg-block" >&nbsp (UTC) &nbsp &nbsp</div>
{% block callsign %}
<form method="POST" class="d-flex" id="form-callsign" enctype="application/x-www-form-urlencoded" >
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}"/>
<div class="input-group" id='input-group-callsign'>
<input type="text" class="form-control" placeholder="callsign" aria-label="callsign" aria-describedby="button-addon2" id="callsignInput" >
<div class="input-group-append">
<button class="btn btn-secondary" type="submit" onclick="myCallsignSearch()" formaction='javascript:myCallsignSearch();'>
<span class="bi-search" role="button" aria-label="search-callsign"></span>
</button>
</div>
</div>
</form>
{% endblock callsign %}
</div>
</div>
</nav>
{% endblock menu %}
</header>
<div class="container-fluid mt-1 ml-0 mr-0 px-0">
<div class="ipcs bg-light p-4 rounded-lg m-2">
{% block titles %}
{% endblock %}
<p class="text-light">Telnet access: <a href="telnet://{{ telnet }}" class="text-white">{{ telnet }}</a></p>
<p class="text-light">For connect your cluster, write to <a href="mailto:{{ mail }}?Subject=Connect%20my%20DxCluster%20node" target="_top" class="text-white">{{ mail }}</a></p>
</div>
{% block filters %}
{% endblock filters %}
{% block contents %}
{% endblock contents %}
</div>
<footer class="page-footer font-small blue">
<div class="footer-copyright text-center py-3">
<span class="copyleft">&copy;</span> Copyleft:
<span id="copyDate"></span>
<a href="https://github.com/coulisse/spiderweb/" target="blank" rel="noopener">IU1BOW Spiderweb</a>
<span id="version">v2.3.1</span>
</div>
</footer>
<script async src="static/js/clock.min.js"></script>
<script async src="static/js/copy_date.min.js"></script>
<script async src="static/js/load-sw.min.js"></script>
<script>
{% block app_data %}
var my_callsign='{{callsign}}';
{% endblock app_data %}
</script>
<script defer src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.slim.min.js" integrity="sha512-6ORWJX/LrnSjBzwefdNUyLCMTIsGoNP6NftMy2UAm1JBm6PRZCO1d7OHBStWpVFZLO+RerTvqX/Z9mBFfCJZ4A==" crossorigin="anonymous"></script>
<script defer src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script>
{% block app_scripts %}
<script async src="static/js/callsign_search.min.js"></script>
{% endblock app_scripts %}
{% block inline_scripts %}
{% endblock inline_scripts %}
<!-- cookie consent management -->
{% if cookies_check() %}
{# then user has already consented so no requirement for consent banner #}
{% else %}
{# show a cookie consent banner #}
<div class="modal" tabindex="-1" id="cookie-consent-container">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h1 class="modal-title">We use cookies</h1>
</div>
<div class="modal-body">
<p>We use only technical cookies.</p>
<p>Clicking &quot;I agree&quot;, you agree to the storing of cookies on your device. To learn more about how we use cookies, please see our cookies policy.</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-primary" id="cookie-consent">I agree</button>
</div>
</div>
</div>
</div>
<script defer src="static/js/cookie_consent.min.js"></script>
{% endif %}
</body>
</html>

View File

@ -1,16 +0,0 @@
{% extends "index.html" %}
<head>
{% block title %}
<title>Spot search for a specific Callsign</title>
{% endblock %}
</head>
{% block titles %}
<h1 class="display-4 text-white">{{callsign}}</h1>
<p class="lead text-light">Some statistics about this callsign</p>
{% endblock %}
{% block filters %}
<div class="row mx-auto">
{% endblock filters %}
{% block inline_scripts %}
<script defer src="static/js/callsign_inline.min.js"></script>
{% endblock %}

View File

@ -1,5 +0,0 @@
<input type="checkbox" id="category_{{ category.name }}"
{% if category.default %}checked="checked"{% endif %}
{% if category.is_required %}disabled="disabled"{% endif %}
name="flask_consent_category" value="{{ category.name }}"/>
<label for="category_{{ category.name }}">{{ category.title }}</label>

View File

@ -1,33 +0,0 @@
{% extends "_base.html" %}
<head>
{% block title %}
<title>DX Cluster from IU1BOW: Cookies</title>
{% endblock %}
{% block head %}
{{ super() }}
{% endblock %}
</head>
{% block titles %}
<h1 class="display-4 text-white">COOKIES</h1>
<p class="lead text-light">WEB DX Cluster For HAM Radio</p>
{% endblock %}
{% block filters %}
{% endblock %}
{% block contents %}
<div class="col mr-3 px-2">
<p class="text-justify"><span class="font-weight-bold">Cookies</span> are small text files that can be used by websites to make a user's experience more efficient. This site uses different types of cookies. You can at any time change or withdraw
your consent from the Cookies page on my website. Some cookies are placed by third party services that appear on our pages, for example if you view or listen to any embedded audio or video content. I don't control the setting of these cookies, so
please check the websites of these third parties for more information about their cookies and how they manage them.</p>
<p class="text-justify"><span class="font-weight-bold">Necessary</span> cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without
these cookies.</p>
<p class="text-justify"><span class="font-weight-bold">Preference</span> cookies enable a website to remember information that changes the way the website behaves or looks, like your preferred language or the region that you are in.</p>
<p class="text-justify"><span class="font-weight-bold">Statistic</span> cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.</p>
<p class="text-justify"><span class="font-weight-bold">Marketing</span> cookies are used to track visitors across websites. The intention is to display content, as well as ads that are relevant and engaging for the individual user and thereby more
valuable for publishers and third party advertisers.</p>
<p class="text-justify"><span class="font-weight-bold">Unclassified</span> cookies are cookies that we are in the process of classifying, together with the providers of individual cookies.</p>
</div>
{% endblock %}
{% block app_data %}
{% endblock %}
{% block app_scritps %}
{% endblock %}

View File

@ -1,225 +0,0 @@
{% extends "_base.html" %}
<head>
{% block title %}
<title>DX Cluster / DX Spot for Hamradio</title>
{% endblock %}
{% block head %}
{{ super() }}
{% endblock %}
</head>
{% block titles %}
<h1 class="display-4 text-white">WEB DX Cluster</h1>
<p class="lead text-light">Spots list</p>
{% endblock %}
{% block filters %}
<div class="row mx-auto justify-content-between align-middle">
<div class="mx-auto">
<button class="btn btn-primary btn-sm" type="button" data-toggle="collapse" aria-expanded="false" aria-label="filter" data-bs-toggle="collapse" data-bs-target="#collapseFilters">
<span class="bi-funnel-fill" role="button" aria-label="funnel-fill"></span>
</button>
</div>
</div>
<div class="row mx-auto">
<!--Sidebar content-->
<div class="col-md-auto ml-2 collapse rounded-sm shadow mb-5 bg-body" id="collapseFilters">
<form method="POST" id="form-filters" enctype="multipart/form-data" >
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}"/>
<strong>Band</strong>
<select class="form-select overflow-hidden" id="band" size="14" multiple>
<option selected value="SHF">SHF</option>
<option selected value="UHF">UHF</option>
<option selected value="VHF">VHF</option>
<option selected value="6">6m</option>
<option selected value="10">10m</option>
<option selected value="12">12m</option>
<option selected value="15">15m</option>
<option selected value="17">17m</option>
<option selected value="20">20m</option>
<option selected value="30">30m</option>
<option selected value="40">40m</option>
<option selected value="60">60m</option>
<option selected value="80">80m</option>
<option selected value="160">&gt;160m</option>
</select>
<p></p>
<div class="row">
<strong>Mode</strong>
</div>
<select class="form-select overflow-hidden" id="mode" size="3" multiple>
<option selected value="cw">CW</option>
<option selected value="phone">PHONE</option>
<option selected value="digi">DIGI</option>
</select>
<p></p>
<div class="row">
<div class="col">
<strong>De</strong>
<select class="form-select overflow-hidden" id="de_re" size="7" multiple>
<option selected value="EU">EU</option>
<option selected value="NA">NA</option>
<option selected value="AS">AS</option>
<option selected value="AF">AF</option>
<option selected value="OC">OC</option>
<option selected value="SA">SA</option>
<option selected value="AN">AN</option>
</select>
</div>
<div class="col">
<strong>Dx</strong>
<select class="form-select overflow-hidden" id="dx_re" size="7" multiple>
<option selected value="EU">EU</option>
<option selected value="NA">NA</option>
<option selected value="AS">AS</option>
<option selected value="AF">AF</option>
<option selected value="OC">OC</option>
<option selected value="SA">SA</option>
<option selected value="AN">AN</option>
</select>
</div>
</div>
<p></p>
<!-- cq filter -->
{% if enable_cq_filter == "Y" %}
<div class="row">
<strong>CQ De zone</strong>
<div class="col">
<select class="form-select" aria-label="cqde" aria-decribedby="cqde" id="cqdeInput" >
<option value="" selected >All</option>
<option value="1" >1 - northwestern zone of NA</option>
<option value="2" >2 - northeastern zone of NA</option>
<option value="3" >3 - western zone of NA</option>
<option value="4" >4 - central zone of NA</option>
<option value="5" >5 - eastern zone of NA</option>
<option value="6" >6 - southern zone of NA</option>
<option value="7" >7 - central american zone</option>
<option value="8" >8 - west indies zone</option>
<option value="9" >9 - northern zone of SA</option>
<option value="10" >10 - western zone of SA</option>
<option value="11" >11 - central zone of SA</option>
<option value="12" >12 - southwest zone of SA</option>
<option value="13" >13 - southeast zone of SA</option>
<option value="14" >14 - western zone of EU</option>
<option value="15" >15 - central EU zone</option>
<option value="16" >16 - eastern zone of EU</option>
<option value="17" >17 - western zone of siberia</option>
<option value="18" >18 - central siberian zone</option>
<option value="19" >19 - eastern siberian zone</option>
<option value="20" >20 - balkan zone</option>
<option value="21" >21 - southwestern zone of AS</option>
<option value="22" >22 - southern zone of AS</option>
<option value="23" >23 - central zone of AS</option>
<option value="24" >24 - eastern zone of AS</option>
<option value="25" >25 - japanese zone</option>
<option value="26" >26 - southeastern zone of AS</option>
<option value="27" >27 - philippine zone</option>
<option value="28" >28 - indonesian zone</option>
<option value="29" >29 - western zone of australia</option>
<option value="30" >30 - eastern zone of australia</option>
<option value="31" >31 - central pacific zone</option>
<option value="32" >32 - new zealand zone</option>
<option value="33" >33 - northwestern zone of AF</option>
<option value="34" >34 - northeastern zone of AF</option>
<option value="35" >35 - central zone of AF</option>
<option value="36" >36 - equatorial zone of AF</option>
<option value="37" >37 - eastern zone of AF</option>
<option value="38" >38 - south AF zone</option>
<option value="39" >39 - madagascar zone</option>
<option value="40" >40 - north atlantic zone</option>
</select>
</div>
</div>
<p></p>
<div class="row">
<strong>CQ Dx zone</strong>
<div class="col">
<select class="form-select" aria-label="cqdx" aria-decribedby="cqdx" id="cqdxInput" >
<option value="" selected>All</option>
<option value="1" >1 - northwestern zone of NA</option>
<option value="2" >2 - northeastern zone of NA</option>
<option value="3" >3 - western zone of NA</option>
<option value="4" >4 - central zone of NA</option>
<option value="5" >5 - eastern zone of NA</option>
<option value="6" >6 - southern zone of NA</option>
<option value="7" >7 - central american zone</option>
<option value="8" >8 - west indies zone</option>
<option value="9" >9 - northern zone of SA</option>
<option value="10" >10 - western zone of SA</option>
<option value="11" >11 - central zone of SA</option>
<option value="12" >12 - southwest zone of SA</option>
<option value="13" >13 - southeast zone of SA</option>
<option value="14" >14 - western zone of EU</option>
<option value="15" >15 - central EU zone</option>
<option value="16" >16 - eastern zone of EU</option>
<option value="17" >17 - western zone of siberia</option>
<option value="18" >18 - central siberian zone</option>
<option value="19" >19 - eastern siberian zone</option>
<option value="20" >20 - balkan zone</option>
<option value="21" >21 - southwestern zone of AS</option>
<option value="22" >22 - southern zone of AS</option>
<option value="23" >23 - central zone of AS</option>
<option value="24" >24 - eastern zone of AS</option>
<option value="25" >25 - japanese zone</option>
<option value="26" >26 - southeastern zone of AS</option>
<option value="27" >27 - philippine zone</option>
<option value="28" >28 - indonesian zone</option>
<option value="29" >29 - western zone of australia</option>
<option value="30" >30 - eastern zone of australia</option>
<option value="31" >31 - central pacific zone</option>
<option value="32" >32 - new zealand zone</option>
<option value="33" >33 - northwestern zone of AF</option>
<option value="34" >34 - northeastern zone of AF</option>
<option value="35" >35 - central zone of AF</option>
<option value="36" >36 - equatorial zone of AF</option>
<option value="37" >37 - eastern zone of AF</option>
<option value="38" >38 - south AF zone</option>
<option value="39" >39 - madagascar zone</option>
<option value="40" >40 - north atlantic zone</option>
</select>
</div>
</div>
{% endif %}
<p></p>
<div class="mx-auto">
<button type="submit" class="btn btn-primary btn-block w-100" aria-pressed="true" data-toggle="collapse" data-target="#collapseFilters" aria-expanded="false" aria-controls="collapseFilters" aria-label="filter">Search</button>
</div>
</form>
</div>
{% endblock filters %}
<!-- table -->
{% block contents %}
<div class="col">
<table id="spotsTable" class="table table-striped table-sm text-responsive table-borderless table-hover">
<thead>
<tr>
<th scope="col">DE</th>
<th scope="col">Freq</th>
<th scope="col">DX</th>
<th scope="col"></th>
<th scope="col" class="d-none d-lg-table-cell d-xl-table-cell">Country</th>
<th scope="col" class="d-none d-lg-table-cell d-xl-table-cell">Comments</th>
<th scope="col">UTC</th>
</tr>
</thead>
<tbody id="bodyspot">
</tbody>
</table>
</div>
</div>
{% endblock contents %}
{% block app_data %}
{{ super() }}
var payload_json={{payload|tojson|safe}};
var timer_interval_json = {{timer_interval}};
var my_adxo_events_json='{{ adxo_events|tojson|safe }}';
{% endblock app_data %}
{% block app_scripts %}
{{ super() }}
<script defer src="static/js/table.min.js"></script>
{% endblock %}
{% block inline_scripts %}
<script defer src="static/js/index_inline.min.js"></script>
{% endblock %}

View File

@ -1,40 +0,0 @@
{% extends "_base.html" %}
<head>
{% block title %}
<title>DX Cluster from IU1BOW: OFFLINE</title>
<!-- page generated by staticjinja -->
{% endblock %}
{% block head %}
{{ super() }}
{% endblock %}
</head>
{% block menu %}
{{ super() }}
{% block callsign %}
{% endblock callsign %}
{% endblock menu %}
{% block titles %}
<h1 class="display-4 text-white">WEB DX Cluster</h1>
<p class="lead text-light">Spots list</p>
{% endblock %}
{% block filters %}
{% endblock %}
{% block contents %}
<!-- <div class="container">
<div class="row">
<div class="col align-self-center"> -->
<div class="jumbotron alert alert-warning" role="alert">
<h2 class="display-4">No internet connection</h2>
<p class="lead">The features in this area require Internet connectivity. Please connect your computer to the Internet</p>
<p class="lead">
<a class="btn btn-primary btn-lg" href="/" role="button">Try again</a>
</p>
<!-- </div>
</div>
</div> -->
</div>
{% endblock %}
{% block app_data %}
{% endblock %}
{% block app_scritps %}
{% endblock %}

View File

@ -1,61 +0,0 @@
{% extends "_base.html" %}
<head>
{% block title %}
<title>Some plots end stats from the dx clustes node</title>
{% endblock %}
{% block head %}
{{ super() }}
{% endblock %}
</head>
{% block titles %}
<h1 class="display-4 text-white">PLOTS & STATS</h1>
<p class="lead text-light">Some statistics about this node</p>
{% endblock %}
{% block filters %}
{% endblock %}
{% block contents %}
<div class="row mx-auto">
<div class="col mr-3" id="plotlist"></div>
</div>
<div class="row mx-auto">
<div class="col mr-3">
<table class="table table-striped table-borderless table-sm text-responsive table-hover">
<caption>Connected notes</caption>
<h3 class="text-center">Connected nodes</h2>
<thead>
<tr>
<th scope="col">Callsign</th>
<th scope="col">Type</th>
<th scope="col">Started</th>
<th scope="col" class="d-none d-lg-table-cell d-xl-table-cell">Name</th>
<th scope="col">Avg RTT</th>
<th scope="col">Link</th>
</tr>
</thead>
<tbody>
{% for dict_item in who %}
<tr>
<td>{{dict_item["callsign"]}}</td>
<td>{{dict_item["type"]}}</td>
<td>{{dict_item["started"]}}</td>
<td class="d-none d-lg-table-cell d-xl-table-cell">{{dict_item["name"]}}</td>
<td>{{dict_item["average_rtt"]}}</td>
<td>{{dict_item["link"]}}</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
</div>
{% endblock contents %}
{% block app_data %}
{{ super() }}
var payload_json={{payload|tojson|safe}};
var timer_interval_json = {{timer_interval}};
{% endblock app_data %}
{% block app_scripts %}
{{ super() }}
<script defer src="static/js/plot.min.js"></script>
{% endblock app_scripts %}

View File

@ -1,75 +0,0 @@
{% extends "_base.html" %}
<head>
{% block title %}
<title>DX Cluster from IU1BOW: Privacy</title>
{% endblock %}
{% block head %}
{{ super() }}
{% endblock %}
</head>
{% block titles %}
<h1 class="display-4 text-white">PRIVACY</h1>
<p class="lead text-light">WEB DX Cluster For HAM Radio</p>
{% endblock %}
{% block filters %}
{% endblock %}
{% block contents %}
<div class="col mr-3 px-2">
<h1>Privacy Policy for this web site</h1>
<p>At this web site, one of our main priorities is the privacy of our visitors. This Privacy Policy document contains types of information that is collected and recorded by this web site and how we use it.</p>
<p>If you have additional questions or require more information about our Privacy Policy, do not hesitate to contact us.</p>
<p>This Privacy Policy applies only to our online activities and is valid for visitors to our website with regards to the information that they shared and/or collect in this web site. This policy is not applicable to any information collected offline or via channels other than this website. Our Privacy Policy was created with the help of the <a href="https://www.privacypolicygenerator.info">Privacy Policy Generator</a> and the <a href="https://www.generateprivacypolicy.com/">Free Privacy Policy Generator</a>.</p>
<h2>Consent</h2>
<p>By using our website, you hereby consent to our Privacy Policy and agree to its terms. For our Terms and Conditions, please visit the <a href="https://www.privacypolicyonline.com/terms-conditions-generator/">Terms & Conditions Generator</a>.</p>
<h2>Information we collect</h2>
<p>The personal information that you are asked to provide, and the reasons why you are asked to provide it, will be made clear to you at the point we ask you to provide your personal information.</p>
<p>If you contact us directly, we may receive additional information about you such as your name, email address, phone number, the contents of the message and/or attachments you may send us, and any other information you may choose to provide.</p>
<p>When you register for an Account, we may ask for your contact information, including items such as name, company name, address, email address, and telephone number.</p>
<h2>How we use your information</h2>
<p>We use the information we collect in various ways, including to:</p>
<ul>
<li>Provide, operate, and maintain our webste</li>
<li>Improve, personalize, and expand our webste</li>
<li>Understand and analyze how you use our webste</li>
<li>Develop new products, services, features, and functionality</li>
<li>Communicate with you, either directly or through one of our partners, including for customer service, to provide you with updates and other information relating to the webste, and for marketing and promotional purposes</li>
<li>Send you emails</li>
<li>Find and prevent fraud</li>
</ul>
<h2>Log Files</h2>
<p>this web site follows a standard procedure of using log files. These files log visitors when they visit websites. All hosting companies do this and a part of hosting services' analytics. The information collected by log files include internet protocol (IP) addresses, browser type, Internet Service Provider (ISP), date and time stamp, referring/exit pages, and possibly the number of clicks. These are not linked to any information that is personally identifiable. The purpose of the information is for analyzing trends, administering the site, tracking users' movement on the website, and gathering demographic information.</p>
<h2>Cookies and Web Beacons</h2>
<p>Like any other website, this web site uses 'cookies'. These cookies are used to store information including visitors' preferences, and the pages on the website that the visitor accessed or visited. The information is used to optimize the users' experience by customizing our web page content based on visitors' browser type and/or other information.</p>
<p>For more general information on cookies, please read <a href="https://www.privacypolicies.com/blog/cookies/">"What Are Cookies"</a>.</p>
<h2>Advertising Partners Privacy Policies</h2>
<P>You may consult this list to find the Privacy Policy for each of the advertising partners of this web site.</p>
<p>Third-party ad servers or ad networks uses technologies like cookies, JavaScript, or Web Beacons that are used in their respective advertisements and links that appear on this web site, which are sent directly to users' browser. They automatically receive your IP address when this occurs. These technologies are used to measure the effectiveness of their advertising campaigns and/or to personalize the advertising content that you see on websites that you visit.</p>
<p>Note that this web site has no access to or control over these cookies that are used by third-party advertisers.</p>
<h2>Third Party Privacy Policies</h2>
<p>this web site's Privacy Policy does not apply to other advertisers or websites. Thus, we are advising you to consult the respective Privacy Policies of these third-party ad servers for more detailed information. It may include their practices and instructions about how to opt-out of certain options. </p>
<p>You can choose to disable cookies through your individual browser options. To know more detailed information about cookie management with specific web browsers, it can be found at the browsers' respective websites.</p>
<h2>CCPA Privacy Rights (Do Not Sell My Personal Information)</h2>
<p>Under the CCPA, among other rights, California consumers have the right to:</p>
<p>Request that a business that collects a consumer's personal data disclose the categories and specific pieces of personal data that a business has collected about consumers.</p>
<p>Request that a business delete any personal data about the consumer that a business has collected.</p>
<p>Request that a business that sells a consumer's personal data, not sell the consumer's personal data.</p>
<p>If you make a request, we have one month to respond to you. If you would like to exercise any of these rights, please contact us.</p>
<h2>GDPR Data Protection Rights</h2>
<p>We would like to make sure you are fully aware of all of your data protection rights. Every user is entitled to the following:</p>
<p>The right to access You have the right to request copies of your personal data. We may charge you a small fee for this service.</p>
<p>The right to rectification You have the right to request that we correct any information you believe is inaccurate. You also have the right to request that we complete the information you believe is incomplete.</p>
<p>The right to erasure You have the right to request that we erase your personal data, under certain conditions.</p>
<p>The right to restrict processing You have the right to request that we restrict the processing of your personal data, under certain conditions.</p>
<p>The right to object to processing You have the right to object to our processing of your personal data, under certain conditions.</p>
<p>The right to data portability You have the right to request that we transfer the data that we have collected to another organization, or directly to you, under certain conditions.</p>
<p>If you make a request, we have one month to respond to you. If you would like to exercise any of these rights, please contact us.</p>
<h2>Children's Information</h2>
<p>Another part of our priority is adding protection for children while using the internet. We encourage parents and guardians to observe, participate in, and/or monitor and guide their online activity.</p>
<p>this web site does not knowingly collect any Personal Identifiable Information from children under the age of 13. If you think that your child provided this kind of information on our website, we strongly encourage you to contact us immediately and we will do our best efforts to promptly remove such information from our records.</p>
</div>
{% endblock %}
{% block app_data %}
{% endblock %}
{% block app_scritps %}
{% endblock %}

View File

@ -1,7 +0,0 @@
if [ "$1" == "-b" ]; then
cd scripts || exit
./build.sh
cd ..
fi
python3 webapp.py

Some files were not shown because too many files have changed in this diff Show More