Licence AGPLv3, Vyhození zbytečných hlaviček z HTML, aktuální verze schématu, .htaccess (kvůli escapování)
authorFrantišek Kučera <franta-hg@frantovo.cz>
Wed May 06 13:12:03 2009 +0200 (2009-05-06)
changeset 1238aadc7c6386
parent 11 c1fd9aa6a6af
child 13 119744ae4179
Licence AGPLv3, Vyhození zbytečných hlaviček z HTML, aktuální verze schématu, .htaccess (kvůli escapování)
licence/agpl-3.0.pdf
licence/agpl-3.0.tex
licence/agpl-3.0.txt
licence/licence.txt
php/heslo/.htaccess
php/heslo/lib/funkce.inc.php
sql/schéma.sql
     1.1 Binary file licence/agpl-3.0.pdf has changed
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/licence/agpl-3.0.tex	Wed May 06 13:12:03 2009 +0200
     2.3 @@ -0,0 +1,705 @@
     2.4 +\documentclass[11pt]{article}
     2.5 +
     2.6 +\title{GNU AFFERO GENERAL PUBLIC LICENSE}
     2.7 +\date{Version 3, 19 November 2007}
     2.8 +
     2.9 +\begin{document}
    2.10 +\maketitle
    2.11 +
    2.12 +\begin{center}
    2.13 +{\parindent 0in
    2.14 +
    2.15 +Copyright \copyright\  2007 Free Software Foundation, Inc. \texttt{http://fsf.org/}
    2.16 +
    2.17 +\bigskip
    2.18 +Everyone is permitted to copy and distribute verbatim copies of this
    2.19 +
    2.20 +license document, but changing it is not allowed.}
    2.21 +
    2.22 +\end{center}
    2.23 +
    2.24 +\renewcommand{\abstractname}{Preamble}
    2.25 +\begin{abstract}
    2.26 +The GNU Affero General Public License is a free, copyleft license
    2.27 +for software and other kinds of works, specifically designed to ensure
    2.28 +cooperation with the community in the case of network server software.
    2.29 +
    2.30 +The licenses for most software and other practical works are
    2.31 +designed to take away your freedom to share and change the works.  By
    2.32 +contrast, our General Public Licenses are intended to guarantee your
    2.33 +freedom to share and change all versions of a program--to make sure it
    2.34 +remains free software for all its users.
    2.35 +
    2.36 +When we speak of free software, we are referring to freedom, not
    2.37 +price.  Our General Public Licenses are designed to make sure that you
    2.38 +have the freedom to distribute copies of free software (and charge for
    2.39 +them if you wish), that you receive source code or can get it if you
    2.40 +want it, that you can change the software or use pieces of it in new
    2.41 +free programs, and that you know you can do these things.
    2.42 +
    2.43 +Developers that use our General Public Licenses protect your rights
    2.44 +with two steps: (1) assert copyright on the software, and (2) offer
    2.45 +you this License which gives you legal permission to copy, distribute
    2.46 +and/or modify the software.
    2.47 +
    2.48 +A secondary benefit of defending all users' freedom is that
    2.49 +improvements made in alternate versions of the program, if they
    2.50 +receive widespread use, become available for other developers to
    2.51 +incorporate.  Many developers of free software are heartened and
    2.52 +encouraged by the resulting cooperation.  However, in the case of
    2.53 +software used on network servers, this result may fail to come about.
    2.54 +The GNU General Public License permits making a modified version and
    2.55 +letting the public access it on a server without ever releasing its
    2.56 +source code to the public.
    2.57 +
    2.58 +The GNU Affero General Public License is designed specifically to
    2.59 +ensure that, in such cases, the modified source code becomes available
    2.60 +to the community.  It requires the operator of a network server to
    2.61 +provide the source code of the modified version running there to the
    2.62 +users of that server.  Therefore, public use of a modified version, on
    2.63 +a publicly accessible server, gives the public access to the source
    2.64 +code of the modified version.
    2.65 +
    2.66 +An older license, called the Affero General Public License and
    2.67 +published by Affero, was designed to accomplish similar goals.  This is
    2.68 +a different license, not a version of the Affero GPL, but Affero has
    2.69 +released a new version of the Affero GPL which permits relicensing under
    2.70 +this license.
    2.71 +
    2.72 +The precise terms and conditions for copying, distribution and
    2.73 +modification follow.
    2.74 +\end{abstract}
    2.75 +
    2.76 +\begin{center}
    2.77 +{\Large \sc Terms and Conditions}
    2.78 +\end{center}
    2.79 +
    2.80 +
    2.81 +\begin{enumerate}
    2.82 +
    2.83 +\addtocounter{enumi}{-1}
    2.84 +
    2.85 +\item Definitions.
    2.86 +
    2.87 +``This License'' refers to version 3 of the GNU Affero General Public License.
    2.88 +
    2.89 +``Copyright'' also means copyright-like laws that apply to other kinds of
    2.90 +works, such as semiconductor masks.
    2.91 +
    2.92 +``The Program'' refers to any copyrightable work licensed under this
    2.93 +License.  Each licensee is addressed as ``you''.  ``Licensees'' and
    2.94 +``recipients'' may be individuals or organizations.
    2.95 +
    2.96 +To ``modify'' a work means to copy from or adapt all or part of the work
    2.97 +in a fashion requiring copyright permission, other than the making of an
    2.98 +exact copy.  The resulting work is called a ``modified version'' of the
    2.99 +earlier work or a work ``based on'' the earlier work.
   2.100 +
   2.101 +A ``covered work'' means either the unmodified Program or a work based
   2.102 +on the Program.
   2.103 +
   2.104 +To ``propagate'' a work means to do anything with it that, without
   2.105 +permission, would make you directly or secondarily liable for
   2.106 +infringement under applicable copyright law, except executing it on a
   2.107 +computer or modifying a private copy.  Propagation includes copying,
   2.108 +distribution (with or without modification), making available to the
   2.109 +public, and in some countries other activities as well.
   2.110 +
   2.111 +To ``convey'' a work means any kind of propagation that enables other
   2.112 +parties to make or receive copies.  Mere interaction with a user through
   2.113 +a computer network, with no transfer of a copy, is not conveying.
   2.114 +
   2.115 +An interactive user interface displays ``Appropriate Legal Notices''
   2.116 +to the extent that it includes a convenient and prominently visible
   2.117 +feature that (1) displays an appropriate copyright notice, and (2)
   2.118 +tells the user that there is no warranty for the work (except to the
   2.119 +extent that warranties are provided), that licensees may convey the
   2.120 +work under this License, and how to view a copy of this License.  If
   2.121 +the interface presents a list of user commands or options, such as a
   2.122 +menu, a prominent item in the list meets this criterion.
   2.123 +
   2.124 +\item Source Code.
   2.125 +
   2.126 +The ``source code'' for a work means the preferred form of the work
   2.127 +for making modifications to it.  ``Object code'' means any non-source
   2.128 +form of a work.
   2.129 +
   2.130 +A ``Standard Interface'' means an interface that either is an official
   2.131 +standard defined by a recognized standards body, or, in the case of
   2.132 +interfaces specified for a particular programming language, one that
   2.133 +is widely used among developers working in that language.
   2.134 +
   2.135 +The ``System Libraries'' of an executable work include anything, other
   2.136 +than the work as a whole, that (a) is included in the normal form of
   2.137 +packaging a Major Component, but which is not part of that Major
   2.138 +Component, and (b) serves only to enable use of the work with that
   2.139 +Major Component, or to implement a Standard Interface for which an
   2.140 +implementation is available to the public in source code form.  A
   2.141 +``Major Component'', in this context, means a major essential component
   2.142 +(kernel, window system, and so on) of the specific operating system
   2.143 +(if any) on which the executable work runs, or a compiler used to
   2.144 +produce the work, or an object code interpreter used to run it.
   2.145 +
   2.146 +The ``Corresponding Source'' for a work in object code form means all
   2.147 +the source code needed to generate, install, and (for an executable
   2.148 +work) run the object code and to modify the work, including scripts to
   2.149 +control those activities.  However, it does not include the work's
   2.150 +System Libraries, or general-purpose tools or generally available free
   2.151 +programs which are used unmodified in performing those activities but
   2.152 +which are not part of the work.  For example, Corresponding Source
   2.153 +includes interface definition files associated with source files for
   2.154 +the work, and the source code for shared libraries and dynamically
   2.155 +linked subprograms that the work is specifically designed to require,
   2.156 +such as by intimate data communication or control flow between those
   2.157 +subprograms and other parts of the work.
   2.158 +
   2.159 +The Corresponding Source need not include anything that users
   2.160 +can regenerate automatically from other parts of the Corresponding
   2.161 +Source.
   2.162 +
   2.163 +The Corresponding Source for a work in source code form is that
   2.164 +same work.
   2.165 +
   2.166 +\item Basic Permissions.
   2.167 +
   2.168 +All rights granted under this License are granted for the term of
   2.169 +copyright on the Program, and are irrevocable provided the stated
   2.170 +conditions are met.  This License explicitly affirms your unlimited
   2.171 +permission to run the unmodified Program.  The output from running a
   2.172 +covered work is covered by this License only if the output, given its
   2.173 +content, constitutes a covered work.  This License acknowledges your
   2.174 +rights of fair use or other equivalent, as provided by copyright law.
   2.175 +
   2.176 +You may make, run and propagate covered works that you do not
   2.177 +convey, without conditions so long as your license otherwise remains
   2.178 +in force.  You may convey covered works to others for the sole purpose
   2.179 +of having them make modifications exclusively for you, or provide you
   2.180 +with facilities for running those works, provided that you comply with
   2.181 +the terms of this License in conveying all material for which you do
   2.182 +not control copyright.  Those thus making or running the covered works
   2.183 +for you must do so exclusively on your behalf, under your direction
   2.184 +and control, on terms that prohibit them from making any copies of
   2.185 +your copyrighted material outside their relationship with you.
   2.186 +
   2.187 +Conveying under any other circumstances is permitted solely under
   2.188 +the conditions stated below.  Sublicensing is not allowed; section 10
   2.189 +makes it unnecessary.
   2.190 +
   2.191 +\item Protecting Users' Legal Rights From Anti-Circumvention Law.
   2.192 +
   2.193 +No covered work shall be deemed part of an effective technological
   2.194 +measure under any applicable law fulfilling obligations under article
   2.195 +11 of the WIPO copyright treaty adopted on 20 December 1996, or
   2.196 +similar laws prohibiting or restricting circumvention of such
   2.197 +measures.
   2.198 +
   2.199 +When you convey a covered work, you waive any legal power to forbid
   2.200 +circumvention of technological measures to the extent such circumvention
   2.201 +is effected by exercising rights under this License with respect to
   2.202 +the covered work, and you disclaim any intention to limit operation or
   2.203 +modification of the work as a means of enforcing, against the work's
   2.204 +users, your or third parties' legal rights to forbid circumvention of
   2.205 +technological measures.
   2.206 +
   2.207 +\item Conveying Verbatim Copies.
   2.208 +
   2.209 +You may convey verbatim copies of the Program's source code as you
   2.210 +receive it, in any medium, provided that you conspicuously and
   2.211 +appropriately publish on each copy an appropriate copyright notice;
   2.212 +keep intact all notices stating that this License and any
   2.213 +non-permissive terms added in accord with section 7 apply to the code;
   2.214 +keep intact all notices of the absence of any warranty; and give all
   2.215 +recipients a copy of this License along with the Program.
   2.216 +
   2.217 +You may charge any price or no price for each copy that you convey,
   2.218 +and you may offer support or warranty protection for a fee.
   2.219 +
   2.220 +\item Conveying Modified Source Versions.
   2.221 +
   2.222 +You may convey a work based on the Program, or the modifications to
   2.223 +produce it from the Program, in the form of source code under the
   2.224 +terms of section 4, provided that you also meet all of these conditions:
   2.225 +  \begin{enumerate}
   2.226 +  \item The work must carry prominent notices stating that you modified
   2.227 +  it, and giving a relevant date.
   2.228 +
   2.229 +  \item The work must carry prominent notices stating that it is
   2.230 +  released under this License and any conditions added under section
   2.231 +  7.  This requirement modifies the requirement in section 4 to
   2.232 +  ``keep intact all notices''.
   2.233 +
   2.234 +  \item You must license the entire work, as a whole, under this
   2.235 +  License to anyone who comes into possession of a copy.  This
   2.236 +  License will therefore apply, along with any applicable section 7
   2.237 +  additional terms, to the whole of the work, and all its parts,
   2.238 +  regardless of how they are packaged.  This License gives no
   2.239 +  permission to license the work in any other way, but it does not
   2.240 +  invalidate such permission if you have separately received it.
   2.241 +
   2.242 +  \item If the work has interactive user interfaces, each must display
   2.243 +  Appropriate Legal Notices; however, if the Program has interactive
   2.244 +  interfaces that do not display Appropriate Legal Notices, your
   2.245 +  work need not make them do so.
   2.246 +\end{enumerate}
   2.247 +A compilation of a covered work with other separate and independent
   2.248 +works, which are not by their nature extensions of the covered work,
   2.249 +and which are not combined with it such as to form a larger program,
   2.250 +in or on a volume of a storage or distribution medium, is called an
   2.251 +``aggregate'' if the compilation and its resulting copyright are not
   2.252 +used to limit the access or legal rights of the compilation's users
   2.253 +beyond what the individual works permit.  Inclusion of a covered work
   2.254 +in an aggregate does not cause this License to apply to the other
   2.255 +parts of the aggregate.
   2.256 +
   2.257 +\item Conveying Non-Source Forms.
   2.258 +
   2.259 +You may convey a covered work in object code form under the terms
   2.260 +of sections 4 and 5, provided that you also convey the
   2.261 +machine-readable Corresponding Source under the terms of this License,
   2.262 +in one of these ways:
   2.263 +  \begin{enumerate}
   2.264 +  \item Convey the object code in, or embodied in, a physical product
   2.265 +  (including a physical distribution medium), accompanied by the
   2.266 +  Corresponding Source fixed on a durable physical medium
   2.267 +  customarily used for software interchange.
   2.268 +
   2.269 +  \item Convey the object code in, or embodied in, a physical product
   2.270 +  (including a physical distribution medium), accompanied by a
   2.271 +  written offer, valid for at least three years and valid for as
   2.272 +  long as you offer spare parts or customer support for that product
   2.273 +  model, to give anyone who possesses the object code either (1) a
   2.274 +  copy of the Corresponding Source for all the software in the
   2.275 +  product that is covered by this License, on a durable physical
   2.276 +  medium customarily used for software interchange, for a price no
   2.277 +  more than your reasonable cost of physically performing this
   2.278 +  conveying of source, or (2) access to copy the
   2.279 +  Corresponding Source from a network server at no charge.
   2.280 +
   2.281 +  \item Convey individual copies of the object code with a copy of the
   2.282 +  written offer to provide the Corresponding Source.  This
   2.283 +  alternative is allowed only occasionally and noncommercially, and
   2.284 +  only if you received the object code with such an offer, in accord
   2.285 +  with subsection 6b.
   2.286 +
   2.287 +  \item Convey the object code by offering access from a designated
   2.288 +  place (gratis or for a charge), and offer equivalent access to the
   2.289 +  Corresponding Source in the same way through the same place at no
   2.290 +  further charge.  You need not require recipients to copy the
   2.291 +  Corresponding Source along with the object code.  If the place to
   2.292 +  copy the object code is a network server, the Corresponding Source
   2.293 +  may be on a different server (operated by you or a third party)
   2.294 +  that supports equivalent copying facilities, provided you maintain
   2.295 +  clear directions next to the object code saying where to find the
   2.296 +  Corresponding Source.  Regardless of what server hosts the
   2.297 +  Corresponding Source, you remain obligated to ensure that it is
   2.298 +  available for as long as needed to satisfy these requirements.
   2.299 +
   2.300 +  \item Convey the object code using peer-to-peer transmission, provided
   2.301 +  you inform other peers where the object code and Corresponding
   2.302 +  Source of the work are being offered to the general public at no
   2.303 +  charge under subsection 6d.
   2.304 +  \end{enumerate}
   2.305 +
   2.306 +A separable portion of the object code, whose source code is excluded
   2.307 +from the Corresponding Source as a System Library, need not be
   2.308 +included in conveying the object code work.
   2.309 +
   2.310 +A ``User Product'' is either (1) a ``consumer product'', which means any
   2.311 +tangible personal property which is normally used for personal, family,
   2.312 +or household purposes, or (2) anything designed or sold for incorporation
   2.313 +into a dwelling.  In determining whether a product is a consumer product,
   2.314 +doubtful cases shall be resolved in favor of coverage.  For a particular
   2.315 +product received by a particular user, ``normally used'' refers to a
   2.316 +typical or common use of that class of product, regardless of the status
   2.317 +of the particular user or of the way in which the particular user
   2.318 +actually uses, or expects or is expected to use, the product.  A product
   2.319 +is a consumer product regardless of whether the product has substantial
   2.320 +commercial, industrial or non-consumer uses, unless such uses represent
   2.321 +the only significant mode of use of the product.
   2.322 +
   2.323 +``Installation Information'' for a User Product means any methods,
   2.324 +procedures, authorization keys, or other information required to install
   2.325 +and execute modified versions of a covered work in that User Product from
   2.326 +a modified version of its Corresponding Source.  The information must
   2.327 +suffice to ensure that the continued functioning of the modified object
   2.328 +code is in no case prevented or interfered with solely because
   2.329 +modification has been made.
   2.330 +
   2.331 +If you convey an object code work under this section in, or with, or
   2.332 +specifically for use in, a User Product, and the conveying occurs as
   2.333 +part of a transaction in which the right of possession and use of the
   2.334 +User Product is transferred to the recipient in perpetuity or for a
   2.335 +fixed term (regardless of how the transaction is characterized), the
   2.336 +Corresponding Source conveyed under this section must be accompanied
   2.337 +by the Installation Information.  But this requirement does not apply
   2.338 +if neither you nor any third party retains the ability to install
   2.339 +modified object code on the User Product (for example, the work has
   2.340 +been installed in ROM).
   2.341 +
   2.342 +The requirement to provide Installation Information does not include a
   2.343 +requirement to continue to provide support service, warranty, or updates
   2.344 +for a work that has been modified or installed by the recipient, or for
   2.345 +the User Product in which it has been modified or installed.  Access to a
   2.346 +network may be denied when the modification itself materially and
   2.347 +adversely affects the operation of the network or violates the rules and
   2.348 +protocols for communication across the network.
   2.349 +
   2.350 +Corresponding Source conveyed, and Installation Information provided,
   2.351 +in accord with this section must be in a format that is publicly
   2.352 +documented (and with an implementation available to the public in
   2.353 +source code form), and must require no special password or key for
   2.354 +unpacking, reading or copying.
   2.355 +
   2.356 +\item Additional Terms.
   2.357 +
   2.358 +``Additional permissions'' are terms that supplement the terms of this
   2.359 +License by making exceptions from one or more of its conditions.
   2.360 +Additional permissions that are applicable to the entire Program shall
   2.361 +be treated as though they were included in this License, to the extent
   2.362 +that they are valid under applicable law.  If additional permissions
   2.363 +apply only to part of the Program, that part may be used separately
   2.364 +under those permissions, but the entire Program remains governed by
   2.365 +this License without regard to the additional permissions.
   2.366 +
   2.367 +When you convey a copy of a covered work, you may at your option
   2.368 +remove any additional permissions from that copy, or from any part of
   2.369 +it.  (Additional permissions may be written to require their own
   2.370 +removal in certain cases when you modify the work.)  You may place
   2.371 +additional permissions on material, added by you to a covered work,
   2.372 +for which you have or can give appropriate copyright permission.
   2.373 +
   2.374 +Notwithstanding any other provision of this License, for material you
   2.375 +add to a covered work, you may (if authorized by the copyright holders of
   2.376 +that material) supplement the terms of this License with terms:
   2.377 +  \begin{enumerate}
   2.378 +  \item Disclaiming warranty or limiting liability differently from the
   2.379 +  terms of sections 15 and 16 of this License; or
   2.380 +
   2.381 +  \item Requiring preservation of specified reasonable legal notices or
   2.382 +  author attributions in that material or in the Appropriate Legal
   2.383 +  Notices displayed by works containing it; or
   2.384 +
   2.385 +  \item Prohibiting misrepresentation of the origin of that material, or
   2.386 +  requiring that modified versions of such material be marked in
   2.387 +  reasonable ways as different from the original version; or
   2.388 +
   2.389 +  \item Limiting the use for publicity purposes of names of licensors or
   2.390 +  authors of the material; or
   2.391 +
   2.392 +  \item Declining to grant rights under trademark law for use of some
   2.393 +  trade names, trademarks, or service marks; or
   2.394 +
   2.395 +  \item Requiring indemnification of licensors and authors of that
   2.396 +  material by anyone who conveys the material (or modified versions of
   2.397 +  it) with contractual assumptions of liability to the recipient, for
   2.398 +  any liability that these contractual assumptions directly impose on
   2.399 +  those licensors and authors.
   2.400 +  \end{enumerate}
   2.401 +
   2.402 +All other non-permissive additional terms are considered ``further
   2.403 +restrictions'' within the meaning of section 10.  If the Program as you
   2.404 +received it, or any part of it, contains a notice stating that it is
   2.405 +governed by this License along with a term that is a further
   2.406 +restriction, you may remove that term.  If a license document contains
   2.407 +a further restriction but permits relicensing or conveying under this
   2.408 +License, you may add to a covered work material governed by the terms
   2.409 +of that license document, provided that the further restriction does
   2.410 +not survive such relicensing or conveying.
   2.411 +
   2.412 +If you add terms to a covered work in accord with this section, you
   2.413 +must place, in the relevant source files, a statement of the
   2.414 +additional terms that apply to those files, or a notice indicating
   2.415 +where to find the applicable terms.
   2.416 +
   2.417 +Additional terms, permissive or non-permissive, may be stated in the
   2.418 +form of a separately written license, or stated as exceptions;
   2.419 +the above requirements apply either way.
   2.420 +
   2.421 +\item Termination.
   2.422 +
   2.423 +You may not propagate or modify a covered work except as expressly
   2.424 +provided under this License.  Any attempt otherwise to propagate or
   2.425 +modify it is void, and will automatically terminate your rights under
   2.426 +this License (including any patent licenses granted under the third
   2.427 +paragraph of section 11).
   2.428 +
   2.429 +However, if you cease all violation of this License, then your
   2.430 +license from a particular copyright holder is reinstated (a)
   2.431 +provisionally, unless and until the copyright holder explicitly and
   2.432 +finally terminates your license, and (b) permanently, if the copyright
   2.433 +holder fails to notify you of the violation by some reasonable means
   2.434 +prior to 60 days after the cessation.
   2.435 +
   2.436 +Moreover, your license from a particular copyright holder is
   2.437 +reinstated permanently if the copyright holder notifies you of the
   2.438 +violation by some reasonable means, this is the first time you have
   2.439 +received notice of violation of this License (for any work) from that
   2.440 +copyright holder, and you cure the violation prior to 30 days after
   2.441 +your receipt of the notice.
   2.442 +
   2.443 +Termination of your rights under this section does not terminate the
   2.444 +licenses of parties who have received copies or rights from you under
   2.445 +this License.  If your rights have been terminated and not permanently
   2.446 +reinstated, you do not qualify to receive new licenses for the same
   2.447 +material under section 10.
   2.448 +
   2.449 +\item Acceptance Not Required for Having Copies.
   2.450 +
   2.451 +You are not required to accept this License in order to receive or
   2.452 +run a copy of the Program.  Ancillary propagation of a covered work
   2.453 +occurring solely as a consequence of using peer-to-peer transmission
   2.454 +to receive a copy likewise does not require acceptance.  However,
   2.455 +nothing other than this License grants you permission to propagate or
   2.456 +modify any covered work.  These actions infringe copyright if you do
   2.457 +not accept this License.  Therefore, by modifying or propagating a
   2.458 +covered work, you indicate your acceptance of this License to do so.
   2.459 +
   2.460 +\item Automatic Licensing of Downstream Recipients.
   2.461 +
   2.462 +Each time you convey a covered work, the recipient automatically
   2.463 +receives a license from the original licensors, to run, modify and
   2.464 +propagate that work, subject to this License.  You are not responsible
   2.465 +for enforcing compliance by third parties with this License.
   2.466 +
   2.467 +An ``entity transaction'' is a transaction transferring control of an
   2.468 +organization, or substantially all assets of one, or subdividing an
   2.469 +organization, or merging organizations.  If propagation of a covered
   2.470 +work results from an entity transaction, each party to that
   2.471 +transaction who receives a copy of the work also receives whatever
   2.472 +licenses to the work the party's predecessor in interest had or could
   2.473 +give under the previous paragraph, plus a right to possession of the
   2.474 +Corresponding Source of the work from the predecessor in interest, if
   2.475 +the predecessor has it or can get it with reasonable efforts.
   2.476 +
   2.477 +You may not impose any further restrictions on the exercise of the
   2.478 +rights granted or affirmed under this License.  For example, you may
   2.479 +not impose a license fee, royalty, or other charge for exercise of
   2.480 +rights granted under this License, and you may not initiate litigation
   2.481 +(including a cross-claim or counterclaim in a lawsuit) alleging that
   2.482 +any patent claim is infringed by making, using, selling, offering for
   2.483 +sale, or importing the Program or any portion of it.
   2.484 +
   2.485 +\item Patents.
   2.486 +
   2.487 +A ``contributor'' is a copyright holder who authorizes use under this
   2.488 +License of the Program or a work on which the Program is based.  The
   2.489 +work thus licensed is called the contributor's ``contributor version''.
   2.490 +
   2.491 +A contributor's ``essential patent claims'' are all patent claims
   2.492 +owned or controlled by the contributor, whether already acquired or
   2.493 +hereafter acquired, that would be infringed by some manner, permitted
   2.494 +by this License, of making, using, or selling its contributor version,
   2.495 +but do not include claims that would be infringed only as a
   2.496 +consequence of further modification of the contributor version.  For
   2.497 +purposes of this definition, ``control'' includes the right to grant
   2.498 +patent sublicenses in a manner consistent with the requirements of
   2.499 +this License.
   2.500 +
   2.501 +Each contributor grants you a non-exclusive, worldwide, royalty-free
   2.502 +patent license under the contributor's essential patent claims, to
   2.503 +make, use, sell, offer for sale, import and otherwise run, modify and
   2.504 +propagate the contents of its contributor version.
   2.505 +
   2.506 +In the following three paragraphs, a ``patent license'' is any express
   2.507 +agreement or commitment, however denominated, not to enforce a patent
   2.508 +(such as an express permission to practice a patent or covenant not to
   2.509 +sue for patent infringement).  To ``grant'' such a patent license to a
   2.510 +party means to make such an agreement or commitment not to enforce a
   2.511 +patent against the party.
   2.512 +
   2.513 +If you convey a covered work, knowingly relying on a patent license,
   2.514 +and the Corresponding Source of the work is not available for anyone
   2.515 +to copy, free of charge and under the terms of this License, through a
   2.516 +publicly available network server or other readily accessible means,
   2.517 +then you must either (1) cause the Corresponding Source to be so
   2.518 +available, or (2) arrange to deprive yourself of the benefit of the
   2.519 +patent license for this particular work, or (3) arrange, in a manner
   2.520 +consistent with the requirements of this License, to extend the patent
   2.521 +license to downstream recipients.  ``Knowingly relying'' means you have
   2.522 +actual knowledge that, but for the patent license, your conveying the
   2.523 +covered work in a country, or your recipient's use of the covered work
   2.524 +in a country, would infringe one or more identifiable patents in that
   2.525 +country that you have reason to believe are valid.
   2.526 +
   2.527 +If, pursuant to or in connection with a single transaction or
   2.528 +arrangement, you convey, or propagate by procuring conveyance of, a
   2.529 +covered work, and grant a patent license to some of the parties
   2.530 +receiving the covered work authorizing them to use, propagate, modify
   2.531 +or convey a specific copy of the covered work, then the patent license
   2.532 +you grant is automatically extended to all recipients of the covered
   2.533 +work and works based on it.
   2.534 +
   2.535 +A patent license is ``discriminatory'' if it does not include within
   2.536 +the scope of its coverage, prohibits the exercise of, or is
   2.537 +conditioned on the non-exercise of one or more of the rights that are
   2.538 +specifically granted under this License.  You may not convey a covered
   2.539 +work if you are a party to an arrangement with a third party that is
   2.540 +in the business of distributing software, under which you make payment
   2.541 +to the third party based on the extent of your activity of conveying
   2.542 +the work, and under which the third party grants, to any of the
   2.543 +parties who would receive the covered work from you, a discriminatory
   2.544 +patent license (a) in connection with copies of the covered work
   2.545 +conveyed by you (or copies made from those copies), or (b) primarily
   2.546 +for and in connection with specific products or compilations that
   2.547 +contain the covered work, unless you entered into that arrangement,
   2.548 +or that patent license was granted, prior to 28 March 2007.
   2.549 +
   2.550 +Nothing in this License shall be construed as excluding or limiting
   2.551 +any implied license or other defenses to infringement that may
   2.552 +otherwise be available to you under applicable patent law.
   2.553 +
   2.554 +\item No Surrender of Others' Freedom.
   2.555 +
   2.556 +If conditions are imposed on you (whether by court order, agreement or
   2.557 +otherwise) that contradict the conditions of this License, they do not
   2.558 +excuse you from the conditions of this License.  If you cannot convey a
   2.559 +covered work so as to satisfy simultaneously your obligations under this
   2.560 +License and any other pertinent obligations, then as a consequence you may
   2.561 +not convey it at all.  For example, if you agree to terms that obligate you
   2.562 +to collect a royalty for further conveying from those to whom you convey
   2.563 +the Program, the only way you could satisfy both those terms and this
   2.564 +License would be to refrain entirely from conveying the Program.
   2.565 +
   2.566 +\item Remote Network Interaction; Use with the GNU General Public License.
   2.567 +
   2.568 +Notwithstanding any other provision of this License, if you modify the
   2.569 +Program, your modified version must prominently offer all users interacting
   2.570 +with it remotely through a computer network (if your version supports such
   2.571 +interaction) an opportunity to receive the Corresponding Source of your
   2.572 +version by providing access to the Corresponding Source from a network
   2.573 +server at no charge, through some standard or customary means of
   2.574 +facilitating copying of software.  This Corresponding Source shall include
   2.575 +the Corresponding Source for any work covered by version 3 of the GNU
   2.576 +General Public License that is incorporated pursuant to the following
   2.577 +paragraph.
   2.578 +
   2.579 +Notwithstanding any other provision of this License, you have permission to
   2.580 +link or combine any covered work with a work licensed under version 3 of
   2.581 +the GNU General Public License into a single combined work, and to convey
   2.582 +the resulting work.  The terms of this License will continue to apply to
   2.583 +the part which is the covered work, but the work with which it is combined
   2.584 +will remain governed by version 3 of the GNU General Public License.
   2.585 +
   2.586 +\item Revised Versions of this License.
   2.587 +
   2.588 +The Free Software Foundation may publish revised and/or new versions of
   2.589 +the GNU Affero General Public License from time to time.  Such new versions will
   2.590 +be similar in spirit to the present version, but may differ in detail to
   2.591 +address new problems or concerns.
   2.592 +
   2.593 +Each version is given a distinguishing version number.  If the
   2.594 +Program specifies that a certain numbered version of the GNU Affero General
   2.595 +Public License ``or any later version'' applies to it, you have the
   2.596 +option of following the terms and conditions either of that numbered
   2.597 +version or of any later version published by the Free Software
   2.598 +Foundation.  If the Program does not specify a version number of the
   2.599 +GNU Affero General Public License, you may choose any version ever published
   2.600 +by the Free Software Foundation.
   2.601 +
   2.602 +If the Program specifies that a proxy can decide which future
   2.603 +versions of the GNU Affero General Public License can be used, that proxy's
   2.604 +public statement of acceptance of a version permanently authorizes you
   2.605 +to choose that version for the Program.
   2.606 +
   2.607 +Later license versions may give you additional or different
   2.608 +permissions.  However, no additional obligations are imposed on any
   2.609 +author or copyright holder as a result of your choosing to follow a
   2.610 +later version.
   2.611 +
   2.612 +\item Disclaimer of Warranty.
   2.613 +
   2.614 +\begin{sloppypar}
   2.615 + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
   2.616 + APPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE
   2.617 + COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM ``AS IS''
   2.618 + WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED,
   2.619 + INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
   2.620 + MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE
   2.621 + RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.
   2.622 + SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL
   2.623 + NECESSARY SERVICING, REPAIR OR CORRECTION.
   2.624 +\end{sloppypar}
   2.625 +
   2.626 +\item Limitation of Liability.
   2.627 +
   2.628 + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
   2.629 + WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES
   2.630 + AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR
   2.631 + DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL
   2.632 + DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM
   2.633 + (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED
   2.634 + INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE
   2.635 + OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH
   2.636 + HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
   2.637 + DAMAGES.
   2.638 +
   2.639 +\item Interpretation of Sections 15 and 16.
   2.640 +
   2.641 +If the disclaimer of warranty and limitation of liability provided
   2.642 +above cannot be given local legal effect according to their terms,
   2.643 +reviewing courts shall apply local law that most closely approximates
   2.644 +an absolute waiver of all civil liability in connection with the
   2.645 +Program, unless a warranty or assumption of liability accompanies a
   2.646 +copy of the Program in return for a fee.
   2.647 +
   2.648 +\begin{center}
   2.649 +{\Large\sc End of Terms and Conditions}
   2.650 +
   2.651 +\bigskip
   2.652 +How to Apply These Terms to Your New Programs
   2.653 +\end{center}
   2.654 +
   2.655 +If you develop a new program, and you want it to be of the greatest
   2.656 +possible use to the public, the best way to achieve this is to make it
   2.657 +free software which everyone can redistribute and change under these terms.
   2.658 +
   2.659 +To do so, attach the following notices to the program.  It is safest
   2.660 +to attach them to the start of each source file to most effectively
   2.661 +state the exclusion of warranty; and each file should have at least
   2.662 +the ``copyright'' line and a pointer to where the full notice is found.
   2.663 +
   2.664 +{\footnotesize
   2.665 +\begin{verbatim}
   2.666 +<one line to give the program's name and a brief idea of what it does.>
   2.667 +
   2.668 +Copyright (C) <textyear>  <name of author>
   2.669 +
   2.670 +This program is free software: you can redistribute it and/or modify
   2.671 +it under the terms of the GNU Affero General Public License as published by
   2.672 +the Free Software Foundation, either version 3 of the License, or
   2.673 +(at your option) any later version.
   2.674 +
   2.675 +This program is distributed in the hope that it will be useful,
   2.676 +but WITHOUT ANY WARRANTY; without even the implied warranty of
   2.677 +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   2.678 +GNU Affero General Public License for more details.
   2.679 +
   2.680 +You should have received a copy of the GNU Affero General Public License
   2.681 +along with this program.  If not, see <http://www.gnu.org/licenses/>.
   2.682 +\end{verbatim}
   2.683 +}
   2.684 +
   2.685 +Also add information on how to contact you by electronic and paper mail.
   2.686 +
   2.687 +If your software can interact with users remotely through a computer
   2.688 +network, you should also make sure that it provides a way for users to
   2.689 +get its source.  For example, if your program is a web application, its
   2.690 +interface could display a ``Source'' link that leads users to an archive
   2.691 +of the code.  There are many ways you could offer source, and different
   2.692 +solutions will be better for different programs; see section 13 for the
   2.693 +specific requirements.
   2.694 +
   2.695 +You should also get your employer (if you work as a programmer) or
   2.696 +school, if any, to sign a ``copyright disclaimer'' for the program, if
   2.697 +necessary.  For more information on this, and how to apply and follow
   2.698 +the GNU AGPL, see \texttt{http://www.gnu.org/licenses/}.
   2.699 +
   2.700 +\end{enumerate}
   2.701 +
   2.702 +\end{document}
   2.703 +
   2.704 +%%% Local Variables:
   2.705 +%%% mode: latex
   2.706 +%%% TeX-master: t
   2.707 +%%% End:
   2.708 +
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/licence/agpl-3.0.txt	Wed May 06 13:12:03 2009 +0200
     3.3 @@ -0,0 +1,661 @@
     3.4 +                    GNU AFFERO GENERAL PUBLIC LICENSE
     3.5 +                       Version 3, 19 November 2007
     3.6 +
     3.7 + Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
     3.8 + Everyone is permitted to copy and distribute verbatim copies
     3.9 + of this license document, but changing it is not allowed.
    3.10 +
    3.11 +                            Preamble
    3.12 +
    3.13 +  The GNU Affero General Public License is a free, copyleft license for
    3.14 +software and other kinds of works, specifically designed to ensure
    3.15 +cooperation with the community in the case of network server software.
    3.16 +
    3.17 +  The licenses for most software and other practical works are designed
    3.18 +to take away your freedom to share and change the works.  By contrast,
    3.19 +our General Public Licenses are intended to guarantee your freedom to
    3.20 +share and change all versions of a program--to make sure it remains free
    3.21 +software for all its users.
    3.22 +
    3.23 +  When we speak of free software, we are referring to freedom, not
    3.24 +price.  Our General Public Licenses are designed to make sure that you
    3.25 +have the freedom to distribute copies of free software (and charge for
    3.26 +them if you wish), that you receive source code or can get it if you
    3.27 +want it, that you can change the software or use pieces of it in new
    3.28 +free programs, and that you know you can do these things.
    3.29 +
    3.30 +  Developers that use our General Public Licenses protect your rights
    3.31 +with two steps: (1) assert copyright on the software, and (2) offer
    3.32 +you this License which gives you legal permission to copy, distribute
    3.33 +and/or modify the software.
    3.34 +
    3.35 +  A secondary benefit of defending all users' freedom is that
    3.36 +improvements made in alternate versions of the program, if they
    3.37 +receive widespread use, become available for other developers to
    3.38 +incorporate.  Many developers of free software are heartened and
    3.39 +encouraged by the resulting cooperation.  However, in the case of
    3.40 +software used on network servers, this result may fail to come about.
    3.41 +The GNU General Public License permits making a modified version and
    3.42 +letting the public access it on a server without ever releasing its
    3.43 +source code to the public.
    3.44 +
    3.45 +  The GNU Affero General Public License is designed specifically to
    3.46 +ensure that, in such cases, the modified source code becomes available
    3.47 +to the community.  It requires the operator of a network server to
    3.48 +provide the source code of the modified version running there to the
    3.49 +users of that server.  Therefore, public use of a modified version, on
    3.50 +a publicly accessible server, gives the public access to the source
    3.51 +code of the modified version.
    3.52 +
    3.53 +  An older license, called the Affero General Public License and
    3.54 +published by Affero, was designed to accomplish similar goals.  This is
    3.55 +a different license, not a version of the Affero GPL, but Affero has
    3.56 +released a new version of the Affero GPL which permits relicensing under
    3.57 +this license.
    3.58 +
    3.59 +  The precise terms and conditions for copying, distribution and
    3.60 +modification follow.
    3.61 +
    3.62 +                       TERMS AND CONDITIONS
    3.63 +
    3.64 +  0. Definitions.
    3.65 +
    3.66 +  "This License" refers to version 3 of the GNU Affero General Public License.
    3.67 +
    3.68 +  "Copyright" also means copyright-like laws that apply to other kinds of
    3.69 +works, such as semiconductor masks.
    3.70 +
    3.71 +  "The Program" refers to any copyrightable work licensed under this
    3.72 +License.  Each licensee is addressed as "you".  "Licensees" and
    3.73 +"recipients" may be individuals or organizations.
    3.74 +
    3.75 +  To "modify" a work means to copy from or adapt all or part of the work
    3.76 +in a fashion requiring copyright permission, other than the making of an
    3.77 +exact copy.  The resulting work is called a "modified version" of the
    3.78 +earlier work or a work "based on" the earlier work.
    3.79 +
    3.80 +  A "covered work" means either the unmodified Program or a work based
    3.81 +on the Program.
    3.82 +
    3.83 +  To "propagate" a work means to do anything with it that, without
    3.84 +permission, would make you directly or secondarily liable for
    3.85 +infringement under applicable copyright law, except executing it on a
    3.86 +computer or modifying a private copy.  Propagation includes copying,
    3.87 +distribution (with or without modification), making available to the
    3.88 +public, and in some countries other activities as well.
    3.89 +
    3.90 +  To "convey" a work means any kind of propagation that enables other
    3.91 +parties to make or receive copies.  Mere interaction with a user through
    3.92 +a computer network, with no transfer of a copy, is not conveying.
    3.93 +
    3.94 +  An interactive user interface displays "Appropriate Legal Notices"
    3.95 +to the extent that it includes a convenient and prominently visible
    3.96 +feature that (1) displays an appropriate copyright notice, and (2)
    3.97 +tells the user that there is no warranty for the work (except to the
    3.98 +extent that warranties are provided), that licensees may convey the
    3.99 +work under this License, and how to view a copy of this License.  If
   3.100 +the interface presents a list of user commands or options, such as a
   3.101 +menu, a prominent item in the list meets this criterion.
   3.102 +
   3.103 +  1. Source Code.
   3.104 +
   3.105 +  The "source code" for a work means the preferred form of the work
   3.106 +for making modifications to it.  "Object code" means any non-source
   3.107 +form of a work.
   3.108 +
   3.109 +  A "Standard Interface" means an interface that either is an official
   3.110 +standard defined by a recognized standards body, or, in the case of
   3.111 +interfaces specified for a particular programming language, one that
   3.112 +is widely used among developers working in that language.
   3.113 +
   3.114 +  The "System Libraries" of an executable work include anything, other
   3.115 +than the work as a whole, that (a) is included in the normal form of
   3.116 +packaging a Major Component, but which is not part of that Major
   3.117 +Component, and (b) serves only to enable use of the work with that
   3.118 +Major Component, or to implement a Standard Interface for which an
   3.119 +implementation is available to the public in source code form.  A
   3.120 +"Major Component", in this context, means a major essential component
   3.121 +(kernel, window system, and so on) of the specific operating system
   3.122 +(if any) on which the executable work runs, or a compiler used to
   3.123 +produce the work, or an object code interpreter used to run it.
   3.124 +
   3.125 +  The "Corresponding Source" for a work in object code form means all
   3.126 +the source code needed to generate, install, and (for an executable
   3.127 +work) run the object code and to modify the work, including scripts to
   3.128 +control those activities.  However, it does not include the work's
   3.129 +System Libraries, or general-purpose tools or generally available free
   3.130 +programs which are used unmodified in performing those activities but
   3.131 +which are not part of the work.  For example, Corresponding Source
   3.132 +includes interface definition files associated with source files for
   3.133 +the work, and the source code for shared libraries and dynamically
   3.134 +linked subprograms that the work is specifically designed to require,
   3.135 +such as by intimate data communication or control flow between those
   3.136 +subprograms and other parts of the work.
   3.137 +
   3.138 +  The Corresponding Source need not include anything that users
   3.139 +can regenerate automatically from other parts of the Corresponding
   3.140 +Source.
   3.141 +
   3.142 +  The Corresponding Source for a work in source code form is that
   3.143 +same work.
   3.144 +
   3.145 +  2. Basic Permissions.
   3.146 +
   3.147 +  All rights granted under this License are granted for the term of
   3.148 +copyright on the Program, and are irrevocable provided the stated
   3.149 +conditions are met.  This License explicitly affirms your unlimited
   3.150 +permission to run the unmodified Program.  The output from running a
   3.151 +covered work is covered by this License only if the output, given its
   3.152 +content, constitutes a covered work.  This License acknowledges your
   3.153 +rights of fair use or other equivalent, as provided by copyright law.
   3.154 +
   3.155 +  You may make, run and propagate covered works that you do not
   3.156 +convey, without conditions so long as your license otherwise remains
   3.157 +in force.  You may convey covered works to others for the sole purpose
   3.158 +of having them make modifications exclusively for you, or provide you
   3.159 +with facilities for running those works, provided that you comply with
   3.160 +the terms of this License in conveying all material for which you do
   3.161 +not control copyright.  Those thus making or running the covered works
   3.162 +for you must do so exclusively on your behalf, under your direction
   3.163 +and control, on terms that prohibit them from making any copies of
   3.164 +your copyrighted material outside their relationship with you.
   3.165 +
   3.166 +  Conveying under any other circumstances is permitted solely under
   3.167 +the conditions stated below.  Sublicensing is not allowed; section 10
   3.168 +makes it unnecessary.
   3.169 +
   3.170 +  3. Protecting Users' Legal Rights From Anti-Circumvention Law.
   3.171 +
   3.172 +  No covered work shall be deemed part of an effective technological
   3.173 +measure under any applicable law fulfilling obligations under article
   3.174 +11 of the WIPO copyright treaty adopted on 20 December 1996, or
   3.175 +similar laws prohibiting or restricting circumvention of such
   3.176 +measures.
   3.177 +
   3.178 +  When you convey a covered work, you waive any legal power to forbid
   3.179 +circumvention of technological measures to the extent such circumvention
   3.180 +is effected by exercising rights under this License with respect to
   3.181 +the covered work, and you disclaim any intention to limit operation or
   3.182 +modification of the work as a means of enforcing, against the work's
   3.183 +users, your or third parties' legal rights to forbid circumvention of
   3.184 +technological measures.
   3.185 +
   3.186 +  4. Conveying Verbatim Copies.
   3.187 +
   3.188 +  You may convey verbatim copies of the Program's source code as you
   3.189 +receive it, in any medium, provided that you conspicuously and
   3.190 +appropriately publish on each copy an appropriate copyright notice;
   3.191 +keep intact all notices stating that this License and any
   3.192 +non-permissive terms added in accord with section 7 apply to the code;
   3.193 +keep intact all notices of the absence of any warranty; and give all
   3.194 +recipients a copy of this License along with the Program.
   3.195 +
   3.196 +  You may charge any price or no price for each copy that you convey,
   3.197 +and you may offer support or warranty protection for a fee.
   3.198 +
   3.199 +  5. Conveying Modified Source Versions.
   3.200 +
   3.201 +  You may convey a work based on the Program, or the modifications to
   3.202 +produce it from the Program, in the form of source code under the
   3.203 +terms of section 4, provided that you also meet all of these conditions:
   3.204 +
   3.205 +    a) The work must carry prominent notices stating that you modified
   3.206 +    it, and giving a relevant date.
   3.207 +
   3.208 +    b) The work must carry prominent notices stating that it is
   3.209 +    released under this License and any conditions added under section
   3.210 +    7.  This requirement modifies the requirement in section 4 to
   3.211 +    "keep intact all notices".
   3.212 +
   3.213 +    c) You must license the entire work, as a whole, under this
   3.214 +    License to anyone who comes into possession of a copy.  This
   3.215 +    License will therefore apply, along with any applicable section 7
   3.216 +    additional terms, to the whole of the work, and all its parts,
   3.217 +    regardless of how they are packaged.  This License gives no
   3.218 +    permission to license the work in any other way, but it does not
   3.219 +    invalidate such permission if you have separately received it.
   3.220 +
   3.221 +    d) If the work has interactive user interfaces, each must display
   3.222 +    Appropriate Legal Notices; however, if the Program has interactive
   3.223 +    interfaces that do not display Appropriate Legal Notices, your
   3.224 +    work need not make them do so.
   3.225 +
   3.226 +  A compilation of a covered work with other separate and independent
   3.227 +works, which are not by their nature extensions of the covered work,
   3.228 +and which are not combined with it such as to form a larger program,
   3.229 +in or on a volume of a storage or distribution medium, is called an
   3.230 +"aggregate" if the compilation and its resulting copyright are not
   3.231 +used to limit the access or legal rights of the compilation's users
   3.232 +beyond what the individual works permit.  Inclusion of a covered work
   3.233 +in an aggregate does not cause this License to apply to the other
   3.234 +parts of the aggregate.
   3.235 +
   3.236 +  6. Conveying Non-Source Forms.
   3.237 +
   3.238 +  You may convey a covered work in object code form under the terms
   3.239 +of sections 4 and 5, provided that you also convey the
   3.240 +machine-readable Corresponding Source under the terms of this License,
   3.241 +in one of these ways:
   3.242 +
   3.243 +    a) Convey the object code in, or embodied in, a physical product
   3.244 +    (including a physical distribution medium), accompanied by the
   3.245 +    Corresponding Source fixed on a durable physical medium
   3.246 +    customarily used for software interchange.
   3.247 +
   3.248 +    b) Convey the object code in, or embodied in, a physical product
   3.249 +    (including a physical distribution medium), accompanied by a
   3.250 +    written offer, valid for at least three years and valid for as
   3.251 +    long as you offer spare parts or customer support for that product
   3.252 +    model, to give anyone who possesses the object code either (1) a
   3.253 +    copy of the Corresponding Source for all the software in the
   3.254 +    product that is covered by this License, on a durable physical
   3.255 +    medium customarily used for software interchange, for a price no
   3.256 +    more than your reasonable cost of physically performing this
   3.257 +    conveying of source, or (2) access to copy the
   3.258 +    Corresponding Source from a network server at no charge.
   3.259 +
   3.260 +    c) Convey individual copies of the object code with a copy of the
   3.261 +    written offer to provide the Corresponding Source.  This
   3.262 +    alternative is allowed only occasionally and noncommercially, and
   3.263 +    only if you received the object code with such an offer, in accord
   3.264 +    with subsection 6b.
   3.265 +
   3.266 +    d) Convey the object code by offering access from a designated
   3.267 +    place (gratis or for a charge), and offer equivalent access to the
   3.268 +    Corresponding Source in the same way through the same place at no
   3.269 +    further charge.  You need not require recipients to copy the
   3.270 +    Corresponding Source along with the object code.  If the place to
   3.271 +    copy the object code is a network server, the Corresponding Source
   3.272 +    may be on a different server (operated by you or a third party)
   3.273 +    that supports equivalent copying facilities, provided you maintain
   3.274 +    clear directions next to the object code saying where to find the
   3.275 +    Corresponding Source.  Regardless of what server hosts the
   3.276 +    Corresponding Source, you remain obligated to ensure that it is
   3.277 +    available for as long as needed to satisfy these requirements.
   3.278 +
   3.279 +    e) Convey the object code using peer-to-peer transmission, provided
   3.280 +    you inform other peers where the object code and Corresponding
   3.281 +    Source of the work are being offered to the general public at no
   3.282 +    charge under subsection 6d.
   3.283 +
   3.284 +  A separable portion of the object code, whose source code is excluded
   3.285 +from the Corresponding Source as a System Library, need not be
   3.286 +included in conveying the object code work.
   3.287 +
   3.288 +  A "User Product" is either (1) a "consumer product", which means any
   3.289 +tangible personal property which is normally used for personal, family,
   3.290 +or household purposes, or (2) anything designed or sold for incorporation
   3.291 +into a dwelling.  In determining whether a product is a consumer product,
   3.292 +doubtful cases shall be resolved in favor of coverage.  For a particular
   3.293 +product received by a particular user, "normally used" refers to a
   3.294 +typical or common use of that class of product, regardless of the status
   3.295 +of the particular user or of the way in which the particular user
   3.296 +actually uses, or expects or is expected to use, the product.  A product
   3.297 +is a consumer product regardless of whether the product has substantial
   3.298 +commercial, industrial or non-consumer uses, unless such uses represent
   3.299 +the only significant mode of use of the product.
   3.300 +
   3.301 +  "Installation Information" for a User Product means any methods,
   3.302 +procedures, authorization keys, or other information required to install
   3.303 +and execute modified versions of a covered work in that User Product from
   3.304 +a modified version of its Corresponding Source.  The information must
   3.305 +suffice to ensure that the continued functioning of the modified object
   3.306 +code is in no case prevented or interfered with solely because
   3.307 +modification has been made.
   3.308 +
   3.309 +  If you convey an object code work under this section in, or with, or
   3.310 +specifically for use in, a User Product, and the conveying occurs as
   3.311 +part of a transaction in which the right of possession and use of the
   3.312 +User Product is transferred to the recipient in perpetuity or for a
   3.313 +fixed term (regardless of how the transaction is characterized), the
   3.314 +Corresponding Source conveyed under this section must be accompanied
   3.315 +by the Installation Information.  But this requirement does not apply
   3.316 +if neither you nor any third party retains the ability to install
   3.317 +modified object code on the User Product (for example, the work has
   3.318 +been installed in ROM).
   3.319 +
   3.320 +  The requirement to provide Installation Information does not include a
   3.321 +requirement to continue to provide support service, warranty, or updates
   3.322 +for a work that has been modified or installed by the recipient, or for
   3.323 +the User Product in which it has been modified or installed.  Access to a
   3.324 +network may be denied when the modification itself materially and
   3.325 +adversely affects the operation of the network or violates the rules and
   3.326 +protocols for communication across the network.
   3.327 +
   3.328 +  Corresponding Source conveyed, and Installation Information provided,
   3.329 +in accord with this section must be in a format that is publicly
   3.330 +documented (and with an implementation available to the public in
   3.331 +source code form), and must require no special password or key for
   3.332 +unpacking, reading or copying.
   3.333 +
   3.334 +  7. Additional Terms.
   3.335 +
   3.336 +  "Additional permissions" are terms that supplement the terms of this
   3.337 +License by making exceptions from one or more of its conditions.
   3.338 +Additional permissions that are applicable to the entire Program shall
   3.339 +be treated as though they were included in this License, to the extent
   3.340 +that they are valid under applicable law.  If additional permissions
   3.341 +apply only to part of the Program, that part may be used separately
   3.342 +under those permissions, but the entire Program remains governed by
   3.343 +this License without regard to the additional permissions.
   3.344 +
   3.345 +  When you convey a copy of a covered work, you may at your option
   3.346 +remove any additional permissions from that copy, or from any part of
   3.347 +it.  (Additional permissions may be written to require their own
   3.348 +removal in certain cases when you modify the work.)  You may place
   3.349 +additional permissions on material, added by you to a covered work,
   3.350 +for which you have or can give appropriate copyright permission.
   3.351 +
   3.352 +  Notwithstanding any other provision of this License, for material you
   3.353 +add to a covered work, you may (if authorized by the copyright holders of
   3.354 +that material) supplement the terms of this License with terms:
   3.355 +
   3.356 +    a) Disclaiming warranty or limiting liability differently from the
   3.357 +    terms of sections 15 and 16 of this License; or
   3.358 +
   3.359 +    b) Requiring preservation of specified reasonable legal notices or
   3.360 +    author attributions in that material or in the Appropriate Legal
   3.361 +    Notices displayed by works containing it; or
   3.362 +
   3.363 +    c) Prohibiting misrepresentation of the origin of that material, or
   3.364 +    requiring that modified versions of such material be marked in
   3.365 +    reasonable ways as different from the original version; or
   3.366 +
   3.367 +    d) Limiting the use for publicity purposes of names of licensors or
   3.368 +    authors of the material; or
   3.369 +
   3.370 +    e) Declining to grant rights under trademark law for use of some
   3.371 +    trade names, trademarks, or service marks; or
   3.372 +
   3.373 +    f) Requiring indemnification of licensors and authors of that
   3.374 +    material by anyone who conveys the material (or modified versions of
   3.375 +    it) with contractual assumptions of liability to the recipient, for
   3.376 +    any liability that these contractual assumptions directly impose on
   3.377 +    those licensors and authors.
   3.378 +
   3.379 +  All other non-permissive additional terms are considered "further
   3.380 +restrictions" within the meaning of section 10.  If the Program as you
   3.381 +received it, or any part of it, contains a notice stating that it is
   3.382 +governed by this License along with a term that is a further
   3.383 +restriction, you may remove that term.  If a license document contains
   3.384 +a further restriction but permits relicensing or conveying under this
   3.385 +License, you may add to a covered work material governed by the terms
   3.386 +of that license document, provided that the further restriction does
   3.387 +not survive such relicensing or conveying.
   3.388 +
   3.389 +  If you add terms to a covered work in accord with this section, you
   3.390 +must place, in the relevant source files, a statement of the
   3.391 +additional terms that apply to those files, or a notice indicating
   3.392 +where to find the applicable terms.
   3.393 +
   3.394 +  Additional terms, permissive or non-permissive, may be stated in the
   3.395 +form of a separately written license, or stated as exceptions;
   3.396 +the above requirements apply either way.
   3.397 +
   3.398 +  8. Termination.
   3.399 +
   3.400 +  You may not propagate or modify a covered work except as expressly
   3.401 +provided under this License.  Any attempt otherwise to propagate or
   3.402 +modify it is void, and will automatically terminate your rights under
   3.403 +this License (including any patent licenses granted under the third
   3.404 +paragraph of section 11).
   3.405 +
   3.406 +  However, if you cease all violation of this License, then your
   3.407 +license from a particular copyright holder is reinstated (a)
   3.408 +provisionally, unless and until the copyright holder explicitly and
   3.409 +finally terminates your license, and (b) permanently, if the copyright
   3.410 +holder fails to notify you of the violation by some reasonable means
   3.411 +prior to 60 days after the cessation.
   3.412 +
   3.413 +  Moreover, your license from a particular copyright holder is
   3.414 +reinstated permanently if the copyright holder notifies you of the
   3.415 +violation by some reasonable means, this is the first time you have
   3.416 +received notice of violation of this License (for any work) from that
   3.417 +copyright holder, and you cure the violation prior to 30 days after
   3.418 +your receipt of the notice.
   3.419 +
   3.420 +  Termination of your rights under this section does not terminate the
   3.421 +licenses of parties who have received copies or rights from you under
   3.422 +this License.  If your rights have been terminated and not permanently
   3.423 +reinstated, you do not qualify to receive new licenses for the same
   3.424 +material under section 10.
   3.425 +
   3.426 +  9. Acceptance Not Required for Having Copies.
   3.427 +
   3.428 +  You are not required to accept this License in order to receive or
   3.429 +run a copy of the Program.  Ancillary propagation of a covered work
   3.430 +occurring solely as a consequence of using peer-to-peer transmission
   3.431 +to receive a copy likewise does not require acceptance.  However,
   3.432 +nothing other than this License grants you permission to propagate or
   3.433 +modify any covered work.  These actions infringe copyright if you do
   3.434 +not accept this License.  Therefore, by modifying or propagating a
   3.435 +covered work, you indicate your acceptance of this License to do so.
   3.436 +
   3.437 +  10. Automatic Licensing of Downstream Recipients.
   3.438 +
   3.439 +  Each time you convey a covered work, the recipient automatically
   3.440 +receives a license from the original licensors, to run, modify and
   3.441 +propagate that work, subject to this License.  You are not responsible
   3.442 +for enforcing compliance by third parties with this License.
   3.443 +
   3.444 +  An "entity transaction" is a transaction transferring control of an
   3.445 +organization, or substantially all assets of one, or subdividing an
   3.446 +organization, or merging organizations.  If propagation of a covered
   3.447 +work results from an entity transaction, each party to that
   3.448 +transaction who receives a copy of the work also receives whatever
   3.449 +licenses to the work the party's predecessor in interest had or could
   3.450 +give under the previous paragraph, plus a right to possession of the
   3.451 +Corresponding Source of the work from the predecessor in interest, if
   3.452 +the predecessor has it or can get it with reasonable efforts.
   3.453 +
   3.454 +  You may not impose any further restrictions on the exercise of the
   3.455 +rights granted or affirmed under this License.  For example, you may
   3.456 +not impose a license fee, royalty, or other charge for exercise of
   3.457 +rights granted under this License, and you may not initiate litigation
   3.458 +(including a cross-claim or counterclaim in a lawsuit) alleging that
   3.459 +any patent claim is infringed by making, using, selling, offering for
   3.460 +sale, or importing the Program or any portion of it.
   3.461 +
   3.462 +  11. Patents.
   3.463 +
   3.464 +  A "contributor" is a copyright holder who authorizes use under this
   3.465 +License of the Program or a work on which the Program is based.  The
   3.466 +work thus licensed is called the contributor's "contributor version".
   3.467 +
   3.468 +  A contributor's "essential patent claims" are all patent claims
   3.469 +owned or controlled by the contributor, whether already acquired or
   3.470 +hereafter acquired, that would be infringed by some manner, permitted
   3.471 +by this License, of making, using, or selling its contributor version,
   3.472 +but do not include claims that would be infringed only as a
   3.473 +consequence of further modification of the contributor version.  For
   3.474 +purposes of this definition, "control" includes the right to grant
   3.475 +patent sublicenses in a manner consistent with the requirements of
   3.476 +this License.
   3.477 +
   3.478 +  Each contributor grants you a non-exclusive, worldwide, royalty-free
   3.479 +patent license under the contributor's essential patent claims, to
   3.480 +make, use, sell, offer for sale, import and otherwise run, modify and
   3.481 +propagate the contents of its contributor version.
   3.482 +
   3.483 +  In the following three paragraphs, a "patent license" is any express
   3.484 +agreement or commitment, however denominated, not to enforce a patent
   3.485 +(such as an express permission to practice a patent or covenant not to
   3.486 +sue for patent infringement).  To "grant" such a patent license to a
   3.487 +party means to make such an agreement or commitment not to enforce a
   3.488 +patent against the party.
   3.489 +
   3.490 +  If you convey a covered work, knowingly relying on a patent license,
   3.491 +and the Corresponding Source of the work is not available for anyone
   3.492 +to copy, free of charge and under the terms of this License, through a
   3.493 +publicly available network server or other readily accessible means,
   3.494 +then you must either (1) cause the Corresponding Source to be so
   3.495 +available, or (2) arrange to deprive yourself of the benefit of the
   3.496 +patent license for this particular work, or (3) arrange, in a manner
   3.497 +consistent with the requirements of this License, to extend the patent
   3.498 +license to downstream recipients.  "Knowingly relying" means you have
   3.499 +actual knowledge that, but for the patent license, your conveying the
   3.500 +covered work in a country, or your recipient's use of the covered work
   3.501 +in a country, would infringe one or more identifiable patents in that
   3.502 +country that you have reason to believe are valid.
   3.503 +
   3.504 +  If, pursuant to or in connection with a single transaction or
   3.505 +arrangement, you convey, or propagate by procuring conveyance of, a
   3.506 +covered work, and grant a patent license to some of the parties
   3.507 +receiving the covered work authorizing them to use, propagate, modify
   3.508 +or convey a specific copy of the covered work, then the patent license
   3.509 +you grant is automatically extended to all recipients of the covered
   3.510 +work and works based on it.
   3.511 +
   3.512 +  A patent license is "discriminatory" if it does not include within
   3.513 +the scope of its coverage, prohibits the exercise of, or is
   3.514 +conditioned on the non-exercise of one or more of the rights that are
   3.515 +specifically granted under this License.  You may not convey a covered
   3.516 +work if you are a party to an arrangement with a third party that is
   3.517 +in the business of distributing software, under which you make payment
   3.518 +to the third party based on the extent of your activity of conveying
   3.519 +the work, and under which the third party grants, to any of the
   3.520 +parties who would receive the covered work from you, a discriminatory
   3.521 +patent license (a) in connection with copies of the covered work
   3.522 +conveyed by you (or copies made from those copies), or (b) primarily
   3.523 +for and in connection with specific products or compilations that
   3.524 +contain the covered work, unless you entered into that arrangement,
   3.525 +or that patent license was granted, prior to 28 March 2007.
   3.526 +
   3.527 +  Nothing in this License shall be construed as excluding or limiting
   3.528 +any implied license or other defenses to infringement that may
   3.529 +otherwise be available to you under applicable patent law.
   3.530 +
   3.531 +  12. No Surrender of Others' Freedom.
   3.532 +
   3.533 +  If conditions are imposed on you (whether by court order, agreement or
   3.534 +otherwise) that contradict the conditions of this License, they do not
   3.535 +excuse you from the conditions of this License.  If you cannot convey a
   3.536 +covered work so as to satisfy simultaneously your obligations under this
   3.537 +License and any other pertinent obligations, then as a consequence you may
   3.538 +not convey it at all.  For example, if you agree to terms that obligate you
   3.539 +to collect a royalty for further conveying from those to whom you convey
   3.540 +the Program, the only way you could satisfy both those terms and this
   3.541 +License would be to refrain entirely from conveying the Program.
   3.542 +
   3.543 +  13. Remote Network Interaction; Use with the GNU General Public License.
   3.544 +
   3.545 +  Notwithstanding any other provision of this License, if you modify the
   3.546 +Program, your modified version must prominently offer all users
   3.547 +interacting with it remotely through a computer network (if your version
   3.548 +supports such interaction) an opportunity to receive the Corresponding
   3.549 +Source of your version by providing access to the Corresponding Source
   3.550 +from a network server at no charge, through some standard or customary
   3.551 +means of facilitating copying of software.  This Corresponding Source
   3.552 +shall include the Corresponding Source for any work covered by version 3
   3.553 +of the GNU General Public License that is incorporated pursuant to the
   3.554 +following paragraph.
   3.555 +
   3.556 +  Notwithstanding any other provision of this License, you have
   3.557 +permission to link or combine any covered work with a work licensed
   3.558 +under version 3 of the GNU General Public License into a single
   3.559 +combined work, and to convey the resulting work.  The terms of this
   3.560 +License will continue to apply to the part which is the covered work,
   3.561 +but the work with which it is combined will remain governed by version
   3.562 +3 of the GNU General Public License.
   3.563 +
   3.564 +  14. Revised Versions of this License.
   3.565 +
   3.566 +  The Free Software Foundation may publish revised and/or new versions of
   3.567 +the GNU Affero General Public License from time to time.  Such new versions
   3.568 +will be similar in spirit to the present version, but may differ in detail to
   3.569 +address new problems or concerns.
   3.570 +
   3.571 +  Each version is given a distinguishing version number.  If the
   3.572 +Program specifies that a certain numbered version of the GNU Affero General
   3.573 +Public License "or any later version" applies to it, you have the
   3.574 +option of following the terms and conditions either of that numbered
   3.575 +version or of any later version published by the Free Software
   3.576 +Foundation.  If the Program does not specify a version number of the
   3.577 +GNU Affero General Public License, you may choose any version ever published
   3.578 +by the Free Software Foundation.
   3.579 +
   3.580 +  If the Program specifies that a proxy can decide which future
   3.581 +versions of the GNU Affero General Public License can be used, that proxy's
   3.582 +public statement of acceptance of a version permanently authorizes you
   3.583 +to choose that version for the Program.
   3.584 +
   3.585 +  Later license versions may give you additional or different
   3.586 +permissions.  However, no additional obligations are imposed on any
   3.587 +author or copyright holder as a result of your choosing to follow a
   3.588 +later version.
   3.589 +
   3.590 +  15. Disclaimer of Warranty.
   3.591 +
   3.592 +  THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
   3.593 +APPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
   3.594 +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
   3.595 +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
   3.596 +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
   3.597 +PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
   3.598 +IS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
   3.599 +ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
   3.600 +
   3.601 +  16. Limitation of Liability.
   3.602 +
   3.603 +  IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
   3.604 +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
   3.605 +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
   3.606 +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
   3.607 +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
   3.608 +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
   3.609 +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
   3.610 +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
   3.611 +SUCH DAMAGES.
   3.612 +
   3.613 +  17. Interpretation of Sections 15 and 16.
   3.614 +
   3.615 +  If the disclaimer of warranty and limitation of liability provided
   3.616 +above cannot be given local legal effect according to their terms,
   3.617 +reviewing courts shall apply local law that most closely approximates
   3.618 +an absolute waiver of all civil liability in connection with the
   3.619 +Program, unless a warranty or assumption of liability accompanies a
   3.620 +copy of the Program in return for a fee.
   3.621 +
   3.622 +                     END OF TERMS AND CONDITIONS
   3.623 +
   3.624 +            How to Apply These Terms to Your New Programs
   3.625 +
   3.626 +  If you develop a new program, and you want it to be of the greatest
   3.627 +possible use to the public, the best way to achieve this is to make it
   3.628 +free software which everyone can redistribute and change under these terms.
   3.629 +
   3.630 +  To do so, attach the following notices to the program.  It is safest
   3.631 +to attach them to the start of each source file to most effectively
   3.632 +state the exclusion of warranty; and each file should have at least
   3.633 +the "copyright" line and a pointer to where the full notice is found.
   3.634 +
   3.635 +    <one line to give the program's name and a brief idea of what it does.>
   3.636 +    Copyright (C) <year>  <name of author>
   3.637 +
   3.638 +    This program is free software: you can redistribute it and/or modify
   3.639 +    it under the terms of the GNU Affero General Public License as published by
   3.640 +    the Free Software Foundation, either version 3 of the License, or
   3.641 +    (at your option) any later version.
   3.642 +
   3.643 +    This program is distributed in the hope that it will be useful,
   3.644 +    but WITHOUT ANY WARRANTY; without even the implied warranty of
   3.645 +    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   3.646 +    GNU Affero General Public License for more details.
   3.647 +
   3.648 +    You should have received a copy of the GNU Affero General Public License
   3.649 +    along with this program.  If not, see <http://www.gnu.org/licenses/>.
   3.650 +
   3.651 +Also add information on how to contact you by electronic and paper mail.
   3.652 +
   3.653 +  If your software can interact with users remotely through a computer
   3.654 +network, you should also make sure that it provides a way for users to
   3.655 +get its source.  For example, if your program is a web application, its
   3.656 +interface could display a "Source" link that leads users to an archive
   3.657 +of the code.  There are many ways you could offer source, and different
   3.658 +solutions will be better for different programs; see section 13 for the
   3.659 +specific requirements.
   3.660 +
   3.661 +  You should also get your employer (if you work as a programmer) or school,
   3.662 +if any, to sign a "copyright disclaimer" for the program, if necessary.
   3.663 +For more information on this, and how to apply and follow the GNU AGPL, see
   3.664 +<http://www.gnu.org/licenses/>.
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/licence/licence.txt	Wed May 06 13:12:03 2009 +0200
     4.3 @@ -0,0 +1,12 @@
     4.4 +Zdrojové kódy pro server veverka.ch vydávám pod licencí:
     4.5 +GNU Affero General Public License, verze 3
     4.6 +
     4.7 +  viz agpl-3.0.txt
     4.8 +  viz http://www.fsf.org/licensing/licenses/agpl-3.0.html
     4.9 +
    4.10 +
    4.11 +František Kučera
    4.12 +
    4.13 +  http://frantovo.cz/blog
    4.14 +  http://frantovo.cz/
    4.15 +  franta-hg@frantovo.cz
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/php/heslo/.htaccess	Wed May 06 13:12:03 2009 +0200
     5.3 @@ -0,0 +1,1 @@
     5.4 +php_flag magic_quotes_gpc Off
     6.1 --- a/php/heslo/lib/funkce.inc.php	Wed May 06 01:57:46 2009 +0200
     6.2 +++ b/php/heslo/lib/funkce.inc.php	Wed May 06 13:12:03 2009 +0200
     6.3 @@ -33,8 +33,6 @@
     6.4      <meta name="GOOGLEBOT" content="NOINDEX, NOFOLLOW"/>
     6.5      <meta name="ROBOTS" content="NOINDEX, NOFOLLOW"/>
     6.6      <link href="styl.css" type="text/css" rel="StyleSheet"/>
     6.7 -    <script type="text/javaScript" src="hlavni.js"></script>
     6.8 -    <script type="text/javaScript" src="tridenitabulky.js"></script>
     6.9      <title>' . $nadpis . '</title>
    6.10    </head>
    6.11    <body>  
     7.1 --- a/sql/schéma.sql	Wed May 06 01:57:46 2009 +0200
     7.2 +++ b/sql/schéma.sql	Wed May 06 13:12:03 2009 +0200
     7.3 @@ -2,7 +2,7 @@
     7.4  -- PostgreSQL database dump
     7.5  --
     7.6  
     7.7 --- Started on 2009-05-05 16:25:08 CEST
     7.8 +-- Started on 2009-05-06 02:13:29 CEST
     7.9  
    7.10  SET client_encoding = 'UTF8';
    7.11  SET standard_conforming_strings = off;
    7.12 @@ -11,7 +11,7 @@
    7.13  SET escape_string_warning = off;
    7.14  
    7.15  --
    7.16 --- TOC entry 6 (class 2615 OID 16387)
    7.17 +-- TOC entry 8 (class 2615 OID 16387)
    7.18  -- Name: posta; Type: SCHEMA; Schema: -; Owner: -
    7.19  --
    7.20  
    7.21 @@ -21,23 +21,33 @@
    7.22  SET search_path = posta, pg_catalog;
    7.23  
    7.24  --
    7.25 --- TOC entry 22 (class 1255 OID 16646)
    7.26 --- Dependencies: 6
    7.27 +-- TOC entry 55 (class 1255 OID 16694)
    7.28 +-- Dependencies: 364 8
    7.29  -- Name: zmen_heslo(character varying, character varying, character varying, character varying); Type: FUNCTION; Schema: posta; Owner: -
    7.30  --
    7.31  
    7.32 -CREATE FUNCTION zmen_heslo(login character varying, domena character varying, stare_heslo character varying, nove_heslo character varying) RETURNS void
    7.33 -    AS $_$UPDATE uzivatel
    7.34 +CREATE FUNCTION zmen_heslo(login character varying, domena character varying, stare_heslo character varying, nove_heslo character varying) RETURNS text
    7.35 +    AS $_$DECLARE pocet integer;
    7.36 +BEGIN
    7.37 +UPDATE uzivatel
    7.38   SET heslo = md5($4)
    7.39   WHERE 	login = $1
    7.40  	AND domena = $2
    7.41 -	AND heslo = md5($3);$_$
    7.42 -    LANGUAGE sql SECURITY DEFINER;
    7.43 +	AND heslo = md5($3);
    7.44 +	GET DIAGNOSTICS pocet = ROW_COUNT;
    7.45 +	IF pocet = 1 THEN
    7.46 +		RETURN 'Změna hesla pro ' || $1 || '@' || $2 || ' proběhla úspěšně.';
    7.47 +	ELSE
    7.48 +		RAISE EXCEPTION 'Nesprávné heslo, nebo uživatel % neexistuje', $1 || '@' || $2;
    7.49 +	END IF;
    7.50 +END;
    7.51 +	$_$
    7.52 +    LANGUAGE plpgsql SECURITY DEFINER;
    7.53  
    7.54  
    7.55  --
    7.56 --- TOC entry 1801 (class 0 OID 0)
    7.57 --- Dependencies: 22
    7.58 +-- TOC entry 1835 (class 0 OID 0)
    7.59 +-- Dependencies: 55
    7.60  -- Name: FUNCTION zmen_heslo(login character varying, domena character varying, stare_heslo character varying, nove_heslo character varying); Type: COMMENT; Schema: posta; Owner: -
    7.61  --
    7.62  
    7.63 @@ -49,8 +59,8 @@
    7.64  SET default_with_oids = false;
    7.65  
    7.66  --
    7.67 --- TOC entry 1515 (class 1259 OID 16550)
    7.68 --- Dependencies: 6
    7.69 +-- TOC entry 1549 (class 1259 OID 16550)
    7.70 +-- Dependencies: 8
    7.71  -- Name: alias; Type: TABLE; Schema: posta; Owner: -; Tablespace: 
    7.72  --
    7.73  
    7.74 @@ -62,8 +72,8 @@
    7.75  
    7.76  
    7.77  --
    7.78 --- TOC entry 1502 (class 1259 OID 16396)
    7.79 --- Dependencies: 6
    7.80 +-- TOC entry 1536 (class 1259 OID 16396)
    7.81 +-- Dependencies: 8
    7.82  -- Name: domena; Type: TABLE; Schema: posta; Owner: -; Tablespace: 
    7.83  --
    7.84  
    7.85 @@ -73,8 +83,8 @@
    7.86  
    7.87  
    7.88  --
    7.89 --- TOC entry 1503 (class 1259 OID 16409)
    7.90 --- Dependencies: 6
    7.91 +-- TOC entry 1537 (class 1259 OID 16409)
    7.92 +-- Dependencies: 8
    7.93  -- Name: uzivatel; Type: TABLE; Schema: posta; Owner: -; Tablespace: 
    7.94  --
    7.95  
    7.96 @@ -86,8 +96,8 @@
    7.97  
    7.98  
    7.99  --
   7.100 --- TOC entry 1517 (class 1259 OID 16602)
   7.101 --- Dependencies: 1596 6
   7.102 +-- TOC entry 1551 (class 1259 OID 16602)
   7.103 +-- Dependencies: 1630 8
   7.104  -- Name: dovecot_heslo; Type: VIEW; Schema: posta; Owner: -
   7.105  --
   7.106  
   7.107 @@ -96,8 +106,8 @@
   7.108  
   7.109  
   7.110  --
   7.111 --- TOC entry 1519 (class 1259 OID 16631)
   7.112 --- Dependencies: 1598 6
   7.113 +-- TOC entry 1553 (class 1259 OID 16631)
   7.114 +-- Dependencies: 1632 8
   7.115  -- Name: dovecot_uzivatel; Type: VIEW; Schema: posta; Owner: -
   7.116  --
   7.117  
   7.118 @@ -106,8 +116,8 @@
   7.119  
   7.120  
   7.121  --
   7.122 --- TOC entry 1516 (class 1259 OID 16563)
   7.123 --- Dependencies: 1595 6
   7.124 +-- TOC entry 1550 (class 1259 OID 16563)
   7.125 +-- Dependencies: 1629 8
   7.126  -- Name: postfix_alias; Type: VIEW; Schema: posta; Owner: -
   7.127  --
   7.128  
   7.129 @@ -116,8 +126,8 @@
   7.130  
   7.131  
   7.132  --
   7.133 --- TOC entry 1518 (class 1259 OID 16607)
   7.134 --- Dependencies: 1597 6
   7.135 +-- TOC entry 1552 (class 1259 OID 16607)
   7.136 +-- Dependencies: 1631 8
   7.137  -- Name: postfix_uzivatel; Type: VIEW; Schema: posta; Owner: -
   7.138  --
   7.139  
   7.140 @@ -126,8 +136,8 @@
   7.141  
   7.142  
   7.143  --
   7.144 --- TOC entry 1795 (class 2606 OID 16557)
   7.145 --- Dependencies: 1515 1515 1515 1515
   7.146 +-- TOC entry 1829 (class 2606 OID 16557)
   7.147 +-- Dependencies: 1549 1549 1549 1549
   7.148  -- Name: aliasy_pk; Type: CONSTRAINT; Schema: posta; Owner: -; Tablespace: 
   7.149  --
   7.150  
   7.151 @@ -136,8 +146,8 @@
   7.152  
   7.153  
   7.154  --
   7.155 --- TOC entry 1791 (class 2606 OID 16400)
   7.156 --- Dependencies: 1502 1502
   7.157 +-- TOC entry 1825 (class 2606 OID 16400)
   7.158 +-- Dependencies: 1536 1536
   7.159  -- Name: domena_pk; Type: CONSTRAINT; Schema: posta; Owner: -; Tablespace: 
   7.160  --
   7.161  
   7.162 @@ -146,8 +156,8 @@
   7.163  
   7.164  
   7.165  --
   7.166 --- TOC entry 1793 (class 2606 OID 16416)
   7.167 --- Dependencies: 1503 1503 1503
   7.168 +-- TOC entry 1827 (class 2606 OID 16416)
   7.169 +-- Dependencies: 1537 1537 1537
   7.170  -- Name: uzivatel_pk; Type: CONSTRAINT; Schema: posta; Owner: -; Tablespace: 
   7.171  --
   7.172  
   7.173 @@ -156,8 +166,8 @@
   7.174  
   7.175  
   7.176  --
   7.177 --- TOC entry 1797 (class 2606 OID 16558)
   7.178 --- Dependencies: 1790 1515 1502
   7.179 +-- TOC entry 1831 (class 2606 OID 16558)
   7.180 +-- Dependencies: 1824 1536 1549
   7.181  -- Name: alias_domena_fk; Type: FK CONSTRAINT; Schema: posta; Owner: -
   7.182  --
   7.183  
   7.184 @@ -166,8 +176,8 @@
   7.185  
   7.186  
   7.187  --
   7.188 --- TOC entry 1796 (class 2606 OID 16417)
   7.189 --- Dependencies: 1503 1502 1790
   7.190 +-- TOC entry 1830 (class 2606 OID 16417)
   7.191 +-- Dependencies: 1537 1536 1824
   7.192  -- Name: uzivatel_domena_fk; Type: FK CONSTRAINT; Schema: posta; Owner: -
   7.193  --
   7.194  
   7.195 @@ -176,8 +186,8 @@
   7.196  
   7.197  
   7.198  --
   7.199 --- TOC entry 1800 (class 0 OID 0)
   7.200 --- Dependencies: 6
   7.201 +-- TOC entry 1834 (class 0 OID 0)
   7.202 +-- Dependencies: 8
   7.203  -- Name: posta; Type: ACL; Schema: -; Owner: -
   7.204  --
   7.205  
   7.206 @@ -185,11 +195,25 @@
   7.207  REVOKE ALL ON SCHEMA posta FROM posta;
   7.208  GRANT ALL ON SCHEMA posta TO posta;
   7.209  GRANT USAGE ON SCHEMA posta TO posta_cteni;
   7.210 +GRANT USAGE ON SCHEMA posta TO posta_zmena_hesla;
   7.211  
   7.212  
   7.213  --
   7.214 --- TOC entry 1802 (class 0 OID 0)
   7.215 --- Dependencies: 1515
   7.216 +-- TOC entry 1836 (class 0 OID 0)
   7.217 +-- Dependencies: 55
   7.218 +-- Name: zmen_heslo(character varying, character varying, character varying, character varying); Type: ACL; Schema: posta; Owner: -
   7.219 +--
   7.220 +
   7.221 +REVOKE ALL ON FUNCTION zmen_heslo(login character varying, domena character varying, stare_heslo character varying, nove_heslo character varying) FROM PUBLIC;
   7.222 +REVOKE ALL ON FUNCTION zmen_heslo(login character varying, domena character varying, stare_heslo character varying, nove_heslo character varying) FROM posta;
   7.223 +GRANT ALL ON FUNCTION zmen_heslo(login character varying, domena character varying, stare_heslo character varying, nove_heslo character varying) TO posta;
   7.224 +GRANT ALL ON FUNCTION zmen_heslo(login character varying, domena character varying, stare_heslo character varying, nove_heslo character varying) TO PUBLIC;
   7.225 +GRANT ALL ON FUNCTION zmen_heslo(login character varying, domena character varying, stare_heslo character varying, nove_heslo character varying) TO posta_zmena_hesla;
   7.226 +
   7.227 +
   7.228 +--
   7.229 +-- TOC entry 1837 (class 0 OID 0)
   7.230 +-- Dependencies: 1549
   7.231  -- Name: alias; Type: ACL; Schema: posta; Owner: -
   7.232  --
   7.233  
   7.234 @@ -199,8 +223,8 @@
   7.235  
   7.236  
   7.237  --
   7.238 --- TOC entry 1803 (class 0 OID 0)
   7.239 --- Dependencies: 1502
   7.240 +-- TOC entry 1838 (class 0 OID 0)
   7.241 +-- Dependencies: 1536
   7.242  -- Name: domena; Type: ACL; Schema: posta; Owner: -
   7.243  --
   7.244  
   7.245 @@ -211,8 +235,8 @@
   7.246  
   7.247  
   7.248  --
   7.249 --- TOC entry 1804 (class 0 OID 0)
   7.250 --- Dependencies: 1503
   7.251 +-- TOC entry 1839 (class 0 OID 0)
   7.252 +-- Dependencies: 1537
   7.253  -- Name: uzivatel; Type: ACL; Schema: posta; Owner: -
   7.254  --
   7.255  
   7.256 @@ -223,8 +247,8 @@
   7.257  
   7.258  
   7.259  --
   7.260 --- TOC entry 1805 (class 0 OID 0)
   7.261 --- Dependencies: 1517
   7.262 +-- TOC entry 1840 (class 0 OID 0)
   7.263 +-- Dependencies: 1551
   7.264  -- Name: dovecot_heslo; Type: ACL; Schema: posta; Owner: -
   7.265  --
   7.266  
   7.267 @@ -235,8 +259,8 @@
   7.268  
   7.269  
   7.270  --
   7.271 --- TOC entry 1806 (class 0 OID 0)
   7.272 --- Dependencies: 1519
   7.273 +-- TOC entry 1841 (class 0 OID 0)
   7.274 +-- Dependencies: 1553
   7.275  -- Name: dovecot_uzivatel; Type: ACL; Schema: posta; Owner: -
   7.276  --
   7.277  
   7.278 @@ -247,8 +271,8 @@
   7.279  
   7.280  
   7.281  --
   7.282 --- TOC entry 1807 (class 0 OID 0)
   7.283 --- Dependencies: 1516
   7.284 +-- TOC entry 1842 (class 0 OID 0)
   7.285 +-- Dependencies: 1550
   7.286  -- Name: postfix_alias; Type: ACL; Schema: posta; Owner: -
   7.287  --
   7.288  
   7.289 @@ -259,8 +283,8 @@
   7.290  
   7.291  
   7.292  --
   7.293 --- TOC entry 1808 (class 0 OID 0)
   7.294 --- Dependencies: 1518
   7.295 +-- TOC entry 1843 (class 0 OID 0)
   7.296 +-- Dependencies: 1552
   7.297  -- Name: postfix_uzivatel; Type: ACL; Schema: posta; Owner: -
   7.298  --
   7.299  
   7.300 @@ -270,7 +294,7 @@
   7.301  GRANT SELECT ON TABLE postfix_uzivatel TO posta_cteni;
   7.302  
   7.303  
   7.304 --- Completed on 2009-05-05 16:25:18 CEST
   7.305 +-- Completed on 2009-05-06 02:13:36 CEST
   7.306  
   7.307  --
   7.308  -- PostgreSQL database dump complete