usernames 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (84) hide show
  1. checksums.yaml +7 -0
  2. data/CHANGELOG.md +39 -0
  3. data/LICENSE.txt +21 -0
  4. data/README.md +362 -0
  5. data/SECURITY.md +42 -0
  6. data/config/locales/usernames.en.yml +72 -0
  7. data/config/locales/usernames.es.yml +51 -0
  8. data/config/locales/usernames.pt.yml +51 -0
  9. data/data/LICENSES/allprofanity.txt +24 -0
  10. data/data/LICENSES/big-username-blocklist.txt +25 -0
  11. data/data/LICENSES/corpora.txt +128 -0
  12. data/data/LICENSES/cuss.txt +25 -0
  13. data/data/LICENSES/django-registration.txt +33 -0
  14. data/data/LICENSES/dsojevic-profanity-list.txt +24 -0
  15. data/data/LICENSES/forwardemail.txt +24 -0
  16. data/data/LICENSES/friendly-words.txt +24 -0
  17. data/data/LICENSES/gitea.txt +23 -0
  18. data/data/LICENSES/gitlab.txt +31 -0
  19. data/data/LICENSES/iana-well-known-uris.txt +130 -0
  20. data/data/LICENSES/imsky-wordlists.txt +24 -0
  21. data/data/LICENSES/mottie-github-reserved-names.txt +24 -0
  22. data/data/LICENSES/obscenity.txt +27 -0
  23. data/data/LICENSES/petname.txt +218 -0
  24. data/data/LICENSES/rfc2142.txt +9 -0
  25. data/data/LICENSES/shouldbee.txt +25 -0
  26. data/data/LICENSES/usernames.txt +30 -0
  27. data/data/NOTICE +36 -0
  28. data/data/offensive/README.md +90 -0
  29. data/data/offensive/allowlist/en.txt +727 -0
  30. data/data/offensive/allowlist/es.txt +39 -0
  31. data/data/offensive/en.json +5680 -0
  32. data/data/offensive/es.json +1014 -0
  33. data/data/offensive/hate.yml +51 -0
  34. data/data/offensive/leet.yml +27 -0
  35. data/data/reserved/ALLOWLIST_EXCEPTIONS.txt +6 -0
  36. data/data/reserved/impersonation.txt +69 -0
  37. data/data/reserved/mailboxes.txt +77 -0
  38. data/data/reserved/system.txt +124 -0
  39. data/data/reserved/web.txt +962 -0
  40. data/data/words/adjectives.txt +367 -0
  41. data/data/words/animals.txt +253 -0
  42. data/lib/generators/usernames/availability_generator.rb +67 -0
  43. data/lib/generators/usernames/existing_schema.rb +85 -0
  44. data/lib/generators/usernames/install_generator.rb +241 -0
  45. data/lib/generators/usernames/install_messages.rb +63 -0
  46. data/lib/generators/usernames/locale_generator.rb +56 -0
  47. data/lib/generators/usernames/templates/add_username.rb.erb +53 -0
  48. data/lib/generators/usernames/templates/availability/_field.html.erb.tt +25 -0
  49. data/lib/generators/usernames/templates/availability/availability_controller.rb.tt +107 -0
  50. data/lib/generators/usernames/templates/availability/username_check_controller.js.tt +115 -0
  51. data/lib/generators/usernames/templates/usernames.rb +34 -0
  52. data/lib/tasks/usernames.rake +38 -0
  53. data/lib/usernames/adapters/moderate.rb +37 -0
  54. data/lib/usernames/audit/output.rb +51 -0
  55. data/lib/usernames/audit/values.rb +34 -0
  56. data/lib/usernames/audit.rb +230 -0
  57. data/lib/usernames/candidates.rb +64 -0
  58. data/lib/usernames/comparison/index_contract.rb +241 -0
  59. data/lib/usernames/comparison/index_expression.rb +183 -0
  60. data/lib/usernames/comparison.rb +127 -0
  61. data/lib/usernames/configuration.rb +197 -0
  62. data/lib/usernames/data.rb +205 -0
  63. data/lib/usernames/engine.rb +32 -0
  64. data/lib/usernames/errors.rb +16 -0
  65. data/lib/usernames/generator.rb +206 -0
  66. data/lib/usernames/model.rb +397 -0
  67. data/lib/usernames/normalizer.rb +51 -0
  68. data/lib/usernames/offensive/hate.rb +124 -0
  69. data/lib/usernames/offensive/lexicon.rb +156 -0
  70. data/lib/usernames/offensive/name.rb +254 -0
  71. data/lib/usernames/offensive.rb +136 -0
  72. data/lib/usernames/phrase.rb +68 -0
  73. data/lib/usernames/reserved/listing.rb +79 -0
  74. data/lib/usernames/reserved.rb +219 -0
  75. data/lib/usernames/result.rb +52 -0
  76. data/lib/usernames/rules/options.rb +175 -0
  77. data/lib/usernames/rules.rb +257 -0
  78. data/lib/usernames/unique_violation.rb +176 -0
  79. data/lib/usernames/validator.rb +61 -0
  80. data/lib/usernames/version.rb +5 -0
  81. data/lib/usernames/words.rb +13 -0
  82. data/lib/usernames.rb +138 -0
  83. data/sig/usernames.rbs +75 -0
  84. metadata +217 -0
