Browse Source

Que la lumière soit

master
Miraty 3 months ago
parent
commit
e70f5742d8

+ 658
- 611
LICENSE
File diff suppressed because it is too large
View File


+ 748
- 0
LICENSE.html View File

@@ -0,0 +1,748 @@
1
+<!DOCTYPE HTML>
2
+<html>
3
+  <head>
4
+    <title>GNU AFFERO GENERAL PUBLIC LICENSE</title>
5
+    <meta content="">
6
+    <style>
7
+
8
+    html {
9
+      font-family: ubuntu, sans-serif;
10
+      margin-left: 20%;
11
+      margin-right: 20%;
12
+      font-size: 22px;
13
+      background-color: #2d2f34;
14
+      color: white;
15
+      line-height: 30px;
16
+      text-align: justify;
17
+
18
+    }
19
+
20
+    ::selection {
21
+      color: white;
22
+      background-color: red;
23
+    }
24
+
25
+    h1 {
26
+      line-height: 45px;
27
+    }
28
+
29
+    a[href] {
30
+      color: white;
31
+      transition: all 0.5s ease;
32
+
33
+    }
34
+
35
+    a[href]:hover {
36
+      color: red;
37
+
38
+
39
+    }
40
+
41
+    @font-face {
42
+      font-family: "ubuntu";
43
+      src: url('bibli/ubuntu/Ubuntu-R.ttf');
44
+    }
45
+
46
+    @media (max-width: 500px) {
47
+      html {
48
+        margin-left: 8px;
49
+        margin-right: 8px;
50
+      }
51
+    }
52
+
53
+    @media (max-width: 800px) and (min-width: 501px) {
54
+      html {
55
+        margin-left: 10%;
56
+        margin-right: 10%;
57
+      }
58
+    }
59
+
60
+    @media (max-width: 1500px) and (min-width: 801px) {
61
+      html {
62
+        margin-left: 15%;
63
+        margin-right: 15%;
64
+      }
65
+    }
66
+
67
+    </style>
68
+  </head>
69
+  <body>
70
+    <h1 style="text-align: center;">GNU AFFERO GENERAL PUBLIC LICENSE</h1>
71
+    <p style="text-align: center;">Version 3, 19 November 2007</p>
72
+
73
+    <p>Copyright &copy; 2007 Free Software Foundation,
74
+    Inc. &lt;<a href="https://fsf.org/">https://fsf.org/</a>&gt;
75
+     <br />
76
+     Everyone is permitted to copy and distribute verbatim copies
77
+     of this license document, but changing it is not allowed.</p>
78
+
79
+    <h2><a name="preamble"></a>Preamble</h2>
80
+
81
+    <p>The GNU Affero General Public License is a free, copyleft license
82
+    for software and other kinds of works, specifically designed to ensure
83
+    cooperation with the community in the case of network server software.</p>
84
+
85
+    <p>The licenses for most software and other practical works are
86
+    designed to take away your freedom to share and change the works.  By
87
+    contrast, our General Public Licenses are intended to guarantee your
88
+    freedom to share and change all versions of a program--to make sure it
89
+    remains free software for all its users.</p>
90
+
91
+    <p>When we speak of free software, we are referring to freedom, not
92
+    price.  Our General Public Licenses are designed to make sure that you
93
+    have the freedom to distribute copies of free software (and charge for
94
+    them if you wish), that you receive source code or can get it if you
95
+    want it, that you can change the software or use pieces of it in new
96
+    free programs, and that you know you can do these things.</p>
97
+
98
+    <p>Developers that use our General Public Licenses protect your rights
99
+    with two steps: (1) assert copyright on the software, and (2) offer
100
+    you this License which gives you legal permission to copy, distribute
101
+    and/or modify the software.</p>
102
+
103
+    <p>A secondary benefit of defending all users' freedom is that
104
+    improvements made in alternate versions of the program, if they
105
+    receive widespread use, become available for other developers to
106
+    incorporate.  Many developers of free software are heartened and
107
+    encouraged by the resulting cooperation.  However, in the case of
108
+    software used on network servers, this result may fail to come about.
109
+    The GNU General Public License permits making a modified version and
110
+    letting the public access it on a server without ever releasing its
111
+    source code to the public.</p>
112
+
113
+    <p>The GNU Affero General Public License is designed specifically to
114
+    ensure that, in such cases, the modified source code becomes available
115
+    to the community.  It requires the operator of a network server to
116
+    provide the source code of the modified version running there to the
117
+    users of that server.  Therefore, public use of a modified version, on
118
+    a publicly accessible server, gives the public access to the source
119
+    code of the modified version.</p>
120
+
121
+    <p>An older license, called the Affero General Public License and
122
+    published by Affero, was designed to accomplish similar goals.  This is
123
+    a different license, not a version of the Affero GPL, but Affero has
124
+    released a new version of the Affero GPL which permits relicensing under
125
+    this license.</p>
126
+
127
+    <p>The precise terms and conditions for copying, distribution and
128
+    modification follow.</p>
129
+
130
+    <h2><a name="terms"></a>TERMS AND CONDITIONS</h2>
131
+
132
+    <h3><a name="section0"></a>0. Definitions.</h3>
133
+
134
+    <p>&quot;This License&quot; refers to version 3 of the GNU Affero General Public
135
+    License.</p>
136
+
137
+    <p>&quot;Copyright&quot; also means copyright-like laws that apply to other kinds
138
+    of works, such as semiconductor masks.</p>
139
+
140
+    <p>&quot;The Program&quot; refers to any copyrightable work licensed under this
141
+    License.  Each licensee is addressed as &quot;you&quot;.  &quot;Licensees&quot; and
142
+    &quot;recipients&quot; may be individuals or organizations.</p>
143
+
144
+    <p>To &quot;modify&quot; a work means to copy from or adapt all or part of the work
145
+    in a fashion requiring copyright permission, other than the making of an
146
+    exact copy.  The resulting work is called a &quot;modified version&quot; of the
147
+    earlier work or a work &quot;based on&quot; the earlier work.</p>
148
+
149
+    <p>A &quot;covered work&quot; means either the unmodified Program or a work based
150
+    on the Program.</p>
151
+
152
+    <p>To &quot;propagate&quot; a work means to do anything with it that, without
153
+    permission, would make you directly or secondarily liable for
154
+    infringement under applicable copyright law, except executing it on a
155
+    computer or modifying a private copy.  Propagation includes copying,
156
+    distribution (with or without modification), making available to the
157
+    public, and in some countries other activities as well.</p>
158
+
159
+    <p>To &quot;convey&quot; a work means any kind of propagation that enables other
160
+    parties to make or receive copies.  Mere interaction with a user through
161
+    a computer network, with no transfer of a copy, is not conveying.</p>
162
+
163
+    <p>An interactive user interface displays &quot;Appropriate Legal Notices&quot;
164
+    to the extent that it includes a convenient and prominently visible
165
+    feature that (1) displays an appropriate copyright notice, and (2)
166
+    tells the user that there is no warranty for the work (except to the
167
+    extent that warranties are provided), that licensees may convey the
168
+    work under this License, and how to view a copy of this License.  If
169
+    the interface presents a list of user commands or options, such as a
170
+    menu, a prominent item in the list meets this criterion.</p>
171
+
172
+    <h3><a name="section1"></a>1. Source Code.</h3>
173
+
174
+    <p>The &quot;source code&quot; for a work means the preferred form of the work
175
+    for making modifications to it.  &quot;Object code&quot; means any non-source
176
+    form of a work.</p>
177
+
178
+    <p>A &quot;Standard Interface&quot; means an interface that either is an official
179
+    standard defined by a recognized standards body, or, in the case of
180
+    interfaces specified for a particular programming language, one that
181
+    is widely used among developers working in that language.</p>
182
+
183
+    <p>The &quot;System Libraries&quot; of an executable work include anything, other
184
+    than the work as a whole, that (a) is included in the normal form of
185
+    packaging a Major Component, but which is not part of that Major
186
+    Component, and (b) serves only to enable use of the work with that
187
+    Major Component, or to implement a Standard Interface for which an
188
+    implementation is available to the public in source code form.  A
189
+    &quot;Major Component&quot;, in this context, means a major essential component
190
+    (kernel, window system, and so on) of the specific operating system
191
+    (if any) on which the executable work runs, or a compiler used to
192
+    produce the work, or an object code interpreter used to run it.</p>
193
+
194
+    <p>The &quot;Corresponding Source&quot; for a work in object code form means all
195
+    the source code needed to generate, install, and (for an executable
196
+    work) run the object code and to modify the work, including scripts to
197
+    control those activities.  However, it does not include the work's
198
+    System Libraries, or general-purpose tools or generally available free
199
+    programs which are used unmodified in performing those activities but
200
+    which are not part of the work.  For example, Corresponding Source
201
+    includes interface definition files associated with source files for
202
+    the work, and the source code for shared libraries and dynamically
203
+    linked subprograms that the work is specifically designed to require,
204
+    such as by intimate data communication or control flow between those
205
+    subprograms and other parts of the work.</p>
206
+
207
+    <p>The Corresponding Source need not include anything that users
208
+    can regenerate automatically from other parts of the Corresponding
209
+    Source.</p>
210
+
211
+    <p>The Corresponding Source for a work in source code form is that
212
+    same work.</p>
213
+
214
+    <h3><a name="section2"></a>2. Basic Permissions.</h3>
215
+
216
+    <p>All rights granted under this License are granted for the term of
217
+    copyright on the Program, and are irrevocable provided the stated
218
+    conditions are met.  This License explicitly affirms your unlimited
219
+    permission to run the unmodified Program.  The output from running a
220
+    covered work is covered by this License only if the output, given its
221
+    content, constitutes a covered work.  This License acknowledges your
222
+    rights of fair use or other equivalent, as provided by copyright law.</p>
223
+
224
+    <p>You may make, run and propagate covered works that you do not
225
+    convey, without conditions so long as your license otherwise remains
226
+    in force.  You may convey covered works to others for the sole purpose
227
+    of having them make modifications exclusively for you, or provide you
228
+    with facilities for running those works, provided that you comply with
229
+    the terms of this License in conveying all material for which you do
230
+    not control copyright.  Those thus making or running the covered works
231
+    for you must do so exclusively on your behalf, under your direction
232
+    and control, on terms that prohibit them from making any copies of
233
+    your copyrighted material outside their relationship with you.</p>
234
+
235
+    <p>Conveying under any other circumstances is permitted solely under
236
+    the conditions stated below.  Sublicensing is not allowed; section 10
237
+    makes it unnecessary.</p>
238
+
239
+    <h3><a name="section3"></a>3. Protecting Users' Legal Rights From Anti-Circumvention Law.</h3>
240
+
241
+    <p>No covered work shall be deemed part of an effective technological
242
+    measure under any applicable law fulfilling obligations under article
243
+    11 of the WIPO copyright treaty adopted on 20 December 1996, or
244
+    similar laws prohibiting or restricting circumvention of such
245
+    measures.</p>
246
+
247
+    <p>When you convey a covered work, you waive any legal power to forbid
248
+    circumvention of technological measures to the extent such circumvention
249
+    is effected by exercising rights under this License with respect to
250
+    the covered work, and you disclaim any intention to limit operation or
251
+    modification of the work as a means of enforcing, against the work's
252
+    users, your or third parties' legal rights to forbid circumvention of
253
+    technological measures.</p>
254
+
255
+    <h3><a name="section4"></a>4. Conveying Verbatim Copies.</h3>
256
+
257
+    <p>You may convey verbatim copies of the Program's source code as you
258
+    receive it, in any medium, provided that you conspicuously and
259
+    appropriately publish on each copy an appropriate copyright notice;
260
+    keep intact all notices stating that this License and any
261
+    non-permissive terms added in accord with section 7 apply to the code;
262
+    keep intact all notices of the absence of any warranty; and give all
263
+    recipients a copy of this License along with the Program.</p>
264
+
265
+    <p>You may charge any price or no price for each copy that you convey,
266
+    and you may offer support or warranty protection for a fee.</p>
267
+
268
+    <h3><a name="section5"></a>5. Conveying Modified Source Versions.</h3>
269
+
270
+    <p>You may convey a work based on the Program, or the modifications to
271
+    produce it from the Program, in the form of source code under the
272
+    terms of section 4, provided that you also meet all of these conditions:</p>
273
+
274
+    <ul>
275
+
276
+    <li>a) The work must carry prominent notices stating that you modified
277
+        it, and giving a relevant date.</li>
278
+
279
+    <li>b) The work must carry prominent notices stating that it is
280
+        released under this License and any conditions added under section
281
+        7.  This requirement modifies the requirement in section 4 to
282
+        &quot;keep intact all notices&quot;.</li>
283
+
284
+    <li>c) You must license the entire work, as a whole, under this
285
+        License to anyone who comes into possession of a copy.  This
286
+        License will therefore apply, along with any applicable section 7
287
+        additional terms, to the whole of the work, and all its parts,
288
+        regardless of how they are packaged.  This License gives no
289
+        permission to license the work in any other way, but it does not
290
+        invalidate such permission if you have separately received it.</li>
291
+
292
+    <li>d) If the work has interactive user interfaces, each must display
293
+        Appropriate Legal Notices; however, if the Program has interactive
294
+        interfaces that do not display Appropriate Legal Notices, your
295
+        work need not make them do so.</li>
296
+
297
+    </ul>
298
+
299
+    <p>A compilation of a covered work with other separate and independent
300
+    works, which are not by their nature extensions of the covered work,
301
+    and which are not combined with it such as to form a larger program,
302
+    in or on a volume of a storage or distribution medium, is called an
303
+    &quot;aggregate&quot; if the compilation and its resulting copyright are not
304
+    used to limit the access or legal rights of the compilation's users
305
+    beyond what the individual works permit.  Inclusion of a covered work
306
+    in an aggregate does not cause this License to apply to the other
307
+    parts of the aggregate.</p>
308
+
309
+    <h3><a name="section6"></a>6. Conveying Non-Source Forms.</h3>
310
+
311
+    <p>You may convey a covered work in object code form under the terms
312
+    of sections 4 and 5, provided that you also convey the
313
+    machine-readable Corresponding Source under the terms of this License,
314
+    in one of these ways:</p>
315
+
316
+    <ul>
317
+
318
+    <li>a) Convey the object code in, or embodied in, a physical product
319
+        (including a physical distribution medium), accompanied by the
320
+        Corresponding Source fixed on a durable physical medium
321
+        customarily used for software interchange.</li>
322
+
323
+    <li>b) Convey the object code in, or embodied in, a physical product
324
+        (including a physical distribution medium), accompanied by a
325
+        written offer, valid for at least three years and valid for as
326
+        long as you offer spare parts or customer support for that product
327
+        model, to give anyone who possesses the object code either (1) a
328
+        copy of the Corresponding Source for all the software in the
329
+        product that is covered by this License, on a durable physical
330
+        medium customarily used for software interchange, for a price no
331
+        more than your reasonable cost of physically performing this
332
+        conveying of source, or (2) access to copy the
333
+        Corresponding Source from a network server at no charge.</li>
334
+
335
+    <li>c) Convey individual copies of the object code with a copy of the
336
+        written offer to provide the Corresponding Source.  This
337
+        alternative is allowed only occasionally and noncommercially, and
338
+        only if you received the object code with such an offer, in accord
339
+        with subsection 6b.</li>
340
+
341
+    <li>d) Convey the object code by offering access from a designated
342
+        place (gratis or for a charge), and offer equivalent access to the
343
+        Corresponding Source in the same way through the same place at no
344
+        further charge.  You need not require recipients to copy the
345
+        Corresponding Source along with the object code.  If the place to
346
+        copy the object code is a network server, the Corresponding Source
347
+        may be on a different server (operated by you or a third party)
348
+        that supports equivalent copying facilities, provided you maintain
349
+        clear directions next to the object code saying where to find the
350
+        Corresponding Source.  Regardless of what server hosts the
351
+        Corresponding Source, you remain obligated to ensure that it is
352
+        available for as long as needed to satisfy these requirements.</li>
353
+
354
+    <li>e) Convey the object code using peer-to-peer transmission, provided
355
+        you inform other peers where the object code and Corresponding
356
+        Source of the work are being offered to the general public at no
357
+        charge under subsection 6d.</li>
358
+
359
+    </ul>
360
+
361
+    <p>A separable portion of the object code, whose source code is excluded
362
+    from the Corresponding Source as a System Library, need not be
363
+    included in conveying the object code work.</p>
364
+
365
+    <p>A &quot;User Product&quot; is either (1) a &quot;consumer product&quot;, which means any
366
+    tangible personal property which is normally used for personal, family,
367
+    or household purposes, or (2) anything designed or sold for incorporation
368
+    into a dwelling.  In determining whether a product is a consumer product,
369
+    doubtful cases shall be resolved in favor of coverage.  For a particular
370
+    product received by a particular user, &quot;normally used&quot; refers to a
371
+    typical or common use of that class of product, regardless of the status
372
+    of the particular user or of the way in which the particular user
373
+    actually uses, or expects or is expected to use, the product.  A product
374
+    is a consumer product regardless of whether the product has substantial
375
+    commercial, industrial or non-consumer uses, unless such uses represent
376
+    the only significant mode of use of the product.</p>
377
+
378
+    <p>&quot;Installation Information&quot; for a User Product means any methods,
379
+    procedures, authorization keys, or other information required to install
380
+    and execute modified versions of a covered work in that User Product from
381
+    a modified version of its Corresponding Source.  The information must
382
+    suffice to ensure that the continued functioning of the modified object
383
+    code is in no case prevented or interfered with solely because
384
+    modification has been made.</p>
385
+
386
+    <p>If you convey an object code work under this section in, or with, or
387
+    specifically for use in, a User Product, and the conveying occurs as
388
+    part of a transaction in which the right of possession and use of the
389
+    User Product is transferred to the recipient in perpetuity or for a
390
+    fixed term (regardless of how the transaction is characterized), the
391
+    Corresponding Source conveyed under this section must be accompanied
392
+    by the Installation Information.  But this requirement does not apply
393
+    if neither you nor any third party retains the ability to install
394
+    modified object code on the User Product (for example, the work has
395
+    been installed in ROM).</p>
396
+
397
+    <p>The requirement to provide Installation Information does not include a
398
+    requirement to continue to provide support service, warranty, or updates
399
+    for a work that has been modified or installed by the recipient, or for
400
+    the User Product in which it has been modified or installed.  Access to a
401
+    network may be denied when the modification itself materially and
402
+    adversely affects the operation of the network or violates the rules and
403
+    protocols for communication across the network.</p>
404
+
405
+    <p>Corresponding Source conveyed, and Installation Information provided,
406
+    in accord with this section must be in a format that is publicly
407
+    documented (and with an implementation available to the public in
408
+    source code form), and must require no special password or key for
409
+    unpacking, reading or copying.</p>
410
+
411
+    <h3><a name="section7"></a>7. Additional Terms.</h3>
412
+
413
+    <p>&quot;Additional permissions&quot; are terms that supplement the terms of this
414
+    License by making exceptions from one or more of its conditions.
415
+    Additional permissions that are applicable to the entire Program shall
416
+    be treated as though they were included in this License, to the extent
417
+    that they are valid under applicable law.  If additional permissions
418
+    apply only to part of the Program, that part may be used separately
419
+    under those permissions, but the entire Program remains governed by
420
+    this License without regard to the additional permissions.</p>
421
+
422
+    <p>When you convey a copy of a covered work, you may at your option
423
+    remove any additional permissions from that copy, or from any part of
424
+    it.  (Additional permissions may be written to require their own
425
+    removal in certain cases when you modify the work.)  You may place
426
+    additional permissions on material, added by you to a covered work,
427
+    for which you have or can give appropriate copyright permission.</p>
428
+
429
+    <p>Notwithstanding any other provision of this License, for material you
430
+    add to a covered work, you may (if authorized by the copyright holders of
431
+    that material) supplement the terms of this License with terms:</p>
432
+
433
+    <ul>
434
+
435
+    <li>a) Disclaiming warranty or limiting liability differently from the
436
+        terms of sections 15 and 16 of this License; or</li>
437
+
438
+    <li>b) Requiring preservation of specified reasonable legal notices or
439
+        author attributions in that material or in the Appropriate Legal
440
+        Notices displayed by works containing it; or</li>
441
+
442
+    <li>c) Prohibiting misrepresentation of the origin of that material, or
443
+        requiring that modified versions of such material be marked in
444
+        reasonable ways as different from the original version; or</li>
445
+
446
+    <li>d) Limiting the use for publicity purposes of names of licensors or
447
+        authors of the material; or</li>
448
+
449
+    <li>e) Declining to grant rights under trademark law for use of some
450
+        trade names, trademarks, or service marks; or</li>
451
+
452
+    <li>f) Requiring indemnification of licensors and authors of that
453
+        material by anyone who conveys the material (or modified versions of
454
+        it) with contractual assumptions of liability to the recipient, for
455
+        any liability that these contractual assumptions directly impose on
456
+        those licensors and authors.</li>
457
+
458
+    </ul>
459
+
460
+    <p>All other non-permissive additional terms are considered &quot;further
461
+    restrictions&quot; within the meaning of section 10.  If the Program as you
462
+    received it, or any part of it, contains a notice stating that it is
463
+    governed by this License along with a term that is a further restriction,
464
+    you may remove that term.  If a license document contains a further
465
+    restriction but permits relicensing or conveying under this License, you
466
+    may add to a covered work material governed by the terms of that license
467
+    document, provided that the further restriction does not survive such
468
+    relicensing or conveying.</p>
469
+
470
+    <p>If you add terms to a covered work in accord with this section, you
471
+    must place, in the relevant source files, a statement of the
472
+    additional terms that apply to those files, or a notice indicating
473
+    where to find the applicable terms.</p>
474
+
475
+    <p>Additional terms, permissive or non-permissive, may be stated in the
476
+    form of a separately written license, or stated as exceptions;
477
+    the above requirements apply either way.</p>
478
+
479
+    <h3><a name="section8"></a>8. Termination.</h3>
480
+
481
+    <p>You may not propagate or modify a covered work except as expressly
482
+    provided under this License.  Any attempt otherwise to propagate or
483
+    modify it is void, and will automatically terminate your rights under
484
+    this License (including any patent licenses granted under the third
485
+    paragraph of section 11).</p>
486
+
487
+    <p>However, if you cease all violation of this License, then your
488
+    license from a particular copyright holder is reinstated (a)
489
+    provisionally, unless and until the copyright holder explicitly and
490
+    finally terminates your license, and (b) permanently, if the copyright
491
+    holder fails to notify you of the violation by some reasonable means
492
+    prior to 60 days after the cessation.</p>
493
+
494
+    <p>Moreover, your license from a particular copyright holder is
495
+    reinstated permanently if the copyright holder notifies you of the
496
+    violation by some reasonable means, this is the first time you have
497
+    received notice of violation of this License (for any work) from that
498
+    copyright holder, and you cure the violation prior to 30 days after
499
+    your receipt of the notice.</p>
500
+
501
+    <p>Termination of your rights under this section does not terminate the
502
+    licenses of parties who have received copies or rights from you under
503
+    this License.  If your rights have been terminated and not permanently
504
+    reinstated, you do not qualify to receive new licenses for the same
505
+    material under section 10.</p>
506
+
507
+    <h3><a name="section9"></a>9. Acceptance Not Required for Having Copies.</h3>
508
+
509
+    <p>You are not required to accept this License in order to receive or
510
+    run a copy of the Program.  Ancillary propagation of a covered work
511
+    occurring solely as a consequence of using peer-to-peer transmission
512
+    to receive a copy likewise does not require acceptance.  However,
513
+    nothing other than this License grants you permission to propagate or
514
+    modify any covered work.  These actions infringe copyright if you do
515
+    not accept this License.  Therefore, by modifying or propagating a
516
+    covered work, you indicate your acceptance of this License to do so.</p>
517
+
518
+    <h3><a name="section10"></a>10. Automatic Licensing of Downstream Recipients.</h3>
519
+
520
+    <p>Each time you convey a covered work, the recipient automatically
521
+    receives a license from the original licensors, to run, modify and
522
+    propagate that work, subject to this License.  You are not responsible
523
+    for enforcing compliance by third parties with this License.</p>
524
+
525
+    <p>An &quot;entity transaction&quot; is a transaction transferring control of an
526
+    organization, or substantially all assets of one, or subdividing an
527
+    organization, or merging organizations.  If propagation of a covered
528
+    work results from an entity transaction, each party to that
529
+    transaction who receives a copy of the work also receives whatever
530
+    licenses to the work the party's predecessor in interest had or could
531
+    give under the previous paragraph, plus a right to possession of the
532
+    Corresponding Source of the work from the predecessor in interest, if
533
+    the predecessor has it or can get it with reasonable efforts.</p>
534
+
535
+    <p>You may not impose any further restrictions on the exercise of the
536
+    rights granted or affirmed under this License.  For example, you may
537
+    not impose a license fee, royalty, or other charge for exercise of
538
+    rights granted under this License, and you may not initiate litigation
539
+    (including a cross-claim or counterclaim in a lawsuit) alleging that
540
+    any patent claim is infringed by making, using, selling, offering for
541
+    sale, or importing the Program or any portion of it.</p>
542
+
543
+    <h3><a name="section11"></a>11. Patents.</h3>
544
+
545
+    <p>A &quot;contributor&quot; is a copyright holder who authorizes use under this
546
+    License of the Program or a work on which the Program is based.  The
547
+    work thus licensed is called the contributor's &quot;contributor version&quot;.</p>
548
+
549
+    <p>A contributor's &quot;essential patent claims&quot; are all patent claims
550
+    owned or controlled by the contributor, whether already acquired or
551
+    hereafter acquired, that would be infringed by some manner, permitted
552
+    by this License, of making, using, or selling its contributor version,
553
+    but do not include claims that would be infringed only as a
554
+    consequence of further modification of the contributor version.  For
555
+    purposes of this definition, &quot;control&quot; includes the right to grant
556
+    patent sublicenses in a manner consistent with the requirements of
557
+    this License.</p>
558
+
559
+    <p>Each contributor grants you a non-exclusive, worldwide, royalty-free
560
+    patent license under the contributor's essential patent claims, to
561
+    make, use, sell, offer for sale, import and otherwise run, modify and
562
+    propagate the contents of its contributor version.</p>
563
+
564
+    <p>In the following three paragraphs, a &quot;patent license&quot; is any express
565
+    agreement or commitment, however denominated, not to enforce a patent
566
+    (such as an express permission to practice a patent or covenant not to
567
+    sue for patent infringement).  To &quot;grant&quot; such a patent license to a
568
+    party means to make such an agreement or commitment not to enforce a
569
+    patent against the party.</p>
570
+
571
+    <p>If you convey a covered work, knowingly relying on a patent license,
572
+    and the Corresponding Source of the work is not available for anyone
573
+    to copy, free of charge and under the terms of this License, through a
574
+    publicly available network server or other readily accessible means,
575
+    then you must either (1) cause the Corresponding Source to be so
576
+    available, or (2) arrange to deprive yourself of the benefit of the
577
+    patent license for this particular work, or (3) arrange, in a manner
578
+    consistent with the requirements of this License, to extend the patent
579
+    license to downstream recipients.  &quot;Knowingly relying&quot; means you have
580
+    actual knowledge that, but for the patent license, your conveying the
581
+    covered work in a country, or your recipient's use of the covered work
582
+    in a country, would infringe one or more identifiable patents in that
583
+    country that you have reason to believe are valid.</p>
584
+
585
+    <p>If, pursuant to or in connection with a single transaction or
586
+    arrangement, you convey, or propagate by procuring conveyance of, a
587
+    covered work, and grant a patent license to some of the parties
588
+    receiving the covered work authorizing them to use, propagate, modify
589
+    or convey a specific copy of the covered work, then the patent license
590
+    you grant is automatically extended to all recipients of the covered
591
+    work and works based on it.</p>
592
+
593
+    <p>A patent license is &quot;discriminatory&quot; if it does not include within
594
+    the scope of its coverage, prohibits the exercise of, or is
595
+    conditioned on the non-exercise of one or more of the rights that are
596
+    specifically granted under this License.  You may not convey a covered
597
+    work if you are a party to an arrangement with a third party that is
598
+    in the business of distributing software, under which you make payment
599
+    to the third party based on the extent of your activity of conveying
600
+    the work, and under which the third party grants, to any of the
601
+    parties who would receive the covered work from you, a discriminatory
602
+    patent license (a) in connection with copies of the covered work
603
+    conveyed by you (or copies made from those copies), or (b) primarily
604
+    for and in connection with specific products or compilations that
605
+    contain the covered work, unless you entered into that arrangement,
606
+    or that patent license was granted, prior to 28 March 2007.</p>
607
+
608
+    <p>Nothing in this License shall be construed as excluding or limiting
609
+    any implied license or other defenses to infringement that may
610
+    otherwise be available to you under applicable patent law.</p>
611
+
612
+    <h3><a name="section12"></a>12. No Surrender of Others' Freedom.</h3>
613
+
614
+    <p>If conditions are imposed on you (whether by court order, agreement or
615
+    otherwise) that contradict the conditions of this License, they do not
616
+    excuse you from the conditions of this License.  If you cannot convey a
617
+    covered work so as to satisfy simultaneously your obligations under this
618
+    License and any other pertinent obligations, then as a consequence you may
619
+    not convey it at all.  For example, if you agree to terms that obligate you
620
+    to collect a royalty for further conveying from those to whom you convey
621
+    the Program, the only way you could satisfy both those terms and this
622
+    License would be to refrain entirely from conveying the Program.</p>
623
+
624
+    <h3><a name="section13"></a>13. Remote Network Interaction; Use with the GNU General Public License.</h3>
625
+
626
+    <p>Notwithstanding any other provision of this License, if you modify the
627
+    Program, your modified version must prominently offer all users
628
+    interacting with it remotely through a computer network (if your version
629
+    supports such interaction) an opportunity to receive the Corresponding
630
+    Source of your version by providing access to the Corresponding Source
631
+    from a network server at no charge, through some standard or customary
632
+    means of facilitating copying of software.  This Corresponding Source
633
+    shall include the Corresponding Source for any work covered by version 3
634
+    of the GNU General Public License that is incorporated pursuant to the
635
+    following paragraph.</p>
636
+
637
+    <p>Notwithstanding any other provision of this License, you have permission
638
+    to link or combine any covered work with a work licensed under version 3
639
+    of the GNU General Public License into a single combined work, and to
640
+    convey the resulting work.  The terms of this License will continue to
641
+    apply to the part which is the covered work, but the work with which it is
642
+    combined will remain governed by version 3 of the GNU General Public
643
+    License.</p>
644
+
645
+    <h3><a name="section14"></a>14. Revised Versions of this License.</h3>
646
+
647
+    <p>The Free Software Foundation may publish revised and/or new versions of
648
+    the GNU Affero General Public License from time to time.  Such new
649
+    versions will be similar in spirit to the present version, but may differ
650
+    in detail to address new problems or concerns.</p>
651
+
652
+    <p>Each version is given a distinguishing version number.  If the
653
+    Program specifies that a certain numbered version of the GNU Affero
654
+    General Public License &quot;or any later version&quot; applies to it, you have
655
+    the option of following the terms and conditions either of that
656
+    numbered version or of any later version published by the Free
657
+    Software Foundation.  If the Program does not specify a version number
658
+    of the GNU Affero General Public License, you may choose any version
659
+    ever published by the Free Software Foundation.</p>
660
+
661
+    <p>If the Program specifies that a proxy can decide which future
662
+    versions of the GNU Affero General Public License can be used, that
663
+    proxy's public statement of acceptance of a version permanently
664
+    authorizes you to choose that version for the Program.</p>
665
+
666
+    <p>Later license versions may give you additional or different
667
+    permissions.  However, no additional obligations are imposed on any
668
+    author or copyright holder as a result of your choosing to follow a
669
+    later version.</p>
670
+
671
+    <h3><a name="section15"></a>15. Disclaimer of Warranty.</h3>
672
+
673
+    <p>THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
674
+    APPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
675
+    HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM &quot;AS IS&quot; WITHOUT WARRANTY
676
+    OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
677
+    THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
678
+    PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
679
+    IS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
680
+    ALL NECESSARY SERVICING, REPAIR OR CORRECTION.</p>
681
+
682
+    <h3><a name="section16"></a>16. Limitation of Liability.</h3>
683
+
684
+    <p>IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
685
+    WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
686
+    THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
687
+    GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
688
+    USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
689
+    DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
690
+    PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
691
+    EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
692
+    SUCH DAMAGES.</p>
693
+
694
+    <h3><a name="section17"></a>17. Interpretation of Sections 15 and 16.</h3>
695
+
696
+    <p>If the disclaimer of warranty and limitation of liability provided
697
+    above cannot be given local legal effect according to their terms,
698
+    reviewing courts shall apply local law that most closely approximates
699
+    an absolute waiver of all civil liability in connection with the
700
+    Program, unless a warranty or assumption of liability accompanies a
701
+    copy of the Program in return for a fee.</p>
702
+
703
+    <p>END OF TERMS AND CONDITIONS</p>
704
+
705
+    <h2><a name="howto"></a>How to Apply These Terms to Your New Programs</h2>
706
+
707
+    <p>If you develop a new program, and you want it to be of the greatest
708
+    possible use to the public, the best way to achieve this is to make it
709
+    free software which everyone can redistribute and change under these terms.</p>
710
+
711
+    <p>To do so, attach the following notices to the program.  It is safest
712
+    to attach them to the start of each source file to most effectively
713
+    state the exclusion of warranty; and each file should have at least
714
+    the &quot;copyright&quot; line and a pointer to where the full notice is found.</p>
715
+
716
+    <pre>    &lt;one line to give the program's name and a brief idea of what it does.&gt;
717
+        Copyright (C) &lt;year&gt;  &lt;name of author&gt;
718
+
719
+        This program is free software: you can redistribute it and/or modify
720
+        it under the terms of the GNU Affero General Public License as
721
+        published by the Free Software Foundation, either version 3 of the
722
+        License, or (at your option) any later version.
723
+
724
+        This program is distributed in the hope that it will be useful,
725
+        but WITHOUT ANY WARRANTY; without even the implied warranty of
726
+        MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
727
+        GNU Affero General Public License for more details.
728
+
729
+        You should have received a copy of the GNU Affero General Public License
730
+        along with this program.  If not, see &lt;https://www.gnu.org/licenses/&gt;.
731
+    </pre>
732
+
733
+    <p>Also add information on how to contact you by electronic and paper mail.</p>
734
+
735
+    <p>If your software can interact with users remotely through a computer
736
+    network, you should also make sure that it provides a way for users to
737
+    get its source.  For example, if your program is a web application, its
738
+    interface could display a &quot;Source&quot; link that leads users to an archive
739
+    of the code.  There are many ways you could offer source, and different
740
+    solutions will be better for different programs; see section 13 for the
741
+    specific requirements.</p>
742
+
743
+    <p>You should also get your employer (if you work as a programmer) or school,
744
+    if any, to sign a &quot;copyright disclaimer&quot; for the program, if necessary.
745
+    For more information on this, and how to apply and follow the GNU AGPL, see
746
+    &lt;<a href="https://www.gnu.org/licenses/">https://www.gnu.org/licenses/</a>&gt;.</p>
747
+  </body>
748
+</html>

