2
Abide by the licences of the projects whose homework you copied without permission
codeberg.orgThe commit 5fb537bd50 lifts several classes straight from [Postmill](https://gitlab.com/postmill/Postmill/), a non-fediverse forum with voting and threaded comments that predates Kbin by approximately 5 years.
For instance:
* src/Markdown/Listener/CacheMarkdownListener.php
* [Postmill](https://gitlab.com/postmill/Postmill/-/blob/4e93d3f1d222fe3d212dbf576af5b1085ce1e782/src/Markdown/Listener/CacheMarkdownListener.php)
* [Kbin](https://codeberg.org/Kbin/kbin-core/commits/commit/5fb537bd50b43d24507d983b658ddd5cc6be96ca/src/Markdown/Listener/CacheMarkdownListener.php)
* src/DependencyInjection/Compiler/AddMarkdownExtensionsPass.php
* [Postmill](https://gitlab.com/postmill/Postmill/-/blob/1e98b99bc4a20b396f2fa4089bdb1a308b7e18fd/src/DependencyInjection/Compiler/AddMarkdownExtensionsPass.php)
* [Kbin](https://codeberg.org/Kbin/kbin-core/src/commit/5fb537bd50b43d24507d983b658ddd5cc6be96ca/src/DependencyInjection/Compiler/AddMarkdownExtensionsPass.php) (this is identical down to the whitespace error someone [contributed to Postmill](https://gitlab.com/postmill/Postmill/-/merge_requests/439))
Similar "coincidences" where things were copied from Postmill and slightly modified can be found all over Kbin. For instance:
* The `Critera` class:
* Postmill's [Criteria.php](https://gitlab.com/postmill/Postmill/-/blob/1e98b99bc4a20b396f2fa4089bdb1a308b7e18fd/src/SubmissionFinder/Criteria.php) and [Submission.php](https://gitlab.com/postmill/Postmill/-/blob/a9704316c1c78f15ca12c2dc5ad477f4ac9f530e/src/Entity/Submission.php#L21-57)
* [Kbin](https://codeberg.org/Kbin/kbin-core/src/commit/07f6976d41a8b28802bd3f5bc21c2e8f41a83c6d/src/Repository/Criteria.php)
* The way criteria are applied:
* [Postmill](https://gitlab.com/postmill/Postmill/-/blob/7a4c22cc095b83449eeb5b56bb23c813fc3cf6df/src/SubmissionFinder/SubmissionFinder.php)
* [Kbin](https://codeberg.org/Kbin/kbin-core/src/commit/dce7cf30d467c051914990fedc425183d44dbbe0/src/Repository/PostRepository.php)
Postmill is licensed under the [Zlib licence](https://en.wikipedia.org/wiki/Zlib_License), which notes (emphasis mine):
> 1. **The origin of this software must not be misrepresented**; you must not claim that you wrote the original software. [...]
> 2. [...]
> 3. This notice **may not be removed** or altered from **any source distribution**.
As Kbin is a derivative work that includes copious amounts of Postmill source code, both verbatim and tweaked as to hide its origins, I ask that you include Postmill's copyright notice, as per your legal obligations under the Zlib licence. I have never given you permission to take my work uncredited and slap your licence on it--I wonder what your sponsors would have to say about that.
@ernest
Edit: corrected link
You must log in or register to comment.