diff --git a/.gitignore b/.gitignore index 8f1d95e675..3e8fbd96d9 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: CC0-1.0 + # Byte-compiled / optimized / DLL files __pycache__/ *.py[cod] diff --git a/LICENSES/Apache-2.0.txt b/LICENSES/Apache-2.0.txt new file mode 100644 index 0000000000..137069b823 --- /dev/null +++ b/LICENSES/Apache-2.0.txt @@ -0,0 +1,73 @@ +Apache License +Version 2.0, January 2004 +http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + +"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. + +"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. + +"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. + +"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. + +"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. + +"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. + +"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). + +"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. + +"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." + +"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: + + (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. + + You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + +To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. diff --git a/LICENSES/CC0-1.0.txt b/LICENSES/CC0-1.0.txt new file mode 100644 index 0000000000..0e259d42c9 --- /dev/null +++ b/LICENSES/CC0-1.0.txt @@ -0,0 +1,121 @@ +Creative Commons Legal Code + +CC0 1.0 Universal + + CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE + LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN + ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS + INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES + REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS + PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM + THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED + HEREUNDER. + +Statement of Purpose + +The laws of most jurisdictions throughout the world automatically confer +exclusive Copyright and Related Rights (defined below) upon the creator +and subsequent owner(s) (each and all, an "owner") of an original work of +authorship and/or a database (each, a "Work"). + +Certain owners wish to permanently relinquish those rights to a Work for +the purpose of contributing to a commons of creative, cultural and +scientific works ("Commons") that the public can reliably and without fear +of later claims of infringement build upon, modify, incorporate in other +works, reuse and redistribute as freely as possible in any form whatsoever +and for any purposes, including without limitation commercial purposes. +These owners may contribute to the Commons to promote the ideal of a free +culture and the further production of creative, cultural and scientific +works, or to gain reputation or greater distribution for their Work in +part through the use and efforts of others. + +For these and/or other purposes and motivations, and without any +expectation of additional consideration or compensation, the person +associating CC0 with a Work (the "Affirmer"), to the extent that he or she +is an owner of Copyright and Related Rights in the Work, voluntarily +elects to apply CC0 to the Work and publicly distribute the Work under its +terms, with knowledge of his or her Copyright and Related Rights in the +Work and the meaning and intended legal effect of CC0 on those rights. + +1. Copyright and Related Rights. A Work made available under CC0 may be +protected by copyright and related or neighboring rights ("Copyright and +Related Rights"). Copyright and Related Rights include, but are not +limited to, the following: + + i. the right to reproduce, adapt, distribute, perform, display, + communicate, and translate a Work; + ii. moral rights retained by the original author(s) and/or performer(s); +iii. publicity and privacy rights pertaining to a person's image or + likeness depicted in a Work; + iv. rights protecting against unfair competition in regards to a Work, + subject to the limitations in paragraph 4(a), below; + v. rights protecting the extraction, dissemination, use and reuse of data + in a Work; + vi. database rights (such as those arising under Directive 96/9/EC of the + European Parliament and of the Council of 11 March 1996 on the legal + protection of databases, and under any national implementation + thereof, including any amended or successor version of such + directive); and +vii. other similar, equivalent or corresponding rights throughout the + world based on applicable law or treaty, and any national + implementations thereof. + +2. Waiver. To the greatest extent permitted by, but not in contravention +of, applicable law, Affirmer hereby overtly, fully, permanently, +irrevocably and unconditionally waives, abandons, and surrenders all of +Affirmer's Copyright and Related Rights and associated claims and causes +of action, whether now known or unknown (including existing as well as +future claims and causes of action), in the Work (i) in all territories +worldwide, (ii) for the maximum duration provided by applicable law or +treaty (including future time extensions), (iii) in any current or future +medium and for any number of copies, and (iv) for any purpose whatsoever, +including without limitation commercial, advertising or promotional +purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each +member of the public at large and to the detriment of Affirmer's heirs and +successors, fully intending that such Waiver shall not be subject to +revocation, rescission, cancellation, termination, or any other legal or +equitable action to disrupt the quiet enjoyment of the Work by the public +as contemplated by Affirmer's express Statement of Purpose. + +3. Public License Fallback. Should any part of the Waiver for any reason +be judged legally invalid or ineffective under applicable law, then the +Waiver shall be preserved to the maximum extent permitted taking into +account Affirmer's express Statement of Purpose. In addition, to the +extent the Waiver is so judged Affirmer hereby grants to each affected +person a royalty-free, non transferable, non sublicensable, non exclusive, +irrevocable and unconditional license to exercise Affirmer's Copyright and +Related Rights in the Work (i) in all territories worldwide, (ii) for the +maximum duration provided by applicable law or treaty (including future +time extensions), (iii) in any current or future medium and for any number +of copies, and (iv) for any purpose whatsoever, including without +limitation commercial, advertising or promotional purposes (the +"License"). The License shall be deemed effective as of the date CC0 was +applied by Affirmer to the Work. Should any part of the License for any +reason be judged legally invalid or ineffective under applicable law, such +partial invalidity or ineffectiveness shall not invalidate the remainder +of the License, and in such case Affirmer hereby affirms that he or she +will not (i) exercise any of his or her remaining Copyright and Related +Rights in the Work or (ii) assert any associated claims and causes of +action with respect to the Work, in either case contrary to Affirmer's +express Statement of Purpose. + +4. Limitations and Disclaimers. + + a. No trademark or patent rights held by Affirmer are waived, abandoned, + surrendered, licensed or otherwise affected by this document. + b. Affirmer offers the Work as-is and makes no representations or + warranties of any kind concerning the Work, express, implied, + statutory or otherwise, including without limitation warranties of + title, merchantability, fitness for a particular purpose, non + infringement, or the absence of latent or other defects, accuracy, or + the present or absence of errors, whether or not discoverable, all to + the greatest extent permissible under applicable law. + c. Affirmer disclaims responsibility for clearing rights of other persons + that may apply to the Work or any use thereof, including without + limitation any person's Copyright and Related Rights in the Work. + Further, Affirmer disclaims responsibility for obtaining any necessary + consents, permissions or other rights required for any use of the + Work. + d. Affirmer understands and acknowledges that Creative Commons is not a + party to this document and has no duty or obligation with respect to + this CC0 or use of the Work. diff --git a/assets.license b/assets.license new file mode 100644 index 0000000000..6bea5ef11f --- /dev/null +++ b/assets.license @@ -0,0 +1 @@ +SPDX-FileCopyrightText: 2023 pretalx contributors diff --git a/assets/birthday.png.license b/assets/birthday.png.license new file mode 100644 index 0000000000..6bea5ef11f --- /dev/null +++ b/assets/birthday.png.license @@ -0,0 +1 @@ +SPDX-FileCopyrightText: 2023 pretalx contributors diff --git a/assets/birthday.svg.license b/assets/birthday.svg.license new file mode 100644 index 0000000000..6bea5ef11f --- /dev/null +++ b/assets/birthday.svg.license @@ -0,0 +1 @@ +SPDX-FileCopyrightText: 2023 pretalx contributors diff --git a/assets/favicon-16x16.png.license b/assets/favicon-16x16.png.license new file mode 100644 index 0000000000..6bea5ef11f --- /dev/null +++ b/assets/favicon-16x16.png.license @@ -0,0 +1 @@ +SPDX-FileCopyrightText: 2023 pretalx contributors diff --git a/assets/favicon-32x32.png.license b/assets/favicon-32x32.png.license new file mode 100644 index 0000000000..6bea5ef11f --- /dev/null +++ b/assets/favicon-32x32.png.license @@ -0,0 +1 @@ +SPDX-FileCopyrightText: 2023 pretalx contributors diff --git a/assets/icon.png.license b/assets/icon.png.license new file mode 100644 index 0000000000..6bea5ef11f --- /dev/null +++ b/assets/icon.png.license @@ -0,0 +1 @@ +SPDX-FileCopyrightText: 2023 pretalx contributors diff --git a/assets/icon.svg.license b/assets/icon.svg.license new file mode 100644 index 0000000000..6bea5ef11f --- /dev/null +++ b/assets/icon.svg.license @@ -0,0 +1 @@ +SPDX-FileCopyrightText: 2023 pretalx contributors diff --git a/assets/logo.png.license b/assets/logo.png.license new file mode 100644 index 0000000000..6bea5ef11f --- /dev/null +++ b/assets/logo.png.license @@ -0,0 +1 @@ +SPDX-FileCopyrightText: 2023 pretalx contributors diff --git a/assets/logo.svg.license b/assets/logo.svg.license new file mode 100644 index 0000000000..6bea5ef11f --- /dev/null +++ b/assets/logo.svg.license @@ -0,0 +1 @@ +SPDX-FileCopyrightText: 2023 pretalx contributors diff --git a/assets/logo_inverted.png.license b/assets/logo_inverted.png.license new file mode 100644 index 0000000000..6bea5ef11f --- /dev/null +++ b/assets/logo_inverted.png.license @@ -0,0 +1 @@ +SPDX-FileCopyrightText: 2023 pretalx contributors diff --git a/assets/logo_inverted.svg.license b/assets/logo_inverted.svg.license new file mode 100644 index 0000000000..6bea5ef11f --- /dev/null +++ b/assets/logo_inverted.svg.license @@ -0,0 +1 @@ +SPDX-FileCopyrightText: 2023 pretalx contributors diff --git a/assets/screenshots.png.license b/assets/screenshots.png.license new file mode 100644 index 0000000000..6bea5ef11f --- /dev/null +++ b/assets/screenshots.png.license @@ -0,0 +1 @@ +SPDX-FileCopyrightText: 2023 pretalx contributors diff --git a/assets/translate.png.license b/assets/translate.png.license new file mode 100644 index 0000000000..6bea5ef11f --- /dev/null +++ b/assets/translate.png.license @@ -0,0 +1 @@ +SPDX-FileCopyrightText: 2023 pretalx contributors diff --git a/assets/translate.svg.license b/assets/translate.svg.license new file mode 100644 index 0000000000..6bea5ef11f --- /dev/null +++ b/assets/translate.svg.license @@ -0,0 +1 @@ +SPDX-FileCopyrightText: 2023 pretalx contributors diff --git a/doc/images/logo.svg.license b/doc/images/logo.svg.license new file mode 100644 index 0000000000..6bea5ef11f --- /dev/null +++ b/doc/images/logo.svg.license @@ -0,0 +1 @@ +SPDX-FileCopyrightText: 2023 pretalx contributors diff --git a/src/pretalx/__main__.py b/src/pretalx/__main__.py index 4d3f55f21c..905e28ed3f 100644 --- a/src/pretalx/__main__.py +++ b/src/pretalx/__main__.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + import os import sys diff --git a/src/pretalx/agenda/apps.py b/src/pretalx/agenda/apps.py index 04b6b7dd13..bb573e1ae9 100644 --- a/src/pretalx/agenda/apps.py +++ b/src/pretalx/agenda/apps.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + from contextlib import suppress from django.apps import AppConfig diff --git a/src/pretalx/agenda/context_processors.py b/src/pretalx/agenda/context_processors.py index e4d1310e57..87c276e419 100644 --- a/src/pretalx/agenda/context_processors.py +++ b/src/pretalx/agenda/context_processors.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + def is_html_export(request): """We tell templates that they are rendering a static export if the request META is set. diff --git a/src/pretalx/agenda/management/commands/__init__.py b/src/pretalx/agenda/management/commands/__init__.py index e69de29bb2..28bb1867ef 100644 --- a/src/pretalx/agenda/management/commands/__init__.py +++ b/src/pretalx/agenda/management/commands/__init__.py @@ -0,0 +1,3 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 diff --git a/src/pretalx/agenda/management/commands/export_schedule_html.py b/src/pretalx/agenda/management/commands/export_schedule_html.py index 1910f71221..896a1c8adc 100644 --- a/src/pretalx/agenda/management/commands/export_schedule_html.py +++ b/src/pretalx/agenda/management/commands/export_schedule_html.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + import contextlib import logging import re diff --git a/src/pretalx/agenda/permissions.py b/src/pretalx/agenda/permissions.py index c2560c4676..69cd0ae5bb 100644 --- a/src/pretalx/agenda/permissions.py +++ b/src/pretalx/agenda/permissions.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + import rules from pretalx.person.permissions import can_change_submissions diff --git a/src/pretalx/agenda/phrases.py b/src/pretalx/agenda/phrases.py index a1f3d4d8bc..7beba5a6ea 100644 --- a/src/pretalx/agenda/phrases.py +++ b/src/pretalx/agenda/phrases.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + from django.utils.translation import gettext as _ from pretalx.common.phrases import BasePhrases, Phrases diff --git a/src/pretalx/agenda/recording.py b/src/pretalx/agenda/recording.py index b99cd8084f..e8a37235a2 100644 --- a/src/pretalx/agenda/recording.py +++ b/src/pretalx/agenda/recording.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + class BaseRecordingProvider: """RecordingProviders should subclass this class. diff --git a/src/pretalx/agenda/signals.py b/src/pretalx/agenda/signals.py index ebb3c3ef61..43de2a76fb 100644 --- a/src/pretalx/agenda/signals.py +++ b/src/pretalx/agenda/signals.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + from pretalx.common.signals import EventPluginSignal register_recording_provider = EventPluginSignal() diff --git a/src/pretalx/agenda/tasks.py b/src/pretalx/agenda/tasks.py index 16f55e6075..78322175c0 100644 --- a/src/pretalx/agenda/tasks.py +++ b/src/pretalx/agenda/tasks.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + import logging from django_scopes import scope, scopes_disabled diff --git a/src/pretalx/agenda/urls.py b/src/pretalx/agenda/urls.py index 411715222c..11b3d9567d 100644 --- a/src/pretalx/agenda/urls.py +++ b/src/pretalx/agenda/urls.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + from django.urls import include, path, re_path from pretalx.common.views import EventSocialMediaCard, get_static diff --git a/src/pretalx/agenda/views/__init__.py b/src/pretalx/agenda/views/__init__.py index e69de29bb2..28bb1867ef 100644 --- a/src/pretalx/agenda/views/__init__.py +++ b/src/pretalx/agenda/views/__init__.py @@ -0,0 +1,3 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 diff --git a/src/pretalx/agenda/views/featured.py b/src/pretalx/agenda/views/featured.py index 21d6792fb2..cea504eda4 100644 --- a/src/pretalx/agenda/views/featured.py +++ b/src/pretalx/agenda/views/featured.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + from django.contrib.auth.models import AnonymousUser from django.http import HttpResponsePermanentRedirect, HttpResponseRedirect from django.utils.functional import cached_property diff --git a/src/pretalx/agenda/views/feed.py b/src/pretalx/agenda/views/feed.py index 1f1f8f57c9..e18245b9f9 100644 --- a/src/pretalx/agenda/views/feed.py +++ b/src/pretalx/agenda/views/feed.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + from django.contrib.syndication.views import Feed from django.http import Http404 from django.utils import feedgenerator diff --git a/src/pretalx/agenda/views/schedule.py b/src/pretalx/agenda/views/schedule.py index 04e2666ada..16419c7f8d 100644 --- a/src/pretalx/agenda/views/schedule.py +++ b/src/pretalx/agenda/views/schedule.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + import hashlib import logging import textwrap diff --git a/src/pretalx/agenda/views/speaker.py b/src/pretalx/agenda/views/speaker.py index 2cdb4b0d2a..a1699171a8 100644 --- a/src/pretalx/agenda/views/speaker.py +++ b/src/pretalx/agenda/views/speaker.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + import io from collections import defaultdict from urllib.parse import urlparse diff --git a/src/pretalx/agenda/views/talk.py b/src/pretalx/agenda/views/talk.py index e2191a2f32..c74d3ef22d 100644 --- a/src/pretalx/agenda/views/talk.py +++ b/src/pretalx/agenda/views/talk.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + from urllib.parse import urlparse import vobject diff --git a/src/pretalx/agenda/views/widget.py b/src/pretalx/agenda/views/widget.py index c8db438f46..2e624343fc 100644 --- a/src/pretalx/agenda/views/widget.py +++ b/src/pretalx/agenda/views/widget.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + import datetime as dt from urllib.parse import unquote diff --git a/src/pretalx/api/__init__.py b/src/pretalx/api/__init__.py index e69de29bb2..28bb1867ef 100644 --- a/src/pretalx/api/__init__.py +++ b/src/pretalx/api/__init__.py @@ -0,0 +1,3 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 diff --git a/src/pretalx/api/apps.py b/src/pretalx/api/apps.py index 7be395329c..fe83235362 100644 --- a/src/pretalx/api/apps.py +++ b/src/pretalx/api/apps.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + from django.apps import AppConfig diff --git a/src/pretalx/api/permissions.py b/src/pretalx/api/permissions.py index fcbf89d16a..e4ea706ca2 100644 --- a/src/pretalx/api/permissions.py +++ b/src/pretalx/api/permissions.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + from rest_framework.permissions import SAFE_METHODS, BasePermission diff --git a/src/pretalx/api/serializers/__init__.py b/src/pretalx/api/serializers/__init__.py index e69de29bb2..28bb1867ef 100644 --- a/src/pretalx/api/serializers/__init__.py +++ b/src/pretalx/api/serializers/__init__.py @@ -0,0 +1,3 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 diff --git a/src/pretalx/api/serializers/event.py b/src/pretalx/api/serializers/event.py index 17aaecb239..b7fde53d4e 100644 --- a/src/pretalx/api/serializers/event.py +++ b/src/pretalx/api/serializers/event.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + from rest_framework.serializers import ModelSerializer from urlman.serializers import UrlManField diff --git a/src/pretalx/api/serializers/question.py b/src/pretalx/api/serializers/question.py index 401695c5c4..d8f9a9eb52 100644 --- a/src/pretalx/api/serializers/question.py +++ b/src/pretalx/api/serializers/question.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + from rest_framework.serializers import ModelSerializer, SlugRelatedField from pretalx.person.models import User diff --git a/src/pretalx/api/serializers/review.py b/src/pretalx/api/serializers/review.py index 8131b8f1a8..c4e1cf7e04 100644 --- a/src/pretalx/api/serializers/review.py +++ b/src/pretalx/api/serializers/review.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + from rest_framework.serializers import ( ModelSerializer, SerializerMethodField, diff --git a/src/pretalx/api/serializers/room.py b/src/pretalx/api/serializers/room.py index d2ac6012df..bc6ad05f67 100644 --- a/src/pretalx/api/serializers/room.py +++ b/src/pretalx/api/serializers/room.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + from i18nfield.rest_framework import I18nAwareModelSerializer from rest_framework.serializers import ModelSerializer, SerializerMethodField diff --git a/src/pretalx/api/serializers/speaker.py b/src/pretalx/api/serializers/speaker.py index b08b25dd20..a234cf5675 100644 --- a/src/pretalx/api/serializers/speaker.py +++ b/src/pretalx/api/serializers/speaker.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + from rest_framework.serializers import CharField, ModelSerializer, SerializerMethodField from pretalx.api.serializers.question import AnswerSerializer diff --git a/src/pretalx/api/serializers/submission.py b/src/pretalx/api/serializers/submission.py index b37cd473ca..7f9428b970 100644 --- a/src/pretalx/api/serializers/submission.py +++ b/src/pretalx/api/serializers/submission.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + from functools import partial from i18nfield.rest_framework import I18nAwareModelSerializer diff --git a/src/pretalx/api/urls.py b/src/pretalx/api/urls.py index 4a91cc573a..e47b3e4c0f 100644 --- a/src/pretalx/api/urls.py +++ b/src/pretalx/api/urls.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + from django.urls import include, path from rest_framework import routers from rest_framework.authtoken.views import obtain_auth_token diff --git a/src/pretalx/api/views/__init__.py b/src/pretalx/api/views/__init__.py index e69de29bb2..28bb1867ef 100644 --- a/src/pretalx/api/views/__init__.py +++ b/src/pretalx/api/views/__init__.py @@ -0,0 +1,3 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 diff --git a/src/pretalx/api/views/event.py b/src/pretalx/api/views/event.py index 7bd0e1b2f5..3b5eab3694 100644 --- a/src/pretalx/api/views/event.py +++ b/src/pretalx/api/views/event.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + from django.http import Http404 from rest_framework import viewsets diff --git a/src/pretalx/api/views/question.py b/src/pretalx/api/views/question.py index a0b7545114..243223a4af 100644 --- a/src/pretalx/api/views/question.py +++ b/src/pretalx/api/views/question.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + from django_filters import rest_framework as filters from rest_framework import viewsets from rest_framework.permissions import SAFE_METHODS diff --git a/src/pretalx/api/views/review.py b/src/pretalx/api/views/review.py index e092c1997c..03e12e6d4c 100644 --- a/src/pretalx/api/views/review.py +++ b/src/pretalx/api/views/review.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + from django.db import models from rest_framework import viewsets diff --git a/src/pretalx/api/views/room.py b/src/pretalx/api/views/room.py index 1c2ab99d0f..151f128226 100644 --- a/src/pretalx/api/views/room.py +++ b/src/pretalx/api/views/room.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + from rest_framework import pagination, viewsets from pretalx.api.serializers.room import RoomOrgaSerializer, RoomSerializer diff --git a/src/pretalx/api/views/speaker.py b/src/pretalx/api/views/speaker.py index 04ca9eefb9..3ca7cbcff2 100644 --- a/src/pretalx/api/views/speaker.py +++ b/src/pretalx/api/views/speaker.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + from django.utils.functional import cached_property from rest_framework import viewsets diff --git a/src/pretalx/api/views/submission.py b/src/pretalx/api/views/submission.py index 1d0daa3a21..5298e7e883 100644 --- a/src/pretalx/api/views/submission.py +++ b/src/pretalx/api/views/submission.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + from django.http import Http404 from django.utils.functional import cached_property from django_filters import rest_framework as filters diff --git a/src/pretalx/api/views/user.py b/src/pretalx/api/views/user.py index 51c764d56f..af12c244f6 100644 --- a/src/pretalx/api/views/user.py +++ b/src/pretalx/api/views/user.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + from rest_framework.response import Response from rest_framework.views import APIView diff --git a/src/pretalx/celery_app.py b/src/pretalx/celery_app.py index e4650032bd..63e1387ad7 100644 --- a/src/pretalx/celery_app.py +++ b/src/pretalx/celery_app.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + import os from celery import Celery diff --git a/src/pretalx/cfp/forms/__init__.py b/src/pretalx/cfp/forms/__init__.py index e69de29bb2..28bb1867ef 100644 --- a/src/pretalx/cfp/forms/__init__.py +++ b/src/pretalx/cfp/forms/__init__.py @@ -0,0 +1,3 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 diff --git a/src/pretalx/cfp/forms/auth.py b/src/pretalx/cfp/forms/auth.py index 6859899d16..5b2d60a3a5 100644 --- a/src/pretalx/cfp/forms/auth.py +++ b/src/pretalx/cfp/forms/auth.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + from django import forms from django.core.exceptions import ValidationError from django.utils.translation import gettext_lazy as _ diff --git a/src/pretalx/cfp/forms/cfp.py b/src/pretalx/cfp/forms/cfp.py index 38fede1ad2..36f348fd05 100644 --- a/src/pretalx/cfp/forms/cfp.py +++ b/src/pretalx/cfp/forms/cfp.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + from pretalx.common.templatetags.rich_text import rich_text diff --git a/src/pretalx/cfp/forms/submissions.py b/src/pretalx/cfp/forms/submissions.py index 3ae4152a76..c063ef7c24 100644 --- a/src/pretalx/cfp/forms/submissions.py +++ b/src/pretalx/cfp/forms/submissions.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + from django import forms from django.utils.translation import gettext_lazy as _ diff --git a/src/pretalx/cfp/views/__init__.py b/src/pretalx/cfp/views/__init__.py index e69de29bb2..28bb1867ef 100644 --- a/src/pretalx/cfp/views/__init__.py +++ b/src/pretalx/cfp/views/__init__.py @@ -0,0 +1,3 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 diff --git a/src/pretalx/cfp/views/auth.py b/src/pretalx/cfp/views/auth.py index 389597e4b0..ed8b0d8c09 100644 --- a/src/pretalx/cfp/views/auth.py +++ b/src/pretalx/cfp/views/auth.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + import datetime as dt from importlib import import_module diff --git a/src/pretalx/cfp/views/event.py b/src/pretalx/cfp/views/event.py index b5054f6c45..5ab7d775ec 100644 --- a/src/pretalx/cfp/views/event.py +++ b/src/pretalx/cfp/views/event.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + from urllib.parse import urlencode from django.contrib.auth.mixins import LoginRequiredMixin diff --git a/src/pretalx/cfp/views/locale.py b/src/pretalx/cfp/views/locale.py index 0c9e6a9553..14397b4b84 100644 --- a/src/pretalx/cfp/views/locale.py +++ b/src/pretalx/cfp/views/locale.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + import datetime as dt from urllib.parse import parse_qs, urlencode, urlparse diff --git a/src/pretalx/cfp/views/robots.py b/src/pretalx/cfp/views/robots.py index 31ce64c817..a2e838a5d5 100644 --- a/src/pretalx/cfp/views/robots.py +++ b/src/pretalx/cfp/views/robots.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + from django.http import HttpResponse from django.views.decorators.cache import cache_page diff --git a/src/pretalx/cfp/views/user.py b/src/pretalx/cfp/views/user.py index 06ec74490b..6c49843718 100644 --- a/src/pretalx/cfp/views/user.py +++ b/src/pretalx/cfp/views/user.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + import textwrap import urllib diff --git a/src/pretalx/cfp/views/wizard.py b/src/pretalx/cfp/views/wizard.py index ffa5603cd6..fafdfc2429 100644 --- a/src/pretalx/cfp/views/wizard.py +++ b/src/pretalx/cfp/views/wizard.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + import logging from csp.decorators import csp_update diff --git a/src/pretalx/common/formats/__init__.py b/src/pretalx/common/formats/__init__.py index e69de29bb2..28bb1867ef 100644 --- a/src/pretalx/common/formats/__init__.py +++ b/src/pretalx/common/formats/__init__.py @@ -0,0 +1,3 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 diff --git a/src/pretalx/common/forms/__init__.py b/src/pretalx/common/forms/__init__.py index 0884026886..11bfafc86f 100644 --- a/src/pretalx/common/forms/__init__.py +++ b/src/pretalx/common/forms/__init__.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + from .forms import I18nEventFormSet, I18nFormSet, SearchForm __all__ = ["I18nFormSet", "SearchForm", "I18nEventFormSet"] diff --git a/src/pretalx/common/forms/fields.py b/src/pretalx/common/forms/fields.py index 62f83b9973..18dfe05e0c 100644 --- a/src/pretalx/common/forms/fields.py +++ b/src/pretalx/common/forms/fields.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + from io import BytesIO from pathlib import Path diff --git a/src/pretalx/common/forms/forms.py b/src/pretalx/common/forms/forms.py index 158ed7c0e8..c27459dd17 100644 --- a/src/pretalx/common/forms/forms.py +++ b/src/pretalx/common/forms/forms.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + import i18nfield.forms from django import forms from django.utils.translation import gettext as _ diff --git a/src/pretalx/common/forms/renderers.py b/src/pretalx/common/forms/renderers.py index 3c9bb71a70..d7ed07f153 100644 --- a/src/pretalx/common/forms/renderers.py +++ b/src/pretalx/common/forms/renderers.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + from bootstrap4.renderers import FieldRenderer from bootstrap4.text import text_value from django.forms import CheckboxInput diff --git a/src/pretalx/common/forms/utils.py b/src/pretalx/common/forms/utils.py index 6e8d50f8a2..c436474a30 100644 --- a/src/pretalx/common/forms/utils.py +++ b/src/pretalx/common/forms/utils.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + import re from django import forms diff --git a/src/pretalx/common/forms/validators.py b/src/pretalx/common/forms/validators.py index 4dd44a1518..668b739b4d 100644 --- a/src/pretalx/common/forms/validators.py +++ b/src/pretalx/common/forms/validators.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + from django.core.exceptions import ValidationError from django.utils.translation import gettext_lazy as _ from zxcvbn import zxcvbn diff --git a/src/pretalx/common/forms/widgets.py b/src/pretalx/common/forms/widgets.py index 13b1aa304e..c9bd8a07c5 100644 --- a/src/pretalx/common/forms/widgets.py +++ b/src/pretalx/common/forms/widgets.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + from pathlib import Path from django.core.files import File diff --git a/src/pretalx/common/management/__init__.py b/src/pretalx/common/management/__init__.py index e69de29bb2..28bb1867ef 100644 --- a/src/pretalx/common/management/__init__.py +++ b/src/pretalx/common/management/__init__.py @@ -0,0 +1,3 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 diff --git a/src/pretalx/common/middleware/__init__.py b/src/pretalx/common/middleware/__init__.py index c917407b46..53737761fd 100644 --- a/src/pretalx/common/middleware/__init__.py +++ b/src/pretalx/common/middleware/__init__.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + from .domains import CsrfViewMiddleware, MultiDomainMiddleware, SessionMiddleware from .event import EventPermissionMiddleware diff --git a/src/pretalx/common/middleware/domains.py b/src/pretalx/common/middleware/domains.py index dedd77dfd2..7a86d0f6df 100644 --- a/src/pretalx/common/middleware/domains.py +++ b/src/pretalx/common/middleware/domains.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + import time from urllib.parse import urljoin, urlparse diff --git a/src/pretalx/common/middleware/event.py b/src/pretalx/common/middleware/event.py index 4d9fbcc2d4..f82c20f6c5 100644 --- a/src/pretalx/common/middleware/event.py +++ b/src/pretalx/common/middleware/event.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + import zoneinfo from contextlib import suppress from urllib.parse import quote, urljoin diff --git a/src/pretalx/common/migrations/0001_initial.py b/src/pretalx/common/migrations/0001_initial.py index df6dde1d61..6713f83c8c 100644 --- a/src/pretalx/common/migrations/0001_initial.py +++ b/src/pretalx/common/migrations/0001_initial.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 1.10.7 on 2017-04-29 15:18 from django.db import migrations, models diff --git a/src/pretalx/common/migrations/0002_auto_20170429_1018.py b/src/pretalx/common/migrations/0002_auto_20170429_1018.py index f81b2c1558..b325f5ee14 100644 --- a/src/pretalx/common/migrations/0002_auto_20170429_1018.py +++ b/src/pretalx/common/migrations/0002_auto_20170429_1018.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 1.10.7 on 2017-04-29 15:18 from django.conf import settings diff --git a/src/pretalx/common/migrations/0003_activitylog_is_orga_action.py b/src/pretalx/common/migrations/0003_activitylog_is_orga_action.py index e99877082c..527870a8db 100644 --- a/src/pretalx/common/migrations/0003_activitylog_is_orga_action.py +++ b/src/pretalx/common/migrations/0003_activitylog_is_orga_action.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 1.10.7 on 2017-05-05 13:16 from django.db import migrations, models diff --git a/src/pretalx/common/migrations/0004_auto_20170526_0437.py b/src/pretalx/common/migrations/0004_auto_20170526_0437.py index b468ad7685..3664baabdc 100644 --- a/src/pretalx/common/migrations/0004_auto_20170526_0437.py +++ b/src/pretalx/common/migrations/0004_auto_20170526_0437.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 1.10.7 on 2017-05-26 09:37 from django.db import migrations, models diff --git a/src/pretalx/common/migrations/0005_auto_20180202_1116.py b/src/pretalx/common/migrations/0005_auto_20180202_1116.py index afd4e29e2c..11c7fa34e2 100644 --- a/src/pretalx/common/migrations/0005_auto_20180202_1116.py +++ b/src/pretalx/common/migrations/0005_auto_20180202_1116.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 2.0.1 on 2018-02-02 17:16 from django.db import migrations diff --git a/src/pretalx/common/migrations/__init__.py b/src/pretalx/common/migrations/__init__.py index e69de29bb2..28bb1867ef 100644 --- a/src/pretalx/common/migrations/__init__.py +++ b/src/pretalx/common/migrations/__init__.py @@ -0,0 +1,3 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 diff --git a/src/pretalx/common/mixins/__init__.py b/src/pretalx/common/mixins/__init__.py index e69de29bb2..28bb1867ef 100644 --- a/src/pretalx/common/mixins/__init__.py +++ b/src/pretalx/common/mixins/__init__.py @@ -0,0 +1,3 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 diff --git a/src/pretalx/common/mixins/forms.py b/src/pretalx/common/mixins/forms.py index 529f9d36ad..62b8c20168 100644 --- a/src/pretalx/common/mixins/forms.py +++ b/src/pretalx/common/mixins/forms.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + import logging from functools import partial diff --git a/src/pretalx/common/mixins/models.py b/src/pretalx/common/mixins/models.py index 6586bfe4ce..2fa2d941ab 100644 --- a/src/pretalx/common/mixins/models.py +++ b/src/pretalx/common/mixins/models.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + import json from contextlib import suppress diff --git a/src/pretalx/common/mixins/views.py b/src/pretalx/common/mixins/views.py index 1ced36bcb4..4875c2350d 100644 --- a/src/pretalx/common/mixins/views.py +++ b/src/pretalx/common/mixins/views.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + import urllib from collections import defaultdict from contextlib import suppress diff --git a/src/pretalx/common/models/__init__.py b/src/pretalx/common/models/__init__.py index ac8edf61f7..11a2e1d663 100644 --- a/src/pretalx/common/models/__init__.py +++ b/src/pretalx/common/models/__init__.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + import zoneinfo from .log import ActivityLog diff --git a/src/pretalx/common/models/log.py b/src/pretalx/common/models/log.py index 06eee77d26..805b3d61a9 100644 --- a/src/pretalx/common/models/log.py +++ b/src/pretalx/common/models/log.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + import json import logging diff --git a/src/pretalx/common/models/settings.py b/src/pretalx/common/models/settings.py index bc0b822e75..2b7e06319c 100644 --- a/src/pretalx/common/models/settings.py +++ b/src/pretalx/common/models/settings.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + import datetime as dt import json import uuid diff --git a/src/pretalx/common/settings/__init__.py b/src/pretalx/common/settings/__init__.py index e69de29bb2..28bb1867ef 100644 --- a/src/pretalx/common/settings/__init__.py +++ b/src/pretalx/common/settings/__init__.py @@ -0,0 +1,3 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 diff --git a/src/pretalx/common/settings/config.py b/src/pretalx/common/settings/config.py index 2eb3a8aacf..535a7ed1ca 100644 --- a/src/pretalx/common/settings/config.py +++ b/src/pretalx/common/settings/config.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + import configparser import os import sys diff --git a/src/pretalx/common/settings/test_settings.py b/src/pretalx/common/settings/test_settings.py index 569d99d973..f56cb798b4 100644 --- a/src/pretalx/common/settings/test_settings.py +++ b/src/pretalx/common/settings/test_settings.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + import atexit import os import tempfile diff --git a/src/pretalx/common/settings/test_settings_screens.py b/src/pretalx/common/settings/test_settings_screens.py index 2604f607ea..07ed36470d 100644 --- a/src/pretalx/common/settings/test_settings_screens.py +++ b/src/pretalx/common/settings/test_settings_screens.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + from pretalx.common.settings.test_settings import * # noqa COMPRESS_PRECOMPILERS = COMPRESS_PRECOMPILERS_ORIGINAL # noqa diff --git a/src/pretalx/common/settings/utils.py b/src/pretalx/common/settings/utils.py index 0dfdd85003..e2ddefcb69 100644 --- a/src/pretalx/common/settings/utils.py +++ b/src/pretalx/common/settings/utils.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + import os import textwrap from contextlib import suppress diff --git a/src/pretalx/common/templates/400.html b/src/pretalx/common/templates/400.html index 063c77326b..c6498fc5b0 100644 --- a/src/pretalx/common/templates/400.html +++ b/src/pretalx/common/templates/400.html @@ -1,3 +1,9 @@ + + {% extends "common/error.html" %} {% load i18n %} {% load static %} diff --git a/src/pretalx/common/templates/403.html b/src/pretalx/common/templates/403.html index c46b9646fb..8a0e6b89b4 100644 --- a/src/pretalx/common/templates/403.html +++ b/src/pretalx/common/templates/403.html @@ -1,3 +1,9 @@ + + {% extends "common/error.html" %} {% load i18n %} {% load static %} diff --git a/src/pretalx/common/templates/403_csrf.html b/src/pretalx/common/templates/403_csrf.html index 7b820bddfd..c36550f356 100644 --- a/src/pretalx/common/templates/403_csrf.html +++ b/src/pretalx/common/templates/403_csrf.html @@ -1,3 +1,9 @@ + + {% extends "common/error.html" %} {% load i18n %} {% load static %} diff --git a/src/pretalx/common/templates/404.html b/src/pretalx/common/templates/404.html index 443651f45c..63d12333a4 100644 --- a/src/pretalx/common/templates/404.html +++ b/src/pretalx/common/templates/404.html @@ -1,3 +1,9 @@ + + {% extends "common/error.html" %} {% load i18n %} {% load static %} diff --git a/src/pretalx/common/templates/500.html b/src/pretalx/common/templates/500.html index 01e5b39d29..81c479872b 100644 --- a/src/pretalx/common/templates/500.html +++ b/src/pretalx/common/templates/500.html @@ -1,3 +1,9 @@ + + {% extends "common/error.html" %} {% load i18n %} {% load static %} diff --git a/src/pretalx/common/templatetags/__init__.py b/src/pretalx/common/templatetags/__init__.py index e69de29bb2..28bb1867ef 100644 --- a/src/pretalx/common/templatetags/__init__.py +++ b/src/pretalx/common/templatetags/__init__.py @@ -0,0 +1,3 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 diff --git a/src/pretalx/common/templatetags/copyable.py b/src/pretalx/common/templatetags/copyable.py index 24f44959a7..5460d48b55 100644 --- a/src/pretalx/common/templatetags/copyable.py +++ b/src/pretalx/common/templatetags/copyable.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + import django.utils.safestring from django import template from django.utils.translation import gettext_lazy as _ diff --git a/src/pretalx/common/templatetags/filesize.py b/src/pretalx/common/templatetags/filesize.py index aeccdde55d..25a51904b8 100644 --- a/src/pretalx/common/templatetags/filesize.py +++ b/src/pretalx/common/templatetags/filesize.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + from django import template register = template.Library() diff --git a/src/pretalx/common/templatetags/html_signal.py b/src/pretalx/common/templatetags/html_signal.py index 68e9c11221..79e5194f91 100644 --- a/src/pretalx/common/templatetags/html_signal.py +++ b/src/pretalx/common/templatetags/html_signal.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + import importlib from django import template diff --git a/src/pretalx/common/templatetags/rich_text.py b/src/pretalx/common/templatetags/rich_text.py index be0924d7b0..ae98490b4a 100644 --- a/src/pretalx/common/templatetags/rich_text.py +++ b/src/pretalx/common/templatetags/rich_text.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + from copy import copy from functools import partial diff --git a/src/pretalx/common/templatetags/times.py b/src/pretalx/common/templatetags/times.py index b642c3ca19..155dba2644 100644 --- a/src/pretalx/common/templatetags/times.py +++ b/src/pretalx/common/templatetags/times.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + from django import template from django.utils.translation import gettext_lazy as _ diff --git a/src/pretalx/common/templatetags/url_replace.py b/src/pretalx/common/templatetags/url_replace.py index 7425896029..686ea7a681 100644 --- a/src/pretalx/common/templatetags/url_replace.py +++ b/src/pretalx/common/templatetags/url_replace.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + from django import template register = template.Library() diff --git a/src/pretalx/common/templatetags/xmlescape.py b/src/pretalx/common/templatetags/xmlescape.py index ecf1c42d56..54641bafa9 100644 --- a/src/pretalx/common/templatetags/xmlescape.py +++ b/src/pretalx/common/templatetags/xmlescape.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + from xml.sax.saxutils import escape import django.utils.safestring diff --git a/src/pretalx/event/__init__.py b/src/pretalx/event/__init__.py index e69de29bb2..28bb1867ef 100644 --- a/src/pretalx/event/__init__.py +++ b/src/pretalx/event/__init__.py @@ -0,0 +1,3 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 diff --git a/src/pretalx/event/apps.py b/src/pretalx/event/apps.py index 5077bcc251..ff00ddec0d 100644 --- a/src/pretalx/event/apps.py +++ b/src/pretalx/event/apps.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + from django.apps import AppConfig diff --git a/src/pretalx/event/forms.py b/src/pretalx/event/forms.py index bacb28c615..306c7ce760 100644 --- a/src/pretalx/event/forms.py +++ b/src/pretalx/event/forms.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + from django import forms from django.conf import settings from django.db.models import Q diff --git a/src/pretalx/event/migrations/0001_initial.py b/src/pretalx/event/migrations/0001_initial.py index 86660e782b..179dd83aed 100644 --- a/src/pretalx/event/migrations/0001_initial.py +++ b/src/pretalx/event/migrations/0001_initial.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 1.10.7 on 2017-04-29 15:18 import django.core.validators diff --git a/src/pretalx/event/migrations/0002_auto_20170429_1018.py b/src/pretalx/event/migrations/0002_auto_20170429_1018.py index 364ffe0df9..e3105d4043 100644 --- a/src/pretalx/event/migrations/0002_auto_20170429_1018.py +++ b/src/pretalx/event/migrations/0002_auto_20170429_1018.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 1.10.7 on 2017-04-29 15:18 from django.conf import settings diff --git a/src/pretalx/event/migrations/0003_auto_20170715_0655.py b/src/pretalx/event/migrations/0003_auto_20170715_0655.py index 43e2dda537..fc783c122e 100644 --- a/src/pretalx/event/migrations/0003_auto_20170715_0655.py +++ b/src/pretalx/event/migrations/0003_auto_20170715_0655.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 1.11.3 on 2017-07-15 11:55 import datetime as dt diff --git a/src/pretalx/event/migrations/0004_event_update_template.py b/src/pretalx/event/migrations/0004_event_update_template.py index 75f7f4683b..af3e66afa8 100644 --- a/src/pretalx/event/migrations/0004_event_update_template.py +++ b/src/pretalx/event/migrations/0004_event_update_template.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 1.11.4 on 2017-08-06 14:31 from django.db import migrations, models diff --git a/src/pretalx/event/migrations/0005_event_custom_css.py b/src/pretalx/event/migrations/0005_event_custom_css.py index a2169a9b3e..ad44b75f89 100644 --- a/src/pretalx/event/migrations/0005_event_custom_css.py +++ b/src/pretalx/event/migrations/0005_event_custom_css.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 1.11.4 on 2017-09-06 05:53 from django.db import migrations, models diff --git a/src/pretalx/event/migrations/0006_auto_20170906_0205.py b/src/pretalx/event/migrations/0006_auto_20170906_0205.py index 137912384c..0149671b4f 100644 --- a/src/pretalx/event/migrations/0006_auto_20170906_0205.py +++ b/src/pretalx/event/migrations/0006_auto_20170906_0205.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 1.11.4 on 2017-09-06 07:05 from django.db import migrations diff --git a/src/pretalx/event/migrations/0007_auto_20170924_0505.py b/src/pretalx/event/migrations/0007_auto_20170924_0505.py index c85c8678e8..897a2bba95 100644 --- a/src/pretalx/event/migrations/0007_auto_20170924_0505.py +++ b/src/pretalx/event/migrations/0007_auto_20170924_0505.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 1.11.4 on 2017-09-24 10:05 import django.core.validators diff --git a/src/pretalx/event/migrations/0008_event_logo.py b/src/pretalx/event/migrations/0008_event_logo.py index cdca72e944..538904ffd2 100644 --- a/src/pretalx/event/migrations/0008_event_logo.py +++ b/src/pretalx/event/migrations/0008_event_logo.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 1.11.5 on 2017-10-04 21:42 from django.db import migrations, models diff --git a/src/pretalx/event/migrations/0009_event_landing_page_text.py b/src/pretalx/event/migrations/0009_event_landing_page_text.py index 9e32821d5b..c4a4385e6f 100644 --- a/src/pretalx/event/migrations/0009_event_landing_page_text.py +++ b/src/pretalx/event/migrations/0009_event_landing_page_text.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 1.11.7 on 2017-11-11 15:32 from django.db import migrations diff --git a/src/pretalx/event/migrations/0010_event_plugins.py b/src/pretalx/event/migrations/0010_event_plugins.py index 6a1081af70..a8111dd46d 100644 --- a/src/pretalx/event/migrations/0010_event_plugins.py +++ b/src/pretalx/event/migrations/0010_event_plugins.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 2.0.2 on 2018-02-08 20:01 from django.db import migrations, models diff --git a/src/pretalx/event/migrations/0011_event_question_template.py b/src/pretalx/event/migrations/0011_event_question_template.py index 66e34f1bf6..f71c8b25a9 100644 --- a/src/pretalx/event/migrations/0011_event_question_template.py +++ b/src/pretalx/event/migrations/0011_event_question_template.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 2.0.2 on 2018-03-05 22:30 from django.db import migrations, models diff --git a/src/pretalx/event/migrations/0012_auto_20180407_0814.py b/src/pretalx/event/migrations/0012_auto_20180407_0814.py index 22b284d2f6..a7bca07793 100644 --- a/src/pretalx/event/migrations/0012_auto_20180407_0814.py +++ b/src/pretalx/event/migrations/0012_auto_20180407_0814.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 2.0.3 on 2018-04-07 13:14 import django.core.validators diff --git a/src/pretalx/event/migrations/0013_auto_20180407_0817.py b/src/pretalx/event/migrations/0013_auto_20180407_0817.py index 8f5c0a5a42..4730098216 100644 --- a/src/pretalx/event/migrations/0013_auto_20180407_0817.py +++ b/src/pretalx/event/migrations/0013_auto_20180407_0817.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 2.0.3 on 2018-04-08 23:09 from django.conf import settings diff --git a/src/pretalx/event/migrations/0014_auto_20180407_0826.py b/src/pretalx/event/migrations/0014_auto_20180407_0826.py index 5a1c0d9e06..7d5b326261 100644 --- a/src/pretalx/event/migrations/0014_auto_20180407_0826.py +++ b/src/pretalx/event/migrations/0014_auto_20180407_0826.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 2.0.3 on 2018-04-07 13:26 from django.db import migrations diff --git a/src/pretalx/event/migrations/0015_remove_event_subtitle.py b/src/pretalx/event/migrations/0015_remove_event_subtitle.py index 7d59a00d50..27755e0b5c 100644 --- a/src/pretalx/event/migrations/0015_remove_event_subtitle.py +++ b/src/pretalx/event/migrations/0015_remove_event_subtitle.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 2.0.3 on 2018-05-30 19:21 from django.db import migrations diff --git a/src/pretalx/event/migrations/0016_remove_event_permitted.py b/src/pretalx/event/migrations/0016_remove_event_permitted.py index a8490555f4..d942a6be67 100644 --- a/src/pretalx/event/migrations/0016_remove_event_permitted.py +++ b/src/pretalx/event/migrations/0016_remove_event_permitted.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 2.0.3 on 2018-05-30 19:34 from django.db import migrations diff --git a/src/pretalx/event/migrations/0017_auto_20180922_0511.py b/src/pretalx/event/migrations/0017_auto_20180922_0511.py index 4aa407c24b..bf1cecb1a5 100644 --- a/src/pretalx/event/migrations/0017_auto_20180922_0511.py +++ b/src/pretalx/event/migrations/0017_auto_20180922_0511.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 2.0.8 on 2018-09-22 10:11 from django.db import migrations, models diff --git a/src/pretalx/event/migrations/0018_auto_20190223_1543.py b/src/pretalx/event/migrations/0018_auto_20190223_1543.py index a5dcb4b9ce..cc9f58fd78 100644 --- a/src/pretalx/event/migrations/0018_auto_20190223_1543.py +++ b/src/pretalx/event/migrations/0018_auto_20190223_1543.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 2.1.5 on 2019-02-23 15:43 from django.db import migrations, models diff --git a/src/pretalx/event/migrations/0019_auto_20190224_0856.py b/src/pretalx/event/migrations/0019_auto_20190224_0856.py index 7ed3fa3024..09af34c708 100644 --- a/src/pretalx/event/migrations/0019_auto_20190224_0856.py +++ b/src/pretalx/event/migrations/0019_auto_20190224_0856.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 2.1.5 on 2019-02-24 08:56 from django.db import migrations diff --git a/src/pretalx/event/migrations/0020_event_header_image.py b/src/pretalx/event/migrations/0020_event_header_image.py index 1ae116169e..22326f74de 100644 --- a/src/pretalx/event/migrations/0020_event_header_image.py +++ b/src/pretalx/event/migrations/0020_event_header_image.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 2.1.7 on 2019-03-29 19:49 from django.db import migrations, models diff --git a/src/pretalx/event/migrations/0021_auto_20190429_0750.py b/src/pretalx/event/migrations/0021_auto_20190429_0750.py index 4b7e605ff9..705fc1129b 100644 --- a/src/pretalx/event/migrations/0021_auto_20190429_0750.py +++ b/src/pretalx/event/migrations/0021_auto_20190429_0750.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 2.2 on 2019-04-29 07:50 import django.core.validators diff --git a/src/pretalx/event/migrations/0022_auto_20200124_1213.py b/src/pretalx/event/migrations/0022_auto_20200124_1213.py index dd90253c27..bfe903625c 100644 --- a/src/pretalx/event/migrations/0022_auto_20200124_1213.py +++ b/src/pretalx/event/migrations/0022_auto_20200124_1213.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 2.2.9 on 2020-01-24 12:13 import django.core.validators diff --git a/src/pretalx/event/migrations/0023_update_featured_visibility.py b/src/pretalx/event/migrations/0023_update_featured_visibility.py index dc9abdff9e..dab11da067 100644 --- a/src/pretalx/event/migrations/0023_update_featured_visibility.py +++ b/src/pretalx/event/migrations/0023_update_featured_visibility.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 3.0.5 on 2020-07-26 15:45 from django.db import migrations diff --git a/src/pretalx/event/migrations/0024_remove_team_review_override_votes.py b/src/pretalx/event/migrations/0024_remove_team_review_override_votes.py index 7ed255bcf6..765c1f4ed3 100644 --- a/src/pretalx/event/migrations/0024_remove_team_review_override_votes.py +++ b/src/pretalx/event/migrations/0024_remove_team_review_override_votes.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 3.1 on 2020-09-24 21:08 from django.db import migrations diff --git a/src/pretalx/event/migrations/0025_event_featured_sessions_text.py b/src/pretalx/event/migrations/0025_event_featured_sessions_text.py index 1af20b967f..554b72e015 100644 --- a/src/pretalx/event/migrations/0025_event_featured_sessions_text.py +++ b/src/pretalx/event/migrations/0025_event_featured_sessions_text.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 3.1.4 on 2020-12-13 23:27 from django.db import migrations diff --git a/src/pretalx/event/migrations/0026_team_force_hide_speaker_names.py b/src/pretalx/event/migrations/0026_team_force_hide_speaker_names.py index 72bb19d594..9bf7b04843 100644 --- a/src/pretalx/event/migrations/0026_team_force_hide_speaker_names.py +++ b/src/pretalx/event/migrations/0026_team_force_hide_speaker_names.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 3.2.4 on 2021-08-29 21:37 from django.db import migrations, models diff --git a/src/pretalx/event/migrations/0027_event_settings.py b/src/pretalx/event/migrations/0027_event_settings.py index 817f82c9d2..df0a999164 100644 --- a/src/pretalx/event/migrations/0027_event_settings.py +++ b/src/pretalx/event/migrations/0027_event_settings.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 3.2.4 on 2021-12-02 23:02 from django.db import migrations, models diff --git a/src/pretalx/event/migrations/0028_custom_event_data.py b/src/pretalx/event/migrations/0028_custom_event_data.py index 8ed977ad3b..92765094fa 100644 --- a/src/pretalx/event/migrations/0028_custom_event_data.py +++ b/src/pretalx/event/migrations/0028_custom_event_data.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 3.2.4 on 2021-12-02 17:14 from django.db import migrations diff --git a/src/pretalx/event/migrations/0029_event_domain.py b/src/pretalx/event/migrations/0029_event_domain.py index 77e5820797..3d1d3318a5 100644 --- a/src/pretalx/event/migrations/0029_event_domain.py +++ b/src/pretalx/event/migrations/0029_event_domain.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 3.2.4 on 2021-12-02 17:14 from django.db import migrations diff --git a/src/pretalx/event/migrations/0030_event_content_locale_array.py b/src/pretalx/event/migrations/0030_event_content_locale_array.py index 64e841a66a..b8de686e05 100644 --- a/src/pretalx/event/migrations/0030_event_content_locale_array.py +++ b/src/pretalx/event/migrations/0030_event_content_locale_array.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 3.2.16 on 2022-12-23 22:49 from django.db import migrations, models diff --git a/src/pretalx/event/migrations/0031_initial_content_locale.py b/src/pretalx/event/migrations/0031_initial_content_locale.py index 3dc460ba1a..3702280529 100644 --- a/src/pretalx/event/migrations/0031_initial_content_locale.py +++ b/src/pretalx/event/migrations/0031_initial_content_locale.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 3.2.16 on 2022-12-23 23:20 from django.db import migrations diff --git a/src/pretalx/event/migrations/0032_alter_event_timezone.py b/src/pretalx/event/migrations/0032_alter_event_timezone.py index 174f177318..2faa9b2a56 100644 --- a/src/pretalx/event/migrations/0032_alter_event_timezone.py +++ b/src/pretalx/event/migrations/0032_alter_event_timezone.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 4.0 on 2023-06-03 21:21 from django.db import migrations, models diff --git a/src/pretalx/event/migrations/__init__.py b/src/pretalx/event/migrations/__init__.py index e69de29bb2..28bb1867ef 100644 --- a/src/pretalx/event/migrations/__init__.py +++ b/src/pretalx/event/migrations/__init__.py @@ -0,0 +1,3 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 diff --git a/src/pretalx/event/models/__init__.py b/src/pretalx/event/models/__init__.py index 0ec63b399a..9570c27dba 100644 --- a/src/pretalx/event/models/__init__.py +++ b/src/pretalx/event/models/__init__.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + from .event import Event from .organiser import Organiser, Team, TeamInvite diff --git a/src/pretalx/event/models/event.py b/src/pretalx/event/models/event.py index 3e7582b8a9..47982766c6 100644 --- a/src/pretalx/event/models/event.py +++ b/src/pretalx/event/models/event.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + import datetime as dt import zoneinfo from contextlib import suppress diff --git a/src/pretalx/event/models/organiser.py b/src/pretalx/event/models/organiser.py index d6c798d0f8..26ceb80048 100644 --- a/src/pretalx/event/models/organiser.py +++ b/src/pretalx/event/models/organiser.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + import string from django.core.validators import RegexValidator diff --git a/src/pretalx/event/services.py b/src/pretalx/event/services.py index c4c6bad208..77bda00fac 100644 --- a/src/pretalx/event/services.py +++ b/src/pretalx/event/services.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + import datetime as dt from django.dispatch import receiver diff --git a/src/pretalx/event/stages.py b/src/pretalx/event/stages.py index 31b56e08ad..6d28e547d4 100644 --- a/src/pretalx/event/stages.py +++ b/src/pretalx/event/stages.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + import copy from django.utils.timezone import now diff --git a/src/pretalx/event/utils.py b/src/pretalx/event/utils.py index 05db97b01d..681212cf51 100644 --- a/src/pretalx/event/utils.py +++ b/src/pretalx/event/utils.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + from pretalx.event.models import Organiser, Team diff --git a/src/pretalx/mail/migrations/0001_initial.py b/src/pretalx/mail/migrations/0001_initial.py index 3311c5fdc9..c1e81c40aa 100644 --- a/src/pretalx/mail/migrations/0001_initial.py +++ b/src/pretalx/mail/migrations/0001_initial.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 1.10.7 on 2017-04-29 15:18 from django.db import migrations, models diff --git a/src/pretalx/mail/migrations/0002_queuedmail_sent.py b/src/pretalx/mail/migrations/0002_queuedmail_sent.py index ccb5fe3df6..f6209f2052 100644 --- a/src/pretalx/mail/migrations/0002_queuedmail_sent.py +++ b/src/pretalx/mail/migrations/0002_queuedmail_sent.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 1.11.3 on 2017-07-24 11:44 from django.db import migrations, models diff --git a/src/pretalx/mail/migrations/0003_auto_20171001_1358.py b/src/pretalx/mail/migrations/0003_auto_20171001_1358.py index 8a24ff12da..e6eb2bd48e 100644 --- a/src/pretalx/mail/migrations/0003_auto_20171001_1358.py +++ b/src/pretalx/mail/migrations/0003_auto_20171001_1358.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 1.11.5 on 2017-10-01 18:58 from django.db import migrations, models diff --git a/src/pretalx/mail/migrations/0004_auto_20190222_2215.py b/src/pretalx/mail/migrations/0004_auto_20190222_2215.py index 8bda56cbc3..4c3e36c360 100644 --- a/src/pretalx/mail/migrations/0004_auto_20190222_2215.py +++ b/src/pretalx/mail/migrations/0004_auto_20190222_2215.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 2.1.5 on 2019-02-22 22:15 from django.db import migrations, models diff --git a/src/pretalx/mail/migrations/0005_queuedmail_to_users.py b/src/pretalx/mail/migrations/0005_queuedmail_to_users.py index 567c172b4c..5fc24dc046 100644 --- a/src/pretalx/mail/migrations/0005_queuedmail_to_users.py +++ b/src/pretalx/mail/migrations/0005_queuedmail_to_users.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 2.1.7 on 2019-03-27 21:34 from django.conf import settings diff --git a/src/pretalx/mail/migrations/0006_populate_mail_users.py b/src/pretalx/mail/migrations/0006_populate_mail_users.py index fd5908e125..cbf15730ff 100644 --- a/src/pretalx/mail/migrations/0006_populate_mail_users.py +++ b/src/pretalx/mail/migrations/0006_populate_mail_users.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 2.1.7 on 2019-03-27 21:35 from django.db import migrations diff --git a/src/pretalx/mail/migrations/0007_auto_20190327_2241.py b/src/pretalx/mail/migrations/0007_auto_20190327_2241.py index d13c44da00..b5055ddbbf 100644 --- a/src/pretalx/mail/migrations/0007_auto_20190327_2241.py +++ b/src/pretalx/mail/migrations/0007_auto_20190327_2241.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 2.1.7 on 2019-03-27 22:41 from django.db import migrations, models diff --git a/src/pretalx/mail/migrations/0008_auto_20210830_2352.py b/src/pretalx/mail/migrations/0008_auto_20210830_2352.py index 11f2a23115..5bb2fa8ab7 100644 --- a/src/pretalx/mail/migrations/0008_auto_20210830_2352.py +++ b/src/pretalx/mail/migrations/0008_auto_20210830_2352.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 3.2.4 on 2021-08-30 23:52 from django.db import migrations, models diff --git a/src/pretalx/mail/migrations/0009_queuedmail_locale.py b/src/pretalx/mail/migrations/0009_queuedmail_locale.py index b93d4e504a..6991f5055f 100644 --- a/src/pretalx/mail/migrations/0009_queuedmail_locale.py +++ b/src/pretalx/mail/migrations/0009_queuedmail_locale.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 3.2.4 on 2021-09-15 14:19 from django.db import migrations, models diff --git a/src/pretalx/mail/migrations/0010_queuedmail_attachments.py b/src/pretalx/mail/migrations/0010_queuedmail_attachments.py index b81d3ad5d4..85ca98a3fc 100644 --- a/src/pretalx/mail/migrations/0010_queuedmail_attachments.py +++ b/src/pretalx/mail/migrations/0010_queuedmail_attachments.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 3.2.16 on 2022-11-16 22:39 from django.db import migrations, models diff --git a/src/pretalx/mail/migrations/__init__.py b/src/pretalx/mail/migrations/__init__.py index e69de29bb2..28bb1867ef 100644 --- a/src/pretalx/mail/migrations/__init__.py +++ b/src/pretalx/mail/migrations/__init__.py @@ -0,0 +1,3 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 diff --git a/src/pretalx/orga/forms/__init__.py b/src/pretalx/orga/forms/__init__.py index 7f611d2653..5d4482a354 100644 --- a/src/pretalx/orga/forms/__init__.py +++ b/src/pretalx/orga/forms/__init__.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + from .cfp import CfPForm, QuestionForm, SubmissionTypeForm, TrackForm from .event import EventForm from .review import ReviewForm diff --git a/src/pretalx/orga/forms/admin.py b/src/pretalx/orga/forms/admin.py index 22f4467922..a6e7f5d643 100644 --- a/src/pretalx/orga/forms/admin.py +++ b/src/pretalx/orga/forms/admin.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + from django import forms from django.utils.translation import gettext_lazy as _ from hierarkey.forms import HierarkeyForm diff --git a/src/pretalx/orga/forms/cfp.py b/src/pretalx/orga/forms/cfp.py index 55051c342a..27a54300c3 100644 --- a/src/pretalx/orga/forms/cfp.py +++ b/src/pretalx/orga/forms/cfp.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + from django import forms from django.db.models import Count, Q from django.utils import timezone diff --git a/src/pretalx/orga/forms/event.py b/src/pretalx/orga/forms/event.py index b537ef4804..ef5e89e4d5 100644 --- a/src/pretalx/orga/forms/event.py +++ b/src/pretalx/orga/forms/event.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + import datetime as dt import socket from decimal import Decimal diff --git a/src/pretalx/orga/forms/export.py b/src/pretalx/orga/forms/export.py index bc83d4d0b4..a6ccc5d918 100644 --- a/src/pretalx/orga/forms/export.py +++ b/src/pretalx/orga/forms/export.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + import json from io import StringIO diff --git a/src/pretalx/orga/forms/mails.py b/src/pretalx/orga/forms/mails.py index 6f093e51a2..810b439a9d 100644 --- a/src/pretalx/orga/forms/mails.py +++ b/src/pretalx/orga/forms/mails.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + import string from collections import defaultdict from contextlib import suppress diff --git a/src/pretalx/orga/forms/review.py b/src/pretalx/orga/forms/review.py index 3b50bcc0c4..30a3f32f3c 100644 --- a/src/pretalx/orga/forms/review.py +++ b/src/pretalx/orga/forms/review.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + import json from functools import partial diff --git a/src/pretalx/orga/forms/schedule.py b/src/pretalx/orga/forms/schedule.py index c8ea64cc98..77323e88de 100644 --- a/src/pretalx/orga/forms/schedule.py +++ b/src/pretalx/orga/forms/schedule.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + from django import forms from django.utils.functional import cached_property from django.utils.translation import gettext_lazy as _ diff --git a/src/pretalx/orga/forms/speaker.py b/src/pretalx/orga/forms/speaker.py index aa45338de1..338b8f7490 100644 --- a/src/pretalx/orga/forms/speaker.py +++ b/src/pretalx/orga/forms/speaker.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + from django import forms from django.utils.functional import cached_property from django.utils.translation import gettext_lazy as _ diff --git a/src/pretalx/orga/forms/submission.py b/src/pretalx/orga/forms/submission.py index a8a65d3163..368eb23837 100644 --- a/src/pretalx/orga/forms/submission.py +++ b/src/pretalx/orga/forms/submission.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + import json from django import forms diff --git a/src/pretalx/orga/forms/widgets.py b/src/pretalx/orga/forms/widgets.py index fd3748c861..6cd6e0614b 100644 --- a/src/pretalx/orga/forms/widgets.py +++ b/src/pretalx/orga/forms/widgets.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + from django.conf import settings from django.forms import CheckboxSelectMultiple, RadioSelect diff --git a/src/pretalx/orga/management/__init__.py b/src/pretalx/orga/management/__init__.py index e69de29bb2..28bb1867ef 100644 --- a/src/pretalx/orga/management/__init__.py +++ b/src/pretalx/orga/management/__init__.py @@ -0,0 +1,3 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 diff --git a/src/pretalx/orga/templatetags/__init__.py b/src/pretalx/orga/templatetags/__init__.py index e69de29bb2..28bb1867ef 100644 --- a/src/pretalx/orga/templatetags/__init__.py +++ b/src/pretalx/orga/templatetags/__init__.py @@ -0,0 +1,3 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 diff --git a/src/pretalx/orga/templatetags/orga_edit_link.py b/src/pretalx/orga/templatetags/orga_edit_link.py index 76b4898117..400e7ae469 100644 --- a/src/pretalx/orga/templatetags/orga_edit_link.py +++ b/src/pretalx/orga/templatetags/orga_edit_link.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + from django import template from django.utils.safestring import mark_safe from django.utils.translation import gettext_lazy as _ diff --git a/src/pretalx/orga/templatetags/review_score.py b/src/pretalx/orga/templatetags/review_score.py index 55b6f8d481..62661fa4d8 100644 --- a/src/pretalx/orga/templatetags/review_score.py +++ b/src/pretalx/orga/templatetags/review_score.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + from django import template register = template.Library() diff --git a/src/pretalx/orga/utils/__init__.py b/src/pretalx/orga/utils/__init__.py index e69de29bb2..28bb1867ef 100644 --- a/src/pretalx/orga/utils/__init__.py +++ b/src/pretalx/orga/utils/__init__.py @@ -0,0 +1,3 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 diff --git a/src/pretalx/orga/utils/i18n.py b/src/pretalx/orga/utils/i18n.py index 752f3ea79f..89212c4a4e 100644 --- a/src/pretalx/orga/utils/i18n.py +++ b/src/pretalx/orga/utils/i18n.py @@ -1,5 +1,8 @@ -# Inspired by https://github.com/asaglimbeni/django-datetime-widget/blob/master/datetimewidget/widgets.py # Copyright (c) 2013, Alfredo Saglimbeni (BSD license) +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + import re from django.conf import settings diff --git a/src/pretalx/orga/views/__init__.py b/src/pretalx/orga/views/__init__.py index e69de29bb2..28bb1867ef 100644 --- a/src/pretalx/orga/views/__init__.py +++ b/src/pretalx/orga/views/__init__.py @@ -0,0 +1,3 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 diff --git a/src/pretalx/orga/views/admin.py b/src/pretalx/orga/views/admin.py index 3a6a5820f6..fef684ec81 100644 --- a/src/pretalx/orga/views/admin.py +++ b/src/pretalx/orga/views/admin.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + import sys from django.conf import settings diff --git a/src/pretalx/orga/views/auth.py b/src/pretalx/orga/views/auth.py index 1f45903d55..d6d19a8f33 100644 --- a/src/pretalx/orga/views/auth.py +++ b/src/pretalx/orga/views/auth.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + import datetime as dt from django.contrib import messages diff --git a/src/pretalx/orga/views/cards.py b/src/pretalx/orga/views/cards.py index 6a85b3655b..be793cca6b 100644 --- a/src/pretalx/orga/views/cards.py +++ b/src/pretalx/orga/views/cards.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + import tempfile from django.contrib import messages diff --git a/src/pretalx/orga/views/cfp.py b/src/pretalx/orga/views/cfp.py index 543d708d9d..3ff0da89c8 100644 --- a/src/pretalx/orga/views/cfp.py +++ b/src/pretalx/orga/views/cfp.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + import json from csp.decorators import csp_update diff --git a/src/pretalx/orga/views/dashboard.py b/src/pretalx/orga/views/dashboard.py index 114a6f72de..206422002b 100644 --- a/src/pretalx/orga/views/dashboard.py +++ b/src/pretalx/orga/views/dashboard.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + from django.db.models import Count, Q from django.shortcuts import redirect from django.template.defaultfilters import timeuntil diff --git a/src/pretalx/orga/views/event.py b/src/pretalx/orga/views/event.py index 894b41bd7b..67499698aa 100644 --- a/src/pretalx/orga/views/event.py +++ b/src/pretalx/orga/views/event.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + import json from contextlib import suppress from pathlib import Path diff --git a/src/pretalx/orga/views/mails.py b/src/pretalx/orga/views/mails.py index 18e5c6c667..ac03d66885 100644 --- a/src/pretalx/orga/views/mails.py +++ b/src/pretalx/orga/views/mails.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + import bleach from bs4 import BeautifulSoup from django.contrib import messages diff --git a/src/pretalx/orga/views/organiser.py b/src/pretalx/orga/views/organiser.py index e81655af17..98aa9401b3 100644 --- a/src/pretalx/orga/views/organiser.py +++ b/src/pretalx/orga/views/organiser.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + from django.contrib import messages from django.http import HttpResponseRedirect from django.shortcuts import get_object_or_404, redirect diff --git a/src/pretalx/orga/views/person.py b/src/pretalx/orga/views/person.py index 895bd9a678..58975d8e64 100644 --- a/src/pretalx/orga/views/person.py +++ b/src/pretalx/orga/views/person.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + import urllib from django.contrib import messages diff --git a/src/pretalx/orga/views/plugins.py b/src/pretalx/orga/views/plugins.py index f63714e2d0..c055aff750 100644 --- a/src/pretalx/orga/views/plugins.py +++ b/src/pretalx/orga/views/plugins.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + from django.contrib import messages from django.db import transaction from django.shortcuts import redirect diff --git a/src/pretalx/orga/views/review.py b/src/pretalx/orga/views/review.py index e5fffe3ac1..8836e0ae47 100644 --- a/src/pretalx/orga/views/review.py +++ b/src/pretalx/orga/views/review.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + import statistics from collections import defaultdict from contextlib import suppress diff --git a/src/pretalx/orga/views/schedule.py b/src/pretalx/orga/views/schedule.py index f8efff4e5a..824f85ac73 100644 --- a/src/pretalx/orga/views/schedule.py +++ b/src/pretalx/orga/views/schedule.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + import datetime as dt import json from contextlib import suppress diff --git a/src/pretalx/orga/views/speaker.py b/src/pretalx/orga/views/speaker.py index 4563b8afb9..ffa1ad4265 100644 --- a/src/pretalx/orga/views/speaker.py +++ b/src/pretalx/orga/views/speaker.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + from csp.decorators import csp_update from django.contrib import messages from django.db import transaction diff --git a/src/pretalx/orga/views/submission.py b/src/pretalx/orga/views/submission.py index 40e2599b55..284f33c3fc 100644 --- a/src/pretalx/orga/views/submission.py +++ b/src/pretalx/orga/views/submission.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + import datetime as dt import json from collections import Counter diff --git a/src/pretalx/person/migrations/0001_initial.py b/src/pretalx/person/migrations/0001_initial.py index b923202688..cc180f8dae 100644 --- a/src/pretalx/person/migrations/0001_initial.py +++ b/src/pretalx/person/migrations/0001_initial.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 1.10.7 on 2017-04-29 15:18 from django.conf import settings diff --git a/src/pretalx/person/migrations/0002_auto_20170715_0655.py b/src/pretalx/person/migrations/0002_auto_20170715_0655.py index e34a662892..fd2cc25c6e 100644 --- a/src/pretalx/person/migrations/0002_auto_20170715_0655.py +++ b/src/pretalx/person/migrations/0002_auto_20170715_0655.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 1.11.3 on 2017-07-15 11:55 from django.db import migrations, models diff --git a/src/pretalx/person/migrations/0003_auto_20170908_0548.py b/src/pretalx/person/migrations/0003_auto_20170908_0548.py index 82c11848dc..9df0137e2c 100644 --- a/src/pretalx/person/migrations/0003_auto_20170908_0548.py +++ b/src/pretalx/person/migrations/0003_auto_20170908_0548.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 1.11.4 on 2017-09-08 10:48 from django.db import migrations, models diff --git a/src/pretalx/person/migrations/0004_auto_20171001_1358.py b/src/pretalx/person/migrations/0004_auto_20171001_1358.py index 695aff3012..72c47d176f 100644 --- a/src/pretalx/person/migrations/0004_auto_20171001_1358.py +++ b/src/pretalx/person/migrations/0004_auto_20171001_1358.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 1.11.5 on 2017-10-01 18:58 from django.db import migrations, models diff --git a/src/pretalx/person/migrations/0005_user_avatar.py b/src/pretalx/person/migrations/0005_user_avatar.py index 61b42de336..ef5bfad9fe 100644 --- a/src/pretalx/person/migrations/0005_user_avatar.py +++ b/src/pretalx/person/migrations/0005_user_avatar.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 1.11.6 on 2017-10-11 17:26 from django.db import migrations, models diff --git a/src/pretalx/person/migrations/0006_user_get_gravatar.py b/src/pretalx/person/migrations/0006_user_get_gravatar.py index 7209c729da..c0b3e916c9 100644 --- a/src/pretalx/person/migrations/0006_user_get_gravatar.py +++ b/src/pretalx/person/migrations/0006_user_get_gravatar.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 1.11.6 on 2017-10-22 20:25 from django.db import migrations, models diff --git a/src/pretalx/person/migrations/0007_user_code.py b/src/pretalx/person/migrations/0007_user_code.py index fcc0c2c1cf..b78ad7f8f3 100644 --- a/src/pretalx/person/migrations/0007_user_code.py +++ b/src/pretalx/person/migrations/0007_user_code.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 1.11.6 on 2017-10-23 05:27 from django.db import migrations, models diff --git a/src/pretalx/person/migrations/0008_data_populate_user_code.py b/src/pretalx/person/migrations/0008_data_populate_user_code.py index 6f6b488c29..b4b8c9ce50 100644 --- a/src/pretalx/person/migrations/0008_data_populate_user_code.py +++ b/src/pretalx/person/migrations/0008_data_populate_user_code.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 1.11.6 on 2017-10-23 05:27 from django.db import migrations diff --git a/src/pretalx/person/migrations/0009_auto_20171106_0608.py b/src/pretalx/person/migrations/0009_auto_20171106_0608.py index 68d3060dbb..cb02eac949 100644 --- a/src/pretalx/person/migrations/0009_auto_20171106_0608.py +++ b/src/pretalx/person/migrations/0009_auto_20171106_0608.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 1.11.7 on 2017-11-06 12:08 from django.db import migrations, models diff --git a/src/pretalx/person/migrations/0010_eventpermission_review_override_count.py b/src/pretalx/person/migrations/0010_eventpermission_review_override_count.py index d69a914c5e..2421e9b21b 100644 --- a/src/pretalx/person/migrations/0010_eventpermission_review_override_count.py +++ b/src/pretalx/person/migrations/0010_eventpermission_review_override_count.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 1.11.7 on 2017-11-14 20:14 from django.db import migrations, models diff --git a/src/pretalx/person/migrations/0011_speakerprofile_has_arrived.py b/src/pretalx/person/migrations/0011_speakerprofile_has_arrived.py index 7a4284c554..dbb2bdff94 100644 --- a/src/pretalx/person/migrations/0011_speakerprofile_has_arrived.py +++ b/src/pretalx/person/migrations/0011_speakerprofile_has_arrived.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 1.11.8 on 2017-12-15 22:11 from django.db import migrations, models diff --git a/src/pretalx/person/migrations/0012_user_is_administrator.py b/src/pretalx/person/migrations/0012_user_is_administrator.py index 8790530fdc..cee5e577d9 100644 --- a/src/pretalx/person/migrations/0012_user_is_administrator.py +++ b/src/pretalx/person/migrations/0012_user_is_administrator.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 2.0.1 on 2018-01-22 22:14 from django.db import migrations, models diff --git a/src/pretalx/person/migrations/0013_auto_20180122_1615.py b/src/pretalx/person/migrations/0013_auto_20180122_1615.py index a4f53f2294..ed9b806793 100644 --- a/src/pretalx/person/migrations/0013_auto_20180122_1615.py +++ b/src/pretalx/person/migrations/0013_auto_20180122_1615.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 2.0.1 on 2018-01-22 22:15 from django.db import migrations diff --git a/src/pretalx/person/migrations/0014_speakerinformation.py b/src/pretalx/person/migrations/0014_speakerinformation.py index dcb66b9621..9536710c0f 100644 --- a/src/pretalx/person/migrations/0014_speakerinformation.py +++ b/src/pretalx/person/migrations/0014_speakerinformation.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 2.0.2 on 2018-03-01 10:58 from django.db import migrations, models diff --git a/src/pretalx/person/migrations/0015_speakerinformation_resource.py b/src/pretalx/person/migrations/0015_speakerinformation_resource.py index 81b5eeb95c..52a3b58254 100644 --- a/src/pretalx/person/migrations/0015_speakerinformation_resource.py +++ b/src/pretalx/person/migrations/0015_speakerinformation_resource.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 2.0.2 on 2018-03-04 13:52 from django.db import migrations, models diff --git a/src/pretalx/person/migrations/0016_auto_20180425_0647.py b/src/pretalx/person/migrations/0016_auto_20180425_0647.py index e04c5c1fd6..03ea5ca5b9 100644 --- a/src/pretalx/person/migrations/0016_auto_20180425_0647.py +++ b/src/pretalx/person/migrations/0016_auto_20180425_0647.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 2.0.3 on 2018-04-25 11:47 from django.db import migrations, models diff --git a/src/pretalx/person/migrations/0017_auto_20180530_1434.py b/src/pretalx/person/migrations/0017_auto_20180530_1434.py index 4474d99afb..49553ce315 100644 --- a/src/pretalx/person/migrations/0017_auto_20180530_1434.py +++ b/src/pretalx/person/migrations/0017_auto_20180530_1434.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 2.0.3 on 2018-05-30 19:34 from django.db import migrations diff --git a/src/pretalx/person/migrations/0018_auto_20180812_1523.py b/src/pretalx/person/migrations/0018_auto_20180812_1523.py index 946daf86b1..cd7d8c29fc 100644 --- a/src/pretalx/person/migrations/0018_auto_20180812_1523.py +++ b/src/pretalx/person/migrations/0018_auto_20180812_1523.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 2.0.8 on 2018-08-12 20:23 from django.db import migrations, models diff --git a/src/pretalx/person/migrations/0019_auto_20180821_1346.py b/src/pretalx/person/migrations/0019_auto_20180821_1346.py index 41c06c3883..5cdd050d31 100644 --- a/src/pretalx/person/migrations/0019_auto_20180821_1346.py +++ b/src/pretalx/person/migrations/0019_auto_20180821_1346.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 2.0.8 on 2018-08-21 18:46 from django.db import migrations diff --git a/src/pretalx/person/migrations/0020_auto_20180922_0511.py b/src/pretalx/person/migrations/0020_auto_20180922_0511.py index 934256a17e..effa06a8ce 100644 --- a/src/pretalx/person/migrations/0020_auto_20180922_0511.py +++ b/src/pretalx/person/migrations/0020_auto_20180922_0511.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 2.0.8 on 2018-09-22 10:11 from django.db import migrations, models diff --git a/src/pretalx/person/migrations/0021_auto_20200124_1213.py b/src/pretalx/person/migrations/0021_auto_20200124_1213.py index 4f10e73857..30b76be5a4 100644 --- a/src/pretalx/person/migrations/0021_auto_20200124_1213.py +++ b/src/pretalx/person/migrations/0021_auto_20200124_1213.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 2.2.9 on 2020-01-24 12:13 from django.db import migrations, models diff --git a/src/pretalx/person/migrations/0022_filter_information_by_type_and_track.py b/src/pretalx/person/migrations/0022_filter_information_by_type_and_track.py index 5c7891217f..a41574ed74 100644 --- a/src/pretalx/person/migrations/0022_filter_information_by_type_and_track.py +++ b/src/pretalx/person/migrations/0022_filter_information_by_type_and_track.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 3.1.4 on 2021-01-30 22:10 from django.db import migrations, models diff --git a/src/pretalx/person/migrations/0023_speakerinformation_target_group.py b/src/pretalx/person/migrations/0023_speakerinformation_target_group.py index 19e5777ec3..95732266f4 100644 --- a/src/pretalx/person/migrations/0023_speakerinformation_target_group.py +++ b/src/pretalx/person/migrations/0023_speakerinformation_target_group.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 3.1.4 on 2021-01-30 22:22 from django.db import migrations, models diff --git a/src/pretalx/person/migrations/0024_date_migration_information_target_group.py b/src/pretalx/person/migrations/0024_date_migration_information_target_group.py index 3921c12d41..e5fa0474cd 100644 --- a/src/pretalx/person/migrations/0024_date_migration_information_target_group.py +++ b/src/pretalx/person/migrations/0024_date_migration_information_target_group.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 3.1.4 on 2021-01-30 22:23 from django.db import migrations diff --git a/src/pretalx/person/migrations/0025_drop_unused_speakerinformation_fields.py b/src/pretalx/person/migrations/0025_drop_unused_speakerinformation_fields.py index 1f9bd24b74..5108fa29b3 100644 --- a/src/pretalx/person/migrations/0025_drop_unused_speakerinformation_fields.py +++ b/src/pretalx/person/migrations/0025_drop_unused_speakerinformation_fields.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 3.1.4 on 2021-01-30 22:34 from django.db import migrations diff --git a/src/pretalx/person/migrations/0026_alter_user_timezone.py b/src/pretalx/person/migrations/0026_alter_user_timezone.py index 1b7855dbf8..73146bd413 100644 --- a/src/pretalx/person/migrations/0026_alter_user_timezone.py +++ b/src/pretalx/person/migrations/0026_alter_user_timezone.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 4.0 on 2023-06-03 21:21 from django.db import migrations, models diff --git a/src/pretalx/person/migrations/__init__.py b/src/pretalx/person/migrations/__init__.py index e69de29bb2..28bb1867ef 100644 --- a/src/pretalx/person/migrations/__init__.py +++ b/src/pretalx/person/migrations/__init__.py @@ -0,0 +1,3 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 diff --git a/src/pretalx/person/models/__init__.py b/src/pretalx/person/models/__init__.py index a5b4dcf0c9..aad29f3f60 100644 --- a/src/pretalx/person/models/__init__.py +++ b/src/pretalx/person/models/__init__.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + from .information import SpeakerInformation from .profile import SpeakerProfile from .user import User diff --git a/src/pretalx/person/models/information.py b/src/pretalx/person/models/information.py index 2d5f88fcd6..d226bf8342 100644 --- a/src/pretalx/person/models/information.py +++ b/src/pretalx/person/models/information.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + from django.db import models from django.utils.translation import gettext_lazy as _ from django_scopes import ScopedManager diff --git a/src/pretalx/person/models/profile.py b/src/pretalx/person/models/profile.py index 095d7daedf..a3bc0935c3 100644 --- a/src/pretalx/person/models/profile.py +++ b/src/pretalx/person/models/profile.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + from django.db import models from django.utils.functional import cached_property from django.utils.translation import gettext_lazy as _ diff --git a/src/pretalx/person/models/user.py b/src/pretalx/person/models/user.py index 5fe9adc280..94171656e4 100644 --- a/src/pretalx/person/models/user.py +++ b/src/pretalx/person/models/user.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + import json import random from contextlib import suppress diff --git a/src/pretalx/schedule/apps.py b/src/pretalx/schedule/apps.py index 2d66313bbc..a690f98e9b 100644 --- a/src/pretalx/schedule/apps.py +++ b/src/pretalx/schedule/apps.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + from django.apps import AppConfig diff --git a/src/pretalx/schedule/ascii.py b/src/pretalx/schedule/ascii.py index 912c1f1864..6812dc2ec7 100644 --- a/src/pretalx/schedule/ascii.py +++ b/src/pretalx/schedule/ascii.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + import textwrap from itertools import repeat diff --git a/src/pretalx/schedule/exporters.py b/src/pretalx/schedule/exporters.py index 9c3180c5be..43139fa112 100644 --- a/src/pretalx/schedule/exporters.py +++ b/src/pretalx/schedule/exporters.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + import datetime as dt import json from urllib.parse import urlparse diff --git a/src/pretalx/schedule/forms.py b/src/pretalx/schedule/forms.py index f4b1e1c5e9..7f20cb123d 100644 --- a/src/pretalx/schedule/forms.py +++ b/src/pretalx/schedule/forms.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + import datetime as dt import json diff --git a/src/pretalx/schedule/migrations/0001_initial.py b/src/pretalx/schedule/migrations/0001_initial.py index ef33289b02..9aae870fad 100644 --- a/src/pretalx/schedule/migrations/0001_initial.py +++ b/src/pretalx/schedule/migrations/0001_initial.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 1.10.7 on 2017-04-29 15:18 from django.conf import settings diff --git a/src/pretalx/schedule/migrations/0002_auto_20170523_0134.py b/src/pretalx/schedule/migrations/0002_auto_20170523_0134.py index eb6f988670..159b9603d3 100644 --- a/src/pretalx/schedule/migrations/0002_auto_20170523_0134.py +++ b/src/pretalx/schedule/migrations/0002_auto_20170523_0134.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 1.10.7 on 2017-05-23 06:34 from django.db import migrations, models diff --git a/src/pretalx/schedule/migrations/0003_auto_20170523_1144.py b/src/pretalx/schedule/migrations/0003_auto_20170523_1144.py index 8da63fb458..5eac77c016 100644 --- a/src/pretalx/schedule/migrations/0003_auto_20170523_1144.py +++ b/src/pretalx/schedule/migrations/0003_auto_20170523_1144.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 1.10.7 on 2017-05-23 16:44 from django.db import migrations, models diff --git a/src/pretalx/schedule/migrations/0004_auto_20170715_0655.py b/src/pretalx/schedule/migrations/0004_auto_20170715_0655.py index 2918b9b513..6869bcd7c4 100644 --- a/src/pretalx/schedule/migrations/0004_auto_20170715_0655.py +++ b/src/pretalx/schedule/migrations/0004_auto_20170715_0655.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 1.11.3 on 2017-07-15 11:55 from django.db import migrations diff --git a/src/pretalx/schedule/migrations/0005_schedule_published.py b/src/pretalx/schedule/migrations/0005_schedule_published.py index cf1caf2e85..760f9e0536 100644 --- a/src/pretalx/schedule/migrations/0005_schedule_published.py +++ b/src/pretalx/schedule/migrations/0005_schedule_published.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 1.11.3 on 2017-07-15 21:56 from django.db import migrations, models diff --git a/src/pretalx/schedule/migrations/0006_talkslot_is_visible.py b/src/pretalx/schedule/migrations/0006_talkslot_is_visible.py index e31595586e..6108bee76b 100644 --- a/src/pretalx/schedule/migrations/0006_talkslot_is_visible.py +++ b/src/pretalx/schedule/migrations/0006_talkslot_is_visible.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 1.11.3 on 2017-07-22 18:33 from django.db import migrations, models diff --git a/src/pretalx/schedule/migrations/0007_auto_20170806_0931.py b/src/pretalx/schedule/migrations/0007_auto_20170806_0931.py index cedd638bcf..1950ed9e39 100644 --- a/src/pretalx/schedule/migrations/0007_auto_20170806_0931.py +++ b/src/pretalx/schedule/migrations/0007_auto_20170806_0931.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 1.11.4 on 2017-08-06 14:31 from django.db import migrations diff --git a/src/pretalx/schedule/migrations/0008_auto_20170916_0421.py b/src/pretalx/schedule/migrations/0008_auto_20170916_0421.py index 7eec544a37..091f582ca7 100644 --- a/src/pretalx/schedule/migrations/0008_auto_20170916_0421.py +++ b/src/pretalx/schedule/migrations/0008_auto_20170916_0421.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 1.11.4 on 2017-09-16 09:21 from django.conf import settings diff --git a/src/pretalx/schedule/migrations/0009_auto_20171001_0433.py b/src/pretalx/schedule/migrations/0009_auto_20171001_0433.py index ba29d311db..e7365c5e07 100644 --- a/src/pretalx/schedule/migrations/0009_auto_20171001_0433.py +++ b/src/pretalx/schedule/migrations/0009_auto_20171001_0433.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 1.11.5 on 2017-10-01 09:33 from django.conf import settings diff --git a/src/pretalx/schedule/migrations/0010_auto_20171001_0439.py b/src/pretalx/schedule/migrations/0010_auto_20171001_0439.py index 72a2f2bcd0..be91ca3f40 100644 --- a/src/pretalx/schedule/migrations/0010_auto_20171001_0439.py +++ b/src/pretalx/schedule/migrations/0010_auto_20171001_0439.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 1.11.5 on 2017-10-01 09:39 from django.db import migrations, models diff --git a/src/pretalx/schedule/migrations/0010_auto_20171001_1358.py b/src/pretalx/schedule/migrations/0010_auto_20171001_1358.py index 906683e2ee..1fd5db3b2a 100644 --- a/src/pretalx/schedule/migrations/0010_auto_20171001_1358.py +++ b/src/pretalx/schedule/migrations/0010_auto_20171001_1358.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 1.11.5 on 2017-10-01 18:58 from django.db import migrations, models diff --git a/src/pretalx/schedule/migrations/0011_auto_20180205_1127.py b/src/pretalx/schedule/migrations/0011_auto_20180205_1127.py index e03abec44b..2fb67df4ec 100644 --- a/src/pretalx/schedule/migrations/0011_auto_20180205_1127.py +++ b/src/pretalx/schedule/migrations/0011_auto_20180205_1127.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 2.0.1 on 2018-02-05 17:27 from django.db import migrations diff --git a/src/pretalx/schedule/migrations/0012_auto_20190303_2358.py b/src/pretalx/schedule/migrations/0012_auto_20190303_2358.py index 0175946a3f..b80fc74dd4 100644 --- a/src/pretalx/schedule/migrations/0012_auto_20190303_2358.py +++ b/src/pretalx/schedule/migrations/0012_auto_20190303_2358.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 2.1.5 on 2019-03-03 23:58 from django.db import migrations, models diff --git a/src/pretalx/schedule/migrations/0013_auto_20191107_1748.py b/src/pretalx/schedule/migrations/0013_auto_20191107_1748.py index 3bfe7e3107..579d096726 100644 --- a/src/pretalx/schedule/migrations/0013_auto_20191107_1748.py +++ b/src/pretalx/schedule/migrations/0013_auto_20191107_1748.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 2.2.4 on 2019-11-07 17:48 from django.db import migrations, models diff --git a/src/pretalx/schedule/migrations/0014_schedule_comment.py b/src/pretalx/schedule/migrations/0014_schedule_comment.py index bdba312a5b..6900fbc540 100644 --- a/src/pretalx/schedule/migrations/0014_schedule_comment.py +++ b/src/pretalx/schedule/migrations/0014_schedule_comment.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 3.0.3 on 2020-03-21 18:01 from django.db import migrations diff --git a/src/pretalx/schedule/migrations/0015_room_guid.py b/src/pretalx/schedule/migrations/0015_room_guid.py index 38fbc3862f..a4853e5615 100644 --- a/src/pretalx/schedule/migrations/0015_room_guid.py +++ b/src/pretalx/schedule/migrations/0015_room_guid.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 3.2.4 on 2021-11-08 22:24 from django.db import migrations, models diff --git a/src/pretalx/schedule/migrations/0016_talkslot_updated.py b/src/pretalx/schedule/migrations/0016_talkslot_updated.py index 21dc275ed0..690429729c 100644 --- a/src/pretalx/schedule/migrations/0016_talkslot_updated.py +++ b/src/pretalx/schedule/migrations/0016_talkslot_updated.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # Generated by Django 3.2.4 on 2021-11-24 10:59 from django.db import migrations, models diff --git a/src/pretalx/schedule/migrations/__init__.py b/src/pretalx/schedule/migrations/__init__.py index e69de29bb2..28bb1867ef 100644 --- a/src/pretalx/schedule/migrations/__init__.py +++ b/src/pretalx/schedule/migrations/__init__.py @@ -0,0 +1,3 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 diff --git a/src/pretalx/schedule/models/__init__.py b/src/pretalx/schedule/models/__init__.py index 3c81994a0b..1d5809bece 100644 --- a/src/pretalx/schedule/models/__init__.py +++ b/src/pretalx/schedule/models/__init__.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + from .availability import Availability from .room import Room from .schedule import Schedule diff --git a/src/pretalx/schedule/models/availability.py b/src/pretalx/schedule/models/availability.py index 1435cdd646..a89647ba54 100644 --- a/src/pretalx/schedule/models/availability.py +++ b/src/pretalx/schedule/models/availability.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + import datetime as dt from typing import List diff --git a/src/pretalx/schedule/models/room.py b/src/pretalx/schedule/models/room.py index a7a512112c..28d8672938 100644 --- a/src/pretalx/schedule/models/room.py +++ b/src/pretalx/schedule/models/room.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + from django.db import models from django.utils.translation import gettext_lazy as _ from django_scopes import ScopedManager diff --git a/src/pretalx/schedule/models/schedule.py b/src/pretalx/schedule/models/schedule.py index 9ba29e8792..9ea273331d 100644 --- a/src/pretalx/schedule/models/schedule.py +++ b/src/pretalx/schedule/models/schedule.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + from collections import defaultdict, namedtuple from contextlib import suppress from urllib.parse import quote diff --git a/src/pretalx/schedule/models/slot.py b/src/pretalx/schedule/models/slot.py index 48f1aab446..7c99caaeb3 100644 --- a/src/pretalx/schedule/models/slot.py +++ b/src/pretalx/schedule/models/slot.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + import datetime as dt import re import string diff --git a/src/pretalx/schedule/signals.py b/src/pretalx/schedule/signals.py index 07c7119343..e648aacf4c 100644 --- a/src/pretalx/schedule/signals.py +++ b/src/pretalx/schedule/signals.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + from django.dispatch import receiver from pretalx.common.signals import EventPluginSignal, register_data_exporters diff --git a/src/pretalx/schedule/utils.py b/src/pretalx/schedule/utils.py index 3a46d8de3e..a5131163ef 100644 --- a/src/pretalx/schedule/utils.py +++ b/src/pretalx/schedule/utils.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + import datetime as dt from contextlib import suppress diff --git a/src/pretalx/settings.py b/src/pretalx/settings.py index af4e824c0c..f7e1dcc897 100644 --- a/src/pretalx/settings.py +++ b/src/pretalx/settings.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 pretalx contributors +# +# SPDX-License-Identifier: Apache-2.0 + import os import sys from contextlib import suppress diff --git a/src/pretalx/static/fonts/mulish-v12-latin-ext-700.woff.license b/src/pretalx/static/fonts/mulish-v12-latin-ext-700.woff.license new file mode 100644 index 0000000000..d42a40afcc --- /dev/null +++ b/src/pretalx/static/fonts/mulish-v12-latin-ext-700.woff.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: 2023 pretalx contributors + +SPDX-License-Identifier: Apache-2.0 diff --git a/src/pretalx/static/fonts/mulish-v12-latin-ext-700.woff2.license b/src/pretalx/static/fonts/mulish-v12-latin-ext-700.woff2.license new file mode 100644 index 0000000000..d42a40afcc --- /dev/null +++ b/src/pretalx/static/fonts/mulish-v12-latin-ext-700.woff2.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: 2023 pretalx contributors + +SPDX-License-Identifier: Apache-2.0 diff --git a/src/pretalx/static/fonts/mulish-v12-latin-ext-700italic.woff.license b/src/pretalx/static/fonts/mulish-v12-latin-ext-700italic.woff.license new file mode 100644 index 0000000000..d42a40afcc --- /dev/null +++ b/src/pretalx/static/fonts/mulish-v12-latin-ext-700italic.woff.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: 2023 pretalx contributors + +SPDX-License-Identifier: Apache-2.0 diff --git a/src/pretalx/static/fonts/mulish-v12-latin-ext-700italic.woff2.license b/src/pretalx/static/fonts/mulish-v12-latin-ext-700italic.woff2.license new file mode 100644 index 0000000000..d42a40afcc --- /dev/null +++ b/src/pretalx/static/fonts/mulish-v12-latin-ext-700italic.woff2.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: 2023 pretalx contributors + +SPDX-License-Identifier: Apache-2.0 diff --git a/src/pretalx/static/fonts/mulish-v12-latin-ext-italic.woff.license b/src/pretalx/static/fonts/mulish-v12-latin-ext-italic.woff.license new file mode 100644 index 0000000000..d42a40afcc --- /dev/null +++ b/src/pretalx/static/fonts/mulish-v12-latin-ext-italic.woff.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: 2023 pretalx contributors + +SPDX-License-Identifier: Apache-2.0 diff --git a/src/pretalx/static/fonts/mulish-v12-latin-ext-italic.woff2.license b/src/pretalx/static/fonts/mulish-v12-latin-ext-italic.woff2.license new file mode 100644 index 0000000000..d42a40afcc --- /dev/null +++ b/src/pretalx/static/fonts/mulish-v12-latin-ext-italic.woff2.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: 2023 pretalx contributors + +SPDX-License-Identifier: Apache-2.0 diff --git a/src/pretalx/static/fonts/mulish-v12-latin-ext-regular.woff.license b/src/pretalx/static/fonts/mulish-v12-latin-ext-regular.woff.license new file mode 100644 index 0000000000..d42a40afcc --- /dev/null +++ b/src/pretalx/static/fonts/mulish-v12-latin-ext-regular.woff.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: 2023 pretalx contributors + +SPDX-License-Identifier: Apache-2.0 diff --git a/src/pretalx/static/fonts/mulish-v12-latin-ext-regular.woff2.license b/src/pretalx/static/fonts/mulish-v12-latin-ext-regular.woff2.license new file mode 100644 index 0000000000..d42a40afcc --- /dev/null +++ b/src/pretalx/static/fonts/mulish-v12-latin-ext-regular.woff2.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: 2023 pretalx contributors + +SPDX-License-Identifier: Apache-2.0 diff --git a/src/pretalx/static/fonts/titillium-web-v15-latin-ext-600.woff.license b/src/pretalx/static/fonts/titillium-web-v15-latin-ext-600.woff.license new file mode 100644 index 0000000000..d42a40afcc --- /dev/null +++ b/src/pretalx/static/fonts/titillium-web-v15-latin-ext-600.woff.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: 2023 pretalx contributors + +SPDX-License-Identifier: Apache-2.0 diff --git a/src/pretalx/static/fonts/titillium-web-v15-latin-ext-600.woff2.license b/src/pretalx/static/fonts/titillium-web-v15-latin-ext-600.woff2.license new file mode 100644 index 0000000000..d42a40afcc --- /dev/null +++ b/src/pretalx/static/fonts/titillium-web-v15-latin-ext-600.woff2.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: 2023 pretalx contributors + +SPDX-License-Identifier: Apache-2.0 diff --git a/src/pretalx/static/fonts/titillium-web-v15-latin-ext-600italic.woff.license b/src/pretalx/static/fonts/titillium-web-v15-latin-ext-600italic.woff.license new file mode 100644 index 0000000000..d42a40afcc --- /dev/null +++ b/src/pretalx/static/fonts/titillium-web-v15-latin-ext-600italic.woff.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: 2023 pretalx contributors + +SPDX-License-Identifier: Apache-2.0 diff --git a/src/pretalx/static/fonts/titillium-web-v15-latin-ext-600italic.woff2.license b/src/pretalx/static/fonts/titillium-web-v15-latin-ext-600italic.woff2.license new file mode 100644 index 0000000000..d42a40afcc --- /dev/null +++ b/src/pretalx/static/fonts/titillium-web-v15-latin-ext-600italic.woff2.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: 2023 pretalx contributors + +SPDX-License-Identifier: Apache-2.0 diff --git a/src/pretalx/static/fonts/titillium-web-v15-latin-ext-700.woff.license b/src/pretalx/static/fonts/titillium-web-v15-latin-ext-700.woff.license new file mode 100644 index 0000000000..d42a40afcc --- /dev/null +++ b/src/pretalx/static/fonts/titillium-web-v15-latin-ext-700.woff.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: 2023 pretalx contributors + +SPDX-License-Identifier: Apache-2.0 diff --git a/src/pretalx/static/fonts/titillium-web-v15-latin-ext-700.woff2.license b/src/pretalx/static/fonts/titillium-web-v15-latin-ext-700.woff2.license new file mode 100644 index 0000000000..d42a40afcc --- /dev/null +++ b/src/pretalx/static/fonts/titillium-web-v15-latin-ext-700.woff2.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: 2023 pretalx contributors + +SPDX-License-Identifier: Apache-2.0 diff --git a/src/pretalx/static/fonts/titillium-web-v15-latin-ext-700italic.woff.license b/src/pretalx/static/fonts/titillium-web-v15-latin-ext-700italic.woff.license new file mode 100644 index 0000000000..d42a40afcc --- /dev/null +++ b/src/pretalx/static/fonts/titillium-web-v15-latin-ext-700italic.woff.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: 2023 pretalx contributors + +SPDX-License-Identifier: Apache-2.0 diff --git a/src/pretalx/static/fonts/titillium-web-v15-latin-ext-700italic.woff2.license b/src/pretalx/static/fonts/titillium-web-v15-latin-ext-700italic.woff2.license new file mode 100644 index 0000000000..d42a40afcc --- /dev/null +++ b/src/pretalx/static/fonts/titillium-web-v15-latin-ext-700italic.woff2.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: 2023 pretalx contributors + +SPDX-License-Identifier: Apache-2.0 diff --git a/src/pretalx/static/vendored/jquery-3.1.1.js b/src/pretalx/static/vendored/jquery-3.1.1.js index 072e308110..25fc4b689e 100644 --- a/src/pretalx/static/vendored/jquery-3.1.1.js +++ b/src/pretalx/static/vendored/jquery-3.1.1.js @@ -1,16 +1,8 @@ -/*! - * jQuery JavaScript Library v3.1.1 - * https://jquery.com/ - * - * Includes Sizzle.js - * https://sizzlejs.com/ - * - * Copyright jQuery Foundation and other contributors - * Released under the MIT license - * https://jquery.org/license - * - * Date: 2016-09-22T22:30Z - */ +// Copyright jQuery Foundation and other contributors +// SPDX-FileCopyrightText: 2023 pretalx contributors +// +// SPDX-License-Identifier: Apache-2.0 + ( function( global, factory ) { "use strict"; diff --git a/src/pretalx/static/vendored/marked.min.js b/src/pretalx/static/vendored/marked.min.js index 218a96bf9a..23e2063e47 100644 --- a/src/pretalx/static/vendored/marked.min.js +++ b/src/pretalx/static/vendored/marked.min.js @@ -1,6 +1,6 @@ -/** - * marked - a markdown parser - * Copyright (c) 2011-2018, Christopher Jeffrey. (MIT Licensed) - * https://raw.githubusercontent.com/markedjs/marked/v0.6.2/marked.min.js - */ +// Copyright (c) 2011-2018, Christopher Jeffrey. (MIT Licensed) +// SPDX-FileCopyrightText: 2023 pretalx contributors +// +// SPDX-License-Identifier: Apache-2.0 + !function(e){"use strict";var k={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:f,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/,nptable:f,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?\\?>\\n*|\\n*|\\n*|)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,table:f,lheading:/^([^\n]+)\n *(=|-){2,} *(?:\n+|$)/,paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading| {0,3}>|<\/?(?:tag)(?: +|\n|\/?>)|<(?:script|pre|style|!--))[^\n]+)*)/,text:/^[^\n]+/};function a(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||b.defaults,this.rules=k.normal,this.options.pedantic?this.rules=k.pedantic:this.options.gfm&&(this.options.tables?this.rules=k.tables:this.rules=k.gfm)}k._label=/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,k._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,k.def=i(k.def).replace("label",k._label).replace("title",k._title).getRegex(),k.bullet=/(?:[*+-]|\d{1,9}\.)/,k.item=/^( *)(bull) ?[^\n]*(?:\n(?!\1bull ?)[^\n]*)*/,k.item=i(k.item,"gm").replace(/bull/g,k.bullet).getRegex(),k.list=i(k.list).replace(/bull/g,k.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+k.def.source+")").getRegex(),k._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",k._comment=//,k.html=i(k.html,"i").replace("comment",k._comment).replace("tag",k._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),k.paragraph=i(k.paragraph).replace("hr",k.hr).replace("heading",k.heading).replace("lheading",k.lheading).replace("tag",k._tag).getRegex(),k.blockquote=i(k.blockquote).replace("paragraph",k.paragraph).getRegex(),k.normal=d({},k),k.gfm=d({},k.normal,{fences:/^ {0,3}(`{3,}|~{3,})([^`\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,paragraph:/^/,heading:/^ *(#{1,6}) +([^\n]+?) *#* *(?:\n+|$)/}),k.gfm.paragraph=i(k.paragraph).replace("(?!","(?!"+k.gfm.fences.source.replace("\\1","\\2")+"|"+k.list.source.replace("\\1","\\3")+"|").getRegex(),k.tables=d({},k.gfm,{nptable:/^ *([^|\n ].*\|.*)\n *([-:]+ *\|[-| :]*)(?:\n((?:.*[^>\n ].*(?:\n|$))*)\n*|$)/,table:/^ *\|(.+)\n *\|?( *[-:]+[-| :]*)(?:\n((?: *[^>\n ].*(?:\n|$))*)\n*|$)/}),k.pedantic=d({},k.normal,{html:i("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",k._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/}),a.rules=k,a.lex=function(e,t){return new a(t).lex(e)},a.prototype.lex=function(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," ").replace(/\u00a0/g," ").replace(/\u2424/g,"\n"),this.token(e,!0)},a.prototype.token=function(e,t){var n,r,s,i,l,o,a,h,p,u,c,g,f,d,m,b;for(e=e.replace(/^ +$/gm,"");e;)if((s=this.rules.newline.exec(e))&&(e=e.substring(s[0].length),1 ?/gm,""),this.token(s,t),this.tokens.push({type:"blockquote_end"});else if(s=this.rules.list.exec(e)){for(e=e.substring(s[0].length),a={type:"list_start",ordered:d=1<(i=s[2]).length,start:d?+i:"",loose:!1},this.tokens.push(a),n=!(h=[]),f=(s=s[0].match(this.rules.item)).length,c=0;c?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:f,tag:"^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(href(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,strong:/^__([^\s_])__(?!_)|^\*\*([^\s*])\*\*(?!\*)|^__([^\s][\s\S]*?[^\s])__(?!_)|^\*\*([^\s][\s\S]*?[^\s])\*\*(?!\*)/,em:/^_([^\s_])_(?!_)|^\*([^\s*"<\[])\*(?!\*)|^_([^\s][\s\S]*?[^\s_])_(?!_|[^\spunctuation])|^_([^\s_][\s\S]*?[^\s])_(?!_|[^\spunctuation])|^\*([^\s"<\[][\s\S]*?[^\s*])\*(?!\*)|^\*([^\s*"<\[][\s\S]*?[^\s])\*(?!\*)/,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:f,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\?@\\[^_{|}~",n.em=i(n.em).replace(/punctuation/g,n._punctuation).getRegex(),n._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,n._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,n._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,n.autolink=i(n.autolink).replace("scheme",n._scheme).replace("email",n._email).getRegex(),n._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,n.tag=i(n.tag).replace("comment",k._comment).replace("attribute",n._attribute).getRegex(),n._label=/(?:\[[^\[\]]*\]|\\[\[\]]?|`[^`]*`|`(?!`)|[^\[\]\\`])*?/,n._href=/\s*(<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*)/,n._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,n.link=i(n.link).replace("label",n._label).replace("href",n._href).replace("title",n._title).getRegex(),n.reflink=i(n.reflink).replace("label",n._label).getRegex(),n.normal=d({},n),n.pedantic=d({},n.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/,link:i(/^!?\[(label)\]\((.*?)\)/).replace("label",n._label).getRegex(),reflink:i(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",n._label).getRegex()}),n.gfm=d({},n.normal,{escape:i(n.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^~+(?=\S)([\s\S]*?\S)~+/,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\/i.test(i[0])&&(this.inLink=!1),!this.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(i[0])?this.inRawBlock=!0:this.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(i[0])&&(this.inRawBlock=!1),e=e.substring(i[0].length),o+=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(i[0]):u(i[0]):i[0];else if(i=this.rules.link.exec(e)){var a=m(i[2],"()");if(-1$/,"$1"),o+=this.outputLink(i,{href:p.escapes(r),title:p.escapes(s)}),this.inLink=!1}else if((i=this.rules.reflink.exec(e))||(i=this.rules.nolink.exec(e))){if(e=e.substring(i[0].length),t=(i[2]||i[1]).replace(/\s+/g," "),!(t=this.links[t.toLowerCase()])||!t.href){o+=i[0].charAt(0),e=i[0].substring(1)+e;continue}this.inLink=!0,o+=this.outputLink(i,t),this.inLink=!1}else if(i=this.rules.strong.exec(e))e=e.substring(i[0].length),o+=this.renderer.strong(this.output(i[4]||i[3]||i[2]||i[1]));else if(i=this.rules.em.exec(e))e=e.substring(i[0].length),o+=this.renderer.em(this.output(i[6]||i[5]||i[4]||i[3]||i[2]||i[1]));else if(i=this.rules.code.exec(e))e=e.substring(i[0].length),o+=this.renderer.codespan(u(i[2].trim(),!0));else if(i=this.rules.br.exec(e))e=e.substring(i[0].length),o+=this.renderer.br();else if(i=this.rules.del.exec(e))e=e.substring(i[0].length),o+=this.renderer.del(this.output(i[1]));else if(i=this.rules.autolink.exec(e))e=e.substring(i[0].length),r="@"===i[2]?"mailto:"+(n=u(this.mangle(i[1]))):n=u(i[1]),o+=this.renderer.link(r,null,n);else if(this.inLink||!(i=this.rules.url.exec(e))){if(i=this.rules.text.exec(e))e=e.substring(i[0].length),this.inRawBlock?o+=this.renderer.text(i[0]):o+=this.renderer.text(u(this.smartypants(i[0])));else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0))}else{if("@"===i[2])r="mailto:"+(n=u(i[0]));else{for(;l=i[0],i[0]=this.rules._backpedal.exec(i[0])[0],l!==i[0];);n=u(i[0]),r="www."===i[1]?"http://"+n:n}e=e.substring(i[0].length),o+=this.renderer.link(r,null,n)}return o},p.escapes=function(e){return e?e.replace(p.rules._escapes,"$1"):e},p.prototype.outputLink=function(e,t){var n=t.href,r=t.title?u(t.title):null;return"!"!==e[0].charAt(0)?this.renderer.link(n,r,this.output(e[1])):this.renderer.image(n,r,u(e[1]))},p.prototype.smartypants=function(e){return this.options.smartypants?e.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…"):e},p.prototype.mangle=function(e){if(!this.options.mangle)return e;for(var t,n="",r=e.length,s=0;s'+(n?e:u(e,!0))+"\n":"
"+(n?e:u(e,!0))+"
"},r.prototype.blockquote=function(e){return"
\n"+e+"
\n"},r.prototype.html=function(e){return e},r.prototype.heading=function(e,t,n,r){return this.options.headerIds?"'+e+"\n":""+e+"\n"},r.prototype.hr=function(){return this.options.xhtml?"
\n":"
\n"},r.prototype.list=function(e,t,n){var r=t?"ol":"ul";return"<"+r+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+"\n"},r.prototype.listitem=function(e){return"
  • "+e+"
  • \n"},r.prototype.checkbox=function(e){return" "},r.prototype.paragraph=function(e){return"

    "+e+"

    \n"},r.prototype.table=function(e,t){return t&&(t=""+t+""),"\n\n"+e+"\n"+t+"
    \n"},r.prototype.tablerow=function(e){return"\n"+e+"\n"},r.prototype.tablecell=function(e,t){var n=t.header?"th":"td";return(t.align?"<"+n+' align="'+t.align+'">':"<"+n+">")+e+"\n"},r.prototype.strong=function(e){return""+e+""},r.prototype.em=function(e){return""+e+""},r.prototype.codespan=function(e){return""+e+""},r.prototype.br=function(){return this.options.xhtml?"
    ":"
    "},r.prototype.del=function(e){return""+e+""},r.prototype.link=function(e,t,n){if(null===(e=l(this.options.sanitize,this.options.baseUrl,e)))return n;var r='"},r.prototype.image=function(e,t,n){if(null===(e=l(this.options.sanitize,this.options.baseUrl,e)))return n;var r=''+n+'":">"},r.prototype.text=function(e){return e},s.prototype.strong=s.prototype.em=s.prototype.codespan=s.prototype.del=s.prototype.text=function(e){return e},s.prototype.link=s.prototype.image=function(e,t,n){return""+n},s.prototype.br=function(){return""},h.parse=function(e,t){return new h(t).parse(e)},h.prototype.parse=function(e){this.inline=new p(e.links,this.options),this.inlineText=new p(e.links,d({},this.options,{renderer:new s})),this.tokens=e.reverse();for(var t="";this.next();)t+=this.tok();return t},h.prototype.next=function(){return this.token=this.tokens.pop()},h.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0},h.prototype.parseText=function(){for(var e=this.token.text;"text"===this.peek().type;)e+="\n"+this.next().text;return this.inline.output(e)},h.prototype.tok=function(){switch(this.token.type){case"space":return"";case"hr":return this.renderer.hr();case"heading":return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,c(this.inlineText.output(this.token.text)),this.slugger);case"code":return this.renderer.code(this.token.text,this.token.lang,this.token.escaped);case"table":var e,t,n,r,s="",i="";for(n="",e=0;e?@[\]^`{|}~]/g,"").replace(/\s/g,"-");if(this.seen.hasOwnProperty(t))for(var n=t;this.seen[n]++,t=n+"-"+this.seen[n],this.seen.hasOwnProperty(t););return this.seen[t]=0,t},u.escapeTest=/[&<>"']/,u.escapeReplace=/[&<>"']/g,u.replacements={"&":"&","<":"<",">":">",'"':""","'":"'"},u.escapeTestNoEncode=/[<>"']|&(?!#?\w+;)/,u.escapeReplaceNoEncode=/[<>"']|&(?!#?\w+;)/g;var o={},g=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function f(){}function d(e){for(var t,n,r=1;rt)n.splice(t);else for(;n.lengthAn error occurred:

    "+u(e.message+"",!0)+"
    ";throw e}}f.exec=f,b.options=b.setOptions=function(e){return d(b.defaults,e),b},b.getDefaults=function(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:new r,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tables:!0,xhtml:!1}},b.defaults=b.getDefaults(),b.Parser=h,b.parser=h.parse,b.Renderer=r,b.TextRenderer=s,b.Lexer=a,b.lexer=a.lex,b.InlineLexer=p,b.inlineLexer=p.output,b.Slugger=t,b.parse=b,"undefined"!=typeof module&&"object"==typeof exports?module.exports=b:"function"==typeof define&&define.amd?define(function(){return b}):e.marked=b}(this||("undefined"!=typeof window?window:global)); diff --git a/src/pretalx/static/vendored/moment-timezone-with-data-10-year-range.js b/src/pretalx/static/vendored/moment-timezone-with-data-10-year-range.js index 6b66cbaf6d..2edf8ba00c 100644 --- a/src/pretalx/static/vendored/moment-timezone-with-data-10-year-range.js +++ b/src/pretalx/static/vendored/moment-timezone-with-data-10-year-range.js @@ -1,8 +1,7 @@ -//! moment-timezone.js -//! version : 0.5.40 -//! Copyright (c) JS Foundation and other contributors -//! license : MIT -//! github.com/moment/moment-timezone +// Copyright (c) JS Foundation and other contributors +// SPDX-FileCopyrightText: 2023 pretalx contributors +// +// SPDX-License-Identifier: Apache-2.0 (function (root, factory) { "use strict"; diff --git a/src/pretalx/static/vendored/moment-with-locales.js b/src/pretalx/static/vendored/moment-with-locales.js index 67447c2bfc..20ba6e5818 100644 --- a/src/pretalx/static/vendored/moment-with-locales.js +++ b/src/pretalx/static/vendored/moment-with-locales.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2023 pretalx contributors +// +// SPDX-License-Identifier: Apache-2.0 + ;(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define(factory) : diff --git a/src/pretalx/static/vendored/select2.min.css b/src/pretalx/static/vendored/select2.min.css index 39a4547ff6..18ccd4ab00 100644 --- a/src/pretalx/static/vendored/select2.min.css +++ b/src/pretalx/static/vendored/select2.min.css @@ -1 +1,7 @@ +/* + * SPDX-FileCopyrightText: 2023 pretalx contributors + * + * SPDX-License-Identifier: Apache-2.0 + */ + .select2-container{box-sizing:border-box;display:inline-block;margin:0;position:relative;vertical-align:middle}.select2-container .select2-selection--single{box-sizing:border-box;cursor:pointer;display:block;height:28px;user-select:none;-webkit-user-select:none}.select2-container .select2-selection--single .select2-selection__rendered{display:block;padding-left:8px;padding-right:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.select2-container .select2-selection--single .select2-selection__clear{background-color:transparent;border:none;font-size:1em}.select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered{padding-right:8px;padding-left:20px}.select2-container .select2-selection--multiple{box-sizing:border-box;cursor:pointer;display:block;min-height:32px;user-select:none;-webkit-user-select:none}.select2-container .select2-selection--multiple .select2-selection__rendered{display:inline;list-style:none;padding:0}.select2-container .select2-selection--multiple .select2-selection__clear{background-color:transparent;border:none;font-size:1em}.select2-container .select2-search--inline .select2-search__field{box-sizing:border-box;border:none;font-size:100%;margin-top:5px;margin-left:5px;padding:0;max-width:100%;resize:none;height:18px;vertical-align:bottom;font-family:sans-serif;overflow:hidden;word-break:keep-all}.select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none}.select2-dropdown{background-color:white;border:1px solid #aaa;border-radius:4px;box-sizing:border-box;display:block;position:absolute;left:-100000px;width:100%;z-index:1051}.select2-results{display:block}.select2-results__options{list-style:none;margin:0;padding:0}.select2-results__option{padding:6px;user-select:none;-webkit-user-select:none}.select2-results__option--selectable{cursor:pointer}.select2-container--open .select2-dropdown{left:0}.select2-container--open .select2-dropdown--above{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--open .select2-dropdown--below{border-top:none;border-top-left-radius:0;border-top-right-radius:0}.select2-search--dropdown{display:block;padding:4px}.select2-search--dropdown .select2-search__field{padding:4px;width:100%;box-sizing:border-box}.select2-search--dropdown .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none}.select2-search--dropdown.select2-search--hide{display:none}.select2-close-mask{border:0;margin:0;padding:0;display:block;position:fixed;left:0;top:0;min-height:100%;min-width:100%;height:auto;width:auto;opacity:0;z-index:99;background-color:#fff;filter:alpha(opacity=0)}.select2-hidden-accessible{border:0 !important;clip:rect(0 0 0 0) !important;-webkit-clip-path:inset(50%) !important;clip-path:inset(50%) !important;height:1px !important;overflow:hidden !important;padding:0 !important;position:absolute !important;width:1px !important;white-space:nowrap !important}.select2-container--default .select2-selection--single{background-color:#fff;border:1px solid #aaa;border-radius:4px}.select2-container--default .select2-selection--single .select2-selection__rendered{color:#444;line-height:28px}.select2-container--default .select2-selection--single .select2-selection__clear{cursor:pointer;float:right;font-weight:bold;height:26px;margin-right:20px;padding-right:0px}.select2-container--default .select2-selection--single .select2-selection__placeholder{color:#999}.select2-container--default .select2-selection--single .select2-selection__arrow{height:26px;position:absolute;top:1px;right:1px;width:20px}.select2-container--default .select2-selection--single .select2-selection__arrow b{border-color:#888 transparent transparent transparent;border-style:solid;border-width:5px 4px 0 4px;height:0;left:50%;margin-left:-4px;margin-top:-2px;position:absolute;top:50%;width:0}.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__clear{float:left}.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__arrow{left:1px;right:auto}.select2-container--default.select2-container--disabled .select2-selection--single{background-color:#eee;cursor:default}.select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear{display:none}.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b{border-color:transparent transparent #888 transparent;border-width:0 4px 5px 4px}.select2-container--default .select2-selection--multiple{background-color:white;border:1px solid #aaa;border-radius:4px;cursor:text;padding-bottom:5px;padding-right:5px;position:relative}.select2-container--default .select2-selection--multiple.select2-selection--clearable{padding-right:25px}.select2-container--default .select2-selection--multiple .select2-selection__clear{cursor:pointer;font-weight:bold;height:20px;margin-right:10px;margin-top:5px;position:absolute;right:0;padding:1px}.select2-container--default .select2-selection--multiple .select2-selection__choice{background-color:#e4e4e4;border:1px solid #aaa;border-radius:4px;box-sizing:border-box;display:inline-block;margin-left:5px;margin-top:5px;padding:0;padding-left:20px;position:relative;max-width:100%;overflow:hidden;text-overflow:ellipsis;vertical-align:bottom;white-space:nowrap}.select2-container--default .select2-selection--multiple .select2-selection__choice__display{cursor:default;padding-left:2px;padding-right:5px}.select2-container--default .select2-selection--multiple .select2-selection__choice__remove{background-color:transparent;border:none;border-right:1px solid #aaa;border-top-left-radius:4px;border-bottom-left-radius:4px;color:#999;cursor:pointer;font-size:1em;font-weight:bold;padding:0 4px;position:absolute;left:0;top:0}.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover,.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:focus{background-color:#f1f1f1;color:#333;outline:none}.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice{margin-left:5px;margin-right:auto}.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice__display{padding-left:5px;padding-right:2px}.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove{border-left:1px solid #aaa;border-right:none;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px}.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__clear{float:left;margin-left:10px;margin-right:auto}.select2-container--default.select2-container--focus .select2-selection--multiple{border:solid black 1px;outline:0}.select2-container--default.select2-container--disabled .select2-selection--multiple{background-color:#eee;cursor:default}.select2-container--default.select2-container--disabled .select2-selection__choice__remove{display:none}.select2-container--default.select2-container--open.select2-container--above .select2-selection--single,.select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple{border-top-left-radius:0;border-top-right-radius:0}.select2-container--default.select2-container--open.select2-container--below .select2-selection--single,.select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple{border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--default .select2-search--dropdown .select2-search__field{border:1px solid #aaa}.select2-container--default .select2-search--inline .select2-search__field{background:transparent;border:none;outline:0;box-shadow:none;-webkit-appearance:textfield}.select2-container--default .select2-results>.select2-results__options{max-height:200px;overflow-y:auto}.select2-container--default .select2-results__option .select2-results__option{padding-left:1em}.select2-container--default .select2-results__option .select2-results__option .select2-results__group{padding-left:0}.select2-container--default .select2-results__option .select2-results__option .select2-results__option{margin-left:-1em;padding-left:2em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-2em;padding-left:3em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-3em;padding-left:4em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-4em;padding-left:5em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-5em;padding-left:6em}.select2-container--default .select2-results__option--group{padding:0}.select2-container--default .select2-results__option--disabled{color:#999}.select2-container--default .select2-results__option--selected{background-color:#ddd}.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable{background-color:#5897fb;color:white}.select2-container--default .select2-results__group{cursor:default;display:block;padding:6px}.select2-container--classic .select2-selection--single{background-color:#f7f7f7;border:1px solid #aaa;border-radius:4px;outline:0;background-image:-webkit-linear-gradient(top, #fff 50%, #eee 100%);background-image:-o-linear-gradient(top, #fff 50%, #eee 100%);background-image:linear-gradient(to bottom, #fff 50%, #eee 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0)}.select2-container--classic .select2-selection--single:focus{border:1px solid #5897fb}.select2-container--classic .select2-selection--single .select2-selection__rendered{color:#444;line-height:28px}.select2-container--classic .select2-selection--single .select2-selection__clear{cursor:pointer;float:right;font-weight:bold;height:26px;margin-right:20px}.select2-container--classic .select2-selection--single .select2-selection__placeholder{color:#999}.select2-container--classic .select2-selection--single .select2-selection__arrow{background-color:#ddd;border:none;border-left:1px solid #aaa;border-top-right-radius:4px;border-bottom-right-radius:4px;height:26px;position:absolute;top:1px;right:1px;width:20px;background-image:-webkit-linear-gradient(top, #eee 50%, #ccc 100%);background-image:-o-linear-gradient(top, #eee 50%, #ccc 100%);background-image:linear-gradient(to bottom, #eee 50%, #ccc 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFCCCCCC', GradientType=0)}.select2-container--classic .select2-selection--single .select2-selection__arrow b{border-color:#888 transparent transparent transparent;border-style:solid;border-width:5px 4px 0 4px;height:0;left:50%;margin-left:-4px;margin-top:-2px;position:absolute;top:50%;width:0}.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__clear{float:left}.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__arrow{border:none;border-right:1px solid #aaa;border-radius:0;border-top-left-radius:4px;border-bottom-left-radius:4px;left:1px;right:auto}.select2-container--classic.select2-container--open .select2-selection--single{border:1px solid #5897fb}.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow{background:transparent;border:none}.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow b{border-color:transparent transparent #888 transparent;border-width:0 4px 5px 4px}.select2-container--classic.select2-container--open.select2-container--above .select2-selection--single{border-top:none;border-top-left-radius:0;border-top-right-radius:0;background-image:-webkit-linear-gradient(top, #fff 0%, #eee 50%);background-image:-o-linear-gradient(top, #fff 0%, #eee 50%);background-image:linear-gradient(to bottom, #fff 0%, #eee 50%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0)}.select2-container--classic.select2-container--open.select2-container--below .select2-selection--single{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0;background-image:-webkit-linear-gradient(top, #eee 50%, #fff 100%);background-image:-o-linear-gradient(top, #eee 50%, #fff 100%);background-image:linear-gradient(to bottom, #eee 50%, #fff 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFFFFFFF', GradientType=0)}.select2-container--classic .select2-selection--multiple{background-color:white;border:1px solid #aaa;border-radius:4px;cursor:text;outline:0;padding-bottom:5px;padding-right:5px}.select2-container--classic .select2-selection--multiple:focus{border:1px solid #5897fb}.select2-container--classic .select2-selection--multiple .select2-selection__clear{display:none}.select2-container--classic .select2-selection--multiple .select2-selection__choice{background-color:#e4e4e4;border:1px solid #aaa;border-radius:4px;display:inline-block;margin-left:5px;margin-top:5px;padding:0}.select2-container--classic .select2-selection--multiple .select2-selection__choice__display{cursor:default;padding-left:2px;padding-right:5px}.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove{background-color:transparent;border:none;border-top-left-radius:4px;border-bottom-left-radius:4px;color:#888;cursor:pointer;font-size:1em;font-weight:bold;padding:0 4px}.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove:hover{color:#555;outline:none}.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice{margin-left:5px;margin-right:auto}.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice__display{padding-left:5px;padding-right:2px}.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove{border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px}.select2-container--classic.select2-container--open .select2-selection--multiple{border:1px solid #5897fb}.select2-container--classic.select2-container--open.select2-container--above .select2-selection--multiple{border-top:none;border-top-left-radius:0;border-top-right-radius:0}.select2-container--classic.select2-container--open.select2-container--below .select2-selection--multiple{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--classic .select2-search--dropdown .select2-search__field{border:1px solid #aaa;outline:0}.select2-container--classic .select2-search--inline .select2-search__field{outline:0;box-shadow:none}.select2-container--classic .select2-dropdown{background-color:#fff;border:1px solid transparent}.select2-container--classic .select2-dropdown--above{border-bottom:none}.select2-container--classic .select2-dropdown--below{border-top:none}.select2-container--classic .select2-results>.select2-results__options{max-height:200px;overflow-y:auto}.select2-container--classic .select2-results__option--group{padding:0}.select2-container--classic .select2-results__option--disabled{color:grey}.select2-container--classic .select2-results__option--highlighted.select2-results__option--selectable{background-color:#3875d7;color:#fff}.select2-container--classic .select2-results__group{cursor:default;display:block;padding:6px}.select2-container--classic.select2-container--open .select2-dropdown{border-color:#5897fb} diff --git a/src/pretalx/static/vendored/select2.min.js b/src/pretalx/static/vendored/select2.min.js index cc9a83f1e2..73fe23782b 100644 --- a/src/pretalx/static/vendored/select2.min.js +++ b/src/pretalx/static/vendored/select2.min.js @@ -1,2 +1,6 @@ +// SPDX-FileCopyrightText: 2023 pretalx contributors +// +// SPDX-License-Identifier: Apache-2.0 + /*! Select2 4.1.0-rc.0 | https://github.com/select2/select2/blob/master/LICENSE.md */ !function(n){"function"==typeof define&&define.amd?define(["jquery"],n):"object"==typeof module&&module.exports?module.exports=function(e,t){return void 0===t&&(t="undefined"!=typeof window?require("jquery"):require("jquery")(e)),n(t),t}:n(jQuery)}(function(t){var e,n,s,p,r,o,h,f,g,m,y,v,i,a,_,s=((u=t&&t.fn&&t.fn.select2&&t.fn.select2.amd?t.fn.select2.amd:u)&&u.requirejs||(u?n=u:u={},g={},m={},y={},v={},i=Object.prototype.hasOwnProperty,a=[].slice,_=/\.js$/,h=function(e,t){var n,s,i=c(e),r=i[0],t=t[1];return e=i[1],r&&(n=x(r=l(r,t))),r?e=n&&n.normalize?n.normalize(e,(s=t,function(e){return l(e,s)})):l(e,t):(r=(i=c(e=l(e,t)))[0],e=i[1],r&&(n=x(r))),{f:r?r+"!"+e:e,n:e,pr:r,p:n}},f={require:function(e){return w(e)},exports:function(e){var t=g[e];return void 0!==t?t:g[e]={}},module:function(e){return{id:e,uri:"",exports:g[e],config:(t=e,function(){return y&&y.config&&y.config[t]||{}})};var t}},r=function(e,t,n,s){var i,r,o,a,l,c=[],u=typeof n,d=A(s=s||e);if("undefined"==u||"function"==u){for(t=!t.length&&n.length?["require","exports","module"]:t,a=0;a":">",'"':""","'":"'","/":"/"};return"string"!=typeof e?e:String(e).replace(/[&<>"'\/\\]/g,function(e){return t[e]})},s.__cache={};var n=0;return s.GetUniqueElementId=function(e){var t=e.getAttribute("data-select2-id");return null!=t||(t=e.id?"select2-data-"+e.id:"select2-data-"+(++n).toString()+"-"+s.generateChars(4),e.setAttribute("data-select2-id",t)),t},s.StoreData=function(e,t,n){e=s.GetUniqueElementId(e);s.__cache[e]||(s.__cache[e]={}),s.__cache[e][t]=n},s.GetData=function(e,t){var n=s.GetUniqueElementId(e);return t?s.__cache[n]&&null!=s.__cache[n][t]?s.__cache[n][t]:r(e).data(t):s.__cache[n]},s.RemoveData=function(e){var t=s.GetUniqueElementId(e);null!=s.__cache[t]&&delete s.__cache[t],e.removeAttribute("data-select2-id")},s.copyNonInternalCssClasses=function(e,t){var n=(n=e.getAttribute("class").trim().split(/\s+/)).filter(function(e){return 0===e.indexOf("select2-")}),t=(t=t.getAttribute("class").trim().split(/\s+/)).filter(function(e){return 0!==e.indexOf("select2-")}),t=n.concat(t);e.setAttribute("class",t.join(" "))},s}),u.define("select2/results",["jquery","./utils"],function(d,p){function s(e,t,n){this.$element=e,this.data=n,this.options=t,s.__super__.constructor.call(this)}return p.Extend(s,p.Observable),s.prototype.render=function(){var e=d('
      ');return this.options.get("multiple")&&e.attr("aria-multiselectable","true"),this.$results=e},s.prototype.clear=function(){this.$results.empty()},s.prototype.displayMessage=function(e){var t=this.options.get("escapeMarkup");this.clear(),this.hideLoading();var n=d(''),s=this.options.get("translations").get(e.message);n.append(t(s(e.args))),n[0].className+=" select2-results__message",this.$results.append(n)},s.prototype.hideMessages=function(){this.$results.find(".select2-results__message").remove()},s.prototype.append=function(e){this.hideLoading();var t=[];if(null!=e.results&&0!==e.results.length){e.results=this.sort(e.results);for(var n=0;n",{class:"select2-results__options select2-results__options--nested",role:"none"});i.append(l),o.append(a),o.append(i)}else this.template(e,t);return p.StoreData(t,"data",e),t},s.prototype.bind=function(t,e){var i=this,n=t.id+"-results";this.$results.attr("id",n),t.on("results:all",function(e){i.clear(),i.append(e.data),t.isOpen()&&(i.setClasses(),i.highlightFirstItem())}),t.on("results:append",function(e){i.append(e.data),t.isOpen()&&i.setClasses()}),t.on("query",function(e){i.hideMessages(),i.showLoading(e)}),t.on("select",function(){t.isOpen()&&(i.setClasses(),i.options.get("scrollAfterSelect")&&i.highlightFirstItem())}),t.on("unselect",function(){t.isOpen()&&(i.setClasses(),i.options.get("scrollAfterSelect")&&i.highlightFirstItem())}),t.on("open",function(){i.$results.attr("aria-expanded","true"),i.$results.attr("aria-hidden","false"),i.setClasses(),i.ensureHighlightVisible()}),t.on("close",function(){i.$results.attr("aria-expanded","false"),i.$results.attr("aria-hidden","true"),i.$results.removeAttr("aria-activedescendant")}),t.on("results:toggle",function(){var e=i.getHighlightedResults();0!==e.length&&e.trigger("mouseup")}),t.on("results:select",function(){var e,t=i.getHighlightedResults();0!==t.length&&(e=p.GetData(t[0],"data"),t.hasClass("select2-results__option--selected")?i.trigger("close",{}):i.trigger("select",{data:e}))}),t.on("results:previous",function(){var e,t=i.getHighlightedResults(),n=i.$results.find(".select2-results__option--selectable"),s=n.index(t);s<=0||(e=s-1,0===t.length&&(e=0),(s=n.eq(e)).trigger("mouseenter"),t=i.$results.offset().top,n=s.offset().top,s=i.$results.scrollTop()+(n-t),0===e?i.$results.scrollTop(0):n-t<0&&i.$results.scrollTop(s))}),t.on("results:next",function(){var e,t=i.getHighlightedResults(),n=i.$results.find(".select2-results__option--selectable"),s=n.index(t)+1;s>=n.length||((e=n.eq(s)).trigger("mouseenter"),t=i.$results.offset().top+i.$results.outerHeight(!1),n=e.offset().top+e.outerHeight(!1),e=i.$results.scrollTop()+n-t,0===s?i.$results.scrollTop(0):tthis.$results.outerHeight()||s<0)&&this.$results.scrollTop(n))},s.prototype.template=function(e,t){var n=this.options.get("templateResult"),s=this.options.get("escapeMarkup"),e=n(e,t);null==e?t.style.display="none":"string"==typeof e?t.innerHTML=s(e):d(t).append(e)},s}),u.define("select2/keys",[],function(){return{BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46}}),u.define("select2/selection/base",["jquery","../utils","../keys"],function(n,s,i){function r(e,t){this.$element=e,this.options=t,r.__super__.constructor.call(this)}return s.Extend(r,s.Observable),r.prototype.render=function(){var e=n('');return this._tabindex=0,null!=s.GetData(this.$element[0],"old-tabindex")?this._tabindex=s.GetData(this.$element[0],"old-tabindex"):null!=this.$element.attr("tabindex")&&(this._tabindex=this.$element.attr("tabindex")),e.attr("title",this.$element.attr("title")),e.attr("tabindex",this._tabindex),e.attr("aria-disabled","false"),this.$selection=e},r.prototype.bind=function(e,t){var n=this,s=e.id+"-results";this.container=e,this.$selection.on("focus",function(e){n.trigger("focus",e)}),this.$selection.on("blur",function(e){n._handleBlur(e)}),this.$selection.on("keydown",function(e){n.trigger("keypress",e),e.which===i.SPACE&&e.preventDefault()}),e.on("results:focus",function(e){n.$selection.attr("aria-activedescendant",e.data._resultId)}),e.on("selection:update",function(e){n.update(e.data)}),e.on("open",function(){n.$selection.attr("aria-expanded","true"),n.$selection.attr("aria-owns",s),n._attachCloseHandler(e)}),e.on("close",function(){n.$selection.attr("aria-expanded","false"),n.$selection.removeAttr("aria-activedescendant"),n.$selection.removeAttr("aria-owns"),n.$selection.trigger("focus"),n._detachCloseHandler(e)}),e.on("enable",function(){n.$selection.attr("tabindex",n._tabindex),n.$selection.attr("aria-disabled","false")}),e.on("disable",function(){n.$selection.attr("tabindex","-1"),n.$selection.attr("aria-disabled","true")})},r.prototype._handleBlur=function(e){var t=this;window.setTimeout(function(){document.activeElement==t.$selection[0]||n.contains(t.$selection[0],document.activeElement)||t.trigger("blur",e)},1)},r.prototype._attachCloseHandler=function(e){n(document.body).on("mousedown.select2."+e.id,function(e){var t=n(e.target).closest(".select2");n(".select2.select2-container--open").each(function(){this!=t[0]&&s.GetData(this,"element").select2("close")})})},r.prototype._detachCloseHandler=function(e){n(document.body).off("mousedown.select2."+e.id)},r.prototype.position=function(e,t){t.find(".selection").append(e)},r.prototype.destroy=function(){this._detachCloseHandler(this.container)},r.prototype.update=function(e){throw new Error("The `update` method must be defined in child classes.")},r.prototype.isEnabled=function(){return!this.isDisabled()},r.prototype.isDisabled=function(){return this.options.get("disabled")},r}),u.define("select2/selection/single",["jquery","./base","../utils","../keys"],function(e,t,n,s){function i(){i.__super__.constructor.apply(this,arguments)}return n.Extend(i,t),i.prototype.render=function(){var e=i.__super__.render.call(this);return e[0].classList.add("select2-selection--single"),e.html(''),e},i.prototype.bind=function(t,e){var n=this;i.__super__.bind.apply(this,arguments);var s=t.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",s).attr("role","textbox").attr("aria-readonly","true"),this.$selection.attr("aria-labelledby",s),this.$selection.attr("aria-controls",s),this.$selection.on("mousedown",function(e){1===e.which&&n.trigger("toggle",{originalEvent:e})}),this.$selection.on("focus",function(e){}),this.$selection.on("blur",function(e){}),t.on("focus",function(e){t.isOpen()||n.$selection.trigger("focus")})},i.prototype.clear=function(){var e=this.$selection.find(".select2-selection__rendered");e.empty(),e.removeAttr("title")},i.prototype.display=function(e,t){var n=this.options.get("templateSelection");return this.options.get("escapeMarkup")(n(e,t))},i.prototype.selectionContainer=function(){return e("")},i.prototype.update=function(e){var t,n;0!==e.length?(n=e[0],t=this.$selection.find(".select2-selection__rendered"),e=this.display(n,t),t.empty().append(e),(n=n.title||n.text)?t.attr("title",n):t.removeAttr("title")):this.clear()},i}),u.define("select2/selection/multiple",["jquery","./base","../utils"],function(i,e,c){function r(e,t){r.__super__.constructor.apply(this,arguments)}return c.Extend(r,e),r.prototype.render=function(){var e=r.__super__.render.call(this);return e[0].classList.add("select2-selection--multiple"),e.html('
        '),e},r.prototype.bind=function(e,t){var n=this;r.__super__.bind.apply(this,arguments);var s=e.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",s),this.$selection.on("click",function(e){n.trigger("toggle",{originalEvent:e})}),this.$selection.on("click",".select2-selection__choice__remove",function(e){var t;n.isDisabled()||(t=i(this).parent(),t=c.GetData(t[0],"data"),n.trigger("unselect",{originalEvent:e,data:t}))}),this.$selection.on("keydown",".select2-selection__choice__remove",function(e){n.isDisabled()||e.stopPropagation()})},r.prototype.clear=function(){var e=this.$selection.find(".select2-selection__rendered");e.empty(),e.removeAttr("title")},r.prototype.display=function(e,t){var n=this.options.get("templateSelection");return this.options.get("escapeMarkup")(n(e,t))},r.prototype.selectionContainer=function(){return i('
      • ')},r.prototype.update=function(e){if(this.clear(),0!==e.length){for(var t=[],n=this.$selection.find(".select2-selection__rendered").attr("id")+"-choice-",s=0;s')).attr("title",s()),e.attr("aria-label",s()),e.attr("aria-describedby",n),a.StoreData(e[0],"data",t),this.$selection.prepend(e),this.$selection[0].classList.add("select2-selection--clearable"))},e}),u.define("select2/selection/search",["jquery","../utils","../keys"],function(s,a,l){function e(e,t,n){e.call(this,t,n)}return e.prototype.render=function(e){var t=this.options.get("translations").get("search"),n=s('');this.$searchContainer=n,this.$search=n.find("textarea"),this.$search.prop("autocomplete",this.options.get("autocomplete")),this.$search.attr("aria-label",t());e=e.call(this);return this._transferTabIndex(),e.append(this.$searchContainer),e},e.prototype.bind=function(e,t,n){var s=this,i=t.id+"-results",r=t.id+"-container";e.call(this,t,n),s.$search.attr("aria-describedby",r),t.on("open",function(){s.$search.attr("aria-controls",i),s.$search.trigger("focus")}),t.on("close",function(){s.$search.val(""),s.resizeSearch(),s.$search.removeAttr("aria-controls"),s.$search.removeAttr("aria-activedescendant"),s.$search.trigger("focus")}),t.on("enable",function(){s.$search.prop("disabled",!1),s._transferTabIndex()}),t.on("disable",function(){s.$search.prop("disabled",!0)}),t.on("focus",function(e){s.$search.trigger("focus")}),t.on("results:focus",function(e){e.data._resultId?s.$search.attr("aria-activedescendant",e.data._resultId):s.$search.removeAttr("aria-activedescendant")}),this.$selection.on("focusin",".select2-search--inline",function(e){s.trigger("focus",e)}),this.$selection.on("focusout",".select2-search--inline",function(e){s._handleBlur(e)}),this.$selection.on("keydown",".select2-search--inline",function(e){var t;e.stopPropagation(),s.trigger("keypress",e),s._keyUpPrevented=e.isDefaultPrevented(),e.which!==l.BACKSPACE||""!==s.$search.val()||0<(t=s.$selection.find(".select2-selection__choice").last()).length&&(t=a.GetData(t[0],"data"),s.searchRemoveChoice(t),e.preventDefault())}),this.$selection.on("click",".select2-search--inline",function(e){s.$search.val()&&e.stopPropagation()});var t=document.documentMode,o=t&&t<=11;this.$selection.on("input.searchcheck",".select2-search--inline",function(e){o?s.$selection.off("input.search input.searchcheck"):s.$selection.off("keyup.search")}),this.$selection.on("keyup.search input.search",".select2-search--inline",function(e){var t;o&&"input"===e.type?s.$selection.off("input.search input.searchcheck"):(t=e.which)!=l.SHIFT&&t!=l.CTRL&&t!=l.ALT&&t!=l.TAB&&s.handleSearch(e)})},e.prototype._transferTabIndex=function(e){this.$search.attr("tabindex",this.$selection.attr("tabindex")),this.$selection.attr("tabindex","-1")},e.prototype.createPlaceholder=function(e,t){this.$search.attr("placeholder",t.text)},e.prototype.update=function(e,t){var n=this.$search[0]==document.activeElement;this.$search.attr("placeholder",""),e.call(this,t),this.resizeSearch(),n&&this.$search.trigger("focus")},e.prototype.handleSearch=function(){var e;this.resizeSearch(),this._keyUpPrevented||(e=this.$search.val(),this.trigger("query",{term:e})),this._keyUpPrevented=!1},e.prototype.searchRemoveChoice=function(e,t){this.trigger("unselect",{data:t}),this.$search.val(t.text),this.handleSearch()},e.prototype.resizeSearch=function(){this.$search.css("width","25px");var e="100%";""===this.$search.attr("placeholder")&&(e=.75*(this.$search.val().length+1)+"em"),this.$search.css("width",e)},e}),u.define("select2/selection/selectionCss",["../utils"],function(n){function e(){}return e.prototype.render=function(e){var t=e.call(this),e=this.options.get("selectionCssClass")||"";return-1!==e.indexOf(":all:")&&(e=e.replace(":all:",""),n.copyNonInternalCssClasses(t[0],this.$element[0])),t.addClass(e),t},e}),u.define("select2/selection/eventRelay",["jquery"],function(o){function e(){}return e.prototype.bind=function(e,t,n){var s=this,i=["open","opening","close","closing","select","selecting","unselect","unselecting","clear","clearing"],r=["opening","closing","selecting","unselecting","clearing"];e.call(this,t,n),t.on("*",function(e,t){var n;-1!==i.indexOf(e)&&(t=t||{},n=o.Event("select2:"+e,{params:t}),s.$element.trigger(n),-1!==r.indexOf(e)&&(t.prevented=n.isDefaultPrevented()))})},e}),u.define("select2/translation",["jquery","require"],function(t,n){function s(e){this.dict=e||{}}return s.prototype.all=function(){return this.dict},s.prototype.get=function(e){return this.dict[e]},s.prototype.extend=function(e){this.dict=t.extend({},e.all(),this.dict)},s._cache={},s.loadPath=function(e){var t;return e in s._cache||(t=n(e),s._cache[e]=t),new s(s._cache[e])},s}),u.define("select2/diacritics",[],function(){return{"Ⓐ":"A","A":"A","À":"A","Á":"A","Â":"A","Ầ":"A","Ấ":"A","Ẫ":"A","Ẩ":"A","Ã":"A","Ā":"A","Ă":"A","Ằ":"A","Ắ":"A","Ẵ":"A","Ẳ":"A","Ȧ":"A","Ǡ":"A","Ä":"A","Ǟ":"A","Ả":"A","Å":"A","Ǻ":"A","Ǎ":"A","Ȁ":"A","Ȃ":"A","Ạ":"A","Ậ":"A","Ặ":"A","Ḁ":"A","Ą":"A","Ⱥ":"A","Ɐ":"A","Ꜳ":"AA","Æ":"AE","Ǽ":"AE","Ǣ":"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY","Ⓑ":"B","B":"B","Ḃ":"B","Ḅ":"B","Ḇ":"B","Ƀ":"B","Ƃ":"B","Ɓ":"B","Ⓒ":"C","C":"C","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","Ç":"C","Ḉ":"C","Ƈ":"C","Ȼ":"C","Ꜿ":"C","Ⓓ":"D","D":"D","Ḋ":"D","Ď":"D","Ḍ":"D","Ḑ":"D","Ḓ":"D","Ḏ":"D","Đ":"D","Ƌ":"D","Ɗ":"D","Ɖ":"D","Ꝺ":"D","DZ":"DZ","DŽ":"DZ","Dz":"Dz","Dž":"Dz","Ⓔ":"E","E":"E","È":"E","É":"E","Ê":"E","Ề":"E","Ế":"E","Ễ":"E","Ể":"E","Ẽ":"E","Ē":"E","Ḕ":"E","Ḗ":"E","Ĕ":"E","Ė":"E","Ë":"E","Ẻ":"E","Ě":"E","Ȅ":"E","Ȇ":"E","Ẹ":"E","Ệ":"E","Ȩ":"E","Ḝ":"E","Ę":"E","Ḙ":"E","Ḛ":"E","Ɛ":"E","Ǝ":"E","Ⓕ":"F","F":"F","Ḟ":"F","Ƒ":"F","Ꝼ":"F","Ⓖ":"G","G":"G","Ǵ":"G","Ĝ":"G","Ḡ":"G","Ğ":"G","Ġ":"G","Ǧ":"G","Ģ":"G","Ǥ":"G","Ɠ":"G","Ꞡ":"G","Ᵹ":"G","Ꝿ":"G","Ⓗ":"H","H":"H","Ĥ":"H","Ḣ":"H","Ḧ":"H","Ȟ":"H","Ḥ":"H","Ḩ":"H","Ḫ":"H","Ħ":"H","Ⱨ":"H","Ⱶ":"H","Ɥ":"H","Ⓘ":"I","I":"I","Ì":"I","Í":"I","Î":"I","Ĩ":"I","Ī":"I","Ĭ":"I","İ":"I","Ï":"I","Ḯ":"I","Ỉ":"I","Ǐ":"I","Ȉ":"I","Ȋ":"I","Ị":"I","Į":"I","Ḭ":"I","Ɨ":"I","Ⓙ":"J","J":"J","Ĵ":"J","Ɉ":"J","Ⓚ":"K","K":"K","Ḱ":"K","Ǩ":"K","Ḳ":"K","Ķ":"K","Ḵ":"K","Ƙ":"K","Ⱪ":"K","Ꝁ":"K","Ꝃ":"K","Ꝅ":"K","Ꞣ":"K","Ⓛ":"L","L":"L","Ŀ":"L","Ĺ":"L","Ľ":"L","Ḷ":"L","Ḹ":"L","Ļ":"L","Ḽ":"L","Ḻ":"L","Ł":"L","Ƚ":"L","Ɫ":"L","Ⱡ":"L","Ꝉ":"L","Ꝇ":"L","Ꞁ":"L","LJ":"LJ","Lj":"Lj","Ⓜ":"M","M":"M","Ḿ":"M","Ṁ":"M","Ṃ":"M","Ɱ":"M","Ɯ":"M","Ⓝ":"N","N":"N","Ǹ":"N","Ń":"N","Ñ":"N","Ṅ":"N","Ň":"N","Ṇ":"N","Ņ":"N","Ṋ":"N","Ṉ":"N","Ƞ":"N","Ɲ":"N","Ꞑ":"N","Ꞥ":"N","NJ":"NJ","Nj":"Nj","Ⓞ":"O","O":"O","Ò":"O","Ó":"O","Ô":"O","Ồ":"O","Ố":"O","Ỗ":"O","Ổ":"O","Õ":"O","Ṍ":"O","Ȭ":"O","Ṏ":"O","Ō":"O","Ṑ":"O","Ṓ":"O","Ŏ":"O","Ȯ":"O","Ȱ":"O","Ö":"O","Ȫ":"O","Ỏ":"O","Ő":"O","Ǒ":"O","Ȍ":"O","Ȏ":"O","Ơ":"O","Ờ":"O","Ớ":"O","Ỡ":"O","Ở":"O","Ợ":"O","Ọ":"O","Ộ":"O","Ǫ":"O","Ǭ":"O","Ø":"O","Ǿ":"O","Ɔ":"O","Ɵ":"O","Ꝋ":"O","Ꝍ":"O","Œ":"OE","Ƣ":"OI","Ꝏ":"OO","Ȣ":"OU","Ⓟ":"P","P":"P","Ṕ":"P","Ṗ":"P","Ƥ":"P","Ᵽ":"P","Ꝑ":"P","Ꝓ":"P","Ꝕ":"P","Ⓠ":"Q","Q":"Q","Ꝗ":"Q","Ꝙ":"Q","Ɋ":"Q","Ⓡ":"R","R":"R","Ŕ":"R","Ṙ":"R","Ř":"R","Ȑ":"R","Ȓ":"R","Ṛ":"R","Ṝ":"R","Ŗ":"R","Ṟ":"R","Ɍ":"R","Ɽ":"R","Ꝛ":"R","Ꞧ":"R","Ꞃ":"R","Ⓢ":"S","S":"S","ẞ":"S","Ś":"S","Ṥ":"S","Ŝ":"S","Ṡ":"S","Š":"S","Ṧ":"S","Ṣ":"S","Ṩ":"S","Ș":"S","Ş":"S","Ȿ":"S","Ꞩ":"S","Ꞅ":"S","Ⓣ":"T","T":"T","Ṫ":"T","Ť":"T","Ṭ":"T","Ț":"T","Ţ":"T","Ṱ":"T","Ṯ":"T","Ŧ":"T","Ƭ":"T","Ʈ":"T","Ⱦ":"T","Ꞇ":"T","Ꜩ":"TZ","Ⓤ":"U","U":"U","Ù":"U","Ú":"U","Û":"U","Ũ":"U","Ṹ":"U","Ū":"U","Ṻ":"U","Ŭ":"U","Ü":"U","Ǜ":"U","Ǘ":"U","Ǖ":"U","Ǚ":"U","Ủ":"U","Ů":"U","Ű":"U","Ǔ":"U","Ȕ":"U","Ȗ":"U","Ư":"U","Ừ":"U","Ứ":"U","Ữ":"U","Ử":"U","Ự":"U","Ụ":"U","Ṳ":"U","Ų":"U","Ṷ":"U","Ṵ":"U","Ʉ":"U","Ⓥ":"V","V":"V","Ṽ":"V","Ṿ":"V","Ʋ":"V","Ꝟ":"V","Ʌ":"V","Ꝡ":"VY","Ⓦ":"W","W":"W","Ẁ":"W","Ẃ":"W","Ŵ":"W","Ẇ":"W","Ẅ":"W","Ẉ":"W","Ⱳ":"W","Ⓧ":"X","X":"X","Ẋ":"X","Ẍ":"X","Ⓨ":"Y","Y":"Y","Ỳ":"Y","Ý":"Y","Ŷ":"Y","Ỹ":"Y","Ȳ":"Y","Ẏ":"Y","Ÿ":"Y","Ỷ":"Y","Ỵ":"Y","Ƴ":"Y","Ɏ":"Y","Ỿ":"Y","Ⓩ":"Z","Z":"Z","Ź":"Z","Ẑ":"Z","Ż":"Z","Ž":"Z","Ẓ":"Z","Ẕ":"Z","Ƶ":"Z","Ȥ":"Z","Ɀ":"Z","Ⱬ":"Z","Ꝣ":"Z","ⓐ":"a","a":"a","ẚ":"a","à":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","ā":"a","ă":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","ǡ":"a","ä":"a","ǟ":"a","ả":"a","å":"a","ǻ":"a","ǎ":"a","ȁ":"a","ȃ":"a","ạ":"a","ậ":"a","ặ":"a","ḁ":"a","ą":"a","ⱥ":"a","ɐ":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ⓑ":"b","b":"b","ḃ":"b","ḅ":"b","ḇ":"b","ƀ":"b","ƃ":"b","ɓ":"b","ⓒ":"c","c":"c","ć":"c","ĉ":"c","ċ":"c","č":"c","ç":"c","ḉ":"c","ƈ":"c","ȼ":"c","ꜿ":"c","ↄ":"c","ⓓ":"d","d":"d","ḋ":"d","ď":"d","ḍ":"d","ḑ":"d","ḓ":"d","ḏ":"d","đ":"d","ƌ":"d","ɖ":"d","ɗ":"d","ꝺ":"d","dz":"dz","dž":"dz","ⓔ":"e","e":"e","è":"e","é":"e","ê":"e","ề":"e","ế":"e","ễ":"e","ể":"e","ẽ":"e","ē":"e","ḕ":"e","ḗ":"e","ĕ":"e","ė":"e","ë":"e","ẻ":"e","ě":"e","ȅ":"e","ȇ":"e","ẹ":"e","ệ":"e","ȩ":"e","ḝ":"e","ę":"e","ḙ":"e","ḛ":"e","ɇ":"e","ɛ":"e","ǝ":"e","ⓕ":"f","f":"f","ḟ":"f","ƒ":"f","ꝼ":"f","ⓖ":"g","g":"g","ǵ":"g","ĝ":"g","ḡ":"g","ğ":"g","ġ":"g","ǧ":"g","ģ":"g","ǥ":"g","ɠ":"g","ꞡ":"g","ᵹ":"g","ꝿ":"g","ⓗ":"h","h":"h","ĥ":"h","ḣ":"h","ḧ":"h","ȟ":"h","ḥ":"h","ḩ":"h","ḫ":"h","ẖ":"h","ħ":"h","ⱨ":"h","ⱶ":"h","ɥ":"h","ƕ":"hv","ⓘ":"i","i":"i","ì":"i","í":"i","î":"i","ĩ":"i","ī":"i","ĭ":"i","ï":"i","ḯ":"i","ỉ":"i","ǐ":"i","ȉ":"i","ȋ":"i","ị":"i","į":"i","ḭ":"i","ɨ":"i","ı":"i","ⓙ":"j","j":"j","ĵ":"j","ǰ":"j","ɉ":"j","ⓚ":"k","k":"k","ḱ":"k","ǩ":"k","ḳ":"k","ķ":"k","ḵ":"k","ƙ":"k","ⱪ":"k","ꝁ":"k","ꝃ":"k","ꝅ":"k","ꞣ":"k","ⓛ":"l","l":"l","ŀ":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","ſ":"l","ł":"l","ƚ":"l","ɫ":"l","ⱡ":"l","ꝉ":"l","ꞁ":"l","ꝇ":"l","lj":"lj","ⓜ":"m","m":"m","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ɯ":"m","ⓝ":"n","n":"n","ǹ":"n","ń":"n","ñ":"n","ṅ":"n","ň":"n","ṇ":"n","ņ":"n","ṋ":"n","ṉ":"n","ƞ":"n","ɲ":"n","ʼn":"n","ꞑ":"n","ꞥ":"n","nj":"nj","ⓞ":"o","o":"o","ò":"o","ó":"o","ô":"o","ồ":"o","ố":"o","ỗ":"o","ổ":"o","õ":"o","ṍ":"o","ȭ":"o","ṏ":"o","ō":"o","ṑ":"o","ṓ":"o","ŏ":"o","ȯ":"o","ȱ":"o","ö":"o","ȫ":"o","ỏ":"o","ő":"o","ǒ":"o","ȍ":"o","ȏ":"o","ơ":"o","ờ":"o","ớ":"o","ỡ":"o","ở":"o","ợ":"o","ọ":"o","ộ":"o","ǫ":"o","ǭ":"o","ø":"o","ǿ":"o","ɔ":"o","ꝋ":"o","ꝍ":"o","ɵ":"o","œ":"oe","ƣ":"oi","ȣ":"ou","ꝏ":"oo","ⓟ":"p","p":"p","ṕ":"p","ṗ":"p","ƥ":"p","ᵽ":"p","ꝑ":"p","ꝓ":"p","ꝕ":"p","ⓠ":"q","q":"q","ɋ":"q","ꝗ":"q","ꝙ":"q","ⓡ":"r","r":"r","ŕ":"r","ṙ":"r","ř":"r","ȑ":"r","ȓ":"r","ṛ":"r","ṝ":"r","ŗ":"r","ṟ":"r","ɍ":"r","ɽ":"r","ꝛ":"r","ꞧ":"r","ꞃ":"r","ⓢ":"s","s":"s","ß":"s","ś":"s","ṥ":"s","ŝ":"s","ṡ":"s","š":"s","ṧ":"s","ṣ":"s","ṩ":"s","ș":"s","ş":"s","ȿ":"s","ꞩ":"s","ꞅ":"s","ẛ":"s","ⓣ":"t","t":"t","ṫ":"t","ẗ":"t","ť":"t","ṭ":"t","ț":"t","ţ":"t","ṱ":"t","ṯ":"t","ŧ":"t","ƭ":"t","ʈ":"t","ⱦ":"t","ꞇ":"t","ꜩ":"tz","ⓤ":"u","u":"u","ù":"u","ú":"u","û":"u","ũ":"u","ṹ":"u","ū":"u","ṻ":"u","ŭ":"u","ü":"u","ǜ":"u","ǘ":"u","ǖ":"u","ǚ":"u","ủ":"u","ů":"u","ű":"u","ǔ":"u","ȕ":"u","ȗ":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","ử":"u","ự":"u","ụ":"u","ṳ":"u","ų":"u","ṷ":"u","ṵ":"u","ʉ":"u","ⓥ":"v","v":"v","ṽ":"v","ṿ":"v","ʋ":"v","ꝟ":"v","ʌ":"v","ꝡ":"vy","ⓦ":"w","w":"w","ẁ":"w","ẃ":"w","ŵ":"w","ẇ":"w","ẅ":"w","ẘ":"w","ẉ":"w","ⱳ":"w","ⓧ":"x","x":"x","ẋ":"x","ẍ":"x","ⓨ":"y","y":"y","ỳ":"y","ý":"y","ŷ":"y","ỹ":"y","ȳ":"y","ẏ":"y","ÿ":"y","ỷ":"y","ẙ":"y","ỵ":"y","ƴ":"y","ɏ":"y","ỿ":"y","ⓩ":"z","z":"z","ź":"z","ẑ":"z","ż":"z","ž":"z","ẓ":"z","ẕ":"z","ƶ":"z","ȥ":"z","ɀ":"z","ⱬ":"z","ꝣ":"z","Ά":"Α","Έ":"Ε","Ή":"Η","Ί":"Ι","Ϊ":"Ι","Ό":"Ο","Ύ":"Υ","Ϋ":"Υ","Ώ":"Ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ώ":"ω","ς":"σ","’":"'"}}),u.define("select2/data/base",["../utils"],function(n){function s(e,t){s.__super__.constructor.call(this)}return n.Extend(s,n.Observable),s.prototype.current=function(e){throw new Error("The `current` method must be defined in child classes.")},s.prototype.query=function(e,t){throw new Error("The `query` method must be defined in child classes.")},s.prototype.bind=function(e,t){},s.prototype.destroy=function(){},s.prototype.generateResultId=function(e,t){e=e.id+"-result-";return e+=n.generateChars(4),null!=t.id?e+="-"+t.id.toString():e+="-"+n.generateChars(4),e},s}),u.define("select2/data/select",["./base","../utils","jquery"],function(e,a,l){function n(e,t){this.$element=e,this.options=t,n.__super__.constructor.call(this)}return a.Extend(n,e),n.prototype.current=function(e){var t=this;e(Array.prototype.map.call(this.$element[0].querySelectorAll(":checked"),function(e){return t.item(l(e))}))},n.prototype.select=function(i){var e,r=this;if(i.selected=!0,null!=i.element&&"option"===i.element.tagName.toLowerCase())return i.element.selected=!0,void this.$element.trigger("input").trigger("change");this.$element.prop("multiple")?this.current(function(e){var t=[];(i=[i]).push.apply(i,e);for(var n=0;nthis.maximumInputLength?this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:t.term,params:t}}):e.call(this,t,n)},e}),u.define("select2/data/maximumSelectionLength",[],function(){function e(e,t,n){this.maximumSelectionLength=n.get("maximumSelectionLength"),e.call(this,t,n)}return e.prototype.bind=function(e,t,n){var s=this;e.call(this,t,n),t.on("select",function(){s._checkIfMaximumSelected()})},e.prototype.query=function(e,t,n){var s=this;this._checkIfMaximumSelected(function(){e.call(s,t,n)})},e.prototype._checkIfMaximumSelected=function(e,t){var n=this;this.current(function(e){e=null!=e?e.length:0;0=n.maximumSelectionLength?n.trigger("results:message",{message:"maximumSelected",args:{maximum:n.maximumSelectionLength}}):t&&t()})},e}),u.define("select2/dropdown",["jquery","./utils"],function(t,e){function n(e,t){this.$element=e,this.options=t,n.__super__.constructor.call(this)}return e.Extend(n,e.Observable),n.prototype.render=function(){var e=t('');return e.attr("dir",this.options.get("dir")),this.$dropdown=e},n.prototype.bind=function(){},n.prototype.position=function(e,t){},n.prototype.destroy=function(){this.$dropdown.remove()},n}),u.define("select2/dropdown/search",["jquery"],function(r){function e(){}return e.prototype.render=function(e){var t=e.call(this),n=this.options.get("translations").get("search"),e=r('');return this.$searchContainer=e,this.$search=e.find("input"),this.$search.prop("autocomplete",this.options.get("autocomplete")),this.$search.attr("aria-label",n()),t.prepend(e),t},e.prototype.bind=function(e,t,n){var s=this,i=t.id+"-results";e.call(this,t,n),this.$search.on("keydown",function(e){s.trigger("keypress",e),s._keyUpPrevented=e.isDefaultPrevented()}),this.$search.on("input",function(e){r(this).off("keyup")}),this.$search.on("keyup input",function(e){s.handleSearch(e)}),t.on("open",function(){s.$search.attr("tabindex",0),s.$search.attr("aria-controls",i),s.$search.trigger("focus"),window.setTimeout(function(){s.$search.trigger("focus")},0)}),t.on("close",function(){s.$search.attr("tabindex",-1),s.$search.removeAttr("aria-controls"),s.$search.removeAttr("aria-activedescendant"),s.$search.val(""),s.$search.trigger("blur")}),t.on("focus",function(){t.isOpen()||s.$search.trigger("focus")}),t.on("results:all",function(e){null!=e.query.term&&""!==e.query.term||(s.showSearch(e)?s.$searchContainer[0].classList.remove("select2-search--hide"):s.$searchContainer[0].classList.add("select2-search--hide"))}),t.on("results:focus",function(e){e.data._resultId?s.$search.attr("aria-activedescendant",e.data._resultId):s.$search.removeAttr("aria-activedescendant")})},e.prototype.handleSearch=function(e){var t;this._keyUpPrevented||(t=this.$search.val(),this.trigger("query",{term:t})),this._keyUpPrevented=!1},e.prototype.showSearch=function(e,t){return!0},e}),u.define("select2/dropdown/hidePlaceholder",[],function(){function e(e,t,n,s){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),e.call(this,t,n,s)}return e.prototype.append=function(e,t){t.results=this.removePlaceholder(t.results),e.call(this,t)},e.prototype.normalizePlaceholder=function(e,t){return t="string"==typeof t?{id:"",text:t}:t},e.prototype.removePlaceholder=function(e,t){for(var n=t.slice(0),s=t.length-1;0<=s;s--){var i=t[s];this.placeholder.id===i.id&&n.splice(s,1)}return n},e}),u.define("select2/dropdown/infiniteScroll",["jquery"],function(n){function e(e,t,n,s){this.lastParams={},e.call(this,t,n,s),this.$loadingMore=this.createLoadingMore(),this.loading=!1}return e.prototype.append=function(e,t){this.$loadingMore.remove(),this.loading=!1,e.call(this,t),this.showLoadingMore(t)&&(this.$results.append(this.$loadingMore),this.loadMoreIfNeeded())},e.prototype.bind=function(e,t,n){var s=this;e.call(this,t,n),t.on("query",function(e){s.lastParams=e,s.loading=!0}),t.on("query:append",function(e){s.lastParams=e,s.loading=!0}),this.$results.on("scroll",this.loadMoreIfNeeded.bind(this))},e.prototype.loadMoreIfNeeded=function(){var e=n.contains(document.documentElement,this.$loadingMore[0]);!this.loading&&e&&(e=this.$results.offset().top+this.$results.outerHeight(!1),this.$loadingMore.offset().top+this.$loadingMore.outerHeight(!1)<=e+50&&this.loadMore())},e.prototype.loadMore=function(){this.loading=!0;var e=n.extend({},{page:1},this.lastParams);e.page++,this.trigger("query:append",e)},e.prototype.showLoadingMore=function(e,t){return t.pagination&&t.pagination.more},e.prototype.createLoadingMore=function(){var e=n('
      • '),t=this.options.get("translations").get("loadingMore");return e.html(t(this.lastParams)),e},e}),u.define("select2/dropdown/attachBody",["jquery","../utils"],function(u,o){function e(e,t,n){this.$dropdownParent=u(n.get("dropdownParent")||document.body),e.call(this,t,n)}return e.prototype.bind=function(e,t,n){var s=this;e.call(this,t,n),t.on("open",function(){s._showDropdown(),s._attachPositioningHandler(t),s._bindContainerResultHandlers(t)}),t.on("close",function(){s._hideDropdown(),s._detachPositioningHandler(t)}),this.$dropdownContainer.on("mousedown",function(e){e.stopPropagation()})},e.prototype.destroy=function(e){e.call(this),this.$dropdownContainer.remove()},e.prototype.position=function(e,t,n){t.attr("class",n.attr("class")),t[0].classList.remove("select2"),t[0].classList.add("select2-container--open"),t.css({position:"absolute",top:-999999}),this.$container=n},e.prototype.render=function(e){var t=u(""),e=e.call(this);return t.append(e),this.$dropdownContainer=t},e.prototype._hideDropdown=function(e){this.$dropdownContainer.detach()},e.prototype._bindContainerResultHandlers=function(e,t){var n;this._containerResultsHandlersBound||(n=this,t.on("results:all",function(){n._positionDropdown(),n._resizeDropdown()}),t.on("results:append",function(){n._positionDropdown(),n._resizeDropdown()}),t.on("results:message",function(){n._positionDropdown(),n._resizeDropdown()}),t.on("select",function(){n._positionDropdown(),n._resizeDropdown()}),t.on("unselect",function(){n._positionDropdown(),n._resizeDropdown()}),this._containerResultsHandlersBound=!0)},e.prototype._attachPositioningHandler=function(e,t){var n=this,s="scroll.select2."+t.id,i="resize.select2."+t.id,r="orientationchange.select2."+t.id,t=this.$container.parents().filter(o.hasScroll);t.each(function(){o.StoreData(this,"select2-scroll-position",{x:u(this).scrollLeft(),y:u(this).scrollTop()})}),t.on(s,function(e){var t=o.GetData(this,"select2-scroll-position");u(this).scrollTop(t.y)}),u(window).on(s+" "+i+" "+r,function(e){n._positionDropdown(),n._resizeDropdown()})},e.prototype._detachPositioningHandler=function(e,t){var n="scroll.select2."+t.id,s="resize.select2."+t.id,t="orientationchange.select2."+t.id;this.$container.parents().filter(o.hasScroll).off(n),u(window).off(n+" "+s+" "+t)},e.prototype._positionDropdown=function(){var e=u(window),t=this.$dropdown[0].classList.contains("select2-dropdown--above"),n=this.$dropdown[0].classList.contains("select2-dropdown--below"),s=null,i=this.$container.offset();i.bottom=i.top+this.$container.outerHeight(!1);var r={height:this.$container.outerHeight(!1)};r.top=i.top,r.bottom=i.top+r.height;var o=this.$dropdown.outerHeight(!1),a=e.scrollTop(),l=e.scrollTop()+e.height(),c=ai.bottom+o,a={left:i.left,top:r.bottom},l=this.$dropdownParent;"static"===l.css("position")&&(l=l.offsetParent());i={top:0,left:0};(u.contains(document.body,l[0])||l[0].isConnected)&&(i=l.offset()),a.top-=i.top,a.left-=i.left,t||n||(s="below"),e||!c||t?!c&&e&&t&&(s="below"):s="above",("above"==s||t&&"below"!==s)&&(a.top=r.top-i.top-o),null!=s&&(this.$dropdown[0].classList.remove("select2-dropdown--below"),this.$dropdown[0].classList.remove("select2-dropdown--above"),this.$dropdown[0].classList.add("select2-dropdown--"+s),this.$container[0].classList.remove("select2-container--below"),this.$container[0].classList.remove("select2-container--above"),this.$container[0].classList.add("select2-container--"+s)),this.$dropdownContainer.css(a)},e.prototype._resizeDropdown=function(){var e={width:this.$container.outerWidth(!1)+"px"};this.options.get("dropdownAutoWidth")&&(e.minWidth=e.width,e.position="relative",e.width="auto"),this.$dropdown.css(e)},e.prototype._showDropdown=function(e){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},e}),u.define("select2/dropdown/minimumResultsForSearch",[],function(){function e(e,t,n,s){this.minimumResultsForSearch=n.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),e.call(this,t,n,s)}return e.prototype.showSearch=function(e,t){return!(function e(t){for(var n=0,s=0;s');return e.attr("dir",this.options.get("dir")),this.$container=e,this.$container[0].classList.add("select2-container--"+this.options.get("theme")),r.StoreData(e[0],"element",this.$element),e},o}),u.define("jquery-mousewheel",["jquery"],function(e){return e}),u.define("jquery.select2",["jquery","jquery-mousewheel","./select2/core","./select2/defaults","./select2/utils"],function(i,e,r,t,o){var a;return null==i.fn.select2&&(a=["open","close","destroy"],i.fn.select2=function(t){if("object"==typeof(t=t||{}))return this.each(function(){var e=i.extend(!0,{},t);new r(i(this),e)}),this;if("string"!=typeof t)throw new Error("Invalid arguments for Select2: "+t);var n,s=Array.prototype.slice.call(arguments,1);return this.each(function(){var e=o.GetData(this,"select2");null==e&&window.console&&console.error&&console.error("The select2('"+t+"') method was called on an element that is not using Select2."),n=e[t].apply(e,s)}),-1 +// +// SPDX-License-Identifier: Apache-2.0 !function(a,b){"function"==typeof define&&define.amd?define("bloodhound",["jquery"],function(c){return a.Bloodhound=b(c)}):"object"==typeof exports?module.exports=b(require("jquery")):a.Bloodhound=b(jQuery)}(this,function(a){var b=function(){"use strict";return{isMsie:function(){return/(msie|trident)/i.test(navigator.userAgent)?navigator.userAgent.match(/(msie |rv:)(\d+(.\d+)?)/i)[2]:!1},isBlankString:function(a){return!a||/^\s*$/.test(a)},escapeRegExChars:function(a){return a.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},isString:function(a){return"string"==typeof a},isNumber:function(a){return"number"==typeof a},isArray:a.isArray,isFunction:a.isFunction,isObject:a.isPlainObject,isUndefined:function(a){return"undefined"==typeof a},isElement:function(a){return!(!a||1!==a.nodeType)},isJQuery:function(b){return b instanceof a},toStr:function(a){return b.isUndefined(a)||null===a?"":a+""},bind:a.proxy,each:function(b,c){function d(a,b){return c(b,a)}a.each(b,d)},map:a.map,filter:a.grep,every:function(b,c){var d=!0;return b?(a.each(b,function(a,e){return(d=c.call(null,e,a,b))?void 0:!1}),!!d):d},some:function(b,c){var d=!1;return b?(a.each(b,function(a,e){return(d=c.call(null,e,a,b))?!1:void 0}),!!d):d},mixin:a.extend,identity:function(a){return a},clone:function(b){return a.extend(!0,{},b)},getIdGenerator:function(){var a=0;return function(){return a++}},templatify:function(b){function c(){return String(b)}return a.isFunction(b)?b:c},defer:function(a){setTimeout(a,0)},debounce:function(a,b,c){var d,e;return function(){var f,g,h=this,i=arguments;return f=function(){d=null,c||(e=a.apply(h,i))},g=c&&!d,clearTimeout(d),d=setTimeout(f,b),g&&(e=a.apply(h,i)),e}},throttle:function(a,b){var c,d,e,f,g,h;return g=0,h=function(){g=new Date,e=null,f=a.apply(c,d)},function(){var i=new Date,j=b-(i-g);return c=this,d=arguments,0>=j?(clearTimeout(e),e=null,g=i,f=a.apply(c,d)):e||(e=setTimeout(h,j)),f}},stringify:function(a){return b.isString(a)?a:JSON.stringify(a)},noop:function(){}}}(),c="0.11.1",d=function(){"use strict";function a(a){return a=b.toStr(a),a?a.split(/\s+/):[]}function c(a){return a=b.toStr(a),a?a.split(/\W+/):[]}function d(a){return function(c){return c=b.isArray(c)?c:[].slice.call(arguments,0),function(d){var e=[];return b.each(c,function(c){e=e.concat(a(b.toStr(d[c])))}),e}}}return{nonword:c,whitespace:a,obj:{nonword:d(c),whitespace:d(a)}}}(),e=function(){"use strict";function c(c){this.maxSize=b.isNumber(c)?c:100,this.reset(),this.maxSize<=0&&(this.set=this.get=a.noop)}function d(){this.head=this.tail=null}function e(a,b){this.key=a,this.val=b,this.prev=this.next=null}return b.mixin(c.prototype,{set:function(a,b){var c,d=this.list.tail;this.size>=this.maxSize&&(this.list.remove(d),delete this.hash[d.key],this.size--),(c=this.hash[a])?(c.val=b,this.list.moveToFront(c)):(c=new e(a,b),this.list.add(c),this.hash[a]=c,this.size++)},get:function(a){var b=this.hash[a];return b?(this.list.moveToFront(b),b.val):void 0},reset:function(){this.size=0,this.hash={},this.list=new d}}),b.mixin(d.prototype,{add:function(a){this.head&&(a.next=this.head,this.head.prev=a),this.head=a,this.tail=this.tail||a},remove:function(a){a.prev?a.prev.next=a.next:this.head=a.next,a.next?a.next.prev=a.prev:this.tail=a.prev},moveToFront:function(a){this.remove(a),this.add(a)}}),c}(),f=function(){"use strict";function c(a,c){this.prefix=["__",a,"__"].join(""),this.ttlKey="__ttl__",this.keyMatcher=new RegExp("^"+b.escapeRegExChars(this.prefix)),this.ls=c||h,!this.ls&&this._noop()}function d(){return(new Date).getTime()}function e(a){return JSON.stringify(b.isUndefined(a)?null:a)}function f(b){return a.parseJSON(b)}function g(a){var b,c,d=[],e=h.length;for(b=0;e>b;b++)(c=h.key(b)).match(a)&&d.push(c.replace(a,""));return d}var h;try{h=window.localStorage,h.setItem("~~~","!"),h.removeItem("~~~")}catch(i){h=null}return b.mixin(c.prototype,{_prefix:function(a){return this.prefix+a},_ttlKey:function(a){return this._prefix(a)+this.ttlKey},_noop:function(){this.get=this.set=this.remove=this.clear=this.isExpired=b.noop},_safeSet:function(a,b){try{this.ls.setItem(a,b)}catch(c){"QuotaExceededError"===c.name&&(this.clear(),this._noop())}},get:function(a){return this.isExpired(a)&&this.remove(a),f(this.ls.getItem(this._prefix(a)))},set:function(a,c,f){return b.isNumber(f)?this._safeSet(this._ttlKey(a),e(d()+f)):this.ls.removeItem(this._ttlKey(a)),this._safeSet(this._prefix(a),e(c))},remove:function(a){return this.ls.removeItem(this._ttlKey(a)),this.ls.removeItem(this._prefix(a)),this},clear:function(){var a,b=g(this.keyMatcher);for(a=b.length;a--;)this.remove(b[a]);return this},isExpired:function(a){var c=f(this.ls.getItem(this._ttlKey(a)));return b.isNumber(c)&&d()>c?!0:!1}}),c}(),g=function(){"use strict";function c(a){a=a||{},this.cancelled=!1,this.lastReq=null,this._send=a.transport,this._get=a.limiter?a.limiter(this._get):this._get,this._cache=a.cache===!1?new e(0):h}var d=0,f={},g=6,h=new e(10);return c.setMaxPendingRequests=function(a){g=a},c.resetCache=function(){h.reset()},b.mixin(c.prototype,{_fingerprint:function(b){return b=b||{},b.url+b.type+a.param(b.data||{})},_get:function(a,b){function c(a){b(null,a),k._cache.set(i,a)}function e(){b(!0)}function h(){d--,delete f[i],k.onDeckRequestArgs&&(k._get.apply(k,k.onDeckRequestArgs),k.onDeckRequestArgs=null)}var i,j,k=this;i=this._fingerprint(a),this.cancelled||i!==this.lastReq||((j=f[i])?j.done(c).fail(e):g>d?(d++,f[i]=this._send(a).done(c).fail(e).always(h)):this.onDeckRequestArgs=[].slice.call(arguments,0))},get:function(c,d){var e,f;d=d||a.noop,c=b.isString(c)?{url:c}:c||{},f=this._fingerprint(c),this.cancelled=!1,this.lastReq=f,(e=this._cache.get(f))?d(null,e):this._get(c,d)},cancel:function(){this.cancelled=!0}}),c}(),h=window.SearchIndex=function(){"use strict";function c(c){c=c||{},c.datumTokenizer&&c.queryTokenizer||a.error("datumTokenizer and queryTokenizer are both required"),this.identify=c.identify||b.stringify,this.datumTokenizer=c.datumTokenizer,this.queryTokenizer=c.queryTokenizer,this.reset()}function d(a){return a=b.filter(a,function(a){return!!a}),a=b.map(a,function(a){return a.toLowerCase()})}function e(){var a={};return a[i]=[],a[h]={},a}function f(a){for(var b={},c=[],d=0,e=a.length;e>d;d++)b[a[d]]||(b[a[d]]=!0,c.push(a[d]));return c}function g(a,b){var c=0,d=0,e=[];a=a.sort(),b=b.sort();for(var f=a.length,g=b.length;f>c&&g>d;)a[c]b[d]?d++:(e.push(a[c]),c++,d++);return e}var h="c",i="i";return b.mixin(c.prototype,{bootstrap:function(a){this.datums=a.datums,this.trie=a.trie},add:function(a){var c=this;a=b.isArray(a)?a:[a],b.each(a,function(a){var f,g;c.datums[f=c.identify(a)]=a,g=d(c.datumTokenizer(a)),b.each(g,function(a){var b,d,g;for(b=c.trie,d=a.split("");g=d.shift();)b=b[h][g]||(b[h][g]=e()),b[i].push(f)})})},get:function(a){var c=this;return b.map(a,function(a){return c.datums[a]})},search:function(a){var c,e,j=this;return c=d(this.queryTokenizer(a)),b.each(c,function(a){var b,c,d,f;if(e&&0===e.length)return!1;for(b=j.trie,c=a.split("");b&&(d=c.shift());)b=b[h][d];return b&&0===c.length?(f=b[i].slice(0),void(e=e?g(e,f):f)):(e=[],!1)}),e?b.map(f(e),function(a){return j.datums[a]}):[]},all:function(){var a=[];for(var b in this.datums)a.push(this.datums[b]);return a},reset:function(){this.datums={},this.trie=e()},serialize:function(){return{datums:this.datums,trie:this.trie}}}),c}(),i=function(){"use strict";function a(a){this.url=a.url,this.ttl=a.ttl,this.cache=a.cache,this.prepare=a.prepare,this.transform=a.transform,this.transport=a.transport,this.thumbprint=a.thumbprint,this.storage=new f(a.cacheKey)}var c;return c={data:"data",protocol:"protocol",thumbprint:"thumbprint"},b.mixin(a.prototype,{_settings:function(){return{url:this.url,type:"GET",dataType:"json"}},store:function(a){this.cache&&(this.storage.set(c.data,a,this.ttl),this.storage.set(c.protocol,location.protocol,this.ttl),this.storage.set(c.thumbprint,this.thumbprint,this.ttl))},fromCache:function(){var a,b={};return this.cache?(b.data=this.storage.get(c.data),b.protocol=this.storage.get(c.protocol),b.thumbprint=this.storage.get(c.thumbprint),a=b.thumbprint!==this.thumbprint||b.protocol!==location.protocol,b.data&&!a?b.data:null):null},fromNetwork:function(a){function b(){a(!0)}function c(b){a(null,e.transform(b))}var d,e=this;a&&(d=this.prepare(this._settings()),this.transport(d).fail(b).done(c))},clear:function(){return this.storage.clear(),this}}),a}(),j=function(){"use strict";function a(a){this.url=a.url,this.prepare=a.prepare,this.transform=a.transform,this.transport=new g({cache:a.cache,limiter:a.limiter,transport:a.transport})}return b.mixin(a.prototype,{_settings:function(){return{url:this.url,type:"GET",dataType:"json"}},get:function(a,b){function c(a,c){b(a?[]:e.transform(c))}var d,e=this;if(b)return a=a||"",d=this.prepare(a,this._settings()),this.transport.get(d,c)},cancelLastRequest:function(){this.transport.cancel()}}),a}(),k=function(){"use strict";function d(d){var e;return d?(e={url:null,ttl:864e5,cache:!0,cacheKey:null,thumbprint:"",prepare:b.identity,transform:b.identity,transport:null},d=b.isString(d)?{url:d}:d,d=b.mixin(e,d),!d.url&&a.error("prefetch requires url to be set"),d.transform=d.filter||d.transform,d.cacheKey=d.cacheKey||d.url,d.thumbprint=c+d.thumbprint,d.transport=d.transport?h(d.transport):a.ajax,d):null}function e(c){var d;if(c)return d={url:null,cache:!0,prepare:null,replace:null,wildcard:null,limiter:null,rateLimitBy:"debounce",rateLimitWait:300,transform:b.identity,transport:null},c=b.isString(c)?{url:c}:c,c=b.mixin(d,c),!c.url&&a.error("remote requires url to be set"),c.transform=c.filter||c.transform,c.prepare=f(c),c.limiter=g(c),c.transport=c.transport?h(c.transport):a.ajax,delete c.replace,delete c.wildcard,delete c.rateLimitBy,delete c.rateLimitWait,c}function f(a){function b(a,b){return b.url=f(b.url,a),b}function c(a,b){return b.url=b.url.replace(g,encodeURIComponent(a)),b}function d(a,b){return b}var e,f,g;return e=a.prepare,f=a.replace,g=a.wildcard,e?e:e=f?b:a.wildcard?c:d}function g(a){function c(a){return function(c){return b.debounce(c,a)}}function d(a){return function(c){return b.throttle(c,a)}}var e,f,g;return e=a.limiter,f=a.rateLimitBy,g=a.rateLimitWait,e||(e=/^throttle$/i.test(f)?d(g):c(g)),e}function h(c){return function(d){function e(a){b.defer(function(){g.resolve(a)})}function f(a){b.defer(function(){g.reject(a)})}var g=a.Deferred();return c(d,e,f),g}}return function(c){var f,g;return f={initialize:!0,identify:b.stringify,datumTokenizer:null,queryTokenizer:null,sufficient:5,sorter:null,local:[],prefetch:null,remote:null},c=b.mixin(f,c||{}),!c.datumTokenizer&&a.error("datumTokenizer is required"),!c.queryTokenizer&&a.error("queryTokenizer is required"),g=c.sorter,c.sorter=g?function(a){return a.sort(g)}:b.identity,c.local=b.isFunction(c.local)?c.local():c.local,c.prefetch=d(c.prefetch),c.remote=e(c.remote),c}}(),l=function(){"use strict";function c(a){a=k(a),this.sorter=a.sorter,this.identify=a.identify,this.sufficient=a.sufficient,this.local=a.local,this.remote=a.remote?new j(a.remote):null,this.prefetch=a.prefetch?new i(a.prefetch):null,this.index=new h({identify:this.identify,datumTokenizer:a.datumTokenizer,queryTokenizer:a.queryTokenizer}),a.initialize!==!1&&this.initialize()}var e;return e=window&&window.Bloodhound,c.noConflict=function(){return window&&(window.Bloodhound=e),c},c.tokenizers=d,b.mixin(c.prototype,{__ttAdapter:function(){function a(a,b,d){return c.search(a,b,d)}function b(a,b){return c.search(a,b)}var c=this;return this.remote?a:b},_loadPrefetch:function(){function b(a,b){return a?c.reject():(e.add(b),e.prefetch.store(e.index.serialize()),void c.resolve())}var c,d,e=this;return c=a.Deferred(),this.prefetch?(d=this.prefetch.fromCache())?(this.index.bootstrap(d),c.resolve()):this.prefetch.fromNetwork(b):c.resolve(),c.promise()},_initialize:function(){function a(){b.add(b.local)}var b=this;return this.clear(),(this.initPromise=this._loadPrefetch()).done(a),this.initPromise},initialize:function(a){return!this.initPromise||a?this._initialize():this.initPromise},add:function(a){return this.index.add(a),this},get:function(a){return a=b.isArray(a)?a:[].slice.call(arguments),this.index.get(a)},search:function(a,c,d){function e(a){var c=[];b.each(a,function(a){!b.some(f,function(b){return g.identify(a)===g.identify(b)})&&c.push(a)}),d&&d(c)}var f,g=this;return f=this.sorter(this.index.search(a)),c(this.remote?f.slice():f),this.remote&&f.length=j?(clearTimeout(e),e=null,g=i,f=a.apply(c,d)):e||(e=setTimeout(h,j)),f}},stringify:function(a){return b.isString(a)?a:JSON.stringify(a)},noop:function(){}}}(),c=function(){"use strict";function a(a){var g,h;return h=b.mixin({},f,a),g={css:e(),classes:h,html:c(h),selectors:d(h)},{css:g.css,html:g.html,classes:g.classes,selectors:g.selectors,mixin:function(a){b.mixin(a,g)}}}function c(a){return{wrapper:'',menu:'
        '}}function d(a){var c={};return b.each(a,function(a,b){c[b]="."+a}),c}function e(){var a={wrapper:{position:"relative",display:"inline-block"},hint:{position:"absolute",top:"0",left:"0",borderColor:"transparent",boxShadow:"none",opacity:"1"},input:{position:"relative",verticalAlign:"top",backgroundColor:"transparent"},inputWithNoHint:{position:"relative",verticalAlign:"top"},menu:{position:"absolute",top:"100%",left:"0",zIndex:"100",display:"none"},ltr:{left:"0",right:"auto"},rtl:{left:"auto",right:" 0"}};return b.isMsie()&&b.mixin(a.input,{backgroundImage:"url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)"}),a}var f={wrapper:"twitter-typeahead",input:"tt-input",hint:"tt-hint",menu:"tt-menu",dataset:"tt-dataset",suggestion:"tt-suggestion",selectable:"tt-selectable",empty:"tt-empty",open:"tt-open",cursor:"tt-cursor",highlight:"tt-highlight"};return a}(),d=function(){"use strict";function c(b){b&&b.el||a.error("EventBus initialized without el"),this.$el=a(b.el)}var d,e;return d="typeahead:",e={render:"rendered",cursorchange:"cursorchanged",select:"selected",autocomplete:"autocompleted"},b.mixin(c.prototype,{_trigger:function(b,c){var e;return e=a.Event(d+b),(c=c||[]).unshift(e),this.$el.trigger.apply(this.$el,c),e},before:function(a){var b,c;return b=[].slice.call(arguments,1),c=this._trigger("before"+a,b),c.isDefaultPrevented()},trigger:function(a){var b;this._trigger(a,[].slice.call(arguments,1)),(b=e[a])&&this._trigger(b,[].slice.call(arguments,1))}}),c}(),e=function(){"use strict";function a(a,b,c,d){var e;if(!c)return this;for(b=b.split(i),c=d?h(c,d):c,this._callbacks=this._callbacks||{};e=b.shift();)this._callbacks[e]=this._callbacks[e]||{sync:[],async:[]},this._callbacks[e][a].push(c);return this}function b(b,c,d){return a.call(this,"async",b,c,d)}function c(b,c,d){return a.call(this,"sync",b,c,d)}function d(a){var b;if(!this._callbacks)return this;for(a=a.split(i);b=a.shift();)delete this._callbacks[b];return this}function e(a){var b,c,d,e,g;if(!this._callbacks)return this;for(a=a.split(i),d=[].slice.call(arguments,1);(b=a.shift())&&(c=this._callbacks[b]);)e=f(c.sync,this,[b].concat(d)),g=f(c.async,this,[b].concat(d)),e()&&j(g);return this}function f(a,b,c){function d(){for(var d,e=0,f=a.length;!d&&f>e;e+=1)d=a[e].apply(b,c)===!1;return!d}return d}function g(){var a;return a=window.setImmediate?function(a){setImmediate(function(){a()})}:function(a){setTimeout(function(){a()},0)}}function h(a,b){return a.bind?a.bind(b):function(){a.apply(b,[].slice.call(arguments,0))}}var i=/\s+/,j=g();return{onSync:c,onAsync:b,off:d,trigger:e}}(),f=function(a){"use strict";function c(a,c,d){for(var e,f=[],g=0,h=a.length;h>g;g++)f.push(b.escapeRegExChars(a[g]));return e=d?"\\b("+f.join("|")+")\\b":"("+f.join("|")+")",c?new RegExp(e):new RegExp(e,"i")}var d={node:null,pattern:null,tagName:"strong",className:null,wordsOnly:!1,caseSensitive:!1};return function(e){function f(b){var c,d,f;return(c=h.exec(b.data))&&(f=a.createElement(e.tagName),e.className&&(f.className=e.className),d=b.splitText(c.index),d.splitText(c[0].length),f.appendChild(d.cloneNode(!0)),b.parentNode.replaceChild(f,d)),!!c}function g(a,b){for(var c,d=3,e=0;e