+ 660
- 0
LICENSE.md View File

@@ -0,0 +1,660 @@
1
+### GNU AFFERO GENERAL PUBLIC LICENSE
2
+
3
+Version 3, 19 November 2007
4
+
5
+Copyright (C) 2007 Free Software Foundation, Inc.
6
+<https://fsf.org/>
7
+
8
+Everyone is permitted to copy and distribute verbatim copies of this
9
+license document, but changing it is not allowed.
10
+
11
+### Preamble
12
+
13
+The GNU Affero General Public License is a free, copyleft license for
14
+software and other kinds of works, specifically designed to ensure
15
+cooperation with the community in the case of network server software.
16
+
17
+The licenses for most software and other practical works are designed
18
+to take away your freedom to share and change the works. By contrast,
19
+our General Public Licenses are intended to guarantee your freedom to
20
+share and change all versions of a program--to make sure it remains
21
+free software for all its users.
22
+
23
+When we speak of free software, we are referring to freedom, not
24
+price. Our General Public Licenses are designed to make sure that you
25
+have the freedom to distribute copies of free software (and charge for
26
+them if you wish), that you receive source code or can get it if you
27
+want it, that you can change the software or use pieces of it in new
28
+free programs, and that you know you can do these things.
29
+
30
+Developers that use our General Public Licenses protect your rights
31
+with two steps: (1) assert copyright on the software, and (2) offer
32
+you this License which gives you legal permission to copy, distribute
33
+and/or modify the software.
34
+
35
+A secondary benefit of defending all users' freedom is that
36
+improvements made in alternate versions of the program, if they
37
+receive widespread use, become available for other developers to
38
+incorporate. Many developers of free software are heartened and
39
+encouraged by the resulting cooperation. However, in the case of
40
+software used on network servers, this result may fail to come about.
41
+The GNU General Public License permits making a modified version and
42
+letting the public access it on a server without ever releasing its
43
+source code to the public.
44
+
45
+The GNU Affero General Public License is designed specifically to
46
+ensure that, in such cases, the modified source code becomes available
47
+to the community. It requires the operator of a network server to
48
+provide the source code of the modified version running there to the
49
+users of that server. Therefore, public use of a modified version, on
50
+a publicly accessible server, gives the public access to the source
51
+code of the modified version.
52
+
53
+An older license, called the Affero General Public License and
54
+published by Affero, was designed to accomplish similar goals. This is
55
+a different license, not a version of the Affero GPL, but Affero has
56
+released a new version of the Affero GPL which permits relicensing
57
+under this license.
58
+
59
+The precise terms and conditions for copying, distribution and
60
+modification follow.
61
+
62
+### TERMS AND CONDITIONS
63
+
64
+#### 0. Definitions.
65
+
66
+"This License" refers to version 3 of the GNU Affero General Public
67
+License.
68
+
69
+"Copyright" also means copyright-like laws that apply to other kinds
70
+of works, such as semiconductor masks.
71
+
72
+"The Program" refers to any copyrightable work licensed under this
73
+License. Each licensee is addressed as "you". "Licensees" and
74
+"recipients" may be individuals or organizations.
75
+
76
+To "modify" a work means to copy from or adapt all or part of the work
77
+in a fashion requiring copyright permission, other than the making of
78
+an exact copy. The resulting work is called a "modified version" of
79
+the earlier work or a work "based on" the earlier work.
80
+
81
+A "covered work" means either the unmodified Program or a work based
82
+on the Program.
83
+
84
+To "propagate" a work means to do anything with it that, without
85
+permission, would make you directly or secondarily liable for
86
+infringement under applicable copyright law, except executing it on a
87
+computer or modifying a private copy. Propagation includes copying,
88
+distribution (with or without modification), making available to the
89
+public, and in some countries other activities as well.
90
+
91
+To "convey" a work means any kind of propagation that enables other
92
+parties to make or receive copies. Mere interaction with a user
93
+through a computer network, with no transfer of a copy, is not
94
+conveying.
95
+
96
+An interactive user interface displays "Appropriate Legal Notices" to
97
+the extent that it includes a convenient and prominently visible
98
+feature that (1) displays an appropriate copyright notice, and (2)
99
+tells the user that there is no warranty for the work (except to the
100
+extent that warranties are provided), that licensees may convey the
101
+work under this License, and how to view a copy of this License. If
102
+the interface presents a list of user commands or options, such as a
103
+menu, a prominent item in the list meets this criterion.
104
+
105
+#### 1. Source Code.
106
+
107
+The "source code" for a work means the preferred form of the work for
108
+making modifications to it. "Object code" means any non-source form of
109
+a work.
110
+
111
+A "Standard Interface" means an interface that either is an official
112
+standard defined by a recognized standards body, or, in the case of
113
+interfaces specified for a particular programming language, one that
114
+is widely used among developers working in that language.
115
+
116
+The "System Libraries" of an executable work include anything, other
117
+than the work as a whole, that (a) is included in the normal form of
118
+packaging a Major Component, but which is not part of that Major
119
+Component, and (b) serves only to enable use of the work with that
120
+Major Component, or to implement a Standard Interface for which an
121
+implementation is available to the public in source code form. A
122
+"Major Component", in this context, means a major essential component
123
+(kernel, window system, and so on) of the specific operating system
124
+(if any) on which the executable work runs, or a compiler used to
125
+produce the work, or an object code interpreter used to run it.
126
+
127
+The "Corresponding Source" for a work in object code form means all
128
+the source code needed to generate, install, and (for an executable
129
+work) run the object code and to modify the work, including scripts to
130
+control those activities. However, it does not include the work's
131
+System Libraries, or general-purpose tools or generally available free
132
+programs which are used unmodified in performing those activities but
133
+which are not part of the work. For example, Corresponding Source
134
+includes interface definition files associated with source files for
135
+the work, and the source code for shared libraries and dynamically
136
+linked subprograms that the work is specifically designed to require,
137
+such as by intimate data communication or control flow between those
138
+subprograms and other parts of the work.
139
+
140
+The Corresponding Source need not include anything that users can
141
+regenerate automatically from other parts of the Corresponding Source.
142
+
143
+The Corresponding Source for a work in source code form is that same
144
+work.
145
+
146
+#### 2. Basic Permissions.
147
+
148
+All rights granted under this License are granted for the term of
149
+copyright on the Program, and are irrevocable provided the stated
150
+conditions are met. This License explicitly affirms your unlimited
151
+permission to run the unmodified Program. The output from running a
152
+covered work is covered by this License only if the output, given its
153
+content, constitutes a covered work. This License acknowledges your
154
+rights of fair use or other equivalent, as provided by copyright law.
155
+
156
+You may make, run and propagate covered works that you do not convey,
157
+without conditions so long as your license otherwise remains in force.
158
+You may convey covered works to others for the sole purpose of having
159
+them make modifications exclusively for you, or provide you with
160
+facilities for running those works, provided that you comply with the
161
+terms of this License in conveying all material for which you do not
162
+control copyright. Those thus making or running the covered works for
163
+you must do so exclusively on your behalf, under your direction and
164
+control, on terms that prohibit them from making any copies of your
165
+copyrighted material outside their relationship with you.
166
+
167
+Conveying under any other circumstances is permitted solely under the
168
+conditions stated below. Sublicensing is not allowed; section 10 makes
169
+it unnecessary.
170
+
171
+#### 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
172
+
173
+No covered work shall be deemed part of an effective technological
174
+measure under any applicable law fulfilling obligations under article
175
+11 of the WIPO copyright treaty adopted on 20 December 1996, or
176
+similar laws prohibiting or restricting circumvention of such
177
+measures.
178
+
179
+When you convey a covered work, you waive any legal power to forbid
180
+circumvention of technological measures to the extent such
181
+circumvention is effected by exercising rights under this License with
182
+respect to the covered work, and you disclaim any intention to limit
183
+operation or modification of the work as a means of enforcing, against
184
+the work's users, your or third parties' legal rights to forbid
185
+circumvention of technological measures.
186
+
187
+#### 4. Conveying Verbatim Copies.
188
+
189
+You may convey verbatim copies of the Program's source code as you
190
+receive it, in any medium, provided that you conspicuously and
191
+appropriately publish on each copy an appropriate copyright notice;
192
+keep intact all notices stating that this License and any
193
+non-permissive terms added in accord with section 7 apply to the code;
194
+keep intact all notices of the absence of any warranty; and give all
195
+recipients a copy of this License along with the Program.
196
+
197
+You may charge any price or no price for each copy that you convey,
198
+and you may offer support or warranty protection for a fee.
199
+
200
+#### 5. Conveying Modified Source Versions.
201
+
202
+You may convey a work based on the Program, or the modifications to
203
+produce it from the Program, in the form of source code under the
204
+terms of section 4, provided that you also meet all of these
205
+conditions:
206
+
207
+-   a) The work must carry prominent notices stating that you modified
208
+    it, and giving a relevant date.
209
+-   b) The work must carry prominent notices stating that it is
210
+    released under this License and any conditions added under
211
+    section 7. This requirement modifies the requirement in section 4
212
+    to "keep intact all notices".
213
+-   c) You must license the entire work, as a whole, under this
214
+    License to anyone who comes into possession of a copy. This
215
+    License will therefore apply, along with any applicable section 7
216
+    additional terms, to the whole of the work, and all its parts,
217
+    regardless of how they are packaged. This License gives no
218
+    permission to license the work in any other way, but it does not
219
+    invalidate such permission if you have separately received it.
220
+-   d) If the work has interactive user interfaces, each must display
221
+    Appropriate Legal Notices; however, if the Program has interactive
222
+    interfaces that do not display Appropriate Legal Notices, your
223
+    work need not make them do so.
224
+
225
+A compilation of a covered work with other separate and independent
226
+works, which are not by their nature extensions of the covered work,
227
+and which are not combined with it such as to form a larger program,
228
+in or on a volume of a storage or distribution medium, is called an
229
+"aggregate" if the compilation and its resulting copyright are not
230
+used to limit the access or legal rights of the compilation's users
231
+beyond what the individual works permit. Inclusion of a covered work
232
+in an aggregate does not cause this License to apply to the other
233
+parts of the aggregate.
234
+
235
+#### 6. Conveying Non-Source Forms.
236
+
237
+You may convey a covered work in object code form under the terms of
238
+sections 4 and 5, provided that you also convey the machine-readable
239
+Corresponding Source under the terms of this License, in one of these
240
+ways:
241
+
242
+-   a) Convey the object code in, or embodied in, a physical product
243
+    (including a physical distribution medium), accompanied by the
244
+    Corresponding Source fixed on a durable physical medium
245
+    customarily used for software interchange.
246
+-   b) Convey the object code in, or embodied in, a physical product
247
+    (including a physical distribution medium), accompanied by a
248
+    written offer, valid for at least three years and valid for as
249
+    long as you offer spare parts or customer support for that product
250
+    model, to give anyone who possesses the object code either (1) a
251
+    copy of the Corresponding Source for all the software in the
252
+    product that is covered by this License, on a durable physical
253
+    medium customarily used for software interchange, for a price no
254
+    more than your reasonable cost of physically performing this
255
+    conveying of source, or (2) access to copy the Corresponding
256
+    Source from a network server at no charge.
257
+-   c) Convey individual copies of the object code with a copy of the
258
+    written offer to provide the Corresponding Source. This
259
+    alternative is allowed only occasionally and noncommercially, and
260
+    only if you received the object code with such an offer, in accord
261
+    with subsection 6b.
262
+-   d) Convey the object code by offering access from a designated
263
+    place (gratis or for a charge), and offer equivalent access to the
264
+    Corresponding Source in the same way through the same place at no
265
+    further charge. You need not require recipients to copy the
266
+    Corresponding Source along with the object code. If the place to
267
+    copy the object code is a network server, the Corresponding Source
268
+    may be on a different server (operated by you or a third party)
269
+    that supports equivalent copying facilities, provided you maintain
270
+    clear directions next to the object code saying where to find the
271
+    Corresponding Source. Regardless of what server hosts the
272
+    Corresponding Source, you remain obligated to ensure that it is
273
+    available for as long as needed to satisfy these requirements.
274
+-   e) Convey the object code using peer-to-peer transmission,
275
+    provided you inform other peers where the object code and
276
+    Corresponding Source of the work are being offered to the general
277
+    public at no charge under subsection 6d.
278
+
279
+A separable portion of the object code, whose source code is excluded
280
+from the Corresponding Source as a System Library, need not be
281
+included in conveying the object code work.
282
+
283
+A "User Product" is either (1) a "consumer product", which means any
284
+tangible personal property which is normally used for personal,
285
+family, or household purposes, or (2) anything designed or sold for
286
+incorporation into a dwelling. In determining whether a product is a
287
+consumer product, doubtful cases shall be resolved in favor of
288
+coverage. For a particular product received by a particular user,
289
+"normally used" refers to a typical or common use of that class of
290
+product, regardless of the status of the particular user or of the way
291
+in which the particular user actually uses, or expects or is expected
292
+to use, the product. A product is a consumer product regardless of
293
+whether the product has substantial commercial, industrial or
294
+non-consumer uses, unless such uses represent the only significant
295
+mode of use of the product.
296
+
297
+"Installation Information" for a User Product means any methods,
298
+procedures, authorization keys, or other information required to
299
+install and execute modified versions of a covered work in that User
300
+Product from a modified version of its Corresponding Source. The
301
+information must suffice to ensure that the continued functioning of
302
+the modified object code is in no case prevented or interfered with
303
+solely because modification has been made.
304
+
305
+If you convey an object code work under this section in, or with, or
306
+specifically for use in, a User Product, and the conveying occurs as
307
+part of a transaction in which the right of possession and use of the
308
+User Product is transferred to the recipient in perpetuity or for a
309
+fixed term (regardless of how the transaction is characterized), the
310
+Corresponding Source conveyed under this section must be accompanied
311
+by the Installation Information. But this requirement does not apply
312
+if neither you nor any third party retains the ability to install
313
+modified object code on the User Product (for example, the work has
314
+been installed in ROM).
315
+
316
+The requirement to provide Installation Information does not include a
317
+requirement to continue to provide support service, warranty, or
318
+updates for a work that has been modified or installed by the
319
+recipient, or for the User Product in which it has been modified or
320
+installed. Access to a network may be denied when the modification
321
+itself materially and adversely affects the operation of the network
322
+or violates the rules and protocols for communication across the
323
+network.
324
+
325
+Corresponding Source conveyed, and Installation Information provided,
326
+in accord with this section must be in a format that is publicly
327
+documented (and with an implementation available to the public in
328
+source code form), and must require no special password or key for
329
+unpacking, reading or copying.
330
+
331
+#### 7. Additional Terms.
332
+
333
+"Additional permissions" are terms that supplement the terms of this
334
+License by making exceptions from one or more of its conditions.
335
+Additional permissions that are applicable to the entire Program shall
336
+be treated as though they were included in this License, to the extent
337
+that they are valid under applicable law. If additional permissions
338
+apply only to part of the Program, that part may be used separately
339
+under those permissions, but the entire Program remains governed by
340
+this License without regard to the additional permissions.
341
+
342
+When you convey a copy of a covered work, you may at your option
343
+remove any additional permissions from that copy, or from any part of
344
+it. (Additional permissions may be written to require their own
345
+removal in certain cases when you modify the work.) You may place
346
+additional permissions on material, added by you to a covered work,
347
+for which you have or can give appropriate copyright permission.
348
+
349
+Notwithstanding any other provision of this License, for material you
350
+add to a covered work, you may (if authorized by the copyright holders
351
+of that material) supplement the terms of this License with terms:
352
+
353
+-   a) Disclaiming warranty or limiting liability differently from the
354
+    terms of sections 15 and 16 of this License; or
355
+-   b) Requiring preservation of specified reasonable legal notices or
356
+    author attributions in that material or in the Appropriate Legal
357
+    Notices displayed by works containing it; or
358
+-   c) Prohibiting misrepresentation of the origin of that material,
359
+    or requiring that modified versions of such material be marked in
360
+    reasonable ways as different from the original version; or
361
+-   d) Limiting the use for publicity purposes of names of licensors
362
+    or authors of the material; or
363
+-   e) Declining to grant rights under trademark law for use of some
364
+    trade names, trademarks, or service marks; or
365
+-   f) Requiring indemnification of licensors and authors of that
366
+    material by anyone who conveys the material (or modified versions
367
+    of it) with contractual assumptions of liability to the recipient,
368
+    for any liability that these contractual assumptions directly
369
+    impose on those licensors and authors.
370
+
371
+All other non-permissive additional terms are considered "further
372
+restrictions" within the meaning of section 10. If the Program as you
373
+received it, or any part of it, contains a notice stating that it is
374
+governed by this License along with a term that is a further
375
+restriction, you may remove that term. If a license document contains
376
+a further restriction but permits relicensing or conveying under this
377
+License, you may add to a covered work material governed by the terms
378
+of that license document, provided that the further restriction does
379
+not survive such relicensing or conveying.
380
+
381
+If you add terms to a covered work in accord with this section, you
382
+must place, in the relevant source files, a statement of the
383
+additional terms that apply to those files, or a notice indicating
384
+where to find the applicable terms.
385
+
386
+Additional terms, permissive or non-permissive, may be stated in the
387
+form of a separately written license, or stated as exceptions; the
388
+above requirements apply either way.
389
+
390
+#### 8. Termination.
391
+
392
+You may not propagate or modify a covered work except as expressly
393
+provided under this License. Any attempt otherwise to propagate or
394
+modify it is void, and will automatically terminate your rights under
395
+this License (including any patent licenses granted under the third
396
+paragraph of section 11).
397
+
398
+However, if you cease all violation of this License, then your license
399
+from a particular copyright holder is reinstated (a) provisionally,
400
+unless and until the copyright holder explicitly and finally
401
+terminates your license, and (b) permanently, if the copyright holder
402
+fails to notify you of the violation by some reasonable means prior to
403
+60 days after the cessation.
404
+
405
+Moreover, your license from a particular copyright holder is
406
+reinstated permanently if the copyright holder notifies you of the
407
+violation by some reasonable means, this is the first time you have
408
+received notice of violation of this License (for any work) from that
409
+copyright holder, and you cure the violation prior to 30 days after
410
+your receipt of the notice.
411
+
412
+Termination of your rights under this section does not terminate the
413
+licenses of parties who have received copies or rights from you under
414
+this License. If your rights have been terminated and not permanently
415
+reinstated, you do not qualify to receive new licenses for the same
416
+material under section 10.
417
+
418
+#### 9. Acceptance Not Required for Having Copies.
419
+
420
+You are not required to accept this License in order to receive or run
421
+a copy of the Program. Ancillary propagation of a covered work
422
+occurring solely as a consequence of using peer-to-peer transmission
423
+to receive a copy likewise does not require acceptance. However,
424
+nothing other than this License grants you permission to propagate or
425
+modify any covered work. These actions infringe copyright if you do
426
+not accept this License. Therefore, by modifying or propagating a
427
+covered work, you indicate your acceptance of this License to do so.
428
+
429
+#### 10. Automatic Licensing of Downstream Recipients.
430
+
431
+Each time you convey a covered work, the recipient automatically
432
+receives a license from the original licensors, to run, modify and
433
+propagate that work, subject to this License. You are not responsible
434
+for enforcing compliance by third parties with this License.
435
+
436
+An "entity transaction" is a transaction transferring control of an
437
+organization, or substantially all assets of one, or subdividing an
438
+organization, or merging organizations. If propagation of a covered
439
+work results from an entity transaction, each party to that
440
+transaction who receives a copy of the work also receives whatever
441
+licenses to the work the party's predecessor in interest had or could
442
+give under the previous paragraph, plus a right to possession of the
443
+Corresponding Source of the work from the predecessor in interest, if
444
+the predecessor has it or can get it with reasonable efforts.
445
+
446
+You may not impose any further restrictions on the exercise of the
447
+rights granted or affirmed under this License. For example, you may
448
+not impose a license fee, royalty, or other charge for exercise of
449
+rights granted under this License, and you may not initiate litigation
450
+(including a cross-claim or counterclaim in a lawsuit) alleging that
451
+any patent claim is infringed by making, using, selling, offering for
452
+sale, or importing the Program or any portion of it.
453
+
454
+#### 11. Patents.
455
+
456
+A "contributor" is a copyright holder who authorizes use under this
457
+License of the Program or a work on which the Program is based. The
458
+work thus licensed is called the contributor's "contributor version".
459
+
460
+A contributor's "essential patent claims" are all patent claims owned
461
+or controlled by the contributor, whether already acquired or
462
+hereafter acquired, that would be infringed by some manner, permitted
463
+by this License, of making, using, or selling its contributor version,
464
+but do not include claims that would be infringed only as a
465
+consequence of further modification of the contributor version. For
466
+purposes of this definition, "control" includes the right to grant
467
+patent sublicenses in a manner consistent with the requirements of
468
+this License.
469
+
470
+Each contributor grants you a non-exclusive, worldwide, royalty-free
471
+patent license under the contributor's essential patent claims, to
472
+make, use, sell, offer for sale, import and otherwise run, modify and
473
+propagate the contents of its contributor version.
474
+
475
+In the following three paragraphs, a "patent license" is any express
476
+agreement or commitment, however denominated, not to enforce a patent
477
+(such as an express permission to practice a patent or covenant not to
478
+sue for patent infringement). To "grant" such a patent license to a
479
+party means to make such an agreement or commitment not to enforce a
480
+patent against the party.
481
+
482
+If you convey a covered work, knowingly relying on a patent license,
483
+and the Corresponding Source of the work is not available for anyone
484
+to copy, free of charge and under the terms of this License, through a
485
+publicly available network server or other readily accessible means,
486
+then you must either (1) cause the Corresponding Source to be so
487
+available, or (2) arrange to deprive yourself of the benefit of the
488
+patent license for this particular work, or (3) arrange, in a manner
489
+consistent with the requirements of this License, to extend the patent
490
+license to downstream recipients. "Knowingly relying" means you have
491
+actual knowledge that, but for the patent license, your conveying the
492
+covered work in a country, or your recipient's use of the covered work
493
+in a country, would infringe one or more identifiable patents in that
494
+country that you have reason to believe are valid.
495
+
496
+If, pursuant to or in connection with a single transaction or
497
+arrangement, you convey, or propagate by procuring conveyance of, a
498
+covered work, and grant a patent license to some of the parties
499
+receiving the covered work authorizing them to use, propagate, modify
500
+or convey a specific copy of the covered work, then the patent license
501
+you grant is automatically extended to all recipients of the covered
502
+work and works based on it.
503
+
504
+A patent license is "discriminatory" if it does not include within the
505
+scope of its coverage, prohibits the exercise of, or is conditioned on
506
+the non-exercise of one or more of the rights that are specifically
507
+granted under this License. You may not convey a covered work if you
508
+are a party to an arrangement with a third party that is in the
509
+business of distributing software, under which you make payment to the
510
+third party based on the extent of your activity of conveying the
511
+work, and under which the third party grants, to any of the parties
512
+who would receive the covered work from you, a discriminatory patent
513
+license (a) in connection with copies of the covered work conveyed by
514
+you (or copies made from those copies), or (b) primarily for and in
515
+connection with specific products or compilations that contain the
516
+covered work, unless you entered into that arrangement, or that patent
517
+license was granted, prior to 28 March 2007.
518
+
519
+Nothing in this License shall be construed as excluding or limiting
520
+any implied license or other defenses to infringement that may
521
+otherwise be available to you under applicable patent law.
522
+
523
+#### 12. No Surrender of Others' Freedom.
524
+
525
+If conditions are imposed on you (whether by court order, agreement or
526
+otherwise) that contradict the conditions of this License, they do not
527
+excuse you from the conditions of this License. If you cannot convey a
528
+covered work so as to satisfy simultaneously your obligations under
529
+this License and any other pertinent obligations, then as a
530
+consequence you may not convey it at all. For example, if you agree to
531
+terms that obligate you to collect a royalty for further conveying
532
+from those to whom you convey the Program, the only way you could
533
+satisfy both those terms and this License would be to refrain entirely
534
+from conveying the Program.
535
+
536
+#### 13. Remote Network Interaction; Use with the GNU General Public License.
537
+
538
+Notwithstanding any other provision of this License, if you modify the
539
+Program, your modified version must prominently offer all users
540
+interacting with it remotely through a computer network (if your
541
+version supports such interaction) an opportunity to receive the
542
+Corresponding Source of your version by providing access to the
543
+Corresponding Source from a network server at no charge, through some
544
+standard or customary means of facilitating copying of software. This
545
+Corresponding Source shall include the Corresponding Source for any
546
+work covered by version 3 of the GNU General Public License that is
547
+incorporated pursuant to the following paragraph.
548
+
549
+Notwithstanding any other provision of this License, you have
550
+permission to link or combine any covered work with a work licensed
551
+under version 3 of the GNU General Public License into a single
552
+combined work, and to convey the resulting work. The terms of this
553
+License will continue to apply to the part which is the covered work,
554
+but the work with which it is combined will remain governed by version
555
+3 of the GNU General Public License.
556
+
557
+#### 14. Revised Versions of this License.
558
+
559
+The Free Software Foundation may publish revised and/or new versions
560
+of the GNU Affero General Public License from time to time. Such new
561
+versions will be similar in spirit to the present version, but may
562
+differ in detail to address new problems or concerns.
563
+
564
+Each version is given a distinguishing version number. If the Program
565
+specifies that a certain numbered version of the GNU Affero General
566
+Public License "or any later version" applies to it, you have the
567
+option of following the terms and conditions either of that numbered
568
+version or of any later version published by the Free Software
569
+Foundation. If the Program does not specify a version number of the
570
+GNU Affero General Public License, you may choose any version ever
571
+published by the Free Software Foundation.
572
+
573
+If the Program specifies that a proxy can decide which future versions
574
+of the GNU Affero General Public License can be used, that proxy's
575
+public statement of acceptance of a version permanently authorizes you
576
+to choose that version for the Program.
577
+
578
+Later license versions may give you additional or different
579
+permissions. However, no additional obligations are imposed on any
580
+author or copyright holder as a result of your choosing to follow a
581
+later version.
582
+
583
+#### 15. Disclaimer of Warranty.
584
+
585
+THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
586
+APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
587
+HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT
588
+WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT
589
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
590
+A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND
591
+PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE
592
+DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR
593
+CORRECTION.
594
+
595
+#### 16. Limitation of Liability.
596
+
597
+IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
598
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR
599
+CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
600
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES
601
+ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT
602
+NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR
603
+LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM
604
+TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER
605
+PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
606
+
607
+#### 17. Interpretation of Sections 15 and 16.
608
+
609
+If the disclaimer of warranty and limitation of liability provided
610
+above cannot be given local legal effect according to their terms,
611
+reviewing courts shall apply local law that most closely approximates
612
+an absolute waiver of all civil liability in connection with the
613
+Program, unless a warranty or assumption of liability accompanies a
614
+copy of the Program in return for a fee.
615
+
616
+END OF TERMS AND CONDITIONS
617
+
618
+### How to Apply These Terms to Your New Programs
619
+
620
+If you develop a new program, and you want it to be of the greatest
621
+possible use to the public, the best way to achieve this is to make it
622
+free software which everyone can redistribute and change under these
623
+terms.
624
+
625
+To do so, attach the following notices to the program. It is safest to
626
+attach them to the start of each source file to most effectively state
627
+the exclusion of warranty; and each file should have at least the
628
+"copyright" line and a pointer to where the full notice is found.
629
+
630
+        <one line to give the program's name and a brief idea of what it does.>
631
+        Copyright (C) <year>  <name of author>
632
+
633
+        This program is free software: you can redistribute it and/or modify
634
+        it under the terms of the GNU Affero General Public License as
635
+        published by the Free Software Foundation, either version 3 of the
636
+        License, or (at your option) any later version.
637
+
638
+        This program is distributed in the hope that it will be useful,
639
+        but WITHOUT ANY WARRANTY; without even the implied warranty of
640
+        MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
641
+        GNU Affero General Public License for more details.
642
+
643
+        You should have received a copy of the GNU Affero General Public License
644
+        along with this program.  If not, see <https://www.gnu.org/licenses/>.
645
+
646
+Also add information on how to contact you by electronic and paper
647
+mail.
648
+
649
+If your software can interact with users remotely through a computer
650
+network, you should also make sure that it provides a way for users to
651
+get its source. For example, if your program is a web application, its
652
+interface could display a "Source" link that leads users to an archive
653
+of the code. There are many ways you could offer source, and different
654
+solutions will be better for different programs; see section 13 for
655
+the specific requirements.
656
+
657
+You should also get your employer (if you work as a programmer) or
658
+school, if any, to sign a "copyright disclaimer" for the program, if
659
+necessary. For more information on this, and how to apply and follow
660
+the GNU AGPL, see <https://www.gnu.org/licenses/>.

