D
ça contionne maintenant
690
LICENSE
|
@ -1,49 +1,661 @@
|
||||||
Apache License
|
GNU AFFERO GENERAL PUBLIC LICENSE
|
||||||
Version 2.0, January 2004
|
Version 3, 19 November 2007
|
||||||
http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
||||||
1. Definitions.
|
|
||||||
|
|
||||||
"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
|
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.
|
||||||
|
|
||||||
"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.
|
Preamble
|
||||||
|
|
||||||
"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
|
The GNU Affero General Public License is a free, copyleft license for
|
||||||
|
software and other kinds of works, specifically designed to ensure
|
||||||
|
cooperation with the community in the case of network server software.
|
||||||
|
|
||||||
"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
|
The licenses for most software and other practical works are designed
|
||||||
|
to take away your freedom to share and change the works. By contrast,
|
||||||
|
our General Public Licenses are 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.
|
||||||
|
|
||||||
"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
|
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.
|
||||||
|
|
||||||
"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
|
Developers that use our General Public Licenses protect your rights
|
||||||
|
with two steps: (1) assert copyright on the software, and (2) offer
|
||||||
|
you this License which gives you legal permission to copy, distribute
|
||||||
|
and/or modify the software.
|
||||||
|
|
||||||
"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).
|
A secondary benefit of defending all users' freedom is that
|
||||||
|
improvements made in alternate versions of the program, if they
|
||||||
|
receive widespread use, become available for other developers to
|
||||||
|
incorporate. Many developers of free software are heartened and
|
||||||
|
encouraged by the resulting cooperation. However, in the case of
|
||||||
|
software used on network servers, this result may fail to come about.
|
||||||
|
The GNU General Public License permits making a modified version and
|
||||||
|
letting the public access it on a server without ever releasing its
|
||||||
|
source code to the public.
|
||||||
|
|
||||||
"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
|
The GNU Affero General Public License is designed specifically to
|
||||||
|
ensure that, in such cases, the modified source code becomes available
|
||||||
|
to the community. It requires the operator of a network server to
|
||||||
|
provide the source code of the modified version running there to the
|
||||||
|
users of that server. Therefore, public use of a modified version, on
|
||||||
|
a publicly accessible server, gives the public access to the source
|
||||||
|
code of the modified version.
|
||||||
|
|
||||||
"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
|
An older license, called the Affero General Public License and
|
||||||
|
published by Affero, was designed to accomplish similar goals. This is
|
||||||
|
a different license, not a version of the Affero GPL, but Affero has
|
||||||
|
released a new version of the Affero GPL which permits relicensing under
|
||||||
|
this license.
|
||||||
|
|
||||||
"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.
|
The precise terms and conditions for copying, distribution and
|
||||||
2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
|
modification follow.
|
||||||
3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
|
|
||||||
4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
|
TERMS AND CONDITIONS
|
||||||
(a) You must give any other recipients of the Work or Derivative Works a copy of this License; and
|
|
||||||
(b) You must cause any modified files to carry prominent notices stating that You changed the files; and
|
0. Definitions.
|
||||||
(c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
|
|
||||||
(d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.
|
"This License" refers to version 3 of the GNU Affero General Public License.
|
||||||
You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
|
|
||||||
5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
|
"Copyright" also means copyright-like laws that apply to other kinds of
|
||||||
6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
|
works, such as semiconductor masks.
|
||||||
7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
|
|
||||||
8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
|
"The Program" refers to any copyrightable work licensed under this
|
||||||
9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS
|
License. Each licensee is addressed as "you". "Licensees" and
|
||||||
APPENDIX: How to apply the Apache License to your work.
|
"recipients" may be individuals or organizations.
|
||||||
To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives.
|
|
||||||
Copyright [yyyy] [name of copyright owner]
|
To "modify" a work means to copy from or adapt all or part of the work
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
in a fashion requiring copyright permission, other than the making of an
|
||||||
you may not use this file except in compliance with the License.
|
exact copy. The resulting work is called a "modified version" of the
|
||||||
You may obtain a copy of the License at
|
earlier work or a work "based on" the earlier work.
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
Unless required by applicable law or agreed to in writing, software
|
A "covered work" means either the unmodified Program or a work based
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
on the Program.
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
See the License for the specific language governing permissions and
|
To "propagate" a work means to do anything with it that, without
|
||||||
limitations under the License.
|
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. Remote Network Interaction; Use with the GNU General Public License.
|
||||||
|
|
||||||
|
Notwithstanding any other provision of this License, if you modify the
|
||||||
|
Program, your modified version must prominently offer all users
|
||||||
|
interacting with it remotely through a computer network (if your version
|
||||||
|
supports such interaction) an opportunity to receive the Corresponding
|
||||||
|
Source of your version by providing access to the Corresponding Source
|
||||||
|
from a network server at no charge, through some standard or customary
|
||||||
|
means of facilitating copying of software. This Corresponding Source
|
||||||
|
shall include the Corresponding Source for any work covered by version 3
|
||||||
|
of the GNU General Public License that is incorporated pursuant to the
|
||||||
|
following paragraph.
|
||||||
|
|
||||||
|
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 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 work with which it is combined will remain governed by version
|
||||||
|
3 of the GNU General Public License.
|
||||||
|
|
||||||
|
14. Revised Versions of this License.
|
||||||
|
|
||||||
|
The Free Software Foundation may publish revised and/or new versions of
|
||||||
|
the GNU Affero 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 Affero 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 Affero 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 Affero 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 Affero 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 Affero General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Affero 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 your software can interact with users remotely through a computer
|
||||||
|
network, you should also make sure that it provides a way for users to
|
||||||
|
get its source. For example, if your program is a web application, its
|
||||||
|
interface could display a "Source" link that leads users to an archive
|
||||||
|
of the code. There are many ways you could offer source, and different
|
||||||
|
solutions will be better for different programs; see section 13 for the
|
||||||
|
specific requirements.
|
||||||
|
|
||||||
|
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 AGPL, see
|
||||||
|
<https://www.gnu.org/licenses/>.
|
||||||
|
|
748
LICENSE.html
Executable file
|
@ -0,0 +1,748 @@
|
||||||
|
<!DOCTYPE HTML>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>GNU AFFERO GENERAL PUBLIC LICENSE</title>
|
||||||
|
<meta content="">
|
||||||
|
<style>
|
||||||
|
|
||||||
|
html {
|
||||||
|
font-family: ubuntu, sans-serif;
|
||||||
|
margin-left: 20%;
|
||||||
|
margin-right: 20%;
|
||||||
|
font-size: 22px;
|
||||||
|
background-color: #2d2f34;
|
||||||
|
color: white;
|
||||||
|
line-height: 30px;
|
||||||
|
text-align: justify;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
::selection {
|
||||||
|
color: white;
|
||||||
|
background-color: red;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
line-height: 45px;
|
||||||
|
}
|
||||||
|
|
||||||
|
a[href] {
|
||||||
|
color: white;
|
||||||
|
transition: all 0.5s ease;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
a[href]:hover {
|
||||||
|
color: red;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: "ubuntu";
|
||||||
|
src: url('bibli/ubuntu/Ubuntu-R.ttf');
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 500px) {
|
||||||
|
html {
|
||||||
|
margin-left: 8px;
|
||||||
|
margin-right: 8px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 800px) and (min-width: 501px) {
|
||||||
|
html {
|
||||||
|
margin-left: 10%;
|
||||||
|
margin-right: 10%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 1500px) and (min-width: 801px) {
|
||||||
|
html {
|
||||||
|
margin-left: 15%;
|
||||||
|
margin-right: 15%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h1 style="text-align: center;">GNU AFFERO GENERAL PUBLIC LICENSE</h1>
|
||||||
|
<p style="text-align: center;">Version 3, 19 November 2007</p>
|
||||||
|
|
||||||
|
<p>Copyright © 2007 Free Software Foundation,
|
||||||
|
Inc. <<a href="https://fsf.org/">https://fsf.org/</a>>
|
||||||
|
<br />
|
||||||
|
Everyone is permitted to copy and distribute verbatim copies
|
||||||
|
of this license document, but changing it is not allowed.</p>
|
||||||
|
|
||||||
|
<h2><a name="preamble"></a>Preamble</h2>
|
||||||
|
|
||||||
|
<p>The GNU Affero General Public License is a free, copyleft license
|
||||||
|
for software and other kinds of works, specifically designed to ensure
|
||||||
|
cooperation with the community in the case of network server software.</p>
|
||||||
|
|
||||||
|
<p>The licenses for most software and other practical works are
|
||||||
|
designed to take away your freedom to share and change the works. By
|
||||||
|
contrast, our General Public Licenses are 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.</p>
|
||||||
|
|
||||||
|
<p>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.</p>
|
||||||
|
|
||||||
|
<p>Developers that use our General Public Licenses protect your rights
|
||||||
|
with two steps: (1) assert copyright on the software, and (2) offer
|
||||||
|
you this License which gives you legal permission to copy, distribute
|
||||||
|
and/or modify the software.</p>
|
||||||
|
|
||||||
|
<p>A secondary benefit of defending all users' freedom is that
|
||||||
|
improvements made in alternate versions of the program, if they
|
||||||
|
receive widespread use, become available for other developers to
|
||||||
|
incorporate. Many developers of free software are heartened and
|
||||||
|
encouraged by the resulting cooperation. However, in the case of
|
||||||
|
software used on network servers, this result may fail to come about.
|
||||||
|
The GNU General Public License permits making a modified version and
|
||||||
|
letting the public access it on a server without ever releasing its
|
||||||
|
source code to the public.</p>
|
||||||
|
|
||||||
|
<p>The GNU Affero General Public License is designed specifically to
|
||||||
|
ensure that, in such cases, the modified source code becomes available
|
||||||
|
to the community. It requires the operator of a network server to
|
||||||
|
provide the source code of the modified version running there to the
|
||||||
|
users of that server. Therefore, public use of a modified version, on
|
||||||
|
a publicly accessible server, gives the public access to the source
|
||||||
|
code of the modified version.</p>
|
||||||
|
|
||||||
|
<p>An older license, called the Affero General Public License and
|
||||||
|
published by Affero, was designed to accomplish similar goals. This is
|
||||||
|
a different license, not a version of the Affero GPL, but Affero has
|
||||||
|
released a new version of the Affero GPL which permits relicensing under
|
||||||
|
this license.</p>
|
||||||
|
|
||||||
|
<p>The precise terms and conditions for copying, distribution and
|
||||||
|
modification follow.</p>
|
||||||
|
|
||||||
|
<h2><a name="terms"></a>TERMS AND CONDITIONS</h2>
|
||||||
|
|
||||||
|
<h3><a name="section0"></a>0. Definitions.</h3>
|
||||||
|
|
||||||
|
<p>"This License" refers to version 3 of the GNU Affero General Public
|
||||||
|
License.</p>
|
||||||
|
|
||||||
|
<p>"Copyright" also means copyright-like laws that apply to other kinds
|
||||||
|
of works, such as semiconductor masks.</p>
|
||||||
|
|
||||||
|
<p>"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.</p>
|
||||||
|
|
||||||
|
<p>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.</p>
|
||||||
|
|
||||||
|
<p>A "covered work" means either the unmodified Program or a work based
|
||||||
|
on the Program.</p>
|
||||||
|
|
||||||
|
<p>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.</p>
|
||||||
|
|
||||||
|
<p>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.</p>
|
||||||
|
|
||||||
|
<p>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.</p>
|
||||||
|
|
||||||
|
<h3><a name="section1"></a>1. Source Code.</h3>
|
||||||
|
|
||||||
|
<p>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.</p>
|
||||||
|
|
||||||
|
<p>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.</p>
|
||||||
|
|
||||||
|
<p>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.</p>
|
||||||
|
|
||||||
|
<p>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.</p>
|
||||||
|
|
||||||
|
<p>The Corresponding Source need not include anything that users
|
||||||
|
can regenerate automatically from other parts of the Corresponding
|
||||||
|
Source.</p>
|
||||||
|
|
||||||
|
<p>The Corresponding Source for a work in source code form is that
|
||||||
|
same work.</p>
|
||||||
|
|
||||||
|
<h3><a name="section2"></a>2. Basic Permissions.</h3>
|
||||||
|
|
||||||
|
<p>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.</p>
|
||||||
|
|
||||||
|
<p>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.</p>
|
||||||
|
|
||||||
|
<p>Conveying under any other circumstances is permitted solely under
|
||||||
|
the conditions stated below. Sublicensing is not allowed; section 10
|
||||||
|
makes it unnecessary.</p>
|
||||||
|
|
||||||
|
<h3><a name="section3"></a>3. Protecting Users' Legal Rights From Anti-Circumvention Law.</h3>
|
||||||
|
|
||||||
|
<p>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.</p>
|
||||||
|
|
||||||
|
<p>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.</p>
|
||||||
|
|
||||||
|
<h3><a name="section4"></a>4. Conveying Verbatim Copies.</h3>
|
||||||
|
|
||||||
|
<p>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.</p>
|
||||||
|
|
||||||
|
<p>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.</p>
|
||||||
|
|
||||||
|
<h3><a name="section5"></a>5. Conveying Modified Source Versions.</h3>
|
||||||
|
|
||||||
|
<p>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:</p>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
|
||||||
|
<li>a) The work must carry prominent notices stating that you modified
|
||||||
|
it, and giving a relevant date.</li>
|
||||||
|
|
||||||
|
<li>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".</li>
|
||||||
|
|
||||||
|
<li>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.</li>
|
||||||
|
|
||||||
|
<li>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.</li>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<p>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.</p>
|
||||||
|
|
||||||
|
<h3><a name="section6"></a>6. Conveying Non-Source Forms.</h3>
|
||||||
|
|
||||||
|
<p>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:</p>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
|
||||||
|
<li>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.</li>
|
||||||
|
|
||||||
|
<li>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.</li>
|
||||||
|
|
||||||
|
<li>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.</li>
|
||||||
|
|
||||||
|
<li>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.</li>
|
||||||
|
|
||||||
|
<li>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.</li>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<p>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.</p>
|
||||||
|
|
||||||
|
<p>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.</p>
|
||||||
|
|
||||||
|
<p>"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.</p>
|
||||||
|
|
||||||
|
<p>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).</p>
|
||||||
|
|
||||||
|
<p>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.</p>
|
||||||
|
|
||||||
|
<p>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.</p>
|
||||||
|
|
||||||
|
<h3><a name="section7"></a>7. Additional Terms.</h3>
|
||||||
|
|
||||||
|
<p>"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.</p>
|
||||||
|
|
||||||
|
<p>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.</p>
|
||||||
|
|
||||||
|
<p>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:</p>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
|
||||||
|
<li>a) Disclaiming warranty or limiting liability differently from the
|
||||||
|
terms of sections 15 and 16 of this License; or</li>
|
||||||
|
|
||||||
|
<li>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</li>
|
||||||
|
|
||||||
|
<li>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</li>
|
||||||
|
|
||||||
|
<li>d) Limiting the use for publicity purposes of names of licensors or
|
||||||
|
authors of the material; or</li>
|
||||||
|
|
||||||
|
<li>e) Declining to grant rights under trademark law for use of some
|
||||||
|
trade names, trademarks, or service marks; or</li>
|
||||||
|
|
||||||
|
<li>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.</li>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<p>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.</p>
|
||||||
|
|
||||||
|
<p>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.</p>
|
||||||
|
|
||||||
|
<p>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.</p>
|
||||||
|
|
||||||
|
<h3><a name="section8"></a>8. Termination.</h3>
|
||||||
|
|
||||||
|
<p>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).</p>
|
||||||
|
|
||||||
|
<p>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.</p>
|
||||||
|
|
||||||
|
<p>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.</p>
|
||||||
|
|
||||||
|
<p>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.</p>
|
||||||
|
|
||||||
|
<h3><a name="section9"></a>9. Acceptance Not Required for Having Copies.</h3>
|
||||||
|
|
||||||
|
<p>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.</p>
|
||||||
|
|
||||||
|
<h3><a name="section10"></a>10. Automatic Licensing of Downstream Recipients.</h3>
|
||||||
|
|
||||||
|
<p>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.</p>
|
||||||
|
|
||||||
|
<p>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.</p>
|
||||||
|
|
||||||
|
<p>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.</p>
|
||||||
|
|
||||||
|
<h3><a name="section11"></a>11. Patents.</h3>
|
||||||
|
|
||||||
|
<p>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".</p>
|
||||||
|
|
||||||
|
<p>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.</p>
|
||||||
|
|
||||||
|
<p>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.</p>
|
||||||
|
|
||||||
|
<p>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.</p>
|
||||||
|
|
||||||
|
<p>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.</p>
|
||||||
|
|
||||||
|
<p>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.</p>
|
||||||
|
|
||||||
|
<p>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.</p>
|
||||||
|
|
||||||
|
<p>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.</p>
|
||||||
|
|
||||||
|
<h3><a name="section12"></a>12. No Surrender of Others' Freedom.</h3>
|
||||||
|
|
||||||
|
<p>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.</p>
|
||||||
|
|
||||||
|
<h3><a name="section13"></a>13. Remote Network Interaction; Use with the GNU General Public License.</h3>
|
||||||
|
|
||||||
|
<p>Notwithstanding any other provision of this License, if you modify the
|
||||||
|
Program, your modified version must prominently offer all users
|
||||||
|
interacting with it remotely through a computer network (if your version
|
||||||
|
supports such interaction) an opportunity to receive the Corresponding
|
||||||
|
Source of your version by providing access to the Corresponding Source
|
||||||
|
from a network server at no charge, through some standard or customary
|
||||||
|
means of facilitating copying of software. This Corresponding Source
|
||||||
|
shall include the Corresponding Source for any work covered by version 3
|
||||||
|
of the GNU General Public License that is incorporated pursuant to the
|
||||||
|
following paragraph.</p>
|
||||||
|
|
||||||
|
<p>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 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 work with which it is
|
||||||
|
combined will remain governed by version 3 of the GNU General Public
|
||||||
|
License.</p>
|
||||||
|
|
||||||
|
<h3><a name="section14"></a>14. Revised Versions of this License.</h3>
|
||||||
|
|
||||||
|
<p>The Free Software Foundation may publish revised and/or new versions of
|
||||||
|
the GNU Affero 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.</p>
|
||||||
|
|
||||||
|
<p>Each version is given a distinguishing version number. If the
|
||||||
|
Program specifies that a certain numbered version of the GNU Affero
|
||||||
|
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 Affero General Public License, you may choose any version
|
||||||
|
ever published by the Free Software Foundation.</p>
|
||||||
|
|
||||||
|
<p>If the Program specifies that a proxy can decide which future
|
||||||
|
versions of the GNU Affero 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.</p>
|
||||||
|
|
||||||
|
<p>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.</p>
|
||||||
|
|
||||||
|
<h3><a name="section15"></a>15. Disclaimer of Warranty.</h3>
|
||||||
|
|
||||||
|
<p>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.</p>
|
||||||
|
|
||||||
|
<h3><a name="section16"></a>16. Limitation of Liability.</h3>
|
||||||
|
|
||||||
|
<p>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.</p>
|
||||||
|
|
||||||
|
<h3><a name="section17"></a>17. Interpretation of Sections 15 and 16.</h3>
|
||||||
|
|
||||||
|
<p>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.</p>
|
||||||
|
|
||||||
|
<p>END OF TERMS AND CONDITIONS</p>
|
||||||
|
|
||||||
|
<h2><a name="howto"></a>How to Apply These Terms to Your New Programs</h2>
|
||||||
|
|
||||||
|
<p>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.</p>
|
||||||
|
|
||||||
|
<p>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.</p>
|
||||||
|
|
||||||
|
<pre> <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 Affero 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 Affero General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Affero General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
</pre>
|
||||||
|
|
||||||
|
<p>Also add information on how to contact you by electronic and paper mail.</p>
|
||||||
|
|
||||||
|
<p>If your software can interact with users remotely through a computer
|
||||||
|
network, you should also make sure that it provides a way for users to
|
||||||
|
get its source. For example, if your program is a web application, its
|
||||||
|
interface could display a "Source" link that leads users to an archive
|
||||||
|
of the code. There are many ways you could offer source, and different
|
||||||
|
solutions will be better for different programs; see section 13 for the
|
||||||
|
specific requirements.</p>
|
||||||
|
|
||||||
|
<p>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 AGPL, see
|
||||||
|
<<a href="https://www.gnu.org/licenses/">https://www.gnu.org/licenses/</a>>.</p>
|
||||||
|
</body>
|
||||||
|
</html>
|
660
LICENSE.md
Executable file
|
@ -0,0 +1,660 @@
|
||||||
|
### GNU AFFERO GENERAL PUBLIC LICENSE
|
||||||
|
|
||||||
|
Version 3, 19 November 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 Affero General Public License is a free, copyleft license for
|
||||||
|
software and other kinds of works, specifically designed to ensure
|
||||||
|
cooperation with the community in the case of network server software.
|
||||||
|
|
||||||
|
The licenses for most software and other practical works are designed
|
||||||
|
to take away your freedom to share and change the works. By contrast,
|
||||||
|
our General Public Licenses are 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.
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
Developers that use our General Public Licenses protect your rights
|
||||||
|
with two steps: (1) assert copyright on the software, and (2) offer
|
||||||
|
you this License which gives you legal permission to copy, distribute
|
||||||
|
and/or modify the software.
|
||||||
|
|
||||||
|
A secondary benefit of defending all users' freedom is that
|
||||||
|
improvements made in alternate versions of the program, if they
|
||||||
|
receive widespread use, become available for other developers to
|
||||||
|
incorporate. Many developers of free software are heartened and
|
||||||
|
encouraged by the resulting cooperation. However, in the case of
|
||||||
|
software used on network servers, this result may fail to come about.
|
||||||
|
The GNU General Public License permits making a modified version and
|
||||||
|
letting the public access it on a server without ever releasing its
|
||||||
|
source code to the public.
|
||||||
|
|
||||||
|
The GNU Affero General Public License is designed specifically to
|
||||||
|
ensure that, in such cases, the modified source code becomes available
|
||||||
|
to the community. It requires the operator of a network server to
|
||||||
|
provide the source code of the modified version running there to the
|
||||||
|
users of that server. Therefore, public use of a modified version, on
|
||||||
|
a publicly accessible server, gives the public access to the source
|
||||||
|
code of the modified version.
|
||||||
|
|
||||||
|
An older license, called the Affero General Public License and
|
||||||
|
published by Affero, was designed to accomplish similar goals. This is
|
||||||
|
a different license, not a version of the Affero GPL, but Affero has
|
||||||
|
released a new version of the Affero GPL which permits relicensing
|
||||||
|
under this license.
|
||||||
|
|
||||||
|
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 Affero 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. Remote Network Interaction; Use with the GNU General Public License.
|
||||||
|
|
||||||
|
Notwithstanding any other provision of this License, if you modify the
|
||||||
|
Program, your modified version must prominently offer all users
|
||||||
|
interacting with it remotely through a computer network (if your
|
||||||
|
version supports such interaction) an opportunity to receive the
|
||||||
|
Corresponding Source of your version by providing access to the
|
||||||
|
Corresponding Source from a network server at no charge, through some
|
||||||
|
standard or customary means of facilitating copying of software. This
|
||||||
|
Corresponding Source shall include the Corresponding Source for any
|
||||||
|
work covered by version 3 of the GNU General Public License that is
|
||||||
|
incorporated pursuant to the following paragraph.
|
||||||
|
|
||||||
|
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 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 work with which it is combined will remain governed by version
|
||||||
|
3 of the GNU General Public License.
|
||||||
|
|
||||||
|
#### 14. Revised Versions of this License.
|
||||||
|
|
||||||
|
The Free Software Foundation may publish revised and/or new versions
|
||||||
|
of the GNU Affero 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 Affero 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 Affero 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 Affero 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 Affero 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 Affero General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Affero 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 your software can interact with users remotely through a computer
|
||||||
|
network, you should also make sure that it provides a way for users to
|
||||||
|
get its source. For example, if your program is a web application, its
|
||||||
|
interface could display a "Source" link that leads users to an archive
|
||||||
|
of the code. There are many ways you could offer source, and different
|
||||||
|
solutions will be better for different programs; see section 13 for
|
||||||
|
the specific requirements.
|
||||||
|
|
||||||
|
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 AGPL, see <https://www.gnu.org/licenses/>.
|
52
README.md
|
@ -1,4 +1,50 @@
|
||||||
# Présentation
|
# ![Logo](favicons/defaut-32.png) Générateur de codes QR
|
||||||
Un générateur de codes QR pour le Web créé par Miraty basé sur la bibliothèque [phpqrcode](https://github.com/t0k4rt/phpqrcode).
|
|
||||||
# Démo
|
## Présentation
|
||||||
|
|
||||||
|
Une interface Web pour générer des codes QR en PHP.
|
||||||
|
|
||||||
|
## Démo
|
||||||
|
|
||||||
Une instance de ce service est disponible à l'adresse [https://qr.antopie.org](https://qr.antopie.org).
|
Une instance de ce service est disponible à l'adresse [https://qr.antopie.org](https://qr.antopie.org).
|
||||||
|
|
||||||
|
## Installation
|
||||||
|
|
||||||
|
Je développe directement dans master, donc en production téléchargez plutôt une version stable dans [l'onglet Versions](https://code.antopie.org/miraty/qr/releases) ou avec le tag.
|
||||||
|
|
||||||
|
Placez ce code source dans un serveur Web avec PHP, tout simplement.
|
||||||
|
|
||||||
|
## Thèmes
|
||||||
|
|
||||||
|
### Changer de thème
|
||||||
|
|
||||||
|
Dans options.inc.php, donnez à $theme le nom du thème voulu.
|
||||||
|
|
||||||
|
Par défaut, deux thèmes sont proposés :
|
||||||
|
|
||||||
|
* defaut, le thème par défaut, sombre. Il est utilisé ici : <https://qr.antopie.org>
|
||||||
|
* parinux, un thème bleu, créé pour [Bastet](https://bastet.parinux.org/), le chaton de [Parinux](https://parinux.org/). Il est utilisé ici : <https://qrcode.parinux.org>
|
||||||
|
|
||||||
|
### Créer un thème
|
||||||
|
|
||||||
|
* Copiez themes/defaut vers themes/[nom de votre thème]
|
||||||
|
* Depuis ce nouveau dossier, créez les icônes dans favicons/[longueur du côté de l'icone].png
|
||||||
|
* Complétez theme.php en fonctions des favicons créees précédemment et des couleurs CSS voulues dans l'interface
|
||||||
|
|
||||||
|
## Bibliothèques tierces
|
||||||
|
|
||||||
|
Ce code source inclus :
|
||||||
|
|
||||||
|
* [phpqrcode](https://github.com/t0k4rt/phpqrcode) pour générer les codes QR
|
||||||
|
* [La police Ubuntu packagée pour le Web](https://github.com/earaujoassis/ubuntu-fontface)
|
||||||
|
* [lessphp](http://leafo.net/lessphp) pour compiler le [Less](http://lesscss.org/)
|
||||||
|
|
||||||
|
## Licence
|
||||||
|
|
||||||
|
[AGPLv3+](https://code.antopie.org/miraty/qr/src/branch/master/LICENSE)
|
||||||
|
|
||||||
|
Ce générateur de codes QR est un logiciel libre ; vous pouvez le diffuser et le modifier suivant les termes de la GNU Affero General Public License telle que publiée par la Free Software Foundation ; soit la version 3 de cette licence, soit (à votre convenance) une version ultérieure.
|
||||||
|
|
||||||
|
Ce générateur de codes QR est diffusé dans l’espoir qu’il sera utile, mais SANS AUCUNE GARANTIE ; sans même une garantie implicite de COMMERCIALISATION ou d’ADÉQUATION À UN USAGE PARTICULIER. Voyez la GNU Affero General Public License pour plus de détails.
|
||||||
|
|
||||||
|
Vous devriez avoir reçu une copie de la GNU Affero General Public License avec ce code. Sinon, consultez <https://www.gnu.org/licenses/>
|
||||||
|
|
49
README.md.backup
Executable file
|
@ -0,0 +1,49 @@
|
||||||
|
# ![Logo](favicons/defaut-32.png) Générateur de codes QR
|
||||||
|
|
||||||
|
## Présentation
|
||||||
|
|
||||||
|
Une interface Web pour générer des codes QR en PHP.
|
||||||
|
|
||||||
|
## Démo
|
||||||
|
|
||||||
|
Une instance de ce service est disponible à l'adresse [https://qr.antopie.org](https://qr.antopie.org).
|
||||||
|
|
||||||
|
## Installation
|
||||||
|
|
||||||
|
Je développe directement dans master, donc en production téléchargez plutôt une version stable dans [l'onglet Versions](https://code.antopie.org/miraty/qr/releases) ou avec le tag.
|
||||||
|
|
||||||
|
Placez ce code source dans un serveur Web avec PHP, tout simplement.
|
||||||
|
|
||||||
|
## Thèmes
|
||||||
|
|
||||||
|
### Changer de thème
|
||||||
|
|
||||||
|
Dans options.inc.php, donnez à $theme le nom du thème voulu.
|
||||||
|
|
||||||
|
Par défaut, deux thèmes sont proposés :
|
||||||
|
* defaut, le thème par défaut, sombre. Il est utilisé ici : <https://qr.antopie.org>
|
||||||
|
* parinux, un thème bleu, créé pour [Bastet](https://bastet.parinux.org/), le chaton de [Parinux](https://parinux.org/). Il est utilisé ici : <https://qrcode.parinux.org>
|
||||||
|
|
||||||
|
### Créer un thème
|
||||||
|
|
||||||
|
* Copiez themes/defaut vers themes/[nom de votre thème]
|
||||||
|
* Depuis ce nouveau dossier, créez les icônes dans favicons/[longueur du côté de l'icone].png
|
||||||
|
* Complétez theme.php en fonctions des favicons créees précédemment et des couleurs CSS voulues dans l'interface
|
||||||
|
|
||||||
|
## Bibliothèques tierces
|
||||||
|
|
||||||
|
Ce code source inclus :
|
||||||
|
|
||||||
|
* [phpqrcode](https://github.com/t0k4rt/phpqrcode) pour générer les codes QR
|
||||||
|
* [La police Ubuntu packagée pour le Web](https://github.com/earaujoassis/ubuntu-fontface)
|
||||||
|
* [lessphp](http://leafo.net/lessphp) pour compiler le [Less](http://lesscss.org/)
|
||||||
|
|
||||||
|
## Licence
|
||||||
|
|
||||||
|
[AGPLv3+](https://code.antopie.org/miraty/qr/src/branch/master/LICENSE)
|
||||||
|
|
||||||
|
Ce générateur de codes QR est un logiciel libre ; vous pouvez le diffuser et le modifier suivant les termes de la GNU Affero General Public License telle que publiée par la Free Software Foundation ; soit la version 3 de cette licence, soit (à votre convenance) une version ultérieure.
|
||||||
|
|
||||||
|
Ce générateur de codes QR est diffusé dans l’espoir qu’il sera utile, mais SANS AUCUNE GARANTIE ; sans même une garantie implicite de COMMERCIALISATION ou d’ADÉQUATION À UN USAGE PARTICULIER. Voyez la GNU Affero General Public License pour plus de détails.
|
||||||
|
|
||||||
|
Vous devriez avoir reçu une copie de la GNU Affero General Public License avec ce code. Sinon, consultez <https://www.gnu.org/licenses/>
|
91
aide.svg
|
@ -1,89 +1,10 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||||
<svg
|
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
<g transform="translate(-400.000000, -247.000000)">
|
||||||
xmlns:cc="http://creativecommons.org/ns#"
|
<g id="69" transform="translate(400.000000, 247.000000)">
|
||||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
<circle id="Oval-7" stroke="<?php echo $variablesTheme["texte"]; ?>" stroke-width="2" cx="12" cy="12" r="10"></circle>
|
||||||
xmlns:svg="http://www.w3.org/2000/svg"
|
<path d="M12.016,14.544 C12.384,14.544 12.64,14.256 12.704,13.904 L12.768,13.168 C14.544,12.864 16,11.952 16,9.936 L16,9.904 C16,7.904 14.48,6.656 12.24,6.656 C10.768,6.656 9.696,7.184 8.848,7.984 C8.624,8.176 8.528,8.432 8.528,8.672 C8.528,9.152 8.928,9.552 9.424,9.552 C9.648,9.552 9.856,9.456 10.016,9.328 C10.656,8.752 11.344,8.448 12.192,8.448 C13.344,8.448 14.032,9.072 14.032,9.968 L14.032,10 C14.032,11.008 13.2,11.584 11.696,11.728 C11.264,11.776 11.008,12.096 11.072,12.528 L11.232,13.904 C11.28,14.272 11.552,14.544 11.92,14.544 L12.016,14.544 Z M10.784,16.816 L10.784,16.976 C10.784,17.6 11.264,18.08 11.92,18.08 C12.576,18.08 13.056,17.6 13.056,16.976 L13.056,16.816 C13.056,16.192 12.576,15.712 11.92,15.712 C11.264,15.712 10.784,16.192 10.784,16.816 Z" id="?" fill="<?php echo $variablesTheme["texte"]; ?>"></path>
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
|
||||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
|
||||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
|
||||||
width="24px"
|
|
||||||
height="24px"
|
|
||||||
viewBox="0 0 24 24"
|
|
||||||
version="1.1"
|
|
||||||
id="svg9"
|
|
||||||
sodipodi:docname="aide.svg"
|
|
||||||
inkscape:version="0.92.3 (2405546, 2018-03-11)">
|
|
||||||
<metadata
|
|
||||||
id="metadata13">
|
|
||||||
<rdf:RDF>
|
|
||||||
<cc:Work
|
|
||||||
rdf:about="">
|
|
||||||
<dc:format>image/svg+xml</dc:format>
|
|
||||||
<dc:type
|
|
||||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
|
||||||
</cc:Work>
|
|
||||||
</rdf:RDF>
|
|
||||||
</metadata>
|
|
||||||
<sodipodi:namedview
|
|
||||||
pagecolor="#ffffff"
|
|
||||||
bordercolor="#666666"
|
|
||||||
borderopacity="1"
|
|
||||||
objecttolerance="10"
|
|
||||||
gridtolerance="10"
|
|
||||||
guidetolerance="10"
|
|
||||||
inkscape:pageopacity="0"
|
|
||||||
inkscape:pageshadow="2"
|
|
||||||
inkscape:window-width="1920"
|
|
||||||
inkscape:window-height="1001"
|
|
||||||
id="namedview11"
|
|
||||||
showgrid="false"
|
|
||||||
inkscape:zoom="32"
|
|
||||||
inkscape:cx="10.795259"
|
|
||||||
inkscape:cy="11.972167"
|
|
||||||
inkscape:window-x="0"
|
|
||||||
inkscape:window-y="0"
|
|
||||||
inkscape:window-maximized="1"
|
|
||||||
inkscape:current-layer="svg9" />
|
|
||||||
<defs
|
|
||||||
id="defs2" />
|
|
||||||
<g
|
|
||||||
id="Page-1"
|
|
||||||
transform="matrix(0.67614614,0,0,0.66760393,0.32374636,7.6450029)"
|
|
||||||
style="fill:none;fill-rule:evenodd;stroke:none;stroke-width:1">
|
|
||||||
<g
|
|
||||||
id="Artboard-4"
|
|
||||||
transform="translate(-400,-247)">
|
|
||||||
<g
|
|
||||||
id="69"
|
|
||||||
transform="translate(400,247)">
|
|
||||||
<circle
|
|
||||||
id="Oval-7"
|
|
||||||
cx="12"
|
|
||||||
cy="12"
|
|
||||||
r="10"
|
|
||||||
style="stroke:#333333;stroke-width:2" />
|
|
||||||
<path
|
|
||||||
d="m 12.016,14.544 c 0.368,0 0.624,-0.288 0.688,-0.64 l 0.064,-0.736 C 14.544,12.864 16,11.952 16,9.936 V 9.904 c 0,-2 -1.52,-3.248 -3.76,-3.248 -1.472,0 -2.544,0.528 -3.392,1.328 -0.224,0.192 -0.32,0.448 -0.32,0.688 0,0.48 0.4,0.88 0.896,0.88 0.224,0 0.432,-0.096 0.592,-0.224 0.64,-0.576 1.328,-0.88 2.176,-0.88 1.152,0 1.84,0.624 1.84,1.52 V 10 c 0,1.008 -0.832,1.584 -2.336,1.728 -0.432,0.048 -0.688,0.368 -0.624,0.8 l 0.16,1.376 c 0.048,0.368 0.32,0.64 0.688,0.64 z m -1.232,2.272 v 0.16 c 0,0.624 0.48,1.104 1.136,1.104 0.656,0 1.136,-0.48 1.136,-1.104 v -0.16 c 0,-0.624 -0.48,-1.104 -1.136,-1.104 -0.656,0 -1.136,0.48 -1.136,1.104 z"
|
|
||||||
id="?"
|
|
||||||
inkscape:connector-curvature="0"
|
|
||||||
style="fill:#333333" />
|
|
||||||
</g>
|
</g>
|
||||||
</g>
|
</g>
|
||||||
</g>
|
</g>
|
||||||
<path
|
|
||||||
style="fill:#ffffff;stroke-width:0.02099567"
|
|
||||||
d="M 8.1795097,17.294629 C 8.0713696,17.241775 7.9807815,17.127329 7.9476118,17.001649 7.9190785,16.893546 7.817311,16.039765 7.817311,15.908513 c 0,-0.115002 0.038763,-0.209122 0.1180978,-0.286732 0.094997,-0.09294 0.161033,-0.116988 0.4156189,-0.15138 0.9014522,-0.12178 1.3704488,-0.441981 1.4560908,-0.994128 0.069857,-0.450384 -0.142086,-0.864592 -0.5365084,-1.048516 -0.2478515,-0.115576 -0.3898645,-0.144066 -0.7137642,-0.143194 -0.536812,0.0014 -0.9143457,0.139869 -1.3785403,0.505447 -0.2342228,0.184463 -0.3255409,0.220307 -0.5281969,0.207328 -0.180152,-0.01154 -0.2623685,-0.04872 -0.3864245,-0.174749 -0.224464,-0.228038 -0.208822,-0.587728 0.035834,-0.824008 0.4334889,-0.418648 0.9992373,-0.714103 1.600146,-0.835655 0.2666937,-0.05395 0.8258855,-0.07392 1.1210314,-0.04004 1.1270764,0.129375 1.8666444,0.73584 2.0748494,1.701432 0.04217,0.195571 0.03578,0.737064 -0.01108,0.938818 -0.0886,0.381493 -0.243695,0.664642 -0.509749,0.930634 -0.305754,0.305683 -0.7304149,0.521732 -1.3053433,0.664105 l -0.3216339,0.07965 -0.02499,0.271663 c -0.034003,0.369645 -0.1094931,0.516544 -0.3074112,0.598195 -0.1162768,0.04797 -0.3240295,0.04189 -0.435833,-0.01275 z"
|
|
||||||
id="path37"
|
|
||||||
inkscape:connector-curvature="0" />
|
|
||||||
<path
|
|
||||||
style="fill:#ffffff;stroke-width:0.02099567"
|
|
||||||
d="M 8.0903152,19.649459 C 7.761099,19.512407 7.6130514,19.262685 7.6313384,18.875273 c 0.014916,-0.316024 0.1393111,-0.51986 0.3922094,-0.642689 0.1331379,-0.06466 0.1552303,-0.06884 0.3639323,-0.06878 0.1834864,5e-5 0.2395518,0.008 0.3218631,0.04546 0.1492836,0.068 0.2971845,0.215818 0.3670534,0.366838 0.053963,0.116635 0.060177,0.152681 0.060177,0.349122 0,0.19644 -0.00622,0.232485 -0.060177,0.349121 -0.070211,0.15176 -0.2188537,0.299866 -0.3670534,0.365731 -0.073213,0.03254 -0.1529612,0.04618 -0.3004043,0.05138 -0.1732868,0.0061 -0.2168495,3.7e-4 -0.3186237,-0.042 z"
|
|
||||||
id="path39"
|
|
||||||
inkscape:connector-curvature="0" />
|
|
||||||
<path
|
|
||||||
style="fill:#ffffff;stroke-width:0.02099567"
|
|
||||||
d="M 8.0074771,22.980507 C 6.957237,22.905288 6.0705051,22.671963 5.1655506,22.232714 3.8499561,21.594146 2.7969315,20.633985 2.0452388,19.387574 1.5136634,18.506148 1.1918788,17.558697 1.05211,16.463439 1.0097727,16.131674 1.0161848,15.107455 1.0627547,14.763135 1.1786989,13.905887 1.4004219,13.177463 1.77399,12.426521 2.9318382,10.099028 5.231148,8.5550595 7.8502333,8.3463711 8.2364757,8.3155952 8.9959521,8.3315923 9.357933,8.378127 c 1.66571,0.2141396 3.154162,0.9347872 4.333058,2.097888 2.288949,2.258285 2.828962,5.724997 1.334015,8.563957 -1.136287,2.157852 -3.281202,3.616185 -5.7391901,3.902092 -0.26967,0.03136 -1.049633,0.05482 -1.2783388,0.03844 z M 9.1167794,21.636963 C 10.410302,21.498352 11.664412,20.923146 12.623173,20.028731 14.848999,17.952291 15.1666,14.55906 13.36402,12.113581 12.386287,10.787136 10.948812,9.9416446 9.2435568,9.6900146 8.8875449,9.6374809 7.9781547,9.6376117 7.6165802,9.6902486 5.9620059,9.9311161 4.5488892,10.753748 3.5583932,12.052681 c -1.1309845,1.48317 -1.4963792,3.4193 -0.9879393,5.234831 0.2627934,0.93838 0.7828216,1.828533 1.4850901,2.542088 0.3437327,0.349257 0.6239196,0.58065 1.0161554,0.839193 0.8497278,0.560102 1.8511799,0.902984 2.8876463,0.988687 0.2674672,0.02212 0.8571261,0.01166 1.1574337,-0.02052 z"
|
|
||||||
id="path41"
|
|
||||||
inkscape:connector-curvature="0" />
|
|
||||||
</svg>
|
</svg>
|
||||||
|
|
Before Width: | Height: | Size: 5.9 KiB After Width: | Height: | Size: 1.3 KiB |
172
index.php
|
@ -1,54 +1,80 @@
|
||||||
<!--
|
<?php require "options.inc.php";
|
||||||
Code publié sous licence Apache 2.0
|
$locale = "fr_FR";
|
||||||
https://code.antopie.org/miraty/qr
|
|
||||||
-->
|
|
||||||
<?php
|
|
||||||
|
|
||||||
require "options.inc.php";
|
if (defined('LC_MESSAGES')) {
|
||||||
|
setlocale(LC_MESSAGES, $locale); // Linux
|
||||||
|
bindtextdomain("messages", "./locale");
|
||||||
|
} else {
|
||||||
|
putenv("LC_ALL={$locale}"); // windows
|
||||||
|
bindtextdomain("messages", "./locale");
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
textdomain("messages");
|
||||||
?>
|
?>
|
||||||
|
<!--
|
||||||
|
_____ _ _ _ _____ ______
|
||||||
|
| __ \ // // | | | | | | | _ || ___ \
|
||||||
|
| | \/ ___ _ __ ___ _ __ __ _ | |_ ___ _ _ _ __ __| | ___ ___ ___ __| | ___ ___ | | | || |_/ /
|
||||||
|
| | __ / _ \| '_ \ / _ \| '__| / _` || __| / _ \| | | || '__| / _` | / _ \ / __| / _ \ / _` | / _ \/ __| | | | || /
|
||||||
|
| |_\ \| __/| | | || __/| | | (_| || |_ | __/| |_| || | | (_| || __/ | (__ | (_) || (_| || __/\__ \ \ \/' /| |\ \
|
||||||
|
\____/ \___||_| |_| \___||_| \__,_| \__| \___| \__,_||_| \__,_| \___| \___| \___/ \__,_| \___||___/ \_/\_\\_| \_|
|
||||||
|
|
||||||
|
Version 1.2.0dev
|
||||||
|
Créé par Miraty et diffusé sous AGPLv3+
|
||||||
|
Code source : https://code.antopie.org/miraty/qr
|
||||||
|
-->
|
||||||
|
|
||||||
<!DOCTYPE HTML>
|
<!DOCTYPE HTML>
|
||||||
<html lang="fr">
|
<html lang="fr">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8">
|
||||||
<title>Générateur de codes QR</title>
|
<title>Générateur de codes QR</title>
|
||||||
<meta name="description" content="Générez des codes QR scannables avec ce générateur de codes QR"/>
|
<meta name="description" content="Générez des codes QR librement. Choisissez le contenu, la taille, la couleur...">
|
||||||
<link rel="icon" type="image/png" href="favicons/<?php echo $theme; ?>-16.png" sizes="16x16"/>
|
<meta name="theme-color" content="<?php echo $variablesTheme['fond']; ?>">
|
||||||
<link rel="icon" type="image/png" href="favicons/<?php echo $theme; ?>-32.png" sizes="32x32"/>
|
|
||||||
<link rel="icon" type="image/png" href="favicons/<?php echo $theme; ?>-48.png" sizes="48x48"/>
|
|
||||||
<link rel="icon" type="image/png" href="favicons/<?php echo $theme; ?>-64.png" sizes="64x64"/>
|
|
||||||
<link rel="icon" type="image/png" href="favicons/<?php echo $theme; ?>-96.png" sizes="96x96"/>
|
|
||||||
<link rel="icon" type="image/png" href="favicons/<?php echo $theme; ?>-128.png" sizes="128x128"/>
|
|
||||||
<link rel="icon" type="image/png" href="favicons/<?php echo $theme; ?>-192.png" sizes="192x192"/>
|
|
||||||
<link rel="icon" type="image/png" href="favicons/<?php echo $theme; ?>-256.png" sizes="256x256"/>
|
|
||||||
<link rel="icon" type="image/png" href="favicons/<?php echo $theme; ?>-384.png" sizes="384x384"/>
|
|
||||||
<link rel="icon" type="image/png" href="favicons/<?php echo $theme; ?>-512.png" sizes="512x512"/>
|
|
||||||
<meta name="theme-color" content="<?php echo $couleurPrincipale; ?>">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<link rel="manifest" href="manifest.php">
|
<link rel="manifest" href="manifest.php">
|
||||||
<link rel="search" type="application/opensearchdescription+xml" title="Générer un code QR" href="opensearch.php" />
|
<link rel="search" type="application/opensearchdescription+xml" title="Générer un code QR" href="opensearch.php">
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
<?php require "lessphp/lessc.inc.php";
|
<?php
|
||||||
$less = new lessc;
|
$less->setVariables($variablesTheme); // Rends ces couleurs utilisables dans style.less
|
||||||
echo $less->compileFile("themes/" . $theme . ".less"); ?>
|
|
||||||
|
|
||||||
|
if ($env == "prod") { // En production : minimise et met en cache style.less dans style.css
|
||||||
|
$less->setFormatter("compressed");
|
||||||
|
$less->checkedCompile("style.less", "style.css");
|
||||||
|
echo file_get_contents("ubuntu/ubuntu.min.css") . file_get_contents("style.css"); // Inclus toutes les CSS dans le document HTML (= moins de requêtes HTTP)
|
||||||
|
|
||||||
|
} else if ($env == "dev") { // En développement : compile style.less a chaque chargement de page
|
||||||
|
echo file_get_contents("ubuntu/ubuntu.min.css") . $less->compileFile("style.less");
|
||||||
|
|
||||||
|
} else {
|
||||||
|
echo "Erreur : $env doit valoir prod ou dev dans options.inc.php";
|
||||||
|
} ?>
|
||||||
</style>
|
</style>
|
||||||
|
<?php
|
||||||
|
|
||||||
|
foreach($themeDimensionsFavicons as $dimFav) { // Indique toutes les dimensions de favicons
|
||||||
|
echo ' <link rel="icon" type="image/png" href="themes/' . $theme . '/favicons/' . $dimFav . '.png" sizes="' . $dimFav . 'x' . $dimFav . '">' . "\n";
|
||||||
|
} ?>
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body lang="fr">
|
<body lang="fr">
|
||||||
|
|
||||||
|
<header>
|
||||||
|
<a href="<?php echo $cheminInstall; ?>"><img id="logo" src="themes/<?php echo $theme; ?>/favicons/48.png" alt="Logo de code QR"> <h1><?php echo gettext("thisisatest"); ?>Générateur de codes QR</h1></a>
|
||||||
|
</header>
|
||||||
|
|
||||||
<?php if (!isset($_GET["texte"])) { // Si OpenSearch n'a pas été utilisé ?>
|
<?php if (!isset($_GET["texte"])) { // Si OpenSearch n'a pas été utilisé ?>
|
||||||
|
|
||||||
<header>
|
|
||||||
<a href="<?php echo $cheminInstall; ?>"><img id="logo" src="favicons/<?php echo $theme; ?>-48.png" alt="Logo de code QR"> <h1>Générateur de codes QR</h1></a>
|
|
||||||
</header>
|
|
||||||
<form method="post">
|
<form method="post">
|
||||||
|
|
||||||
<div class="param">
|
<div class="param">
|
||||||
<label for="texte">Texte à encoder</label>
|
<label for="texte"><?php echo gettext("ieatbanana"); ?>Texte à encoder</label>
|
||||||
<span class="conteneurAide">
|
<span class="conteneurAide">
|
||||||
<img src="aide.svg" alt="Aide">
|
<span class="boutonAide"><?php include "aide.svg"; ?></span>
|
||||||
<span class="contenuAide">Vous pouvez encoder ce que vous voulez sous forme de texte.</span>
|
<span class="contenuAide">Vous pouvez encoder ce que vous voulez sous forme de texte.</span>
|
||||||
</span>
|
</span>
|
||||||
<br>
|
<br>
|
||||||
|
@ -61,11 +87,41 @@
|
||||||
?></textarea>
|
?></textarea>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div id="couleurs">
|
||||||
|
|
||||||
|
<div class="param">
|
||||||
|
<label for="couleurFond">Couleur de fond</label>
|
||||||
|
<span class="conteneurAide">
|
||||||
|
<span class="boutonAide"><?php include "aide.svg"; ?></span>
|
||||||
|
<span class="contenuAide">Par combien les dimensions de l'image seront-elles multipliées ?</span>
|
||||||
|
</span>
|
||||||
|
<br>
|
||||||
|
<div class="conteneurInputColor">
|
||||||
|
<input type="color" name="couleurFond" id="couleurFond" value="<?php if (isset($_POST['couleurFond'])) {echo $_POST['couleurFond'];} else {echo "#FFFFFF";} ?>">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="param">
|
||||||
|
<label for="couleurPrincipale">Couleur de premier plan</label>
|
||||||
|
<span class="conteneurAide">
|
||||||
|
<span class="boutonAide"><?php include "aide.svg"; ?></span>
|
||||||
|
<span class="contenuAide">Nombre de pixels des bandes blanches autour du code QR.</span>
|
||||||
|
</span>
|
||||||
|
<br>
|
||||||
|
<div class="conteneurInputColor">
|
||||||
|
<input type="color" name="couleurPrincipale" id="couleurPrincipale" value="<?php if (isset($_POST['couleurPrincipale'])) {echo $_POST['couleurPrincipale'];} else {echo "#000000";} ?>">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div id="menusDeroulants">
|
<div id="menusDeroulants">
|
||||||
<div class="param">
|
<div class="param">
|
||||||
<label for="taille">Taille de l'image</label>
|
<label for="taille">Taille de l'image</label>
|
||||||
<span class="conteneurAide">
|
<span class="conteneurAide">
|
||||||
<img src="aide.svg" alt="Aide">
|
<span class="boutonAide"><?php include "aide.svg"; ?></span>
|
||||||
<span class="contenuAide">Par combien les dimensions de l'image seront-elles multipliées ?</span>
|
<span class="contenuAide">Par combien les dimensions de l'image seront-elles multipliées ?</span>
|
||||||
</span>
|
</span>
|
||||||
<br>
|
<br>
|
||||||
|
@ -78,20 +134,18 @@
|
||||||
<option <?php if (isset($_POST['taille']) AND ($_POST['taille'] == 6)) {echo 'selected="" ';} ?>value="6">6</option>
|
<option <?php if (isset($_POST['taille']) AND ($_POST['taille'] == 6)) {echo 'selected="" ';} ?>value="6">6</option>
|
||||||
<option <?php if (isset($_POST['taille']) AND ($_POST['taille'] == 7)) {echo 'selected="" ';} ?>value="7">7</option>
|
<option <?php if (isset($_POST['taille']) AND ($_POST['taille'] == 7)) {echo 'selected="" ';} ?>value="7">7</option>
|
||||||
<option <?php if (isset($_POST['taille']) AND ($_POST['taille'] == 8)) {echo 'selected="" ';} ?>value="8">8</option>
|
<option <?php if (isset($_POST['taille']) AND ($_POST['taille'] == 8)) {echo 'selected="" ';} ?>value="8">8</option>
|
||||||
<option <?php if (isset($_POST['taille']) AND ($_POST['taille'] == 9)) {echo 'selected="" ';} ?>value="9">9</option>
|
|
||||||
<option <?php if (isset($_POST['taille']) AND ($_POST['taille'] == 10)) {echo 'selected="" ';} ?>value="10">10</option>
|
<option <?php if (isset($_POST['taille']) AND ($_POST['taille'] == 10)) {echo 'selected="" ';} ?>value="10">10</option>
|
||||||
|
<option <?php if (isset($_POST['taille']) AND ($_POST['taille'] == 15)) {echo 'selected="" ';} ?>value="15">15</option>
|
||||||
<option <?php if (isset($_POST['taille']) AND ($_POST['taille'] == 20)) {echo 'selected="" ';} ?>value="20">20</option>
|
<option <?php if (isset($_POST['taille']) AND ($_POST['taille'] == 20)) {echo 'selected="" ';} ?>value="20">20</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="param">
|
<div class="param">
|
||||||
<label for="redondance">Taux de redondance</label>
|
<label for="redondance">Taux de redondance</label>
|
||||||
|
|
||||||
<span class="conteneurAide">
|
<span class="conteneurAide">
|
||||||
<img src="aide.svg" alt="Aide">
|
<span class="boutonAide"><?php include "aide.svg"; ?></span>
|
||||||
<span class="contenuAide">La redondance est le "doublement" des informations dans le code QR afin de corriger les erreurs lors du décodage. Un taux plus élevé produira un code QR plus grand, mais aura plus de chance d'être décodé correctement.</span>
|
<span class="contenuAide">La redondance est le "doublement" des informations dans le code QR afin de corriger les erreurs lors du décodage. Un taux plus élevé produira un code QR plus grand, mais aura plus de chance d'être décodé correctement.</span>
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
<select id="redondance" name="redondance">
|
<select id="redondance" name="redondance">
|
||||||
<option <?php if (isset($_POST['redondance']) AND ($_POST['redondance'] == "L")) {echo 'selected="" ';} ?>value="L">L - 7% de redondance</option>
|
<option <?php if (isset($_POST['redondance']) AND ($_POST['redondance'] == "L")) {echo 'selected="" ';} ?>value="L">L - 7% de redondance</option>
|
||||||
|
@ -104,7 +158,7 @@
|
||||||
<div class="param">
|
<div class="param">
|
||||||
<label for="marge">Taille de la marge</label>
|
<label for="marge">Taille de la marge</label>
|
||||||
<span class="conteneurAide">
|
<span class="conteneurAide">
|
||||||
<img src="aide.svg" alt="Aide">
|
<span class="boutonAide"><?php include "aide.svg"; ?></span>
|
||||||
<span class="contenuAide">Nombre de pixels des bandes blanches autour du code QR.</span>
|
<span class="contenuAide">Nombre de pixels des bandes blanches autour du code QR.</span>
|
||||||
</span>
|
</span>
|
||||||
<br>
|
<br>
|
||||||
|
@ -119,58 +173,56 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<br/>
|
|
||||||
|
<br>
|
||||||
|
|
||||||
<div class="centrer">
|
<div class="centrer">
|
||||||
<input type="submit" value="Générer" />
|
<input type="submit" class="bouton" value="Générer" />
|
||||||
</div>
|
</div>
|
||||||
<br/>
|
<br>
|
||||||
<br/>
|
<br>
|
||||||
|
|
||||||
|
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
if (isset($_POST['texte']) and isset($_POST['taille']) and isset($_POST['redondance']) and isset($_POST['marge'])) {
|
if (isset($_POST['texte']) AND isset($_POST['taille']) AND isset($_POST['redondance']) AND isset($_POST['marge']) AND isset($_POST['couleurFond']) AND isset($_POST['couleurPrincipale'])) {
|
||||||
require "phpqrcode/qrlib.php";
|
require "phpqrcode.php";
|
||||||
|
|
||||||
$cheminImage = "temp/" . generateRandomString(50) . ".png";
|
$cheminImage = "temp/" . generateRandomString(50) . ".png";
|
||||||
|
|
||||||
QRcode::png($_POST['texte'], $cheminImage, $_POST['redondance'], $_POST['taille'], $_POST['marge']); ?>
|
|
||||||
|
QRcode::png($_POST['texte'], $cheminImage, $_POST['redondance'], $_POST['taille'], $_POST['marge'], false, hexdec($_POST['couleurFond']), hexdec($_POST['couleurPrincipale'])); ?>
|
||||||
|
|
||||||
<div class="centrer">
|
<div class="centrer">
|
||||||
<a href="<?php echo $cheminImage; ?>" class="bouton" download="<?php echo htmlspecialchars($_POST['texte']); ?>.png">Télécharger ce code QR</a>
|
<a href="<?php echo $cheminImage; ?>" class="bouton" download="<?php echo htmlspecialchars($_POST['texte']); ?>.png">Télécharger ce code QR</a>
|
||||||
</div>
|
</div>
|
||||||
<br><br>
|
<br><br>
|
||||||
<div class="centrer">
|
<div class="centrer">
|
||||||
<a href="<?php echo $cheminImage; ?>"><img alt='Un code QR contenant "<?php echo htmlspecialchars($_GET['texte']); ?>"' id="codeQR" src="<?php echo $cheminImage; ?>"/></a>
|
<a title="Cliquez pour afficher uniquement ce code QR" href="<?php echo $cheminImage; ?>"><img alt='Un code QR contenant "<?php echo htmlspecialchars($_POST['texte']); ?>"' id="codeQR" src="<?php echo $cheminImage; ?>"/></a>
|
||||||
</div>
|
</div>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<footer>
|
|
||||||
<a class="lienCodeSource" href="https://code.antopie.org/miraty/qr">Code source</a>
|
|
||||||
</footer>
|
|
||||||
|
|
||||||
|
|
||||||
<?php } else if (isset($_GET["texte"])) { // Si OpenSearch a été utilisé
|
<?php } else if (isset($_GET["texte"])) { // Si OpenSearch a été utilisé
|
||||||
|
|
||||||
if (empty($_GET["texte"])) { // Si rien n'a été recherché ?>
|
if (empty($_GET["texte"])) { // Si rien n'a été recherché ?>
|
||||||
|
|
||||||
<span style="font-size: 30px;">Erreur : vous ne pouvez pas générer un code QR vide !
|
<span style="font-size: 30px;">Erreur : vous ne pouvez pas générer un code QR vide !
|
||||||
|
|
||||||
<?php } else if (!empty($_GET["texte"])) {
|
<?php } else {
|
||||||
|
|
||||||
require "phpqrcode/qrlib.php";
|
require "phpqrcode.php";
|
||||||
$cheminImage = "temp/" . generateRandomString(50) . ".png";
|
$cheminImage = "temp/" . generateRandomString(50) . ".png";
|
||||||
|
|
||||||
QRcode::png($_GET['texte'], $cheminImage, "H", 4, 2); ?>
|
QRcode::png($_GET['texte'], $cheminImage, "H", 4, 2); ?>
|
||||||
|
|
||||||
<header>
|
<br>
|
||||||
<a href="<?php echo $cheminInstall; ?>"><img id="logo" src="favicons/<?php echo $theme; ?>-48.png" alt="Logo <?php echo $theme; ?>"> <h1>Générateur de codes QR</h1></a>
|
|
||||||
</header>
|
Vous avez créé un code QR contenant :
|
||||||
|
<div class="contenuQR"><?php echo htmlspecialchars($_GET['texte']); ?></div>
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
|
@ -179,16 +231,24 @@
|
||||||
</div>
|
</div>
|
||||||
<br><br>
|
<br><br>
|
||||||
<div class="centrer">
|
<div class="centrer">
|
||||||
<a href="<?php echo $cheminImage; ?>"><img alt='Un code QR contenant "<?php echo htmlspecialchars($_GET['texte']); ?>"' id="codeQR" src="<?php echo $cheminImage; ?>"/></a>
|
<a title="Cliquez pour afficher uniquement ce code QR" href="<?php echo $cheminImage; ?>"><img alt='Un code QR contenant "<?php echo htmlspecialchars($_GET['texte']); ?>"' id="codeQR" src="<?php echo $cheminImage; ?>"/></a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<footer>
|
|
||||||
<a class="lienCodeSource" href="https://code.antopie.org/miraty/qr">Code source</a>
|
|
||||||
</footer>
|
|
||||||
|
|
||||||
|
|
||||||
<?php } } ?>
|
<?php } } ?>
|
||||||
|
|
||||||
|
<section class="info">
|
||||||
|
<strong>Qu'est-ce qu'un code QR ?</strong><br>
|
||||||
|
Un code QR est une image en 2 dimensions dans laquelle est inscrite en binaire des informations textuelles.<br>
|
||||||
|
Un pixel blanc représente un 0 et un pixel noir représente un 1.<br>
|
||||||
|
<a href="https://fr.wikipedia.org/wiki/Code_QR">Code QR sur Wikipédia</a>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<footer>
|
||||||
|
<a class="topRight" href="https://code.antopie.org/miraty/qr/">Code source</a>
|
||||||
|
</footer>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
BIN
locale/fr_FR/LC_MESSAGES/messages.mo
Normal file
26
locale/fr_FR/LC_MESSAGES/messages.po
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
# SOME DESCRIPTIVE TITLE.
|
||||||
|
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||||
|
# This file is distributed under the same license as the PACKAGE package.
|
||||||
|
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||||
|
#
|
||||||
|
#, fuzzy
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: PACKAGE VERSION\n"
|
||||||
|
"Report-Msgid-Bugs-To: \n"
|
||||||
|
"POT-Creation-Date: 2019-08-11 18:34+0200\n"
|
||||||
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
|
"Language: fr\n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
|
||||||
|
#: index.php:56
|
||||||
|
msgid "thisisatest"
|
||||||
|
msgstr "cuntest"
|
||||||
|
|
||||||
|
#: index.php:64
|
||||||
|
msgid "ieatbanana"
|
||||||
|
msgstr "jemangeunebanane"
|
61
manifest.php
|
@ -6,61 +6,28 @@
|
||||||
"short_name": "Code QR",
|
"short_name": "Code QR",
|
||||||
"description": "Générez un code QR rapidement",
|
"description": "Générez un code QR rapidement",
|
||||||
"start_url": "<?php echo $cheminInstall; ?>",
|
"start_url": "<?php echo $cheminInstall; ?>",
|
||||||
"scope": "<?php echo $cheminInstall; ?>"
|
"scope": "<?php echo $cheminInstall; ?>",
|
||||||
"display": "standalone",
|
"display": "standalone",
|
||||||
"theme_color": "<?php echo $couleurPrincipale; ?>",
|
"theme_color": "<?php echo $variablesTheme["fond"]; ?>",
|
||||||
"background_color": "<?php echo $couleurPrincipale; ?>",
|
"background_color": "<?php echo $variablesTheme["fond"]; ?>",
|
||||||
"orientation": "portrait",
|
"orientation": "portrait",
|
||||||
"icons":
|
"icons":
|
||||||
[
|
[
|
||||||
|
<?php
|
||||||
|
for ($i = 0; $i < (count($themeDimensionsFavicons) - 1); $i++) { ?>
|
||||||
{
|
{
|
||||||
"src": "favicons/<?php echo $theme; ?>-16.png",
|
"src": "themes/<?php echo $theme; ?>/favicons/<?php echo $themeDimensionsFavicons[$i]; ?>.png",
|
||||||
"sizes": "16x16",
|
"sizes": "<?php echo $themeDimensionsFavicons[$i]; ?>x<?php echo $themeDimensionsFavicons[$i]; ?>",
|
||||||
"type": "image/png"
|
"type": "image/png"
|
||||||
},
|
},
|
||||||
|
|
||||||
|
<?php
|
||||||
|
|
||||||
|
}
|
||||||
|
?>
|
||||||
{
|
{
|
||||||
"src": "favicons/<?php echo $theme; ?>-32.png",
|
"src": "themes/<?php echo $theme; ?>/favicons/<?php echo $themeDimensionsFavicons[$i]; ?>.png",
|
||||||
"sizes": "32x32",
|
"sizes": "<?php echo $themeDimensionsFavicons[$i]; ?>x<?php echo $themeDimensionsFavicons[$i]; ?>",
|
||||||
"type": "image/png"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"src": "favicons/<?php echo $theme; ?>-48.png",
|
|
||||||
"sizes": "48x48",
|
|
||||||
"type": "image/png"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"src": "favicons/<?php echo $theme; ?>-64.png",
|
|
||||||
"sizes": "64x64",
|
|
||||||
"type": "image/png"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"src": "favicons/<?php echo $theme; ?>-96.png",
|
|
||||||
"sizes": "96x96",
|
|
||||||
"type": "image/png"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"src": "favicons/<?php echo $theme; ?>-128.png",
|
|
||||||
"sizes": "128x128",
|
|
||||||
"type": "image/png"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"src": "favicons/<?php echo $theme; ?>-192.png",
|
|
||||||
"sizes": "192x192",
|
|
||||||
"type": "image/png"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"src": "favicons/<?php echo $theme; ?>-256.png",
|
|
||||||
"sizes": "256x256",
|
|
||||||
"type": "image/png"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"src": "favicons/<?php echo $theme; ?>-384.png",
|
|
||||||
"sizes": "384x384",
|
|
||||||
"type": "image/png"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"src": "favicons/<?php echo $theme; ?>-512.png",
|
|
||||||
"sizes": "512x512",
|
|
||||||
"type": "image/png"
|
"type": "image/png"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
@ -3,16 +3,11 @@
|
||||||
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
|
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
|
||||||
<ShortName>Générer un code QR</ShortName>
|
<ShortName>Générer un code QR</ShortName>
|
||||||
<Description>Générez des codes QR depuis votre barre de recherche ou d'adresse</Description>
|
<Description>Générez des codes QR depuis votre barre de recherche ou d'adresse</Description>
|
||||||
<Image height="16" width="16" type="image/png"><?php echo $cheminInstall; ?>favicons/<?php echo $theme; ?>-16.png</Image>
|
<?php
|
||||||
<Image height="32" width="32" type="image/png"><?php echo $cheminInstall; ?>favicons/<?php echo $theme; ?>-32.png</Image>
|
foreach($themeDimensionsFavicons as $dimFav) {
|
||||||
<Image height="48" width="48" type="image/png"><?php echo $cheminInstall; ?>favicons/<?php echo $theme; ?>-48.png</Image>
|
echo ' <Image height="' . $dimFav . '" width="' . $dimFav . '" type="image/png">' . $cheminInstall . 'themes/' . $theme . '/favicons/' . $dimFav . '.png</Image>' . "\n";
|
||||||
<Image height="64" width="64" type="image/png"><?php echo $cheminInstall; ?>favicons/<?php echo $theme; ?>-64.png</Image>
|
}
|
||||||
<Image height="96" width="96" type="image/png"><?php echo $cheminInstall; ?>favicons/<?php echo $theme; ?>-96.png</Image>
|
?>
|
||||||
<Image height="128" width="128" type="image/png"><?php echo $cheminInstall; ?>favicons/<?php echo $theme; ?>-128.png</Image>
|
|
||||||
<Image height="192" width="192" type="image/png"><?php echo $cheminInstall; ?>favicons/<?php echo $theme; ?>-192.png</Image>
|
|
||||||
<Image height="256" width="256" type="image/png"><?php echo $cheminInstall; ?>favicons/<?php echo $theme; ?>-256.png</Image>
|
|
||||||
<Image height="384" width="384" type="image/png"><?php echo $cheminInstall; ?>favicons/<?php echo $theme; ?>-384.png</Image>
|
|
||||||
<Image height="512" width="512" type="image/png"><?php echo $cheminInstall; ?>favicons/<?php echo $theme; ?>-512.png</Image>
|
|
||||||
<Language>fr</Language>
|
<Language>fr</Language>
|
||||||
<InputEncoding>UTF-8</InputEncoding>
|
<InputEncoding>UTF-8</InputEncoding>
|
||||||
<Url type="text/html" template="<?php echo $cheminInstall; ?>?texte={searchTerms}"/>
|
<Url type="text/html" template="<?php echo $cheminInstall; ?>?texte={searchTerms}"/>
|
||||||
|
|
|
@ -1,18 +1,30 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
// Paramètres :
|
// ----- Paramètres -----
|
||||||
supprimerVieuxQR(60 * 60 * 24 * 7); // Indique le temps en secondes après lequel le code qr sera supprimé quand qq chargera la page
|
supprimerVieuxQR(60 * 60 * 24 * 7); // Indique le temps en secondes après lequel le code qr sera supprimé quand quelqu'un chargera la page
|
||||||
$theme = "defaut"; // defaut ou parinux
|
$theme = "defaut"; // defaut ou parinux
|
||||||
$cheminInstall = "https://example.org/"; // L'adresse racine complète depuis laquelle le générateur sera accessible (avec le slash final)
|
$env = "dev"; // dev ou prod
|
||||||
|
|
||||||
|
// ----- Trucs nécessaires partout -----
|
||||||
|
|
||||||
|
{ // Définit l'URL racine
|
||||||
if ($theme == "defaut") {
|
if (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'off') {
|
||||||
$couleurPrincipale = "#2D2F34";
|
$protocole = "https://";
|
||||||
} else if ($theme == "parinux") {
|
} else {
|
||||||
$couleurPrincipale = "#157097";
|
$protocole = "http://";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$cheminInstall = $protocole . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']; // L'adresse racine complète depuis laquelle le générateur sera accessible (avec le slash final)
|
||||||
|
|
||||||
|
|
||||||
|
$cheminInstall = preg_replace('#(manifest|opensearch|index).php$#i', '', $cheminInstall);
|
||||||
|
$cheminInstall = preg_replace('#\?.*$#', '', $cheminInstall);
|
||||||
|
}
|
||||||
|
|
||||||
|
require "lessphp/lessc.inc.php";
|
||||||
|
$less = new lessc;
|
||||||
|
require "themes/" . $theme . "/theme.php"; // Charge le thème graphique
|
||||||
|
|
||||||
function generateRandomString($length) {
|
function generateRandomString($length) {
|
||||||
$characters = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';
|
$characters = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';
|
||||||
$charactersLength = strlen($characters);
|
$charactersLength = strlen($characters);
|
||||||
|
@ -24,9 +36,12 @@ function generateRandomString($length) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function supprimerVieuxQR($tempsDeSuppression) {
|
function supprimerVieuxQR($tempsDeSuppression) {
|
||||||
|
/*
|
||||||
|
Cette fonction supprime les fichiers (normalement des images de codes QR) dans temp/ plus vieux que le temps en seconde passé en argument
|
||||||
|
*/
|
||||||
$listeCodesQR = new DirectoryIterator("temp");
|
$listeCodesQR = new DirectoryIterator("temp");
|
||||||
foreach($listeCodesQR as $listeCodesQR) {
|
foreach($listeCodesQR as $listeCodesQR) {
|
||||||
if ($listeCodesQR->getFilename() != "." AND $listeCodesQR->getFilename() != "..") {
|
if ($listeCodesQR->getFilename() != "." AND $listeCodesQR->getFilename() != ".." AND $listeCodesQR->getFilename() != "UoD3X0SUSLDF4K8V67igQozAaw7fOTStC8IO5gcMLd3OyW1r0b.png") {
|
||||||
if ((time() - filemtime("temp/" . $listeCodesQR->getFilename())) > $tempsDeSuppression) { // Si le temps actuel (en heure Posix) moins la date de dernière modification de l'image est supérieur à la durée de vie demandée de l'image
|
if ((time() - filemtime("temp/" . $listeCodesQR->getFilename())) > $tempsDeSuppression) { // Si le temps actuel (en heure Posix) moins la date de dernière modification de l'image est supérieur à la durée de vie demandée de l'image
|
||||||
unlink("temp/" . $listeCodesQR->getFilename()); // Alors supprimer cette image
|
unlink("temp/" . $listeCodesQR->getFilename()); // Alors supprimer cette image
|
||||||
}
|
}
|
||||||
|
|
3625
phpqrcode.php
Executable file
197
style.less
|
@ -1,34 +1,9 @@
|
||||||
/*
|
* {
|
||||||
Code publié sous licence Apache 2.0
|
font-family: "Ubuntu", sans-serif;
|
||||||
https://code.antopie.org/miraty/qr
|
|
||||||
*/
|
|
||||||
@font-face {
|
|
||||||
font-family: "ubuntu-dl";
|
|
||||||
src: url('ubuntu-dl.ttf');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#redondance, #marge, #texte, #taille {
|
h1 {
|
||||||
border: 2px @bordure solid;
|
font-weight: 700;
|
||||||
border-radius: 7px;
|
|
||||||
font-size: 20px;
|
|
||||||
padding-left: 10px;
|
|
||||||
font-weight: normal;
|
|
||||||
color: @texteForm;
|
|
||||||
margin-top: 8px;
|
|
||||||
transition: border 0.2s linear;
|
|
||||||
}
|
|
||||||
|
|
||||||
#redondance, #taille, #marge {
|
|
||||||
background-color: @fondChamp;
|
|
||||||
width: 250px;
|
|
||||||
height: 40px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#texte {
|
|
||||||
background-color: @fondChampTexte;
|
|
||||||
color: @texteForm;
|
|
||||||
padding-top: 6px;
|
|
||||||
width: 500px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#menusDeroulants {
|
#menusDeroulants {
|
||||||
|
@ -47,30 +22,14 @@
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
footer {
|
.topRight {
|
||||||
position: absolute;
|
position: fixed;
|
||||||
top: 5px;
|
top: 5px;
|
||||||
right: 5px;
|
right: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
input[type=submit], .bouton {
|
.bouton {
|
||||||
background-color: @fondChamp;
|
|
||||||
border: 2px @bordure solid;
|
|
||||||
color: @texteForm;
|
|
||||||
padding: 3px 10px 3px 10px;
|
padding: 3px 10px 3px 10px;
|
||||||
border-radius: 3px;
|
|
||||||
font-size: 1.2em;
|
|
||||||
text-decoration: none;
|
|
||||||
display: inline;
|
|
||||||
transition: border 0.2s linear;
|
|
||||||
}
|
|
||||||
|
|
||||||
#redondance:hover, #marge:hover, #texte:hover, #taille:hover, input[type=submit]:hover, .bouton:hover {
|
|
||||||
border: 2px @bordureHover solid;
|
|
||||||
}
|
|
||||||
|
|
||||||
#texte:focus, input[type=submit]:focus, .bouton:focus {
|
|
||||||
border: 2px @bordureFocus solid;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
form {
|
form {
|
||||||
|
@ -81,17 +40,16 @@ form {
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
html {
|
html, body {
|
||||||
width: 500px;
|
width: 500px;
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
background-color: @fond;
|
background-color: @fond;
|
||||||
color: @texte;
|
color: @texte;
|
||||||
font-family: "ubuntu", "ubuntu-dl";
|
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
|
|
||||||
& a {
|
& h1 {
|
||||||
color: @texte;
|
color: @texte;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
@ -100,26 +58,31 @@ html {
|
||||||
|
|
||||||
label {
|
label {
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
margin-bottom: 100px;
|
height: 60px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.topRight {
|
||||||
.lienCodeSource {
|
|
||||||
color: @texteLienCodeSource;
|
color: @texteLienCodeSource;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
margin-bottom: -20px;
|
margin-bottom: -20px;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
|
transition: color 0.2s;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
color: lighten(@texteLienCodeSource, 10%);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
header {
|
header {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
|
height: 48px;
|
||||||
}
|
}
|
||||||
|
|
||||||
header > a {
|
header > a {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1, #logo {
|
h1, #logo {
|
||||||
|
@ -127,7 +90,6 @@ h1, #logo {
|
||||||
font-size: 35px;
|
font-size: 35px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.param {
|
.param {
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
padding-left: 0px;
|
padding-left: 0px;
|
||||||
|
@ -155,21 +117,136 @@ h1, #logo {
|
||||||
|
|
||||||
#logo {
|
#logo {
|
||||||
width: 48px;
|
width: 48px;
|
||||||
|
height: 48px;
|
||||||
}
|
}
|
||||||
|
|
||||||
::placeholder {
|
.conteneurInputColor {
|
||||||
color: fadeout(@texte, 50%);
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
justify-content: center;
|
||||||
|
width: 250px;
|
||||||
|
}
|
||||||
|
|
||||||
|
::selection {
|
||||||
|
color: @fond;
|
||||||
|
background-color: @texte;
|
||||||
|
}
|
||||||
|
|
||||||
|
:link {
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#couleurs {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
justify-content: space-between;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.info {
|
||||||
|
color: grey;
|
||||||
|
position: absolute;
|
||||||
|
bottom: 20px;
|
||||||
|
right: 20px;
|
||||||
|
width: 300px;
|
||||||
|
|
||||||
|
& a {
|
||||||
|
color: grey;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:hover, &:hover a {
|
||||||
|
color: @texte;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Inputs */
|
||||||
|
|
||||||
|
#redondance, #marge, #texte, #taille, input[type=color], input[type=submit], .bouton {
|
||||||
|
border: 2px @bordure solid;
|
||||||
|
border-radius: 10px;
|
||||||
|
font-size: 20px;
|
||||||
|
padding-left: 10px;
|
||||||
|
font-weight: normal;
|
||||||
|
color: @texteForm;
|
||||||
|
transition: border 0.1s linear;
|
||||||
|
background-color: @fondChamp;
|
||||||
|
margin-top: 8px;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
border: 2px @bordureHover solid;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:focus {
|
||||||
|
border: 2px @bordureFocus solid;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#redondance, #taille, #marge {
|
||||||
|
background-color: @fondChamp;
|
||||||
|
width: 250px;
|
||||||
|
height: 40px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#texte {
|
||||||
|
background-color: @fondChampTexte;
|
||||||
|
color: @texteForm;
|
||||||
|
padding-top: 6px;
|
||||||
|
width: 500px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#redondance:hover, #marge:hover, #texte:hover, #taille:hover, input[type=submit]:hover, .bouton:hover {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#texte:focus, input[type=submit]:focus, .bouton:focus {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#texte::placeholder {
|
||||||
|
color: lighten(@fondChampTexte, 40%);
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
font-family: "ubuntu", "ubuntu-dl";
|
font-family: "Ubuntu";
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
input[type=color] {
|
||||||
|
height: 50px;
|
||||||
|
width: 50px;
|
||||||
|
padding: 5px;
|
||||||
|
background-color: @fondChamp;
|
||||||
|
border: 2px @bordure solid;
|
||||||
|
}
|
||||||
|
|
||||||
|
input[type=color]:hover {
|
||||||
|
border: 2px @bordureHover solid;
|
||||||
|
}
|
||||||
|
|
||||||
|
input[type=color]:focus {
|
||||||
|
border: 2px @bordureFocus solid;
|
||||||
|
}
|
||||||
|
|
||||||
/* Infobulle */
|
/* Infobulle */
|
||||||
|
|
||||||
|
svg {
|
||||||
|
width: 18px;
|
||||||
|
height: 18px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.boutonAide {
|
||||||
|
height: 18px;
|
||||||
|
width: 18px;
|
||||||
|
color: @texte;
|
||||||
|
cursor: help;
|
||||||
|
}
|
||||||
|
|
||||||
|
.contenuAide {
|
||||||
|
max-width: 500px;
|
||||||
|
}
|
||||||
|
|
||||||
.conteneurAide {
|
.conteneurAide {
|
||||||
color: #ccc;
|
color: #ccc;
|
||||||
text-shadow: 0 -1px 0 black;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.conteneurAide:hover, .conteneurAide:focus {
|
.conteneurAide:hover, .conteneurAide:focus {
|
||||||
|
|
BIN
temp/6MBFnPdqJOHR6SrkUx5hTlzXLuNkt96TFSTtbmnLkyyuvB8Feu.png
Normal file
After Width: | Height: | Size: 392 B |
0
temp/UoD3X0SUSLDF4K8V67igQozAaw7fOTStC8IO5gcMLd3OyW1r0b.png
Normal file → Executable file
Before Width: | Height: | Size: 401 B After Width: | Height: | Size: 401 B |
|
@ -1,10 +0,0 @@
|
||||||
@import "../style.less";
|
|
||||||
@fond: #2D2F34;
|
|
||||||
@fondChamp: #31363B;
|
|
||||||
@fondChampTexte : #232629;
|
|
||||||
@bordure: #5f5f5f;
|
|
||||||
@bordureHover: #808080;
|
|
||||||
@bordureFocus: #b6b6b6;
|
|
||||||
@texte: white;
|
|
||||||
@texteForm: white;
|
|
||||||
@texteLienCodeSource: #868686;
|
|
17
themes/defaut/defaut.php
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
$themeDimensionsFavicons = array(16, 32, 48, 64, 96, 128, 192, 256, 384, 512); // Liste les dimensions des favicons
|
||||||
|
|
||||||
|
$variablesTheme = array(
|
||||||
|
"fond" => "#2D2F34",
|
||||||
|
"fondChamp" => "#31363B",
|
||||||
|
"fondChampTexte" => "#232629",
|
||||||
|
"bordure" => "#5f5f5f",
|
||||||
|
"bordureHover" => "#808080",
|
||||||
|
"bordureFocus" => "#b6b6b6",
|
||||||
|
"texte" => "white",
|
||||||
|
"texteForm" => "white",
|
||||||
|
"texteLienCodeSource" => "#868686"
|
||||||
|
); // Définit les couleurs du thème
|
||||||
|
|
||||||
|
?>
|
BIN
themes/defaut/favicons/128.png
Executable file
After Width: | Height: | Size: 1.9 KiB |
BIN
themes/defaut/favicons/16.png
Executable file
After Width: | Height: | Size: 1.6 KiB |
BIN
themes/defaut/favicons/192.png
Executable file
After Width: | Height: | Size: 2.1 KiB |
BIN
themes/defaut/favicons/256.png
Executable file
After Width: | Height: | Size: 2.3 KiB |
BIN
themes/defaut/favicons/32.png
Executable file
After Width: | Height: | Size: 1.6 KiB |
BIN
themes/defaut/favicons/384.png
Executable file
After Width: | Height: | Size: 2.8 KiB |
BIN
themes/defaut/favicons/48.png
Executable file
After Width: | Height: | Size: 1.7 KiB |
BIN
themes/defaut/favicons/512.png
Executable file
After Width: | Height: | Size: 3.4 KiB |
BIN
themes/defaut/favicons/64.png
Executable file
After Width: | Height: | Size: 1.7 KiB |
BIN
themes/defaut/favicons/96.png
Executable file
After Width: | Height: | Size: 1.8 KiB |
17
themes/defaut/theme.php
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
$themeDimensionsFavicons = array(16, 32, 48, 64, 96, 128, 192, 256, 384, 512); // Liste les dimensions des favicons
|
||||||
|
|
||||||
|
$variablesTheme = array(
|
||||||
|
"fond" => "#2D2F34",
|
||||||
|
"fondChamp" => "#31363B",
|
||||||
|
"fondChampTexte" => "#232629",
|
||||||
|
"bordure" => "#5f5f5f",
|
||||||
|
"bordureHover" => "#808080",
|
||||||
|
"bordureFocus" => "#b6b6b6",
|
||||||
|
"texte" => "white",
|
||||||
|
"texteForm" => "white",
|
||||||
|
"texteLienCodeSource" => "#868686"
|
||||||
|
); // Définit les couleurs du thème
|
||||||
|
|
||||||
|
?>
|
|
@ -1,10 +0,0 @@
|
||||||
@import "../style.less";
|
|
||||||
@fond: #157097;
|
|
||||||
@fondChamp: #2794c2;
|
|
||||||
@fondChampTexte : #2794c2;
|
|
||||||
@bordure: #48aed9;
|
|
||||||
@bordureHover: #87d1f1;
|
|
||||||
@bordureFocus: #e2f6ff;
|
|
||||||
@texte: #d5f3ff;
|
|
||||||
@texteForm: #e2f6ff;
|
|
||||||
@texteLienCodeSource: #3da3cf;
|
|
BIN
themes/parinux/favicons/128.png
Executable file
After Width: | Height: | Size: 1.5 KiB |
BIN
themes/parinux/favicons/16.png
Executable file
After Width: | Height: | Size: 1.2 KiB |
BIN
themes/parinux/favicons/192.png
Executable file
After Width: | Height: | Size: 1.6 KiB |
BIN
themes/parinux/favicons/256.png
Executable file
After Width: | Height: | Size: 1.9 KiB |
BIN
themes/parinux/favicons/32.png
Executable file
After Width: | Height: | Size: 1.2 KiB |
BIN
themes/parinux/favicons/384.png
Executable file
After Width: | Height: | Size: 2.4 KiB |
BIN
themes/parinux/favicons/48.png
Executable file
After Width: | Height: | Size: 1.3 KiB |
BIN
themes/parinux/favicons/512.png
Executable file
After Width: | Height: | Size: 3 KiB |
BIN
themes/parinux/favicons/64.png
Executable file
After Width: | Height: | Size: 1.3 KiB |
BIN
themes/parinux/favicons/96.png
Executable file
After Width: | Height: | Size: 1.4 KiB |
17
themes/parinux/parinux.php
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
$themeDimensionsFavicons = array(16, 32, 48, 64, 96, 128, 192, 256, 384, 512); // Liste les dimensions des favicons
|
||||||
|
|
||||||
|
$variablesTheme = array(
|
||||||
|
"fond" => "#157097",
|
||||||
|
"fondChamp" => "#2794c2",
|
||||||
|
"fondChampTexte" => "#2794c2",
|
||||||
|
"bordure" => "#48aed9",
|
||||||
|
"bordureHover" => "#87d1f1",
|
||||||
|
"bordureFocus" => "#e2f6ff",
|
||||||
|
"texte" => "#d5f3ff",
|
||||||
|
"texteForm" => "#e2f6ff",
|
||||||
|
"texteLienCodeSource" => "#3da3cf"
|
||||||
|
); // Définit les couleurs du thème
|
||||||
|
|
||||||
|
?>
|
17
themes/parinux/theme.php
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
$themeDimensionsFavicons = array(16, 32, 48, 64, 96, 128, 192, 256, 384, 512); // Liste les dimensions des favicons
|
||||||
|
|
||||||
|
$variablesTheme = array(
|
||||||
|
"fond" => "#157097",
|
||||||
|
"fondChamp" => "#2794c2",
|
||||||
|
"fondChampTexte" => "#2794c2",
|
||||||
|
"bordure" => "#48aed9",
|
||||||
|
"bordureHover" => "#87d1f1",
|
||||||
|
"bordureFocus" => "#e2f6ff",
|
||||||
|
"texte" => "#d5f3ff",
|
||||||
|
"texteForm" => "#e2f6ff",
|
||||||
|
"texteLienCodeSource" => "#3da3cf"
|
||||||
|
); // Définit les couleurs du thème
|
||||||
|
|
||||||
|
?>
|
2
ubuntu/.gitignore
vendored
Executable file
|
@ -0,0 +1,2 @@
|
||||||
|
.DS_Store
|
||||||
|
webify
|
35
ubuntu/CHANGELOG.md
Executable file
|
@ -0,0 +1,35 @@
|
||||||
|
## Changelog
|
||||||
|
|
||||||
|
### v0.1.13
|
||||||
|
- Add woff2 files (thanks, @rene-s)
|
||||||
|
|
||||||
|
### v0.1.12
|
||||||
|
- Fix missing webfont files
|
||||||
|
|
||||||
|
### v0.1.11
|
||||||
|
- Create `package.json` for NPM
|
||||||
|
- Create `composer.json` for Packagist
|
||||||
|
|
||||||
|
### v0.1.10
|
||||||
|
- Improve documentation
|
||||||
|
- Minify the pure CSS file
|
||||||
|
|
||||||
|
### v0.1.8, v0.1.9
|
||||||
|
- Fix problems with the invalid bower.json
|
||||||
|
|
||||||
|
### v0.1.5 – Fixes and improvements
|
||||||
|
- Greek and Cyrillic charsets added
|
||||||
|
- Project page created
|
||||||
|
|
||||||
|
### v0.1.3
|
||||||
|
- Fixes an issue with sprockets stack creating final files for each *.scss
|
||||||
|
file instead of importing them to be compiled later as a whole.
|
||||||
|
|
||||||
|
### v0.1.2
|
||||||
|
- LESS and SASS files/descriptors available
|
||||||
|
- The font family is divided into three different files: Ubuntu (ubuntu-base);
|
||||||
|
Ubuntu Condensed (ubuntu-condensed); and Ubuntu Monospace (ubuntu-mono)
|
||||||
|
|
||||||
|
### v0.1.1
|
||||||
|
- Font files provided
|
||||||
|
- CSS descriptor available
|
21
ubuntu/MIT-LICENSE
Executable file
|
@ -0,0 +1,21 @@
|
||||||
|
The MIT License (MIT)
|
||||||
|
|
||||||
|
Copyright (c) 2015-2016 Ewerton Assis <earaujoassis@gmail.com>
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a
|
||||||
|
copy of this software and associated documentation files (the “Software”),
|
||||||
|
to deal in the Software without restriction, including without limitation
|
||||||
|
the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||||
|
and/or sell copies of the Software, and to permit persons to whom the
|
||||||
|
Software is furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in
|
||||||
|
all copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
|
THE SOFTWARE.
|
41
ubuntu/README.md
Executable file
|
@ -0,0 +1,41 @@
|
||||||
|
# Ubuntu Font Family
|
||||||
|
|
||||||
|
> Ubuntu Font Family Bower-ready (also SCSS-ready, LESS-ready, and plain CSS-ready)
|
||||||
|
|
||||||
|
## How to use it
|
||||||
|
|
||||||
|
0. Install it from [Bower](http://bower.io/)
|
||||||
|
|
||||||
|
```sh
|
||||||
|
$ bower install [--save] ubuntu-fontface
|
||||||
|
```
|
||||||
|
|
||||||
|
or from [NPM](http://npmjs.com/)
|
||||||
|
|
||||||
|
```sh
|
||||||
|
$ npm install [--save] ubuntu-fontface
|
||||||
|
```
|
||||||
|
|
||||||
|
1. Import it on SCSS/LESS/CSS source code. Assuming `{BOWER_PATH}` is `bower_components/`; `{SUFFIX}` options
|
||||||
|
are `-base`, `-condensed` and `-mono`; `{EXTENSION}` options are `css`, `less`, `scss`, depending
|
||||||
|
whether you're using pure CSS, [SCSS](http://sass-lang.com/) or [LESS](http://lesscss.org/). The `{SUFFIX}` is
|
||||||
|
not available if you're importing the pure CSS file. A minified file is available for the pure CSS version.
|
||||||
|
|
||||||
|
```css
|
||||||
|
@import "{BOWER_PATH}/ubuntu-fontface/ubuntu{SUFFIX}.{EXTENSION}";
|
||||||
|
```
|
||||||
|
|
||||||
|
2. If you need any help (or have found any bug 🐞), please post it on
|
||||||
|
[/issues](//github.com/earaujoassis/ubuntu-fontface/issues). Thank you!
|
||||||
|
|
||||||
|
## Contributors
|
||||||
|
|
||||||
|
- Pavel Rykov ([@PavelRykov](https://github.com/PavelRykov))
|
||||||
|
- Jordan Last ([@lastmjs](https://github.com/lastmjs))
|
||||||
|
- Rene Schmidt ([@rene-s](https://github.com/rene-s))
|
||||||
|
|
||||||
|
## License
|
||||||
|
|
||||||
|
The Ubuntu Font Family is distributed under the [Ubuntu Font Licence](http://font.ubuntu.com/licence/).
|
||||||
|
|
||||||
|
The source code in this project is distributed under the [MIT License](http://earaujoassis.mit-license.org/) © Ewerton Assis
|
94
ubuntu/UBUNTU-FONT-LICENSE
Executable file
|
@ -0,0 +1,94 @@
|
||||||
|
Ubuntu Font License v1.0
|
||||||
|
|
||||||
|
PREAMBLE
|
||||||
|
This licence allows the licensed fonts to be used, studied, modified and
|
||||||
|
redistributed freely. The fonts, including any derivative works, can be
|
||||||
|
bundled, embedded, and redistributed provided the terms of this licence
|
||||||
|
are met. The fonts and derivatives, however, cannot be released under
|
||||||
|
any other licence. The requirement for fonts to remain under this
|
||||||
|
licence does not require any document created using the fonts or their
|
||||||
|
derivatives to be published under this licence, as long as the primary
|
||||||
|
purpose of the document is not to be a vehicle for the distribution of
|
||||||
|
the fonts.
|
||||||
|
|
||||||
|
DEFINITIONS
|
||||||
|
"Font Software" refers to the set of files released by the Copyright
|
||||||
|
Holder(s) under this licence and clearly marked as such. This may
|
||||||
|
include source files, build scripts and documentation.
|
||||||
|
|
||||||
|
"Original Version" refers to the collection of Font Software components
|
||||||
|
as received under this licence.
|
||||||
|
|
||||||
|
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||||
|
or substituting -- in part or in whole -- any of the components of the
|
||||||
|
Original Version, by changing formats or by porting the Font Software to
|
||||||
|
a new environment.
|
||||||
|
|
||||||
|
"Copyright Holder(s)" refers to all individuals and companies who have a
|
||||||
|
copyright ownership of the Font Software.
|
||||||
|
|
||||||
|
"Substantially Changed" refers to Modified Versions which can be easily
|
||||||
|
identified as dissimilar to the Font Software by users of the Font
|
||||||
|
Software comparing the Original Version with the Modified Version.
|
||||||
|
|
||||||
|
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 and with or without charging
|
||||||
|
a redistribution fee), making available to the public, and in some
|
||||||
|
countries other activities as well.
|
||||||
|
|
||||||
|
PERMISSION & CONDITIONS
|
||||||
|
This licence does not grant any rights under trademark law and all such
|
||||||
|
rights are reserved.
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a
|
||||||
|
copy of the Font Software, to propagate the Font Software, subject to
|
||||||
|
the below conditions:
|
||||||
|
|
||||||
|
1) Each copy of the Font Software must contain the above copyright
|
||||||
|
notice and this licence. These can be included either as stand-alone
|
||||||
|
text files, human-readable headers or in the appropriate machine-
|
||||||
|
readable metadata fields within text or binary files as long as those
|
||||||
|
fields can be easily viewed by the user.
|
||||||
|
|
||||||
|
2) The font name complies with the following:
|
||||||
|
(a) The Original Version must retain its name, unmodified.
|
||||||
|
(b) Modified Versions which are Substantially Changed must be renamed to
|
||||||
|
avoid use of the name of the Original Version or similar names entirely.
|
||||||
|
(c) Modified Versions which are not Substantially Changed must be
|
||||||
|
renamed to both (i) retain the name of the Original Version and (ii) add
|
||||||
|
additional naming elements to distinguish the Modified Version from the
|
||||||
|
Original Version. The name of such Modified Versions must be the name of
|
||||||
|
the Original Version, with "derivative X" where X represents the name of
|
||||||
|
the new work, appended to that name.
|
||||||
|
|
||||||
|
3) The name(s) of the Copyright Holder(s) and any contributor to the
|
||||||
|
Font Software shall not be used to promote, endorse or advertise any
|
||||||
|
Modified Version, except (i) as required by this licence, (ii) to
|
||||||
|
acknowledge the contribution(s) of the Copyright Holder(s) or (iii) with
|
||||||
|
their explicit written permission.
|
||||||
|
|
||||||
|
4) The Font Software, modified or unmodified, in part or in whole, must
|
||||||
|
be distributed entirely under this licence, and must not be distributed
|
||||||
|
under any other licence. The requirement for fonts to remain under this
|
||||||
|
licence does not affect any document created using the Font Software,
|
||||||
|
except any version of the Font Software extracted from a document
|
||||||
|
created using the Font Software may only be distributed under this
|
||||||
|
licence.
|
||||||
|
|
||||||
|
TERMINATION
|
||||||
|
This licence becomes null and void if any of the above conditions are
|
||||||
|
not met.
|
||||||
|
|
||||||
|
DISCLAIMER
|
||||||
|
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||||
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
|
||||||
|
COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||||
|
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||||
|
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||||
|
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||||
|
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER
|
||||||
|
DEALINGS IN THE FONT SOFTWARE.
|
116
ubuntu/_ubuntu-base.scss
Executable file
|
@ -0,0 +1,116 @@
|
||||||
|
/* Ubuntu Font Family Bower-ready v0.1.13 */
|
||||||
|
/* Ubuntu @font-face kit */
|
||||||
|
|
||||||
|
$UbuntuFontsPath: "./fonts" !default;
|
||||||
|
|
||||||
|
/* BEGIN Ubuntu Light */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Ubuntu';
|
||||||
|
src: url('#{$UbuntuFontsPath}/ubuntu-light-webfont.eot');
|
||||||
|
src: url('#{$UbuntuFontsPath}/ubuntu-light-webfont.eot?#iefix') format('embedded-opentype'),
|
||||||
|
url('#{$UbuntuFontsPath}/ubuntu-light-webfont.woff2') format('woff2'),
|
||||||
|
url('#{$UbuntuFontsPath}/ubuntu-light-webfont.woff') format('woff'),
|
||||||
|
url('#{$UbuntuFontsPath}/ubuntu-light-webfont.ttf') format('truetype'),
|
||||||
|
url('#{$UbuntuFontsPath}/ubuntu-light-webfont.svg#ubuntulight') format('svg');
|
||||||
|
font-weight: 300;
|
||||||
|
font-style: normal;
|
||||||
|
}
|
||||||
|
/* END Ubuntu Light */
|
||||||
|
|
||||||
|
/* BEGIN Ubuntu Light Italic */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Ubuntu';
|
||||||
|
src: url('#{$UbuntuFontsPath}/ubuntu-light-italic-webfont.eot');
|
||||||
|
src: url('#{$UbuntuFontsPath}/ubuntu-light-italic-webfont.eot?#iefix') format('embedded-opentype'),
|
||||||
|
url('#{$UbuntuFontsPath}/ubuntu-light-italic-webfont.woff2') format('woff2'),
|
||||||
|
url('#{$UbuntuFontsPath}/ubuntu-light-italic-webfont.woff') format('woff'),
|
||||||
|
url('#{$UbuntuFontsPath}/ubuntu-light-italic-webfont.ttf') format('truetype'),
|
||||||
|
url('#{$UbuntuFontsPath}/ubuntu-light-italic-webfont.svg#ubuntulight_italic') format('svg');
|
||||||
|
font-weight: 300;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
/* END Ubuntu Light Italic */
|
||||||
|
|
||||||
|
/* BEGIN Ubuntu Regular */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Ubuntu';
|
||||||
|
src: url('#{$UbuntuFontsPath}/ubuntu-regular-webfont.eot');
|
||||||
|
src: url('#{$UbuntuFontsPath}/ubuntu-regular-webfont.eot?#iefix') format('embedded-opentype'),
|
||||||
|
url('#{$UbuntuFontsPath}/ubuntu-regular-webfont.woff2') format('woff2'),
|
||||||
|
url('#{$UbuntuFontsPath}/ubuntu-regular-webfont.woff') format('woff'),
|
||||||
|
url('#{$UbuntuFontsPath}/ubuntu-regular-webfont.ttf') format('truetype'),
|
||||||
|
url('#{$UbuntuFontsPath}/ubuntu-regular-webfont.svg#ubunturegular') format('svg');
|
||||||
|
font-weight: normal;
|
||||||
|
font-style: normal;
|
||||||
|
}
|
||||||
|
/* END Ubuntu Regular */
|
||||||
|
|
||||||
|
/* BEGIN Ubuntu Regular Italic */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Ubuntu';
|
||||||
|
src: url('#{$UbuntuFontsPath}/ubuntu-regular-italic-webfont.eot');
|
||||||
|
src: url('#{$UbuntuFontsPath}/ubuntu-regular-italic-webfont.eot?#iefix') format('embedded-opentype'),
|
||||||
|
url('#{$UbuntuFontsPath}/ubuntu-regular-italic-webfont.woff2') format('woff2'),
|
||||||
|
url('#{$UbuntuFontsPath}/ubuntu-regular-italic-webfont.woff') format('woff'),
|
||||||
|
url('#{$UbuntuFontsPath}/ubuntu-regular-italic-webfont.ttf') format('truetype'),
|
||||||
|
url('#{$UbuntuFontsPath}/ubuntu-regular-italic-webfont.svg#ubuntuitalic') format('svg');
|
||||||
|
font-weight: normal;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
/* END Ubuntu Regular Italic */
|
||||||
|
|
||||||
|
/* BEGIN Ubuntu Medium */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Ubuntu';
|
||||||
|
src: url('#{$UbuntuFontsPath}/ubuntu-medium-webfont.eot');
|
||||||
|
src: url('#{$UbuntuFontsPath}/ubuntu-medium-webfont.eot?#iefix') format('embedded-opentype'),
|
||||||
|
url('#{$UbuntuFontsPath}/ubuntu-medium-webfont.woff2') format('woff2'),
|
||||||
|
url('#{$UbuntuFontsPath}/ubuntu-medium-webfont.woff') format('woff'),
|
||||||
|
url('#{$UbuntuFontsPath}/ubuntu-medium-webfont.ttf') format('truetype'),
|
||||||
|
url('#{$UbuntuFontsPath}/ubuntu-medium-webfont.svg#ubuntumedium') format('svg');
|
||||||
|
font-weight: 500;
|
||||||
|
font-style: normal;
|
||||||
|
}
|
||||||
|
/* END Ubuntu Medium */
|
||||||
|
|
||||||
|
/* BEGIN Ubuntu Medium Italic */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Ubuntu';
|
||||||
|
src: url('#{$UbuntuFontsPath}/ubuntu-medium-italic-webfont.eot');
|
||||||
|
src: url('#{$UbuntuFontsPath}/ubuntu-medium-italic-webfont.eot?#iefix') format('embedded-opentype'),
|
||||||
|
url('#{$UbuntuFontsPath}/ubuntu-medium-italic-webfont.woff2') format('woff2'),
|
||||||
|
url('#{$UbuntuFontsPath}/ubuntu-medium-italic-webfont.woff') format('woff'),
|
||||||
|
url('#{$UbuntuFontsPath}/ubuntu-medium-italic-webfont.ttf') format('truetype'),
|
||||||
|
url('#{$UbuntuFontsPath}/ubuntu-medium-italic-webfont.svg#ubuntumedium_italic') format('svg');
|
||||||
|
font-weight: 500;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
/* END Ubuntu Medium Italic */
|
||||||
|
|
||||||
|
/* BEGIN Ubuntu Bold */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Ubuntu';
|
||||||
|
src: url('#{$UbuntuFontsPath}/ubuntu-bold-webfont.eot');
|
||||||
|
src: url('#{$UbuntuFontsPath}/ubuntu-bold-webfont.eot?#iefix') format('embedded-opentype'),
|
||||||
|
url('#{$UbuntuFontsPath}/ubuntu-bold-webfont.woff2') format('woff2'),
|
||||||
|
url('#{$UbuntuFontsPath}/ubuntu-bold-webfont.woff') format('woff'),
|
||||||
|
url('#{$UbuntuFontsPath}/ubuntu-bold-webfont.ttf') format('truetype'),
|
||||||
|
url('#{$UbuntuFontsPath}/ubuntu-bold-webfont.svg#ubuntubold') format('svg');
|
||||||
|
font-weight: bold;
|
||||||
|
font-style: normal;
|
||||||
|
}
|
||||||
|
/* END Ubuntu Bold */
|
||||||
|
|
||||||
|
/* BEGIN Ubuntu Bold Italic */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Ubuntu';
|
||||||
|
src: url('#{$UbuntuFontsPath}/ubuntu-bold-italic-webfont.eot');
|
||||||
|
src: url('#{$UbuntuFontsPath}/ubuntu-bold-italic-webfont.eot?#iefix') format('embedded-opentype'),
|
||||||
|
url('#{$UbuntuFontsPath}/ubuntu-bold-italic-webfont.woff2') format('woff2'),
|
||||||
|
url('#{$UbuntuFontsPath}/ubuntu-bold-italic-webfont.woff') format('woff'),
|
||||||
|
url('#{$UbuntuFontsPath}/ubuntu-bold-italic-webfont.ttf') format('truetype'),
|
||||||
|
url('#{$UbuntuFontsPath}/ubuntu-bold-italic-webfont.svg#ubuntubold_italic') format('svg');
|
||||||
|
font-weight: bold;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
/* END Ubuntu Bold Italic */
|
18
ubuntu/_ubuntu-condensed.scss
Executable file
|
@ -0,0 +1,18 @@
|
||||||
|
/* Ubuntu Font Family Bower-ready v0.1.13 */
|
||||||
|
/* Ubuntu Condensed @font-face kit */
|
||||||
|
|
||||||
|
$UbuntuFontsPath: "./fonts" !default;
|
||||||
|
|
||||||
|
/* BEGIN Ubuntu Condensed */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Ubuntu Condensed';
|
||||||
|
src: url('#{$UbuntuFontsPath}/ubuntu-condensed-webfont.eot');
|
||||||
|
src: url('#{$UbuntuFontsPath}/ubuntu-condensed-webfont.eot?#iefix') format('embedded-opentype'),
|
||||||
|
url('#{$UbuntuFontsPath}/ubuntu-condensed-webfont.woff2') format('woff2'),
|
||||||
|
url('#{$UbuntuFontsPath}/ubuntu-condensed-webfont.woff') format('woff'),
|
||||||
|
url('#{$UbuntuFontsPath}/ubuntu-condensed-webfont.ttf') format('truetype'),
|
||||||
|
url('#{$UbuntuFontsPath}/ubuntu-condensed-webfont.svg#ubuntu_condensedregular') format('svg');
|
||||||
|
font-weight: normal;
|
||||||
|
font-style: normal;
|
||||||
|
}
|
||||||
|
/* END Ubuntu Condensed */
|
62
ubuntu/_ubuntu-mono.scss
Executable file
|
@ -0,0 +1,62 @@
|
||||||
|
/* Ubuntu Font Family Bower-ready v0.1.13 */
|
||||||
|
/* Ubuntu Mono @font-face kit */
|
||||||
|
|
||||||
|
$UbuntuFontsPath: "./fonts" !default;
|
||||||
|
|
||||||
|
/* BEGIN Ubuntu Mono Regular */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Ubuntu Monospace';
|
||||||
|
src: url('#{$UbuntuFontsPath}/ubuntumono-regular-webfont.eot');
|
||||||
|
src: url('#{$UbuntuFontsPath}/ubuntumono-regular-webfont.eot?#iefix') format('embedded-opentype'),
|
||||||
|
url('#{$UbuntuFontsPath}/ubuntumono-regular-webfont.woff2') format('woff2'),
|
||||||
|
url('#{$UbuntuFontsPath}/ubuntumono-regular-webfont.woff') format('woff'),
|
||||||
|
url('#{$UbuntuFontsPath}/ubuntumono-regular-webfont.ttf') format('truetype'),
|
||||||
|
url('#{$UbuntuFontsPath}/ubuntumono-regular-webfont.svg#ubuntu_monoregular') format('svg');
|
||||||
|
font-weight: normal;
|
||||||
|
font-style: normal;
|
||||||
|
|
||||||
|
}
|
||||||
|
/* END Ubuntu Mono Regular */
|
||||||
|
|
||||||
|
/* BEGIN Ubuntu Mono Italic */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Ubuntu Monospace';
|
||||||
|
src: url('#{$UbuntuFontsPath}/ubuntumono-regular-italic-webfont.eot');
|
||||||
|
src: url('#{$UbuntuFontsPath}/ubuntumono-regular-italic-webfont.eot?#iefix') format('embedded-opentype'),
|
||||||
|
url('#{$UbuntuFontsPath}/ubuntumono-regular-italic-webfont.woff2') format('woff2'),
|
||||||
|
url('#{$UbuntuFontsPath}/ubuntumono-regular-italic-webfont.woff') format('woff'),
|
||||||
|
url('#{$UbuntuFontsPath}/ubuntumono-regular-italic-webfont.ttf') format('truetype'),
|
||||||
|
url('#{$UbuntuFontsPath}/ubuntumono-regular-italic-webfont.svg#ubuntu_monoitalic') format('svg');
|
||||||
|
font-weight: normal;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
/* END Ubuntu Mono Italic */
|
||||||
|
|
||||||
|
/* BEGIN Ubuntu Mono Bold */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Ubuntu Monospace';
|
||||||
|
src: url('#{$UbuntuFontsPath}/ubuntumono-bold-webfont.eot');
|
||||||
|
src: url('#{$UbuntuFontsPath}/ubuntumono-bold-webfont.eot?#iefix') format('embedded-opentype'),
|
||||||
|
url('#{$UbuntuFontsPath}/ubuntumono-bold-webfont.woff2') format('woff2'),
|
||||||
|
url('#{$UbuntuFontsPath}/ubuntumono-bold-webfont.woff') format('woff'),
|
||||||
|
url('#{$UbuntuFontsPath}/ubuntumono-bold-webfont.ttf') format('truetype'),
|
||||||
|
url('#{$UbuntuFontsPath}/ubuntumono-bold-webfont.svg#ubuntu_monobold') format('svg');
|
||||||
|
font-weight: bold;
|
||||||
|
font-style: normal;
|
||||||
|
}
|
||||||
|
/* END Ubuntu Mono Bold */
|
||||||
|
|
||||||
|
/* BEGIN Ubuntu Mono Bold Italic */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Ubuntu Monospace';
|
||||||
|
src: url('#{$UbuntuFontsPath}/ubuntumono-bold-italic-webfont.eot');
|
||||||
|
src: url('#{$UbuntuFontsPath}/ubuntumono-bold-italic-webfont.eot?#iefix') format('embedded-opentype'),
|
||||||
|
url('#{$UbuntuFontsPath}/ubuntumono-bold-italic-webfont.woff2') format('woff2'),
|
||||||
|
url('#{$UbuntuFontsPath}/ubuntumono-bold-italic-webfont.woff') format('woff'),
|
||||||
|
url('#{$UbuntuFontsPath}/ubuntumono-bold-italic-webfont.ttf') format('truetype'),
|
||||||
|
url('#{$UbuntuFontsPath}/ubuntumono-bold-italic-webfont.svg#ubuntu_monobold_italic') format('svg');
|
||||||
|
font-weight: bold;
|
||||||
|
font-style: italic;
|
||||||
|
|
||||||
|
}
|
||||||
|
/* END Ubuntu Mono Bold Italic */
|
8
ubuntu/_ubuntu.scss
Executable file
|
@ -0,0 +1,8 @@
|
||||||
|
/* Ubuntu Font Family Bower-ready v0.1.13 */
|
||||||
|
/* Ubuntu (complete package) @font-face kit */
|
||||||
|
|
||||||
|
$UbuntuFontsPath: "./fonts" !default;
|
||||||
|
|
||||||
|
@import "./ubuntu-base.scss";
|
||||||
|
@import "./ubuntu-condensed.scss";
|
||||||
|
@import "./ubuntu-mono.scss";
|
38
ubuntu/bower.json
Executable file
|
@ -0,0 +1,38 @@
|
||||||
|
{
|
||||||
|
"name": "ubuntu-fontface",
|
||||||
|
"version": "0.1.13",
|
||||||
|
"main": [
|
||||||
|
"./ubuntu.css",
|
||||||
|
"./ubuntu.min.css",
|
||||||
|
"./_ubuntu.scss",
|
||||||
|
"./ubuntu.less"
|
||||||
|
],
|
||||||
|
"homepage": "https://github.com/earaujoassis/ubuntu-fontface",
|
||||||
|
"authors": [
|
||||||
|
"Ewerton Assis <earaujoassis@gmail.com>"
|
||||||
|
],
|
||||||
|
"description": "Ubuntu Font Family Bower-ready (also SASS-ready, LESS-ready, and plain CSS-ready)",
|
||||||
|
"keywords": [
|
||||||
|
"ubuntu",
|
||||||
|
"font",
|
||||||
|
"fontface",
|
||||||
|
"css",
|
||||||
|
"sass",
|
||||||
|
"less",
|
||||||
|
"web",
|
||||||
|
"design"
|
||||||
|
],
|
||||||
|
"license": [
|
||||||
|
"MIT",
|
||||||
|
"Ubuntu Font License"
|
||||||
|
],
|
||||||
|
"ignore": [
|
||||||
|
"**/.*",
|
||||||
|
"fonts/original-pack",
|
||||||
|
"node_modules",
|
||||||
|
"bower_components",
|
||||||
|
"test",
|
||||||
|
"tests",
|
||||||
|
"site"
|
||||||
|
]
|
||||||
|
}
|
25
ubuntu/composer.json
Executable file
|
@ -0,0 +1,25 @@
|
||||||
|
{
|
||||||
|
"name": "earaujoassis/ubuntu-fontface",
|
||||||
|
"type": "css",
|
||||||
|
"description": "Ubuntu Font Family",
|
||||||
|
"homepage": "https://earaujoassis.github.io/ubuntu-fontface/",
|
||||||
|
"keywords": ["css", "sass", "less", "fonts", "font", "ubuntu", "fontface"],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "Ewerton Assis",
|
||||||
|
"email": "earaujoassis@gmail.com",
|
||||||
|
"homepage": "https://earaujoassis.com/",
|
||||||
|
"role": "Maintainer"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Pavel Rykov",
|
||||||
|
"email": "p.rikov@drteam.rocks",
|
||||||
|
"homepage": "http://drteam.rocks/",
|
||||||
|
"role": "Contributor"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"require": {},
|
||||||
|
"autoload": {},
|
||||||
|
"minimum-stability": "dev",
|
||||||
|
"license": "MIT"
|
||||||
|
}
|
21
ubuntu/fonts/original-pack/CONTRIBUTING.txt
Executable file
|
@ -0,0 +1,21 @@
|
||||||
|
The Ubuntu Font Family is very long-term endeavour, and the first time
|
||||||
|
that a professionally-designed font has been funded specifically with
|
||||||
|
the intent of being an on-going community expanded project:
|
||||||
|
|
||||||
|
http://font.ubuntu.com/
|
||||||
|
|
||||||
|
Development of the Ubuntu Font Family is undertaken on Launchpad:
|
||||||
|
|
||||||
|
http://launchpad.net/ubuntu-font-family/
|
||||||
|
|
||||||
|
and this is where milestones, bug management and releases are handled.
|
||||||
|
|
||||||
|
Contributions are welcomed. Your work will be used on millions of
|
||||||
|
computers every single day! Following the initial bootstrapping of
|
||||||
|
Latin, Cyrillic, Greek, Arabic and Hebrew expansion will be undertaken
|
||||||
|
by font designers from the font design and Ubuntu communities.
|
||||||
|
|
||||||
|
To ensure that the Ubuntu Font Family can be re-licensed to future
|
||||||
|
widely-used libre font licences, copyright assignment is being required:
|
||||||
|
|
||||||
|
https://launchpad.net/~uff-contributors
|
292
ubuntu/fonts/original-pack/FONTLOG.txt
Executable file
|
@ -0,0 +1,292 @@
|
||||||
|
This is the FONTLOG file for the Ubuntu Font Family and attempts to follow
|
||||||
|
the recommendations at: http://scripts.sil.org/OFL-FAQ_web#43cecb44
|
||||||
|
|
||||||
|
|
||||||
|
Overview
|
||||||
|
|
||||||
|
The new Ubuntu Font Family was started to enable the personality of
|
||||||
|
Ubuntu to be seen and felt in every menu, button and dialog.
|
||||||
|
The typeface is sans-serif, uses OpenType features and is manually
|
||||||
|
hinted for clarity on desktop and mobile computing screens.
|
||||||
|
|
||||||
|
The scope of the Ubuntu Font Family includes all the languages used by
|
||||||
|
the various Ubuntu users around the world in tune with Ubuntu's
|
||||||
|
philosophy which states that every user should be able to use their
|
||||||
|
software in the language of their choice. So the Ubuntu Font Family
|
||||||
|
project will be extended to cover many more written languages.
|
||||||
|
|
||||||
|
|
||||||
|
History
|
||||||
|
|
||||||
|
The Ubuntu Font Family has been creating during 2010 and 2011. As of
|
||||||
|
September 2011 coverage is provided for Latin, Cyrillic and Greek across
|
||||||
|
Regular, Italic, Bold and Bold-Italic. Further work was uptaken during
|
||||||
|
2015.
|
||||||
|
|
||||||
|
|
||||||
|
ChangeLog
|
||||||
|
|
||||||
|
2015-08-21 (Paul Sladen) Ubuntu Font Family version 0.83
|
||||||
|
|
||||||
|
Note: This release was created by binary patching from the v0.80
|
||||||
|
release using the scripts in 'sources/patch-0.80-0.83/' to rebuild
|
||||||
|
the necessary tables. The release selectively updates only those
|
||||||
|
proportional .ttf font files exhibiting the bug below bug number;
|
||||||
|
the Ubuntu Mono monospace font files remain unchanged, being the
|
||||||
|
original version 0.80 ones.
|
||||||
|
|
||||||
|
[Marc Foley]
|
||||||
|
* [Engineering] Fixed wrong characters appear in some mac apps. (LP: #1334363)
|
||||||
|
|
||||||
|
|
||||||
|
2011-09-22 (Paul Sladen) Ubuntu Font Family version 0.80
|
||||||
|
|
||||||
|
[Vincent Connare/Dalton Maag]
|
||||||
|
* Wish for addition of a monospaced member to the family (LP: #640382)
|
||||||
|
* Mono: No hinting yet - Ubuntu Beta Mono font looks jagged in
|
||||||
|
Netbeans and terrible with ClearType (LP: #820493)
|
||||||
|
* Emacs: choosing normal monospace font in Emacs but gives bold-italic
|
||||||
|
(LP: #791076)
|
||||||
|
* PUA: ensure that Ubuntu Circle of Friends logo is full size: (LP: #853855)
|
||||||
|
+ U+E0FF becomes large size in proportionals, remains small width in
|
||||||
|
monospaces
|
||||||
|
+ U+F0FF becomes small size (proportionals only)
|
||||||
|
+ U+F200 is full ubuntu logomark (proportionals only)
|
||||||
|
|
||||||
|
[Paul Sladen]
|
||||||
|
* Monospace: Patch Family Name to be "Ubuntu Mono"
|
||||||
|
* Monospace: Patch U+EFFD version debugging glyph to be '0.8'
|
||||||
|
|
||||||
|
[Cody Boisclair]
|
||||||
|
* Monospace: Force .null HDMX advance to 500
|
||||||
|
* Monospace: Remap ASCII box-drawing characters (LP: #788757)
|
||||||
|
|
||||||
|
[Júlio Reis]
|
||||||
|
* Date corrections to 'FONTLOG' (LP: #836595)
|
||||||
|
|
||||||
|
2011-03-08 (Paul Sladen) Ubuntu Font Family version 0.71.2
|
||||||
|
|
||||||
|
* (Production) Adjust Medium WeightClass to 500 (Md, MdIt) (LP: #730912)
|
||||||
|
|
||||||
|
2011-03-07 (Paul Sladen) Ubuntu Font Family version 0.71.1
|
||||||
|
|
||||||
|
* (Design) Add Capitalised version of glyphs and kern. (Lt, LtIt,
|
||||||
|
Md, MdIt) DM (LP: #677446)
|
||||||
|
* (Design) Re-space and tighen Regular and Italic by amount specified
|
||||||
|
by Mark Shuttleworth (minus 4 FUnits). (Rg, It) (LP: #677149)
|
||||||
|
* (Design) Design: Latin (U+0192) made straight more like l/c f with
|
||||||
|
tail (LP: #670768)
|
||||||
|
* (Design) (U+01B3) should have hook on right, as the lowercase
|
||||||
|
(U+01B4) (LP: #681026)
|
||||||
|
* (Design) Tail of Light Italic germandbls, longs and lowercase 'f'
|
||||||
|
to match Italic/BoldItalic (LP: #623925)
|
||||||
|
* (Production) Update <case> feature (Lt, LtIt, Md, MdIt). DM
|
||||||
|
(LP: #676538, #676539)
|
||||||
|
* (Production) Remove Bulgarian locl feature for Italics. (LP: #708578)
|
||||||
|
* (Production) Update Description information with new string:
|
||||||
|
"The Ubuntu Font Family are libre fonts funded by Canonical Ltd
|
||||||
|
on behalf of the Ubuntu project. The font design work and
|
||||||
|
technical implementation is being undertaken by Dalton Maag. The
|
||||||
|
typeface is sans-serif, uses OpenType features and is manually
|
||||||
|
hinted for clarity on desktop and mobile computing screens. The
|
||||||
|
scope of the Ubuntu Font Family includes all the languages used
|
||||||
|
by the various Ubuntu users around the world in tune with
|
||||||
|
Ubuntu's philosophy which states that every user should be able
|
||||||
|
to use their software in the language of their choice. The
|
||||||
|
project is ongoing, and we expect the family will be extended to
|
||||||
|
cover many written languages in the coming years."
|
||||||
|
(Rg, It, Bd, BdIt, Lt, LtIt, Md, MdIt) (LP: #690590)
|
||||||
|
* (Production) Pixel per em indicator added at U+F000 (Lt, LtIt, Md,
|
||||||
|
MdIt) (LP: #615787)
|
||||||
|
* (Production) Version number indicator added at U+EFFD (Lt, LtIt, Md,
|
||||||
|
MdIt) (LP: #640623)
|
||||||
|
* (Production) fstype bit set to 0 - Editable (Lt, LtIt, Md, MdIt)
|
||||||
|
(LP: #648406)
|
||||||
|
* (Production) Localisation of name table has been removed because
|
||||||
|
of problems with Mac OS/X interpretation of localisation. DM
|
||||||
|
(LP: #730785)
|
||||||
|
* (Hinting) Regular '?' dot non-circular (has incorrect control
|
||||||
|
value). (LP: #654336)
|
||||||
|
* (Hinting) Too much space after latin capital 'G' in 13pt
|
||||||
|
regular. Now reduced. (LP: #683437)
|
||||||
|
* (Hinting) Balance Indian Rupee at 18,19pt (LP: #662177)
|
||||||
|
* (Hinting) Make Regular '£' less ambiguous at 13-15 ppm (LP: #685562)
|
||||||
|
* (Hinting) Regular capital 'W' made symmetrical at 31 ppem (LP: #686168)
|
||||||
|
|
||||||
|
2010-12-14 (Paul Sladen) Ubuntu Font Family version 0.70.1
|
||||||
|
|
||||||
|
Packaging, rebuilt from '2010-12-08 UbuntuFontsSourceFiles_070.zip':
|
||||||
|
* (Midstream) Fstype bit != 0 (LP: #648406)
|
||||||
|
* (Midstream) Add unit test to validate fstype bits (LP: #648406)
|
||||||
|
* (Midstream) Add unit test to validate licence
|
||||||
|
|
||||||
|
2010-12-14 (Paul Sladen) Ubuntu Font Family version 0.70
|
||||||
|
|
||||||
|
Release notes 0.70:
|
||||||
|
* (Design) Add Capitalised version of glyphs and kern. (Rg, It, Bd,
|
||||||
|
BdIt) DM (LP: #676538, #677446)
|
||||||
|
* (Design) Give acute and grave a slight upright move to more match
|
||||||
|
the Hungarian double acute angle. (Rg, It, Bd, BdIt) (LP: #656647)
|
||||||
|
* (Design) Shift Bold Italic accent glyphs to be consistent with the
|
||||||
|
Italic. (BdIt only) DM (LP: #677449)
|
||||||
|
* (Design) Check spacing and kerning of dcaron, lcaron and
|
||||||
|
tcaron. (Rg, It, Bd, BdIt) (LP: #664722)
|
||||||
|
* (Design) Add positive kerning to () {} [] to open out the
|
||||||
|
combinations so they are less like a closed box. (Rg, It, Bd,
|
||||||
|
BdIt) (LP: #671228)
|
||||||
|
* (Design) Change design of acute.asc and check highest points (Bd
|
||||||
|
and BdIt only) DM
|
||||||
|
* (Production) Update <case> feature. DM (LP: #676538, #676539)
|
||||||
|
* (Production) Remove Romanian locl feature. (Rg, It, Bd, BdIt)
|
||||||
|
(LP: #635615)
|
||||||
|
* (Production) Update Copyright information with new
|
||||||
|
strings. "Copyright 2010 Canonical Ltd. Licensed under the Ubuntu
|
||||||
|
Font Licence 1.0" Trademark string "Ubuntu and Canonical are
|
||||||
|
registered trademarks of Canonical Ltd." (Rg, It, Bd, BdIt) DM
|
||||||
|
(LP: #677450)
|
||||||
|
* (Design) Check aligning of hyphen, math signs em, en, check braces
|
||||||
|
and other brackets. 16/11 (LP: #676465)
|
||||||
|
* (Production) Pixel per em indicator added at U+F000 (Rg, It, Bd,
|
||||||
|
BdIt) (LP: #615787)
|
||||||
|
* (Production) Version number indicator added at U+EFFD (Rg, It, Bd,
|
||||||
|
BdIt) (LP: #640623)
|
||||||
|
* (Production) fstype bit set to 0 - Editable (Rg, It, Bd, BdIt)
|
||||||
|
(LP: #648406)
|
||||||
|
|
||||||
|
2010-10-05 (Paul Sladen) Ubuntu Font Family version 0.69
|
||||||
|
|
||||||
|
[Dalton Maag]
|
||||||
|
* Italic,
|
||||||
|
- Hinting on lowercase Italic l amended 19ppm (LP: #632451)
|
||||||
|
- Hinting on lowercase Italic u amended 12ppm (LP: #626376)
|
||||||
|
|
||||||
|
* Regular, Italic, Bold, BoldItalic
|
||||||
|
- New Rupee Sign added @ U+20B9 (LP: #645987)
|
||||||
|
- Ubuntu Roundel added @ U+E0FF (LP: #651606)
|
||||||
|
|
||||||
|
[Paul Sladen]
|
||||||
|
* All
|
||||||
|
- Removed "!ubu" GSUB.calt ligature for U+E0FF (LP: #651606)
|
||||||
|
|
||||||
|
|
||||||
|
Acknowledgements
|
||||||
|
|
||||||
|
If you make modifications be sure to add your name (N), email (E),
|
||||||
|
web-address (if you have one) (W) and description (D). This list is in
|
||||||
|
alphabetical order.
|
||||||
|
|
||||||
|
N: Ryan Abdullah
|
||||||
|
W: http://www.rayan.de/
|
||||||
|
D: Arabic calligraphy and design in collaboration with Dalton Maag
|
||||||
|
D: Arabic testing
|
||||||
|
|
||||||
|
N: Cody Boisclair
|
||||||
|
D: Monospace low-level debugging and patching ('fixboxdrawing-ft.py')
|
||||||
|
|
||||||
|
N: Amélie Bonet
|
||||||
|
W: http://ameliebonet.com/
|
||||||
|
D: Type design with Dalton Maag, particularly Ubuntu Mono and Ubuntu Condensed
|
||||||
|
|
||||||
|
N: Jason Campbell
|
||||||
|
W: http://www.campbellgraphics.com/design/fonts.shtml
|
||||||
|
D: Monospace hinting (first phase) at Dalton Maag
|
||||||
|
|
||||||
|
N: Pilar Cano
|
||||||
|
W: http://www.pilarcano.com/
|
||||||
|
D: Hebrew realisation with Dalton Maag
|
||||||
|
|
||||||
|
N: Fernando Caro
|
||||||
|
D: Type design with Dalton Maag, particularly Ubuntu Condensed
|
||||||
|
|
||||||
|
N: Ron Carpenter
|
||||||
|
W: http://www.daltonmaag.com/
|
||||||
|
D: Type design with Dalton Maag
|
||||||
|
D: Arabic realisation in collaboration with Ryan Abdullah
|
||||||
|
|
||||||
|
N: Vincent Connare
|
||||||
|
W: http://www.connare.com/
|
||||||
|
D: Type design, and engineering with Dalton Maag
|
||||||
|
D: Monospace hinting (second phase) at Dalton Maag
|
||||||
|
|
||||||
|
N: Dave Crossland
|
||||||
|
E: dave@understandingfonts.com
|
||||||
|
W: http://understandingfonts.com/
|
||||||
|
D: Documentation and libre licensing guidance
|
||||||
|
D: Google Webfont integration at Google
|
||||||
|
|
||||||
|
N: Steve Edwards
|
||||||
|
W: http://www.madebymake.com/
|
||||||
|
D: font.ubuntu.com revamp implementation with Canonical Web Team
|
||||||
|
|
||||||
|
N: Iain Farrell
|
||||||
|
W: http://www.flickr.com/photos/iain
|
||||||
|
D: Ubuntu Font Family delivery for the Ubuntu UX team at Canonical
|
||||||
|
|
||||||
|
N: Marc Foley
|
||||||
|
W: http://www.marcfoley.co/
|
||||||
|
D: Font Engineer at Dalton Maag for the 2015 updates
|
||||||
|
|
||||||
|
N: Shiraaz Gabru
|
||||||
|
W: http://www.daltonmaag.com/
|
||||||
|
D: Ubuntu Font Family project management at Dalton Maag
|
||||||
|
|
||||||
|
N: Marcus Haslam
|
||||||
|
W: http://design.canonical.com/author/marcus-haslam/
|
||||||
|
D: Creative inspiration
|
||||||
|
|
||||||
|
N: Ben Laenen
|
||||||
|
D: Inspiration behind the pixels-per-em (PPEM) readout debugging glyph at U+F000
|
||||||
|
(for this font the concept was re-implemented from scratch by Dalton-Maag)
|
||||||
|
|
||||||
|
N: Bruno Maag
|
||||||
|
W: http://www.daltonmaag.com/
|
||||||
|
D: Stylistic direction of the Ubuntu Font Family, as head of Dalton Maag
|
||||||
|
|
||||||
|
N: Ivanka Majic
|
||||||
|
W: http://www.ivankamajic.com/
|
||||||
|
D: Guiding the UX team and Cyrillic feedback
|
||||||
|
|
||||||
|
N: David Marshall
|
||||||
|
W: http://www.daltonmaag.com/
|
||||||
|
D: Technical guidance and administration at Dalton Maag
|
||||||
|
|
||||||
|
N: Malcolm Wooden
|
||||||
|
W: http://www.daltonmaag.com/
|
||||||
|
D: Font Engineering at Dalton Maag
|
||||||
|
|
||||||
|
N: Lukas Paltram
|
||||||
|
W: http://www.daltonmaag.com/
|
||||||
|
D: Type design with Dalton Maag
|
||||||
|
|
||||||
|
N: Júlio Reis
|
||||||
|
D: Date fixes to the documentation
|
||||||
|
|
||||||
|
N: Rodrigo Rivas
|
||||||
|
D: Indian Rupee Sign glyph
|
||||||
|
|
||||||
|
N: Mark Shuttleworth
|
||||||
|
E: mark@ubuntu.com
|
||||||
|
W: http://www.markshuttleworth.com/
|
||||||
|
D: Executive quality-control and funding
|
||||||
|
|
||||||
|
N: Paul Sladen
|
||||||
|
E: ubuntu@paul.sladen.org
|
||||||
|
W: http://www.paul.sladen.org/
|
||||||
|
D: Bug triaging, packaging at Ubuntu and Canonical
|
||||||
|
|
||||||
|
N: Nicolas Spalinger
|
||||||
|
W: http://planet.open-fonts.org
|
||||||
|
D: Continuous guidance on libre/open font licensing, best practises in source
|
||||||
|
tree layout, release and packaging (pkg-fonts Debian team)
|
||||||
|
|
||||||
|
N: Kenneth Wimer
|
||||||
|
D: Initial PPA packaging
|
||||||
|
|
||||||
|
* Canonical Ltd is the primary commercial sponsor of the Ubuntu and
|
||||||
|
Kubuntu operating systems
|
||||||
|
* Dalton Maag are a custom type foundry headed by Bruno Maag
|
||||||
|
|
||||||
|
For further documentation, information on contributors, source code
|
||||||
|
downloads and those involved with the Ubuntu Font Family, visit:
|
||||||
|
|
||||||
|
http://font.ubuntu.com/
|
177
ubuntu/fonts/original-pack/LICENCE-FAQ.txt
Executable file
|
@ -0,0 +1,177 @@
|
||||||
|
Ubuntu Font Family Licensing FAQ
|
||||||
|
|
||||||
|
Stylistic Foundations
|
||||||
|
|
||||||
|
The Ubuntu Font Family is the first time that a libre typeface has been
|
||||||
|
designed professionally and explicitly with the intent of developing a
|
||||||
|
public and long-term community-based development process.
|
||||||
|
|
||||||
|
When developing an open project, it is generally necessary to have firm
|
||||||
|
foundations: a font needs to maintain harmony within itself even across
|
||||||
|
many type designers and writing systems. For the [1]Ubuntu Font Family,
|
||||||
|
the process has been guided with the type foundry Dalton Maag setting
|
||||||
|
the project up with firm stylistic foundation covering several
|
||||||
|
left-to-right scripts: Latin, Greek and Cyrillic; and right-to-left
|
||||||
|
scripts: Arabic and Hebrew (due in 2011).
|
||||||
|
|
||||||
|
With this starting point the community will, under the supervision of
|
||||||
|
[2]Canonical and [3]Dalton Maag, be able to build on the existing font
|
||||||
|
sources to expand their character coverage. Ultimately everybody will
|
||||||
|
be able to use the Ubuntu Font Family in their own written languages
|
||||||
|
across the whole of Unicode (and this will take some time!).
|
||||||
|
|
||||||
|
Licensing
|
||||||
|
|
||||||
|
The licence chosen by any free software project is one of the
|
||||||
|
foundational decisions that sets out how derivatives and contributions
|
||||||
|
can occur, and in turn what kind of community will form around the
|
||||||
|
project.
|
||||||
|
|
||||||
|
Using a licence that is compatible with other popular licences is a
|
||||||
|
powerful constraint because of the [4]network effects: the freedom to
|
||||||
|
share improvements between projects allows free software to reach
|
||||||
|
high-quality over time. Licence-proliferation leads to many
|
||||||
|
incompatible licences, undermining the network effect, the freedom to
|
||||||
|
share and ultimately making the libre movement that Ubuntu is a part of
|
||||||
|
less effective. For all kinds of software, writing a new licence is not
|
||||||
|
to be taken lightly and is a choice that needs to be thoroughly
|
||||||
|
justified if this path is taken.
|
||||||
|
|
||||||
|
Today it is not clear to Canonical what the best licence for a font
|
||||||
|
project like the Ubuntu Font Family is: one that starts life designed
|
||||||
|
by professionals and continues with the full range of community
|
||||||
|
development, from highly commercial work in new directions to curious
|
||||||
|
beginners' experimental contributions. The fast and steady pace of the
|
||||||
|
Ubuntu release cycle means that an interim libre licence has been
|
||||||
|
necessary to enable the consideration of the font family as part of
|
||||||
|
Ubuntu 10.10 operating system release.
|
||||||
|
|
||||||
|
Before taking any decision on licensing, Canonical as sponsor and
|
||||||
|
backer of the project has reviewed the many existing licenses used for
|
||||||
|
libre/open fonts and engaged the stewards of the most popular licenses
|
||||||
|
in detailed discussions. The current interim licence is the first step
|
||||||
|
in progressing the state-of-the-art in licensing for libre/open font
|
||||||
|
development.
|
||||||
|
|
||||||
|
The public discussion must now involve everyone in the (comparatively
|
||||||
|
new) area of the libre/open font community; including font users,
|
||||||
|
software freedom advocates, open source supporters and existing libre
|
||||||
|
font developers. Most importantly, the minds and wishes of professional
|
||||||
|
type designers considering entering the free software business
|
||||||
|
community must be taken on board.
|
||||||
|
|
||||||
|
Conversations and discussion has taken place, privately, with
|
||||||
|
individuals from the following groups (generally speaking personally on
|
||||||
|
behalf of themselves, rather than their affiliations):
|
||||||
|
* [5]SIL International
|
||||||
|
* [6]Open Font Library
|
||||||
|
* [7]Software Freedom Law Center
|
||||||
|
* [8]Google Font API
|
||||||
|
|
||||||
|
Document embedding
|
||||||
|
|
||||||
|
One issue highlighted early on in the survey of existing font licences
|
||||||
|
is that of document embedding. Almost all font licences, both free and
|
||||||
|
unfree, permit embedding a font into a document to a certain degree.
|
||||||
|
Embedding a font with other works that make up a document creates a
|
||||||
|
"combined work" and copyleft would normally require the whole document
|
||||||
|
to be distributed under the terms of the font licence. As beautiful as
|
||||||
|
the font might be, such a licence makes a font too restrictive for
|
||||||
|
useful general purpose digital publishing.
|
||||||
|
|
||||||
|
The situation is not entirely unique to fonts and is encountered also
|
||||||
|
with tools such as GNU Bison: a vanilla GNU GPL licence would require
|
||||||
|
anything generated with Bison to be made available under the terms of
|
||||||
|
the GPL as well. To avoid this, Bison is [9]published with an
|
||||||
|
additional permission to the GPL which allows the output of Bison to be
|
||||||
|
made available under any licence.
|
||||||
|
|
||||||
|
The conflict between licensing of fonts and licensing of documents, is
|
||||||
|
addressed in two popular libre font licences, the SIL OFL and GNU GPL:
|
||||||
|
* [10]SIL Open Font Licence: When OFL fonts are embedded in a
|
||||||
|
document, the OFL's terms do not apply to that document. (See
|
||||||
|
[11]OFL-FAQ for details.
|
||||||
|
* [12]GPL Font Exception: The situation is resolved by granting an
|
||||||
|
additional permission to allow documents to not be covered by the
|
||||||
|
GPL. (The exception is being reviewed).
|
||||||
|
|
||||||
|
The Ubuntu Font Family must also resolve this conflict, ensuring that
|
||||||
|
if the font is embedded and then extracted it is once again clearly
|
||||||
|
under the terms of its libre licence.
|
||||||
|
|
||||||
|
Long-term licensing
|
||||||
|
|
||||||
|
Those individuals involved, especially from Ubuntu and Canonical, are
|
||||||
|
interested in finding a long-term libre licence that finds broad favour
|
||||||
|
across the whole libre/open font community. The deliberation during the
|
||||||
|
past months has been on how to licence the Ubuntu Font Family in the
|
||||||
|
short-term, while knowingly encouraging everyone to pursue a long-term
|
||||||
|
goal.
|
||||||
|
* [13]Copyright assignment will be required so that the Ubuntu Font
|
||||||
|
Family's licensing can be progressively expanded to one (or more)
|
||||||
|
licences, as best practice continues to evolve within the
|
||||||
|
libre/open font community.
|
||||||
|
* Canonical will support and fund legal work on libre font licensing.
|
||||||
|
It is recognised that the cost and time commitments required are
|
||||||
|
likely to be significant. We invite other capable parties to join
|
||||||
|
in supporting this activity.
|
||||||
|
|
||||||
|
The GPL version 3 (GPLv3) will be used for Ubuntu Font Family build
|
||||||
|
scripts and the CC-BY-SA for associated documentation and non-font
|
||||||
|
content: all items which do not end up embedded in general works and
|
||||||
|
documents.
|
||||||
|
|
||||||
|
Ubuntu Font Licence
|
||||||
|
|
||||||
|
For the short-term only, the initial licence is the [14]Ubuntu Font
|
||||||
|
License (UFL). This is loosely inspired from the work on the SIL
|
||||||
|
OFL 1.1, and seeks to clarify the issues that arose during discussions
|
||||||
|
and legal review, from the perspective of the backers, Canonical Ltd.
|
||||||
|
Those already using established licensing models such as the GPL, OFL
|
||||||
|
or Creative Commons licensing should have no worries about continuing
|
||||||
|
to use them. The Ubuntu Font Licence (UFL) and the SIL Open Font
|
||||||
|
Licence (SIL OFL) are not identical and should not be confused with
|
||||||
|
each other. Please read the terms precisely. The UFL is only intended
|
||||||
|
as an interim license, and the overriding aim is to support the
|
||||||
|
creation of a more suitable and generic libre font licence. As soon as
|
||||||
|
such a licence is developed, the Ubuntu Font Family will migrate to
|
||||||
|
it—made possible by copyright assignment in the interium. Between the
|
||||||
|
OFL 1.1, and the UFL 1.0, the following changes are made to produce the
|
||||||
|
Ubuntu Font Licence:
|
||||||
|
* Clarification:
|
||||||
|
|
||||||
|
1. Document embedding (see [15]embedding section above).
|
||||||
|
2. Apply at point of distribution, instead of receipt
|
||||||
|
3. Author vs. copyright holder disambiguation (type designers are
|
||||||
|
authors, with the copyright holder normally being the funder)
|
||||||
|
4. Define "Propagate" (for internationalisation, similar to the GPLv3)
|
||||||
|
5. Define "Substantially Changed"
|
||||||
|
6. Trademarks are explicitly not transferred
|
||||||
|
7. Refine renaming requirement
|
||||||
|
|
||||||
|
Streamlining:
|
||||||
|
8. Remove "not to be sold separately" clause
|
||||||
|
9. Remove "Reserved Font Name(s)" declaration
|
||||||
|
|
||||||
|
A visual demonstration of how these points were implemented can be
|
||||||
|
found in the accompanying coloured diff between SIL OFL 1.1 and the
|
||||||
|
Ubuntu Font Licence 1.0: [16]ofl-1.1-ufl-1.0.diff.html
|
||||||
|
|
||||||
|
References
|
||||||
|
|
||||||
|
1. http://font.ubuntu.com/
|
||||||
|
2. http://www.canonical.com/
|
||||||
|
3. http://www.daltonmaag.com/
|
||||||
|
4. http://en.wikipedia.org/wiki/Network_effect
|
||||||
|
5. http://scripts.sil.org/
|
||||||
|
6. http://openfontlibrary.org/
|
||||||
|
7. http://www.softwarefreedom.org/
|
||||||
|
8. http://code.google.com/webfonts
|
||||||
|
9. http://www.gnu.org/licenses/gpl-faq.html#CanIUseGPLToolsForNF
|
||||||
|
10. http://scripts.sil.org/OFL_web
|
||||||
|
11. http://scripts.sil.org/OFL-FAQ_web
|
||||||
|
12. http://www.gnu.org/licenses/gpl-faq.html#FontException
|
||||||
|
13. https://launchpad.net/~uff-contributors
|
||||||
|
14. http://font.ubuntu.com/ufl/ubuntu-font-licence-1.0.txt
|
||||||
|
15. http://font.ubuntu.com/ufl/FAQ.html#embedding
|
||||||
|
16. http://font.ubuntu.com/ufl/ofl-1.1-ufl-1.0.diff.html
|
96
ubuntu/fonts/original-pack/LICENCE.txt
Executable file
|
@ -0,0 +1,96 @@
|
||||||
|
-------------------------------
|
||||||
|
UBUNTU FONT LICENCE Version 1.0
|
||||||
|
-------------------------------
|
||||||
|
|
||||||
|
PREAMBLE
|
||||||
|
This licence allows the licensed fonts to be used, studied, modified and
|
||||||
|
redistributed freely. The fonts, including any derivative works, can be
|
||||||
|
bundled, embedded, and redistributed provided the terms of this licence
|
||||||
|
are met. The fonts and derivatives, however, cannot be released under
|
||||||
|
any other licence. The requirement for fonts to remain under this
|
||||||
|
licence does not require any document created using the fonts or their
|
||||||
|
derivatives to be published under this licence, as long as the primary
|
||||||
|
purpose of the document is not to be a vehicle for the distribution of
|
||||||
|
the fonts.
|
||||||
|
|
||||||
|
DEFINITIONS
|
||||||
|
"Font Software" refers to the set of files released by the Copyright
|
||||||
|
Holder(s) under this licence and clearly marked as such. This may
|
||||||
|
include source files, build scripts and documentation.
|
||||||
|
|
||||||
|
"Original Version" refers to the collection of Font Software components
|
||||||
|
as received under this licence.
|
||||||
|
|
||||||
|
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||||
|
or substituting -- in part or in whole -- any of the components of the
|
||||||
|
Original Version, by changing formats or by porting the Font Software to
|
||||||
|
a new environment.
|
||||||
|
|
||||||
|
"Copyright Holder(s)" refers to all individuals and companies who have a
|
||||||
|
copyright ownership of the Font Software.
|
||||||
|
|
||||||
|
"Substantially Changed" refers to Modified Versions which can be easily
|
||||||
|
identified as dissimilar to the Font Software by users of the Font
|
||||||
|
Software comparing the Original Version with the Modified Version.
|
||||||
|
|
||||||
|
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 and with or without charging
|
||||||
|
a redistribution fee), making available to the public, and in some
|
||||||
|
countries other activities as well.
|
||||||
|
|
||||||
|
PERMISSION & CONDITIONS
|
||||||
|
This licence does not grant any rights under trademark law and all such
|
||||||
|
rights are reserved.
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a
|
||||||
|
copy of the Font Software, to propagate the Font Software, subject to
|
||||||
|
the below conditions:
|
||||||
|
|
||||||
|
1) Each copy of the Font Software must contain the above copyright
|
||||||
|
notice and this licence. These can be included either as stand-alone
|
||||||
|
text files, human-readable headers or in the appropriate machine-
|
||||||
|
readable metadata fields within text or binary files as long as those
|
||||||
|
fields can be easily viewed by the user.
|
||||||
|
|
||||||
|
2) The font name complies with the following:
|
||||||
|
(a) The Original Version must retain its name, unmodified.
|
||||||
|
(b) Modified Versions which are Substantially Changed must be renamed to
|
||||||
|
avoid use of the name of the Original Version or similar names entirely.
|
||||||
|
(c) Modified Versions which are not Substantially Changed must be
|
||||||
|
renamed to both (i) retain the name of the Original Version and (ii) add
|
||||||
|
additional naming elements to distinguish the Modified Version from the
|
||||||
|
Original Version. The name of such Modified Versions must be the name of
|
||||||
|
the Original Version, with "derivative X" where X represents the name of
|
||||||
|
the new work, appended to that name.
|
||||||
|
|
||||||
|
3) The name(s) of the Copyright Holder(s) and any contributor to the
|
||||||
|
Font Software shall not be used to promote, endorse or advertise any
|
||||||
|
Modified Version, except (i) as required by this licence, (ii) to
|
||||||
|
acknowledge the contribution(s) of the Copyright Holder(s) or (iii) with
|
||||||
|
their explicit written permission.
|
||||||
|
|
||||||
|
4) The Font Software, modified or unmodified, in part or in whole, must
|
||||||
|
be distributed entirely under this licence, and must not be distributed
|
||||||
|
under any other licence. The requirement for fonts to remain under this
|
||||||
|
licence does not affect any document created using the Font Software,
|
||||||
|
except any version of the Font Software extracted from a document
|
||||||
|
created using the Font Software may only be distributed under this
|
||||||
|
licence.
|
||||||
|
|
||||||
|
TERMINATION
|
||||||
|
This licence becomes null and void if any of the above conditions are
|
||||||
|
not met.
|
||||||
|
|
||||||
|
DISCLAIMER
|
||||||
|
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||||
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
|
||||||
|
COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||||
|
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||||
|
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||||
|
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||||
|
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER
|
||||||
|
DEALINGS IN THE FONT SOFTWARE.
|
16
ubuntu/fonts/original-pack/README.txt
Executable file
|
@ -0,0 +1,16 @@
|
||||||
|
----------------------
|
||||||
|
Ubuntu Font Family
|
||||||
|
======================
|
||||||
|
|
||||||
|
The Ubuntu Font Family are a set of matching new libre/open fonts in
|
||||||
|
development during 2010--2011. And with further expansion work and
|
||||||
|
bug fixing during 2015. The development is being funded by
|
||||||
|
Canonical Ltd on behalf the wider Free Software community and the
|
||||||
|
Ubuntu project. The technical font design work and implementation is
|
||||||
|
being undertaken by Dalton Maag.
|
||||||
|
|
||||||
|
Both the final font Truetype/OpenType files and the design files used
|
||||||
|
to produce the font family are distributed under an open licence and
|
||||||
|
you are expressly encouraged to experiment, modify, share and improve.
|
||||||
|
|
||||||
|
http://font.ubuntu.com/
|
4
ubuntu/fonts/original-pack/TRADEMARKS.txt
Executable file
|
@ -0,0 +1,4 @@
|
||||||
|
Ubuntu and Canonical are registered trademarks of Canonical Ltd.
|
||||||
|
|
||||||
|
The licence accompanying these works does not grant any rights
|
||||||
|
under trademark law and all such rights are reserved.
|
BIN
ubuntu/fonts/original-pack/Ubuntu-B.ttf
Executable file
BIN
ubuntu/fonts/original-pack/Ubuntu-BI.ttf
Executable file
BIN
ubuntu/fonts/original-pack/Ubuntu-C.ttf
Executable file
BIN
ubuntu/fonts/original-pack/Ubuntu-L.ttf
Executable file
BIN
ubuntu/fonts/original-pack/Ubuntu-LI.ttf
Executable file
BIN
ubuntu/fonts/original-pack/Ubuntu-M.ttf
Executable file
BIN
ubuntu/fonts/original-pack/Ubuntu-MI.ttf
Executable file
BIN
ubuntu/fonts/original-pack/Ubuntu-R.ttf
Executable file
BIN
ubuntu/fonts/original-pack/Ubuntu-RI.ttf
Executable file
BIN
ubuntu/fonts/original-pack/UbuntuMono-B.ttf
Executable file
BIN
ubuntu/fonts/original-pack/UbuntuMono-BI.ttf
Executable file
BIN
ubuntu/fonts/original-pack/UbuntuMono-R.ttf
Executable file
BIN
ubuntu/fonts/original-pack/UbuntuMono-RI.ttf
Executable file
5
ubuntu/fonts/original-pack/copyright.txt
Executable file
|
@ -0,0 +1,5 @@
|
||||||
|
Copyright 2010,2011 Canonical Ltd.
|
||||||
|
|
||||||
|
This Font Software is licensed under the Ubuntu Font Licence, Version
|
||||||
|
1.0. https://launchpad.net/ubuntu-font-licence
|
||||||
|
|
BIN
ubuntu/fonts/ubuntu-bold-italic-webfont.eot
Executable file
2405
ubuntu/fonts/ubuntu-bold-italic-webfont.svg
Executable file
After Width: | Height: | Size: 440 KiB |
BIN
ubuntu/fonts/ubuntu-bold-italic-webfont.ttf
Executable file
BIN
ubuntu/fonts/ubuntu-bold-italic-webfont.woff
Executable file
BIN
ubuntu/fonts/ubuntu-bold-italic-webfont.woff2
Executable file
BIN
ubuntu/fonts/ubuntu-bold-webfont.eot
Executable file
2405
ubuntu/fonts/ubuntu-bold-webfont.svg
Executable file
After Width: | Height: | Size: 406 KiB |
BIN
ubuntu/fonts/ubuntu-bold-webfont.ttf
Executable file
BIN
ubuntu/fonts/ubuntu-bold-webfont.woff
Executable file
BIN
ubuntu/fonts/ubuntu-bold-webfont.woff2
Executable file
BIN
ubuntu/fonts/ubuntu-condensed-webfont.eot
Executable file
2401
ubuntu/fonts/ubuntu-condensed-webfont.svg
Executable file
After Width: | Height: | Size: 389 KiB |
BIN
ubuntu/fonts/ubuntu-condensed-webfont.ttf
Executable file
BIN
ubuntu/fonts/ubuntu-condensed-webfont.woff
Executable file
BIN
ubuntu/fonts/ubuntu-condensed-webfont.woff2
Executable file
BIN
ubuntu/fonts/ubuntu-light-italic-webfont.eot
Executable file
2405
ubuntu/fonts/ubuntu-light-italic-webfont.svg
Executable file
After Width: | Height: | Size: 449 KiB |
BIN
ubuntu/fonts/ubuntu-light-italic-webfont.ttf
Executable file
BIN
ubuntu/fonts/ubuntu-light-italic-webfont.woff
Executable file
BIN
ubuntu/fonts/ubuntu-light-italic-webfont.woff2
Executable file
BIN
ubuntu/fonts/ubuntu-light-webfont.eot
Executable file
2405
ubuntu/fonts/ubuntu-light-webfont.svg
Executable file
After Width: | Height: | Size: 425 KiB |
BIN
ubuntu/fonts/ubuntu-light-webfont.ttf
Executable file
BIN
ubuntu/fonts/ubuntu-light-webfont.woff
Executable file
BIN
ubuntu/fonts/ubuntu-light-webfont.woff2
Executable file
BIN
ubuntu/fonts/ubuntu-medium-italic-webfont.eot
Executable file
2405
ubuntu/fonts/ubuntu-medium-italic-webfont.svg
Executable file
After Width: | Height: | Size: 442 KiB |