forked from sbpp/sourcebans-pp
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathTHIRD-PARTY-NOTICES.txt
More file actions
261 lines (221 loc) · 12.7 KB
/
THIRD-PARTY-NOTICES.txt
File metadata and controls
261 lines (221 loc) · 12.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
SourceBans++ Third-Party Notices
================================
The SourceBans++ panel (the `web/` subdirectory) is licensed under the
Elastic License 2.0 — see `LICENSE.txt` for the full text. The bundled
SourceMod plugins (`game/addons/sourcemod/`) are licensed under the
GNU General Public License version 3 — see `LICENSE-plugins.txt`.
This file lists upstream projects whose code, schema, or other works
are present in this distribution and the attributions owed to their
authors per their respective licences.
Pre-Elastic-License-2.0 (CC-BY-NC-SA 3.0) history note: prior to
v2.0.0, the web panel was distributed under CC BY-NC-SA 3.0. The
relicense to ELv2 was made under the authority of the Contributor
Licence Agreement (`CLA.md` §3(b)) and the project's pre-CLA
contribution audit. The InterWave Studios + SourceBans Team /
GameConnect attributions below ride that historical CC-BY-NC-SA 3.0
lineage; they are preserved here as a matter of courtesy and to
honour the spirit of CC BY-NC-SA 3.0 §4(c) as it applied to the
panel at the time those upstreams were merged.
If you are a downstream consumer (theme fork, distribution
maintainer, vendor) and notice an attribution missing here, please
open an issue at https://github.com/sbpp/sourcebans-pp/issues — we
treat attribution drift as a bug.
--------------------------------------------------------------------
1. SourceBans (1.4.x and earlier)
--------------------------------------------------------------------
Copyright (C) 2007-2014 SourceBans Team — Part of GameConnect
Project URL: http://www.sourcebans.net/
GameConnect: http://www.gameconnect.net/
Licensed under: Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported
(https://creativecommons.org/licenses/by-nc-sa/3.0/)
SourceBans++ originated as a community fork of SourceBans 1.4.11 in
2014 and has since been substantially rewritten; the project's
pre-CLA contribution audit confirmed that the surviving v2.0 panel
carries no substantive 1.4.11 source expression. However, the
project's continuous-through-line traces back to that codebase in a
number of structural ways:
- The MariaDB schema layout (`web/install/includes/sql/struc.sql`)
inherits its table names, column names, and column types from
the 1.4.11 schema. Schema layouts are factual rather than
expressive, but the lineage is documented here defensively.
- The web-permission flag bitmask values (`web/configs/permissions/web.json`,
mirrored as `ADMIN_*` `define`d constants in `web/init.php`) are
continuous with the 1.4.x bitmasks so existing admin-row data
upgrades cleanly.
- The audit-log letter codes (`enum('m','w','e')` in `:prefix_log`,
surfaced as `LogType::Message` / `Warning` / `Error`) are
inherited from the 1.4.x letter-code convention.
- Function names of helpers in `web/includes/system-functions.php`
are preserved (`CreateLinkR`, `BitToString`, `SmFlagsToSb`,
`NextSid`, `PruneBans`, `GetMapImage`, etc.) so theme forks
that load the panel's helper surface keep working. The function
bodies have been rewritten in v2.0 idioms.
The original SourceBans Team is acknowledged here as a courtesy and
to honour the spirit of CC BY-NC-SA 3.0 §4(c).
--------------------------------------------------------------------
2. SourceComms (0.9.266)
--------------------------------------------------------------------
Copyright (C) 2013-2014 Alexandr Duplishchev (a.k.a. d-ai)
Forum thread: https://forums.alliedmods.net/showthread.php?p=1883705
GitHub: https://github.com/d-ai/SourceComms
Licensed under: GNU General Public License version 3 or later
The SourceComms project consists of two parts: a SourceMod plugin
(server-side mute / gag / silence enforcement) and a paired web
panel surface (a SourceBans 1.4.11 sister add-on that added
moderation UI for comm blocks).
This repository's SourceMod-plugin lineage of SourceComms
(`sbpp_comms.sp` under `game/addons/sourcemod/scripting/`) is a
derivative work and remains under GPLv3 in lockstep — see
`LICENSE-plugins.txt`. That continuity is explicit and load-
bearing.
The web panel's communications surfaces (the public
`?p=commslist` page, the admin `?p=admin&c=comms` moderation
queue, the `?p=admin&c=comms§ion=search` advanced filter, and
the `:prefix_comms` schema) were inspired by and historically
forked from the SourceComms panel add-on. The v2.0 panel
rewrite re-implemented every surface against the new typed View
DTO + JSON API + vanilla JS chrome stack so that no
SourceComms-panel source expression survives in the rendered v2.0
chrome. The remaining continuities are:
- Table name (`:prefix_comms`) and column-name conventions
(schema layout is factual, not expressive, but the lineage
is documented defensively).
- The `BanType` / `BanRemoval` letter-code conventions shared
with the bans surfaces (also descended from SourceBans 1.4.x
rather than SourceComms specifically).
- The general workflow concept of "operator types a SteamID +
reason + duration, the plugin enforces the block, the panel
surfaces the audit trail." This is a workflow concept, not
code.
The attribution above is preserved to honour the spirit of
GPLv3 §5 / §7 ("preserve all notices") even though the v2.0
panel surfaces no longer fall under GPLv3's "modified version"
test on the substantive-source-expression analysis. If a
downstream consumer reviewing this attribution disagrees with
that analysis on technical grounds, please open an issue at
https://github.com/sbpp/sourcebans-pp/issues — the project
treats this kind of question seriously.
--------------------------------------------------------------------
3. InterWave Studios — default theme chrome (origin)
--------------------------------------------------------------------
Copyright (C) 2007-2014 InterWave Studios Development Team
Originally authored as part of: SourceBans 1.4.x
Licensed under: CC BY-NC-SA 3.0 Unported (as part of SourceBans 1.4.x)
The metadata file `web/themes/default/theme.conf.php` was originally
authored by InterWave Studios Development Team for SourceBans 1.4.x;
the format (five `define()` constants the panel reads at boot) is
preserved so theme forks do not break at upgrade time.
The visual chrome the v2.0 default theme presents was rewritten from
scratch in #1123 (`web/themes/default/css/theme.css`,
`web/themes/default/js/theme.js`, the per-page `*.tpl` templates) and
no InterWave Studios source survives in the rendered chrome. Only
the `theme.conf.php` shape is continuous; the attribution here
honours that origin per CC BY-NC-SA 3.0 §4(c).
--------------------------------------------------------------------
4. LightOpenID (`web/includes/Auth/openid.php`)
--------------------------------------------------------------------
Copyright (C) 2013 Mewp <mewp151 at gmail dot com>
Project URL: https://code.google.com/p/lightopenid/ (archived)
GitHub mirror: https://github.com/iignatov/LightOpenID
Version: v1.3.1 (2016-03-04)
Licensed under: MIT License (https://opensource.org/licenses/mit-license.php)
LightOpenID is the third-party OpenID 1.1/2.0 authentication client
that powers the panel's "Login with Steam" flow (Steam exposes its
account-id surface as an OpenID provider). The file is vendored
verbatim under `web/includes/Auth/openid.php`; it is excluded from
PHPStan analysis (see `phpstan.neon`'s `excludePaths`) and is the
sole intentional global-namespace class allowed in
`web/includes/`.
The MIT license terms apply only to the LightOpenID file itself; the
rest of the panel is governed by `LICENSE.txt`.
MIT License
-----------
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, sublicense, and/or
sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following
conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
--------------------------------------------------------------------
5. TinyMCE (`web/includes/tinymce/`)
--------------------------------------------------------------------
Copyright (C) Tiny Technologies, Inc. All rights reserved.
Project URL: https://www.tiny.cloud/
Version: 5.4.2 (2020-08-17)
Licensed under: GNU Lesser General Public License v2.1
(the LGPL or a commercial Tiny licence)
TinyMCE is a third-party rich-text editor vendored under
`web/includes/tinymce/`. The verbatim LGPL v2.1 text is preserved
under `web/includes/tinymce/license.txt`.
TinyMCE is no longer reachable from the panel's UI (the v2.0
rewrite migrated admin-authored display text to plain `<textarea>`
+ Markdown via `Sbpp\Markup\IntroRenderer` — see "Anti-patterns" /
WYSIWYG in `AGENTS.md` for the rationale, which traces back to
the stored-XSS vector in #1113). The directory is retained for
self-hosters running custom theme forks that still wire the
editor in. A future PR will remove the directory once the
fork-fallout window has elapsed.
--------------------------------------------------------------------
6. SourceMod (runtime dependency of the bundled plugins)
--------------------------------------------------------------------
Copyright (C) 2006-present AlliedModders LLC. All rights reserved.
Project URL: https://www.sourcemod.net/
Licensed under: GNU General Public License version 3
(with the AlliedModders link-exception below)
The SourceMod plugins this repository ships
(`game/addons/sourcemod/scripting/*.sp`) compile against and link
into SourceMod's SDK at runtime. SourceMod itself is not bundled
in this repository — operators install it separately on each game
server. The plugins are GPLv3-licensed (`LICENSE-plugins.txt`),
and that licence is what governs redistribution of the plugin
source / .smx artifacts.
For completeness, the AlliedModders LLC link-exception notice that
permits SourceMod-derivative-works to link into Source-engine code
is reproduced verbatim below. This exception applies to SourceMod
itself and to its derivative works (SourcePawn plugins and
SourceMod Extensions); the panel's plugin set falls into the
"derivative works" category:
As a special exception, AlliedModders LLC gives you permission
to link the code of this program (as well as its derivative
works) to "Half-Life 2," the "Source Engine," the "SourcePawn
JIT," and any Game MODs that run on software by the Valve
Corporation. You must obey the GNU General Public License in all
respects for all other code used. Additionally, AlliedModders
LLC grants this exception to all derivative works.
As an additional special exception to the GNU General Public
License 3.0, AlliedModders LLC permits dual-licensing of
DERIVATIVE WORKS ONLY (that is, SourcePawn/SourceMod Plugins and
SourceMod Extensions, or any software built from the SourceMod
SDK or header files) under the GNU General Public License version
2 "or any higher version." As such, you may choose for your
derivative work(s) to be compatible with the GNU General Public
License version 2 as long as it is also compatible with the GNU
General Public License version 3, via the "or any higher version"
clause. This is intended for compatibility with other software.
The full GPLv3 text is at `LICENSE-plugins.txt` in this repository
and at https://www.gnu.org/licenses/gpl-3.0.html upstream. The
AlliedModders link-exception notice originates from AlliedModders
LLC and is reproduced here under the spirit of GPLv3 §7 (additional
permissions).
--------------------------------------------------------------------
7. Composer dependencies (`web/composer.json`)
--------------------------------------------------------------------
The panel's runtime PHP dependencies (`smarty/smarty`, `lcobucci/jwt`,
`league/commonmark`, `maxmind-db/reader`, `xpaw/php-source-query-class`,
`symfony/mailer`) are declared in `web/composer.json` and resolved
via Composer at install time. Each retains its upstream licence
under `web/includes/vendor/<package>/LICENSE.md` (or equivalent).
This file does not duplicate those licences; consult the vendored
packages directly.