+ 226
- 0
index.php View File

@@ -0,0 +1,226 @@
1
+<?php
2
+if (!isset($_GET['chemin'])) {
3
+
4
+ header('Location: index.php?chemin=');
5
+
6
+}
7
+
8
+ function creerMiniature($cheminComplet, $adresseImage, $nomImage) {
9
+  if (!file_exists($cheminComplet . "/400/" . $nomImage)) {
10
+  $image = imagecreatefromjpeg($adresseImage);
11
+  $dimensions = getimagesize($adresseImage);
12
+  $nouvHauteur = ((400 * $dimensions[1]) / $dimensions[0]);
13
+  $imageSrt = imagecreatetruecolor(400, $nouvHauteur);
14
+  imagecopyresampled($imageSrt, $image, 0, 0, 0, 0, 400, $nouvHauteur, $dimensions[0], $dimensions[1]);
15
+  imagejpeg($imageSrt, $cheminComplet . "/400/" . $nomImage);
16
+  imagedestroy($imageSrt);
17
+  imagedestroy($image);
18
+  }
19
+  if (!file_exists($cheminComplet . "/800/" . $nomImage)) {
20
+  $image = imagecreatefromjpeg($adresseImage);
21
+  $dimensions = getimagesize($adresseImage);
22
+  $nouvHauteur = ((800 * $dimensions[1]) / $dimensions[0]);
23
+  $imageSrt = imagecreatetruecolor(800, $nouvHauteur);
24
+  imagecopyresampled($imageSrt, $image, 0, 0, 0, 0, 800, $nouvHauteur, $dimensions[0], $dimensions[1]);
25
+  imagejpeg($imageSrt, $cheminComplet . "/800/" . $nomImage);
26
+  imagedestroy($imageSrt);
27
+  imagedestroy($image);
28
+  }
29
+}
30
+if (!function_exists('array_key_last')) {
31
+
32
+    function array_key_last($array) {
33
+        $key = NULL;
34
+
35
+        if (is_array($array)) {
36
+
37
+            end($array);
38
+            $key = key($array);
39
+        }
40
+
41
+        return $key;
42
+    }
43
+} ?>
44
+
45
+
46
+<!DOCTYPE HTML>
47
+<html lang="fr">
48
+<head>
49
+
50
+ <meta charset="UTF-8" />
51
+
52
+
53
+
54
+
55
+  <title>Super·F·lux<?php
56
+  $nomDossiers = preg_split("#/#", $_GET['chemin']); // Sépare le chemin en une liste de dossiers qui le composent
57
+  foreach ($nomDossiers as $niveauDossier => $nomDossier) {
58
+    if (isset($nomDossier)) {
59
+      if (!is_null($nomDossier)) {
60
+        echo " > " . $nomDossier;
61
+      }
62
+    }
63
+  }
64
+    ?></title>
65
+  <meta name="author" content="Cécile Chevallier">
66
+  <meta name="publisher" content="Miraty">
67
+  <meta name="distribution" content="global">
68
+  <meta name="robots" content="index, follow">
69
+  <meta name="keywords" lang="fr" content="superflux">
70
+  <meta name="description" content="Super·F·lux, photographies de Cécile Chevallier sous CC BY-SA 4.0">
71
+  <meta name="viewport" content="width=device-width, initial-scale=1">
72
+  <style>
73
+  <?php require("lessphp/lessc.inc.php");
74
+    $less = new lessc;
75
+    echo $less->compileFile("style.less"); ?>
76
+  </style>
77
+
78
+  <!-- Lightbox https://lokeshdhakar.com/projects/lightbox2/ -->
79
+  <link href="lightbox/dist/css/lightbox.min.css" rel="stylesheet">
80
+  <script src="lightbox/dist/js/lightbox-plus-jquery.min.js"></script>
81
+  <script>
82
+    lightbox.option({
83
+      'resizeDuration': 0,
84
+      'fadeDuration': 200
85
+    })
86
+  </script>
87
+
88
+</head>
89
+<body>
90
+<header>
91
+
92
+  <h1><a href="index.php" title="Retour à la page d'accueil">Super·F·lux</a></h1>
93
+
94
+
95
+
96
+  <?php
97
+  $nomDossiers = preg_split("#/#", $_GET['chemin']); // Sépare le chemin en une liste de dossiers qui le composent
98
+   foreach ($nomDossiers as $niveauDossier => $nomDossier) { ?>
99
+  <h<?php echo $niveauDossier + 2; ?>><a href="index.php?chemin=<?php
100
+
101
+  if (array_key_last($nomDossiers) == $niveauDossier) {
102
+    echo $_GET['chemin'];
103
+  } else {
104
+    echo rtrim(stristr($_GET['chemin'], $nomDossiers[$niveauDossier + 1], TRUE), "/");
105
+  }
106
+
107
+    ?>"><?php echo $nomDossier; ?></a></h<?php echo $niveauDossier + 2; ?>>
108
+<?php
109
+}
110
+
111
+
112
+?>
113
+</header>
114
+
115
+<main>
116
+
117
+
118
+    <?php if (preg_match("#\.\.#", $_GET['chemin'])) {
119
+      exit("Par sécurité, .. ne peut être utilisé dans un chemin");
120
+
121
+    } else {
122
+$cheminComplet = "catalogue/" . $_GET['chemin'] . "";
123
+
124
+if (!file_exists($cheminComplet . "/400")) {
125
+  mkdir($cheminComplet . "/400");
126
+}
127
+
128
+if (!file_exists($cheminComplet . "/800")) {
129
+  mkdir($cheminComplet . "/800");
130
+}
131
+
132
+$listeElements = new DirectoryIterator($cheminComplet);
133
+
134
+$nbElementsAffiches = 0;
135
+foreach($listeElements as $listeElements) {
136
+
137
+
138
+
139
+
140
+
141
+
142
+	if ((!$listeElements->isDot()) AND ($listeElements->getFilename() !== "400") AND ($listeElements->getFilename() !== "800")) { // Ignore les éléments "." et ".." ainsi que les dossiers d'images redimensionnées
143
+
144
+	   $adresseImage = $cheminComplet . "/" . $listeElements->getFilename();
145
+
146
+    if (is_dir($adresseImage)) { ?>
147
+
148
+      <div class="element dossier">
149
+        <a href="index.php?chemin=<?php if (!empty($_GET['chemin'])) {
150
+          echo $_GET['chemin'] . "/" . $listeElements->getFilename();
151
+        } else {
152
+          echo $listeElements->getFilename();
153
+        }
154
+
155
+
156
+         ?>">
157
+          <img src="<?php echo $cheminComplet . "/" . $listeElements->getFilename() . "/400/index.jpg"; ?>">
158
+          <div class="nomElementDossier"><?php echo $listeElements->getFilename(); ?></div>
159
+        </a>
160
+      </div>
161
+
162
+    <?php
163
+  } else if (is_file($adresseImage)) {
164
+    creerMiniature($cheminComplet, $adresseImage, $listeElements->getFilename())
165
+    ?>
166
+      <div class="element image<?php
167
+      $dimensions = getimagesize($adresseImage);
168
+
169
+      if ($dimensions[0] > $dimensions[1]) {
170
+        echo " paysage";
171
+      } else {
172
+        echo " portrait";
173
+      }
174
+
175
+
176
+       ?>">
177
+        <a href="<?php echo $cheminComplet . "/" . $listeElements->getFilename(); ?>" data-title="Image créée par Cécile Chevallier et diffusée sous CC BY-SA 4.0." data-lightbox="<?php echo $listeElements->getFilename(); ?>">
178
+          <img src="<?php
179
+
180
+          if ($dimensions[0] > $dimensions[1]) {
181
+            echo $cheminComplet . "/800/" . $listeElements->getFilename();
182
+          } else {
183
+            echo $cheminComplet . "/400/" . $listeElements->getFilename();
184
+          }
185
+            ?>" alt=""/>
186
+
187
+        </a>
188
+      </div>
189
+          <?php
190
+    } else {
191
+      echo $cheminComplet . $listeElements->getFilename();
192
+      echo "ERREUR PHP : L'élément n'est ni un fichier ni un dossier !";
193
+    }
194
+
195
+		?>
196
+
197
+
198
+
199
+
200
+
201
+		<?php
202
+    $nbElementsAffiches++;
203
+
204
+
205
+	} } } ?>
206
+
207
+
208
+
209
+
210
+
211
+
212
+
213
+
214
+
215
+</main>
216
+
217
+<footer>
218
+  <br>
219
+  Images créées par Cécile Chevallier et diffusées sous CC BY-SA 4.0.
220
+  <br>
221
+  <a href="LICENSE.html">Site Web</a> créé par <a href="https://www.antopie.org">Miraty</a> sous <a href="LICENSE.html">AGPLv3+</a>.
222
+</footer>
223
+
224
+
225
+</body>
226
+</html>