@@ -0,0 +1,51 @@
1
+ # Cópia em português de usernames. Qualquer chave nos config/locales da tua
2
+ # app substitui-a: o Rails carrega os ficheiros de um engine ANTES dos da app,
3
+ # por isso a tua tradução ganha sempre.
4
+ #
5
+ # (usernames' Portuguese copy. Rails loads an engine's locale files BEFORE the
6
+ # host's, so a key in your app's own config/locales always wins. See
7
+ # usernames.en.yml for what each message may interpolate; none may use %{value}.)
8
+ pt:
9
+ errors:
10
+ messages:
11
+ username_spaces: "não pode conter espaços"
12
+ username_characters:
13
+ one: "só pode conter %{letters}, números e %{separators_phrase}"
14
+ other: "só pode conter %{letters}, números, %{separators_phrase}"
15
+ username_characters_without_separators: "só pode conter %{letters} e números"
16
+ username_unicode: "só pode usar as letras a–z (sem acentos nem outros alfabetos)"
17
+ username_edges: "não pode começar nem terminar com %{edge_separators_phrase}"
18
+ username_consecutive: "não pode ter dois símbolos seguidos"
19
+ username_first_character: "deve começar com uma letra"
20
+ username_digits_only: "não pode ter só números"
21
+ username_extension: "não pode terminar como um nome de arquivo (.json, .png…)"
22
+ username_reserved: "está reservado"
23
+ username_not_allowed: "não é permitido"
24
+ username_unavailable: "não pôde ser atribuído automaticamente, escolha um"
25
+ blank: "não pode ficar em branco"
26
+ taken: "já está em uso"
27
+ too_short:
28
+ one: "é muito curto (mínimo: 1 caractere)"
29
+ other: "é muito curto (mínimo: %{count} caracteres)"
30
+ too_long:
31
+ one: "é muito longo (máximo: 1 caractere)"
32
+ other: "é muito longo (máximo: %{count} caracteres)"
33
+ usernames:
34
+ available: "está disponível"
35
+ letters:
36
+ lowercase: "letras minúsculas"
37
+ any_case: "letras"
38
+ separators:
39
+ underscore:
40
+ plural: "sublinhados"
41
+ singular: "um sublinhado"
42
+ period:
43
+ plural: "pontos"
44
+ singular: "um ponto"
45
+ dash:
46
+ plural: "hífens"
47
+ singular: "um hífen"
48
+ connectors:
49
+ words: ", "
50
+ and: " e "
51
+ or: " ou "
@@ -0,0 +1,24 @@
1
+ AllProfanity (src/languages/spanish-words.ts) — https://github.com/ayush-jadaun/AllProfanity
2
+ ------------------------------------------------------------------------------
3
+
4
+ # MIT License
5
+
6
+ Copyright (c) 2025 Ayush Jadaun
7
+
8
+ Permission is hereby granted, free of charge, to any person obtaining a copy
9
+ of this software and associated documentation files (the "Software"), to deal
10
+ in the Software without restriction, including without limitation the rights
11
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12
+ copies of the Software, and to permit persons to whom the Software is
13
+ furnished to do so, subject to the following conditions:
14
+
15
+ The above copyright notice and this permission notice shall be included in all
16
+ copies or substantial portions of the Software.
17
+
18
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
24
+ SOFTWARE
@@ -0,0 +1,25 @@
1
+ The Big Username Blocklist — https://github.com/marteinn/The-Big-Username-Blocklist
2
+ ------------------------------------------------------------------------------
3
+
4
+ The MIT License (MIT)
5
+
6
+ Copyright (c) 2015-2021 Martin Sandström
7
+
8
+ Permission is hereby granted, free of charge, to any person obtaining a copy
9
+ of this software and associated documentation files (the "Software"), to deal
10
+ in the Software without restriction, including without limitation the rights
11
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12
+ copies of the Software, and to permit persons to whom the Software is
13
+ furnished to do so, subject to the following conditions:
14
+
15
+ The above copyright notice and this permission notice shall be included in all
16
+ copies or substantial portions of the Software.
17
+
18
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
24
+ SOFTWARE.
25
+
@@ -0,0 +1,128 @@
1
+ dariusk/corpora (data/animals/common.json) — https://github.com/dariusk/corpora
2
+
3
+ Upstream statement (README.md): "Since Corpora is more data than code, I have chosen to CC0
4
+ license this (rather than MIT license or similar). To the extent possible under law, Darius
5
+ Kazemi has waived all copyright and related or neighboring rights to Corpora."
6
+ ------------------------------------------------------------------------------
7
+
8
+ Creative Commons Legal Code
9
+
10
+ CC0 1.0 Universal
11
+
12
+ CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE
13
+ LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN
14
+ ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS
15
+ INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES
16
+ REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS
17
+ PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM
18
+ THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED
19
+ HEREUNDER.
20
+
21
+ Statement of Purpose
22
+
23
+ The laws of most jurisdictions throughout the world automatically confer
24
+ exclusive Copyright and Related Rights (defined below) upon the creator
25
+ and subsequent owner(s) (each and all, an "owner") of an original work of
26
+ authorship and/or a database (each, a "Work").
27
+
28
+ Certain owners wish to permanently relinquish those rights to a Work for
29
+ the purpose of contributing to a commons of creative, cultural and
30
+ scientific works ("Commons") that the public can reliably and without fear
31
+ of later claims of infringement build upon, modify, incorporate in other
32
+ works, reuse and redistribute as freely as possible in any form whatsoever
33
+ and for any purposes, including without limitation commercial purposes.
34
+ These owners may contribute to the Commons to promote the ideal of a free
35
+ culture and the further production of creative, cultural and scientific
36
+ works, or to gain reputation or greater distribution for their Work in
37
+ part through the use and efforts of others.
38
+
39
+ For these and/or other purposes and motivations, and without any
40
+ expectation of additional consideration or compensation, the person
41
+ associating CC0 with a Work (the "Affirmer"), to the extent that he or she
42
+ is an owner of Copyright and Related Rights in the Work, voluntarily
43
+ elects to apply CC0 to the Work and publicly distribute the Work under its
44
+ terms, with knowledge of his or her Copyright and Related Rights in the
45
+ Work and the meaning and intended legal effect of CC0 on those rights.
46
+
47
+ 1. Copyright and Related Rights. A Work made available under CC0 may be
48
+ protected by copyright and related or neighboring rights ("Copyright and
49
+ Related Rights"). Copyright and Related Rights include, but are not
50
+ limited to, the following:
51
+
52
+ i. the right to reproduce, adapt, distribute, perform, display,
53
+ communicate, and translate a Work;
54
+ ii. moral rights retained by the original author(s) and/or performer(s);
55
+ iii. publicity and privacy rights pertaining to a person's image or
56
+ likeness depicted in a Work;
57
+ iv. rights protecting against unfair competition in regards to a Work,
58
+ subject to the limitations in paragraph 4(a), below;
59
+ v. rights protecting the extraction, dissemination, use and reuse of data
60
+ in a Work;
61
+ vi. database rights (such as those arising under Directive 96/9/EC of the
62
+ European Parliament and of the Council of 11 March 1996 on the legal
63
+ protection of databases, and under any national implementation
64
+ thereof, including any amended or successor version of such
65
+ directive); and
66
+ vii. other similar, equivalent or corresponding rights throughout the
67
+ world based on applicable law or treaty, and any national
68
+ implementations thereof.
69
+
70
+ 2. Waiver. To the greatest extent permitted by, but not in contravention
71
+ of, applicable law, Affirmer hereby overtly, fully, permanently,
72
+ irrevocably and unconditionally waives, abandons, and surrenders all of
73
+ Affirmer's Copyright and Related Rights and associated claims and causes
74
+ of action, whether now known or unknown (including existing as well as
75
+ future claims and causes of action), in the Work (i) in all territories
76
+ worldwide, (ii) for the maximum duration provided by applicable law or
77
+ treaty (including future time extensions), (iii) in any current or future
78
+ medium and for any number of copies, and (iv) for any purpose whatsoever,
79
+ including without limitation commercial, advertising or promotional
80
+ purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each
81
+ member of the public at large and to the detriment of Affirmer's heirs and
82
+ successors, fully intending that such Waiver shall not be subject to
83
+ revocation, rescission, cancellation, termination, or any other legal or
84
+ equitable action to disrupt the quiet enjoyment of the Work by the public
85
+ as contemplated by Affirmer's express Statement of Purpose.
86
+
87
+ 3. Public License Fallback. Should any part of the Waiver for any reason
88
+ be judged legally invalid or ineffective under applicable law, then the
89
+ Waiver shall be preserved to the maximum extent permitted taking into
90
+ account Affirmer's express Statement of Purpose. In addition, to the
91
+ extent the Waiver is so judged Affirmer hereby grants to each affected
92
+ person a royalty-free, non transferable, non sublicensable, non exclusive,
93
+ irrevocable and unconditional license to exercise Affirmer's Copyright and
94
+ Related Rights in the Work (i) in all territories worldwide, (ii) for the
95
+ maximum duration provided by applicable law or treaty (including future
96
+ time extensions), (iii) in any current or future medium and for any number
97
+ of copies, and (iv) for any purpose whatsoever, including without
98
+ limitation commercial, advertising or promotional purposes (the
99
+ "License"). The License shall be deemed effective as of the date CC0 was
100
+ applied by Affirmer to the Work. Should any part of the License for any
101
+ reason be judged legally invalid or ineffective under applicable law, such
102
+ partial invalidity or ineffectiveness shall not invalidate the remainder
103
+ of the License, and in such case Affirmer hereby affirms that he or she
104
+ will not (i) exercise any of his or her remaining Copyright and Related
105
+ Rights in the Work or (ii) assert any associated claims and causes of
106
+ action with respect to the Work, in either case contrary to Affirmer's
107
+ express Statement of Purpose.
108
+
109
+ 4. Limitations and Disclaimers.
110
+
111
+ a. No trademark or patent rights held by Affirmer are waived, abandoned,
112
+ surrendered, licensed or otherwise affected by this document.
113
+ b. Affirmer offers the Work as-is and makes no representations or
114
+ warranties of any kind concerning the Work, express, implied,
115
+ statutory or otherwise, including without limitation warranties of
116
+ title, merchantability, fitness for a particular purpose, non
117
+ infringement, or the absence of latent or other defects, accuracy, or
118
+ the present or absence of errors, whether or not discoverable, all to
119
+ the greatest extent permissible under applicable law.
120
+ c. Affirmer disclaims responsibility for clearing rights of other persons
121
+ that may apply to the Work or any use thereof, including without
122
+ limitation any person's Copyright and Related Rights in the Work.
123
+ Further, Affirmer disclaims responsibility for obtaining any necessary
124
+ consents, permissions or other rights required for any use of the
125
+ Work.
126
+ d. Affirmer understands and acknowledges that Creative Commons is not a
127
+ party to this document and has no duty or obligation with respect to
128
+ this CC0 or use of the Work.
@@ -0,0 +1,25 @@
1
+ words/cuss (es.js) — https://github.com/words/cuss
2
+ ------------------------------------------------------------------------------
3
+
4
+ (The MIT License)
5
+
6
+ Copyright (c) 2016 Titus Wormer <tituswormer@gmail.com>
7
+
8
+ Permission is hereby granted, free of charge, to any person obtaining
9
+ a copy of this software and associated documentation files (the
10
+ 'Software'), to deal in the Software without restriction, including
11
+ without limitation the rights to use, copy, modify, merge, publish,
12
+ distribute, sublicense, and/or sell copies of the Software, and to
13
+ permit persons to whom the Software is furnished to do so, subject to
14
+ the following conditions:
15
+
16
+ The above copyright notice and this permission notice shall be
17
+ included in all copies or substantial portions of the Software.
18
+
19
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
20
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
21
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
22
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
23
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
24
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
25
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,33 @@
1
+ django-registration (src/django_registration/validators.py, DEFAULT_RESERVED_NAMES) — https://github.com/ubernostrum/django-registration
2
+ BSD-3-Clause: redistributions must retain this copyright notice, the list of conditions and the
3
+ disclaimer below; the names of the copyright holders may not be used to endorse this gem.
4
+ ------------------------------------------------------------------------------
5
+
6
+ Copyright (c) James Bennett and contributors.
7
+ All rights reserved.
8
+
9
+ Redistribution and use in source and binary forms, with or without
10
+ modification, are permitted provided that the following conditions are
11
+ met:
12
+
13
+ * Redistributions of source code must retain the above copyright
14
+ notice, this list of conditions and the following disclaimer.
15
+ * Redistributions in binary form must reproduce the above
16
+ copyright notice, this list of conditions and the following
17
+ disclaimer in the documentation and/or other materials provided
18
+ with the distribution.
19
+ * Neither the name of the author nor the names of other
20
+ contributors may be used to endorse or promote products derived
21
+ from this software without specific prior written permission.
22
+
23
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
24
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
25
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
26
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
27
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
28
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
29
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
30
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
31
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
32
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
33
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -0,0 +1,24 @@
1
+ dsojevic/profanity-list — https://github.com/dsojevic/profanity-list
2
+ ------------------------------------------------------------------------------
3
+
4
+ MIT License
5
+
6
+ Copyright (c) 2021 David Sojevic
7
+
8
+ Permission is hereby granted, free of charge, to any person obtaining a copy
9
+ of this software and associated documentation files (the "Software"), to deal
10
+ in the Software without restriction, including without limitation the rights
11
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12
+ copies of the Software, and to permit persons to whom the Software is
13
+ furnished to do so, subject to the following conditions:
14
+
15
+ The above copyright notice and this permission notice shall be included in all
16
+ copies or substantial portions of the Software.
17
+
18
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
24
+ SOFTWARE.
@@ -0,0 +1,24 @@
1
+ forwardemail/reserved-email-addresses-list — https://github.com/forwardemail/reserved-email-addresses-list
2
+ ------------------------------------------------------------------------------
3
+
4
+ MIT License
5
+
6
+ Copyright (c) 2020 Nick Baugh <niftylettuce@gmail.com> (http://niftylettuce.com/)
7
+
8
+ Permission is hereby granted, free of charge, to any person obtaining a copy
9
+ of this software and associated documentation files (the "Software"), to deal
10
+ in the Software without restriction, including without limitation the rights
11
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12
+ copies of the Software, and to permit persons to whom the Software is
13
+ furnished to do so, subject to the following conditions:
14
+
15
+ The above copyright notice and this permission notice shall be included in all
16
+ copies or substantial portions of the Software.
17
+
18
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
24
+ SOFTWARE.
@@ -0,0 +1,24 @@
1
+ Glitch friendly-words (words/predicates.txt) — https://github.com/glitchdotcom/friendly-words
2
+ ------------------------------------------------------------------------------
3
+
4
+ MIT License
5
+
6
+ Copyright (c) 2018 Glitch
7
+
8
+ Permission is hereby granted, free of charge, to any person obtaining a copy
9
+ of this software and associated documentation files (the "Software"), to deal
10
+ in the Software without restriction, including without limitation the rights
11
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12
+ copies of the Software, and to permit persons to whom the Software is
13
+ furnished to do so, subject to the following conditions:
14
+
15
+ The above copyright notice and this permission notice shall be included in all
16
+ copies or substantial portions of the Software.
17
+
18
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
24
+ SOFTWARE.
@@ -0,0 +1,23 @@
1
+ Gitea (models/user/user.go) — https://github.com/go-gitea/gitea
2
+ ------------------------------------------------------------------------------
3
+
4
+ Copyright (c) 2016 The Gitea Authors
5
+ Copyright (c) 2015 The Gogs Authors
6
+
7
+ Permission is hereby granted, free of charge, to any person obtaining a copy
8
+ of this software and associated documentation files (the "Software"), to deal
9
+ in the Software without restriction, including without limitation the rights
10
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11
+ copies of the Software, and to permit persons to whom the Software is
12
+ furnished to do so, subject to the following conditions:
13
+
14
+ The above copyright notice and this permission notice shall be included in
15
+ all copies or substantial portions of the Software.
16
+
17
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
23
+ THE SOFTWARE.
@@ -0,0 +1,31 @@
1
+ GitLab (lib/gitlab/path_regex.rb, outside ee/ and doc/: MIT Expat) — https://gitlab.com/gitlab-org/gitlab
2
+ ------------------------------------------------------------------------------
3
+
4
+ Copyright (c) 2011-present GitLab Inc.
5
+
6
+ Portions of this software are licensed as follows:
7
+
8
+ * All content residing under the "doc/" directory of this repository is licensed under "Creative Commons: CC BY-SA 4.0 license".
9
+ * All content that resides under the "ee/" directory of this repository, if that directory exists, is licensed under the license defined in "ee/LICENSE".
10
+ * All content that resides under the "jh/" directory of this repository, if that directory exists, is licensed under the license defined in "jh/LICENSE".
11
+ * All client-side JavaScript (when served directly or after being compiled, arranged, augmented, or combined), is licensed under the "MIT Expat" license.
12
+ * All third party components incorporated into the GitLab Software are licensed under the original license provided by the owner of the applicable component.
13
+ * Content outside of the above mentioned directories or restrictions above is available under the "MIT Expat" license as defined below.
14
+
15
+ Permission is hereby granted, free of charge, to any person obtaining a copy
16
+ of this software and associated documentation files (the "Software"), to deal
17
+ in the Software without restriction, including without limitation the rights
18
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
19
+ copies of the Software, and to permit persons to whom the Software is
20
+ furnished to do so, subject to the following conditions:
21
+
22
+ The above copyright notice and this permission notice shall be included in all
23
+ copies or substantial portions of the Software.
24
+
25
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
26
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
27
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
28
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
29
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
30
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
31
+ SOFTWARE.
@@ -0,0 +1,130 @@
1
+ IANA "Well-Known URIs" registry — https://www.iana.org/assignments/well-known-uris/
2
+
3
+ Joint Statement of IANA and IETF Concerning Copyright Rights in the Protocol Registries
4
+ (10 November 2021, https://www.iana.org/help/licensing-terms): "IANA and IETF intend that the
5
+ Protocol Registries may be freely used by any party for any purpose. ... both IANA and IETF affirm
6
+ that any applicable rights that they may have in the Protocol Registries are subject to the
7
+ Creative Commons CC0 1.0 dedication." The CC0 1.0 legal code follows.
8
+ ------------------------------------------------------------------------------
9
+
10
+ Creative Commons Legal Code
11
+
12
+ CC0 1.0 Universal
13
+
14
+ CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE
15
+ LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN
16
+ ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS
17
+ INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES
18
+ REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS
19
+ PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM
20
+ THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED
21
+ HEREUNDER.
22
+
23
+ Statement of Purpose
24
+
25
+ The laws of most jurisdictions throughout the world automatically confer
26
+ exclusive Copyright and Related Rights (defined below) upon the creator
27
+ and subsequent owner(s) (each and all, an "owner") of an original work of
28
+ authorship and/or a database (each, a "Work").
29
+
30
+ Certain owners wish to permanently relinquish those rights to a Work for
31
+ the purpose of contributing to a commons of creative, cultural and
32
+ scientific works ("Commons") that the public can reliably and without fear
33
+ of later claims of infringement build upon, modify, incorporate in other
34
+ works, reuse and redistribute as freely as possible in any form whatsoever
35
+ and for any purposes, including without limitation commercial purposes.
36
+ These owners may contribute to the Commons to promote the ideal of a free
37
+ culture and the further production of creative, cultural and scientific
38
+ works, or to gain reputation or greater distribution for their Work in
39
+ part through the use and efforts of others.
40
+
41
+ For these and/or other purposes and motivations, and without any
42
+ expectation of additional consideration or compensation, the person
43
+ associating CC0 with a Work (the "Affirmer"), to the extent that he or she
44
+ is an owner of Copyright and Related Rights in the Work, voluntarily
45
+ elects to apply CC0 to the Work and publicly distribute the Work under its
46
+ terms, with knowledge of his or her Copyright and Related Rights in the
47
+ Work and the meaning and intended legal effect of CC0 on those rights.
48
+
49
+ 1. Copyright and Related Rights. A Work made available under CC0 may be
50
+ protected by copyright and related or neighboring rights ("Copyright and
51
+ Related Rights"). Copyright and Related Rights include, but are not
52
+ limited to, the following:
53
+
54
+ i. the right to reproduce, adapt, distribute, perform, display,
55
+ communicate, and translate a Work;
56
+ ii. moral rights retained by the original author(s) and/or performer(s);
57
+ iii. publicity and privacy rights pertaining to a person's image or
58
+ likeness depicted in a Work;
59
+ iv. rights protecting against unfair competition in regards to a Work,
60
+ subject to the limitations in paragraph 4(a), below;
61
+ v. rights protecting the extraction, dissemination, use and reuse of data
62
+ in a Work;
63
+ vi. database rights (such as those arising under Directive 96/9/EC of the
64
+ European Parliament and of the Council of 11 March 1996 on the legal
65
+ protection of databases, and under any national implementation
66
+ thereof, including any amended or successor version of such
67
+ directive); and
68
+ vii. other similar, equivalent or corresponding rights throughout the
69
+ world based on applicable law or treaty, and any national
70
+ implementations thereof.
71
+
72
+ 2. Waiver. To the greatest extent permitted by, but not in contravention
73
+ of, applicable law, Affirmer hereby overtly, fully, permanently,
74
+ irrevocably and unconditionally waives, abandons, and surrenders all of
75
+ Affirmer's Copyright and Related Rights and associated claims and causes
76
+ of action, whether now known or unknown (including existing as well as
77
+ future claims and causes of action), in the Work (i) in all territories
78
+ worldwide, (ii) for the maximum duration provided by applicable law or
79
+ treaty (including future time extensions), (iii) in any current or future
80
+ medium and for any number of copies, and (iv) for any purpose whatsoever,
81
+ including without limitation commercial, advertising or promotional
82
+ purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each
83
+ member of the public at large and to the detriment of Affirmer's heirs and
84
+ successors, fully intending that such Waiver shall not be subject to
85
+ revocation, rescission, cancellation, termination, or any other legal or
86
+ equitable action to disrupt the quiet enjoyment of the Work by the public
87
+ as contemplated by Affirmer's express Statement of Purpose.
88
+
89
+ 3. Public License Fallback. Should any part of the Waiver for any reason
90
+ be judged legally invalid or ineffective under applicable law, then the
91
+ Waiver shall be preserved to the maximum extent permitted taking into
92
+ account Affirmer's express Statement of Purpose. In addition, to the
93
+ extent the Waiver is so judged Affirmer hereby grants to each affected
94
+ person a royalty-free, non transferable, non sublicensable, non exclusive,
95
+ irrevocable and unconditional license to exercise Affirmer's Copyright and
96
+ Related Rights in the Work (i) in all territories worldwide, (ii) for the
97
+ maximum duration provided by applicable law or treaty (including future
98
+ time extensions), (iii) in any current or future medium and for any number
99
+ of copies, and (iv) for any purpose whatsoever, including without
100
+ limitation commercial, advertising or promotional purposes (the
101
+ "License"). The License shall be deemed effective as of the date CC0 was
102
+ applied by Affirmer to the Work. Should any part of the License for any
103
+ reason be judged legally invalid or ineffective under applicable law, such
104
+ partial invalidity or ineffectiveness shall not invalidate the remainder
105
+ of the License, and in such case Affirmer hereby affirms that he or she
106
+ will not (i) exercise any of his or her remaining Copyright and Related
107
+ Rights in the Work or (ii) assert any associated claims and causes of
108
+ action with respect to the Work, in either case contrary to Affirmer's
109
+ express Statement of Purpose.
110
+
111
+ 4. Limitations and Disclaimers.
112
+
113
+ a. No trademark or patent rights held by Affirmer are waived, abandoned,
114
+ surrendered, licensed or otherwise affected by this document.
115
+ b. Affirmer offers the Work as-is and makes no representations or
116
+ warranties of any kind concerning the Work, express, implied,
117
+ statutory or otherwise, including without limitation warranties of
118
+ title, merchantability, fitness for a particular purpose, non
119
+ infringement, or the absence of latent or other defects, accuracy, or
120
+ the present or absence of errors, whether or not discoverable, all to
121
+ the greatest extent permissible under applicable law.
122
+ c. Affirmer disclaims responsibility for clearing rights of other persons
123
+ that may apply to the Work or any use thereof, including without
124
+ limitation any person's Copyright and Related Rights in the Work.
125
+ Further, Affirmer disclaims responsibility for obtaining any necessary
126
+ consents, permissions or other rights required for any use of the
127
+ Work.
128
+ d. Affirmer understands and acknowledges that Creative Commons is not a
129
+ party to this document and has no duty or obligation with respect to
130
+ this CC0 or use of the Work.
@@ -0,0 +1,24 @@
1
+ imsky/wordlists (nouns/*.txt) — https://github.com/imsky/wordlists
2
+ ------------------------------------------------------------------------------
3
+
4
+ The MIT License (MIT)
5
+
6
+ Copyright (c) 2017-2021 Ivan Malopinsky
7
+
8
+ Permission is hereby granted, free of charge, to any person obtaining a copy
9
+ of this software and associated documentation files (the "Software"), to deal
10
+ in the Software without restriction, including without limitation the rights
11
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12
+ copies of the Software, and to permit persons to whom the Software is
13
+ furnished to do so, subject to the following conditions:
14
+
15
+ The above copyright notice and this permission notice shall be included in
16
+ all copies or substantial portions of the Software.
17
+
18
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
24
+ THE SOFTWARE.
@@ -0,0 +1,24 @@
1
+ Mottie/github-reserved-names — https://github.com/Mottie/github-reserved-names
2
+ ------------------------------------------------------------------------------
3
+
4
+ The MIT License (MIT)
5
+
6
+ Copyright (c) Rob Garrison <wowmotty@gmail.com>
7
+
8
+ Permission is hereby granted, free of charge, to any person obtaining a copy
9
+ of this software and associated documentation files (the "Software"), to deal
10
+ in the Software without restriction, including without limitation the rights
11
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12
+ copies of the Software, and to permit persons to whom the Software is
13
+ furnished to do so, subject to the following conditions:
14
+
15
+ The above copyright notice and this permission notice shall be included in
16
+ all copies or substantial portions of the Software.
17
+
18
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
24
+ THE SOFTWARE.
@@ -0,0 +1,27 @@
1
+ jo3-l/obscenity (src/preset/english.ts whitelist) — https://github.com/jo3-l/obscenity
2
+ ------------------------------------------------------------------------------
3
+
4
+ # The MIT License (MIT)
5
+
6
+ Copyright © 2025 Joseph Liu.
7
+
8
+ Permission is hereby granted, free of charge, to any person
9
+ obtaining a copy of this software and associated documentation
10
+ files (the “Software”), to deal in the Software without
11
+ restriction, including without limitation the rights to use,
12
+ copy, modify, merge, publish, distribute, sublicense, and/or sell
13
+ copies of the Software, and to permit persons to whom the
14
+ Software is furnished to do so, subject to the following
15
+ conditions:
16
+
17
+ The above copyright notice and this permission notice shall be
18
+ included in all copies or substantial portions of the Software.
19
+
20
+ THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND,
21
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
22
+ OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
23
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
24
+ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
25
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
26
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
27
+ OTHER DEALINGS IN THE SOFTWARE.