Compare commits
1 Commits
master
...
3658252e80
| Author | SHA1 | Date | |
|---|---|---|---|
| 3658252e80 |
1
.gitignore
vendored
@@ -1 +0,0 @@
|
||||
target/
|
||||
674
COPYING
@@ -1,674 +0,0 @@
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 3, 29 June 2007
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <https://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 <https://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
|
||||
<https://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
|
||||
<https://www.gnu.org/licenses/why-not-lgpl.html>.
|
||||
573
icon.svg
@@ -1,573 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
width="100mm"
|
||||
height="100mm"
|
||||
viewBox="0 0 120.61599 120.61599"
|
||||
version="1.1"
|
||||
id="svg5"
|
||||
inkscape:version="1.2.1 (9c6d41e410, 2022-07-14)"
|
||||
sodipodi:docname="icon.svg"
|
||||
inkscape:export-filename="icon.png"
|
||||
inkscape:export-xdpi="300"
|
||||
inkscape:export-ydpi="300"
|
||||
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">
|
||||
<sodipodi:namedview
|
||||
id="namedview7"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:showpageshadow="2"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#d1d1d1"
|
||||
inkscape:document-units="mm"
|
||||
showgrid="false"
|
||||
inkscape:zoom="0.38440305"
|
||||
inkscape:cx="411.02692"
|
||||
inkscape:cy="811.6481"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="1017"
|
||||
inkscape:window-x="-8"
|
||||
inkscape:window-y="-8"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="layer1"
|
||||
showborder="false" />
|
||||
<defs
|
||||
id="defs2" />
|
||||
<g
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1"
|
||||
transform="translate(-7.9375088,-7.408341)">
|
||||
<circle
|
||||
style="fill:none;fill-opacity:1;stroke:#4f9ade;stroke-width:5.52181;stroke-linecap:round;stroke-linejoin:bevel;stroke-dasharray:none;stroke-opacity:1;stop-color:#000000"
|
||||
id="path4197-4-2"
|
||||
cx="193.98369"
|
||||
cy="386.86728"
|
||||
r="33.423893" />
|
||||
<circle
|
||||
style="fill:none;fill-opacity:1;stroke:#4f9ade;stroke-width:5.52182;stroke-linecap:round;stroke-linejoin:bevel;stroke-dasharray:none;stroke-opacity:1;stop-color:#000000"
|
||||
id="path4197-4-3-1-2"
|
||||
cx="193.98369"
|
||||
cy="386.86728"
|
||||
r="57.547085" />
|
||||
<rect
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:5.52181;stroke-linecap:round;stroke-linejoin:bevel;stroke-dasharray:none;stroke-opacity:1;stop-color:#000000"
|
||||
id="rect8264"
|
||||
width="191.3741"
|
||||
height="176.11113"
|
||||
x="-26.110645"
|
||||
y="-15.779624" />
|
||||
<circle
|
||||
style="fill:none;fill-opacity:1;stroke:#4f9ade;stroke-width:5.52181;stroke-linecap:round;stroke-linejoin:bevel;stroke-dasharray:none;stroke-opacity:1;stop-color:#000000"
|
||||
id="path4197"
|
||||
cx="50.340813"
|
||||
cy="35.43071"
|
||||
r="21.362293" />
|
||||
<circle
|
||||
style="fill:none;fill-opacity:1;stroke:#4f9ade;stroke-width:5.52181;stroke-linecap:round;stroke-linejoin:bevel;stroke-dasharray:none;stroke-opacity:1;stop-color:#000000"
|
||||
id="path4197-4"
|
||||
cx="50.340813"
|
||||
cy="35.43071"
|
||||
r="33.423893" />
|
||||
<circle
|
||||
style="fill:none;fill-opacity:1;stroke:#4f9ade;stroke-width:5.52182;stroke-linecap:round;stroke-linejoin:bevel;stroke-dasharray:none;stroke-opacity:1;stop-color:#000000"
|
||||
id="path4197-4-3"
|
||||
cx="50.340813"
|
||||
cy="35.43071"
|
||||
r="45.485489" />
|
||||
<circle
|
||||
style="fill:none;fill-opacity:1;stroke:#4f9ade;stroke-width:5.52182;stroke-linecap:round;stroke-linejoin:bevel;stroke-dasharray:none;stroke-opacity:1;stop-color:#000000"
|
||||
id="path4197-4-3-1"
|
||||
cx="50.340813"
|
||||
cy="35.43071"
|
||||
r="57.547085" />
|
||||
<circle
|
||||
style="fill:none;fill-opacity:1;stroke:#4f9ade;stroke-width:5.52181;stroke-linecap:round;stroke-linejoin:bevel;stroke-dasharray:none;stroke-opacity:1;stop-color:#000000"
|
||||
id="path4197-4-3-1-8"
|
||||
cx="50.340813"
|
||||
cy="35.43071"
|
||||
r="69.608681" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:2.98886;stroke-linecap:butt;stroke-linejoin:bevel;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M 71.151636,105.72285 31.071711,90.879581 62.529625,75.226192 41.856598,60.164404"
|
||||
id="path972" />
|
||||
<path
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:2.98886;stroke-linecap:butt;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M 4.1202833,139.94932 3.6002366,31.429567 28.401163,69.024276 40.229105,35.873141 c 7.327309,-2.217798 12.340034,-1.841604 19.784483,-1.495272 l 5.95116,19.120364 8.848187,-3.99902 h 59.920415 l 0.27744,91.818087 z"
|
||||
id="path245-8"
|
||||
sodipodi:nodetypes="cccccccccc" />
|
||||
<path
|
||||
id="rect1543-9"
|
||||
style="fill:#c5b57e;fill-opacity:1;stroke:#000000;stroke-width:2.98886;stroke-linecap:square;stroke-dasharray:none;stop-color:#000000"
|
||||
d="m 71.602087,69.248079 48.036433,-4.241388 1.79134,4.241388 -24.376175,52.861551 H 47.22591 l -3.411052,-3.29058 z"
|
||||
sodipodi:nodetypes="ccccccc" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:2.98886;stroke-linecap:butt;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M 22.1863,116.1851 50.949735,34.267295 74.802333,118.63562"
|
||||
id="path245" />
|
||||
<ellipse
|
||||
style="fill:#000000;fill-opacity:1;stroke-width:2.98886;stroke-linecap:square;stroke-dasharray:none;stop-color:#000000;stroke:#000000;stroke-opacity:1"
|
||||
id="path853"
|
||||
cx="50.476528"
|
||||
cy="35.456188"
|
||||
rx="7.7170177"
|
||||
ry="7.7016726" />
|
||||
<path
|
||||
style="fill:none;fill-opacity:1;stroke:#4f9ade;stroke-width:5.5218;stroke-linecap:square;stroke-dasharray:none;stroke-opacity:1;stop-color:#000000"
|
||||
id="path853-6"
|
||||
sodipodi:type="arc"
|
||||
sodipodi:cx="-193.72717"
|
||||
sodipodi:cy="188.47533"
|
||||
sodipodi:rx="35.968002"
|
||||
sodipodi:ry="35.896484"
|
||||
sodipodi:start="2.2123045"
|
||||
sodipodi:end="0.46632985"
|
||||
sodipodi:open="true"
|
||||
sodipodi:arc-type="arc"
|
||||
d="m -215.25059,217.23538 a 35.968002,35.896484 0 0 1 -8.50092,-48.52563 35.968002,35.896484 0 0 1 48.04333,-11.3015 35.968002,35.896484 0 0 1 14.10851,47.20653" />
|
||||
<path
|
||||
style="fill:none;fill-opacity:1;stroke:#4f9ade;stroke-width:5.5218;stroke-linecap:square;stroke-dasharray:none;stroke-opacity:1;stop-color:#000000"
|
||||
id="path853-6-9"
|
||||
sodipodi:type="arc"
|
||||
sodipodi:cx="-192.98309"
|
||||
sodipodi:cy="187.93011"
|
||||
sodipodi:rx="23.261015"
|
||||
sodipodi:ry="23.100607"
|
||||
sodipodi:start="2.3033806"
|
||||
sodipodi:end="0.71651673"
|
||||
sodipodi:arc-type="arc"
|
||||
d="m -208.5399,205.10423 a 23.261015,23.100607 0 0 1 -1.81963,-32.53144 23.261015,23.100607 0 0 1 32.74711,-1.98129 23.261015,23.100607 0 0 1 2.17041,32.51021"
|
||||
sodipodi:open="true" />
|
||||
<path
|
||||
style="fill:none;fill-opacity:1;stroke:#4f9ade;stroke-width:5.5218;stroke-linecap:square;stroke-dasharray:none;stroke-opacity:1;stop-color:#000000"
|
||||
id="path853-6-5"
|
||||
sodipodi:type="arc"
|
||||
sodipodi:cx="-193.4792"
|
||||
sodipodi:cy="190.24304"
|
||||
sodipodi:rx="48.598015"
|
||||
sodipodi:ry="48.614838"
|
||||
sodipodi:start="4.1762494"
|
||||
sodipodi:end="0.27695909"
|
||||
sodipodi:open="true"
|
||||
sodipodi:arc-type="arc"
|
||||
d="m -218.30409,148.44949 a 48.598015,48.614838 0 0 1 54.45995,3.26359 48.598015,48.614838 0 0 1 17.11095,51.82281" />
|
||||
<path
|
||||
style="fill:none;fill-opacity:1;stroke:#4f9ade;stroke-width:5.5218;stroke-linecap:square;stroke-dasharray:none;stroke-opacity:1;stop-color:#000000"
|
||||
id="path853-6-5-7"
|
||||
sodipodi:type="arc"
|
||||
sodipodi:cx="-188.99826"
|
||||
sodipodi:cy="187.44801"
|
||||
sodipodi:rx="58.32296"
|
||||
sodipodi:ry="58.406055"
|
||||
sodipodi:start="4.1762494"
|
||||
sodipodi:end="0.27695909"
|
||||
sodipodi:open="true"
|
||||
sodipodi:arc-type="arc"
|
||||
d="m -218.79086,137.23708 a 58.32296,58.406055 0 0 1 65.35793,3.92089 58.32296,58.406055 0 0 1 20.53502,62.26012" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:2.98886;stroke-linecap:butt;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M 41.856598,60.802664 H 58.271362"
|
||||
id="path1483" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:2.98886;stroke-linecap:butt;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M 36.568017,75.226192 H 62.529625"
|
||||
id="path1485" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:2.98886;stroke-linecap:butt;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M 31.071711,90.879581 H 66.955147"
|
||||
id="path1487" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:2.98886;stroke-linecap:butt;stroke-linejoin:bevel;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M 71.151636,105.72285 H 25.85986 L 66.955147,90.879581 36.568017,75.226194 58.271362,60.164404"
|
||||
id="path1489" />
|
||||
<rect
|
||||
style="fill:#ffeba4;fill-opacity:1;stroke:#000000;stroke-width:3.13646;stroke-linecap:square;stroke-dasharray:none;stroke-opacity:1;stop-color:#000000"
|
||||
id="rect1543"
|
||||
width="49.827774"
|
||||
height="58.211109"
|
||||
x="98.453468"
|
||||
y="71.399696"
|
||||
transform="matrix(1,0,-0.41875465,0.90809941,0,0)" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:2.98886;stroke-linecap:butt;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 61.248006,92.370426 38.105048,0.175037"
|
||||
id="path1870-9"
|
||||
sodipodi:nodetypes="cc" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:2.98886;stroke-linecap:butt;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 57.363875,100.05021 38.105042,0.17504"
|
||||
id="path1870-2"
|
||||
sodipodi:nodetypes="cc" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:2.98886;stroke-linecap:butt;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 53.479743,107.73002 38.105041,0.17503"
|
||||
id="path1870-8"
|
||||
sodipodi:nodetypes="cc" />
|
||||
<path
|
||||
id="path1597"
|
||||
style="fill:none;stroke:#000000;stroke-width:2.98886;stroke-linecap:round;stroke-dasharray:none;stop-color:#000000"
|
||||
d="m 70.450097,69.118849 c -2.302994,-1.054345 -3.617601,-4.211752 -3.040314,-7.302189 0.577288,-3.090435 2.85846,-5.10743 5.275707,-4.664735 2.417251,0.442694 4.18334,3.200902 4.084469,6.378954"
|
||||
sodipodi:nodetypes="cssc" />
|
||||
<path
|
||||
id="path1597-5"
|
||||
style="fill:none;stroke:#000000;stroke-width:2.98886;stroke-linecap:round;stroke-dasharray:none;stop-color:#000000"
|
||||
d="m 77.277919,69.118849 c -2.302999,-1.054345 -3.617595,-4.211752 -3.040316,-7.302189 0.577289,-3.090435 2.858458,-5.10743 5.275706,-4.664735 2.417255,0.442694 4.183347,3.200902 4.084468,6.378954"
|
||||
sodipodi:nodetypes="cssc" />
|
||||
<path
|
||||
id="path1597-5-7"
|
||||
style="fill:none;stroke:#000000;stroke-width:2.98886;stroke-linecap:round;stroke-dasharray:none;stop-color:#000000"
|
||||
d="m 84.105737,69.118849 c -2.302996,-1.054345 -3.617594,-4.211752 -3.040316,-7.302189 0.577291,-3.090435 2.858461,-5.10743 5.275712,-4.664735 2.417253,0.442694 4.183345,3.200902 4.084468,6.378954"
|
||||
sodipodi:nodetypes="cssc" />
|
||||
<path
|
||||
id="path1597-3-3"
|
||||
style="fill:none;stroke:#000000;stroke-width:2.98886;stroke-linecap:round;stroke-dasharray:none;stop-color:#000000"
|
||||
d="m 90.933559,69.118849 c -2.302995,-1.054345 -3.617605,-4.211752 -3.040315,-7.302189 0.577289,-3.090435 2.858457,-5.10743 5.275709,-4.664735 2.417243,0.442694 4.183336,3.200902 4.084471,6.378954"
|
||||
sodipodi:nodetypes="cssc" />
|
||||
<path
|
||||
id="path1597-5-7-1"
|
||||
style="fill:none;stroke:#000000;stroke-width:2.98886;stroke-linecap:round;stroke-dasharray:none;stop-color:#000000"
|
||||
d="m 97.761377,69.118849 c -2.302998,-1.054345 -3.617594,-4.211752 -3.040315,-7.302189 0.57729,-3.090435 2.858453,-5.10743 5.275708,-4.664735 2.41725,0.442694 4.18336,3.200902 4.08447,6.378954"
|
||||
sodipodi:nodetypes="cssc" />
|
||||
<path
|
||||
id="path1597-3-3-8"
|
||||
style="fill:none;stroke:#000000;stroke-width:2.98886;stroke-linecap:round;stroke-dasharray:none;stop-color:#000000"
|
||||
d="m 104.5892,69.118849 c -2.30299,-1.054345 -3.6176,-4.211752 -3.04031,-7.302189 0.57728,-3.090435 2.85845,-5.10743 5.27571,-4.664735 2.41725,0.442694 4.18334,3.200902 4.08446,6.378954"
|
||||
sodipodi:nodetypes="cssc" />
|
||||
<path
|
||||
id="path1597-5-7-1-0"
|
||||
style="fill:none;stroke:#000000;stroke-width:2.98886;stroke-linecap:round;stroke-dasharray:none;stop-color:#000000"
|
||||
d="m 111.41703,69.118849 c -2.30301,-1.054345 -3.6176,-4.211752 -3.04033,-7.302189 0.5773,-3.090435 2.85848,-5.10743 5.27572,-4.664735 2.41726,0.442694 4.18334,3.200902 4.08447,6.378954"
|
||||
sodipodi:nodetypes="cssc" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:2.98886;stroke-linecap:butt;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 69.016271,77.01084 38.105039,0.175038"
|
||||
id="path1870"
|
||||
sodipodi:nodetypes="cc" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:2.98886;stroke-linecap:butt;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M 65.132138,84.690634 103.23718,84.86567"
|
||||
id="path1870-4"
|
||||
sodipodi:nodetypes="cc" />
|
||||
<path
|
||||
id="rect3438"
|
||||
style="fill:#ffffff;stroke:none;stroke-width:2.73195;stroke-linecap:round;stroke-linejoin:bevel;stroke-dasharray:none;stop-color:#000000;fill-opacity:1"
|
||||
d="M -48.100937 -65.648699 L -48.100937 190.05156 L 193.48656 190.05156 L 193.48656 -65.648699 L -48.100937 -65.648699 z M 10.843335 9.8990494 L 125.82543 9.8990494 L 125.82543 125.29626 L 10.843335 125.29626 L 10.843335 9.8990494 z " />
|
||||
<circle
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:5.52181;stroke-linecap:round;stroke-linejoin:bevel;stroke-dasharray:none;stroke-opacity:1;stop-color:#000000"
|
||||
id="path5194"
|
||||
cx="8.8180647"
|
||||
cy="11.224082"
|
||||
r="8.5120382" />
|
||||
<rect
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:5.52181;stroke-linecap:round;stroke-linejoin:bevel;stroke-dasharray:none;stroke-opacity:1;stop-color:#000000"
|
||||
id="rect8264-5"
|
||||
width="191.3741"
|
||||
height="176.11113"
|
||||
x="315.93002"
|
||||
y="-26.572329" />
|
||||
<circle
|
||||
style="fill:none;fill-opacity:1;stroke:#4f9ade;stroke-width:5.52181;stroke-linecap:round;stroke-linejoin:bevel;stroke-dasharray:none;stroke-opacity:1;stop-color:#000000"
|
||||
id="path4197-4-3-1-8-7-8"
|
||||
cx="529.05237"
|
||||
cy="19.290052"
|
||||
r="69.608681" />
|
||||
<circle
|
||||
style="fill:none;fill-opacity:1;stroke:#4f9ade;stroke-width:5.52181;stroke-linecap:round;stroke-linejoin:bevel;stroke-dasharray:none;stroke-opacity:1;stop-color:#000000"
|
||||
id="path4197-4-3-1-8-7-8-8"
|
||||
cx="516.25659"
|
||||
cy="19.290052"
|
||||
r="69.608681" />
|
||||
<circle
|
||||
style="fill:none;fill-opacity:1;stroke:#4f9ade;stroke-width:5.52181;stroke-linecap:round;stroke-linejoin:bevel;stroke-dasharray:none;stroke-opacity:1;stop-color:#000000"
|
||||
id="path4197-4-3-1-8-7-8-8-2"
|
||||
cx="490.66495"
|
||||
cy="19.290052"
|
||||
r="69.608681" />
|
||||
<circle
|
||||
style="fill:none;fill-opacity:1;stroke:#4f9ade;stroke-width:5.52181;stroke-linecap:round;stroke-linejoin:bevel;stroke-dasharray:none;stroke-opacity:1;stop-color:#000000"
|
||||
id="path4197-4-3-1-8-7-8-8-2-5"
|
||||
cx="477.86914"
|
||||
cy="19.290052"
|
||||
r="69.608681" />
|
||||
<circle
|
||||
style="fill:none;fill-opacity:1;stroke:#4f9ade;stroke-width:5.52181;stroke-linecap:round;stroke-linejoin:bevel;stroke-dasharray:none;stroke-opacity:1;stop-color:#000000"
|
||||
id="path4197-4-3-1-8-7-8-8-2-5-8"
|
||||
cx="465.07333"
|
||||
cy="19.290052"
|
||||
r="69.608681" />
|
||||
<circle
|
||||
style="fill:none;fill-opacity:1;stroke:#4f9ade;stroke-width:5.52181;stroke-linecap:round;stroke-linejoin:bevel;stroke-dasharray:none;stroke-opacity:1;stop-color:#000000"
|
||||
id="path4197-4-3-1-8-7-8-8-2-5-2"
|
||||
cx="452.27753"
|
||||
cy="19.290052"
|
||||
r="69.608681" />
|
||||
<circle
|
||||
style="fill:none;fill-opacity:1;stroke:#4f9ade;stroke-width:5.52181;stroke-linecap:round;stroke-linejoin:bevel;stroke-dasharray:none;stroke-opacity:1;stop-color:#000000"
|
||||
id="path4197-4-3-1-8-7-8-8-5"
|
||||
cx="503.46075"
|
||||
cy="19.290052"
|
||||
r="69.608681" />
|
||||
<path
|
||||
id="rect12036"
|
||||
style="fill:#ffffff;stroke-width:5.52181;stroke-linecap:round;stroke-linejoin:bevel;stop-color:#000000"
|
||||
d="m 382.76068,49.026981 h 22.7733 l -0.20405,-10.212154 h 67.24742 v 68.976853 h -89.81667 z"
|
||||
sodipodi:nodetypes="ccccccc" />
|
||||
<g
|
||||
id="g13446"
|
||||
transform="translate(-23.615614,-1.9147788)">
|
||||
<rect
|
||||
style="fill:#dddddd;fill-opacity:1;stroke:#000000;stroke-width:2.98886;stroke-linecap:round;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1;stop-color:#000000"
|
||||
id="rect12307"
|
||||
width="56.649075"
|
||||
height="47.843525"
|
||||
x="382.56964"
|
||||
y="59.053787" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:2.98886;stroke-linecap:butt;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M 394.42489,59.201904 V 20.27731"
|
||||
id="path12465"
|
||||
sodipodi:nodetypes="cc" />
|
||||
<ellipse
|
||||
style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:2.98886;stroke-linecap:square;stroke-dasharray:none;stroke-opacity:1;stop-color:#000000"
|
||||
id="path853-4"
|
||||
cx="394.31458"
|
||||
cy="20.402958"
|
||||
rx="4.62993"
|
||||
ry="4.6197276" />
|
||||
<rect
|
||||
style="fill:#3f9000;fill-opacity:1;stroke:#000000;stroke-width:2.98886;stroke-linecap:round;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1;stop-color:#000000"
|
||||
id="rect12489"
|
||||
width="45.595596"
|
||||
height="8.2185192"
|
||||
x="388.32666"
|
||||
y="66.685265" />
|
||||
<circle
|
||||
style="fill:#909090;fill-opacity:1;stroke:#000000;stroke-width:2.98886;stroke-linecap:round;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1;stop-color:#000000"
|
||||
id="path13427"
|
||||
cx="396.65854"
|
||||
cy="90.753792"
|
||||
r="7.6314826" />
|
||||
</g>
|
||||
<g
|
||||
id="g13462"
|
||||
transform="translate(3.1912979)">
|
||||
<path
|
||||
id="rect1543-9-5"
|
||||
style="fill:#c5b57e;fill-opacity:1;stroke:#000000;stroke-width:2.98886;stroke-linecap:square;stroke-dasharray:none;stop-color:#000000"
|
||||
d="m 413.64274,58.455374 48.03643,-4.24139 1.79134,4.24139 -24.37618,52.861546 h -49.82777 l -3.41105,-3.29058 z"
|
||||
sodipodi:nodetypes="ccccccc" />
|
||||
<rect
|
||||
style="fill:#ffeba4;fill-opacity:1;stroke:#000000;stroke-width:3.13646;stroke-linecap:square;stroke-dasharray:none;stroke-opacity:1;stop-color:#000000"
|
||||
id="rect1543-7"
|
||||
width="49.827774"
|
||||
height="58.211109"
|
||||
x="435.51724"
|
||||
y="59.514755"
|
||||
transform="matrix(1,0,-0.41875465,0.90809941,0,0)" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:2.98886;stroke-linecap:butt;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 403.28866,81.577724 38.10504,0.17503"
|
||||
id="path1870-9-2"
|
||||
sodipodi:nodetypes="cc" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:2.98886;stroke-linecap:butt;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 399.40453,89.257504 38.10504,0.17504"
|
||||
id="path1870-2-0"
|
||||
sodipodi:nodetypes="cc" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:2.98886;stroke-linecap:butt;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 395.52039,96.937314 38.10504,0.17503"
|
||||
id="path1870-8-7"
|
||||
sodipodi:nodetypes="cc" />
|
||||
<path
|
||||
id="path1597-59"
|
||||
style="fill:none;stroke:#000000;stroke-width:2.98886;stroke-linecap:round;stroke-dasharray:none;stop-color:#000000"
|
||||
d="m 412.49075,58.326144 c -2.303,-1.05435 -3.6176,-4.21175 -3.04032,-7.30219 0.57729,-3.09044 2.85846,-5.10743 5.27571,-4.66474 2.41725,0.4427 4.18334,3.20091 4.08447,6.37896"
|
||||
sodipodi:nodetypes="cssc" />
|
||||
<path
|
||||
id="path1597-5-9"
|
||||
style="fill:none;stroke:#000000;stroke-width:2.98886;stroke-linecap:round;stroke-dasharray:none;stop-color:#000000"
|
||||
d="m 419.31857,58.326144 c -2.303,-1.05435 -3.6176,-4.21175 -3.04032,-7.30219 0.57729,-3.09044 2.85846,-5.10743 5.27571,-4.66474 2.41725,0.4427 4.18335,3.20091 4.08447,6.37896"
|
||||
sodipodi:nodetypes="cssc" />
|
||||
<path
|
||||
id="path1597-5-7-7"
|
||||
style="fill:none;stroke:#000000;stroke-width:2.98886;stroke-linecap:round;stroke-dasharray:none;stop-color:#000000"
|
||||
d="m 426.14639,58.326144 c -2.303,-1.05435 -3.6176,-4.21175 -3.04032,-7.30219 0.57729,-3.09044 2.85846,-5.10743 5.27571,-4.66474 2.41726,0.4427 4.18335,3.20091 4.08447,6.37896"
|
||||
sodipodi:nodetypes="cssc" />
|
||||
<path
|
||||
id="path1597-3-3-2"
|
||||
style="fill:none;stroke:#000000;stroke-width:2.98886;stroke-linecap:round;stroke-dasharray:none;stop-color:#000000"
|
||||
d="m 432.97421,58.326144 c -2.303,-1.05435 -3.61761,-4.21175 -3.04032,-7.30219 0.57729,-3.09044 2.85846,-5.10743 5.27571,-4.66474 2.41725,0.4427 4.18334,3.20091 4.08447,6.37896"
|
||||
sodipodi:nodetypes="cssc" />
|
||||
<path
|
||||
id="path1597-5-7-1-7"
|
||||
style="fill:none;stroke:#000000;stroke-width:2.98886;stroke-linecap:round;stroke-dasharray:none;stop-color:#000000"
|
||||
d="m 439.80203,58.326144 c -2.303,-1.05435 -3.6176,-4.21175 -3.04032,-7.30219 0.57729,-3.09044 2.85846,-5.10743 5.27571,-4.66474 2.41725,0.4427 4.18336,3.20091 4.08447,6.37896"
|
||||
sodipodi:nodetypes="cssc" />
|
||||
<path
|
||||
id="path1597-3-3-8-4"
|
||||
style="fill:none;stroke:#000000;stroke-width:2.98886;stroke-linecap:round;stroke-dasharray:none;stop-color:#000000"
|
||||
d="m 446.62985,58.326144 c -2.30299,-1.05435 -3.6176,-4.21175 -3.04031,-7.30219 0.57728,-3.09044 2.85845,-5.10743 5.27571,-4.66474 2.41725,0.4427 4.18334,3.20091 4.08446,6.37896"
|
||||
sodipodi:nodetypes="cssc" />
|
||||
<path
|
||||
id="path1597-5-7-1-0-5"
|
||||
style="fill:none;stroke:#000000;stroke-width:2.98886;stroke-linecap:round;stroke-dasharray:none;stop-color:#000000"
|
||||
d="m 453.45768,58.326144 c -2.30301,-1.05435 -3.6176,-4.21175 -3.04033,-7.30219 0.5773,-3.09044 2.85848,-5.10743 5.27572,-4.66474 2.41726,0.4427 4.18334,3.20091 4.08447,6.37896"
|
||||
sodipodi:nodetypes="cssc" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:2.98886;stroke-linecap:butt;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 411.05692,66.218134 38.10504,0.17504"
|
||||
id="path1870-80"
|
||||
sodipodi:nodetypes="cc" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:2.98886;stroke-linecap:butt;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 407.17279,73.897924 38.10504,0.17504"
|
||||
id="path1870-4-5"
|
||||
sodipodi:nodetypes="cc" />
|
||||
</g>
|
||||
<path
|
||||
id="rect3438-0"
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:2.73195;stroke-linecap:round;stroke-linejoin:bevel;stroke-dasharray:none;stop-color:#000000"
|
||||
d="M 293.93971,-76.441405 V 179.25885 h 241.5875 V -76.441405 Z m 58.94428,75.54774851 H 467.86608 V 114.50355 H 352.88399 Z" />
|
||||
<rect
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:5.5218;stroke-linecap:round;stroke-linejoin:bevel;stroke-dasharray:none;stroke-opacity:1;stop-color:#000000"
|
||||
id="rect8264-9"
|
||||
width="198.01566"
|
||||
height="196.86601"
|
||||
x="97.607521"
|
||||
y="298.29813" />
|
||||
<circle
|
||||
style="fill:none;fill-opacity:1;stroke:#4f9ade;stroke-width:5.52181;stroke-linecap:round;stroke-linejoin:bevel;stroke-dasharray:none;stroke-opacity:1;stop-color:#000000"
|
||||
id="path4197-5"
|
||||
cx="193.98369"
|
||||
cy="386.86728"
|
||||
r="21.362293" />
|
||||
<circle
|
||||
style="fill:none;fill-opacity:1;stroke:#4f9ade;stroke-width:5.52182;stroke-linecap:round;stroke-linejoin:bevel;stroke-dasharray:none;stroke-opacity:1;stop-color:#000000"
|
||||
id="path4197-4-3-2"
|
||||
cx="193.98369"
|
||||
cy="386.86728"
|
||||
r="45.485489" />
|
||||
<circle
|
||||
style="fill:none;fill-opacity:1;stroke:#4f9ade;stroke-width:5.52181;stroke-linecap:round;stroke-linejoin:bevel;stroke-dasharray:none;stroke-opacity:1;stop-color:#000000"
|
||||
id="path4197-4-3-1-8-3"
|
||||
cx="193.98369"
|
||||
cy="386.86728"
|
||||
r="69.608681" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:2.98886;stroke-linecap:butt;stroke-linejoin:bevel;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 214.79451,457.15943 -40.07993,-14.84327 31.45791,-15.65339 -20.67302,-15.06179"
|
||||
id="path972-9" />
|
||||
<path
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:2.98886;stroke-linecap:butt;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 147.76315,491.3859 24.28088,-70.92504 11.82794,-33.15114 c 7.32731,-2.2178 12.34004,-1.8416 19.78449,-1.49527 l 5.95116,19.12036 8.84818,-3.99902 h 59.92042 l 0.27744,91.81809 z"
|
||||
id="path245-8-5"
|
||||
sodipodi:nodetypes="ccccccccc" />
|
||||
<path
|
||||
id="rect1543-9-1"
|
||||
style="fill:#c5b57e;fill-opacity:1;stroke:#000000;stroke-width:2.98886;stroke-linecap:square;stroke-dasharray:none;stop-color:#000000"
|
||||
d="m 215.24496,420.68466 48.03643,-4.24139 1.79134,4.24139 -24.37618,52.86155 h -49.82777 l -3.41105,-3.29058 z"
|
||||
sodipodi:nodetypes="ccccccc" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:2.98886;stroke-linecap:butt;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 165.82917,467.62168 28.76343,-81.91781 23.8526,84.36833"
|
||||
id="path245-1" />
|
||||
<ellipse
|
||||
style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:2.98886;stroke-linecap:square;stroke-dasharray:none;stroke-opacity:1;stop-color:#000000"
|
||||
id="path853-3"
|
||||
cx="194.1194"
|
||||
cy="386.89276"
|
||||
rx="7.7170177"
|
||||
ry="7.7016726" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:2.98886;stroke-linecap:butt;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 185.49947,412.23924 h 16.41476"
|
||||
id="path1483-1" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:2.98886;stroke-linecap:butt;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 180.21089,426.66277 h 25.9616"
|
||||
id="path1485-3" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:2.98886;stroke-linecap:butt;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 174.71458,442.31616 h 35.88344"
|
||||
id="path1487-5" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:2.98886;stroke-linecap:butt;stroke-linejoin:bevel;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 214.79451,457.15943 h -45.29178 l 41.09529,-14.84327 -30.38713,-15.65339 21.70334,-15.06179"
|
||||
id="path1489-2" />
|
||||
<rect
|
||||
style="fill:#ffeba4;fill-opacity:1;stroke:#000000;stroke-width:3.13646;stroke-linecap:square;stroke-dasharray:none;stroke-opacity:1;stop-color:#000000"
|
||||
id="rect1543-2"
|
||||
width="49.827774"
|
||||
height="58.211109"
|
||||
x="404.15536"
|
||||
y="458.40201"
|
||||
transform="matrix(1,0,-0.41875465,0.90809941,0,0)" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:2.98886;stroke-linecap:butt;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 204.89088,443.80701 38.10504,0.17503"
|
||||
id="path1870-9-8"
|
||||
sodipodi:nodetypes="cc" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:2.98886;stroke-linecap:butt;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 201.00674,451.48679 38.10505,0.17504"
|
||||
id="path1870-2-1"
|
||||
sodipodi:nodetypes="cc" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:2.98886;stroke-linecap:butt;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 197.12261,459.1666 38.10504,0.17503"
|
||||
id="path1870-8-0"
|
||||
sodipodi:nodetypes="cc" />
|
||||
<path
|
||||
id="path1597-9"
|
||||
style="fill:none;stroke:#000000;stroke-width:2.98886;stroke-linecap:round;stroke-dasharray:none;stop-color:#000000"
|
||||
d="m 214.09297,420.55543 c -2.303,-1.05435 -3.6176,-4.21175 -3.04032,-7.30219 0.57729,-3.09044 2.85846,-5.10743 5.27571,-4.66474 2.41725,0.4427 4.18334,3.20091 4.08447,6.37896"
|
||||
sodipodi:nodetypes="cssc" />
|
||||
<path
|
||||
id="path1597-5-5"
|
||||
style="fill:none;stroke:#000000;stroke-width:2.98886;stroke-linecap:round;stroke-dasharray:none;stop-color:#000000"
|
||||
d="m 220.92079,420.55543 c -2.303,-1.05435 -3.6176,-4.21175 -3.04032,-7.30219 0.57729,-3.09044 2.85846,-5.10743 5.27571,-4.66474 2.41725,0.4427 4.18335,3.20091 4.08447,6.37896"
|
||||
sodipodi:nodetypes="cssc" />
|
||||
<path
|
||||
id="path1597-5-7-79"
|
||||
style="fill:none;stroke:#000000;stroke-width:2.98886;stroke-linecap:round;stroke-dasharray:none;stop-color:#000000"
|
||||
d="m 227.74861,420.55543 c -2.303,-1.05435 -3.6176,-4.21175 -3.04032,-7.30219 0.57729,-3.09044 2.85846,-5.10743 5.27571,-4.66474 2.41726,0.4427 4.18335,3.20091 4.08447,6.37896"
|
||||
sodipodi:nodetypes="cssc" />
|
||||
<path
|
||||
id="path1597-3-3-7"
|
||||
style="fill:none;stroke:#000000;stroke-width:2.98886;stroke-linecap:round;stroke-dasharray:none;stop-color:#000000"
|
||||
d="m 234.57643,420.55543 c -2.303,-1.05435 -3.61761,-4.21175 -3.04032,-7.30219 0.57729,-3.09044 2.85846,-5.10743 5.27571,-4.66474 2.41725,0.4427 4.18334,3.20091 4.08447,6.37896"
|
||||
sodipodi:nodetypes="cssc" />
|
||||
<path
|
||||
id="path1597-5-7-1-5"
|
||||
style="fill:none;stroke:#000000;stroke-width:2.98886;stroke-linecap:round;stroke-dasharray:none;stop-color:#000000"
|
||||
d="m 241.40425,420.55543 c -2.303,-1.05435 -3.6176,-4.21175 -3.04032,-7.30219 0.57729,-3.09044 2.85845,-5.10743 5.27571,-4.66474 2.41725,0.4427 4.18336,3.20091 4.08447,6.37896"
|
||||
sodipodi:nodetypes="cssc" />
|
||||
<path
|
||||
id="path1597-3-3-8-7"
|
||||
style="fill:none;stroke:#000000;stroke-width:2.98886;stroke-linecap:round;stroke-dasharray:none;stop-color:#000000"
|
||||
d="m 248.23207,420.55543 c -2.30299,-1.05435 -3.6176,-4.21175 -3.04031,-7.30219 0.57728,-3.09044 2.85845,-5.10743 5.27571,-4.66474 2.41725,0.4427 4.18334,3.20091 4.08446,6.37896"
|
||||
sodipodi:nodetypes="cssc" />
|
||||
<path
|
||||
id="path1597-5-7-1-0-57"
|
||||
style="fill:none;stroke:#000000;stroke-width:2.98886;stroke-linecap:round;stroke-dasharray:none;stop-color:#000000"
|
||||
d="m 255.0599,420.55543 c -2.30301,-1.05435 -3.6176,-4.21175 -3.04033,-7.30219 0.5773,-3.09044 2.85848,-5.10743 5.27572,-4.66474 2.41726,0.4427 4.18334,3.20091 4.08447,6.37896"
|
||||
sodipodi:nodetypes="cssc" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:2.98886;stroke-linecap:butt;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 212.65914,428.44742 38.10504,0.17504"
|
||||
id="path1870-5"
|
||||
sodipodi:nodetypes="cc" />
|
||||
<path
|
||||
style="fill:none;stroke:#000000;stroke-width:2.98886;stroke-linecap:butt;stroke-linejoin:miter;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 208.77501,436.12721 38.10504,0.17504"
|
||||
id="path1870-4-7"
|
||||
sodipodi:nodetypes="cc" />
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 31 KiB |
397
mockup.drawio
@@ -1,397 +0,0 @@
|
||||
<mxfile host="Electron" modified="2025-01-11T07:22:18.441Z" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/22.0.3 Chrome/114.0.5735.289 Electron/25.8.4 Safari/537.36" etag="-S0tjDxWuqk8ykO7LYgZ" version="22.0.3" type="device" pages="4">
|
||||
<diagram id="KgfOMPHdpzIXCQJiCugH" name="number-station">
|
||||
<mxGraphModel dx="1407" dy="818" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="400" pageHeight="400" math="0" shadow="0">
|
||||
<root>
|
||||
<mxCell id="0" />
|
||||
<mxCell id="1" parent="0" />
|
||||
<mxCell id="KV5Y_ph4G12SrxRSiY-e-1" value="Select Station" style="rounded=1;whiteSpace=wrap;html=1;" parent="1" vertex="1">
|
||||
<mxGeometry x="175" y="10" width="95" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="2tEYRVNANGzc1R6FI9Mg-2" value="My Station" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
|
||||
<mxGeometry x="70" y="10" width="95" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="2tEYRVNANGzc1R6FI9Mg-3" value="Station:" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
|
||||
<mxGeometry x="10" y="15" width="60" height="20" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="2tEYRVNANGzc1R6FI9Mg-5" value="" style="endArrow=none;html=1;rounded=0;" parent="1" edge="1">
|
||||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||||
<mxPoint x="10" y="50" as="sourcePoint" />
|
||||
<mxPoint x="390" y="50" as="targetPoint" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="aKKJJGnMUioiqIyPZD_M-1" value="0000 0000 0000 0000<br style="font-size: 27px;">0000 0000 0000 0000<br style="font-size: 27px;">0000 0000 0000 0000<br style="font-size: 27px;">0000 0000 0000 0000<br style="font-size: 27px;">0000 0000 0000 0000" style="rounded=0;whiteSpace=wrap;html=1;align=left;verticalAlign=top;fontSize=27;" parent="1" vertex="1">
|
||||
<mxGeometry x="10" y="100" width="380" height="250" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="OoXu6EN54UF7In_Oly40-1" value="⚙" style="rounded=1;whiteSpace=wrap;html=1;" parent="1" vertex="1">
|
||||
<mxGeometry x="360" y="59" width="30" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="fAEDDr1aK9oPJae2LnTb-1" value="Set as next message" style="rounded=1;whiteSpace=wrap;html=1;" parent="1" vertex="1">
|
||||
<mxGeometry x="270" y="360" width="120" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="F0W2USit5zVsF5LBhS4k-1" value="Next run time: 2024-12-24T14:17:28" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
|
||||
<mxGeometry x="10" y="59" width="220" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
</root>
|
||||
</mxGraphModel>
|
||||
</diagram>
|
||||
<diagram id="k80YQdDor6Hn9XSC-wS4" name="number-station-config">
|
||||
<mxGraphModel dx="366" dy="658" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="400" pageHeight="400" math="0" shadow="0">
|
||||
<root>
|
||||
<mxCell id="0" />
|
||||
<mxCell id="1" parent="0" />
|
||||
<mxCell id="qGrX5IwpEfruhJfUPI0G-1" value="Select Station" style="rounded=1;whiteSpace=wrap;html=1;" parent="1" vertex="1">
|
||||
<mxGeometry x="175" y="10" width="95" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="m5zdCg8UaHyb6ajvu_Qv-2" value="My Station" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
|
||||
<mxGeometry x="70" y="10" width="95" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="m5zdCg8UaHyb6ajvu_Qv-3" value="Station:" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
|
||||
<mxGeometry x="10" y="15" width="60" height="20" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="m5zdCg8UaHyb6ajvu_Qv-5" value="" style="endArrow=none;html=1;rounded=0;" parent="1" edge="1">
|
||||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||||
<mxPoint x="10" y="50" as="sourcePoint" />
|
||||
<mxPoint x="390" y="50" as="targetPoint" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="b2T8TMgS7kride2Pq7S0-1" value="Digit group size:<br>(only for display)" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
|
||||
<mxGeometry x="10" y="70" width="100" height="20" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="b2T8TMgS7kride2Pq7S0-2" value="4" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
|
||||
<mxGeometry x="110" y="65" width="30" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="b2T8TMgS7kride2Pq7S0-3" value="⬆" style="rounded=1;whiteSpace=wrap;html=1;" parent="1" vertex="1">
|
||||
<mxGeometry x="150" y="65" width="20" height="15" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="b2T8TMgS7kride2Pq7S0-4" value="⬇" style="rounded=1;whiteSpace=wrap;html=1;" parent="1" vertex="1">
|
||||
<mxGeometry x="150" y="80" width="20" height="15" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="O_Ejp8n0P8FWgRvxlbZu-1" value="Save" style="rounded=1;whiteSpace=wrap;html=1;" parent="1" vertex="1">
|
||||
<mxGeometry x="330" y="760" width="60" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="-kJYHnf-wgmOerafxR5x-1" value="Number station address:" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
|
||||
<mxGeometry x="140" y="160" width="145" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="-kJYHnf-wgmOerafxR5x-2" value="https://my-number-station.com/blog.html" style="rounded=0;whiteSpace=wrap;html=1;align=left;" parent="1" vertex="1">
|
||||
<mxGeometry x="150" y="190" width="241.25" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="qLbXf6SKdaKwf-JNIX5Q-1" value="Send messages via:" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
|
||||
<mxGeometry x="10" y="160" width="120" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="qLbXf6SKdaKwf-JNIX5Q-2" value="FTP" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
|
||||
<mxGeometry x="50" y="190" width="60" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="qLbXf6SKdaKwf-JNIX5Q-3" value="SFTP" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
|
||||
<mxGeometry x="50" y="220" width="60" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="qLbXf6SKdaKwf-JNIX5Q-4" value="SCP" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
|
||||
<mxGeometry x="50" y="250" width="60" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="qLbXf6SKdaKwf-JNIX5Q-5" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;labelBackgroundColor=none;fillColor=#000000;" parent="1" vertex="1">
|
||||
<mxGeometry x="30" y="200" width="10" height="10" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="qLbXf6SKdaKwf-JNIX5Q-6" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="30" y="230" width="10" height="10" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="qLbXf6SKdaKwf-JNIX5Q-7" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="30" y="260" width="10" height="10" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="qLbXf6SKdaKwf-JNIX5Q-8" value="Username:" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
|
||||
<mxGeometry x="218.75" y="230" width="67.5" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="qLbXf6SKdaKwf-JNIX5Q-9" value="Password:" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
|
||||
<mxGeometry x="218.75" y="260" width="67.5" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="qLbXf6SKdaKwf-JNIX5Q-10" value="user" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
|
||||
<mxGeometry x="296.25" y="235" width="95" height="20" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="qLbXf6SKdaKwf-JNIX5Q-11" value="pass" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
|
||||
<mxGeometry x="296.25" y="265" width="95" height="20" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="qLbXf6SKdaKwf-JNIX5Q-12" value="Message length:" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
|
||||
<mxGeometry x="190" y="70" width="100" height="20" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="qLbXf6SKdaKwf-JNIX5Q-13" value="80" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
|
||||
<mxGeometry x="290" y="65" width="30" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="qLbXf6SKdaKwf-JNIX5Q-14" value="⬆" style="rounded=1;whiteSpace=wrap;html=1;" parent="1" vertex="1">
|
||||
<mxGeometry x="330" y="65" width="20" height="15" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="qLbXf6SKdaKwf-JNIX5Q-15" value="⬇" style="rounded=1;whiteSpace=wrap;html=1;" parent="1" vertex="1">
|
||||
<mxGeometry x="330" y="80" width="20" height="15" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="LwcL28te8jDykbwldkZH-1" value="Prefixes:<br>(dummy messages won't be sent with these prefixes)" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=top;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
|
||||
<mxGeometry x="20" y="350" width="290" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="LwcL28te8jDykbwldkZH-2" value="" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
|
||||
<mxGeometry x="20" y="395" width="260" height="170" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="LwcL28te8jDykbwldkZH-3" value="9293 8500" style="rounded=0;whiteSpace=wrap;html=1;align=left;" parent="1" vertex="1">
|
||||
<mxGeometry x="30" y="405" width="240" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="LwcL28te8jDykbwldkZH-4" value="0032 9381" style="rounded=0;whiteSpace=wrap;html=1;align=left;" parent="1" vertex="1">
|
||||
<mxGeometry x="30" y="435" width="240" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="LwcL28te8jDykbwldkZH-5" value="..." style="rounded=0;whiteSpace=wrap;html=1;align=left;" parent="1" vertex="1">
|
||||
<mxGeometry x="30" y="465" width="240" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="LwcL28te8jDykbwldkZH-6" value="+" style="rounded=1;whiteSpace=wrap;html=1;" parent="1" vertex="1">
|
||||
<mxGeometry x="240" y="525" width="30" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="LwcL28te8jDykbwldkZH-7" value="-" style="rounded=1;whiteSpace=wrap;html=1;" parent="1" vertex="1">
|
||||
<mxGeometry x="240" y="405" width="30" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="LwcL28te8jDykbwldkZH-8" value="-" style="rounded=1;whiteSpace=wrap;html=1;" parent="1" vertex="1">
|
||||
<mxGeometry x="240" y="435" width="30" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="enA9nok_1hsDVz6vXJ0Y-1" value="" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
|
||||
<mxGeometry x="10" y="580" width="380" height="150" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="enA9nok_1hsDVz6vXJ0Y-2" value="Schedule:" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
|
||||
<mxGeometry x="10" y="580" width="60" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="enA9nok_1hsDVz6vXJ0Y-3" value="" style="whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="20" y="610" width="10" height="10" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="enA9nok_1hsDVz6vXJ0Y-4" value="Manage schedule externally" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
|
||||
<mxGeometry x="30" y="600" width="160" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="enA9nok_1hsDVz6vXJ0Y-5" value="Daily" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
|
||||
<mxGeometry x="50" y="630" width="60" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="enA9nok_1hsDVz6vXJ0Y-6" value="Weekly" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
|
||||
<mxGeometry x="50" y="660" width="60" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="enA9nok_1hsDVz6vXJ0Y-7" value="Monthly" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
|
||||
<mxGeometry x="50" y="690" width="60" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="enA9nok_1hsDVz6vXJ0Y-8" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;labelBackgroundColor=none;fillColor=#000000;" parent="1" vertex="1">
|
||||
<mxGeometry x="30" y="640" width="10" height="10" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="enA9nok_1hsDVz6vXJ0Y-9" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="30" y="670" width="10" height="10" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="enA9nok_1hsDVz6vXJ0Y-10" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="30" y="700" width="10" height="10" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="enA9nok_1hsDVz6vXJ0Y-11" value="Start date:" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
|
||||
<mxGeometry x="120" y="630" width="60" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="enA9nok_1hsDVz6vXJ0Y-12" value="2024-12-25 08:10:36" style="rounded=0;whiteSpace=wrap;html=1;align=left;" parent="1" vertex="1">
|
||||
<mxGeometry x="120" y="660" width="170" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="enA9nok_1hsDVz6vXJ0Y-13" value="✍" style="rounded=1;whiteSpace=wrap;html=1;" parent="1" vertex="1">
|
||||
<mxGeometry x="300" y="660" width="30" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="yshJ9rjgNk4pQpEHdTG9-1" value="External program" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
|
||||
<mxGeometry x="50" y="280" width="100" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="yshJ9rjgNk4pQpEHdTG9-2" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
|
||||
<mxGeometry x="30" y="290" width="10" height="10" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="yshJ9rjgNk4pQpEHdTG9-4" value="program-to-execute" style="rounded=0;whiteSpace=wrap;html=1;align=left;" parent="1" vertex="1">
|
||||
<mxGeometry x="50" y="310" width="340" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="lrg_OsaujHVCrS9Fx4xL-1" value="Groups in line:<br>(only for display)" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
|
||||
<mxGeometry x="10" y="115" width="100" height="20" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="lrg_OsaujHVCrS9Fx4xL-2" value="4" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
|
||||
<mxGeometry x="110" y="110" width="30" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="lrg_OsaujHVCrS9Fx4xL-3" value="⬆" style="rounded=1;whiteSpace=wrap;html=1;" parent="1" vertex="1">
|
||||
<mxGeometry x="150" y="110" width="20" height="15" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="lrg_OsaujHVCrS9Fx4xL-4" value="⬇" style="rounded=1;whiteSpace=wrap;html=1;" parent="1" vertex="1">
|
||||
<mxGeometry x="150" y="125" width="20" height="15" as="geometry" />
|
||||
</mxCell>
|
||||
</root>
|
||||
</mxGraphModel>
|
||||
</diagram>
|
||||
<diagram name="listener" id="lENoe73DJEgTFmveM3ib">
|
||||
<mxGraphModel dx="1235" dy="723" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="400" pageHeight="400" math="0" shadow="0">
|
||||
<root>
|
||||
<mxCell id="0" />
|
||||
<mxCell id="1" parent="0" />
|
||||
<mxCell id="SujNhtosm1HRNQAcBG4O-1" value="Select Station" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||
<mxGeometry x="175" y="10" width="95" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="wbM6wd7tqMI0IAmKtTY0-1" value="" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||
<mxGeometry x="10" y="119" width="380" height="270" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="wbM6wd7tqMI0IAmKtTY0-2" value="9293 8500 <font color="#9c9c9c">1823 2298 2301</font>" style="rounded=0;whiteSpace=wrap;html=1;align=left;" vertex="1" parent="1">
|
||||
<mxGeometry x="20" y="129" width="360" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="wbM6wd7tqMI0IAmKtTY0-3" value="..." style="rounded=0;whiteSpace=wrap;html=1;align=left;" vertex="1" parent="1">
|
||||
<mxGeometry x="20" y="159" width="360" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="wbM6wd7tqMI0IAmKtTY0-4" value="" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||
<mxGeometry x="20" y="189" width="360" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="wbM6wd7tqMI0IAmKtTY0-5" value="" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||
<mxGeometry x="20" y="219" width="360" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="wbM6wd7tqMI0IAmKtTY0-6" value="" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||
<mxGeometry x="20" y="249" width="360" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="wbM6wd7tqMI0IAmKtTY0-7" value="" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||
<mxGeometry x="20" y="279" width="360" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="wbM6wd7tqMI0IAmKtTY0-8" value="" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||
<mxGeometry x="20" y="309" width="360" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="wbM6wd7tqMI0IAmKtTY0-9" value="" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||
<mxGeometry x="20" y="339" width="360" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="wbM6wd7tqMI0IAmKtTY0-10" value="Retrieve Now" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||
<mxGeometry x="230" y="59" width="100" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="wbM6wd7tqMI0IAmKtTY0-17" value="My Station" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||
<mxGeometry x="70" y="10" width="95" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="4qhGAahRBXyE9qeNDtCE-1" value="Last retrieved: 2024-12-24T14:17:28" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
|
||||
<mxGeometry x="10" y="59" width="220" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="4qhGAahRBXyE9qeNDtCE-2" value="Messages:" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
|
||||
<mxGeometry x="10" y="89" width="80" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="4qhGAahRBXyE9qeNDtCE-3" value="Station:" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
|
||||
<mxGeometry x="10" y="15" width="60" height="20" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="gv7KOfe7MxGHTGDHY-RI-1" value="⚙" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||
<mxGeometry x="360" y="59" width="30" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="gv7KOfe7MxGHTGDHY-RI-2" value="" style="endArrow=none;html=1;rounded=0;" edge="1" parent="1">
|
||||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||||
<mxPoint x="10" y="50" as="sourcePoint" />
|
||||
<mxPoint x="390" y="50" as="targetPoint" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="v50buFrmnss8UQ5S-Iks-1" value="2024-12-24" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
|
||||
<mxGeometry x="300" y="129" width="80" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="v50buFrmnss8UQ5S-Iks-2" value="2024-12-23" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
|
||||
<mxGeometry x="300" y="159" width="80" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="v50buFrmnss8UQ5S-Iks-3" value="2024-12-22" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
|
||||
<mxGeometry x="300" y="189" width="80" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="v50buFrmnss8UQ5S-Iks-4" value="2024-12-21" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
|
||||
<mxGeometry x="300" y="219" width="80" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
</root>
|
||||
</mxGraphModel>
|
||||
</diagram>
|
||||
<diagram id="E8TrwcYXImFw0jUs4Aw0" name="listener-config">
|
||||
<mxGraphModel dx="811" dy="475" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="400" pageHeight="400" math="0" shadow="0">
|
||||
<root>
|
||||
<mxCell id="0" />
|
||||
<mxCell id="1" parent="0" />
|
||||
<mxCell id="rOGrzmU35Bv_lXtv-dQQ-1" value="Prefixes:" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
|
||||
<mxGeometry x="20" y="220" width="60" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="rOGrzmU35Bv_lXtv-dQQ-2" value="" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||
<mxGeometry x="10" y="250" width="260" height="170" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="rOGrzmU35Bv_lXtv-dQQ-3" value="9293 8500" style="rounded=0;whiteSpace=wrap;html=1;align=left;" vertex="1" parent="1">
|
||||
<mxGeometry x="20" y="260" width="240" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="rOGrzmU35Bv_lXtv-dQQ-4" value="0032 9381" style="rounded=0;whiteSpace=wrap;html=1;align=left;" vertex="1" parent="1">
|
||||
<mxGeometry x="20" y="290" width="240" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="rOGrzmU35Bv_lXtv-dQQ-5" value="..." style="rounded=0;whiteSpace=wrap;html=1;align=left;" vertex="1" parent="1">
|
||||
<mxGeometry x="20" y="320" width="240" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="rOGrzmU35Bv_lXtv-dQQ-7" value="https://my-number-station.com/blog.html" style="rounded=0;whiteSpace=wrap;html=1;align=left;" vertex="1" parent="1">
|
||||
<mxGeometry x="30" y="120" width="350" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="dexWjz7qNybDygiiIq_V-1" value="My Station" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||
<mxGeometry x="70" y="10" width="95" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="dexWjz7qNybDygiiIq_V-2" value="Station:" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
|
||||
<mxGeometry x="10" y="15" width="60" height="20" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="dexWjz7qNybDygiiIq_V-3" value="Select Station" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||
<mxGeometry x="175" y="10" width="95" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="Gh-GtSVz8Y2JwdWB56_--1" value="" style="endArrow=none;html=1;rounded=0;" edge="1" parent="1">
|
||||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||||
<mxPoint x="10" y="50" as="sourcePoint" />
|
||||
<mxPoint x="390" y="50" as="targetPoint" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="6y2arMDsUTsDNsxs1FtR-2" value="+" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||
<mxGeometry x="230" y="380" width="30" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="6y2arMDsUTsDNsxs1FtR-3" value="-" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||
<mxGeometry x="230" y="260" width="30" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="6y2arMDsUTsDNsxs1FtR-4" value="-" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||
<mxGeometry x="230" y="290" width="30" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="6y2arMDsUTsDNsxs1FtR-5" value="Save" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||
<mxGeometry x="330" y="760" width="60" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="skUOlehON0tLIMdoaJ7T-1" value="Retrieve messages from:" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
|
||||
<mxGeometry x="10" y="60" width="180" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="skUOlehON0tLIMdoaJ7T-2" value="Website" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
|
||||
<mxGeometry x="30" y="86" width="60" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="skUOlehON0tLIMdoaJ7T-3" value="External program" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
|
||||
<mxGeometry x="30" y="160" width="100" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="skUOlehON0tLIMdoaJ7T-4" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;labelBackgroundColor=none;fillColor=#000000;" vertex="1" parent="1">
|
||||
<mxGeometry x="10" y="96" width="10" height="10" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="skUOlehON0tLIMdoaJ7T-5" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" vertex="1" parent="1">
|
||||
<mxGeometry x="10" y="170" width="10" height="10" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="skUOlehON0tLIMdoaJ7T-6" value="program-to-execute" style="rounded=0;whiteSpace=wrap;html=1;align=left;" vertex="1" parent="1">
|
||||
<mxGeometry x="30" y="190" width="350" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="skUOlehON0tLIMdoaJ7T-7" value="?" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||
<mxGeometry x="130" y="165" width="20" height="20" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="6MllUsjUtkag9fbClZZq-1" value="" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||
<mxGeometry x="10" y="430" width="380" height="150" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="6MllUsjUtkag9fbClZZq-2" value="Schedule:" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
|
||||
<mxGeometry x="10" y="430" width="60" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="6MllUsjUtkag9fbClZZq-3" value="" style="whiteSpace=wrap;html=1;aspect=fixed;" vertex="1" parent="1">
|
||||
<mxGeometry x="20" y="460" width="10" height="10" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="6MllUsjUtkag9fbClZZq-4" value="Manage schedule externally" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
|
||||
<mxGeometry x="30" y="450" width="160" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="6MllUsjUtkag9fbClZZq-5" value="Daily" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
|
||||
<mxGeometry x="50" y="480" width="60" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="6MllUsjUtkag9fbClZZq-6" value="Weekly" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
|
||||
<mxGeometry x="50" y="510" width="60" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="6MllUsjUtkag9fbClZZq-7" value="Monthly" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
|
||||
<mxGeometry x="50" y="540" width="60" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="6MllUsjUtkag9fbClZZq-8" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;labelBackgroundColor=none;fillColor=#000000;" vertex="1" parent="1">
|
||||
<mxGeometry x="30" y="490" width="10" height="10" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="6MllUsjUtkag9fbClZZq-9" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" vertex="1" parent="1">
|
||||
<mxGeometry x="30" y="520" width="10" height="10" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="6MllUsjUtkag9fbClZZq-10" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" vertex="1" parent="1">
|
||||
<mxGeometry x="30" y="550" width="10" height="10" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="6MllUsjUtkag9fbClZZq-11" value="Start date:" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
|
||||
<mxGeometry x="120" y="480" width="60" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="6MllUsjUtkag9fbClZZq-12" value="2024-12-25 08:10:36" style="rounded=0;whiteSpace=wrap;html=1;align=left;" vertex="1" parent="1">
|
||||
<mxGeometry x="120" y="510" width="170" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="6MllUsjUtkag9fbClZZq-13" value="✍" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||
<mxGeometry x="300" y="510" width="30" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
</root>
|
||||
</mxGraphModel>
|
||||
</diagram>
|
||||
</mxfile>
|
||||
29
pom.xml
@@ -57,11 +57,6 @@
|
||||
<artifactId>javafx-controls</artifactId>
|
||||
<version>${javafx.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.openjfx</groupId>
|
||||
<artifactId>javafx-web</artifactId>
|
||||
<version>${javafx.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.openjfx</groupId>
|
||||
<artifactId>javafx-fxml</artifactId>
|
||||
@@ -97,11 +92,6 @@
|
||||
<artifactId>result</artifactId>
|
||||
<version>1.0.0.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.rometools</groupId>
|
||||
<artifactId>rome</artifactId>
|
||||
<version>2.1.0</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
@@ -126,25 +116,6 @@
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>io.github.git-commit-id</groupId>
|
||||
<artifactId>git-commit-id-maven-plugin</artifactId>
|
||||
<version>9.0.1</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>get-the-git-infos</id>
|
||||
<goals>
|
||||
<goal>revision</goal>
|
||||
</goals>
|
||||
<phase>initialize</phase>
|
||||
</execution>
|
||||
</executions>
|
||||
<configuration>
|
||||
<generateGitPropertiesFile>true</generateGitPropertiesFile>
|
||||
<generateGitPropertiesFilename>${project.build.outputDirectory}/git.properties</generateGitPropertiesFilename>
|
||||
<commitIdGenerationMode>full</commitIdGenerationMode>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
||||
|
||||
139
readme.md
@@ -1,139 +0,0 @@
|
||||
For sending secret messages and dummy messages regularly. It is meant to be used in conjunction with one-time pads. One-time pads provide perfect security for the message itself (if they are handled properly), but adversaries can still tell that messages are being sent, and when they are being sent. To avoid this, dummy messages are uploaded to a website on a regular basis.
|
||||
|
||||
This application should not be considered secure, and no sensitive information should be entered into it.
|
||||
|
||||
# Building
|
||||
|
||||
Building requires JDK 23.0.1 and javafx SDK 23.0.1, and Maven (I used version 3.9.9)
|
||||
|
||||
The JAVA_HOME environment variable must be set to the JDK installation directory e.g. `C:\Program Files\Java\jdk-23.0.1\bin\java.exe`. `$JAVA_HOME/bin` must be included in you PATH variable. PATH_TO_FX must be set to the JavaFX lib directory e.g. `$HOME/openjfx-23.0.1_windows-x64_bin-sdk/javafx-sdk-23.0.1/lib`.
|
||||
|
||||
To build, run `mvn package`, the output .jar should be in ./target
|
||||
|
||||
To run without installing: `java -jar target/numbersstation-1.0-SNAPSHOT-shaded.jar`
|
||||
|
||||
# Packaging
|
||||
|
||||
Packaging is done via jpackage, which is included with the JDK version used to build.
|
||||
|
||||
jpackage seems to pull in the entire working directory unnecessarily. To avoid bloat, packaging should be done in a clean subdirectory.
|
||||
|
||||
## Windows
|
||||
|
||||
``` sh
|
||||
> mkdir packaging
|
||||
> cp target/numbersstation-1.0-SNAPSHOT-shaded.jar packaging
|
||||
> cd packaging
|
||||
> jpackage --input . --name "Numbers Station" --main-jar numbersstation-1.0-SNAPSHOT-shaded.jar --main-class name.nathanmcrae.numbersstation.MainRun --type exe --win-menu --win-per-user-install --win-shortcut --win-shortcut-prompt --win-upgrade-uuid 956c711b-01f1-46a2-9355-4a6b63ec1ec9 --icon "../icon.ico" --description "Tool to periodically upload encrypted messages to a website/blog"
|
||||
```
|
||||
|
||||
## Linux
|
||||
|
||||
``` sh
|
||||
> mkdir packaging
|
||||
> cp target/numbersstation-1.0-SNAPSHOT.jar packaging
|
||||
> cd packaging
|
||||
> jpackage --input . --name numbers-station --main-jar numbersstation-1.0-SNAPSHOT.jar --main-class name.nathanmcrae.numbersstation.MainRun --type deb --icon ../icon.ico --description "Tool to periodically upload encrypted messages to a website/blog"
|
||||
```
|
||||
|
||||
# TODO
|
||||
|
||||
- [ ] Undo/Redo in message editing
|
||||
- [ ] Disable/commandeer right-click menu items for message text (otherwise you can wreck the formatting).
|
||||
- [ ] Make sure numpad works in message editing
|
||||
And in prefix editing
|
||||
- [x] Catch and log all exceptions
|
||||
- [ ] Add a check that the way we set up the scheduler to run the application will actually work. (need a flag argument that will output something particular we can look for).
|
||||
- [x] Be able to narrow message area so that columns can match whatever message format you're using (minimum window width would keep you from doing that).
|
||||
- [x] When station is removed/renamed, need to also remove/rename the scheduled task and the corresponding state directory.
|
||||
- [x] Check for duplicate station names when creating or renaming
|
||||
- [ ] Test task scheduler task creation for a windows user not on a domain (author needs to include domain when on domain e.g. EI\nathanm)
|
||||
- [x] Station names with quotes shouldn't be allowed (or we'll need to do escaping for the launch command)
|
||||
- [ ] Need to be able to handle case where application is open and the scheduled task runs. There's at least contention for the log file (maybe? doesn't seem to mind if multiple instances of the application are running)
|
||||
- [ ] In all controllers, error handling should be 1. log error 2. Pop up dialog to warn user
|
||||
- [x] Settings external schedule management should remove the scheduled task
|
||||
- [ ] Add tests for generateMessage()
|
||||
- [x] Load message from next-message
|
||||
- [x] When making changes to the message, show the changes as unsaved until saved.
|
||||
- [x] Ensure all GUI elements have accessibility text
|
||||
- [x] Embed versioning info
|
||||
- [ ] Factor out scheduling into a wrapper class that handles all the os-specific stuff internally.
|
||||
- [ ] If a station name is run which doesn't exist in settings, but has associated files, then prompt the user to delete the files.
|
||||
- [ ] Fix behavior when settings file is empty
|
||||
- [x] Store schedule time with time zone
|
||||
- [ ] Add tests for StationSettings.nextSendTime()
|
||||
- [ ] When changing number of digits for a station, we may want to regenerate a new message of the specified length. We'll need to prompt the user to overwrite the existing message (in case it's a real message).
|
||||
- [ ] Add a button to post message manually (With dialog warning)
|
||||
- Add description in help quickstart for how to use this
|
||||
- [ ] 'Next message will be sent' should reflect when external schedule management is turned on
|
||||
- [x] Have a way to show executable location (since you need to know that to manage schedule externally)
|
||||
- [ ] When launching help, re-navigate to help page
|
||||
- [x] When can't load settings, give option to re-initialize (with confirmation)
|
||||
|
||||
# Devlog
|
||||
|
||||
# 2025-01-27 JAR packaging
|
||||
|
||||
```
|
||||
$modulePath = "$Env:PATH_TO_FX;P:\personal_root\projects\number-station\lib"
|
||||
$modules = $(
|
||||
"com.fasterxml.jackson.annotation",
|
||||
"com.fasterxml.jackson.core",
|
||||
"com.fasterxml.jackson.dataformat.xml",
|
||||
"com.fasterxml.jackson.datatype.jsr310",
|
||||
"result",
|
||||
"javafx.controls",
|
||||
"javafx.fxml",
|
||||
"org.apache.commons.cli"
|
||||
)
|
||||
$addModules = $modules -join ","
|
||||
java/>jar --create --file numbers-station.jar --manifest .\manifest.txt -C out .
|
||||
java/>java --module-path $modulePath --add-modules $addModules -jar .\numbers-station.jar
|
||||
```
|
||||
|
||||
TODO: package lib jars with this jar
|
||||
|
||||
also:
|
||||
|
||||
```
|
||||
jpackage --input . --name numbers-station --main-jar .\numbers-station.jar --main-class name.nathanmcrae.numbersstation.Main --module-path "$Env:PATH_TO_FX;P:\personal_root\projects\number-station\lib" --add-modules javafx.controls,javafx.fxml,com.fasterxml.jackson.annotation,com.fasterxml.jackson.core,com.fasterxml.jackson.dataformat.xml,com.fasterxml.jackson.datatype.jsr310 --type exe
|
||||
```
|
||||
|
||||
# 2025-02-16
|
||||
|
||||
Tried to compile a jfx hello world using the openjdk and openjfx packaged in guix, but ran into issues. It looks like more up-to-date versions of openjfx are not available guix.
|
||||
|
||||
Might be the next best step is to depend on a binary release of openjfx and see if I can compile on linux like that. Could even have a custom guix package which depends on the openjfx binary release if needed.
|
||||
|
||||
# 2025-03-03
|
||||
|
||||
Tried some more packaging, but was getting a lot of "Error: automatic module cannot be used with jlink" issues. Not sure if I just wasn't getting those before or what, but the jpackage command above doesn't work now.
|
||||
|
||||
The issue seems to be with having non-modular dependencies. This page has some notes at the bottom about packaging non-modular applications: https://openjfx.io/openjfx-docs/#modular
|
||||
|
||||
# 2025-03-09
|
||||
|
||||
mvn org.apache.maven.plugins:maven-install-plugin:2.5.2:install-file -Dfile=lib/wordpress-xmlrpc-client-1.1-SNAPSHOT.jar -DgroupId=com.tearsofaunicorn.wordpress -DartifactId=wordpress-xmlrpc-client -Dversion=1.1 -Dpackaging=jar -DlocalRepositoryPath=mvn-repo
|
||||
|
||||
mvn org.apache.maven.plugins:maven-install-plugin:2.5.2:install-file -Dfile=lib/xmlrpc-client-3.1.3.jar -DgroupId=wordpress -DartifactId=xmlrpc-client -Dversion=3.1.3 -Dpackaging=jar -DlocalRepositoryPath=mvn-repo
|
||||
|
||||
# 2025-03-17
|
||||
|
||||
Appears to work. Launch is extremely slow
|
||||
|
||||
jpackage --input . --name numbers-station --main-jar .\target\numbersstation-1.0-SNAPSHOT.jar --main-class name.nathanmcrae.numbersstation.MainRun --type app-image --dest $HOME/temp/20250316T153044
|
||||
|
||||
Failed to generate msi this time :(
|
||||
|
||||
numbers-station/>jpackage --input . --name numbers-station --main-jar .\target\numbersstation-1.0-SNAPSHOT.jar --main-class name.nathanmcrae.numbersstation.MainRun --type exe --dest $HOME/temp/20250317T200941
|
||||
java.io.IOException: Command [C:\Program Files (x86)\WiX Toolset v3.11\bin\candle.exe, -nologo, C:\Users\nathanm\AppData\Local\Temp\jdk.jpackage911481192111528806\config\bundle.wxf, -ext, WixUtilExtension, -arch, x64, -out, C:\Users\nathanm\AppData\Local\Temp\jdk.jpackage911481192111528806\wixobj\bundle.wixobj] in C:\Users\nathanm\AppData\Local\Temp\jdk.jpackage911481192111528806\images\win-msi.image\numbers-station exited with 1 code
|
||||
|
||||
# 2025-03-22
|
||||
|
||||
Did a clean clone and build and it worked.
|
||||
|
||||
jpackage --input . --name "Numbers Station" --main-jar .\target\numbersstation-1.0-SNAPSHOT.jar --main-class name.nathanmcrae.numbersstation.MainRun --type exe --win-menu --win-per-user-install --win-shortcut --win-shortcut-prompt --win-upgrade-uuid 956c711b-01f1-46a2-9355-4a6b63ec1ec9 --icon "P:\personal_root\projects\numbers-station\icon.ico" --description "Tool to periodically upload encrypted messages to a website/blog"
|
||||
|
||||
---
|
||||
|
||||
2025-03-22T20:50:38.212-07:00 INFO name.nathanmcrae.numbersstation.Main main Executable Path: C:\Users\nathanm\AppData\Local\numbers-station\numbers-station.exe
|
||||
@@ -1,71 +0,0 @@
|
||||
package name.nathanmcrae.numbersstation;
|
||||
|
||||
import java.awt.datatransfer.StringSelection;
|
||||
import java.awt.Toolkit;
|
||||
import java.awt.datatransfer.Clipboard;
|
||||
import java.io.IOException;
|
||||
import java.lang.management.ManagementFactory;
|
||||
import java.nio.file.Path;
|
||||
import java.nio.file.Paths;
|
||||
import java.util.logging.Logger;
|
||||
import java.util.logging.Level;
|
||||
import java.util.Properties;
|
||||
import javafx.fxml.FXML;
|
||||
import javafx.scene.control.Alert;
|
||||
import javafx.scene.control.Alert.AlertType;
|
||||
import javafx.scene.control.Hyperlink;
|
||||
import javafx.scene.control.TextField;
|
||||
|
||||
public class AboutController {
|
||||
private static final Logger logger = Logger.getLogger(Main.class.getName());
|
||||
|
||||
@FXML
|
||||
private TextField directoryTextField;
|
||||
|
||||
@FXML
|
||||
private TextField executableTextField;
|
||||
|
||||
@FXML
|
||||
private TextField homepageURLTextField;
|
||||
|
||||
@FXML
|
||||
private TextField logPathTextField;
|
||||
|
||||
@FXML
|
||||
private TextField versionTextField;
|
||||
|
||||
@FXML
|
||||
private void initialize() {
|
||||
directoryTextField.setText(Main.getConfigPath().toString());
|
||||
|
||||
String processName = ManagementFactory.getRuntimeMXBean().getName();
|
||||
long pid = Long.parseLong(processName.split("@")[0]);
|
||||
ProcessHandle currentProcess = ProcessHandle.of(pid).orElseThrow();
|
||||
Path executablePath = currentProcess.info().command().map(Paths::get).orElseThrow();
|
||||
executableTextField.setText(executablePath.toString());
|
||||
|
||||
Properties properties = new Properties();
|
||||
try {
|
||||
properties.load(getClass().getClassLoader().getResourceAsStream("git.properties"));
|
||||
} catch (IOException e) {
|
||||
logger.log(Level.SEVERE, "Failed to load git information", e);
|
||||
}
|
||||
versionTextField.setText(String.valueOf(properties.get("git.commit.id.full")));
|
||||
|
||||
homepageURLTextField.setText("https://git.nathanmcrae.name/nathanmcrae/numbers-station");
|
||||
|
||||
logPathTextField.setText(Main.getStatePath().resolve("main.log").toString());
|
||||
}
|
||||
|
||||
public void handleAppExecutableButtonPress() {
|
||||
|
||||
}
|
||||
|
||||
public void handleConfigDirectoryButtonPress() {
|
||||
|
||||
}
|
||||
|
||||
public void handleLogFilePathButtonPress() {
|
||||
|
||||
}
|
||||
}
|
||||
@@ -13,7 +13,9 @@ public class HelpController {
|
||||
|
||||
@FXML
|
||||
public void initialize() throws Exception {
|
||||
logger.info("20250407T222451");
|
||||
String url = HelpController.class.getResource("/help-index.html").toExternalForm();
|
||||
webView.getEngine().load(url);
|
||||
logger.info("20250407T222456");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,8 +11,6 @@ import java.nio.charset.StandardCharsets;
|
||||
import java.nio.file.Files;
|
||||
import java.nio.file.Path;
|
||||
import java.nio.file.Paths;
|
||||
import java.time.LocalDateTime;
|
||||
import java.time.ZoneId;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
import java.util.logging.Level;
|
||||
import java.util.logging.Logger;
|
||||
@@ -27,7 +25,8 @@ public class LinuxScheduler {
|
||||
try {
|
||||
String taskName = "numbers-station-main_" + settings.getName();
|
||||
|
||||
Process listProcess = new ProcessBuilder("crontab", "-l").start();
|
||||
// TODO: assume it's on the PATH
|
||||
Process listProcess = new ProcessBuilder("/usr/bin/crontab", "-l").start();
|
||||
if (!listProcess.waitFor(5, TimeUnit.SECONDS)) {
|
||||
String message = "Failed to query " + taskName + " task: process timed out";
|
||||
logger.log(Level.SEVERE, message);
|
||||
@@ -60,10 +59,6 @@ public class LinuxScheduler {
|
||||
matcher.appendReplacement(sb, "");
|
||||
}
|
||||
|
||||
if (foundMultiple) {
|
||||
logger.log(Level.WARNING, "Found multiple instances of '" + taskName + "' prior to replacement");
|
||||
}
|
||||
|
||||
matcher.appendTail(sb);
|
||||
} else {
|
||||
sb.append(currentCrontab);
|
||||
@@ -72,7 +67,8 @@ public class LinuxScheduler {
|
||||
|
||||
String newCrontab = sb.toString();
|
||||
|
||||
Process addProcess = new ProcessBuilder("crontab", "-").start();
|
||||
// TODO: assume it's on the PATH
|
||||
Process addProcess = new ProcessBuilder("/usr/bin/crontab", "-").start();
|
||||
Writer w = new OutputStreamWriter(addProcess.getOutputStream(), "UTF-8");
|
||||
System.out.println(newCrontab);
|
||||
w.write(newCrontab);
|
||||
@@ -96,104 +92,22 @@ public class LinuxScheduler {
|
||||
return Results.failure(message);
|
||||
}
|
||||
|
||||
return Results.success(true);
|
||||
}
|
||||
// Path cronDPath = Paths.get("/etc/cron.d");
|
||||
// if (!Files.exists(cronDPath)) {
|
||||
// String message = "/etc/cron.d does not exist, cannot create cron entry. Select 'Manage schedule externally' and set up scheduling as desired.";
|
||||
// logger.log(Level.SEVERE, message);
|
||||
// return Results.failure(message);
|
||||
// }
|
||||
|
||||
public static Result<Boolean, String> scheduleExists(StationSettings settings) {
|
||||
try {
|
||||
String taskName = "numbers-station-main_" + settings.getName();
|
||||
// Path cronPath = cronDPath.resolve(settings.safeName());
|
||||
|
||||
Process listProcess = new ProcessBuilder("crontab", "-l").start();
|
||||
if (!listProcess.waitFor(5, TimeUnit.SECONDS)) {
|
||||
String message = "Failed to query " + taskName + " task: process timed out";
|
||||
logger.log(Level.SEVERE, message);
|
||||
return Results.failure(message);
|
||||
}
|
||||
|
||||
Pair<String, String> output = WindowsScheduler.captureProcessOutput(listProcess);
|
||||
if(listProcess.exitValue() != 0) {
|
||||
String message = "Failed to get user id. Exit code: " + listProcess.exitValue() + ". stdout: " + output.getKey() + "\n\tstderr: " + output.getValue();
|
||||
logger.log(Level.SEVERE, message);
|
||||
return Results.failure(message);
|
||||
}
|
||||
|
||||
String currentCrontab = output.getKey();
|
||||
|
||||
String cronEntry = "# " + taskName + "\n" + cronExpression(settings) + "\n\n";
|
||||
|
||||
Pattern pattern = Pattern.compile("# " + taskName + "\\n[^\\n]+\\n\\n");
|
||||
|
||||
Matcher matcher = pattern.matcher(currentCrontab);
|
||||
|
||||
if (matcher.find()) {
|
||||
return Results.success(true);
|
||||
} else {
|
||||
return Results.success(true);
|
||||
}
|
||||
} catch (CronExpressionException | IOException | InterruptedException e) {
|
||||
String message = "Exception while checking for schedule";
|
||||
logger.log(Level.SEVERE, message, e);
|
||||
return Results.failure(message);
|
||||
}
|
||||
}
|
||||
|
||||
public static Result<Boolean, String> removeSchedule(StationSettings settings) {
|
||||
try {
|
||||
String taskName = "numbers-station-main_" + settings.getName();
|
||||
|
||||
Process listProcess = new ProcessBuilder("crontab", "-l").start();
|
||||
if (!listProcess.waitFor(5, TimeUnit.SECONDS)) {
|
||||
String message = "Failed to query " + taskName + " task: process timed out";
|
||||
logger.log(Level.SEVERE, message);
|
||||
return Results.failure(message);
|
||||
}
|
||||
|
||||
Pair<String, String> output = WindowsScheduler.captureProcessOutput(listProcess);
|
||||
if(listProcess.exitValue() != 0) {
|
||||
String message = "Failed to get user id. Exit code: " + listProcess.exitValue() + ". stdout: " + output.getKey() + "\n\tstderr: " + output.getValue();
|
||||
logger.log(Level.SEVERE, message);
|
||||
return Results.failure(message);
|
||||
}
|
||||
|
||||
String currentCrontab = output.getKey();
|
||||
|
||||
String cronEntry = "# " + taskName + "\n" + cronExpression(settings) + "\n\n";
|
||||
|
||||
Pattern pattern = Pattern.compile("# " + taskName + "\\n[^\\n]+\\n\\n");
|
||||
|
||||
Matcher matcher = pattern.matcher(currentCrontab);
|
||||
|
||||
StringBuilder sb = new StringBuilder();
|
||||
|
||||
while (matcher.find()) {
|
||||
matcher.appendReplacement(sb, "");
|
||||
}
|
||||
|
||||
String newCrontab = sb.toString();
|
||||
|
||||
Process addProcess = new ProcessBuilder("crontab", "-").start();
|
||||
Writer w = new OutputStreamWriter(addProcess.getOutputStream(), "UTF-8");
|
||||
System.out.println(newCrontab);
|
||||
w.write(newCrontab);
|
||||
w.flush();
|
||||
w.close();
|
||||
if (!addProcess.waitFor(5, TimeUnit.SECONDS)) {
|
||||
String message = "Failed to register " + taskName + " task: process timed out";
|
||||
logger.log(Level.SEVERE, message);
|
||||
return Results.failure(message);
|
||||
}
|
||||
|
||||
if(addProcess.exitValue() != 0) {
|
||||
Pair<String, String> addOutput = WindowsScheduler.captureProcessOutput(addProcess);
|
||||
String message = "Failed to get user id. Exit code: " + addProcess.exitValue() + ". stdout: " + addOutput.getKey() + ". stderr: " + addOutput.getValue();
|
||||
logger.log(Level.SEVERE, message);
|
||||
return Results.failure(message);
|
||||
}
|
||||
} catch (CronExpressionException | IOException | InterruptedException e) {
|
||||
String message = "Exception while removing schedule";
|
||||
logger.log(Level.SEVERE, message, e);
|
||||
return Results.failure(message);
|
||||
}
|
||||
// try {
|
||||
// Files.write(cronPath, cronEntry(settings).getBytes(StandardCharsets.UTF_8));
|
||||
// } catch (Exception e) {
|
||||
// String message = "Failed to write cron file at '" + cronPath.toString() + "'";
|
||||
// logger.log(Level.SEVERE, message, e);
|
||||
// return Results.failure(message);
|
||||
// }
|
||||
|
||||
return Results.success(true);
|
||||
}
|
||||
@@ -208,12 +122,10 @@ public class LinuxScheduler {
|
||||
* minute (0–59)
|
||||
*/
|
||||
public static String cronExpression(StationSettings settings) throws CronExpressionException {
|
||||
LocalDateTime scheduleDateTime = settings.getScheduleStart().withZoneSameInstant(ZoneId.systemDefault()).toLocalDateTime();
|
||||
|
||||
String minute = Integer.toString(scheduleDateTime.getMinute());
|
||||
String hour = Integer.toString(scheduleDateTime.getHour());
|
||||
String dayOfMonth = Integer.toString(scheduleDateTime.getDayOfMonth());
|
||||
String dayOfWeek = Integer.toString(scheduleDateTime.getDayOfMonth());
|
||||
String minute = Integer.toString(settings.getScheduleStartTime().getMinute());
|
||||
String hour = Integer.toString(settings.getScheduleStartTime().getHour());
|
||||
String dayOfMonth = Integer.toString(settings.getScheduleStartDate().getDayOfMonth());
|
||||
String dayOfWeek = Integer.toString(settings.getScheduleStartDate().getDayOfMonth());
|
||||
|
||||
String scheduleString = "";
|
||||
switch(settings.getMessagePeriod()) {
|
||||
|
||||
@@ -7,20 +7,9 @@ import com.jcraft.jsch.Session;
|
||||
import com.jcraft.jsch.SftpException;
|
||||
import com.leakyabstractions.result.api.Result;
|
||||
import com.leakyabstractions.result.core.Results;
|
||||
import com.rometools.rome.feed.synd.SyndContent;
|
||||
import com.rometools.rome.feed.synd.SyndContentImpl;
|
||||
import com.rometools.rome.feed.synd.SyndEntry;
|
||||
import com.rometools.rome.feed.synd.SyndEntryImpl;
|
||||
import com.rometools.rome.feed.synd.SyndFeed;
|
||||
import com.rometools.rome.feed.synd.SyndFeedImpl;
|
||||
import com.rometools.rome.io.SyndFeedInput;
|
||||
import com.rometools.rome.io.SyndFeedOutput;
|
||||
import com.tearsofaunicorn.wordpress.api.model.Post;
|
||||
import com.tearsofaunicorn.wordpress.api.WordpressClient;
|
||||
import java.io.IOException;
|
||||
import java.io.File;
|
||||
import java.io.Writer;
|
||||
import java.io.FileWriter;
|
||||
import java.nio.charset.StandardCharsets;
|
||||
import java.nio.file.Files;
|
||||
import java.nio.file.Path;
|
||||
@@ -28,15 +17,11 @@ import java.nio.file.Paths;
|
||||
import java.text.SimpleDateFormat;
|
||||
import java.time.format.DateTimeFormatter;
|
||||
import java.time.LocalDateTime;
|
||||
import java.time.ZonedDateTime;
|
||||
import java.time.ZoneOffset;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
import java.util.Date;
|
||||
import java.util.logging.FileHandler;
|
||||
import java.util.logging.Logger;
|
||||
import java.util.logging.Level;
|
||||
import java.util.Optional;
|
||||
import java.util.Properties;
|
||||
import javafx.application.Application;
|
||||
import javafx.application.Platform;
|
||||
import javafx.fxml.FXMLLoader;
|
||||
@@ -44,31 +29,16 @@ import javafx.scene.image.Image;
|
||||
import javafx.scene.Parent;
|
||||
import javafx.scene.Scene;
|
||||
import javafx.stage.Stage;
|
||||
import javafx.util.Pair;
|
||||
import org.apache.commons.cli.*;
|
||||
|
||||
public class Main extends Application {
|
||||
public record StartParameters (Optional<NotificationController.NotificationParameters> notification) {}
|
||||
|
||||
private static final Logger logger = Logger.getLogger(Main.class.getName());
|
||||
private static Path configPath = null;
|
||||
// TODO: get git info
|
||||
private static final String VERSION = "0.0.1";
|
||||
private static Path statePath = null;
|
||||
|
||||
public static Path getConfigPath() {
|
||||
if (configPath == null) {
|
||||
String configHome = System.getenv("XDG_CONFIG_HOME");
|
||||
|
||||
if (configHome != null && !configHome.isEmpty() && Paths.get(configHome).isAbsolute()) {
|
||||
configPath = Paths.get(configHome, "numbers-station");
|
||||
} else {
|
||||
String userHome = System.getProperty("user.home");
|
||||
configPath = Paths.get(userHome, ".config", "numbers-station");
|
||||
}
|
||||
}
|
||||
|
||||
return configPath;
|
||||
}
|
||||
|
||||
public static Path getStatePath() {
|
||||
if (statePath == null) {
|
||||
String stateHome = System.getenv("XDG_STATE_HOME");
|
||||
@@ -99,9 +69,6 @@ public class Main extends Application {
|
||||
NotificationController controller = fxmlLoader.getController();
|
||||
controller.setNotification(startParams.notification().get());
|
||||
|
||||
primaryStage.setMinWidth(350);
|
||||
primaryStage.setMinHeight(200);
|
||||
|
||||
primaryStage.setTitle("Numbers Station");
|
||||
primaryStage.getIcons().add(new Image(getClass().getResourceAsStream("/icon.png")));
|
||||
primaryStage.setScene(new Scene(root));
|
||||
@@ -112,9 +79,6 @@ public class Main extends Application {
|
||||
|
||||
MainController controller = fxmlLoader.getController();
|
||||
|
||||
primaryStage.setMinWidth(480);
|
||||
primaryStage.setMinHeight(200);
|
||||
|
||||
primaryStage.setOnCloseRequest(e -> {
|
||||
if (!controller.handleCloseRequest()) {
|
||||
e.consume();
|
||||
@@ -129,14 +93,6 @@ public class Main extends Application {
|
||||
primaryStage.titleProperty().bindBidirectional(controller.windowTitle);
|
||||
primaryStage.show();
|
||||
logger.info("Application started");
|
||||
|
||||
Properties properties = new Properties();
|
||||
try {
|
||||
properties.load(getClass().getClassLoader().getResourceAsStream("git.properties"));
|
||||
logger.info("Application version: " + String.valueOf(properties.get("git.commit.id.full")));
|
||||
} catch (IOException e) {
|
||||
logger.log(Level.SEVERE, "Failed to load git information", e);
|
||||
}
|
||||
}
|
||||
} catch (IOException e) {
|
||||
logger.log(Level.SEVERE, "Failed to load main view", e);
|
||||
@@ -174,13 +130,7 @@ public class Main extends Application {
|
||||
}
|
||||
|
||||
if (parsedArgs.getVersionFlag()) {
|
||||
Properties properties = new Properties();
|
||||
try {
|
||||
properties.load(Main.class.getClassLoader().getResourceAsStream("git.properties"));
|
||||
System.out.println(String.valueOf(properties.get("git.commit.id.full")));
|
||||
} catch (IOException e) {
|
||||
System.out.println("Failed to get git information");
|
||||
}
|
||||
System.out.println("Numbers Station version " + VERSION);
|
||||
System.exit(0);
|
||||
}
|
||||
|
||||
@@ -224,14 +174,6 @@ public class Main extends Application {
|
||||
public StationRunException(String message) {
|
||||
super(message);
|
||||
}
|
||||
|
||||
public StationRunException(Throwable cause) {
|
||||
super(cause);
|
||||
}
|
||||
|
||||
public StationRunException(String message, Throwable cause) {
|
||||
super(message, cause);
|
||||
}
|
||||
}
|
||||
|
||||
public static void runStation(MainParsedArguments parsedArgs) throws StationRunException {
|
||||
@@ -281,56 +223,8 @@ public class Main extends Application {
|
||||
}
|
||||
|
||||
switch (loadedStation.getMessageMethod()) {
|
||||
case StationSettings.MessageMethod.EXTERNAL_PROGRAM:
|
||||
Process process = new ProcessBuilder(loadedStation.getExternalProgramCommand(), nextMessagePath.toString()).start();
|
||||
|
||||
if (!process.waitFor(loadedStation.getExternalProgramTimeout().getSeconds(), TimeUnit.SECONDS)) {
|
||||
throw new StationRunException("Timeout while running external program " + loadedStation.getExternalProgramCommand());
|
||||
}
|
||||
|
||||
Pair<String, String> output = WindowsScheduler.captureProcessOutput(process);
|
||||
if(process.exitValue() != 0) {
|
||||
String message = "External program non-zero exit code. Exit code: " + process.exitValue() + ". stdout: " + output.getKey() + "\n\tstderr: " + output.getValue();
|
||||
logger.log(Level.SEVERE, message);
|
||||
throw new StationRunException(message);
|
||||
}
|
||||
|
||||
break;
|
||||
case StationSettings.MessageMethod.SFTP:
|
||||
//loadedStation.uploadNextMessageToSFTP();
|
||||
|
||||
Path rssPath = stationDirPath.resolve("feed.xml");
|
||||
SyndFeed feed;
|
||||
if (Files.exists(rssPath)) {
|
||||
SyndFeedInput input = new SyndFeedInput();
|
||||
feed = input.build(new File(rssPath.toString()));
|
||||
} else {
|
||||
feed = new SyndFeedImpl();
|
||||
feed.setFeedType("atom_1.0");
|
||||
feed.setTitle("Blog");
|
||||
feed.setLink(loadedStation.getAddress());
|
||||
feed.setDescription("Sample blog");
|
||||
}
|
||||
|
||||
SyndEntry entry = new SyndEntryImpl();
|
||||
String timestamp = ZonedDateTime.now(ZoneOffset.UTC).format(DateTimeFormatter.ISO_INSTANT);
|
||||
entry.setTitle(timestamp);
|
||||
entry.setLink(loadedStation.getAddress());
|
||||
|
||||
SyndContent description = new SyndContentImpl();
|
||||
description.setType("text/html");
|
||||
description.setValue(messageText);
|
||||
|
||||
entry.setDescription(description);
|
||||
|
||||
feed.getEntries().add(entry);
|
||||
feed.setPublishedDate(new Date());
|
||||
|
||||
Writer writer = new FileWriter(rssPath.toString());
|
||||
SyndFeedOutput syndFeedOutput = new SyndFeedOutput();
|
||||
syndFeedOutput.output(feed, writer);
|
||||
writer.close();
|
||||
|
||||
JSch jsch = new JSch();
|
||||
try {
|
||||
Session session = jsch.getSession(loadedStation.getUsername(), loadedStation.getAddress(), 22);
|
||||
@@ -344,7 +238,6 @@ public class Main extends Application {
|
||||
|
||||
String localFile = loadedStation.nextMessagePath().toString();
|
||||
channel.put(localFile, "www/message.txt");
|
||||
channel.put(rssPath.toString(), "www/feed.xml");
|
||||
channel.exit();
|
||||
session.disconnect();
|
||||
} else {
|
||||
@@ -378,8 +271,6 @@ public class Main extends Application {
|
||||
throw new StationRunException(message);
|
||||
}
|
||||
|
||||
logger.info("Completed station run");
|
||||
|
||||
System.exit(0);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,7 +9,6 @@ import java.nio.charset.StandardCharsets;
|
||||
import java.nio.file.Files;
|
||||
import java.nio.file.Path;
|
||||
import java.nio.file.Paths;
|
||||
import java.time.format.DateTimeFormatter;
|
||||
import java.util.ArrayList;
|
||||
import java.util.logging.Level;
|
||||
import java.util.logging.Logger;
|
||||
@@ -25,7 +24,6 @@ import javafx.fxml.FXMLLoader;
|
||||
import javafx.fxml.Initializable;
|
||||
import javafx.scene.control.Alert;
|
||||
import javafx.scene.control.Alert.AlertType;
|
||||
import javafx.scene.control.Button;
|
||||
import javafx.scene.control.ButtonType;
|
||||
import javafx.scene.control.Label;
|
||||
import javafx.scene.control.TextArea;
|
||||
@@ -42,15 +40,12 @@ import javafx.stage.Stage;
|
||||
public class MainController implements Initializable {
|
||||
private static final Logger logger = Logger.getLogger(Main.class.getName());
|
||||
|
||||
private Stage aboutStage;
|
||||
private Stage helpStage;
|
||||
private Stage settingsStage;
|
||||
private Stage selectStationStage;
|
||||
private MainSettings settings;
|
||||
private StationSettings selectedStation;
|
||||
|
||||
private StringProperty nextSendTime = new SimpleStringProperty();
|
||||
|
||||
private StringProperty selectedStationName = new SimpleStringProperty();
|
||||
|
||||
private SimpleBooleanProperty unsavedChanges = new SimpleBooleanProperty();
|
||||
@@ -58,7 +53,7 @@ public class MainController implements Initializable {
|
||||
public StringProperty windowTitle = new SimpleStringProperty("Numbers Station");
|
||||
|
||||
@FXML
|
||||
private Label nextSendTimeLabel;
|
||||
private Label lastRetrievedLabel;
|
||||
|
||||
@FXML
|
||||
private TextArea messageTextArea;
|
||||
@@ -89,8 +84,6 @@ public class MainController implements Initializable {
|
||||
controller.setStationNameList(settings.getStations().stream().map(StationSettings::toString).toList());
|
||||
|
||||
settingsStage = new Stage();
|
||||
settingsStage.setMinWidth(600);
|
||||
settingsStage.setMinHeight(300);
|
||||
settingsStage.initModality(Modality.APPLICATION_MODAL);
|
||||
settingsStage.setTitle("Numbers Station Settings");
|
||||
settingsStage.getIcons().add(new Image(getClass().getResourceAsStream("/icon.png")));
|
||||
@@ -118,8 +111,6 @@ public class MainController implements Initializable {
|
||||
controller.setSettings(settings);
|
||||
|
||||
selectStationStage = new Stage();
|
||||
selectStationStage.setMinWidth(300);
|
||||
selectStationStage.setMinHeight(200);
|
||||
selectStationStage.initModality(Modality.APPLICATION_MODAL);
|
||||
selectStationStage.setUserData(null);
|
||||
selectStationStage.setTitle("Numbers Station Selection");
|
||||
@@ -180,39 +171,21 @@ public class MainController implements Initializable {
|
||||
@Override
|
||||
public void initialize(URL location, ResourceBundle resources) {
|
||||
stationNameField.textProperty().bindBidirectional(selectedStationName);
|
||||
nextSendTimeLabel.textProperty().bind(nextSendTime);
|
||||
|
||||
Result<MainSettings, Exception> result = MainSettings.load();
|
||||
if (!result.hasSuccess()) {
|
||||
String logPath = Main.getStatePath().resolve("main.log").toString();
|
||||
String message = "Unable to load settings file. See log file at " + logPath + " for details. Reinitialize settings? This may overwrite existing settings.";
|
||||
Alert alert = new Alert(Alert.AlertType.ERROR, message, ButtonType.NO, ButtonType.YES);
|
||||
// TODO: on failure, prompt user to re-initialize settings
|
||||
Alert alert = new Alert(Alert.AlertType.ERROR);
|
||||
alert.setTitle("Settings load error");
|
||||
alert.setHeaderText(null);
|
||||
alert.setContentText("Unable to load settings file");
|
||||
alert.showAndWait();
|
||||
|
||||
//Deactivate Defaultbehavior for yes-Button:
|
||||
Button yesButton = (Button) alert.getDialogPane().lookupButton( ButtonType.YES );
|
||||
yesButton.setDefaultButton( false );
|
||||
|
||||
//Activate Defaultbehavior for no-Button:
|
||||
Button noButton = (Button) alert.getDialogPane().lookupButton( ButtonType.NO );
|
||||
noButton.setDefaultButton( true );
|
||||
|
||||
Optional<ButtonType> promptResult = alert.showAndWait();
|
||||
|
||||
if (!promptResult.isPresent()) {
|
||||
System.exit(1);
|
||||
}
|
||||
|
||||
if (promptResult.get() == ButtonType.NO) {
|
||||
System.exit(1);
|
||||
}
|
||||
|
||||
settings = new MainSettings();
|
||||
} else {
|
||||
settings = result.getSuccess().get();
|
||||
return;
|
||||
}
|
||||
|
||||
settings = result.getSuccess().get();
|
||||
|
||||
selectedStationName.set(settings.getSelectedStationName());
|
||||
|
||||
if (selectedStationName.get() == null || selectedStationName.get() == "") {
|
||||
@@ -225,6 +198,8 @@ public class MainController implements Initializable {
|
||||
.findFirst()
|
||||
.orElse(null);
|
||||
|
||||
// TODO: if there are no stations, then create a default station and select that
|
||||
|
||||
if (selectedStation == null) {
|
||||
logger.log(Level.SEVERE, "Selected station '" + selectedStationName.get() + "' not found");
|
||||
selectedStation = settings.getStations().get(0);
|
||||
@@ -308,27 +283,14 @@ public class MainController implements Initializable {
|
||||
|
||||
logger.info("Updating station settings: " + newStationSettings.getName());
|
||||
|
||||
DateTimeFormatter dateFormatter = DateTimeFormatter.ofPattern("yyyy-MM-dd'T'HH:mm:ss");
|
||||
|
||||
try {
|
||||
nextSendTime.set(newStationSettings.nextSendTime().format(dateFormatter));
|
||||
} catch (StationSettings.StationSettingsException e) {
|
||||
String errMessage = "Failed to calculate next message time";
|
||||
logger.log(Level.SEVERE, errMessage, e);
|
||||
Alert alert = new Alert(Alert.AlertType.ERROR);
|
||||
alert.setTitle("Exception");
|
||||
alert.setHeaderText(null);
|
||||
alert.setContentText(errMessage + ": " + e.getMessage());
|
||||
alert.showAndWait();
|
||||
return;
|
||||
}
|
||||
|
||||
selectedStation = newStationSettings;
|
||||
selectedStationName.set(newStationSettings.getName());
|
||||
settings.setSelectedStationName(selectedStationName.get());
|
||||
|
||||
settings.save();
|
||||
|
||||
// TODO: Load message from file
|
||||
// If the message we're overwriting is different from its file, then prompt to confirm
|
||||
Path nextMessagePath = selectedStation.stationPath().resolve("next-message.txt");
|
||||
|
||||
String messageText;
|
||||
@@ -413,41 +375,12 @@ public class MainController implements Initializable {
|
||||
return true;
|
||||
}
|
||||
|
||||
public void handleAboutButtonPress() {
|
||||
try {
|
||||
if (aboutStage == null) {
|
||||
FXMLLoader fxmlLoader = new FXMLLoader(getClass().getResource("/AboutView.fxml"));
|
||||
Parent root = fxmlLoader.load();
|
||||
aboutStage = new Stage();
|
||||
|
||||
aboutStage.setMinWidth(250);
|
||||
aboutStage.setMinHeight(230);
|
||||
|
||||
aboutStage.setTitle("About Numbers Station");
|
||||
aboutStage.getIcons().add(new Image(getClass().getResourceAsStream("/icon.png")));
|
||||
aboutStage.setScene(new Scene(root));
|
||||
}
|
||||
|
||||
if (aboutStage.isShowing()) {
|
||||
aboutStage.toFront();
|
||||
} else {
|
||||
aboutStage.show();
|
||||
}
|
||||
} catch (IOException e) {
|
||||
logger.log(Level.SEVERE, "Exception while opening application about screen", e);
|
||||
}
|
||||
}
|
||||
|
||||
public void handleHelpButtonPress() {
|
||||
try {
|
||||
if (helpStage == null) {
|
||||
FXMLLoader fxmlLoader = new FXMLLoader(getClass().getResource("/HelpView.fxml"));
|
||||
Parent root = fxmlLoader.load();
|
||||
helpStage = new Stage();
|
||||
|
||||
helpStage.setMinWidth(400);
|
||||
helpStage.setMinHeight(400);
|
||||
|
||||
helpStage.setTitle("Numbers Station Help");
|
||||
helpStage.getIcons().add(new Image(getClass().getResourceAsStream("/icon.png")));
|
||||
helpStage.setScene(new Scene(root));
|
||||
|
||||
@@ -31,7 +31,17 @@ public class MainSettings {
|
||||
}
|
||||
|
||||
public static Path getSettingsFilePath() {
|
||||
return Main.getConfigPath().resolve("main-settings.xml");
|
||||
String configHome = System.getenv("XDG_CONFIG_HOME");
|
||||
Path directoryPath;
|
||||
|
||||
if (configHome != null && !configHome.isEmpty() && Paths.get(configHome).isAbsolute()) {
|
||||
directoryPath = Paths.get(configHome, "numbers-station");
|
||||
} else {
|
||||
String userHome = System.getProperty("user.home");
|
||||
directoryPath = Paths.get(userHome, ".config", "numbers-station");
|
||||
}
|
||||
|
||||
return directoryPath.resolve("main-settings.xml");
|
||||
}
|
||||
|
||||
public ArrayList<StationSettings> getStations() {
|
||||
@@ -100,7 +110,6 @@ public class MainSettings {
|
||||
XmlMapper xmlMapper = new XmlMapper();
|
||||
xmlMapper.registerModule(new JavaTimeModule());
|
||||
xmlMapper.configure(SerializationFeature.WRITE_DATES_AS_TIMESTAMPS, false);
|
||||
xmlMapper.configure(SerializationFeature.WRITE_DURATIONS_AS_TIMESTAMPS, false);
|
||||
xmlMapper.enable(SerializationFeature.INDENT_OUTPUT);
|
||||
try {
|
||||
Path filePath = getSettingsFilePath();
|
||||
|
||||
@@ -112,9 +112,6 @@ public class StationSelectionController {
|
||||
@FXML
|
||||
private void handleRemoveButtonPress(ActionEvent event) {
|
||||
int selectedIndex = stationListView.getSelectionModel().getSelectedIndex();
|
||||
if (selectedIndex < 0) {
|
||||
return;
|
||||
}
|
||||
StationSettings station = stationList.get(selectedIndex);
|
||||
String stationName = station.toString();
|
||||
|
||||
@@ -138,12 +135,14 @@ public class StationSelectionController {
|
||||
while (change.next()) {
|
||||
if (change.wasAdded()) {
|
||||
for (StationSettings addedStation : change.getAddedSubList()) {
|
||||
System.out.println("Added: " + addedStation.getName());
|
||||
}
|
||||
}
|
||||
if (change.wasRemoved()) {
|
||||
for (StationSettings removedStation : change.getRemoved()) {
|
||||
System.out.println("Removed: " + removedStation.getName());
|
||||
|
||||
try {
|
||||
StationSettings.deleteStationData(removedStation.getName());
|
||||
removedStation.deleteDir();
|
||||
} catch (IOException e) {
|
||||
logger.log(Level.SEVERE, "Exception when removing station directory", e);
|
||||
@@ -168,6 +167,7 @@ public class StationSelectionController {
|
||||
|
||||
if (selectedStation != null) {
|
||||
stage.setUserData(selectedStation.getName());
|
||||
System.out.println("Selected Station: " + selectedStation.getName());
|
||||
}
|
||||
stage.close();
|
||||
}
|
||||
|
||||
@@ -10,13 +10,8 @@ import java.nio.file.Path;
|
||||
import java.nio.file.Paths;
|
||||
import java.nio.file.SimpleFileVisitor;
|
||||
import java.security.SecureRandom;
|
||||
import java.time.Duration;
|
||||
import java.time.LocalDate;
|
||||
import java.time.LocalDateTime;
|
||||
import java.time.ZonedDateTime;
|
||||
import java.time.ZoneId;
|
||||
import java.time.LocalTime;
|
||||
import java.time.Period;
|
||||
import java.util.ArrayList;
|
||||
import java.util.logging.Logger;
|
||||
import java.util.logging.Level;
|
||||
@@ -28,7 +23,6 @@ public class StationSettings {
|
||||
private String address;
|
||||
private int digitsPerGroup;
|
||||
private String externalProgramCommand;
|
||||
private Duration externalProgramTimeout;
|
||||
private boolean manageScheduleExternally;
|
||||
private int messageLength;
|
||||
private MessageMethod messageMethod;
|
||||
@@ -36,7 +30,8 @@ public class StationSettings {
|
||||
private String name;
|
||||
private String password;
|
||||
private ArrayList<String> prefixes;
|
||||
private ZonedDateTime scheduleStart;
|
||||
private LocalDate scheduleStartDate;
|
||||
private LocalTime scheduleStartTime;
|
||||
private String username;
|
||||
|
||||
public enum MessageMethod {
|
||||
@@ -55,21 +50,21 @@ public class StationSettings {
|
||||
prefixes = new ArrayList<String>();
|
||||
digitsPerGroup = 4;
|
||||
messageLength = 100;
|
||||
externalProgramTimeout = Duration.ofSeconds(5);
|
||||
messageMethod = MessageMethod.SFTP;
|
||||
messagePeriod = MessagePeriod.DAILY;
|
||||
scheduleStart = ZonedDateTime.now();
|
||||
scheduleStartDate = LocalDate.now();
|
||||
scheduleStartTime = LocalTime.now();
|
||||
}
|
||||
|
||||
public StationSettings(String newName) {
|
||||
name = newName;
|
||||
prefixes = new ArrayList<String>();
|
||||
digitsPerGroup = 4;
|
||||
externalProgramTimeout = Duration.ofSeconds(5);
|
||||
messageLength = 100;
|
||||
messageMethod = MessageMethod.SFTP;
|
||||
messagePeriod = MessagePeriod.DAILY;
|
||||
scheduleStart = ZonedDateTime.now();
|
||||
scheduleStartDate = LocalDate.now();
|
||||
scheduleStartTime = LocalTime.now();
|
||||
}
|
||||
|
||||
public static void deleteStationData(String stationName) throws IOException {
|
||||
@@ -81,7 +76,8 @@ public class StationSettings {
|
||||
if (osName.contains("win")) {
|
||||
WindowsScheduler.removeSchedule(temp);
|
||||
} else if (osName.contains("nix") || osName.contains("nux") || osName.contains("aix")) {
|
||||
LinuxScheduler.removeSchedule(temp);
|
||||
// TODO: linux
|
||||
logger.log(Level.SEVERE, "Unsupported OS " + osName);
|
||||
} else {
|
||||
logger.log(Level.SEVERE, "Unsupported OS " + osName);
|
||||
}
|
||||
@@ -100,10 +96,8 @@ public class StationSettings {
|
||||
return true;
|
||||
}
|
||||
} else if (osName.contains("nix") || osName.contains("nux") || osName.contains("aix")) {
|
||||
Result<Boolean, String> result = LinuxScheduler.scheduleExists(temp);
|
||||
if (result.hasSuccess() && result.getSuccess().get()) {
|
||||
return true;
|
||||
}
|
||||
// TODO: linux
|
||||
logger.log(Level.SEVERE, "Unsupported OS " + osName);
|
||||
} else {
|
||||
logger.log(Level.SEVERE, "Unsupported OS " + osName);
|
||||
}
|
||||
@@ -112,10 +106,6 @@ public class StationSettings {
|
||||
}
|
||||
|
||||
public void deleteDir() throws IOException {
|
||||
if (!Files.exists(stationPath())) {
|
||||
return;
|
||||
}
|
||||
|
||||
Files.walkFileTree(stationPath(), new SimpleFileVisitor<Path>() {
|
||||
@Override
|
||||
public FileVisitResult visitFile(Path file, BasicFileAttributes attrs) throws IOException {
|
||||
@@ -136,12 +126,22 @@ public class StationSettings {
|
||||
}
|
||||
|
||||
public Path stationPath() {
|
||||
String configHome = System.getenv("XDG_CONFIG_HOME");
|
||||
Path directoryPath;
|
||||
|
||||
if (configHome != null && !configHome.isEmpty() && Paths.get(configHome).isAbsolute()) {
|
||||
directoryPath = Paths.get(configHome, "numbers-station");
|
||||
} else {
|
||||
String userHome = System.getProperty("user.home");
|
||||
directoryPath = Paths.get(userHome, ".config", "numbers-station");
|
||||
}
|
||||
|
||||
String stationDirName = null;
|
||||
try {
|
||||
stationDirName = java.net.URLEncoder.encode(name, "UTF-8");
|
||||
} catch(UnsupportedEncodingException e) {} // We know UTF-8 is supported
|
||||
|
||||
return Main.getConfigPath().resolve(stationDirName);
|
||||
return directoryPath.resolve(stationDirName);
|
||||
}
|
||||
|
||||
public String generateMessage(int generationAttempts) throws MessageGenerationException {
|
||||
@@ -191,50 +191,6 @@ public class StationSettings {
|
||||
return messageFormattedBuilder.toString();
|
||||
}
|
||||
|
||||
public LocalDateTime nextSendTime() throws StationSettingsException {
|
||||
LocalDate startDate = scheduleStart.withZoneSameInstant(ZoneId.systemDefault()).toLocalDate();
|
||||
LocalTime startTime = scheduleStart.withZoneSameInstant(ZoneId.systemDefault()).toLocalTime();
|
||||
Period sinceScheduleStart = Period.between(startDate, LocalDate.now());
|
||||
// If this period's time has not yet passed, then show that time.
|
||||
// Otherwise, show the next period's time.
|
||||
switch (messagePeriod) {
|
||||
case DAILY:
|
||||
if (LocalTime.now().isBefore(startTime)) {
|
||||
return LocalDate.now().atTime(startTime);
|
||||
} else {
|
||||
return LocalDate.now().plusDays(1).atTime(startTime);
|
||||
}
|
||||
case WEEKLY:
|
||||
int weekdayDifference = startDate.getDayOfWeek().getValue() - LocalDate.now().getDayOfWeek().getValue();
|
||||
if (weekdayDifference > 0) {
|
||||
return LocalDate.now().plusDays(weekdayDifference).atTime(startTime);
|
||||
} else if (weekdayDifference == 0){
|
||||
if (LocalTime.now().isBefore(startTime)) {
|
||||
return LocalDate.now().atTime(startTime);
|
||||
} else {
|
||||
return LocalDate.now().plusWeeks(1).atTime(startTime);
|
||||
}
|
||||
} else {
|
||||
return LocalDate.now().plusDays(7 + weekdayDifference).atTime(startTime);
|
||||
}
|
||||
case MONTHLY:
|
||||
int monthdayDifference = startDate.getDayOfMonth() - LocalDate.now().getDayOfMonth();
|
||||
if (monthdayDifference > 0) {
|
||||
return LocalDate.now().plusDays(monthdayDifference).atTime(startTime);
|
||||
} else if (monthdayDifference == 0) {
|
||||
if (LocalTime.now().isBefore(startTime)) {
|
||||
return LocalDate.now().atTime(startTime);
|
||||
} else {
|
||||
return LocalDate.now().plusMonths(1).atTime(startTime);
|
||||
}
|
||||
} else {
|
||||
return LocalDate.now().plusMonths(1).plusDays(monthdayDifference).atTime(startTime);
|
||||
}
|
||||
default:
|
||||
throw new StationSettingsException("Invalid period value: " + messagePeriod);
|
||||
}
|
||||
}
|
||||
|
||||
public String getAddress() {
|
||||
return address;
|
||||
}
|
||||
@@ -259,14 +215,6 @@ public class StationSettings {
|
||||
externalProgramCommand = newExternalProgramCommand;
|
||||
}
|
||||
|
||||
public Duration getExternalProgramTimeout() {
|
||||
return externalProgramTimeout;
|
||||
}
|
||||
|
||||
public void setExternalProgramTimeout(Duration newExternalProgramTimeout) {
|
||||
externalProgramTimeout = newExternalProgramTimeout;
|
||||
}
|
||||
|
||||
public boolean getManageScheduleExternally() {
|
||||
return manageScheduleExternally;
|
||||
}
|
||||
@@ -322,12 +270,20 @@ public class StationSettings {
|
||||
return prefixes;
|
||||
}
|
||||
|
||||
public ZonedDateTime getScheduleStart() {
|
||||
return scheduleStart;
|
||||
public LocalDate getScheduleStartDate() {
|
||||
return scheduleStartDate;
|
||||
}
|
||||
|
||||
public void setScheduleStart(ZonedDateTime newScheduleStart) {
|
||||
scheduleStart = newScheduleStart;
|
||||
public void setScheduleStartDate(LocalDate newScheduleStartDate) {
|
||||
scheduleStartDate = newScheduleStartDate;
|
||||
}
|
||||
|
||||
public LocalTime getScheduleStartTime() {
|
||||
return scheduleStartTime;
|
||||
}
|
||||
|
||||
public void setScheduleStartTime(LocalTime newScheduleStartTime) {
|
||||
scheduleStartTime = newScheduleStartTime;
|
||||
}
|
||||
|
||||
public String getUsername() {
|
||||
@@ -348,11 +304,4 @@ public class StationSettings {
|
||||
super(message);
|
||||
}
|
||||
}
|
||||
|
||||
public static class StationSettingsException extends Exception {
|
||||
public StationSettingsException(String message) {
|
||||
super(message);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -15,9 +15,6 @@ import java.nio.file.Path;
|
||||
import java.time.format.DateTimeFormatter;
|
||||
import java.time.LocalDate;
|
||||
import java.time.LocalTime;
|
||||
import java.time.ZonedDateTime;
|
||||
import java.time.ZoneId;
|
||||
import java.time.ZoneOffset;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.logging.Level;
|
||||
@@ -436,6 +433,7 @@ public class StationSettingsController {
|
||||
settings.setPassword(password.get());
|
||||
settings.getPrefixes().clear();
|
||||
settings.getPrefixes().addAll(prefixListView.getItems());
|
||||
settings.setScheduleStartDate(scheduleStartDatePicker.getValue());
|
||||
settings.setUsername(username.get());
|
||||
|
||||
try {
|
||||
@@ -449,9 +447,7 @@ public class StationSettingsController {
|
||||
try {
|
||||
DateTimeFormatter formatter = DateTimeFormatter.ofPattern("HH:mm:ss");
|
||||
LocalTime startTime = LocalTime.parse(scheduleStartTimeField.getText(), formatter);
|
||||
ZonedDateTime scheduleStart = ZonedDateTime.of(scheduleStartDatePicker.getValue(), startTime, ZoneId.systemDefault());
|
||||
settings.setScheduleStart(scheduleStart.withZoneSameInstant(ZoneOffset.UTC));
|
||||
|
||||
settings.setScheduleStartTime(startTime);
|
||||
} catch (Exception ex) {
|
||||
logger.log(Level.SEVERE, "Error parsing schedule start time", ex);
|
||||
}
|
||||
@@ -462,14 +458,8 @@ public class StationSettingsController {
|
||||
} else if (osName.contains("nix") || osName.contains("nux") || osName.contains("aix")) {
|
||||
LinuxScheduler.registerSchedule(settings);
|
||||
} else {
|
||||
String message = "Unsupported OS " + osName;
|
||||
logger.log(Level.SEVERE, message);
|
||||
|
||||
Alert alert = new Alert(Alert.AlertType.ERROR);
|
||||
alert.setTitle(message);
|
||||
alert.setHeaderText(null);
|
||||
alert.setContentText(message);
|
||||
alert.showAndWait();
|
||||
logger.log(Level.SEVERE, "Unsupported OS " + osName);
|
||||
// TODO: Alert
|
||||
}
|
||||
|
||||
Node node = (Node) e.getSource();
|
||||
@@ -533,6 +523,16 @@ public class StationSettingsController {
|
||||
}
|
||||
}
|
||||
|
||||
@FXML
|
||||
private void handleTestRegisterScheduleButtonPress() {
|
||||
WindowsScheduler.registerSchedule(settings);
|
||||
}
|
||||
|
||||
@FXML
|
||||
private void handleTestRunScheduleButtonPress() {
|
||||
WindowsScheduler.runSchedule(settings);
|
||||
}
|
||||
|
||||
public StringProperty stationAddressProperty() {
|
||||
return stationAddress;
|
||||
}
|
||||
@@ -555,10 +555,11 @@ public class StationSettingsController {
|
||||
messagePeriod.set(settings.getMessagePeriod());
|
||||
username.set(settings.getUsername());
|
||||
password.set(settings.getPassword());
|
||||
System.out.println(settings.getPrefixes());
|
||||
prefixListView.getItems().addAll(settings.getPrefixes());
|
||||
scheduleStartDate.set(settings.getScheduleStart().withZoneSameInstant(ZoneId.systemDefault()).toLocalDate());
|
||||
scheduleStartDate.set(settings.getScheduleStartDate());
|
||||
DateTimeFormatter formatter = DateTimeFormatter.ofPattern("HH:mm:ss");
|
||||
LocalTime startTime = settings.getScheduleStart().withZoneSameInstant(ZoneId.systemDefault()).toLocalTime();
|
||||
LocalTime startTime = settings.getScheduleStartTime();
|
||||
if (startTime == null) {
|
||||
startTime = LocalTime.now();
|
||||
}
|
||||
|
||||
@@ -16,9 +16,7 @@ import java.util.concurrent.TimeUnit;
|
||||
import java.util.logging.Level;
|
||||
import java.util.logging.Logger;
|
||||
import java.time.format.DateTimeFormatter;
|
||||
import java.time.LocalDate;
|
||||
import java.time.LocalDateTime;
|
||||
import java.time.ZoneId;
|
||||
import javafx.util.Pair;
|
||||
import javax.xml.parsers.DocumentBuilder;
|
||||
import javax.xml.parsers.DocumentBuilderFactory;
|
||||
@@ -46,7 +44,7 @@ public class WindowsScheduler {
|
||||
rootElement.setAttribute("xmlns", "http://schemas.microsoft.com/windows/2004/02/mit/task");
|
||||
doc.appendChild(rootElement);
|
||||
|
||||
LocalDateTime scheduleDateTime = station.getScheduleStart().withZoneSameInstant(ZoneId.systemDefault()).toLocalDateTime();
|
||||
LocalDateTime scheduleDateTime = station.getScheduleStartDate().atTime(station.getScheduleStartTime());
|
||||
DateTimeFormatter dateFormatter = DateTimeFormatter.ofPattern("yyyy-MM-dd'T'HH:mm:ss");
|
||||
|
||||
// RegistrationInfo element
|
||||
@@ -109,8 +107,7 @@ public class WindowsScheduler {
|
||||
Element daysOfMonth = doc.createElement("DaysOfMonth");
|
||||
scheduleByMonth.appendChild(daysOfMonth);
|
||||
Element day = doc.createElement("Day");
|
||||
LocalDate startDate = station.getScheduleStart().withZoneSameInstant(ZoneId.systemDefault()).toLocalDate();
|
||||
day.appendChild(doc.createTextNode(String.valueOf(startDate.getDayOfMonth())));
|
||||
day.appendChild(doc.createTextNode(String.valueOf(station.getScheduleStartDate().getDayOfMonth())));
|
||||
daysOfMonth.appendChild(day);
|
||||
|
||||
Element months = doc.createElement("Months");
|
||||
@@ -228,6 +225,7 @@ public class WindowsScheduler {
|
||||
logger.info("Executable Path: " + executablePath);
|
||||
|
||||
Element command = doc.createElement("Command");
|
||||
// TODO: need to figure out the real invocation
|
||||
command.appendChild(doc.createTextNode(executablePath.toString()));
|
||||
exec.appendChild(command);
|
||||
|
||||
@@ -437,7 +435,7 @@ public class WindowsScheduler {
|
||||
|
||||
/**
|
||||
* @return (stdout contents, stderr contents)
|
||||
* Note that caller should check that process has exited
|
||||
* TODO: don't assume that process has exited yet. If it does we don't want to hang.
|
||||
*/
|
||||
public static Pair<String, String> captureProcessOutput(Process process) throws IOException {
|
||||
StringBuilder output = new StringBuilder();
|
||||
|
||||
@@ -1,26 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.scene.control.Label?>
|
||||
<?import javafx.scene.control.TextField?>
|
||||
<?import javafx.scene.layout.AnchorPane?>
|
||||
<?import javafx.scene.text.Font?>
|
||||
|
||||
<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="209.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/23.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="name.nathanmcrae.numbersstation.AboutController">
|
||||
<children>
|
||||
<Label layoutX="19.0" layoutY="10.0" text="Application Information">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<Label layoutX="20.0" layoutY="50.0" text="Homepage:" AnchorPane.leftAnchor="20.0" AnchorPane.topAnchor="50.0" />
|
||||
<TextField fx:id="homepageURLTextField" accessibleText="Homepage URL field" editable="false" layoutX="89.0" layoutY="46.0" prefHeight="25.0" prefWidth="501.0" text="asefa" AnchorPane.leftAnchor="89.0" AnchorPane.rightAnchor="10.0" />
|
||||
<Label layoutX="20.0" layoutY="80.0" text="Version:" AnchorPane.leftAnchor="20.0" AnchorPane.topAnchor="80.0" />
|
||||
<TextField fx:id="versionTextField" accessibleText="Application version field" editable="false" layoutX="72.0" layoutY="76.0" text="asefa" AnchorPane.leftAnchor="89.0" AnchorPane.rightAnchor="10.0" />
|
||||
<Label layoutX="20.0" layoutY="110.0" text="Application executable: " AnchorPane.leftAnchor="20.0" AnchorPane.topAnchor="110.0" />
|
||||
<TextField fx:id="executableTextField" accessibleText="Application executable path field" editable="false" layoutX="153.0" layoutY="106.0" prefHeight="25.0" prefWidth="403.0" text="sflejk" AnchorPane.leftAnchor="153.0" AnchorPane.rightAnchor="10.0" />
|
||||
<Label layoutX="20.0" layoutY="140.0" text="Config directory: " AnchorPane.leftAnchor="20.0" AnchorPane.topAnchor="140.0" />
|
||||
<TextField fx:id="directoryTextField" accessibleText="Configuration directory path field" editable="false" layoutX="118.0" layoutY="136.0" prefHeight="25.0" prefWidth="437.0" text="afseijl" AnchorPane.leftAnchor="118.0" AnchorPane.rightAnchor="10.0" />
|
||||
<Label layoutX="20.0" layoutY="168.0" text="Log file: " AnchorPane.leftAnchor="20.0" AnchorPane.topAnchor="170.0" />
|
||||
<TextField fx:id="logPathTextField" accessibleText="Log file path field" editable="false" layoutX="70.0" layoutY="166.0" prefHeight="25.0" prefWidth="485.0" text="afseijl" AnchorPane.leftAnchor="70.0" AnchorPane.rightAnchor="10.0" />
|
||||
</children>
|
||||
</AnchorPane>
|
||||
@@ -11,13 +11,13 @@
|
||||
<children>
|
||||
<AnchorPane prefHeight="200.0" prefWidth="312.0">
|
||||
<children>
|
||||
<Button fx:id="okButton" layoutX="89.0" layoutY="67.0" mnemonicParsing="false" prefHeight="25.0" prefWidth="65.0" text="OK" AnchorPane.bottomAnchor="15.0" AnchorPane.rightAnchor="89.0" />
|
||||
<Button fx:id="cancelButton" layoutX="169.0" layoutY="67.0" mnemonicParsing="false" prefHeight="25.0" prefWidth="65.0" text="Cancel" AnchorPane.bottomAnchor="15.0" AnchorPane.rightAnchor="9.0" />
|
||||
<Label layoutX="14.0" layoutY="14.0" text="Enter a message prefix / identifier:">
|
||||
<font>
|
||||
<Font name="Liberation Sans" size="13.0" />
|
||||
</font></Label>
|
||||
<TextField fx:id="prefixField" accessibleText="Prefix field" layoutX="216.0" layoutY="10.0" prefHeight="25.0" prefWidth="86.0" AnchorPane.leftAnchor="216.0" AnchorPane.rightAnchor="10.0" />
|
||||
<Button fx:id="okButton" layoutX="89.0" layoutY="67.0" mnemonicParsing="false" prefHeight="25.0" prefWidth="65.0" text="OK" AnchorPane.bottomAnchor="15.0" AnchorPane.rightAnchor="89.0" />
|
||||
<Button fx:id="cancelButton" layoutX="169.0" layoutY="67.0" mnemonicParsing="false" prefHeight="25.0" prefWidth="65.0" text="Cancel" AnchorPane.bottomAnchor="15.0" AnchorPane.rightAnchor="9.0" />
|
||||
<TextField fx:id="prefixField" layoutX="216.0" layoutY="10.0" prefHeight="25.0" prefWidth="86.0" AnchorPane.leftAnchor="216.0" AnchorPane.rightAnchor="10.0" />
|
||||
</children>
|
||||
</AnchorPane>
|
||||
</children>
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
<?import javafx.scene.web.WebView?>
|
||||
|
||||
|
||||
<WebView fx:id="webView" prefHeight="597.0" prefWidth="652.0" xmlns="http://javafx.com/javafx/23.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="name.nathanmcrae.numbersstation.HelpController" />
|
||||
<WebView fx:id="webView" prefHeight="391.0" prefWidth="440.0" xmlns="http://javafx.com/javafx/23.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="name.nathanmcrae.numbersstation.HelpController" />
|
||||
|
||||
@@ -55,42 +55,42 @@
|
||||
</columnConstraints>
|
||||
<rowConstraints>
|
||||
<RowConstraints maxHeight="-Infinity" minHeight="-Infinity" prefHeight="26.5" vgrow="NEVER" />
|
||||
<RowConstraints maxHeight="-Infinity" minHeight="-Infinity" prefHeight="15.0" vgrow="NEVER" />
|
||||
<RowConstraints maxHeight="-Infinity" minHeight="-Infinity" prefHeight="42.0" vgrow="NEVER" />
|
||||
<RowConstraints maxHeight="-Infinity" minHeight="-Infinity" prefHeight="13.5" vgrow="NEVER" />
|
||||
<RowConstraints maxHeight="1.7976931348623157E308" minHeight="10.0" prefHeight="285.0" vgrow="ALWAYS" />
|
||||
<RowConstraints maxHeight="-Infinity" minHeight="-Infinity" prefHeight="37.0" vgrow="NEVER" />
|
||||
</rowConstraints>
|
||||
<children>
|
||||
<AnchorPane>
|
||||
<children>
|
||||
<Button layoutX="228.0" layoutY="1.0" mnemonicParsing="false" onAction="#handleSelectStationButtonPress" text="Select Station" />
|
||||
<Label alignment="CENTER_RIGHT" layoutY="5.0" prefHeight="17.0" prefWidth="60.0" text="Station: " textAlignment="RIGHT" />
|
||||
<TextField id="teststationnamefield" fx:id="stationNameField" accessibleText="Station name field" editable="false" layoutX="68.0" prefHeight="25.0" prefWidth="153.0" style="-fx-background-color: #EEEEEE; -fx-border-color: #AAAAAA;" text="My Station" />
|
||||
<Button layoutX="209.0" layoutY="1.0" mnemonicParsing="false" onAction="#handleSelectStationButtonPress" text="Select Station" />
|
||||
<Label layoutY="5.0" prefHeight="17.0" prefWidth="49.0" text="Station: " />
|
||||
<TextField fx:id="stationNameField" editable="false" layoutX="49.0" prefHeight="25.0" prefWidth="153.0" style="-fx-background-color: #EEEEEE; -fx-border-color: #AAAAAA;" text="My Station" />
|
||||
<Button layoutX="602.0" layoutY="1.0" mnemonicParsing="false" onAction="#handleHelpButtonPress" text="Help" AnchorPane.rightAnchor="0.0" />
|
||||
<Button layoutX="516.0" layoutY="1.0" mnemonicParsing="false" onAction="#handleAboutButtonPress" text="About" AnchorPane.rightAnchor="52.0" />
|
||||
<Button layoutX="532.0" layoutY="1.0" mnemonicParsing="false" text="Settings" AnchorPane.rightAnchor="49.0" />
|
||||
</children>
|
||||
</AnchorPane>
|
||||
<AnchorPane prefHeight="50.0" prefWidth="640.0" GridPane.rowIndex="2">
|
||||
<AnchorPane prefHeight="50.0" prefWidth="640.0" GridPane.rowIndex="1">
|
||||
<children>
|
||||
<Label layoutX="10.0" layoutY="7.0" text="Next message will be sent:" AnchorPane.leftAnchor="10.0" AnchorPane.topAnchor="7.0">
|
||||
<Label layoutX="14.0" text="Next message will be sent:" AnchorPane.leftAnchor="10.0" AnchorPane.topAnchor="14.0">
|
||||
<font>
|
||||
<Font size="14.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<Label fx:id="nextSendTimeLabel" layoutX="202.0" layoutY="7.0" text="2024-12-25T12:59:47" AnchorPane.leftAnchor="202.0" AnchorPane.topAnchor="7.0">
|
||||
<Label fx:id="lastRetrievedLabel" layoutX="183.0" layoutY="14.0" text="2024-12-25T12:59:47" AnchorPane.leftAnchor="183.0" AnchorPane.topAnchor="14.0">
|
||||
<font>
|
||||
<Font size="14.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<Button layoutX="540.5" layoutY="3.0" mnemonicParsing="false" onAction="#handleStationSettingsButtonPress" text="Station Settings" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="3.0" />
|
||||
<Button layoutX="534.0" layoutY="13.0" mnemonicParsing="false" onAction="#handleStationSettingsButtonPress" text="Station Settings" AnchorPane.rightAnchor="6.5" AnchorPane.topAnchor="13.0" />
|
||||
</children>
|
||||
</AnchorPane>
|
||||
<Separator prefHeight="10.0" prefWidth="640.0" GridPane.rowIndex="1" />
|
||||
<Separator prefWidth="200.0" GridPane.rowIndex="2" />
|
||||
<SplitPane fx:id="splitPane" dividerPositions="1.0" prefHeight="272.0" prefWidth="640.0" GridPane.rowIndex="3">
|
||||
<items>
|
||||
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="160.0" prefWidth="100.0">
|
||||
<children>
|
||||
<TextArea fx:id="messageTextArea" accessibleText="Next message editor" prefHeight="270.0" text="0239 0480 2938 0928 3093 2298 3923 8933" wrapText="true" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
|
||||
<TextArea fx:id="messageTextArea" prefHeight="270.0" text="0239 0480 2938 0928 3093 2298 3923 8933" wrapText="true" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
|
||||
<font>
|
||||
<Font name="Liberation Mono" size="30.0" />
|
||||
</font>
|
||||
|
||||
@@ -40,18 +40,18 @@
|
||||
|
||||
<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="250.0" prefWidth="395.0" stylesheets="@css/application.css" xmlns="http://javafx.com/javafx/23.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="name.nathanmcrae.numbersstation.NotificationController">
|
||||
<children>
|
||||
<Label fx:id="iconLabel" alignment="CENTER" contentDisplay="CENTER" layoutX="14.0" layoutY="5.0" prefHeight="60.0" prefWidth="65.0" text="⚠" textAlignment="CENTER" textFill="RED">
|
||||
<font>
|
||||
<Font size="42.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<Label fx:id="titleLabel" layoutX="86.0" layoutY="24.0" text="Notification title (this sure is a title)">
|
||||
<font>
|
||||
<Font name="Liberation Sans Bold" size="16.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<TextArea fx:id="descriptionTextArea" accessibleText="Notification text field" editable="false" layoutX="14.0" layoutY="67.0" prefHeight="62.0" prefWidth="367.0" style="-fx-background-color: EEEEEE;" text="Quidem repellendus perferendis quos ipsum. Nihil nobis esse aperiam. Modi optio quia repudiandae quaerat fugit accusamus. Qui sint qui cupiditate rerum quisquam aspernatur illum. Deleniti voluptatum nam alias fugiat.Ab in iste dolores. Ad nostrum quia quisquam deleniti dolorum sequi. Est ut id et enim.Repellat nemo velit modi sunt provident neque neque. Est consequatur est beatae voluptates tempore commodi voluptas. Dicta asperiores deserunt veritatis quia officia. Reiciendis et qui placeat est minus." wrapText="true" AnchorPane.bottomAnchor="49.0" AnchorPane.leftAnchor="14.0" AnchorPane.rightAnchor="14.0" AnchorPane.topAnchor="67.0" />
|
||||
<Button fx:id="openButton" layoutX="270.0" layoutY="139.0" mnemonicParsing="false" onAction="#handleOpenButtonPressed" text="Open" visible="false" AnchorPane.bottomAnchor="14.0" AnchorPane.rightAnchor="79.5" />
|
||||
<Button fx:id="dismissButton" layoutX="325.0" layoutY="139.0" mnemonicParsing="false" onAction="#handleDismissButtonPressed" text="Dismiss" AnchorPane.bottomAnchor="14.0" AnchorPane.rightAnchor="14.0" />
|
||||
<Button fx:id="openButton" layoutX="270.0" layoutY="139.0" mnemonicParsing="false" onAction="#handleOpenButtonPressed" text="Open" visible="false" AnchorPane.bottomAnchor="14.0" AnchorPane.rightAnchor="79.5" />
|
||||
<Label fx:id="iconLabel" alignment="CENTER" contentDisplay="CENTER" layoutX="14.0" layoutY="5.0" prefHeight="60.0" prefWidth="65.0" text="⚠" textAlignment="CENTER" textFill="RED">
|
||||
<font>
|
||||
<Font size="42.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<TextArea fx:id="descriptionTextArea" editable="false" layoutX="14.0" layoutY="67.0" prefHeight="62.0" prefWidth="367.0" style="-fx-background-color: EEEEEE;" text="Quidem repellendus perferendis quos ipsum. Nihil nobis esse aperiam. Modi optio quia repudiandae quaerat fugit accusamus. Qui sint qui cupiditate rerum quisquam aspernatur illum. Deleniti voluptatum nam alias fugiat.Ab in iste dolores. Ad nostrum quia quisquam deleniti dolorum sequi. Est ut id et enim.Repellat nemo velit modi sunt provident neque neque. Est consequatur est beatae voluptates tempore commodi voluptas. Dicta asperiores deserunt veritatis quia officia. Reiciendis et qui placeat est minus." wrapText="true" AnchorPane.bottomAnchor="49.0" AnchorPane.leftAnchor="14.0" AnchorPane.rightAnchor="14.0" AnchorPane.topAnchor="67.0" />
|
||||
</children>
|
||||
</AnchorPane>
|
||||
|
||||
@@ -13,10 +13,10 @@
|
||||
<Font size="20.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<Button accessibleText="Add new station button" layoutX="358.0" layoutY="17.0" mnemonicParsing="false" onAction="#handleAddButtonPress" prefHeight="25.0" prefWidth="26.0" text="+" AnchorPane.rightAnchor="55.0" AnchorPane.topAnchor="17.0" />
|
||||
<Button accessibleText="Remove selected station button" layoutX="391.0" layoutY="17.0" mnemonicParsing="false" onAction="#handleRemoveButtonPress" prefHeight="25.0" prefWidth="25.0" text="-" AnchorPane.rightAnchor="21.0" AnchorPane.topAnchor="17.0" />
|
||||
<ListView fx:id="stationListView" accessibleText="Station selection list" layoutX="14.0" layoutY="57.0" prefHeight="301.0" prefWidth="409.0" AnchorPane.bottomAnchor="42.0" AnchorPane.leftAnchor="14.0" AnchorPane.rightAnchor="14.0" AnchorPane.topAnchor="57.0" />
|
||||
<Button layoutX="293.0" layoutY="366.0" mnemonicParsing="false" onAction="#handleSelectButtonPress" text="Select" AnchorPane.bottomAnchor="10.0" AnchorPane.rightAnchor="85.0" />
|
||||
<Button layoutX="358.0" layoutY="17.0" mnemonicParsing="false" onAction="#handleAddButtonPress" prefHeight="25.0" prefWidth="26.0" text="+" AnchorPane.rightAnchor="55.0" AnchorPane.topAnchor="17.0" />
|
||||
<Button layoutX="391.0" layoutY="17.0" mnemonicParsing="false" onAction="#handleRemoveButtonPress" prefHeight="25.0" prefWidth="25.0" text="-" AnchorPane.rightAnchor="21.0" AnchorPane.topAnchor="17.0" />
|
||||
<ListView fx:id="stationListView" layoutX="14.0" layoutY="57.0" prefHeight="301.0" prefWidth="409.0" AnchorPane.bottomAnchor="42.0" AnchorPane.leftAnchor="14.0" AnchorPane.rightAnchor="14.0" AnchorPane.topAnchor="57.0" />
|
||||
<Button layoutX="313.0" layoutY="365.0" mnemonicParsing="false" onAction="#handleSelectButtonPress" text="Select" AnchorPane.bottomAnchor="10.0" AnchorPane.rightAnchor="76.5" />
|
||||
<Button layoutX="370.0" layoutY="365.0" mnemonicParsing="false" onAction="#handleCancelButtonPress" text="Cancel" AnchorPane.bottomAnchor="10.0" AnchorPane.rightAnchor="15.5" />
|
||||
</children>
|
||||
</AnchorPane>
|
||||
|
||||
@@ -26,8 +26,8 @@
|
||||
<children>
|
||||
<FlowPane alignment="CENTER_LEFT" prefHeight="41.0" prefWidth="640.0">
|
||||
<children>
|
||||
<Label alignment="CENTER_RIGHT" prefHeight="17.0" prefWidth="58.0" text="Station: " />
|
||||
<TextField fx:id="stationNameField" accessibleText="Station name field" style="-fx-border-color: #AAAAAA;" text="My Station">
|
||||
<Label prefHeight="17.0" prefWidth="49.0" text="Station: " />
|
||||
<TextField fx:id="stationNameField" style="-fx-border-color: #AAAAAA;" text="My Station">
|
||||
<FlowPane.margin>
|
||||
<Insets right="10.0" />
|
||||
</FlowPane.margin>
|
||||
@@ -40,24 +40,24 @@
|
||||
<Separator prefWidth="200.0" />
|
||||
<AnchorPane prefHeight="77.0" prefWidth="578.0">
|
||||
<children>
|
||||
<FlowPane alignment="CENTER_LEFT" layoutX="8.0" layoutY="7.0" prefHeight="63.0" prefWidth="229.0">
|
||||
<FlowPane alignment="CENTER_LEFT" layoutX="8.0" layoutY="7.0" prefHeight="63.0" prefWidth="216.0">
|
||||
<children>
|
||||
<Label prefHeight="38.0" prefWidth="116.0" text="Digit group size: (only for display)" textAlignment="RIGHT" textOverrun="CLIP" wrapText="true">
|
||||
<Label prefHeight="38.0" prefWidth="103.0" text="Digit group size: (only for display)" textAlignment="RIGHT" textOverrun="CLIP" wrapText="true">
|
||||
<FlowPane.margin>
|
||||
<Insets right="10.0" />
|
||||
</FlowPane.margin>
|
||||
</Label>
|
||||
<Spinner fx:id="digitsPerGroupSpinner" accessibleText="Digit group size field" editable="true" prefHeight="25.0" prefWidth="96.0" />
|
||||
<Spinner fx:id="digitsPerGroupSpinner" editable="true" prefHeight="25.0" prefWidth="96.0" />
|
||||
</children>
|
||||
</FlowPane>
|
||||
<FlowPane alignment="CENTER_LEFT" layoutX="244.0" layoutY="7.0" prefHeight="63.0" prefWidth="216.0">
|
||||
<FlowPane alignment="CENTER_LEFT" layoutX="233.0" layoutY="7.0" prefHeight="63.0" prefWidth="216.0">
|
||||
<children>
|
||||
<Label alignment="CENTER_RIGHT" prefHeight="38.0" prefWidth="109.0" text="Message length:" textAlignment="RIGHT" textOverrun="CLIP">
|
||||
<Label prefHeight="38.0" prefWidth="109.0" text="Message length:" textAlignment="RIGHT" textOverrun="CLIP">
|
||||
<FlowPane.margin>
|
||||
<Insets right="10.0" />
|
||||
</FlowPane.margin>
|
||||
</Label>
|
||||
<Spinner fx:id="messageLengthSpinner" accessibleText="Message length field" editable="true" prefHeight="25.0" prefWidth="96.0" />
|
||||
<Spinner fx:id="messageLengthSpinner" editable="true" prefHeight="25.0" prefWidth="96.0" />
|
||||
</children>
|
||||
</FlowPane>
|
||||
</children>
|
||||
@@ -70,8 +70,8 @@
|
||||
<Font size="14.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<Label fx:id="connectionTestStatusLabel" accessibleText="Test connection result" alignment="CENTER_RIGHT" layoutX="136.0" layoutY="11.0" prefHeight="17.0" prefWidth="317.0" textAlignment="RIGHT" AnchorPane.leftAnchor="136.0" AnchorPane.rightAnchor="125.0" />
|
||||
<Button fx:id="testConnectionButton" layoutX="464.0" layoutY="7.0" mnemonicParsing="false" onAction="#handleTestConnectionButtonPress" text="Test connection" AnchorPane.rightAnchor="0.0" />
|
||||
<Label layoutX="170.0" layoutY="39.0" text="Numbers station address:" />
|
||||
<TextField fx:id="stationAddressField" layoutX="188.0" layoutY="63.0" prefHeight="25.0" prefWidth="390.0" AnchorPane.leftAnchor="188.0" AnchorPane.rightAnchor="0.0" />
|
||||
<RadioButton fx:id="sftpRadioButton" layoutX="16.0" layoutY="42.0" mnemonicParsing="false" text="SFTP">
|
||||
<toggleGroup>
|
||||
<ToggleGroup fx:id="messageMethodGroup" />
|
||||
@@ -87,13 +87,13 @@
|
||||
<fx:reference source="messageMethodGroup" />
|
||||
</toggleGroup>
|
||||
</RadioButton>
|
||||
<Label layoutX="170.0" layoutY="39.0" text="Numbers station address:" />
|
||||
<TextField fx:id="stationAddressField" accessibleText="Number station address field" layoutX="189.0" layoutY="63.0" prefHeight="25.0" prefWidth="390.0" AnchorPane.leftAnchor="189.0" AnchorPane.rightAnchor="-1.0" />
|
||||
<Label layoutX="182.0" layoutY="99.0" text="Username:" AnchorPane.rightAnchor="340.0" />
|
||||
<TextField fx:id="usernameField" accessibleText="Numbers station username field" layoutX="245.0" layoutY="95.0" prefHeight="25.0" prefWidth="124.0" AnchorPane.rightAnchor="209.0" />
|
||||
<Label layoutX="380.0" layoutY="99.0" text="Password:" AnchorPane.rightAnchor="142.0" />
|
||||
<PasswordField fx:id="passwordField" accessibleText="Numbers station password field" layoutX="444.0" layoutY="95.0" prefHeight="25.0" prefWidth="135.0" AnchorPane.rightAnchor="0.0" />
|
||||
<TextField fx:id="externalProgramCommandField" accessibleText="Numbers station external program field" layoutX="-2.0" layoutY="131.0" prefHeight="25.0" prefWidth="580.0" AnchorPane.leftAnchor="-2.0" AnchorPane.rightAnchor="0.0" />
|
||||
<TextField fx:id="usernameField" layoutX="245.0" layoutY="95.0" prefHeight="25.0" prefWidth="124.0" AnchorPane.rightAnchor="209.0" />
|
||||
<PasswordField fx:id="passwordField" layoutX="444.0" layoutY="95.0" prefHeight="25.0" prefWidth="135.0" AnchorPane.rightAnchor="0.0" />
|
||||
<TextField fx:id="externalProgramCommandField" layoutX="-2.0" layoutY="131.0" prefHeight="25.0" prefWidth="580.0" AnchorPane.leftAnchor="-2.0" AnchorPane.rightAnchor="0.0" />
|
||||
<Button fx:id="testConnectionButton" layoutX="464.0" layoutY="7.0" mnemonicParsing="false" onAction="#handleTestConnectionButtonPress" text="Test connection" />
|
||||
<Label fx:id="connectionTestStatusLabel" alignment="CENTER_RIGHT" layoutX="136.0" layoutY="11.0" prefHeight="17.0" prefWidth="317.0" textAlignment="RIGHT" AnchorPane.leftAnchor="136.0" AnchorPane.rightAnchor="125.0" />
|
||||
|
||||
</children>
|
||||
<VBox.margin>
|
||||
@@ -108,14 +108,14 @@
|
||||
<Font size="14.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<Button accessibleText="Add prefix field" layoutX="520.5" layoutY="4.0" mnemonicParsing="false" onAction="#handleAddPrefixButtonPress" text="+" AnchorPane.rightAnchor="33.0" />
|
||||
<Button accessibleText="Remove selected prefix button" layoutX="552.0" layoutY="4.0" mnemonicParsing="false" onAction="#handleRemovePrefixButtonPress" prefHeight="25.0" prefWidth="25.0" text="-" AnchorPane.rightAnchor="1.0" />
|
||||
<Button layoutX="520.5" layoutY="4.0" mnemonicParsing="false" onAction="#handleAddPrefixButtonPress" text="+" AnchorPane.rightAnchor="33.0" />
|
||||
<Button layoutX="552.0" layoutY="4.0" mnemonicParsing="false" onAction="#handleRemovePrefixButtonPress" prefHeight="25.0" prefWidth="25.0" text="-" AnchorPane.rightAnchor="1.0" />
|
||||
</children>
|
||||
<VBox.margin>
|
||||
<Insets bottom="10.0" />
|
||||
</VBox.margin>
|
||||
</AnchorPane>
|
||||
<ListView fx:id="prefixListView" accessibleText="Prefix list" prefHeight="103.0" prefWidth="578.0" />
|
||||
<ListView fx:id="prefixListView" prefHeight="103.0" prefWidth="578.0" />
|
||||
<Separator prefWidth="200.0">
|
||||
<VBox.margin>
|
||||
<Insets bottom="10.0" top="10.0" />
|
||||
@@ -144,9 +144,12 @@
|
||||
<fx:reference source="messagePeriodGroup" />
|
||||
</toggleGroup>
|
||||
</RadioButton>
|
||||
<DatePicker fx:id="scheduleStartDatePicker" disable="${manageScheduleExternallyCheckBox.selected}" layoutX="115.0" layoutY="34.0" />
|
||||
<Label layoutX="115.0" layoutY="8.0" text="Starting from:" />
|
||||
<DatePicker fx:id="scheduleStartDatePicker" accessibleText="Message schedule start date" disable="${manageScheduleExternallyCheckBox.selected}" layoutX="115.0" layoutY="34.0" />
|
||||
<TextField fx:id="scheduleStartTimeField" accessibleText="Message schedule start time" disable="${manageScheduleExternallyCheckBox.selected}" layoutX="115.0" layoutY="64.0" text="23:24:49" />
|
||||
<TextField fx:id="scheduleStartTimeField" disable="${manageScheduleExternallyCheckBox.selected}" layoutX="115.0" layoutY="64.0" text="23:24:49" />
|
||||
<Label layoutX="48.0" layoutY="102.0" text="TODO: Jitter" />
|
||||
<Button layoutX="377.0" layoutY="73.0" mnemonicParsing="false" onAction="#handleTestRegisterScheduleButtonPress" text="Test register scheduled task" />
|
||||
<Button layoutX="377.0" layoutY="107.0" mnemonicParsing="false" onAction="#handleTestRunScheduleButtonPress" text="Test running scheduled task" />
|
||||
|
||||
</children>
|
||||
</AnchorPane>
|
||||
|
||||
@@ -1,12 +1,5 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<title>Numbers Station Help</title>
|
||||
|
||||
<link rel="stylesheet" href="style.css">
|
||||
</head>
|
||||
<body>
|
||||
<h1>Numbers Station Help</h1>
|
||||
@@ -17,215 +10,16 @@
|
||||
|
||||
<img src="overview.png"/>
|
||||
|
||||
<h2 class="caution">Caution</h2>
|
||||
<p>
|
||||
This application assumes you will be using your own encryption scheme where the encrypted messages are made up of digits 0-9. Typically these will be one-time pad messages such as described <a href="https://nathanmcrae.name/blog/practical-one-time-pad.html">here</a>. This application performs no encryption of it's own and should not be trusted with unencrypted messages.
|
||||
</p>
|
||||
|
||||
<h2>Quick Start</h2>
|
||||
|
||||
<p>
|
||||
Before you start, you'll need to have a method of encrypting messages. Unencrypted messages should never be entered into the application. For a method to securely encrypt messages, see <a href="https://nathanmcrae.name/blog/practical-one-time-pad.html">here</a>.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
For the sake of example, this will walk you through setting up a wordpress blog and creating a numbers station which will periodically post to it. There are also other options for uploading posts.
|
||||
</p>
|
||||
|
||||
<h3>Start a Wordpress.com Blog</h3>
|
||||
|
||||
<p>
|
||||
Wordpress is free blogging software, and one of the most popular at that. Many web hosts provide wordpress blogs for free and Wordpress.com is just one of those hosts, but that's the one we're going to use for this example since it's fairly straightforward.
|
||||
</p>
|
||||
|
||||
<ol>
|
||||
<li>
|
||||
Go to <a href="https://wordpress.com/start/free">wordpress.com</a>
|
||||
</li>
|
||||
<li>
|
||||
Create an account using whatever method you prefer
|
||||
<ul>
|
||||
<li>It will prompt you to search for a domain to rent, but you don't need one. To skip that, start a domain search and at the bottom select the 'Choose my domain later'</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
For 'What would you like to create?' at the bottom, press 'Skip to dashboard'
|
||||
<ul>
|
||||
<li>You should now have a basic wordpress site</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
You will need a password in order to allow the Numbers Station application to post for you. Go you your Wordpress.com account settings and under Security, set a password.
|
||||
<ul>
|
||||
<li>You may need to verify you email in order to post</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ol>
|
||||
|
||||
<h3>Set up a Numbers Station</h3>
|
||||
|
||||
<img src="station-settings.png"/>
|
||||
|
||||
<p>
|
||||
Now that you have a blog to post to, you will need to set up your numbers station settings.
|
||||
</p>
|
||||
|
||||
<ol>
|
||||
<li>
|
||||
<a href="https://git.nathanmcrae.name/nathanmcrae/numbers-station">Download</a>, install, and run the Numbers Station application
|
||||
</li>
|
||||
<li>
|
||||
Select or create your desired station in the 'Select Station' dialog
|
||||
</li>
|
||||
<li>Open 'Station Settings'</li>
|
||||
<li>Set connection information
|
||||
<ol>
|
||||
<li>
|
||||
Choose the 'Wordpress option'
|
||||
</li>
|
||||
<li>
|
||||
Enter your blog address (which can be found by selecting 'Visit Site' from the Wordpress.com dashboard) ending with <code>/xmlrpc.php</code>
|
||||
<ul>
|
||||
<li>So if your Wordpress.com site is <code>example.wordpress.com</code>, then the address to enter would be <code>https://example.wordpress.com/xmlrpc.php</code></li>
|
||||
<li>Note that other wordpress instances may need XML-RPC to be enabled for this to work. Please see documentation for your instance.</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
Enter your Wordpress.com username (your email address if you registered with email) and password
|
||||
<p class="caution">Your password is stored in your user files. Anyone with access to your user files would also be able to post to the blog</p>
|
||||
</li>
|
||||
<li>
|
||||
Press the 'Test connection' button
|
||||
</li>
|
||||
</ol>
|
||||
</li>
|
||||
<li>
|
||||
Set schedule
|
||||
<ul>
|
||||
<li>Your schedule will start at the given date and time, and will publish a message to the station on the given period (daily, weekly, monthly)</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
Set other options (See application reference for details)
|
||||
</li>
|
||||
</ol>
|
||||
|
||||
<h3>
|
||||
Set a message for delivery
|
||||
</h3>
|
||||
|
||||
<p>
|
||||
Once you save your station settings, the application should now run on the given schedule and upload messages. Each time it runs it will generate a random message to be sent next time. Whenever you would like to send a real message, all you need to do is replace the stored one with the real message.
|
||||
</p>
|
||||
|
||||
<ol>
|
||||
<li>
|
||||
Open the application and select the station you want to send a message via
|
||||
</li>
|
||||
<li>
|
||||
The main window will show the current message which will be sent next. To replace it, simply type in the real message (which should already be encrypted).
|
||||
</li>
|
||||
<li>
|
||||
Press 'Set as next message'
|
||||
</li>
|
||||
</ol>
|
||||
|
||||
<p>
|
||||
Now the real message is saved and will be sent at the next appointed time.
|
||||
Do it!
|
||||
</p>
|
||||
|
||||
<h2>Motivation</h2>
|
||||
|
||||
<p>
|
||||
Suppose you have secret messages you are sending. Even if you are able to encrypt your messages perfectly, an adversary will still be able to tell <i>when</i> messages are sent which can reveal important information.
|
||||
</p>
|
||||
<p>
|
||||
Suppose you are planning a protest and send many messages in the days leading up to the protest. For someone monitoring your communication, even if they don't know the content of the messages they can guess that you were somehow involved in the protest.
|
||||
</p>
|
||||
<p>
|
||||
The solution to this problem is to send messages regularly. The messages can just be dummies most of the time, but then when you need to send a real message, an adversary won't be able to tell that anything is different.
|
||||
</p>
|
||||
<p>
|
||||
This is the technique used by <a href="https://en.wikipedia.org/wiki/Numbers_station">numbers stations</a>, which are radio stations suspected to be run by governments to send messages to their spies abroad. The reason they are so mysterious is also the reason they are so effective: you have no idea if or when they are sending a real message.
|
||||
</p>
|
||||
<p>
|
||||
--
|
||||
|
||||
The main requirement is that the messages which you do send are indistinguishable from random messages because otherwise an adversary could tell the real and fake messages apart.
|
||||
</p>
|
||||
|
||||
<h2>Application Reference</h2>
|
||||
|
||||
<h3>Main Window</h3>
|
||||
|
||||
<img src="main-window-labelled.png"/>
|
||||
|
||||
<p>
|
||||
The main window shows a label for the current station name (1) and a button to open the station selection window (2). The 'Settings' button (3) opens application settings, while the 'Station Settings' (5) button opens settings specific to the current selected station. The 'Help' button (4) should open this help document.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
The message display area (6) shows the contents of the message which will be sent at the next scheduled time. This message can be edited, and then saved via (7).
|
||||
</p>
|
||||
|
||||
<h3>Station Selection Window</h3>
|
||||
|
||||
<img src="station-selection-window.png"/>
|
||||
|
||||
<h3>Station Settings Window</h3>
|
||||
|
||||
The station name can be edited as well as group size used to break up messages for display.
|
||||
|
||||
Choosing the message length is important. You should aim to use a message length longer than the longest message you will send via the station. Ideally you should never have to adjust the message length after a station has started regular usage.
|
||||
|
||||
<h4>Upload Settings</h4>
|
||||
|
||||
<p class="caution">
|
||||
The username an password entered here are stored unencrypted. Anyone with access to your computer account would be able to access the resources accessible via the credentials.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Currently two method of upload are supported: SFTP and wordpress.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
SFTP uploads the file to the specified server as <code>www/message.txt</code>. It also generates an atom feed file and uploads it as <code>www/feed.xml</code> (subsequent runs will add to the feed file instead of overwriting it).
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Wordpress will upload the message directly to the specified wordpress blog using XML-RPC. XML-RPC should be available on most wordpress installations, though it may need to be enabled.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Alternatively you can opt to run an external program to handle the message. The external program/script will recieve the path to message file as an argument. You could use this to run the message through a blog generator such as Pelican (Note that the external program will have to handle uploading the message as well).
|
||||
</p>
|
||||
|
||||
<h4>Prefixes</h4>
|
||||
|
||||
<p>
|
||||
Prefixes provide a way for the randomly generated messages to avoid using valid message identifiers. To do this, simply add message identifiers to the prefix list, dummy messages will subsequently be generated ensuring they don't start with the listed prefixes.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
For background, one-time pad cypers typically use a message identifier as the first part of the message. This allows the recipient to determine which one-time pad to use for decryption. If a dummy message generated randomly accidentally starts with a valid message identifier, then the recipient might try to decrypt a nonsense message resulting in confusion.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
The downside of storing the prefixes on the computer is that anyone with access to the computer (e.g. via malware) would be able to tell when a real message was sent (vs. otherwise they might only know <b>that</b> secret messages are likely being sent).
|
||||
</p>
|
||||
|
||||
<p>
|
||||
The alternative to providing prefixes is to use one-time pads with long enough message identifiers that the odds of a random message colliding with them is negligible.
|
||||
</p>
|
||||
|
||||
<h4>Message Schedule</h4>
|
||||
|
||||
<p>
|
||||
From the given start date and time, each station is run on the specified period. This means that it will upload the stored message according to the upload settings, then a new dummy message will be generated for the next time the station is run.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
If the "Manage schedule externally" checkbox is ticked, then the Numbers Station application won't schedule the station to run. Instead, an external scheduler (e.g. Windows Task Scheduler, or cron for *nix systems) can be used. The station can be triggered by running <code>{numbers station executable} --station "{station name}"</code>. The application executable path can be found in the about screen.
|
||||
Because it's fun
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
Before Width: | Height: | Size: 9.3 KiB After Width: | Height: | Size: 102 KiB |
|
Before Width: | Height: | Size: 59 KiB |
|
Before Width: | Height: | Size: 59 KiB After Width: | Height: | Size: 46 KiB |
|
Before Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 63 KiB |
@@ -1,46 +0,0 @@
|
||||
.caution {
|
||||
background-color: #fff3cd;
|
||||
border-color: #ffeeba;
|
||||
color: #856404;
|
||||
border: 1px solid transparent;
|
||||
border-radius: 4px;
|
||||
padding: 1rem;
|
||||
margin: 20px 0;
|
||||
}
|
||||
|
||||
.caution::before {
|
||||
content: "⚠ ";
|
||||
Cautio
|
||||
margin-right: 8px;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: system-ui, -apple-system, sans-serif;
|
||||
line-height: 1.6;
|
||||
color: #333;
|
||||
max-width: 800px;
|
||||
margin: 0 auto;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
code {
|
||||
background-color: #f5f5f5;
|
||||
border-radius: 4px;
|
||||
overflow-x: auto;
|
||||
font-family: monospace;
|
||||
margin: 20px 0;
|
||||
}
|
||||
|
||||
h1, h2, h3 {
|
||||
color: #222;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
img {
|
||||
width: 100%;
|
||||
max-width: 30em;
|
||||
}
|
||||
|
||||
p {
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||