+ 660
- 0
lessphp/LICENSE View File

@@ -0,0 +1,660 @@
1
+For ease of distribution, lessphp is under a dual license.
2
+You are free to pick which one suits your needs.
3
+
4
+
5
+
6
+
7
+MIT LICENSE
8
+
9
+
10
+
11
+
12
+Copyright (c) 2014 Leaf Corcoran, http://leafo.net/lessphp
13
+
14
+Permission is hereby granted, free of charge, to any person obtaining
15
+a copy of this software and associated documentation files (the
16
+"Software"), to deal in the Software without restriction, including
17
+without limitation the rights to use, copy, modify, merge, publish,
18
+distribute, sublicense, and/or sell copies of the Software, and to
19
+permit persons to whom the Software is furnished to do so, subject to
20
+the following conditions:
21
+
22
+The above copyright notice and this permission notice shall be
23
+included in all copies or substantial portions of the Software.
24
+
25
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
26
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
27
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
28
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
29
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
30
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
31
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
32
+
33
+
34
+
35
+
36
+GPL VERSION 3
37
+
38
+
39
+
40
+
41
+					GNU GENERAL PUBLIC LICENSE
42
+                       Version 3, 29 June 2007
43
+
44
+ Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
45
+ Everyone is permitted to copy and distribute verbatim copies
46
+ of this license document, but changing it is not allowed.
47
+
48
+                            Preamble
49
+
50
+  The GNU General Public License is a free, copyleft license for
51
+software and other kinds of works.
52
+
53
+  The licenses for most software and other practical works are designed
54
+to take away your freedom to share and change the works.  By contrast,
55
+the GNU General Public License is intended to guarantee your freedom to
56
+share and change all versions of a program--to make sure it remains free
57
+software for all its users.  We, the Free Software Foundation, use the
58
+GNU General Public License for most of our software; it applies also to
59
+any other work released this way by its authors.  You can apply it to
60
+your programs, too.
61
+
62
+  When we speak of free software, we are referring to freedom, not
63
+price.  Our General Public Licenses are designed to make sure that you
64
+have the freedom to distribute copies of free software (and charge for
65
+them if you wish), that you receive source code or can get it if you
66
+want it, that you can change the software or use pieces of it in new
67
+free programs, and that you know you can do these things.
68
+
69
+  To protect your rights, we need to prevent others from denying you
70
+these rights or asking you to surrender the rights.  Therefore, you have
71
+certain responsibilities if you distribute copies of the software, or if
72
+you modify it: responsibilities to respect the freedom of others.
73
+
74
+  For example, if you distribute copies of such a program, whether
75
+gratis or for a fee, you must pass on to the recipients the same
76
+freedoms that you received.  You must make sure that they, too, receive
77
+or can get the source code.  And you must show them these terms so they
78
+know their rights.
79
+
80
+  Developers that use the GNU GPL protect your rights with two steps:
81
+(1) assert copyright on the software, and (2) offer you this License
82
+giving you legal permission to copy, distribute and/or modify it.
83
+
84
+  For the developers' and authors' protection, the GPL clearly explains
85
+that there is no warranty for this free software.  For both users' and
86
+authors' sake, the GPL requires that modified versions be marked as
87
+changed, so that their problems will not be attributed erroneously to
88
+authors of previous versions.
89
+
90
+  Some devices are designed to deny users access to install or run
91
+modified versions of the software inside them, although the manufacturer
92
+can do so.  This is fundamentally incompatible with the aim of
93
+protecting users' freedom to change the software.  The systematic
94
+pattern of such abuse occurs in the area of products for individuals to
95
+use, which is precisely where it is most unacceptable.  Therefore, we
96
+have designed this version of the GPL to prohibit the practice for those
97
+products.  If such problems arise substantially in other domains, we
98
+stand ready to extend this provision to those domains in future versions
99
+of the GPL, as needed to protect the freedom of users.
100
+
101
+  Finally, every program is threatened constantly by software patents.
102
+States should not allow patents to restrict development and use of
103
+software on general-purpose computers, but in those that do, we wish to
104
+avoid the special danger that patents applied to a free program could
105
+make it effectively proprietary.  To prevent this, the GPL assures that
106
+patents cannot be used to render the program non-free.
107
+
108
+  The precise terms and conditions for copying, distribution and
109
+modification follow.
110
+
111
+                       TERMS AND CONDITIONS
112
+
113
+  0. Definitions.
114
+
115
+  "This License" refers to version 3 of the GNU General Public License.
116
+
117
+  "Copyright" also means copyright-like laws that apply to other kinds of
118
+works, such as semiconductor masks.
119
+
120
+  "The Program" refers to any copyrightable work licensed under this
121
+License.  Each licensee is addressed as "you".  "Licensees" and
122
+"recipients" may be individuals or organizations.
123
+
124
+  To "modify" a work means to copy from or adapt all or part of the work
125
+in a fashion requiring copyright permission, other than the making of an
126
+exact copy.  The resulting work is called a "modified version" of the
127
+earlier work or a work "based on" the earlier work.
128
+
129
+  A "covered work" means either the unmodified Program or a work based
130
+on the Program.
131
+
132
+  To "propagate" a work means to do anything with it that, without
133
+permission, would make you directly or secondarily liable for
134
+infringement under applicable copyright law, except executing it on a
135
+computer or modifying a private copy.  Propagation includes copying,
136
+distribution (with or without modification), making available to the
137
+public, and in some countries other activities as well.
138
+
139
+  To "convey" a work means any kind of propagation that enables other
140
+parties to make or receive copies.  Mere interaction with a user through
141
+a computer network, with no transfer of a copy, is not conveying.
142
+
143
+  An interactive user interface displays "Appropriate Legal Notices"
144
+to the extent that it includes a convenient and prominently visible
145
+feature that (1) displays an appropriate copyright notice, and (2)
146
+tells the user that there is no warranty for the work (except to the
147
+extent that warranties are provided), that licensees may convey the
148
+work under this License, and how to view a copy of this License.  If
149
+the interface presents a list of user commands or options, such as a
150
+menu, a prominent item in the list meets this criterion.
151
+
152
+  1. Source Code.
153
+
154
+  The "source code" for a work means the preferred form of the work
155
+for making modifications to it.  "Object code" means any non-source
156
+form of a work.
157
+
158
+  A "Standard Interface" means an interface that either is an official
159
+standard defined by a recognized standards body, or, in the case of
160
+interfaces specified for a particular programming language, one that
161
+is widely used among developers working in that language.
162
+
163
+  The "System Libraries" of an executable work include anything, other
164
+than the work as a whole, that (a) is included in the normal form of
165
+packaging a Major Component, but which is not part of that Major
166
+Component, and (b) serves only to enable use of the work with that
167
+Major Component, or to implement a Standard Interface for which an
168
+implementation is available to the public in source code form.  A
169
+"Major Component", in this context, means a major essential component
170
+(kernel, window system, and so on) of the specific operating system
171
+(if any) on which the executable work runs, or a compiler used to
172
+produce the work, or an object code interpreter used to run it.
173
+
174
+  The "Corresponding Source" for a work in object code form means all
175
+the source code needed to generate, install, and (for an executable
176
+work) run the object code and to modify the work, including scripts to
177
+control those activities.  However, it does not include the work's
178
+System Libraries, or general-purpose tools or generally available free
179
+programs which are used unmodified in performing those activities but
180
+which are not part of the work.  For example, Corresponding Source
181
+includes interface definition files associated with source files for
182
+the work, and the source code for shared libraries and dynamically
183
+linked subprograms that the work is specifically designed to require,
184
+such as by intimate data communication or control flow between those
185
+subprograms and other parts of the work.
186
+
187
+  The Corresponding Source need not include anything that users
188
+can regenerate automatically from other parts of the Corresponding
189
+Source.
190
+
191
+  The Corresponding Source for a work in source code form is that
192
+same work.
193
+
194
+  2. Basic Permissions.
195
+
196
+  All rights granted under this License are granted for the term of
197
+copyright on the Program, and are irrevocable provided the stated
198
+conditions are met.  This License explicitly affirms your unlimited
199
+permission to run the unmodified Program.  The output from running a
200
+covered work is covered by this License only if the output, given its
201
+content, constitutes a covered work.  This License acknowledges your
202
+rights of fair use or other equivalent, as provided by copyright law.
203
+
204
+  You may make, run and propagate covered works that you do not
205
+convey, without conditions so long as your license otherwise remains
206
+in force.  You may convey covered works to others for the sole purpose
207
+of having them make modifications exclusively for you, or provide you
208
+with facilities for running those works, provided that you comply with
209
+the terms of this License in conveying all material for which you do
210
+not control copyright.  Those thus making or running the covered works
211
+for you must do so exclusively on your behalf, under your direction
212
+and control, on terms that prohibit them from making any copies of
213
+your copyrighted material outside their relationship with you.
214
+
215
+  Conveying under any other circumstances is permitted solely under
216
+the conditions stated below.  Sublicensing is not allowed; section 10
217
+makes it unnecessary.
218
+
219
+  3. Protecting Users' Legal Rights From Anti-Circumvention Law.
220
+
221
+  No covered work shall be deemed part of an effective technological
222
+measure under any applicable law fulfilling obligations under article
223
+11 of the WIPO copyright treaty adopted on 20 December 1996, or
224
+similar laws prohibiting or restricting circumvention of such
225
+measures.
226
+
227
+  When you convey a covered work, you waive any legal power to forbid
228
+circumvention of technological measures to the extent such circumvention
229
+is effected by exercising rights under this License with respect to
230
+the covered work, and you disclaim any intention to limit operation or
231
+modification of the work as a means of enforcing, against the work's
232
+users, your or third parties' legal rights to forbid circumvention of
233
+technological measures.
234
+
235
+  4. Conveying Verbatim Copies.
236
+
237
+  You may convey verbatim copies of the Program's source code as you
238
+receive it, in any medium, provided that you conspicuously and
239
+appropriately publish on each copy an appropriate copyright notice;
240
+keep intact all notices stating that this License and any
241
+non-permissive terms added in accord with section 7 apply to the code;
242
+keep intact all notices of the absence of any warranty; and give all
243
+recipients a copy of this License along with the Program.
244
+
245
+  You may charge any price or no price for each copy that you convey,
246
+and you may offer support or warranty protection for a fee.
247
+
248
+  5. Conveying Modified Source Versions.
249
+
250
+  You may convey a work based on the Program, or the modifications to
251
+produce it from the Program, in the form of source code under the
252
+terms of section 4, provided that you also meet all of these conditions:
253
+
254
+    a) The work must carry prominent notices stating that you modified
255
+    it, and giving a relevant date.
256
+
257
+    b) The work must carry prominent notices stating that it is
258
+    released under this License and any conditions added under section
259
+    7.  This requirement modifies the requirement in section 4 to
260
+    "keep intact all notices".
261
+
262
+    c) You must license the entire work, as a whole, under this
263
+    License to anyone who comes into possession of a copy.  This
264
+    License will therefore apply, along with any applicable section 7
265
+    additional terms, to the whole of the work, and all its parts,
266
+    regardless of how they are packaged.  This License gives no
267
+    permission to license the work in any other way, but it does not
268
+    invalidate such permission if you have separately received it.
269
+
270
+    d) If the work has interactive user interfaces, each must display
271
+    Appropriate Legal Notices; however, if the Program has interactive
272
+    interfaces that do not display Appropriate Legal Notices, your
273
+    work need not make them do so.
274
+
275
+  A compilation of a covered work with other separate and independent
276
+works, which are not by their nature extensions of the covered work,
277
+and which are not combined with it such as to form a larger program,
278
+in or on a volume of a storage or distribution medium, is called an
279
+"aggregate" if the compilation and its resulting copyright are not
280
+used to limit the access or legal rights of the compilation's users
281
+beyond what the individual works permit.  Inclusion of a covered work
282
+in an aggregate does not cause this License to apply to the other
283
+parts of the aggregate.
284
+
285
+  6. Conveying Non-Source Forms.
286
+
287
+  You may convey a covered work in object code form under the terms
288
+of sections 4 and 5, provided that you also convey the
289
+machine-readable Corresponding Source under the terms of this License,
290
+in one of these ways:
291
+
292
+    a) Convey the object code in, or embodied in, a physical product
293
+    (including a physical distribution medium), accompanied by the
294
+    Corresponding Source fixed on a durable physical medium
295
+    customarily used for software interchange.
296
+
297
+    b) Convey the object code in, or embodied in, a physical product
298
+    (including a physical distribution medium), accompanied by a
299
+    written offer, valid for at least three years and valid for as
300
+    long as you offer spare parts or customer support for that product
301
+    model, to give anyone who possesses the object code either (1) a
302
+    copy of the Corresponding Source for all the software in the
303
+    product that is covered by this License, on a durable physical
304
+    medium customarily used for software interchange, for a price no
305
+    more than your reasonable cost of physically performing this
306
+    conveying of source, or (2) access to copy the
307
+    Corresponding Source from a network server at no charge.
308
+
309
+    c) Convey individual copies of the object code with a copy of the
310
+    written offer to provide the Corresponding Source.  This
311
+    alternative is allowed only occasionally and noncommercially, and
312
+    only if you received the object code with such an offer, in accord
313
+    with subsection 6b.
314
+
315
+    d) Convey the object code by offering access from a designated
316
+    place (gratis or for a charge), and offer equivalent access to the
317
+    Corresponding Source in the same way through the same place at no
318
+    further charge.  You need not require recipients to copy the
319
+    Corresponding Source along with the object code.  If the place to
320
+    copy the object code is a network server, the Corresponding Source
321
+    may be on a different server (operated by you or a third party)
322
+    that supports equivalent copying facilities, provided you maintain
323
+    clear directions next to the object code saying where to find the
324
+    Corresponding Source.  Regardless of what server hosts the
325
+    Corresponding Source, you remain obligated to ensure that it is
326
+    available for as long as needed to satisfy these requirements.
327
+
328
+    e) Convey the object code using peer-to-peer transmission, provided
329
+    you inform other peers where the object code and Corresponding
330
+    Source of the work are being offered to the general public at no
331
+    charge under subsection 6d.
332
+
333
+  A separable portion of the object code, whose source code is excluded
334
+from the Corresponding Source as a System Library, need not be
335
+included in conveying the object code work.
336
+
337
+  A "User Product" is either (1) a "consumer product", which means any
338
+tangible personal property which is normally used for personal, family,
339
+or household purposes, or (2) anything designed or sold for incorporation
340
+into a dwelling.  In determining whether a product is a consumer product,
341
+doubtful cases shall be resolved in favor of coverage.  For a particular
342
+product received by a particular user, "normally used" refers to a
343
+typical or common use of that class of product, regardless of the status
344
+of the particular user or of the way in which the particular user
345
+actually uses, or expects or is expected to use, the product.  A product
346
+is a consumer product regardless of whether the product has substantial
347
+commercial, industrial or non-consumer uses, unless such uses represent
348
+the only significant mode of use of the product.
349
+
350
+  "Installation Information" for a User Product means any methods,
351
+procedures, authorization keys, or other information required to install
352
+and execute modified versions of a covered work in that User Product from
353
+a modified version of its Corresponding Source.  The information must
354
+suffice to ensure that the continued functioning of the modified object
355
+code is in no case prevented or interfered with solely because
356
+modification has been made.
357
+
358
+  If you convey an object code work under this section in, or with, or
359
+specifically for use in, a User Product, and the conveying occurs as
360
+part of a transaction in which the right of possession and use of the
361
+User Product is transferred to the recipient in perpetuity or for a
362
+fixed term (regardless of how the transaction is characterized), the
363
+Corresponding Source conveyed under this section must be accompanied
364
+by the Installation Information.  But this requirement does not apply
365
+if neither you nor any third party retains the ability to install
366
+modified object code on the User Product (for example, the work has
367
+been installed in ROM).
368
+
369
+  The requirement to provide Installation Information does not include a
370
+requirement to continue to provide support service, warranty, or updates
371
+for a work that has been modified or installed by the recipient, or for
372
+the User Product in which it has been modified or installed.  Access to a
373
+network may be denied when the modification itself materially and
374
+adversely affects the operation of the network or violates the rules and
375
+protocols for communication across the network.
376
+
377
+  Corresponding Source conveyed, and Installation Information provided,
378
+in accord with this section must be in a format that is publicly
379
+documented (and with an implementation available to the public in
380
+source code form), and must require no special password or key for
381
+unpacking, reading or copying.
382
+
383
+  7. Additional Terms.
384
+
385
+  "Additional permissions" are terms that supplement the terms of this
386
+License by making exceptions from one or more of its conditions.
387
+Additional permissions that are applicable to the entire Program shall
388
+be treated as though they were included in this License, to the extent
389
+that they are valid under applicable law.  If additional permissions
390
+apply only to part of the Program, that part may be used separately
391
+under those permissions, but the entire Program remains governed by
392
+this License without regard to the additional permissions.
393
+
394
+  When you convey a copy of a covered work, you may at your option
395
+remove any additional permissions from that copy, or from any part of
396
+it.  (Additional permissions may be written to require their own
397
+removal in certain cases when you modify the work.)  You may place
398
+additional permissions on material, added by you to a covered work,
399
+for which you have or can give appropriate copyright permission.
400
+
401
+  Notwithstanding any other provision of this License, for material you
402
+add to a covered work, you may (if authorized by the copyright holders of
403
+that material) supplement the terms of this License with terms:
404
+
405
+    a) Disclaiming warranty or limiting liability differently from the
406
+    terms of sections 15 and 16 of this License; or
407
+
408
+    b) Requiring preservation of specified reasonable legal notices or
409
+    author attributions in that material or in the Appropriate Legal
410
+    Notices displayed by works containing it; or
411
+
412
+    c) Prohibiting misrepresentation of the origin of that material, or
413
+    requiring that modified versions of such material be marked in
414
+    reasonable ways as different from the original version; or
415
+
416
+    d) Limiting the use for publicity purposes of names of licensors or
417
+    authors of the material; or
418
+
419
+    e) Declining to grant rights under trademark law for use of some
420
+    trade names, trademarks, or service marks; or
421
+
422
+    f) Requiring indemnification of licensors and authors of that
423
+    material by anyone who conveys the material (or modified versions of
424
+    it) with contractual assumptions of liability to the recipient, for
425
+    any liability that these contractual assumptions directly impose on
426
+    those licensors and authors.
427
+
428
+  All other non-permissive additional terms are considered "further
429
+restrictions" within the meaning of section 10.  If the Program as you
430
+received it, or any part of it, contains a notice stating that it is
431
+governed by this License along with a term that is a further
432
+restriction, you may remove that term.  If a license document contains
433
+a further restriction but permits relicensing or conveying under this
434
+License, you may add to a covered work material governed by the terms
435
+of that license document, provided that the further restriction does
436
+not survive such relicensing or conveying.
437
+
438
+  If you add terms to a covered work in accord with this section, you
439
+must place, in the relevant source files, a statement of the
440
+additional terms that apply to those files, or a notice indicating
441
+where to find the applicable terms.
442
+
443
+  Additional terms, permissive or non-permissive, may be stated in the
444
+form of a separately written license, or stated as exceptions;
445
+the above requirements apply either way.
446
+
447
+  8. Termination.
448
+
449
+  You may not propagate or modify a covered work except as expressly
450
+provided under this License.  Any attempt otherwise to propagate or
451
+modify it is void, and will automatically terminate your rights under
452
+this License (including any patent licenses granted under the third
453
+paragraph of section 11).
454
+
455
+  However, if you cease all violation of this License, then your
456
+license from a particular copyright holder is reinstated (a)
457
+provisionally, unless and until the copyright holder explicitly and
458
+finally terminates your license, and (b) permanently, if the copyright
459
+holder fails to notify you of the violation by some reasonable means
460
+prior to 60 days after the cessation.
461
+
462
+  Moreover, your license from a particular copyright holder is
463
+reinstated permanently if the copyright holder notifies you of the
464
+violation by some reasonable means, this is the first time you have
465
+received notice of violation of this License (for any work) from that
466
+copyright holder, and you cure the violation prior to 30 days after
467
+your receipt of the notice.
468
+
469
+  Termination of your rights under this section does not terminate the
470
+licenses of parties who have received copies or rights from you under
471
+this License.  If your rights have been terminated and not permanently
472
+reinstated, you do not qualify to receive new licenses for the same
473
+material under section 10.
474
+
475
+  9. Acceptance Not Required for Having Copies.
476
+
477
+  You are not required to accept this License in order to receive or
478
+run a copy of the Program.  Ancillary propagation of a covered work
479
+occurring solely as a consequence of using peer-to-peer transmission
480
+to receive a copy likewise does not require acceptance.  However,
481
+nothing other than this License grants you permission to propagate or
482
+modify any covered work.  These actions infringe copyright if you do
483
+not accept this License.  Therefore, by modifying or propagating a
484
+covered work, you indicate your acceptance of this License to do so.
485
+
486
+  10. Automatic Licensing of Downstream Recipients.
487
+
488
+  Each time you convey a covered work, the recipient automatically
489
+receives a license from the original licensors, to run, modify and
490
+propagate that work, subject to this License.  You are not responsible
491
+for enforcing compliance by third parties with this License.
492
+
493
+  An "entity transaction" is a transaction transferring control of an
494
+organization, or substantially all assets of one, or subdividing an
495
+organization, or merging organizations.  If propagation of a covered
496
+work results from an entity transaction, each party to that
497
+transaction who receives a copy of the work also receives whatever
498
+licenses to the work the party's predecessor in interest had or could
499
+give under the previous paragraph, plus a right to possession of the
500
+Corresponding Source of the work from the predecessor in interest, if
501
+the predecessor has it or can get it with reasonable efforts.
502
+
503
+  You may not impose any further restrictions on the exercise of the
504
+rights granted or affirmed under this License.  For example, you may
505
+not impose a license fee, royalty, or other charge for exercise of
506
+rights granted under this License, and you may not initiate litigation
507
+(including a cross-claim or counterclaim in a lawsuit) alleging that
508
+any patent claim is infringed by making, using, selling, offering for
509
+sale, or importing the Program or any portion of it.
510
+
511
+  11. Patents.
512
+
513
+  A "contributor" is a copyright holder who authorizes use under this
514
+License of the Program or a work on which the Program is based.  The
515
+work thus licensed is called the contributor's "contributor version".
516
+
517
+  A contributor's "essential patent claims" are all patent claims
518
+owned or controlled by the contributor, whether already acquired or
519
+hereafter acquired, that would be infringed by some manner, permitted
520
+by this License, of making, using, or selling its contributor version,
521
+but do not include claims that would be infringed only as a
522
+consequence of further modification of the contributor version.  For
523
+purposes of this definition, "control" includes the right to grant
524
+patent sublicenses in a manner consistent with the requirements of
525
+this License.
526
+
527
+  Each contributor grants you a non-exclusive, worldwide, royalty-free
528
+patent license under the contributor's essential patent claims, to
529
+make, use, sell, offer for sale, import and otherwise run, modify and
530
+propagate the contents of its contributor version.
531
+
532
+  In the following three paragraphs, a "patent license" is any express
533
+agreement or commitment, however denominated, not to enforce a patent
534
+(such as an express permission to practice a patent or covenant not to
535
+sue for patent infringement).  To "grant" such a patent license to a
536
+party means to make such an agreement or commitment not to enforce a
537
+patent against the party.
538
+
539
+  If you convey a covered work, knowingly relying on a patent license,
540
+and the Corresponding Source of the work is not available for anyone
541
+to copy, free of charge and under the terms of this License, through a
542
+publicly available network server or other readily accessible means,
543
+then you must either (1) cause the Corresponding Source to be so
544
+available, or (2) arrange to deprive yourself of the benefit of the
545
+patent license for this particular work, or (3) arrange, in a manner
546
+consistent with the requirements of this License, to extend the patent
547
+license to downstream recipients.  "Knowingly relying" means you have
548
+actual knowledge that, but for the patent license, your conveying the
549
+covered work in a country, or your recipient's use of the covered work
550
+in a country, would infringe one or more identifiable patents in that
551
+country that you have reason to believe are valid.
552
+
553
+  If, pursuant to or in connection with a single transaction or
554
+arrangement, you convey, or propagate by procuring conveyance of, a
555
+covered work, and grant a patent license to some of the parties
556
+receiving the covered work authorizing them to use, propagate, modify
557
+or convey a specific copy of the covered work, then the patent license
558
+you grant is automatically extended to all recipients of the covered
559
+work and works based on it.
560
+
561
+  A patent license is "discriminatory" if it does not include within
562
+the scope of its coverage, prohibits the exercise of, or is
563
+conditioned on the non-exercise of one or more of the rights that are
564
+specifically granted under this License.  You may not convey a covered
565
+work if you are a party to an arrangement with a third party that is
566
+in the business of distributing software, under which you make payment
567
+to the third party based on the extent of your activity of conveying
568
+the work, and under which the third party grants, to any of the
569
+parties who would receive the covered work from you, a discriminatory
570
+patent license (a) in connection with copies of the covered work
571
+conveyed by you (or copies made from those copies), or (b) primarily
572
+for and in connection with specific products or compilations that
573
+contain the covered work, unless you entered into that arrangement,
574
+or that patent license was granted, prior to 28 March 2007.
575
+
576
+  Nothing in this License shall be construed as excluding or limiting
577
+any implied license or other defenses to infringement that may
578
+otherwise be available to you under applicable patent law.
579
+
580
+  12. No Surrender of Others' Freedom.
581
+
582
+  If conditions are imposed on you (whether by court order, agreement or
583
+otherwise) that contradict the conditions of this License, they do not
584
+excuse you from the conditions of this License.  If you cannot convey a
585
+covered work so as to satisfy simultaneously your obligations under this
586
+License and any other pertinent obligations, then as a consequence you may
587
+not convey it at all.  For example, if you agree to terms that obligate you
588
+to collect a royalty for further conveying from those to whom you convey
589
+the Program, the only way you could satisfy both those terms and this
590
+License would be to refrain entirely from conveying the Program.
591
+
592
+  13. Use with the GNU Affero General Public License.
593
+
594
+  Notwithstanding any other provision of this License, you have
595
+permission to link or combine any covered work with a work licensed
596
+under version 3 of the GNU Affero General Public License into a single
597
+combined work, and to convey the resulting work.  The terms of this
598
+License will continue to apply to the part which is the covered work,
599
+but the special requirements of the GNU Affero General Public License,
600
+section 13, concerning interaction through a network will apply to the
601
+combination as such.
602
+
603
+  14. Revised Versions of this License.
604
+
605
+  The Free Software Foundation may publish revised and/or new versions of
606
+the GNU General Public License from time to time.  Such new versions will
607
+be similar in spirit to the present version, but may differ in detail to
608
+address new problems or concerns.
609
+
610
+  Each version is given a distinguishing version number.  If the
611
+Program specifies that a certain numbered version of the GNU General
612
+Public License "or any later version" applies to it, you have the
613
+option of following the terms and conditions either of that numbered
614
+version or of any later version published by the Free Software
615
+Foundation.  If the Program does not specify a version number of the
616
+GNU General Public License, you may choose any version ever published
617
+by the Free Software Foundation.
618
+
619
+  If the Program specifies that a proxy can decide which future
620
+versions of the GNU General Public License can be used, that proxy's
621
+public statement of acceptance of a version permanently authorizes you
622
+to choose that version for the Program.
623
+
624
+  Later license versions may give you additional or different
625
+permissions.  However, no additional obligations are imposed on any
626
+author or copyright holder as a result of your choosing to follow a
627
+later version.
628
+
629
+  15. Disclaimer of Warranty.
630
+
631
+  THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
632
+APPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
633
+HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
634
+OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
635
+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
636
+PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
637
+IS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
638
+ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
639
+
640
+  16. Limitation of Liability.
641
+
642
+  IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
643
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
644
+THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
645
+GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
646
+USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
647
+DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
648
+PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
649
+EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
650
+SUCH DAMAGES.
651
+
652
+  17. Interpretation of Sections 15 and 16.
653
+
654
+  If the disclaimer of warranty and limitation of liability provided
655
+above cannot be given local legal effect according to their terms,
656
+reviewing courts shall apply local law that most closely approximates
657
+an absolute waiver of all civil liability in connection with the
658
+Program, unless a warranty or assumption of liability accompanies a
659
+copy of the Program in return for a fee.
660
+

+ 96
- 0
lessphp/README.md View File

@@ -0,0 +1,96 @@
1
+[![Build Status](https://travis-ci.org/leafo/lessphp.svg?branch=master)](https://travis-ci.org/leafo/lessphp)
2
+
3
+# lessphp v0.5.0
4
+### <http://leafo.net/lessphp>
5
+
6
+`lessphp` is a compiler for LESS written in PHP. The documentation is great,
7
+so check it out: <http://leafo.net/lessphp/docs/>.
8
+
9
+Here's a quick tutorial:
10
+
11
+### How to use in your PHP project
12
+
13
+The only file required is `lessc.inc.php`, so copy that to your include directory.
14
+
15
+The typical flow of **lessphp** is to create a new instance of `lessc`,
16
+configure it how you like, then tell it to compile something using one built in
17
+compile methods.
18
+
19
+The `compile` method compiles a string of LESS code to CSS.
20
+
21
+```php
22
+<?php
23
+require "lessc.inc.php";
24
+
25
+$less = new lessc;
26
+echo $less->compile(".block { padding: 3 + 4px }");
27
+```
28
+
29
+The `compileFile` method reads and compiles a file. It will either return the
30
+result or write it to the path specified by an optional second argument.
31
+
32
+```php
33
+<?php
34
+echo $less->compileFile("input.less");
35
+```
36
+
37
+The `checkedCompile` method is like `compileFile`, but it only compiles if the output
38
+file doesn't exist or it's older than the input file:
39
+
40
+```php
41
+<?php
42
+$less->checkedCompile("input.less", "output.css");
43
+```
44
+
45
+If there any problem compiling your code, an exception is thrown with a helpful message:
46
+
47
+```php
48
+<?php
49
+try {
50
+  $less->compile("invalid LESS } {");
51
+} catch (exception $e) {
52
+  echo "fatal error: " . $e->getMessage();
53
+}
54
+```
55
+
56
+The `lessc` object can be configured through an assortment of instance methods.
57
+Some possible configuration options include [changing the output format][1],
58
+[setting variables from PHP][2], and [controlling the preservation of
59
+comments][3], writing [custom functions][4] and much more. It's all described
60
+in [the documentation][0].
61
+
62
+
63
+ [0]: http://leafo.net/lessphp/docs/
64
+ [1]: http://leafo.net/lessphp/docs/#output_formatting
65
+ [2]: http://leafo.net/lessphp/docs/#setting_variables_from_php
66
+ [3]: http://leafo.net/lessphp/docs/#preserving_comments
67
+ [4]: http://leafo.net/lessphp/docs/#custom_functions
68
+
69
+
70
+### How to use from the command line
71
+
72
+An additional script has been included to use the compiler from the command
73
+line. In the simplest invocation, you specify an input file and the compiled
74
+css is written to standard out:
75
+
76
+    $ plessc input.less > output.css
77
+
78
+Using the -r flag, you can specify LESS code directly as an argument or, if
79
+the argument is left off, from standard in:
80
+
81
+    $ plessc -r "my less code here"
82
+
83
+Finally, by using the -w flag you can watch a specified input file and have it
84
+compile as needed to the output file:
85
+
86
+    $ plessc -w input-file output-file
87
+
88
+Errors from watch mode are written to standard out.
89
+
90
+The -f flag sets the [output formatter][1]. For example, to compress the
91
+output run this:
92
+
93
+    $ plessc -f=compressed myfile.less
94
+
95
+For more help, run `plessc --help`
96
+

+ 3880
- 0
lessphp/lessc.inc.php
File diff suppressed because it is too large
View File


+ 21
- 0
lightbox/.editorconfig View File

@@ -0,0 +1,21 @@
1
+# EditorConfig helps developers define and maintain consistent
2
+# coding styles between different editors and IDEs
3
+# editorconfig.org
4
+
5
+root = true
6
+
7
+
8
+[*]
9
+
10
+# Change these settings to your own preference
11
+indent_style = space
12
+indent_size = 2
13
+
14
+# We recommend you to keep these unchanged
15
+end_of_line = lf
16
+charset = utf-8
17
+trim_trailing_whitespace = true
18
+insert_final_newline = true
19
+
20
+[*.md]
21
+trim_trailing_whitespace = false

+ 27
- 0
lightbox/.github/ISSUE_TEMPLATE.md View File

@@ -0,0 +1,27 @@
1
+🐛 **Github issues is for bugs only.** No feature requests or support tickets please.
2
+
3
+## Trouble using Lightbox?
4
+
5
+1. Search [Stackoverflow](https://stackoverflow.com/questions/tagged/lightbox2) to see if other people have run into similar issues.
6
+3. If you don't find anything similar, then post a new question on [Stackoverflow](https://stackoverflow.com/questions/ask). Use the `lightbox2` tag.
7
+
8
+## Have a Feature Request?
9
+
10
+1. [Search through existing Github Issues and PRs](https://github.com/lokesh/lightbox2/issues) to see if the feature has been discussed or already created.
11
+2. If not, search [Stackoverflow](https://stackoverflow.com/questions/tagged/lightbox2) to see if other people have made similar requests.
12
+3. If your feature request is unique, then post a new question on [Stackoverflow](https://stackoverflow.com/questions/ask). Use the `lightbox2` tag.
13
+
14
+View the project [Roadmap](https://github.com/lokesh/lightbox2/blob/master/ROADMAP.md).
15
+
16
+
17
+## Found a Bug?
18
+
19
+[Search through existing Github Issues](https://github.com/lokesh/lightbox2/issues) that have been reported to avoid creating a duplicate issue. If your bug has not been reported, create a new issue with the following details:
20
+
21
+**What version of Lightbox2 you are using?**
22
+
23
+**Which browsers and operating systems have you seen the issue on?**
24
+
25
+**What are the steps to reproduce the bug?**
26
+
27
+**Do you have link to a live site where the bug is visible? or can you post relevant HTML, CSS, and Javascript?**

+ 4
- 0
lightbox/.github/PULL_REQUEST_TEMPLATE.md View File

@@ -0,0 +1,4 @@
1
+> Pull Requests are welcome. But v2 of Lightbox is in Maintenance Mode. 
2
+> No new features are planned. See the [Roadmap](https://github.com/lokesh/lightbox2/blob/master/ROADMAP.md).
3
+> 
4
+> PRs submitted will still be reviewed and kept open for others to utilize.

+ 2
- 0
lightbox/.gitignore View File

@@ -0,0 +1,2 @@
1
+bower_components
2
+node_modules

+ 75
- 0
lightbox/.jscsrc View File

@@ -0,0 +1,75 @@
1
+{
2
+  "requireSpaceAfterLineComment": true,
3
+  "requireSpaceAfterKeywords": [
4
+    "do",
5
+    "for",
6
+    "if",
7
+    "else",
8
+    "switch",
9
+    "case",
10
+    "try",
11
+    "catch",
12
+    "void",
13
+    "while",
14
+    "with",
15
+    "return",
16
+    "typeof"
17
+  ],
18
+  "requireSpaceBeforeBlockStatements": true,
19
+  "requireParenthesesAroundIIFE": true,
20
+  "requireSpacesInConditionalExpression": true,
21
+  "disallowMultipleVarDecl": true,
22
+  "requireBlocksOnNewline": true,
23
+  "disallowEmptyBlocks": true,
24
+  "disallowSpacesInsideParentheses": true,
25
+  "disallowSpaceAfterObjectKeys": true,
26
+  "requireSpaceBeforeObjectValues": true,
27
+  "requireCommaBeforeLineBreak": true,
28
+  "requireOperatorBeforeLineBreak": [
29
+    "?",
30
+    "=",
31
+    "+",
32
+    "-",
33
+    "/",
34
+    "*",
35
+    "==",
36
+    "===",
37
+    "!=",
38
+    "!==",
39
+    ">",
40
+    ">=",
41
+    "<",