From 13ab8cb2599ad3413c7df12476da05333fbc031e Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Mon, 16 Mar 2026 19:14:50 -0500 Subject: draft LICENSE updates --- LICENSE | 118 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 118 insertions(+) diff --git a/LICENSE b/LICENSE index 0ad25db4..2812e16f 100644 --- a/LICENSE +++ b/LICENSE @@ -659,3 +659,121 @@ specific requirements. if any, to sign a "copyright disclaimer" for the program, if necessary. For more information on this, and how to apply and follow the GNU AGPL, see . + + +------------------------------------------------------------------------------- + + ADDITIONAL TERMS + + The following additional terms apply to this software pursuant to Section 7 +of the GNU Affero General Public License v3.0 ("AGPLv3"). These terms +supplement the AGPLv3 and are not "additional permissions" as defined in +Section 7; as such, they may not be removed. + + These Additional Terms attach to the Program and every work based on it, +and must be included in their entirety with any such conveyance. If any +provision is found unenforceable or invalid, it shall be interpreted to the +minimum extent necessary to make it enforceable; if that is not possible, +it shall be severed without affecting the remaining provisions. + + As used in these Additional Terms, the term "slskd" refers to the Program +and any work based on the Program as defined in Section 0 of this License. + + 1. Disclaimer Regarding Content and Liability (Section 7(a)) + + Notwithstanding the terms of sections 15 and 16, slskd is provided with the +understanding that the licensors and authors do not condone or endorse the +unauthorized sharing of copyrighted works, or the transmission of any unlawful +or illicit materials. Users are solely responsible for ensuring that any files +transmitted or received using slskd are shared in compliance with applicable +law and the community rules of the network to which slskd connects. In no event +shall the licensors or authors be held liable for any legal consequences, +damages, or claims arising from a user's transmission of copyrighted material, +unlawful content, or other data in violation of third-party rights, network +policies, or local, state, national, or international laws. + + 2. Preservation of Notices and License (Section 7(b)) + + You must preserve the existing copyright headers in all source files. If you +modify a file, you may add your own copyright notice to that file below the +original copyright notice. Furthermore, any conveyance of slskd in object +code or executable form must be accompanied by the full text of this License +and these Additional Terms in a file named LICENSE. The content of said +LICENSE must be a verbatim copy of the license file provided with the Source +Code, subject only to the removal of additional permissions or the addition of +permitted restrictions as expressly authorized by Section 7 of this License. + + 3. Modified Version Identification (Section 7(c)) + + Any modified version of slskd must be clearly and prominently marked as +different from the original version. At a minimum, such versions must: + + a) Display a clear and prominent notice in the user interface and any + terminal startup output stating that the work is a modified version and is + not the original slskd. Any ASCII art, logos, or text-based branding in + the user interface or terminal startup output must be replaced or visually + distinct from the original; verbatim reproduction of the original terminal + branding is prohibited. + + b) Include a notice in the README or equivalent documentation stating: + "This is a modified version of slskd. It is not maintained by, endorsed + by, or affiliated with the slskd project or its author(s)."; + + c) Not present the work (including through the use of project names, + version numbering schemes, or logos) in any way that could reasonably + create confusion as to whether it is the original slskd or is + maintained, approved, or supported by the original author(s); and + + d) Use a minor version identifier distinct from the original Program for + the expressed purpose of identifying the work as a modified version to the + network; specifically, the integer value transmitted during network login + and identification must be changed to a value that, when expressed as a + decimal integer, does not begin with the digits "76". This requirement + applies to the effective value as transmitted; compliance is not satisfied + if the "76" prefix is present in network traffic, regardless of internal + code structure or variable naming. This value must be implemented as a + hard-coded constant in the Source Code and must not be modified, shadowed, + overridden, or substituted by any party through any means, including but + not limited to compiler flags, build system configuration, environment + variables, command-line arguments, external settings files, or + administrative interfaces. + + Compliance with each requirement of this Section is a condition of the +permissions granted under this License. + + 4. Mandatory Rebranding of Modified Versions (Section 7(c)) + + To prevent confusion regarding the origin of the software, any modified +version must be rebranded to use a name that is clearly distinct from "slskd". +The name adopted for a modified version must not contain "slskd" as a +substring, and must not be confusingly similar to "slskd" in appearance, sound, +or meaning. This requires the removal or replacement of all references to +"slskd" in filenames, logos, and technical support URLs. Notwithstanding the +above, the name "slskd" must be retained where necessary for: + + a) Verbatim reproduction of this License and Additional Terms; + + b) Preservation of original copyright headers in source files; + + c) The mandatory identification notices required by Section 3(a) and 3(b) of + these Additional Terms; and + + d) Purely descriptive references to the software's origin or compatibility, + provided such use does not appear as a primary branding element and does not + imply endorsement. + + Compliance with each requirement of this Section is a condition of the +permissions granted under this License. + + No person or entity may represent that a modified version is the original +slskd software or that it is endorsed by the slskd project without express +written authorization. + + 5. Disclaimer of Affiliation (Section 7(a)) + + TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, THE ORIGINAL AUTHOR(S) OF +slskd DISCLAIM ALL RESPONSIBILITY AND LIABILITY FOR ANY MODIFIED VERSION OF +slskd. MODIFIED VERSIONS ARE PROVIDED BY THEIR RESPECTIVE MODIFIER(S) AND ARE +NOT THE RESPONSIBILITY OF THE ORIGINAL AUTHOR(S). ANY WARRANTIES, EXPRESS OR +IMPLIED, RELATING TO MODIFIED VERSIONS ARE THE SOLE RESPONSIBILITY OF THE +PERSON(S) OR ENTITY(IES) THAT CREATED SUCH MODIFICATIONS. \ No newline at end of file -- cgit v1.2.3 From b39fba71eb814a529a52b666e3d7a3cf57f74ac0 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Tue, 17 Mar 2026 08:26:55 -0500 Subject: section 1 --- LICENSE | 36 +++++++++++++++++++++++------------- 1 file changed, 23 insertions(+), 13 deletions(-) diff --git a/LICENSE b/LICENSE index 2812e16f..34ddad51 100644 --- a/LICENSE +++ b/LICENSE @@ -663,7 +663,7 @@ For more information on this, and how to apply and follow the GNU AGPL, see ------------------------------------------------------------------------------- - ADDITIONAL TERMS + ADDITIONAL TERMS The following additional terms apply to this software pursuant to Section 7 of the GNU Affero General Public License v3.0 ("AGPLv3"). These terms @@ -679,18 +679,28 @@ it shall be severed without affecting the remaining provisions. As used in these Additional Terms, the term "slskd" refers to the Program and any work based on the Program as defined in Section 0 of this License. - 1. Disclaimer Regarding Content and Liability (Section 7(a)) - - Notwithstanding the terms of sections 15 and 16, slskd is provided with the -understanding that the licensors and authors do not condone or endorse the -unauthorized sharing of copyrighted works, or the transmission of any unlawful -or illicit materials. Users are solely responsible for ensuring that any files -transmitted or received using slskd are shared in compliance with applicable -law and the community rules of the network to which slskd connects. In no event -shall the licensors or authors be held liable for any legal consequences, -damages, or claims arising from a user's transmission of copyrighted material, -unlawful content, or other data in violation of third-party rights, network -policies, or local, state, national, or international laws. + 1. Disclaimer of Endorsement and Limitation of Liability (Section 7(a)) + + Notwithstanding the terms of Sections 15 and 16, slskd is provided with +the understanding that the licensors and authors do not condone, endorse, +or support the unauthorized sharing of copyrighted works or the transmission +of any unlawful or illicit materials, whether through the original Program +or any modified version. + + Users and modifiers of slskd are solely responsible for ensuring that any +use, distribution, or promotion of slskd or any modified version complies with +applicable law and the community rules of the network to which the software +connects. + + In no event shall the licensors or authors of slskd be held liable for any +legal consequences, damages, or claims arising from: (i) a user's transmission +of copyrighted material, unlawful content, or other data in violation of +third-party rights, network policies, or applicable law; or (ii) the use, +promotion, or distribution of slskd or any modified version of slskd, including +any modified version that promotes, facilitates, or is marketed in connection +with copyright infringement or unlawful activity. Responsibility for any such +modified version rests solely with the person or entity that created, +distributed, or promoted it. 2. Preservation of Notices and License (Section 7(b)) -- cgit v1.2.3 From a65c26a1c5c64dc616f0069f69edc2ecdf751df4 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Tue, 17 Mar 2026 10:24:28 -0500 Subject: move compliance to preamble --- LICENSE | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/LICENSE b/LICENSE index 34ddad51..5affb314 100644 --- a/LICENSE +++ b/LICENSE @@ -676,6 +676,11 @@ provision is found unenforceable or invalid, it shall be interpreted to the minimum extent necessary to make it enforceable; if that is not possible, it shall be severed without affecting the remaining provisions. + Compliance with these Additional Terms is a condition of the permissions +granted under this License; failure to comply with these terms constitutes a +violation of the License and is subject to the termination and reinstatement +provisions of Section 8. + As used in these Additional Terms, the term "slskd" refers to the Program and any work based on the Program as defined in Section 0 of this License. -- cgit v1.2.3 From 371ed7080bbfd14526329c37ac2cac564689ba50 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Tue, 17 Mar 2026 10:24:47 -0500 Subject: section 2 --- LICENSE | 36 ++++++++++++++++++++++++++++-------- 1 file changed, 28 insertions(+), 8 deletions(-) diff --git a/LICENSE b/LICENSE index 5affb314..8c5c0dda 100644 --- a/LICENSE +++ b/LICENSE @@ -709,14 +709,34 @@ distributed, or promoted it. 2. Preservation of Notices and License (Section 7(b)) - You must preserve the existing copyright headers in all source files. If you -modify a file, you may add your own copyright notice to that file below the -original copyright notice. Furthermore, any conveyance of slskd in object -code or executable form must be accompanied by the full text of this License -and these Additional Terms in a file named LICENSE. The content of said -LICENSE must be a verbatim copy of the license file provided with the Source -Code, subject only to the removal of additional permissions or the addition of -permitted restrictions as expressly authorized by Section 7 of this License. + You must preserve all existing copyright and license notices in all source +files without modification, except as expressly required by these Additional +Terms. This includes, without limitation, any copyright statements, license +identifiers, and references to these Additional Terms contained in file +headers. + + Any conveyance of slskd in object code or executable form must be accompanied +by the full text of this License and these Additional Terms in a file named +LICENSE, located in the root directory of the distribution, and in the +directory in which the object code or executable is stored, if different from +the root directory. The content of said LICENSE must be a verbatim copy of the +license file provided with the Source Code.. + + Any conveyance of slskd in the form of a container image must, in addition +to the requirements above, include the following OCI image annotations for +the purpose of ensuring that recipients understand the license under which +the software is distributed and can locate the corresponding source code: + + a) org.opencontainers.image.licenses must be set to "AGPL-3.0-only"; and + + b) org.opencontainers.image.source must be set to the URL of the source + code repository for the version of slskd contained in the image, + whether that is the original Program or a modified version. + + You must not remove, obscure, or modify any copyright, license, or +attribution notices displayed in any user interface shipped with slskd or +any modified version, including but not limited to notices displayed in web +interfaces, desktop interfaces, or terminal output. 3. Modified Version Identification (Section 7(c)) -- cgit v1.2.3 From 02e26d4ff3c293cb831da10c5f5fb179b1a0b4db Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Tue, 17 Mar 2026 10:25:57 -0500 Subject: indent --- LICENSE | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/LICENSE b/LICENSE index 8c5c0dda..497a49b1 100644 --- a/LICENSE +++ b/LICENSE @@ -727,11 +727,11 @@ to the requirements above, include the following OCI image annotations for the purpose of ensuring that recipients understand the license under which the software is distributed and can locate the corresponding source code: - a) org.opencontainers.image.licenses must be set to "AGPL-3.0-only"; and + a) org.opencontainers.image.licenses must be set to "AGPL-3.0-only"; and - b) org.opencontainers.image.source must be set to the URL of the source - code repository for the version of slskd contained in the image, - whether that is the original Program or a modified version. + b) org.opencontainers.image.source must be set to the URL of the source + code repository for the version of slskd contained in the image, + whether that is the original Program or a modified version. You must not remove, obscure, or modify any copyright, license, or attribution notices displayed in any user interface shipped with slskd or @@ -786,16 +786,16 @@ or meaning. This requires the removal or replacement of all references to "slskd" in filenames, logos, and technical support URLs. Notwithstanding the above, the name "slskd" must be retained where necessary for: - a) Verbatim reproduction of this License and Additional Terms; + a) Verbatim reproduction of this License and Additional Terms; - b) Preservation of original copyright headers in source files; + b) Preservation of original copyright headers in source files; - c) The mandatory identification notices required by Section 3(a) and 3(b) of - these Additional Terms; and + c) The mandatory identification notices required by Section 3(a) and 3(b) of + these Additional Terms; and - d) Purely descriptive references to the software's origin or compatibility, - provided such use does not appear as a primary branding element and does not - imply endorsement. + d) Purely descriptive references to the software's origin or compatibility, + provided such use does not appear as a primary branding element and does not + imply endorsement. Compliance with each requirement of this Section is a condition of the permissions granted under this License. -- cgit v1.2.3 From db548605935671abff7cc63cdeb8c8234069ece9 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Tue, 17 Mar 2026 10:26:07 -0500 Subject: remove redundant compliance clause --- LICENSE | 3 --- 1 file changed, 3 deletions(-) diff --git a/LICENSE b/LICENSE index 497a49b1..eaa2e06a 100644 --- a/LICENSE +++ b/LICENSE @@ -773,9 +773,6 @@ different from the original version. At a minimum, such versions must: variables, command-line arguments, external settings files, or administrative interfaces. - Compliance with each requirement of this Section is a condition of the -permissions granted under this License. - 4. Mandatory Rebranding of Modified Versions (Section 7(c)) To prevent confusion regarding the origin of the software, any modified -- cgit v1.2.3 From 988448e9c44828d1219b9290f922d814e8d4ac58 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Tue, 17 Mar 2026 21:04:23 -0500 Subject: capitalize Additional Terms --- LICENSE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LICENSE b/LICENSE index eaa2e06a..bf63ea05 100644 --- a/LICENSE +++ b/LICENSE @@ -665,7 +665,7 @@ For more information on this, and how to apply and follow the GNU AGPL, see ADDITIONAL TERMS - The following additional terms apply to this software pursuant to Section 7 + The following Additional Terms apply to this software pursuant to Section 7 of the GNU Affero General Public License v3.0 ("AGPLv3"). These terms supplement the AGPLv3 and are not "additional permissions" as defined in Section 7; as such, they may not be removed. -- cgit v1.2.3 From 7d09b5fa75a57ef97736ae091a7919b2e112f557 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Tue, 17 Mar 2026 21:04:48 -0500 Subject: add instructions for marking changes --- LICENSE | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/LICENSE b/LICENSE index bf63ea05..2dcff439 100644 --- a/LICENSE +++ b/LICENSE @@ -754,7 +754,17 @@ different from the original version. At a minimum, such versions must: "This is a modified version of slskd. It is not maintained by, endorsed by, or affiliated with the slskd project or its author(s)."; - c) Not present the work (including through the use of project names, + c) For each source file modified, add a copyright notice and a brief + description of the nature of the modifications to the file header, below + all existing copyright notices but above the license notice. For example: + + Copyright (c) + Modified: + + This description must be sufficient to identify the general nature of the + modifications and must not misrepresent the nature or extent of the changes + made. + version numbering schemes, or logos) in any way that could reasonably create confusion as to whether it is the original slskd or is maintained, approved, or supported by the original author(s); and -- cgit v1.2.3 From 23e982a036a5247b91b8f0f2c4cfea24afdd1bf3 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Tue, 17 Mar 2026 21:27:07 -0500 Subject: super final no takebacks preamble and section 1 --- LICENSE | 48 ++++++++++++++++++++++++------------------------ 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/LICENSE b/LICENSE index 2dcff439..ac2b78fd 100644 --- a/LICENSE +++ b/LICENSE @@ -670,7 +670,11 @@ of the GNU Affero General Public License v3.0 ("AGPLv3"). These terms supplement the AGPLv3 and are not "additional permissions" as defined in Section 7; as such, they may not be removed. - These Additional Terms attach to the Program and every work based on it, + As used in these Additional Terms: "the Program" refers to the original +copyrightable work licensed under this License, and "Modified Version" refers +to any work based on the Program. + + These Additional Terms attach to the Program and every Modified Version, and must be included in their entirety with any such conveyance. If any provision is found unenforceable or invalid, it shall be interpreted to the minimum extent necessary to make it enforceable; if that is not possible, @@ -681,31 +685,27 @@ granted under this License; failure to comply with these terms constitutes a violation of the License and is subject to the termination and reinstatement provisions of Section 8. - As used in these Additional Terms, the term "slskd" refers to the Program -and any work based on the Program as defined in Section 0 of this License. - 1. Disclaimer of Endorsement and Limitation of Liability (Section 7(a)) - Notwithstanding the terms of Sections 15 and 16, slskd is provided with -the understanding that the licensors and authors do not condone, endorse, -or support the unauthorized sharing of copyrighted works or the transmission -of any unlawful or illicit materials, whether through the original Program -or any modified version. - - Users and modifiers of slskd are solely responsible for ensuring that any -use, distribution, or promotion of slskd or any modified version complies with -applicable law and the community rules of the network to which the software -connects. - - In no event shall the licensors or authors of slskd be held liable for any -legal consequences, damages, or claims arising from: (i) a user's transmission -of copyrighted material, unlawful content, or other data in violation of -third-party rights, network policies, or applicable law; or (ii) the use, -promotion, or distribution of slskd or any modified version of slskd, including -any modified version that promotes, facilitates, or is marketed in connection -with copyright infringement or unlawful activity. Responsibility for any such -modified version rests solely with the person or entity that created, -distributed, or promoted it. + Notwithstanding the terms of Sections 15 and 16, the licensors and authors +of the Program do not condone, endorse, or support the unauthorized sharing of +copyrighted works or the transmission of any unlawful or illicit materials, +whether through the Program or any Modified Version. The Program is not +designed, intended, or licensed for any such purpose. + + Users and modifiers are solely responsible for ensuring that their use, +modification, distribution, or promotion of the Program or any Modified Version +complies with all applicable laws, third-party rights, and the rules of any +network to which the software connects. + + In no event shall the licensors or authors of the Program be held liable for +any legal consequences, damages, or claims arising from: (i) any user's or +modifier's use of the Program or any Modified Version in a manner that +infringes third-party rights or violates applicable law; or (ii) the creation, +distribution, promotion, or marketing of any Modified Version, including any +Modified Version that facilitates or is associated with copyright infringement +or unlawful activity. All responsibility for a Modified Version rests solely +with the person or entity that created, distributed, or promoted it. 2. Preservation of Notices and License (Section 7(b)) -- cgit v1.2.3 From 81cfdb4a20ad9dc91b9940c9699cdbe61186ab71 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Tue, 17 Mar 2026 21:39:23 -0500 Subject: super final section 2 no take backs --- LICENSE | 34 +++++++++++++++++++--------------- 1 file changed, 19 insertions(+), 15 deletions(-) diff --git a/LICENSE b/LICENSE index ac2b78fd..e7e34345 100644 --- a/LICENSE +++ b/LICENSE @@ -715,27 +715,31 @@ Terms. This includes, without limitation, any copyright statements, license identifiers, and references to these Additional Terms contained in file headers. - Any conveyance of slskd in object code or executable form must be accompanied -by the full text of this License and these Additional Terms in a file named -LICENSE, located in the root directory of the distribution, and in the -directory in which the object code or executable is stored, if different from -the root directory. The content of said LICENSE must be a verbatim copy of the -license file provided with the Source Code.. - - Any conveyance of slskd in the form of a container image must, in addition -to the requirements above, include the following OCI image annotations for -the purpose of ensuring that recipients understand the license under which -the software is distributed and can locate the corresponding source code: + Any conveyance of the Program or any Modified Version in object code or +executable form, regardless of the distribution format (including but not +limited to archive files, installer packages, container images, and any other +distribution medium or format), must be accompanied by the full text of this +License and these Additional Terms in a file named LICENSE, located in the root +directory of the distribution, and in the directory in which the object code or +executable is stored, if different from the root directory. The content of said +LICENSE file must be a verbatim copy of the license file provided with the +Corresponding Source. + + Any conveyance of the Program or any Modified Version in the form of a +container image must, in addition to the requirements above, include the +following OCI image annotations for the purpose of ensuring that recipients +understand the license under which the software is distributed and can locate +the corresponding source code: a) org.opencontainers.image.licenses must be set to "AGPL-3.0-only"; and b) org.opencontainers.image.source must be set to the URL of the source - code repository for the version of slskd contained in the image, - whether that is the original Program or a modified version. + code repository for the version contained in the image, whether that is + the Program or a Modified Version. You must not remove, obscure, or modify any copyright, license, or -attribution notices displayed in any user interface shipped with slskd or -any modified version, including but not limited to notices displayed in web +attribution notices displayed in any user interface shipped with the Program +or any Modified Version, including but not limited to notices displayed in web interfaces, desktop interfaces, or terminal output. 3. Modified Version Identification (Section 7(c)) -- cgit v1.2.3 From 7b0b3546d2e34378a1b27ae8e42ee3ab34ea7d97 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Tue, 17 Mar 2026 22:06:36 -0500 Subject: section 3&4 super final no takebacks --- LICENSE | 107 ++++++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 63 insertions(+), 44 deletions(-) diff --git a/LICENSE b/LICENSE index e7e34345..e5857bc4 100644 --- a/LICENSE +++ b/LICENSE @@ -744,19 +744,19 @@ interfaces, desktop interfaces, or terminal output. 3. Modified Version Identification (Section 7(c)) - Any modified version of slskd must be clearly and prominently marked as -different from the original version. At a minimum, such versions must: + Any Modified Version must be clearly and prominently marked as different +from the Program. At a minimum, a Modified Version must: a) Display a clear and prominent notice in the user interface and any - terminal startup output stating that the work is a modified version and is - not the original slskd. Any ASCII art, logos, or text-based branding in + terminal startup output stating that the work is a Modified Version and is + not the original Program. Any ASCII art, logos, or text-based branding in the user interface or terminal startup output must be replaced or visually distinct from the original; verbatim reproduction of the original terminal branding is prohibited. b) Include a notice in the README or equivalent documentation stating: "This is a modified version of slskd. It is not maintained by, endorsed - by, or affiliated with the slskd project or its author(s)."; + by, or affiliated with the slskd project or its author(s)." c) For each source file modified, add a copyright notice and a brief description of the nature of the modifications to the file header, below @@ -769,51 +769,70 @@ different from the original version. At a minimum, such versions must: modifications and must not misrepresent the nature or extent of the changes made. + For newly created source files that do not originate from the Program, the + modifier may use a single copyright notice with the year and their name. + No modification description is required for such files, but the remainder + of the file header (including the license notice and reference to these + Additional Terms) must match the format of the existing file headers in the + Program. + + d) Not present the work (including through the use of project names, version numbering schemes, or logos) in any way that could reasonably - create confusion as to whether it is the original slskd or is - maintained, approved, or supported by the original author(s); and - - d) Use a minor version identifier distinct from the original Program for - the expressed purpose of identifying the work as a modified version to the - network; specifically, the integer value transmitted during network login - and identification must be changed to a value that, when expressed as a - decimal integer, does not begin with the digits "76". This requirement - applies to the effective value as transmitted; compliance is not satisfied - if the "76" prefix is present in network traffic, regardless of internal - code structure or variable naming. This value must be implemented as a - hard-coded constant in the Source Code and must not be modified, shadowed, - overridden, or substituted by any party through any means, including but - not limited to compiler flags, build system configuration, environment - variables, command-line arguments, external settings files, or - administrative interfaces. - - 4. Mandatory Rebranding of Modified Versions (Section 7(c)) - - To prevent confusion regarding the origin of the software, any modified -version must be rebranded to use a name that is clearly distinct from "slskd". -The name adopted for a modified version must not contain "slskd" as a -substring, and must not be confusingly similar to "slskd" in appearance, sound, -or meaning. This requires the removal or replacement of all references to -"slskd" in filenames, logos, and technical support URLs. Notwithstanding the -above, the name "slskd" must be retained where necessary for: - - a) Verbatim reproduction of this License and Additional Terms; + create confusion as to whether it is the Program or is maintained, + approved, or supported by the original author(s). + + e) Not transmit, during Soulseek network login or identification, a client + version identifier that is a decimal integer beginning with the digits "76" + (including but not limited to integers in the range 760 through 76999). + The Soulseek server and its administrators rely on the client version + identifier to distinguish between client implementations and to enforce + network policies; transmitting an identifier in the reserved range + constitutes a false representation that the software is the Program and + implies endorsement or affiliation with its authors, which is expressly + disclaimed. This condition applies regardless of the technical means by + which the identifier is set or transmitted. + + 4. Mandatory Rebranding of Modified Versions (Sections 7(c), 7(d), and 7(e)) + + To prevent confusion regarding the origin of the software, any Modified +Version must adopt a name that is not likely to cause reasonable confusion +as to whether it is the Program or is maintained, endorsed, or affiliated +with the original author(s). Without limiting the foregoing, a name that +contains "slskd" as a substring is presumed to create such confusion. This +presumption may only be rebutted by express written authorization from the +original author(s). + + In determining whether a name is likely to cause confusion, relevant +factors include but are not limited to: (i) the degree of visual, phonetic, +or semantic similarity to "slskd"; (ii) whether the name implies +maintenance, endorsement, or affiliation with the original project; +(iii) whether the name incorporates "slskd" as a recognizable component +regardless of additional characters; and (iv) whether the overall +presentation of the Modified Version, including its name, logo, and +documentation, taken together would mislead a reasonable user. + + This requires the removal or replacement of all user-facing references to +"slskd", including but not limited to project names, logos, documentation, +and technical support URLs. Internal source code references (such as class +names, namespaces, configuration keys, or internal filenames) need not be +renamed, provided they are not visible to end users in normal operation. +Notwithstanding the above, the name "slskd" may be used where necessary for: + + a) Verbatim reproduction of this License and these Additional Terms; b) Preservation of original copyright headers in source files; - c) The mandatory identification notices required by Section 3(a) and 3(b) of - these Additional Terms; and - - d) Purely descriptive references to the software's origin or compatibility, - provided such use does not appear as a primary branding element and does not - imply endorsement. + c) The mandatory identification notices required by Sections 3(a) + and 3(b) of these Additional Terms; and - Compliance with each requirement of this Section is a condition of the -permissions granted under this License. + d) Purely descriptive references to the software's origin or + compatibility, such as "based on slskd" or "compatible with slskd", + provided such references do not appear as primary branding elements + or in the project name itself. - No person or entity may represent that a modified version is the original -slskd software or that it is endorsed by the slskd project without express -written authorization. + No person or entity may represent that a Modified Version is the Program +or that it is maintained by, endorsed by, or affiliated with the original +author(s) without express written authorization. 5. Disclaimer of Affiliation (Section 7(a)) -- cgit v1.2.3 From 57ec8fa4dae73e71b5b3ed2c9a622cf2ce624f74 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Tue, 17 Mar 2026 22:09:36 -0500 Subject: tweak section 5 --- LICENSE | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/LICENSE b/LICENSE index e5857bc4..27c4c379 100644 --- a/LICENSE +++ b/LICENSE @@ -836,9 +836,9 @@ author(s) without express written authorization. 5. Disclaimer of Affiliation (Section 7(a)) - TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, THE ORIGINAL AUTHOR(S) OF -slskd DISCLAIM ALL RESPONSIBILITY AND LIABILITY FOR ANY MODIFIED VERSION OF -slskd. MODIFIED VERSIONS ARE PROVIDED BY THEIR RESPECTIVE MODIFIER(S) AND ARE -NOT THE RESPONSIBILITY OF THE ORIGINAL AUTHOR(S). ANY WARRANTIES, EXPRESS OR -IMPLIED, RELATING TO MODIFIED VERSIONS ARE THE SOLE RESPONSIBILITY OF THE + TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, THE ORIGINAL AUTHOR(S) +OF THE PROGRAM DISCLAIM ALL RESPONSIBILITY AND LIABILITY FOR ANY MODIFIED +VERSION. MODIFIED VERSIONS ARE PROVIDED BY THEIR RESPECTIVE MODIFIER(S) AND +ARE NOT THE RESPONSIBILITY OF THE ORIGINAL AUTHOR(S). ANY WARRANTIES, EXPRESS +OR IMPLIED, RELATING TO MODIFIED VERSIONS ARE THE SOLE RESPONSIBILITY OF THE PERSON(S) OR ENTITY(IES) THAT CREATED SUCH MODIFICATIONS. \ No newline at end of file -- cgit v1.2.3 From 4c409c2b19867926f2ab048c5ede878b6129a718 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Wed, 18 Mar 2026 17:45:13 -0500 Subject: add restrictions around package repositories --- LICENSE | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/LICENSE b/LICENSE index 27c4c379..166497ca 100644 --- a/LICENSE +++ b/LICENSE @@ -737,6 +737,18 @@ the corresponding source code: code repository for the version contained in the image, whether that is the Program or a Modified Version. + Any conveyance of the Program or any Modified Version through a +package repository, package registry, software distribution +platform, or similar system (including but not limited to operating +system package repositories, language-specific registries, container +registries, and application distribution platforms) must include the +full text of this License and these Additional Terms in the package +metadata, manifest, or accompanying files, in whatever form the +platform supports. The package listing or description must identify +the work as licensed under the GNU Affero General Public License +v3.0 with Additional Terms and must include a link to the +Corresponding Source. + You must not remove, obscure, or modify any copyright, license, or attribution notices displayed in any user interface shipped with the Program or any Modified Version, including but not limited to notices displayed in web @@ -816,7 +828,20 @@ documentation, taken together would mislead a reasonable user. and technical support URLs. Internal source code references (such as class names, namespaces, configuration keys, or internal filenames) need not be renamed, provided they are not visible to end users in normal operation. -Notwithstanding the above, the name "slskd" may be used where necessary for: + + A Modified Version must not be listed, published, registered, or +distributed under the name "slskd" or any name that is likely to +cause confusion with the Program in any package repository, package +registry, container registry, software distribution platform, or +similar system. Registering, claiming, or occupying the "slskd" +package name or namespace in any such system for the purpose of +distributing a Modified Version constitutes a violation of these +Additional Terms, regardless of whether the Modified Version itself +has been otherwise rebranded. This prohibition extends to any +variant of the name that would be likely to cause confusion under +the factors described above. + + Notwithstanding the above, the name "slskd" may be used where necessary for: a) Verbatim reproduction of this License and these Additional Terms; -- cgit v1.2.3 From 0b51f48bf567f1de521fe3a4d11068306e2b2b72 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Wed, 18 Mar 2026 17:53:05 -0500 Subject: clarify other deceptive tactics --- LICENSE | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/LICENSE b/LICENSE index 166497ca..ae943001 100644 --- a/LICENSE +++ b/LICENSE @@ -825,9 +825,12 @@ documentation, taken together would mislead a reasonable user. This requires the removal or replacement of all user-facing references to "slskd", including but not limited to project names, logos, documentation, -and technical support URLs. Internal source code references (such as class -names, namespaces, configuration keys, or internal filenames) need not be -renamed, provided they are not visible to end users in normal operation. +technical support URLs, and any website, domain name, or online presence +through which a Modified Version is distributed, made available for download, +or from which users are directed to obtain a Modified Version. Internal source +code references (such as class names, namespaces, configuration keys, or +internal filenames) need not be renamed, provided they are not visible to end +users in normal operation. A Modified Version must not be listed, published, registered, or distributed under the name "slskd" or any name that is likely to -- cgit v1.2.3 From f7df29c37920c8a37d8f6177cc6ab51caa3acba3 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Wed, 18 Mar 2026 18:31:55 -0500 Subject: clarify that additional terms go with forks --- LICENSE | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/LICENSE b/LICENSE index ae943001..d96cf4f3 100644 --- a/LICENSE +++ b/LICENSE @@ -680,6 +680,12 @@ provision is found unenforceable or invalid, it shall be interpreted to the minimum extent necessary to make it enforceable; if that is not possible, it shall be severed without affecting the remaining provisions. + For the avoidance of doubt, these Additional Terms apply to every recipient +of the Program or any Modified Version by operation of Section 10 of this +License. Any person or entity that receives, modifies, or distributes the +Program or any Modified Version is independently bound by these Additional +Terms, regardless of the party from whom they received the work. + Compliance with these Additional Terms is a condition of the permissions granted under this License; failure to comply with these terms constitutes a violation of the License and is subject to the termination and reinstatement -- cgit v1.2.3 From cf2c2c862e8c2a7d593518b4e821cf06cb7f0641 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Wed, 18 Mar 2026 18:38:49 -0500 Subject: clarify package descriptions --- LICENSE | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/LICENSE b/LICENSE index d96cf4f3..bebd9eca 100644 --- a/LICENSE +++ b/LICENSE @@ -859,10 +859,10 @@ the factors described above. c) The mandatory identification notices required by Sections 3(a) and 3(b) of these Additional Terms; and - d) Purely descriptive references to the software's origin or - compatibility, such as "based on slskd" or "compatible with slskd", - provided such references do not appear as primary branding elements - or in the project name itself. + d) Purely descriptive references to the software's origin or compatibility, + such as "based on slskd" or "compatible with slskd", including in package + listing descriptions, provided such references do not appear as primary + branding elements or in the project name itself. No person or entity may represent that a Modified Version is the Program or that it is maintained by, endorsed by, or affiliated with the original -- cgit v1.2.3 From 6381e19fdf9ec05e9a810e28f5a8b471db66e109 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 19 Mar 2026 17:52:37 +0000 Subject: Bump flatted from 3.2.7 to 3.4.2 in /src/web Bumps [flatted](https://github.com/WebReflection/flatted) from 3.2.7 to 3.4.2. - [Commits](https://github.com/WebReflection/flatted/compare/v3.2.7...v3.4.2) --- updated-dependencies: - dependency-name: flatted dependency-version: 3.4.2 dependency-type: indirect ... Signed-off-by: dependabot[bot] --- src/web/package-lock.json | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/web/package-lock.json b/src/web/package-lock.json index e0a23e40..0b318210 100644 --- a/src/web/package-lock.json +++ b/src/web/package-lock.json @@ -10899,10 +10899,11 @@ } }, "node_modules/flatted": { - "version": "3.2.7", - "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.7.tgz", - "integrity": "sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ==", - "dev": true + "version": "3.4.2", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.4.2.tgz", + "integrity": "sha512-PjDse7RzhcPkIJwy5t7KPWQSZ9cAbzQXcafsetQoD7sOJRQlGikNbx7yZp2OotDnJyrDcbyRq3Ttb18iYOqkxA==", + "dev": true, + "license": "ISC" }, "node_modules/follow-redirects": { "version": "1.15.11", -- cgit v1.2.3 From 45dd25169f2fccea40ddaecb4de0d62dc9120f3e Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Thu, 19 Mar 2026 20:52:53 -0500 Subject: simplify preamble --- LICENSE | 391 ++++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 206 insertions(+), 185 deletions(-) diff --git a/LICENSE b/LICENSE index bebd9eca..54ae6124 100644 --- a/LICENSE +++ b/LICENSE @@ -665,46 +665,44 @@ For more information on this, and how to apply and follow the GNU AGPL, see ADDITIONAL TERMS - The following Additional Terms apply to this software pursuant to Section 7 -of the GNU Affero General Public License v3.0 ("AGPLv3"). These terms -supplement the AGPLv3 and are not "additional permissions" as defined in -Section 7; as such, they may not be removed. + The following Additional Terms are supplemental conditions of this License +pursuant to Section 7 of the GNU Affero General Public License v3.0 ("AGPLv3"). As used in these Additional Terms: "the Program" refers to the original -copyrightable work licensed under this License, and "Modified Version" refers -to any work based on the Program. +copyrightable work licensed under this License, "Modified Version" refers +to any work based on the Program, and "original author(s)" refers to the +copyright holder(s) of the unmodified Program. These Additional Terms attach to the Program and every Modified Version, -and must be included in their entirety with any such conveyance. If any -provision is found unenforceable or invalid, it shall be interpreted to the -minimum extent necessary to make it enforceable; if that is not possible, -it shall be severed without affecting the remaining provisions. - - For the avoidance of doubt, these Additional Terms apply to every recipient -of the Program or any Modified Version by operation of Section 10 of this -License. Any person or entity that receives, modifies, or distributes the -Program or any Modified Version is independently bound by these Additional -Terms, regardless of the party from whom they received the work. - - Compliance with these Additional Terms is a condition of the permissions -granted under this License; failure to comply with these terms constitutes a -violation of the License and is subject to the termination and reinstatement -provisions of Section 8. - - 1. Disclaimer of Endorsement and Limitation of Liability (Section 7(a)) - - Notwithstanding the terms of Sections 15 and 16, the licensors and authors -of the Program do not condone, endorse, or support the unauthorized sharing of -copyrighted works or the transmission of any unlawful or illicit materials, -whether through the Program or any Modified Version. The Program is not -designed, intended, or licensed for any such purpose. +and must be included with any such conveyance. + + If any provision is found unenforceable or invalid, it shall be interpreted +to the minimum extent necessary to make it enforceable; if that is not +possible, it shall be severed without affecting the remaining provisions. All +remaining provisions shall continue in full force and effect, independently and +without regard to the severed provision. The parties acknowledge that each +provision of these Additional Terms is intended to be severable and that no +provision is dependent upon the validity or enforceability of any other. + + Compliance with these Additional Terms is a material condition of the License +grant. Any modification or conveyance of the Program, or any Modified Version +thereof, without adherence to these Additional Terms is a violation of the +License and is subject to the termination and reinstatement provisions of +Section 8. + + 1. Disclaimer of Endorsement and Limitation of Liability (Sections 7(a) and 7(f)) + + Pursuant to Sections 7(a) and 7(f), the original author(s) of the Program do +not condone, endorse, or support the unauthorized sharing of copyrighted works +or the transmission of any unlawful or illicit materials, whether through the +Program or any Modified Version. Users and modifiers are solely responsible for ensuring that their use, modification, distribution, or promotion of the Program or any Modified Version complies with all applicable laws, third-party rights, and the rules of any network to which the software connects. - In no event shall the licensors or authors of the Program be held liable for + In no event shall the original author(s) of the Program be held liable for any legal consequences, damages, or claims arising from: (i) any user's or modifier's use of the Program or any Modified Version in a manner that infringes third-party rights or violates applicable law; or (ii) the creation, @@ -713,166 +711,189 @@ Modified Version that facilitates or is associated with copyright infringement or unlawful activity. All responsibility for a Modified Version rests solely with the person or entity that created, distributed, or promoted it. + Pursuant to Section 7(f), any party that conveys a Modified Version with +contractual assumptions of liability to its recipients must indemnify the +original author(s) for any liability that those contractual assumptions +directly impose on said author(s). This indemnification obligation is limited +to liability arising directly from such contractual assumptions and does not +extend to liability arising from the original author(s)' own acts or omissions. + 2. Preservation of Notices and License (Section 7(b)) - You must preserve all existing copyright and license notices in all source -files without modification, except as expressly required by these Additional -Terms. This includes, without limitation, any copyright statements, license -identifiers, and references to these Additional Terms contained in file -headers. - - Any conveyance of the Program or any Modified Version in object code or -executable form, regardless of the distribution format (including but not -limited to archive files, installer packages, container images, and any other -distribution medium or format), must be accompanied by the full text of this -License and these Additional Terms in a file named LICENSE, located in the root -directory of the distribution, and in the directory in which the object code or -executable is stored, if different from the root directory. The content of said -LICENSE file must be a verbatim copy of the license file provided with the -Corresponding Source. - - Any conveyance of the Program or any Modified Version in the form of a -container image must, in addition to the requirements above, include the -following OCI image annotations for the purpose of ensuring that recipients -understand the license under which the software is distributed and can locate -the corresponding source code: - - a) org.opencontainers.image.licenses must be set to "AGPL-3.0-only"; and - - b) org.opencontainers.image.source must be set to the URL of the source - code repository for the version contained in the image, whether that is - the Program or a Modified Version. - - Any conveyance of the Program or any Modified Version through a -package repository, package registry, software distribution -platform, or similar system (including but not limited to operating -system package repositories, language-specific registries, container -registries, and application distribution platforms) must include the -full text of this License and these Additional Terms in the package -metadata, manifest, or accompanying files, in whatever form the -platform supports. The package listing or description must identify -the work as licensed under the GNU Affero General Public License -v3.0 with Additional Terms and must include a link to the -Corresponding Source. - - You must not remove, obscure, or modify any copyright, license, or -attribution notices displayed in any user interface shipped with the Program -or any Modified Version, including but not limited to notices displayed in web -interfaces, desktop interfaces, or terminal output. - - 3. Modified Version Identification (Section 7(c)) + Pursuant to Section 7(b), the following requirements apply to the +preservation of legal notices: + + a) Interface Notices: You must not remove, obscure, or modify any + "Appropriate Legal Notices" (as defined in Section 0 of the AGPLv3) or + attribution notices displayed in any user interface, including terminal + startup output and web-based dashboards. Such notices must remain prominently + visible. + + b) Documentation: Any README, NOTICE, or equivalent documentation included + with the Program or a Modified Version must preserve all existing license + notices, attribution statements, and references to these Additional Terms + without modification, except as expressly required by these Additional Terms. + + c) Source Files: You must preserve all existing copyright and license notices + in all source files without modification, except as expressly required by + these Additional Terms. This includes, without limitation, any copyright + statements, license identifiers, and references to these Additional Terms + contained in file headers. + + d) Distribution Artifacts: Any conveyance of the Program or a Modified + Version in object code or executable form (including archive files, installer + packages, or other distribution formats) must be accompanied by the full text + of this License and these Additional Terms. This text must be placed in a + file named LICENSE in the root directory and, if different, the directory + containing the object code or executable. The LICENSE file must contain the + complete and unmodified text of this License and these Additional Terms. + + e) Package Registries: Any conveyance through a package repository, registry, + or software distribution platform (including operating system repositories + and language-specific registries) must identify the work as licensed under + the GNU Affero General Public License v3.0, include a link to the + Corresponding Source, and include a link to the full text of this License. + + f) Container Metadata: Any conveyance of the Program or a Modified Version in + the form of a container image must include the following OCI image annotations + or equivalent metadata supported by the registry: + + i) org.opencontainers.image.licenses must be set to "AGPL-3.0-only"; + + ii) org.opencontainers.image.source must be set to the URL of the source + code repository for the version contained in the image. + + 3. Modified Version Identification (Sections 7(c) and 7(d)) Any Modified Version must be clearly and prominently marked as different -from the Program. At a minimum, a Modified Version must: - - a) Display a clear and prominent notice in the user interface and any - terminal startup output stating that the work is a Modified Version and is - not the original Program. Any ASCII art, logos, or text-based branding in - the user interface or terminal startup output must be replaced or visually - distinct from the original; verbatim reproduction of the original terminal - branding is prohibited. - - b) Include a notice in the README or equivalent documentation stating: - "This is a modified version of slskd. It is not maintained by, endorsed - by, or affiliated with the slskd project or its author(s)." - - c) For each source file modified, add a copyright notice and a brief - description of the nature of the modifications to the file header, below - all existing copyright notices but above the license notice. For example: - - Copyright (c) - Modified: - - This description must be sufficient to identify the general nature of the - modifications and must not misrepresent the nature or extent of the changes - made. - - For newly created source files that do not originate from the Program, the - modifier may use a single copyright notice with the year and their name. - No modification description is required for such files, but the remainder - of the file header (including the license notice and reference to these - Additional Terms) must match the format of the existing file headers in the - Program. - - d) Not present the work (including through the use of project names, - version numbering schemes, or logos) in any way that could reasonably - create confusion as to whether it is the Program or is maintained, - approved, or supported by the original author(s). - - e) Not transmit, during Soulseek network login or identification, a client - version identifier that is a decimal integer beginning with the digits "76" - (including but not limited to integers in the range 760 through 76999). - The Soulseek server and its administrators rely on the client version - identifier to distinguish between client implementations and to enforce - network policies; transmitting an identifier in the reserved range - constitutes a false representation that the software is the Program and - implies endorsement or affiliation with its authors, which is expressly - disclaimed. This condition applies regardless of the technical means by - which the identifier is set or transmitted. - - 4. Mandatory Rebranding of Modified Versions (Sections 7(c), 7(d), and 7(e)) +from the Program and must not misrepresent its origin, affiliation, or +relationship to the Program or its original author(s), or the nature and extent +of the modifications made. The following requirements apply to all Modified +Versions: + + a) Interface Identification: A Modified Version must display a clear and + prominent notice in the user interface and any terminal startup output + stating that the work is a Modified Version and is not the original Program. + Any ASCII art, logos, or text-based branding in the user interface or + terminal startup output must be removed, replaced or made visually distinct + from the original; verbatim reproduction of the original terminal branding is + prohibited. + + b) Documentation Notice: A Modified Version must include a notice in the + README or equivalent documentation, or if no README exists, in a file named + NOTICE in the root directory of the project, stating: + + "This is a modified version of slskd. It is not maintained by, endorsed by, + or affiliated with the slskd project or its author(s)." + + c) Existing Source Files: For each source file modified, the modifier + must add a copyright notice and a brief description of the nature of the + modifications sufficient to distinguish the Modified Version from the Program + to the file header, below all existing copyright notices but above the license + notice. This description must be sufficient to identify the general nature of + the modifications and must not misrepresent the nature or extent of the + changes made. For example: + + Copyright (c) + Modified: + + d) Newly Created Source Files: For newly created source files that do not + originate from the Program, the modifier may use a single copyright notice + with the year and their name. No modification description is required for + such files, but the remainder of the file header (including the license notice + and reference to these Additional Terms) must match the format of the existing + file headers in the Program. + + e) Package Registries: Any conveyance of a Modified Version through a package + repository, registry, or software distribution platform (including operating + system repositories and language-specific registries) must clearly identify + the work as a modified version of the Program in the package description or + equivalent metadata field. + + 4. Rebranding (Sections 7(c) and 7(d)) To prevent confusion regarding the origin of the software, any Modified -Version must adopt a name that is not likely to cause reasonable confusion -as to whether it is the Program or is maintained, endorsed, or affiliated -with the original author(s). Without limiting the foregoing, a name that -contains "slskd" as a substring is presumed to create such confusion. This -presumption may only be rebutted by express written authorization from the -original author(s). +Version must adopt a name, branding, and presentation that does not +misrepresent its relationship to the Program or its original author(s). +The following requirements apply to all Modified Versions: + a) Naming Standard: A Modified Version must adopt a name that is not + likely to cause reasonable confusion as to whether it is the Program + or is maintained, endorsed, or affiliated with the original author(s). In determining whether a name is likely to cause confusion, relevant -factors include but are not limited to: (i) the degree of visual, phonetic, -or semantic similarity to "slskd"; (ii) whether the name implies -maintenance, endorsement, or affiliation with the original project; -(iii) whether the name incorporates "slskd" as a recognizable component -regardless of additional characters; and (iv) whether the overall -presentation of the Modified Version, including its name, logo, and -documentation, taken together would mislead a reasonable user. - - This requires the removal or replacement of all user-facing references to -"slskd", including but not limited to project names, logos, documentation, -technical support URLs, and any website, domain name, or online presence -through which a Modified Version is distributed, made available for download, -or from which users are directed to obtain a Modified Version. Internal source -code references (such as class names, namespaces, configuration keys, or -internal filenames) need not be renamed, provided they are not visible to end -users in normal operation. - - A Modified Version must not be listed, published, registered, or -distributed under the name "slskd" or any name that is likely to -cause confusion with the Program in any package repository, package -registry, container registry, software distribution platform, or -similar system. Registering, claiming, or occupying the "slskd" -package name or namespace in any such system for the purpose of -distributing a Modified Version constitutes a violation of these -Additional Terms, regardless of whether the Modified Version itself -has been otherwise rebranded. This prohibition extends to any -variant of the name that would be likely to cause confusion under -the factors described above. - - Notwithstanding the above, the name "slskd" may be used where necessary for: - - a) Verbatim reproduction of this License and these Additional Terms; - - b) Preservation of original copyright headers in source files; - - c) The mandatory identification notices required by Sections 3(a) - and 3(b) of these Additional Terms; and - - d) Purely descriptive references to the software's origin or compatibility, - such as "based on slskd" or "compatible with slskd", including in package - listing descriptions, provided such references do not appear as primary - branding elements or in the project name itself. - - No person or entity may represent that a Modified Version is the Program -or that it is maintained by, endorsed by, or affiliated with the original -author(s) without express written authorization. - - 5. Disclaimer of Affiliation (Section 7(a)) - - TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, THE ORIGINAL AUTHOR(S) -OF THE PROGRAM DISCLAIM ALL RESPONSIBILITY AND LIABILITY FOR ANY MODIFIED -VERSION. MODIFIED VERSIONS ARE PROVIDED BY THEIR RESPECTIVE MODIFIER(S) AND -ARE NOT THE RESPONSIBILITY OF THE ORIGINAL AUTHOR(S). ANY WARRANTIES, EXPRESS -OR IMPLIED, RELATING TO MODIFIED VERSIONS ARE THE SOLE RESPONSIBILITY OF THE -PERSON(S) OR ENTITY(IES) THAT CREATED SUCH MODIFICATIONS. \ No newline at end of file + factors include but are not limited to: + + i) the degree of visual, phonetic, or semantic similarity to "slskd"; + + ii) whether the name implies maintenance, endorsement, or affiliation + with the original project; + + iii) whether the name incorporates "slskd" as a recognizable component + regardless of additional characters; and + + iv) whether the overall presentation of the Modified Version, including + its name, logo, and documentation, taken together would mislead a + reasonable user. + + b) User-Facing References: A Modified Version must remove or replace all + user-facing references to "slskd", including but not limited to project + names, logos, documentation, technical support URLs, and any website, + domain name, or online presence through which a Modified Version is + distributed, made available for download, or from which users are + directed to obtain a Modified Version. Internal source code references + (such as class names, namespaces, configuration keys, or internal + filenames) need not be renamed, provided they are not visible to end + users in normal operation. + + c) Package Registries: A Modified Version must not be listed, published, + registered, or distributed under the name "slskd" or any name that is + likely to cause confusion with the Program in any package repository, + package registry, container registry, software distribution platform, + or similar system. Registering, claiming, or occupying the "slskd" + package name or namespace in any such system for the purpose of + distributing a Modified Version constitutes a violation of these + Additional Terms, regardless of whether the Modified Version itself + has been otherwise rebranded. This prohibition extends to any variant + of the name that would be likely to cause confusion under the factors + described in Section 4(a). + + d) Version Identifier: A Modified Version must not transmit, during + Soulseek network login or identification, a client version identifier + that is a decimal integer beginning with the digits "76" (including + but not limited to integers in the range 760 through 76999). The + Soulseek server and its administrators rely on the client version + identifier to distinguish between client implementations and to enforce + network policies; transmitting an identifier in the reserved range + constitutes a false representation that the software is the Program + and implies endorsement or affiliation with its authors, which is + expressly disclaimed. This condition applies regardless of the + technical means by which the identifier is set or transmitted. + + e) Permitted Uses of "slskd": Notwithstanding the requirements of + this Section, the name "slskd" may be used where necessary for: + + i) Verbatim reproduction of this License and these Additional Terms; + + ii) Preservation of original copyright headers in source files; + + iii) The mandatory identification notices required by these Additional + Terms; and + + iv) Purely descriptive references to the software's origin or + compatibility, such as "based on slskd" or "compatible with slskd", + including in package listing descriptions, provided such references + do not appear as primary branding elements or in the project name + itself. + + f) Non-Endorsement: No person or entity may represent that a Modified + Version is the Program or that it is maintained by, endorsed by, or + affiliated with the original author(s) without express written + authorization from the original author(s). + + 5. Reservation of Rights + + Nothing in these Additional Terms shall be construed to limit any +right or remedy available to the original author(s) under applicable +copyright law, including the right to seek injunctive or other equitable +relief, to submit notices of claimed infringement pursuant to applicable +law, or to pursue any other remedy available at law or in equity. \ No newline at end of file -- cgit v1.2.3 From 243b3d0e5a5b0fbe00ab99821e2031d4b613e878 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sat, 21 Mar 2026 09:07:02 -0500 Subject: double space after period, to match --- LICENSE | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/LICENSE b/LICENSE index 54ae6124..7104d133 100644 --- a/LICENSE +++ b/LICENSE @@ -678,14 +678,14 @@ and must be included with any such conveyance. If any provision is found unenforceable or invalid, it shall be interpreted to the minimum extent necessary to make it enforceable; if that is not -possible, it shall be severed without affecting the remaining provisions. All +possible, it shall be severed without affecting the remaining provisions. All remaining provisions shall continue in full force and effect, independently and -without regard to the severed provision. The parties acknowledge that each +without regard to the severed provision. The parties acknowledge that each provision of these Additional Terms is intended to be severable and that no provision is dependent upon the validity or enforceability of any other. Compliance with these Additional Terms is a material condition of the License -grant. Any modification or conveyance of the Program, or any Modified Version +grant. Any modification or conveyance of the Program, or any Modified Version thereof, without adherence to these Additional Terms is a violation of the License and is subject to the termination and reinstatement provisions of Section 8. @@ -708,13 +708,13 @@ modifier's use of the Program or any Modified Version in a manner that infringes third-party rights or violates applicable law; or (ii) the creation, distribution, promotion, or marketing of any Modified Version, including any Modified Version that facilitates or is associated with copyright infringement -or unlawful activity. All responsibility for a Modified Version rests solely +or unlawful activity. All responsibility for a Modified Version rests solely with the person or entity that created, distributed, or promoted it. Pursuant to Section 7(f), any party that conveys a Modified Version with contractual assumptions of liability to its recipients must indemnify the original author(s) for any liability that those contractual assumptions -directly impose on said author(s). This indemnification obligation is limited +directly impose on said author(s). This indemnification obligation is limited to liability arising directly from such contractual assumptions and does not extend to liability arising from the original author(s)' own acts or omissions. @@ -726,7 +726,7 @@ preservation of legal notices: a) Interface Notices: You must not remove, obscure, or modify any "Appropriate Legal Notices" (as defined in Section 0 of the AGPLv3) or attribution notices displayed in any user interface, including terminal - startup output and web-based dashboards. Such notices must remain prominently + startup output and web-based dashboards. Such notices must remain prominently visible. b) Documentation: Any README, NOTICE, or equivalent documentation included @@ -736,16 +736,16 @@ preservation of legal notices: c) Source Files: You must preserve all existing copyright and license notices in all source files without modification, except as expressly required by - these Additional Terms. This includes, without limitation, any copyright + these Additional Terms. This includes, without limitation, any copyright statements, license identifiers, and references to these Additional Terms contained in file headers. d) Distribution Artifacts: Any conveyance of the Program or a Modified Version in object code or executable form (including archive files, installer packages, or other distribution formats) must be accompanied by the full text - of this License and these Additional Terms. This text must be placed in a + of this License and these Additional Terms. This text must be placed in a file named LICENSE in the root directory and, if different, the directory - containing the object code or executable. The LICENSE file must contain the + containing the object code or executable. The LICENSE file must contain the complete and unmodified text of this License and these Additional Terms. e) Package Registries: Any conveyance through a package repository, registry, @@ -768,7 +768,7 @@ preservation of legal notices: Any Modified Version must be clearly and prominently marked as different from the Program and must not misrepresent its origin, affiliation, or relationship to the Program or its original author(s), or the nature and extent -of the modifications made. The following requirements apply to all Modified +of the modifications made. The following requirements apply to all Modified Versions: a) Interface Identification: A Modified Version must display a clear and @@ -783,23 +783,23 @@ Versions: README or equivalent documentation, or if no README exists, in a file named NOTICE in the root directory of the project, stating: - "This is a modified version of slskd. It is not maintained by, endorsed by, + "This is a modified version of slskd. It is not maintained by, endorsed by, or affiliated with the slskd project or its author(s)." c) Existing Source Files: For each source file modified, the modifier must add a copyright notice and a brief description of the nature of the modifications sufficient to distinguish the Modified Version from the Program to the file header, below all existing copyright notices but above the license - notice. This description must be sufficient to identify the general nature of + notice. This description must be sufficient to identify the general nature of the modifications and must not misrepresent the nature or extent of the - changes made. For example: + changes made. For example: Copyright (c) Modified: d) Newly Created Source Files: For newly created source files that do not originate from the Program, the modifier may use a single copyright notice - with the year and their name. No modification description is required for + with the year and their name. No modification description is required for such files, but the remainder of the file header (including the license notice and reference to these Additional Terms) must match the format of the existing file headers in the Program. @@ -840,7 +840,7 @@ The following requirements apply to all Modified Versions: names, logos, documentation, technical support URLs, and any website, domain name, or online presence through which a Modified Version is distributed, made available for download, or from which users are - directed to obtain a Modified Version. Internal source code references + directed to obtain a Modified Version. Internal source code references (such as class names, namespaces, configuration keys, or internal filenames) need not be renamed, provided they are not visible to end users in normal operation. @@ -849,24 +849,24 @@ The following requirements apply to all Modified Versions: registered, or distributed under the name "slskd" or any name that is likely to cause confusion with the Program in any package repository, package registry, container registry, software distribution platform, - or similar system. Registering, claiming, or occupying the "slskd" + or similar system. Registering, claiming, or occupying the "slskd" package name or namespace in any such system for the purpose of distributing a Modified Version constitutes a violation of these Additional Terms, regardless of whether the Modified Version itself - has been otherwise rebranded. This prohibition extends to any variant + has been otherwise rebranded. This prohibition extends to any variant of the name that would be likely to cause confusion under the factors described in Section 4(a). d) Version Identifier: A Modified Version must not transmit, during Soulseek network login or identification, a client version identifier that is a decimal integer beginning with the digits "76" (including - but not limited to integers in the range 760 through 76999). The + but not limited to integers in the range 760 through 76999). The Soulseek server and its administrators rely on the client version identifier to distinguish between client implementations and to enforce network policies; transmitting an identifier in the reserved range constitutes a false representation that the software is the Program and implies endorsement or affiliation with its authors, which is - expressly disclaimed. This condition applies regardless of the + expressly disclaimed. This condition applies regardless of the technical means by which the identifier is set or transmitted. e) Permitted Uses of "slskd": Notwithstanding the requirements of -- cgit v1.2.3 From 5ea28307c19aa127e3ee22daa662c7b6c075d8ae Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sat, 21 Mar 2026 12:09:36 -0500 Subject: add notice and some adjustments --- LICENSE | 34 ++++++++++++++++++---------------- NOTICE | 13 +++++++++++++ 2 files changed, 31 insertions(+), 16 deletions(-) create mode 100644 NOTICE diff --git a/LICENSE b/LICENSE index 7104d133..2ff26efa 100644 --- a/LICENSE +++ b/LICENSE @@ -684,7 +684,8 @@ without regard to the severed provision. The parties acknowledge that each provision of these Additional Terms is intended to be severable and that no provision is dependent upon the validity or enforceability of any other. - Compliance with these Additional Terms is a material condition of the License + Compliance with these Additional Terms, to the extent they constitute valid +conditions under Section 7 of the AGPLv3, is a material condition of the License grant. Any modification or conveyance of the Program, or any Modified Version thereof, without adherence to these Additional Terms is a violation of the License and is subject to the termination and reinstatement provisions of @@ -751,8 +752,9 @@ preservation of legal notices: e) Package Registries: Any conveyance through a package repository, registry, or software distribution platform (including operating system repositories and language-specific registries) must identify the work as licensed under - the GNU Affero General Public License v3.0, include a link to the - Corresponding Source, and include a link to the full text of this License. + the GNU Affero General Public License v3.0 ("AGPLv3"), include a link to the + Corresponding Source, and include a link to the full text of this License and + these Additional Terms. f) Container Metadata: Any conveyance of the Program or a Modified Version in the form of a container image must include the following OCI image annotations @@ -804,7 +806,7 @@ Versions: and reference to these Additional Terms) must match the format of the existing file headers in the Program. - e) Package Registries: Any conveyance of a Modified Version through a package + e) Distribution: Any conveyance of a Modified Version through a package repository, registry, or software distribution platform (including operating system repositories and language-specific registries) must clearly identify the work as a modified version of the Program in the package description or @@ -817,11 +819,11 @@ Version must adopt a name, branding, and presentation that does not misrepresent its relationship to the Program or its original author(s). The following requirements apply to all Modified Versions: - a) Naming Standard: A Modified Version must adopt a name that is not - likely to cause reasonable confusion as to whether it is the Program - or is maintained, endorsed, or affiliated with the original author(s). - In determining whether a name is likely to cause confusion, relevant - factors include but are not limited to: + a) Naming: A Modified Version must adopt a name that is not likely to cause + reasonable confusion as to whether it is the Program or is maintained, + endorsed, or affiliated with the original author(s). In determining whether a + name is likely to cause confusion, relevant factors include but are not + limited to: i) the degree of visual, phonetic, or semantic similarity to "slskd"; @@ -837,13 +839,13 @@ The following requirements apply to all Modified Versions: b) User-Facing References: A Modified Version must remove or replace all user-facing references to "slskd", including but not limited to project - names, logos, documentation, technical support URLs, and any website, - domain name, or online presence through which a Modified Version is - distributed, made available for download, or from which users are - directed to obtain a Modified Version. Internal source code references - (such as class names, namespaces, configuration keys, or internal - filenames) need not be renamed, provided they are not visible to end - users in normal operation. + names, logos, ASCII art, terminal startup output, documentation, technical + support URLs, and any website, domain name, or online presence through which + a Modified Version is distributed, made available for download, or from which + users are directed to obtain a Modified Version. Internal source code + references (such as class names, namespaces, configuration keys, or internal + filenames) need not be renamed, provided they are not visible to end users in + normal operation. c) Package Registries: A Modified Version must not be listed, published, registered, or distributed under the name "slskd" or any name that is diff --git a/NOTICE b/NOTICE new file mode 100644 index 00000000..ac8ca38b --- /dev/null +++ b/NOTICE @@ -0,0 +1,13 @@ + NOTICE + +This software is licensed under the GNU Affero General Public License v3.0 +(AGPLv3) with Additional Terms pursuant to Section 7 of the AGPLv3. + +The Additional Terms impose conditions on the preservation of license notices, +identification of modified versions, and rebranding of any modified version +conveyed to third parties. + +The complete text of the AGPLv3 and the Additional Terms is contained in the +LICENSE file in the root directory of this project. You must read and comply +with both the AGPLv3 and the Additional Terms before modifying or conveying +this software or any work based on it. \ No newline at end of file -- cgit v1.2.3 From 7a6d4d6d0be26a4087d035917c826973abec9d6f Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sat, 21 Mar 2026 15:47:32 -0500 Subject: tweak ascii --- src/slskd/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slskd/Program.cs b/src/slskd/Program.cs index a9504bb8..436ec117 100644 --- a/src/slskd/Program.cs +++ b/src/slskd/Program.cs @@ -1549,7 +1549,7 @@ namespace slskd var banner = @$" {logo} -╒════════════════════════════════════════════════════════╕ +┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┑ │ GNU AFFERO GENERAL PUBLIC LICENSE │ │ https://slskd.org │ │ │ -- cgit v1.2.3 From cb964333df266a7908b79376ae57c9c085107498 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sat, 21 Mar 2026 15:48:15 -0500 Subject: update header --- src/slskd/Application.cs | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/src/slskd/Application.cs b/src/slskd/Application.cs index 5a81ae8f..2563aaa2 100644 --- a/src/slskd/Application.cs +++ b/src/slskd/Application.cs @@ -1,10 +1,15 @@ -// -// Copyright (c) slskd Team. All rights reserved. +// +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// +// Copyright (c) JP Dillingham and contributors. // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. +// by the Free Software Foundation, version 3. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -13,6 +18,15 @@ // // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see https://www.gnu.org/licenses/. +// +// This program is distributed with Additional Terms pursuant to +// Section 7 of the GNU Affero General Public License. See the +// LICENSE file in the root directory of this project for the +// complete terms and conditions. +// +// SPDX-FileCopyrightText: JP Dillingham and contributors +// SPDX-License-Identifier: AGPL-3.0-only +// // using Microsoft.Extensions.Options; -- cgit v1.2.3 From 49791f5269fb34ffc6c72486690558ab664a642e Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sat, 21 Mar 2026 19:54:35 -0500 Subject: add new header (wip) --- src/slskd/Application.cs | 1 + src/slskd/Properties/stylecop.json | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/slskd/Application.cs b/src/slskd/Application.cs index 2563aaa2..b1c3d63f 100644 --- a/src/slskd/Application.cs +++ b/src/slskd/Application.cs @@ -4,6 +4,7 @@ // ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ // █__ --█ █__ --█ ◄█ - █ // █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ──────────────────────────────────────────── ──────── ─ ─── ─ ── ─ // // Copyright (c) JP Dillingham and contributors. // diff --git a/src/slskd/Properties/stylecop.json b/src/slskd/Properties/stylecop.json index 7d848f1a..a10d42b7 100644 --- a/src/slskd/Properties/stylecop.json +++ b/src/slskd/Properties/stylecop.json @@ -16,10 +16,10 @@ "documentationRules": { "documentPrivateElements": false, "documentPrivateFields": false, - "companyName": "slskd Team", - "copyrightText": " Copyright (c) {companyName}. All rights reserved.\n\n This program is free software: you can redistribute it and/or modify\n it under the terms of the GNU Affero General Public License as published\n by the Free Software Foundation, either version 3 of the License, or\n (at your option) any later version.\n\n This program is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU Affero General Public License for more details.\n\n You should have received a copy of the GNU Affero General Public License\n along with this program. If not, see https://www.gnu.org/licenses/.", + "companyName": "JP Dillingham", + "copyrightText": " ▄▄▄▄ ▄▄▄▄ ▄▄▄▄\n ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █\n █__ --█ █__ --█ ◄█ - █\n █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█\n\n Copyright (c) {companyName} and contributors.\n\n This program is free software: you can redistribute it and/or modify\n it under the terms of the GNU Affero General Public License as published\n by the Free Software Foundation, version 3.\n\n This program is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU Affero General Public License for more details.\n\n You should have received a copy of the GNU Affero General Public License\n along with this program. If not, see https://www.gnu.org/licenses/.\n\n This program is distributed with Additional Terms pursuant to\n Section 7 of the GNU Affero General Public License. See the\n LICENSE file in the root directory of this project for the\n complete terms and conditions.\n\n SPDX-FileCopyrightText: JP Dillingham and contributors\n SPDX-License-Identifier: AGPL-3.0-only", "variables": { - "licenseName": "AGPLv3", + "licenseName": "AGPL-3.0-only", "licenseFile": "LICENSE" } } -- cgit v1.2.3 From 13e3698c494a0a9bf768bb7f220c9d5a85640b75 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sun, 22 Mar 2026 18:16:50 -0500 Subject: new header and banner --- src/slskd/Application.cs | 52 +++++++++++++++++--------------- src/slskd/Program.cs | 61 +++++++++++++++++++++++++++++++++++++- src/slskd/Properties/stylecop.json | 4 +-- 3 files changed, 90 insertions(+), 27 deletions(-) diff --git a/src/slskd/Application.cs b/src/slskd/Application.cs index b1c3d63f..3fdaae86 100644 --- a/src/slskd/Application.cs +++ b/src/slskd/Application.cs @@ -1,32 +1,36 @@ -// +// // // ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ // ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ // █__ --█ █__ --█ ◄█ - █ // █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ -// ──────────────────────────────────────────── ──────── ─ ─── ─ ── ─ -// -// Copyright (c) JP Dillingham and contributors. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, version 3. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. -// -// This program is distributed with Additional Terms pursuant to -// Section 7 of the GNU Affero General Public License. See the -// LICENSE file in the root directory of this project for the -// complete terms and conditions. -// -// SPDX-FileCopyrightText: JP Dillingham and contributors -// SPDX-License-Identifier: AGPL-3.0-only +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham and slskd Contributors. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham and contributors +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // // diff --git a/src/slskd/Program.cs b/src/slskd/Program.cs index 436ec117..cceee615 100644 --- a/src/slskd/Program.cs +++ b/src/slskd/Program.cs @@ -1521,7 +1521,7 @@ namespace slskd } } - private static void PrintLogo(string version) + private static void PrintLogoOld(string version) { try { @@ -1575,6 +1575,65 @@ namespace slskd } } + private static void PrintLogo(string version) + { + try + { + var padding = 56 - version.Length; + var paddingLeft = padding / 2; + var paddingRight = paddingLeft + (padding % 2); + + var centeredVersion = new string(' ', paddingLeft) + version + new string(' ', paddingRight); + + var logos = new[] + { + $@" + ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ + ▄▄▄▄▄▄▄ █ █ ▄▄▄▄▄▄▄ █ █▄▄▄ ▄▄▄█ █ + █__ --█ █ █ █__ --█ █ ◄█ █ - █ + █▄▄▄▄▄█ █▄▄█ █▄▄▄▄▄█ █▄▄█▄▄█ █▄▄▄▄▄█", + @$" + ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ + ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ + █__ --█ █__ --█ ◄█ - █ + █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█", + }; + + var logo = logos[new System.Random().Next(0, logos.Length)]; + + var banner = @$" +{logo} +┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +│ Copyright (c) JP Dillingham and slskd Contributors +│ +│ https://slskd.org +│ +│ GNU AFFERO GENERAL PUBLIC LICENSE +│ └─▸ SPDX: AGPL-3.0-only +│ +├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +│ {version}"; + + if (IsDevelopment) + { + banner += "\n│ └─▸ ⚠️ DEVELOPMENT"; + } + + if (IsCanary) + { + banner += "\n│ └─▸ 🧪 CANARY"; + } + + banner += "\n╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈"; + + Console.WriteLine(banner); + } + catch + { + // noop. console may not be available in all cases. + } + } + private static void VerifyDirectory(string directory, bool createIfMissing = true, bool verifyWriteable = true) { if (!System.IO.Directory.Exists(directory)) diff --git a/src/slskd/Properties/stylecop.json b/src/slskd/Properties/stylecop.json index a10d42b7..dc63e593 100644 --- a/src/slskd/Properties/stylecop.json +++ b/src/slskd/Properties/stylecop.json @@ -16,8 +16,8 @@ "documentationRules": { "documentPrivateElements": false, "documentPrivateFields": false, - "companyName": "JP Dillingham", - "copyrightText": " ▄▄▄▄ ▄▄▄▄ ▄▄▄▄\n ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █\n █__ --█ █__ --█ ◄█ - █\n █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█\n\n Copyright (c) {companyName} and contributors.\n\n This program is free software: you can redistribute it and/or modify\n it under the terms of the GNU Affero General Public License as published\n by the Free Software Foundation, version 3.\n\n This program is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU Affero General Public License for more details.\n\n You should have received a copy of the GNU Affero General Public License\n along with this program. If not, see https://www.gnu.org/licenses/.\n\n This program is distributed with Additional Terms pursuant to\n Section 7 of the GNU Affero General Public License. See the\n LICENSE file in the root directory of this project for the\n complete terms and conditions.\n\n SPDX-FileCopyrightText: JP Dillingham and contributors\n SPDX-License-Identifier: AGPL-3.0-only", + "companyName": "JP Dillingham and slskd Contributors", + "copyrightText": " ▄▄▄▄ ▄▄▄▄ ▄▄▄▄\n ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █\n █__ --█ █__ --█ ◄█ - █\n █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█\n ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉\n │ Copyright (c) JP Dillingham and slskd Contributors.\n │\n │ https://slskd.org\n │\n │ This program is free software: you can redistribute it and/or modify\n │ it under the terms of the GNU Affero General Public License as published\n │ by the Free Software Foundation, either version 3 of the License, or\n │ (at your option) any later version.\n │\n │ This program is distributed in the hope that it will be useful,\n │ but WITHOUT ANY WARRANTY; without even the implied warranty of\n │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n │ GNU Affero General Public License for more details.\n │\n │ You should have received a copy of the GNU Affero General Public License\n │ along with this program. If not, see https://www.gnu.org/licenses/.\n │\n │ This program is distributed with Additional Terms pursuant to\n │ Section 7 of the GNU Affero General Public License. See the\n │ LICENSE file in the root directory of this project for the\n │ complete terms and conditions.\n │\n ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌\n │ SPDX-FileCopyrightText: JP Dillingham and contributors\n │ SPDX-License-Identifier: AGPL-3.0-only\n ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈", "variables": { "licenseName": "AGPL-3.0-only", "licenseFile": "LICENSE" -- cgit v1.2.3 From 7c16889dbc7be22f347fe0d335817d07fe72806a Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sun, 22 Mar 2026 18:28:07 -0500 Subject: normalize license name --- src/slskd/Program.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/slskd/Program.cs b/src/slskd/Program.cs index cceee615..d1b5cb9f 100644 --- a/src/slskd/Program.cs +++ b/src/slskd/Program.cs @@ -1608,20 +1608,20 @@ namespace slskd │ │ https://slskd.org │ -│ GNU AFFERO GENERAL PUBLIC LICENSE -│ └─▸ SPDX: AGPL-3.0-only +│ GNU Affero General Public License +│ └─▸ SPDX: AGPL-3.0-only │ ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ │ {version}"; if (IsDevelopment) { - banner += "\n│ └─▸ ⚠️ DEVELOPMENT"; + banner += "\n│ └─▸ ⚠️ DEVELOPMENT"; } if (IsCanary) { - banner += "\n│ └─▸ 🧪 CANARY"; + banner += "\n│ └─▸ 🧪 CANARY"; } banner += "\n╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈"; -- cgit v1.2.3 From 106249383d8dad6135e0f7c50fc4419e9bd53623 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sun, 22 Mar 2026 18:34:38 -0500 Subject: somewhat painfully, just me --- src/slskd/Application.cs | 6 +++--- src/slskd/Properties/stylecop.json | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/slskd/Application.cs b/src/slskd/Application.cs index 3fdaae86..08665a9b 100644 --- a/src/slskd/Application.cs +++ b/src/slskd/Application.cs @@ -1,11 +1,11 @@ -// +// // // ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ // ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ // █__ --█ █__ --█ ◄█ - █ // █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ -// │ Copyright (c) JP Dillingham and slskd Contributors. +// │ Copyright (c) JP Dillingham. // │ // │ https://slskd.org // │ @@ -28,7 +28,7 @@ // │ complete terms and conditions. // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ -// │ SPDX-FileCopyrightText: JP Dillingham and contributors +// │ SPDX-FileCopyrightText: JP Dillingham // │ SPDX-License-Identifier: AGPL-3.0-only // ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // diff --git a/src/slskd/Properties/stylecop.json b/src/slskd/Properties/stylecop.json index dc63e593..ff7f0a65 100644 --- a/src/slskd/Properties/stylecop.json +++ b/src/slskd/Properties/stylecop.json @@ -16,8 +16,8 @@ "documentationRules": { "documentPrivateElements": false, "documentPrivateFields": false, - "companyName": "JP Dillingham and slskd Contributors", - "copyrightText": " ▄▄▄▄ ▄▄▄▄ ▄▄▄▄\n ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █\n █__ --█ █__ --█ ◄█ - █\n █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█\n ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉\n │ Copyright (c) JP Dillingham and slskd Contributors.\n │\n │ https://slskd.org\n │\n │ This program is free software: you can redistribute it and/or modify\n │ it under the terms of the GNU Affero General Public License as published\n │ by the Free Software Foundation, either version 3 of the License, or\n │ (at your option) any later version.\n │\n │ This program is distributed in the hope that it will be useful,\n │ but WITHOUT ANY WARRANTY; without even the implied warranty of\n │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n │ GNU Affero General Public License for more details.\n │\n │ You should have received a copy of the GNU Affero General Public License\n │ along with this program. If not, see https://www.gnu.org/licenses/.\n │\n │ This program is distributed with Additional Terms pursuant to\n │ Section 7 of the GNU Affero General Public License. See the\n │ LICENSE file in the root directory of this project for the\n │ complete terms and conditions.\n │\n ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌\n │ SPDX-FileCopyrightText: JP Dillingham and contributors\n │ SPDX-License-Identifier: AGPL-3.0-only\n ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈", + "companyName": "JP Dillingham", + "copyrightText": " ▄▄▄▄ ▄▄▄▄ ▄▄▄▄\n ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █\n █__ --█ █__ --█ ◄█ - █\n █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█\n ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉\n │ Copyright (c) {companyName}.\n │\n │ https://slskd.org\n │\n │ This program is free software: you can redistribute it and/or modify\n │ it under the terms of the GNU Affero General Public License as published\n │ by the Free Software Foundation, either version 3 of the License, or\n │ (at your option) any later version.\n │\n │ This program is distributed in the hope that it will be useful,\n │ but WITHOUT ANY WARRANTY; without even the implied warranty of\n │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n │ GNU Affero General Public License for more details.\n │\n │ You should have received a copy of the GNU Affero General Public License\n │ along with this program. If not, see https://www.gnu.org/licenses/.\n │\n │ This program is distributed with Additional Terms pursuant to\n │ Section 7 of the GNU Affero General Public License. See the\n │ LICENSE file in the root directory of this project for the\n │ complete terms and conditions.\n │\n ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌\n │ SPDX-FileCopyrightText: {companyName}\n │ SPDX-License-Identifier: AGPL-3.0-only\n ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈", "variables": { "licenseName": "AGPL-3.0-only", "licenseFile": "LICENSE" -- cgit v1.2.3 From fa9db4af5c779c68486b1cd7cf0de1d2e9f9b0b1 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Tue, 24 Mar 2026 19:36:21 -0500 Subject: fix remaining headers --- .../Common/Authentication/ApiKeyAuthentication.cs | 47 +++++++++++++++------- src/slskd/Common/Authentication/AuthPolicy.cs | 47 +++++++++++++++------- src/slskd/Common/Authentication/AuthRole.cs | 46 ++++++++++++++------- .../Authentication/PassthroughAuthentication.cs | 47 +++++++++++++++------- src/slskd/Common/Authentication/Role.cs | 47 +++++++++++++++------- src/slskd/Common/Base64Extensions.cs | 47 +++++++++++++++------- src/slskd/Common/ChannelReader.cs | 47 +++++++++++++++------- src/slskd/Common/CommonExtensions.cs | 47 +++++++++++++++------- src/slskd/Common/Compute.cs | 47 +++++++++++++++------- src/slskd/Common/ConcurrentFixedSizeQueue.cs | 47 +++++++++++++++------- .../CommandLineConfigurationSource.cs | 47 +++++++++++++++------- .../DefaultValueConfigurationSource.cs | 47 +++++++++++++++------- .../EnvironmentVariableConfigurationSource.cs | 47 +++++++++++++++------- .../Configuration/RequiresReconnectAttribute.cs | 47 +++++++++++++++------- .../Configuration/RequiresRestartAttribute.cs | 47 +++++++++++++++------- .../VolatileOverlayConfigurationSource.cs | 47 +++++++++++++++------- .../Configuration/YamlConfigurationSource.cs | 47 +++++++++++++++------- src/slskd/Common/Cryptography/Aes.cs | 47 +++++++++++++++------- src/slskd/Common/Cryptography/Pbkdf2.cs | 47 +++++++++++++++------- src/slskd/Common/Cryptography/Random.cs | 47 +++++++++++++++------- src/slskd/Common/Cryptography/X509.cs | 47 +++++++++++++++------- src/slskd/Common/Dumper.cs | 47 +++++++++++++++------- .../Exceptions/ApplicationShutdownException.cs | 47 +++++++++++++++------- src/slskd/Common/Exceptions/GitHubException.cs | 47 +++++++++++++++------- .../Exceptions/IntentionalDisconnectException.cs | 47 +++++++++++++++------- src/slskd/Common/Exceptions/NotFoundException.cs | 47 +++++++++++++++------- src/slskd/Common/Exceptions/OutOfRangeException.cs | 47 +++++++++++++++------- src/slskd/Common/Exceptions/RelayException.cs | 47 +++++++++++++++------- src/slskd/Common/Exceptions/RetryException.cs | 47 +++++++++++++++------- .../Exceptions/ShareInitializationException.cs | 47 +++++++++++++++------- .../Exceptions/ShareScanInProgressException.cs | 47 +++++++++++++++------- .../Common/Exceptions/ShareValidationException.cs | 47 +++++++++++++++------- src/slskd/Common/Exceptions/SlskdException.cs | 47 +++++++++++++++------- .../Common/Exceptions/UnauthorizedException.cs | 47 +++++++++++++++------- src/slskd/Common/Exceptions/VPNClientException.cs | 47 +++++++++++++++------- src/slskd/Common/ExponentialMovingAverage.cs | 47 +++++++++++++++------- src/slskd/Common/GitHub.cs | 47 +++++++++++++++------- .../Common/JsonConverters/IPAddressConverter.cs | 47 +++++++++++++++------- .../Common/JsonConverters/IPEndPointConverter.cs | 47 +++++++++++++++------- .../KnownUnsupportedTypeConverter.cs | 47 +++++++++++++++------- src/slskd/Common/Logging/Checkpointer.cs | 47 +++++++++++++++------- src/slskd/Common/Logging/ConsoleWriteLineLogger.cs | 47 +++++++++++++++------- src/slskd/Common/Logging/DelegatingSink.cs | 47 +++++++++++++++------- src/slskd/Common/Logging/LogRecord.cs | 47 +++++++++++++++------- src/slskd/Common/ManagedState.cs | 47 +++++++++++++++------- .../Common/Middleware/HTMLInjectionMiddleware.cs | 47 +++++++++++++++------- .../Common/Middleware/HTMLRewriteMiddleware.cs | 47 +++++++++++++++------- .../Common/Middleware/UrlEncodingModelBinder.cs | 47 +++++++++++++++------- .../OpenAPI/ContentNegotiationOperationFilter.cs | 47 +++++++++++++++------- src/slskd/Common/RateLimiter.cs | 47 +++++++++++++++------- src/slskd/Common/Redactor.cs | 47 +++++++++++++++------- src/slskd/Common/Retry.cs | 47 +++++++++++++++------- src/slskd/Common/Sqlite.cs | 47 +++++++++++++++------- src/slskd/Common/TimedCounter.cs | 47 +++++++++++++++------- src/slskd/Common/TokenBucket.cs | 47 +++++++++++++++------- src/slskd/Common/UserEndPointCache.cs | 47 +++++++++++++++------- .../Common/Validation/AbsoluteFilePathAttribute.cs | 47 +++++++++++++++------- .../Common/Validation/CompositeValidationResult.cs | 47 +++++++++++++++------- .../Common/Validation/DirectoryExistsAttributes.cs | 47 +++++++++++++++------- src/slskd/Common/Validation/EnumAttribute.cs | 47 +++++++++++++++------- src/slskd/Common/Validation/Extensions.cs | 47 +++++++++++++++------- .../Common/Validation/FileDoesNotExistAttribute.cs | 47 +++++++++++++++------- src/slskd/Common/Validation/FileExistsAttribute.cs | 47 +++++++++++++++------- src/slskd/Common/Validation/IPAddressAttribute.cs | 47 +++++++++++++++------- .../Validation/NotNullOrWhiteSpaceAttribute.cs | 47 +++++++++++++++------- src/slskd/Common/Validation/ValidateAttribute.cs | 47 +++++++++++++++------- .../Common/Validation/ValidationExtensions.cs | 47 +++++++++++++++------- .../Common/Validation/X509CertificateAttribute.cs | 47 +++++++++++++++------- src/slskd/Common/WaitKey.cs | 47 +++++++++++++++------- src/slskd/Common/Waiter.cs | 47 +++++++++++++++------- .../Core/API/Controllers/ApplicationController.cs | 47 +++++++++++++++------- src/slskd/Core/API/Controllers/LogsController.cs | 47 +++++++++++++++------- .../Core/API/Controllers/OptionsController.cs | 47 +++++++++++++++------- src/slskd/Core/API/Controllers/ServerController.cs | 47 +++++++++++++++------- .../Core/API/Controllers/SessionController.cs | 47 +++++++++++++++------- src/slskd/Core/API/DTO/LoginRequest.cs | 47 +++++++++++++++------- src/slskd/Core/API/DTO/ServerState.cs | 47 +++++++++++++++------- src/slskd/Core/API/DTO/TokenResponse.cs | 47 +++++++++++++++------- src/slskd/Core/API/Hubs/ApplicationHub.cs | 47 +++++++++++++++------- src/slskd/Core/API/Hubs/LogsHub.cs | 47 +++++++++++++++------- src/slskd/Core/Blacklist.cs | 47 +++++++++++++++------- src/slskd/Core/CacheKeys.cs | 47 +++++++++++++++------- src/slskd/Core/Clock.cs | 47 +++++++++++++++------- src/slskd/Core/ConnectionWatchdog.cs | 47 +++++++++++++++------- src/slskd/Core/Constants.cs | 47 +++++++++++++++------- src/slskd/Core/Data/ConnectionString.cs | 47 +++++++++++++++------- src/slskd/Core/Data/ConnectionStringDictionary.cs | 47 +++++++++++++++------- src/slskd/Core/Data/Databases.cs | 47 +++++++++++++++------- src/slskd/Core/Data/IMigration.cs | 47 +++++++++++++++------- .../Z2025_04_01_TransferStateMigration.cs | 47 +++++++++++++++------- .../Z2025_07_06_TransferIndexesMigration.cs | 47 +++++++++++++++------- ...025_07_26_PrivateMessageWasReplayedMigration.cs | 47 +++++++++++++++------- ...025_12_28_AdditionalTransferIndexesMigration.cs | 47 +++++++++++++++------- ...26_02_17_TransferAttemptsAndBatchIdMigration.cs | 47 +++++++++++++++------- src/slskd/Core/Data/Migrator.cs | 47 +++++++++++++++------- src/slskd/Core/Data/SchemaInspector.cs | 47 +++++++++++++++------- src/slskd/Core/Data/SqlitePragmaInterceptor.cs | 47 +++++++++++++++------- src/slskd/Core/Extensions.cs | 47 +++++++++++++++------- src/slskd/Core/Options.cs | 47 +++++++++++++++------- src/slskd/Core/OptionsOverlay.cs | 47 +++++++++++++++------- src/slskd/Core/Security/SecurityService.cs | 47 +++++++++++++++------- src/slskd/Core/State.cs | 47 +++++++++++++++------- src/slskd/Events/API/EventsController.cs | 47 +++++++++++++++------- src/slskd/Events/EventBus.cs | 47 +++++++++++++++------- src/slskd/Events/EventService.cs | 47 +++++++++++++++------- src/slskd/Events/EventsDbContext.cs | 47 +++++++++++++++------- src/slskd/Events/Types/EventRecord.cs | 47 +++++++++++++++------- src/slskd/Events/Types/Events.cs | 47 +++++++++++++++------- src/slskd/Files/API/FilesController.cs | 47 +++++++++++++++------- src/slskd/Files/FileExtensions.cs | 47 +++++++++++++++------- src/slskd/Files/FileService.cs | 47 +++++++++++++++------- src/slskd/Files/Types/CreateFileOptions.cs | 47 +++++++++++++++------- src/slskd/Files/Types/FilesystemDirectory.cs | 47 +++++++++++++++------- src/slskd/Files/Types/FilesystemFile.cs | 47 +++++++++++++++------- src/slskd/Integrations/FTP/FTPClientFactory.cs | 47 +++++++++++++++------- src/slskd/Integrations/FTP/FTPService.cs | 47 +++++++++++++++------- src/slskd/Integrations/FTP/IFTPClientFactory.cs | 47 +++++++++++++++------- src/slskd/Integrations/FTP/IFTPService.cs | 47 +++++++++++++++------- .../Integrations/Pushbullet/IPushbulletService.cs | 47 +++++++++++++++------- .../Integrations/Pushbullet/PushbulletService.cs | 47 +++++++++++++++------- src/slskd/Integrations/Scripts/ScriptService.cs | 47 +++++++++++++++------- src/slskd/Integrations/VPN/Clients/Gluetun.cs | 47 +++++++++++++++------- src/slskd/Integrations/VPN/IVPNClient.cs | 47 +++++++++++++++------- src/slskd/Integrations/VPN/VPNService.cs | 47 +++++++++++++++------- src/slskd/Integrations/VPN/VPNStatus.cs | 47 +++++++++++++++------- src/slskd/Integrations/Webhooks/WebhookService.cs | 47 +++++++++++++++------- .../API/Controllers/ConversationsController.cs | 47 +++++++++++++++------- .../Messaging/API/Controllers/RoomsController.cs | 47 +++++++++++++++------- src/slskd/Messaging/API/DTO/RoomInfoResponse.cs | 47 +++++++++++++++------- src/slskd/Messaging/API/DTO/RoomMessageResponse.cs | 47 +++++++++++++++------- src/slskd/Messaging/API/DTO/RoomResponse.cs | 47 +++++++++++++++------- src/slskd/Messaging/API/DTO/UserDataResponse.cs | 47 +++++++++++++++------- src/slskd/Messaging/ConversationService.cs | 47 +++++++++++++++------- src/slskd/Messaging/IRoomTracker.cs | 47 +++++++++++++++------- src/slskd/Messaging/MessagingDbContext.cs | 47 +++++++++++++++------- src/slskd/Messaging/MessagingService.cs | 47 +++++++++++++++------- src/slskd/Messaging/RoomService.cs | 47 +++++++++++++++------- src/slskd/Messaging/RoomTracker.cs | 47 +++++++++++++++------- src/slskd/Messaging/Types/Conversation.cs | 47 +++++++++++++++------- src/slskd/Messaging/Types/MessageDirection.cs | 47 +++++++++++++++------- src/slskd/Messaging/Types/PrivateMessage.cs | 47 +++++++++++++++------- src/slskd/Messaging/Types/Room.cs | 47 +++++++++++++++------- src/slskd/Messaging/Types/RoomMessage.cs | 47 +++++++++++++++------- src/slskd/Program.cs | 47 +++++++++++++++------- src/slskd/Relay/API/Controllers/RelayController.cs | 47 +++++++++++++++------- src/slskd/Relay/API/Hubs/RelayHub.cs | 47 +++++++++++++++------- src/slskd/Relay/IRelayClient.cs | 47 +++++++++++++++------- src/slskd/Relay/NullRelayClient.cs | 47 +++++++++++++++------- src/slskd/Relay/RelayClient.cs | 47 +++++++++++++++------- src/slskd/Relay/RelayService.cs | 47 +++++++++++++++------- src/slskd/Relay/Types/Agent.cs | 47 +++++++++++++++------- src/slskd/Relay/Types/RelayClientState.cs | 47 +++++++++++++++------- src/slskd/Relay/Types/RelayMode.cs | 47 +++++++++++++++------- .../Search/API/Controllers/SearchesController.cs | 47 +++++++++++++++------- src/slskd/Search/API/DTO/SearchRequest.cs | 47 +++++++++++++++------- src/slskd/Search/API/Hubs/SearchHub.cs | 47 +++++++++++++++------- src/slskd/Search/Extensions.cs | 47 +++++++++++++++------- src/slskd/Search/SearchDbContext.cs | 47 +++++++++++++++------- src/slskd/Search/SearchResponseCache.cs | 47 +++++++++++++++------- src/slskd/Search/SearchService.cs | 47 +++++++++++++++------- src/slskd/Search/Types/File.cs | 47 +++++++++++++++------- src/slskd/Search/Types/Response.cs | 47 +++++++++++++++------- src/slskd/Search/Types/Search.cs | 47 +++++++++++++++------- .../Shares/API/Controllers/SharesController.cs | 47 +++++++++++++++------- src/slskd/Shares/IShareRepository.cs | 47 +++++++++++++++------- src/slskd/Shares/IShareRepositoryFactory.cs | 47 +++++++++++++++------- src/slskd/Shares/IShareService.cs | 47 +++++++++++++++------- src/slskd/Shares/ShareRepositoryFactory.cs | 47 +++++++++++++++------- src/slskd/Shares/ShareScanner.cs | 47 +++++++++++++++------- src/slskd/Shares/ShareService.cs | 47 +++++++++++++++------- src/slskd/Shares/SoulseekFileFactory.cs | 47 +++++++++++++++------- src/slskd/Shares/SqliteShareRepository.cs | 47 +++++++++++++++------- src/slskd/Shares/Types/Host.cs | 47 +++++++++++++++------- src/slskd/Shares/Types/Scan.cs | 47 +++++++++++++++------- src/slskd/Shares/Types/Share.cs | 47 +++++++++++++++------- src/slskd/Shares/Types/StorageMode.cs | 47 +++++++++++++++------- src/slskd/Telemetry/API/MetricsController.cs | 47 +++++++++++++++------- src/slskd/Telemetry/API/ReportsController.cs | 47 +++++++++++++++------- src/slskd/Telemetry/Metrics.cs | 47 +++++++++++++++------- src/slskd/Telemetry/PrometheusService.cs | 47 +++++++++++++++------- src/slskd/Telemetry/ReportsService.cs | 47 +++++++++++++++------- src/slskd/Telemetry/TelemetryService.cs | 47 +++++++++++++++------- src/slskd/Telemetry/Types/DirectoryDetail.cs | 47 +++++++++++++++------- src/slskd/Telemetry/Types/LeaderboardSorting.cs | 47 +++++++++++++++------- src/slskd/Telemetry/Types/PrometheusMetric.cs | 47 +++++++++++++++------- src/slskd/Telemetry/Types/SortOrder.cs | 47 +++++++++++++++------- .../Telemetry/Types/TransferExceptionDetail.cs | 47 +++++++++++++++------- .../Telemetry/Types/TransferExceptionSummary.cs | 47 +++++++++++++++------- src/slskd/Telemetry/Types/TransferSummary.cs | 47 +++++++++++++++------- .../Types/UserDirectionTransferSummary.cs | 47 +++++++++++++++------- .../API/Controllers/TransfersController.cs | 47 +++++++++++++++------- src/slskd/Transfers/API/DTO/DirectoryResponse.cs | 47 +++++++++++++++------- .../Transfers/API/DTO/QueueDownloadRequest.cs | 47 +++++++++++++++------- src/slskd/Transfers/API/DTO/Transfer.cs | 47 +++++++++++++++------- src/slskd/Transfers/API/DTO/UserResponse.cs | 47 +++++++++++++++------- src/slskd/Transfers/Downloads/DownloadService.cs | 47 +++++++++++++++------- src/slskd/Transfers/Extensions.cs | 47 +++++++++++++++------- src/slskd/Transfers/TransferService.cs | 47 +++++++++++++++------- src/slskd/Transfers/TransfersDbContext.cs | 47 +++++++++++++++------- src/slskd/Transfers/Types/QueueStrategy.cs | 47 +++++++++++++++------- src/slskd/Transfers/Types/Transfer.cs | 47 +++++++++++++++------- .../Transfers/Types/TransferStateCategories.cs | 47 +++++++++++++++------- src/slskd/Transfers/Types/Upload.cs | 47 +++++++++++++++------- src/slskd/Transfers/Types/UploadGroup.cs | 47 +++++++++++++++------- src/slskd/Transfers/Types/UserUploadStatistics.cs | 47 +++++++++++++++------- src/slskd/Transfers/Uploads/UploadGovernor.cs | 47 +++++++++++++++------- src/slskd/Transfers/Uploads/UploadQueue.cs | 47 +++++++++++++++------- src/slskd/Transfers/Uploads/UploadService.cs | 47 +++++++++++++++------- src/slskd/Users/API/Controllers/UsersController.cs | 47 +++++++++++++++------- .../Users/API/DTO/DirectoryContentsRequest.cs | 47 +++++++++++++++------- src/slskd/Users/API/DTO/UserDataResponse.cs | 47 +++++++++++++++------- src/slskd/Users/BrowseTracker.cs | 47 +++++++++++++++------- src/slskd/Users/Extensions.cs | 47 +++++++++++++++------- src/slskd/Users/IBrowseTracker.cs | 47 +++++++++++++++------- src/slskd/Users/IUserService.cs | 47 +++++++++++++++------- src/slskd/Users/Types/Info.cs | 47 +++++++++++++++------- src/slskd/Users/Types/Statistics.cs | 47 +++++++++++++++------- src/slskd/Users/Types/Status.cs | 47 +++++++++++++++------- src/slskd/Users/Types/User.cs | 47 +++++++++++++++------- src/slskd/Users/UserService.cs | 47 +++++++++++++++------- 220 files changed, 7040 insertions(+), 3299 deletions(-) diff --git a/src/slskd/Common/Authentication/ApiKeyAuthentication.cs b/src/slskd/Common/Authentication/ApiKeyAuthentication.cs index e2733442..ef1af7dd 100644 --- a/src/slskd/Common/Authentication/ApiKeyAuthentication.cs +++ b/src/slskd/Common/Authentication/ApiKeyAuthentication.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // using Microsoft.Extensions.Logging; diff --git a/src/slskd/Common/Authentication/AuthPolicy.cs b/src/slskd/Common/Authentication/AuthPolicy.cs index 47d430c9..98bf5b14 100644 --- a/src/slskd/Common/Authentication/AuthPolicy.cs +++ b/src/slskd/Common/Authentication/AuthPolicy.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd diff --git a/src/slskd/Common/Authentication/AuthRole.cs b/src/slskd/Common/Authentication/AuthRole.cs index 0550c085..740dda68 100644 --- a/src/slskd/Common/Authentication/AuthRole.cs +++ b/src/slskd/Common/Authentication/AuthRole.cs @@ -1,18 +1,36 @@ -// -// Copyright (c) slskd Team. All rights reserved. +// // -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd diff --git a/src/slskd/Common/Authentication/PassthroughAuthentication.cs b/src/slskd/Common/Authentication/PassthroughAuthentication.cs index 510e4a19..d6398980 100644 --- a/src/slskd/Common/Authentication/PassthroughAuthentication.cs +++ b/src/slskd/Common/Authentication/PassthroughAuthentication.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Authentication diff --git a/src/slskd/Common/Authentication/Role.cs b/src/slskd/Common/Authentication/Role.cs index 87ba3466..5d32bb64 100644 --- a/src/slskd/Common/Authentication/Role.cs +++ b/src/slskd/Common/Authentication/Role.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Authentication diff --git a/src/slskd/Common/Base64Extensions.cs b/src/slskd/Common/Base64Extensions.cs index 6eaf2dff..ad9c0351 100644 --- a/src/slskd/Common/Base64Extensions.cs +++ b/src/slskd/Common/Base64Extensions.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd diff --git a/src/slskd/Common/ChannelReader.cs b/src/slskd/Common/ChannelReader.cs index a5386715..65aca43d 100644 --- a/src/slskd/Common/ChannelReader.cs +++ b/src/slskd/Common/ChannelReader.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Shares diff --git a/src/slskd/Common/CommonExtensions.cs b/src/slskd/Common/CommonExtensions.cs index 11d419b4..88d249cb 100644 --- a/src/slskd/Common/CommonExtensions.cs +++ b/src/slskd/Common/CommonExtensions.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd diff --git a/src/slskd/Common/Compute.cs b/src/slskd/Common/Compute.cs index f614d011..4a7634be 100644 --- a/src/slskd/Common/Compute.cs +++ b/src/slskd/Common/Compute.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd diff --git a/src/slskd/Common/ConcurrentFixedSizeQueue.cs b/src/slskd/Common/ConcurrentFixedSizeQueue.cs index f0420f2a..3d8db314 100644 --- a/src/slskd/Common/ConcurrentFixedSizeQueue.cs +++ b/src/slskd/Common/ConcurrentFixedSizeQueue.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd diff --git a/src/slskd/Common/Configuration/CommandLineConfigurationSource.cs b/src/slskd/Common/Configuration/CommandLineConfigurationSource.cs index 8aa31242..d91b1adc 100644 --- a/src/slskd/Common/Configuration/CommandLineConfigurationSource.cs +++ b/src/slskd/Common/Configuration/CommandLineConfigurationSource.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Configuration diff --git a/src/slskd/Common/Configuration/DefaultValueConfigurationSource.cs b/src/slskd/Common/Configuration/DefaultValueConfigurationSource.cs index f125b1fc..478fcec7 100644 --- a/src/slskd/Common/Configuration/DefaultValueConfigurationSource.cs +++ b/src/slskd/Common/Configuration/DefaultValueConfigurationSource.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Configuration diff --git a/src/slskd/Common/Configuration/EnvironmentVariableConfigurationSource.cs b/src/slskd/Common/Configuration/EnvironmentVariableConfigurationSource.cs index 7049050d..822c82d3 100644 --- a/src/slskd/Common/Configuration/EnvironmentVariableConfigurationSource.cs +++ b/src/slskd/Common/Configuration/EnvironmentVariableConfigurationSource.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Configuration diff --git a/src/slskd/Common/Configuration/RequiresReconnectAttribute.cs b/src/slskd/Common/Configuration/RequiresReconnectAttribute.cs index 216c0399..0042be6e 100644 --- a/src/slskd/Common/Configuration/RequiresReconnectAttribute.cs +++ b/src/slskd/Common/Configuration/RequiresReconnectAttribute.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Configuration diff --git a/src/slskd/Common/Configuration/RequiresRestartAttribute.cs b/src/slskd/Common/Configuration/RequiresRestartAttribute.cs index 9f94eb4f..30e3b9c9 100644 --- a/src/slskd/Common/Configuration/RequiresRestartAttribute.cs +++ b/src/slskd/Common/Configuration/RequiresRestartAttribute.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Configuration diff --git a/src/slskd/Common/Configuration/VolatileOverlayConfigurationSource.cs b/src/slskd/Common/Configuration/VolatileOverlayConfigurationSource.cs index 0d6debec..660768be 100644 --- a/src/slskd/Common/Configuration/VolatileOverlayConfigurationSource.cs +++ b/src/slskd/Common/Configuration/VolatileOverlayConfigurationSource.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Configuration diff --git a/src/slskd/Common/Configuration/YamlConfigurationSource.cs b/src/slskd/Common/Configuration/YamlConfigurationSource.cs index 7f2c548d..b045208a 100644 --- a/src/slskd/Common/Configuration/YamlConfigurationSource.cs +++ b/src/slskd/Common/Configuration/YamlConfigurationSource.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Configuration diff --git a/src/slskd/Common/Cryptography/Aes.cs b/src/slskd/Common/Cryptography/Aes.cs index 9828d7f8..76ff1da7 100644 --- a/src/slskd/Common/Cryptography/Aes.cs +++ b/src/slskd/Common/Cryptography/Aes.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Cryptography diff --git a/src/slskd/Common/Cryptography/Pbkdf2.cs b/src/slskd/Common/Cryptography/Pbkdf2.cs index 15b4a7ed..d14cd969 100644 --- a/src/slskd/Common/Cryptography/Pbkdf2.cs +++ b/src/slskd/Common/Cryptography/Pbkdf2.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Cryptography diff --git a/src/slskd/Common/Cryptography/Random.cs b/src/slskd/Common/Cryptography/Random.cs index 94d4fa24..ccbc12a2 100644 --- a/src/slskd/Common/Cryptography/Random.cs +++ b/src/slskd/Common/Cryptography/Random.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Cryptography diff --git a/src/slskd/Common/Cryptography/X509.cs b/src/slskd/Common/Cryptography/X509.cs index 6356d1e1..75790d8c 100644 --- a/src/slskd/Common/Cryptography/X509.cs +++ b/src/slskd/Common/Cryptography/X509.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Cryptography diff --git a/src/slskd/Common/Dumper.cs b/src/slskd/Common/Dumper.cs index 766fe803..d3db5278 100644 --- a/src/slskd/Common/Dumper.cs +++ b/src/slskd/Common/Dumper.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd diff --git a/src/slskd/Common/Exceptions/ApplicationShutdownException.cs b/src/slskd/Common/Exceptions/ApplicationShutdownException.cs index 310b317c..fc9f3503 100644 --- a/src/slskd/Common/Exceptions/ApplicationShutdownException.cs +++ b/src/slskd/Common/Exceptions/ApplicationShutdownException.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd diff --git a/src/slskd/Common/Exceptions/GitHubException.cs b/src/slskd/Common/Exceptions/GitHubException.cs index 697ae49a..04c8aab7 100644 --- a/src/slskd/Common/Exceptions/GitHubException.cs +++ b/src/slskd/Common/Exceptions/GitHubException.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd diff --git a/src/slskd/Common/Exceptions/IntentionalDisconnectException.cs b/src/slskd/Common/Exceptions/IntentionalDisconnectException.cs index c2f09c4b..673d8c0d 100644 --- a/src/slskd/Common/Exceptions/IntentionalDisconnectException.cs +++ b/src/slskd/Common/Exceptions/IntentionalDisconnectException.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd diff --git a/src/slskd/Common/Exceptions/NotFoundException.cs b/src/slskd/Common/Exceptions/NotFoundException.cs index 414ccb4b..07771666 100644 --- a/src/slskd/Common/Exceptions/NotFoundException.cs +++ b/src/slskd/Common/Exceptions/NotFoundException.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd diff --git a/src/slskd/Common/Exceptions/OutOfRangeException.cs b/src/slskd/Common/Exceptions/OutOfRangeException.cs index 2ee562af..bdb576e4 100644 --- a/src/slskd/Common/Exceptions/OutOfRangeException.cs +++ b/src/slskd/Common/Exceptions/OutOfRangeException.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd diff --git a/src/slskd/Common/Exceptions/RelayException.cs b/src/slskd/Common/Exceptions/RelayException.cs index 3b8a4fbe..15c4b03d 100644 --- a/src/slskd/Common/Exceptions/RelayException.cs +++ b/src/slskd/Common/Exceptions/RelayException.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd diff --git a/src/slskd/Common/Exceptions/RetryException.cs b/src/slskd/Common/Exceptions/RetryException.cs index 582c76d2..07683cd3 100644 --- a/src/slskd/Common/Exceptions/RetryException.cs +++ b/src/slskd/Common/Exceptions/RetryException.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd diff --git a/src/slskd/Common/Exceptions/ShareInitializationException.cs b/src/slskd/Common/Exceptions/ShareInitializationException.cs index 2624da21..31fe408f 100644 --- a/src/slskd/Common/Exceptions/ShareInitializationException.cs +++ b/src/slskd/Common/Exceptions/ShareInitializationException.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd diff --git a/src/slskd/Common/Exceptions/ShareScanInProgressException.cs b/src/slskd/Common/Exceptions/ShareScanInProgressException.cs index b6b1a719..5b5b8a98 100644 --- a/src/slskd/Common/Exceptions/ShareScanInProgressException.cs +++ b/src/slskd/Common/Exceptions/ShareScanInProgressException.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd diff --git a/src/slskd/Common/Exceptions/ShareValidationException.cs b/src/slskd/Common/Exceptions/ShareValidationException.cs index c214556e..4b23070f 100644 --- a/src/slskd/Common/Exceptions/ShareValidationException.cs +++ b/src/slskd/Common/Exceptions/ShareValidationException.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd diff --git a/src/slskd/Common/Exceptions/SlskdException.cs b/src/slskd/Common/Exceptions/SlskdException.cs index db5131c9..613c7d8c 100644 --- a/src/slskd/Common/Exceptions/SlskdException.cs +++ b/src/slskd/Common/Exceptions/SlskdException.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd diff --git a/src/slskd/Common/Exceptions/UnauthorizedException.cs b/src/slskd/Common/Exceptions/UnauthorizedException.cs index de1cac3e..fd958b07 100644 --- a/src/slskd/Common/Exceptions/UnauthorizedException.cs +++ b/src/slskd/Common/Exceptions/UnauthorizedException.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd diff --git a/src/slskd/Common/Exceptions/VPNClientException.cs b/src/slskd/Common/Exceptions/VPNClientException.cs index d7e505d7..f950ae63 100644 --- a/src/slskd/Common/Exceptions/VPNClientException.cs +++ b/src/slskd/Common/Exceptions/VPNClientException.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd diff --git a/src/slskd/Common/ExponentialMovingAverage.cs b/src/slskd/Common/ExponentialMovingAverage.cs index 76e39333..677f2ba4 100644 --- a/src/slskd/Common/ExponentialMovingAverage.cs +++ b/src/slskd/Common/ExponentialMovingAverage.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // using System; diff --git a/src/slskd/Common/GitHub.cs b/src/slskd/Common/GitHub.cs index e0483f32..3275accb 100644 --- a/src/slskd/Common/GitHub.cs +++ b/src/slskd/Common/GitHub.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd diff --git a/src/slskd/Common/JsonConverters/IPAddressConverter.cs b/src/slskd/Common/JsonConverters/IPAddressConverter.cs index 00ef5a4c..808f61aa 100644 --- a/src/slskd/Common/JsonConverters/IPAddressConverter.cs +++ b/src/slskd/Common/JsonConverters/IPAddressConverter.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd diff --git a/src/slskd/Common/JsonConverters/IPEndPointConverter.cs b/src/slskd/Common/JsonConverters/IPEndPointConverter.cs index eb2c219a..57a257dd 100644 --- a/src/slskd/Common/JsonConverters/IPEndPointConverter.cs +++ b/src/slskd/Common/JsonConverters/IPEndPointConverter.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd diff --git a/src/slskd/Common/JsonConverters/KnownUnsupportedTypeConverter.cs b/src/slskd/Common/JsonConverters/KnownUnsupportedTypeConverter.cs index e7523f36..278d58e3 100644 --- a/src/slskd/Common/JsonConverters/KnownUnsupportedTypeConverter.cs +++ b/src/slskd/Common/JsonConverters/KnownUnsupportedTypeConverter.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd; diff --git a/src/slskd/Common/Logging/Checkpointer.cs b/src/slskd/Common/Logging/Checkpointer.cs index 08a6f2d9..2af567a2 100644 --- a/src/slskd/Common/Logging/Checkpointer.cs +++ b/src/slskd/Common/Logging/Checkpointer.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd; diff --git a/src/slskd/Common/Logging/ConsoleWriteLineLogger.cs b/src/slskd/Common/Logging/ConsoleWriteLineLogger.cs index d7904b7a..14e66727 100644 --- a/src/slskd/Common/Logging/ConsoleWriteLineLogger.cs +++ b/src/slskd/Common/Logging/ConsoleWriteLineLogger.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd diff --git a/src/slskd/Common/Logging/DelegatingSink.cs b/src/slskd/Common/Logging/DelegatingSink.cs index 75b0e60f..613799ac 100644 --- a/src/slskd/Common/Logging/DelegatingSink.cs +++ b/src/slskd/Common/Logging/DelegatingSink.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd diff --git a/src/slskd/Common/Logging/LogRecord.cs b/src/slskd/Common/Logging/LogRecord.cs index 0ca3534c..5ad80575 100644 --- a/src/slskd/Common/Logging/LogRecord.cs +++ b/src/slskd/Common/Logging/LogRecord.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd diff --git a/src/slskd/Common/ManagedState.cs b/src/slskd/Common/ManagedState.cs index 9ac38474..cc71e9d2 100644 --- a/src/slskd/Common/ManagedState.cs +++ b/src/slskd/Common/ManagedState.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd diff --git a/src/slskd/Common/Middleware/HTMLInjectionMiddleware.cs b/src/slskd/Common/Middleware/HTMLInjectionMiddleware.cs index 5a073b54..92600d34 100644 --- a/src/slskd/Common/Middleware/HTMLInjectionMiddleware.cs +++ b/src/slskd/Common/Middleware/HTMLInjectionMiddleware.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd diff --git a/src/slskd/Common/Middleware/HTMLRewriteMiddleware.cs b/src/slskd/Common/Middleware/HTMLRewriteMiddleware.cs index a276bdea..d29e11fc 100644 --- a/src/slskd/Common/Middleware/HTMLRewriteMiddleware.cs +++ b/src/slskd/Common/Middleware/HTMLRewriteMiddleware.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd diff --git a/src/slskd/Common/Middleware/UrlEncodingModelBinder.cs b/src/slskd/Common/Middleware/UrlEncodingModelBinder.cs index 27ea3258..f2ac7b54 100644 --- a/src/slskd/Common/Middleware/UrlEncodingModelBinder.cs +++ b/src/slskd/Common/Middleware/UrlEncodingModelBinder.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd; diff --git a/src/slskd/Common/OpenAPI/ContentNegotiationOperationFilter.cs b/src/slskd/Common/OpenAPI/ContentNegotiationOperationFilter.cs index db5c4baa..9a915547 100644 --- a/src/slskd/Common/OpenAPI/ContentNegotiationOperationFilter.cs +++ b/src/slskd/Common/OpenAPI/ContentNegotiationOperationFilter.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd; diff --git a/src/slskd/Common/RateLimiter.cs b/src/slskd/Common/RateLimiter.cs index b57c2f88..005b2762 100644 --- a/src/slskd/Common/RateLimiter.cs +++ b/src/slskd/Common/RateLimiter.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd diff --git a/src/slskd/Common/Redactor.cs b/src/slskd/Common/Redactor.cs index e819a6a8..d128d514 100644 --- a/src/slskd/Common/Redactor.cs +++ b/src/slskd/Common/Redactor.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd diff --git a/src/slskd/Common/Retry.cs b/src/slskd/Common/Retry.cs index 457d32fb..3ef51fb4 100644 --- a/src/slskd/Common/Retry.cs +++ b/src/slskd/Common/Retry.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd diff --git a/src/slskd/Common/Sqlite.cs b/src/slskd/Common/Sqlite.cs index 14460da1..bfd3b752 100644 --- a/src/slskd/Common/Sqlite.cs +++ b/src/slskd/Common/Sqlite.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd diff --git a/src/slskd/Common/TimedCounter.cs b/src/slskd/Common/TimedCounter.cs index c65ca7e3..07d5d323 100644 --- a/src/slskd/Common/TimedCounter.cs +++ b/src/slskd/Common/TimedCounter.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // using System; diff --git a/src/slskd/Common/TokenBucket.cs b/src/slskd/Common/TokenBucket.cs index edd6ca7f..b8a3eeed 100644 --- a/src/slskd/Common/TokenBucket.cs +++ b/src/slskd/Common/TokenBucket.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd diff --git a/src/slskd/Common/UserEndPointCache.cs b/src/slskd/Common/UserEndPointCache.cs index 29164cc4..88ef252f 100644 --- a/src/slskd/Common/UserEndPointCache.cs +++ b/src/slskd/Common/UserEndPointCache.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd diff --git a/src/slskd/Common/Validation/AbsoluteFilePathAttribute.cs b/src/slskd/Common/Validation/AbsoluteFilePathAttribute.cs index fc70d9ea..867a0416 100644 --- a/src/slskd/Common/Validation/AbsoluteFilePathAttribute.cs +++ b/src/slskd/Common/Validation/AbsoluteFilePathAttribute.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Validation diff --git a/src/slskd/Common/Validation/CompositeValidationResult.cs b/src/slskd/Common/Validation/CompositeValidationResult.cs index 5484ae64..d713e225 100644 --- a/src/slskd/Common/Validation/CompositeValidationResult.cs +++ b/src/slskd/Common/Validation/CompositeValidationResult.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Validation diff --git a/src/slskd/Common/Validation/DirectoryExistsAttributes.cs b/src/slskd/Common/Validation/DirectoryExistsAttributes.cs index e8bf0224..469c7c44 100644 --- a/src/slskd/Common/Validation/DirectoryExistsAttributes.cs +++ b/src/slskd/Common/Validation/DirectoryExistsAttributes.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Validation diff --git a/src/slskd/Common/Validation/EnumAttribute.cs b/src/slskd/Common/Validation/EnumAttribute.cs index ac3e4ce7..3ada18cc 100644 --- a/src/slskd/Common/Validation/EnumAttribute.cs +++ b/src/slskd/Common/Validation/EnumAttribute.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Validation diff --git a/src/slskd/Common/Validation/Extensions.cs b/src/slskd/Common/Validation/Extensions.cs index 87d83965..ae89e710 100644 --- a/src/slskd/Common/Validation/Extensions.cs +++ b/src/slskd/Common/Validation/Extensions.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Validation diff --git a/src/slskd/Common/Validation/FileDoesNotExistAttribute.cs b/src/slskd/Common/Validation/FileDoesNotExistAttribute.cs index 69e01310..214d1569 100644 --- a/src/slskd/Common/Validation/FileDoesNotExistAttribute.cs +++ b/src/slskd/Common/Validation/FileDoesNotExistAttribute.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Validation diff --git a/src/slskd/Common/Validation/FileExistsAttribute.cs b/src/slskd/Common/Validation/FileExistsAttribute.cs index eae2b44a..0729f005 100644 --- a/src/slskd/Common/Validation/FileExistsAttribute.cs +++ b/src/slskd/Common/Validation/FileExistsAttribute.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Validation diff --git a/src/slskd/Common/Validation/IPAddressAttribute.cs b/src/slskd/Common/Validation/IPAddressAttribute.cs index b9075808..d4493902 100644 --- a/src/slskd/Common/Validation/IPAddressAttribute.cs +++ b/src/slskd/Common/Validation/IPAddressAttribute.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Validation diff --git a/src/slskd/Common/Validation/NotNullOrWhiteSpaceAttribute.cs b/src/slskd/Common/Validation/NotNullOrWhiteSpaceAttribute.cs index 852e9f69..843cebfe 100644 --- a/src/slskd/Common/Validation/NotNullOrWhiteSpaceAttribute.cs +++ b/src/slskd/Common/Validation/NotNullOrWhiteSpaceAttribute.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Validation diff --git a/src/slskd/Common/Validation/ValidateAttribute.cs b/src/slskd/Common/Validation/ValidateAttribute.cs index 540e61bc..4181e818 100644 --- a/src/slskd/Common/Validation/ValidateAttribute.cs +++ b/src/slskd/Common/Validation/ValidateAttribute.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Validation diff --git a/src/slskd/Common/Validation/ValidationExtensions.cs b/src/slskd/Common/Validation/ValidationExtensions.cs index a29667a2..2cf47fa8 100644 --- a/src/slskd/Common/Validation/ValidationExtensions.cs +++ b/src/slskd/Common/Validation/ValidationExtensions.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Validation diff --git a/src/slskd/Common/Validation/X509CertificateAttribute.cs b/src/slskd/Common/Validation/X509CertificateAttribute.cs index 7a080882..0fe8d021 100644 --- a/src/slskd/Common/Validation/X509CertificateAttribute.cs +++ b/src/slskd/Common/Validation/X509CertificateAttribute.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Validation diff --git a/src/slskd/Common/WaitKey.cs b/src/slskd/Common/WaitKey.cs index 302064db..324aae58 100644 --- a/src/slskd/Common/WaitKey.cs +++ b/src/slskd/Common/WaitKey.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd diff --git a/src/slskd/Common/Waiter.cs b/src/slskd/Common/Waiter.cs index d32f23b4..835000e0 100644 --- a/src/slskd/Common/Waiter.cs +++ b/src/slskd/Common/Waiter.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd diff --git a/src/slskd/Core/API/Controllers/ApplicationController.cs b/src/slskd/Core/API/Controllers/ApplicationController.cs index be646ae7..06c50102 100644 --- a/src/slskd/Core/API/Controllers/ApplicationController.cs +++ b/src/slskd/Core/API/Controllers/ApplicationController.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // using Microsoft.Extensions.Options; diff --git a/src/slskd/Core/API/Controllers/LogsController.cs b/src/slskd/Core/API/Controllers/LogsController.cs index 544cdfa0..e7af8ecc 100644 --- a/src/slskd/Core/API/Controllers/LogsController.cs +++ b/src/slskd/Core/API/Controllers/LogsController.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Core.API diff --git a/src/slskd/Core/API/Controllers/OptionsController.cs b/src/slskd/Core/API/Controllers/OptionsController.cs index f5c1a5b6..e51bc364 100644 --- a/src/slskd/Core/API/Controllers/OptionsController.cs +++ b/src/slskd/Core/API/Controllers/OptionsController.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // using Microsoft.Extensions.Options; diff --git a/src/slskd/Core/API/Controllers/ServerController.cs b/src/slskd/Core/API/Controllers/ServerController.cs index da777b02..577c8d5c 100644 --- a/src/slskd/Core/API/Controllers/ServerController.cs +++ b/src/slskd/Core/API/Controllers/ServerController.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // using Microsoft.Extensions.Options; diff --git a/src/slskd/Core/API/Controllers/SessionController.cs b/src/slskd/Core/API/Controllers/SessionController.cs index cfcb3f23..beb0af5a 100644 --- a/src/slskd/Core/API/Controllers/SessionController.cs +++ b/src/slskd/Core/API/Controllers/SessionController.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // using Microsoft.Extensions.Options; diff --git a/src/slskd/Core/API/DTO/LoginRequest.cs b/src/slskd/Core/API/DTO/LoginRequest.cs index 0653847d..35c6802f 100644 --- a/src/slskd/Core/API/DTO/LoginRequest.cs +++ b/src/slskd/Core/API/DTO/LoginRequest.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Core.API diff --git a/src/slskd/Core/API/DTO/ServerState.cs b/src/slskd/Core/API/DTO/ServerState.cs index ec0aa937..cbbade6e 100644 --- a/src/slskd/Core/API/DTO/ServerState.cs +++ b/src/slskd/Core/API/DTO/ServerState.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Core.API diff --git a/src/slskd/Core/API/DTO/TokenResponse.cs b/src/slskd/Core/API/DTO/TokenResponse.cs index 47cfd335..610d4394 100644 --- a/src/slskd/Core/API/DTO/TokenResponse.cs +++ b/src/slskd/Core/API/DTO/TokenResponse.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Core.API diff --git a/src/slskd/Core/API/Hubs/ApplicationHub.cs b/src/slskd/Core/API/Hubs/ApplicationHub.cs index 063dfd2b..6864ad28 100644 --- a/src/slskd/Core/API/Hubs/ApplicationHub.cs +++ b/src/slskd/Core/API/Hubs/ApplicationHub.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // using Microsoft.Extensions.Options; diff --git a/src/slskd/Core/API/Hubs/LogsHub.cs b/src/slskd/Core/API/Hubs/LogsHub.cs index 2bd30192..070c555c 100644 --- a/src/slskd/Core/API/Hubs/LogsHub.cs +++ b/src/slskd/Core/API/Hubs/LogsHub.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Core.API diff --git a/src/slskd/Core/Blacklist.cs b/src/slskd/Core/Blacklist.cs index 84e6feb6..4694c2a0 100644 --- a/src/slskd/Core/Blacklist.cs +++ b/src/slskd/Core/Blacklist.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd; diff --git a/src/slskd/Core/CacheKeys.cs b/src/slskd/Core/CacheKeys.cs index b5a335c1..310d6179 100644 --- a/src/slskd/Core/CacheKeys.cs +++ b/src/slskd/Core/CacheKeys.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd diff --git a/src/slskd/Core/Clock.cs b/src/slskd/Core/Clock.cs index a111f40d..254d9ead 100644 --- a/src/slskd/Core/Clock.cs +++ b/src/slskd/Core/Clock.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd diff --git a/src/slskd/Core/ConnectionWatchdog.cs b/src/slskd/Core/ConnectionWatchdog.cs index c802e489..d8f64f59 100644 --- a/src/slskd/Core/ConnectionWatchdog.cs +++ b/src/slskd/Core/ConnectionWatchdog.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // using Microsoft.Extensions.Options; diff --git a/src/slskd/Core/Constants.cs b/src/slskd/Core/Constants.cs index 380a3519..2b6841e0 100644 --- a/src/slskd/Core/Constants.cs +++ b/src/slskd/Core/Constants.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd; diff --git a/src/slskd/Core/Data/ConnectionString.cs b/src/slskd/Core/Data/ConnectionString.cs index a02b30a4..77fcd33b 100644 --- a/src/slskd/Core/Data/ConnectionString.cs +++ b/src/slskd/Core/Data/ConnectionString.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd; diff --git a/src/slskd/Core/Data/ConnectionStringDictionary.cs b/src/slskd/Core/Data/ConnectionStringDictionary.cs index 26bf9f4a..68e6bf50 100644 --- a/src/slskd/Core/Data/ConnectionStringDictionary.cs +++ b/src/slskd/Core/Data/ConnectionStringDictionary.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd; diff --git a/src/slskd/Core/Data/Databases.cs b/src/slskd/Core/Data/Databases.cs index a5d51ea6..7ee275be 100644 --- a/src/slskd/Core/Data/Databases.cs +++ b/src/slskd/Core/Data/Databases.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd; diff --git a/src/slskd/Core/Data/IMigration.cs b/src/slskd/Core/Data/IMigration.cs index 18b198b2..b4f76768 100644 --- a/src/slskd/Core/Data/IMigration.cs +++ b/src/slskd/Core/Data/IMigration.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd; diff --git a/src/slskd/Core/Data/Migrations/Z2025_04_01_TransferStateMigration.cs b/src/slskd/Core/Data/Migrations/Z2025_04_01_TransferStateMigration.cs index 146541dd..6cb852b2 100644 --- a/src/slskd/Core/Data/Migrations/Z2025_04_01_TransferStateMigration.cs +++ b/src/slskd/Core/Data/Migrations/Z2025_04_01_TransferStateMigration.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Migrations; diff --git a/src/slskd/Core/Data/Migrations/Z2025_07_06_TransferIndexesMigration.cs b/src/slskd/Core/Data/Migrations/Z2025_07_06_TransferIndexesMigration.cs index df93f685..67416728 100644 --- a/src/slskd/Core/Data/Migrations/Z2025_07_06_TransferIndexesMigration.cs +++ b/src/slskd/Core/Data/Migrations/Z2025_07_06_TransferIndexesMigration.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Migrations; diff --git a/src/slskd/Core/Data/Migrations/Z2025_07_26_PrivateMessageWasReplayedMigration.cs b/src/slskd/Core/Data/Migrations/Z2025_07_26_PrivateMessageWasReplayedMigration.cs index c3f3664b..55c2c775 100644 --- a/src/slskd/Core/Data/Migrations/Z2025_07_26_PrivateMessageWasReplayedMigration.cs +++ b/src/slskd/Core/Data/Migrations/Z2025_07_26_PrivateMessageWasReplayedMigration.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Migrations; diff --git a/src/slskd/Core/Data/Migrations/Z2025_12_28_AdditionalTransferIndexesMigration.cs b/src/slskd/Core/Data/Migrations/Z2025_12_28_AdditionalTransferIndexesMigration.cs index e66cc59d..32480462 100644 --- a/src/slskd/Core/Data/Migrations/Z2025_12_28_AdditionalTransferIndexesMigration.cs +++ b/src/slskd/Core/Data/Migrations/Z2025_12_28_AdditionalTransferIndexesMigration.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Migrations; diff --git a/src/slskd/Core/Data/Migrations/Z2026_02_17_TransferAttemptsAndBatchIdMigration.cs b/src/slskd/Core/Data/Migrations/Z2026_02_17_TransferAttemptsAndBatchIdMigration.cs index 5965f7b7..adb01d2c 100644 --- a/src/slskd/Core/Data/Migrations/Z2026_02_17_TransferAttemptsAndBatchIdMigration.cs +++ b/src/slskd/Core/Data/Migrations/Z2026_02_17_TransferAttemptsAndBatchIdMigration.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Migrations; diff --git a/src/slskd/Core/Data/Migrator.cs b/src/slskd/Core/Data/Migrator.cs index c1089090..8f0e26fc 100644 --- a/src/slskd/Core/Data/Migrator.cs +++ b/src/slskd/Core/Data/Migrator.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd; diff --git a/src/slskd/Core/Data/SchemaInspector.cs b/src/slskd/Core/Data/SchemaInspector.cs index d4fadfba..70d7a467 100644 --- a/src/slskd/Core/Data/SchemaInspector.cs +++ b/src/slskd/Core/Data/SchemaInspector.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd; diff --git a/src/slskd/Core/Data/SqlitePragmaInterceptor.cs b/src/slskd/Core/Data/SqlitePragmaInterceptor.cs index b32982b1..6333e26e 100644 --- a/src/slskd/Core/Data/SqlitePragmaInterceptor.cs +++ b/src/slskd/Core/Data/SqlitePragmaInterceptor.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd diff --git a/src/slskd/Core/Extensions.cs b/src/slskd/Core/Extensions.cs index 0789fa38..b2cd1597 100644 --- a/src/slskd/Core/Extensions.cs +++ b/src/slskd/Core/Extensions.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd diff --git a/src/slskd/Core/Options.cs b/src/slskd/Core/Options.cs index fca2f91c..c6ed6b52 100644 --- a/src/slskd/Core/Options.cs +++ b/src/slskd/Core/Options.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // using Microsoft.Extensions.Options; diff --git a/src/slskd/Core/OptionsOverlay.cs b/src/slskd/Core/OptionsOverlay.cs index 4edd3b02..f70eb567 100644 --- a/src/slskd/Core/OptionsOverlay.cs +++ b/src/slskd/Core/OptionsOverlay.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd { diff --git a/src/slskd/Core/Security/SecurityService.cs b/src/slskd/Core/Security/SecurityService.cs index 84071c93..38af9975 100644 --- a/src/slskd/Core/Security/SecurityService.cs +++ b/src/slskd/Core/Security/SecurityService.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // using Microsoft.Extensions.Options; diff --git a/src/slskd/Core/State.cs b/src/slskd/Core/State.cs index cd742348..02edcd70 100644 --- a/src/slskd/Core/State.cs +++ b/src/slskd/Core/State.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd diff --git a/src/slskd/Events/API/EventsController.cs b/src/slskd/Events/API/EventsController.cs index cd6400ca..3d5f73ac 100644 --- a/src/slskd/Events/API/EventsController.cs +++ b/src/slskd/Events/API/EventsController.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Events.API; diff --git a/src/slskd/Events/EventBus.cs b/src/slskd/Events/EventBus.cs index 2ddf9b1f..e74df57a 100644 --- a/src/slskd/Events/EventBus.cs +++ b/src/slskd/Events/EventBus.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Events; diff --git a/src/slskd/Events/EventService.cs b/src/slskd/Events/EventService.cs index 6dc61c13..5f535e0a 100644 --- a/src/slskd/Events/EventService.cs +++ b/src/slskd/Events/EventService.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Events; diff --git a/src/slskd/Events/EventsDbContext.cs b/src/slskd/Events/EventsDbContext.cs index 8b45a803..2862b87a 100644 --- a/src/slskd/Events/EventsDbContext.cs +++ b/src/slskd/Events/EventsDbContext.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Events; diff --git a/src/slskd/Events/Types/EventRecord.cs b/src/slskd/Events/Types/EventRecord.cs index 685a090c..101c20b9 100644 --- a/src/slskd/Events/Types/EventRecord.cs +++ b/src/slskd/Events/Types/EventRecord.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Events; diff --git a/src/slskd/Events/Types/Events.cs b/src/slskd/Events/Types/Events.cs index d67396dc..a35f7f5a 100644 --- a/src/slskd/Events/Types/Events.cs +++ b/src/slskd/Events/Types/Events.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Events; diff --git a/src/slskd/Files/API/FilesController.cs b/src/slskd/Files/API/FilesController.cs index 1ced3e63..2280b077 100644 --- a/src/slskd/Files/API/FilesController.cs +++ b/src/slskd/Files/API/FilesController.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // using Microsoft.Extensions.Options; diff --git a/src/slskd/Files/FileExtensions.cs b/src/slskd/Files/FileExtensions.cs index 4a0a2369..a298c884 100644 --- a/src/slskd/Files/FileExtensions.cs +++ b/src/slskd/Files/FileExtensions.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Files; diff --git a/src/slskd/Files/FileService.cs b/src/slskd/Files/FileService.cs index a325a588..1018f958 100644 --- a/src/slskd/Files/FileService.cs +++ b/src/slskd/Files/FileService.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // using Microsoft.Extensions.Options; diff --git a/src/slskd/Files/Types/CreateFileOptions.cs b/src/slskd/Files/Types/CreateFileOptions.cs index 26d6e7d4..fb04a212 100644 --- a/src/slskd/Files/Types/CreateFileOptions.cs +++ b/src/slskd/Files/Types/CreateFileOptions.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Files; diff --git a/src/slskd/Files/Types/FilesystemDirectory.cs b/src/slskd/Files/Types/FilesystemDirectory.cs index 6628ce15..344f4e3f 100644 --- a/src/slskd/Files/Types/FilesystemDirectory.cs +++ b/src/slskd/Files/Types/FilesystemDirectory.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Files diff --git a/src/slskd/Files/Types/FilesystemFile.cs b/src/slskd/Files/Types/FilesystemFile.cs index 0b6feeb5..7325f733 100644 --- a/src/slskd/Files/Types/FilesystemFile.cs +++ b/src/slskd/Files/Types/FilesystemFile.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Files diff --git a/src/slskd/Integrations/FTP/FTPClientFactory.cs b/src/slskd/Integrations/FTP/FTPClientFactory.cs index 13f78554..c5e1425c 100644 --- a/src/slskd/Integrations/FTP/FTPClientFactory.cs +++ b/src/slskd/Integrations/FTP/FTPClientFactory.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // using Microsoft.Extensions.Options; diff --git a/src/slskd/Integrations/FTP/FTPService.cs b/src/slskd/Integrations/FTP/FTPService.cs index 81defaaa..61eee9fb 100644 --- a/src/slskd/Integrations/FTP/FTPService.cs +++ b/src/slskd/Integrations/FTP/FTPService.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // using Microsoft.Extensions.Options; diff --git a/src/slskd/Integrations/FTP/IFTPClientFactory.cs b/src/slskd/Integrations/FTP/IFTPClientFactory.cs index 8350bbf7..e96fffc0 100644 --- a/src/slskd/Integrations/FTP/IFTPClientFactory.cs +++ b/src/slskd/Integrations/FTP/IFTPClientFactory.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Integrations.FTP diff --git a/src/slskd/Integrations/FTP/IFTPService.cs b/src/slskd/Integrations/FTP/IFTPService.cs index 543138f3..21c4cc3c 100644 --- a/src/slskd/Integrations/FTP/IFTPService.cs +++ b/src/slskd/Integrations/FTP/IFTPService.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Integrations.FTP diff --git a/src/slskd/Integrations/Pushbullet/IPushbulletService.cs b/src/slskd/Integrations/Pushbullet/IPushbulletService.cs index bad33903..c3713567 100644 --- a/src/slskd/Integrations/Pushbullet/IPushbulletService.cs +++ b/src/slskd/Integrations/Pushbullet/IPushbulletService.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Integrations.Pushbullet diff --git a/src/slskd/Integrations/Pushbullet/PushbulletService.cs b/src/slskd/Integrations/Pushbullet/PushbulletService.cs index 2f24befd..d049c830 100644 --- a/src/slskd/Integrations/Pushbullet/PushbulletService.cs +++ b/src/slskd/Integrations/Pushbullet/PushbulletService.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // using Microsoft.Extensions.Options; diff --git a/src/slskd/Integrations/Scripts/ScriptService.cs b/src/slskd/Integrations/Scripts/ScriptService.cs index 9b47afe7..eba1e5d1 100644 --- a/src/slskd/Integrations/Scripts/ScriptService.cs +++ b/src/slskd/Integrations/Scripts/ScriptService.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // using Microsoft.Extensions.Options; diff --git a/src/slskd/Integrations/VPN/Clients/Gluetun.cs b/src/slskd/Integrations/VPN/Clients/Gluetun.cs index 136c9c05..fb0c9e37 100644 --- a/src/slskd/Integrations/VPN/Clients/Gluetun.cs +++ b/src/slskd/Integrations/VPN/Clients/Gluetun.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // using Microsoft.Extensions.Options; diff --git a/src/slskd/Integrations/VPN/IVPNClient.cs b/src/slskd/Integrations/VPN/IVPNClient.cs index 0b4a872d..5a4acfb1 100644 --- a/src/slskd/Integrations/VPN/IVPNClient.cs +++ b/src/slskd/Integrations/VPN/IVPNClient.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // using System.Threading.Tasks; diff --git a/src/slskd/Integrations/VPN/VPNService.cs b/src/slskd/Integrations/VPN/VPNService.cs index c0a65f00..cc8d7123 100644 --- a/src/slskd/Integrations/VPN/VPNService.cs +++ b/src/slskd/Integrations/VPN/VPNService.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // using Microsoft.Extensions.Options; diff --git a/src/slskd/Integrations/VPN/VPNStatus.cs b/src/slskd/Integrations/VPN/VPNStatus.cs index c6e3d242..134b3093 100644 --- a/src/slskd/Integrations/VPN/VPNStatus.cs +++ b/src/slskd/Integrations/VPN/VPNStatus.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // using System.Net; diff --git a/src/slskd/Integrations/Webhooks/WebhookService.cs b/src/slskd/Integrations/Webhooks/WebhookService.cs index deff3368..7cc60ef3 100644 --- a/src/slskd/Integrations/Webhooks/WebhookService.cs +++ b/src/slskd/Integrations/Webhooks/WebhookService.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // using Microsoft.Extensions.Options; diff --git a/src/slskd/Messaging/API/Controllers/ConversationsController.cs b/src/slskd/Messaging/API/Controllers/ConversationsController.cs index 6c647272..544f8745 100644 --- a/src/slskd/Messaging/API/Controllers/ConversationsController.cs +++ b/src/slskd/Messaging/API/Controllers/ConversationsController.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // using Microsoft.Extensions.Options; diff --git a/src/slskd/Messaging/API/Controllers/RoomsController.cs b/src/slskd/Messaging/API/Controllers/RoomsController.cs index 64c8b938..2894a0b3 100644 --- a/src/slskd/Messaging/API/Controllers/RoomsController.cs +++ b/src/slskd/Messaging/API/Controllers/RoomsController.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // using Microsoft.Extensions.Options; diff --git a/src/slskd/Messaging/API/DTO/RoomInfoResponse.cs b/src/slskd/Messaging/API/DTO/RoomInfoResponse.cs index 46edbdc8..cc5be2f9 100644 --- a/src/slskd/Messaging/API/DTO/RoomInfoResponse.cs +++ b/src/slskd/Messaging/API/DTO/RoomInfoResponse.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Messaging.API diff --git a/src/slskd/Messaging/API/DTO/RoomMessageResponse.cs b/src/slskd/Messaging/API/DTO/RoomMessageResponse.cs index 965c63a6..c1f34392 100644 --- a/src/slskd/Messaging/API/DTO/RoomMessageResponse.cs +++ b/src/slskd/Messaging/API/DTO/RoomMessageResponse.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Messaging.API diff --git a/src/slskd/Messaging/API/DTO/RoomResponse.cs b/src/slskd/Messaging/API/DTO/RoomResponse.cs index cf7e1478..db165ee0 100644 --- a/src/slskd/Messaging/API/DTO/RoomResponse.cs +++ b/src/slskd/Messaging/API/DTO/RoomResponse.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Messaging.API diff --git a/src/slskd/Messaging/API/DTO/UserDataResponse.cs b/src/slskd/Messaging/API/DTO/UserDataResponse.cs index 8f1e9544..0513178e 100644 --- a/src/slskd/Messaging/API/DTO/UserDataResponse.cs +++ b/src/slskd/Messaging/API/DTO/UserDataResponse.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Messaging.API diff --git a/src/slskd/Messaging/ConversationService.cs b/src/slskd/Messaging/ConversationService.cs index b39162d6..9991aae8 100644 --- a/src/slskd/Messaging/ConversationService.cs +++ b/src/slskd/Messaging/ConversationService.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Messaging diff --git a/src/slskd/Messaging/IRoomTracker.cs b/src/slskd/Messaging/IRoomTracker.cs index 225e5f69..0b3d68e5 100644 --- a/src/slskd/Messaging/IRoomTracker.cs +++ b/src/slskd/Messaging/IRoomTracker.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Messaging diff --git a/src/slskd/Messaging/MessagingDbContext.cs b/src/slskd/Messaging/MessagingDbContext.cs index c6352c6e..c0652265 100644 --- a/src/slskd/Messaging/MessagingDbContext.cs +++ b/src/slskd/Messaging/MessagingDbContext.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Messaging diff --git a/src/slskd/Messaging/MessagingService.cs b/src/slskd/Messaging/MessagingService.cs index d8ec40b6..960598d2 100644 --- a/src/slskd/Messaging/MessagingService.cs +++ b/src/slskd/Messaging/MessagingService.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Messaging diff --git a/src/slskd/Messaging/RoomService.cs b/src/slskd/Messaging/RoomService.cs index e85de4a4..e8b1cc43 100644 --- a/src/slskd/Messaging/RoomService.cs +++ b/src/slskd/Messaging/RoomService.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // using Microsoft.Extensions.Options; diff --git a/src/slskd/Messaging/RoomTracker.cs b/src/slskd/Messaging/RoomTracker.cs index c586f401..60e43be3 100644 --- a/src/slskd/Messaging/RoomTracker.cs +++ b/src/slskd/Messaging/RoomTracker.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Messaging diff --git a/src/slskd/Messaging/Types/Conversation.cs b/src/slskd/Messaging/Types/Conversation.cs index 6fabfcf1..d43753b2 100644 --- a/src/slskd/Messaging/Types/Conversation.cs +++ b/src/slskd/Messaging/Types/Conversation.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Messaging diff --git a/src/slskd/Messaging/Types/MessageDirection.cs b/src/slskd/Messaging/Types/MessageDirection.cs index e0b9a0b5..662103dc 100644 --- a/src/slskd/Messaging/Types/MessageDirection.cs +++ b/src/slskd/Messaging/Types/MessageDirection.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Messaging diff --git a/src/slskd/Messaging/Types/PrivateMessage.cs b/src/slskd/Messaging/Types/PrivateMessage.cs index a036520d..5eed1491 100644 --- a/src/slskd/Messaging/Types/PrivateMessage.cs +++ b/src/slskd/Messaging/Types/PrivateMessage.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Messaging diff --git a/src/slskd/Messaging/Types/Room.cs b/src/slskd/Messaging/Types/Room.cs index 459dea2c..c8a8e423 100644 --- a/src/slskd/Messaging/Types/Room.cs +++ b/src/slskd/Messaging/Types/Room.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Messaging diff --git a/src/slskd/Messaging/Types/RoomMessage.cs b/src/slskd/Messaging/Types/RoomMessage.cs index 6d109464..4c6477e8 100644 --- a/src/slskd/Messaging/Types/RoomMessage.cs +++ b/src/slskd/Messaging/Types/RoomMessage.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Messaging diff --git a/src/slskd/Program.cs b/src/slskd/Program.cs index d1b5cb9f..8b30de11 100644 --- a/src/slskd/Program.cs +++ b/src/slskd/Program.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // using Microsoft.Extensions.Logging; diff --git a/src/slskd/Relay/API/Controllers/RelayController.cs b/src/slskd/Relay/API/Controllers/RelayController.cs index 583225fd..7c80c9a3 100644 --- a/src/slskd/Relay/API/Controllers/RelayController.cs +++ b/src/slskd/Relay/API/Controllers/RelayController.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // using Microsoft.Extensions.Options; diff --git a/src/slskd/Relay/API/Hubs/RelayHub.cs b/src/slskd/Relay/API/Hubs/RelayHub.cs index dd39583a..09ac32c6 100644 --- a/src/slskd/Relay/API/Hubs/RelayHub.cs +++ b/src/slskd/Relay/API/Hubs/RelayHub.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // using Microsoft.Extensions.Options; diff --git a/src/slskd/Relay/IRelayClient.cs b/src/slskd/Relay/IRelayClient.cs index 376f3eaf..75360cb4 100644 --- a/src/slskd/Relay/IRelayClient.cs +++ b/src/slskd/Relay/IRelayClient.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Relay diff --git a/src/slskd/Relay/NullRelayClient.cs b/src/slskd/Relay/NullRelayClient.cs index bfb23cf7..7f324e10 100644 --- a/src/slskd/Relay/NullRelayClient.cs +++ b/src/slskd/Relay/NullRelayClient.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Relay diff --git a/src/slskd/Relay/RelayClient.cs b/src/slskd/Relay/RelayClient.cs index 3e1903fb..56fc53fc 100644 --- a/src/slskd/Relay/RelayClient.cs +++ b/src/slskd/Relay/RelayClient.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // using Microsoft.Extensions.Options; diff --git a/src/slskd/Relay/RelayService.cs b/src/slskd/Relay/RelayService.cs index 96eb9f74..1f196dc5 100644 --- a/src/slskd/Relay/RelayService.cs +++ b/src/slskd/Relay/RelayService.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // using Microsoft.Extensions.Options; diff --git a/src/slskd/Relay/Types/Agent.cs b/src/slskd/Relay/Types/Agent.cs index 6a70cbd2..a8c8a102 100644 --- a/src/slskd/Relay/Types/Agent.cs +++ b/src/slskd/Relay/Types/Agent.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Relay diff --git a/src/slskd/Relay/Types/RelayClientState.cs b/src/slskd/Relay/Types/RelayClientState.cs index 79f90e69..75a87b89 100644 --- a/src/slskd/Relay/Types/RelayClientState.cs +++ b/src/slskd/Relay/Types/RelayClientState.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Relay diff --git a/src/slskd/Relay/Types/RelayMode.cs b/src/slskd/Relay/Types/RelayMode.cs index 3663271c..0c707069 100644 --- a/src/slskd/Relay/Types/RelayMode.cs +++ b/src/slskd/Relay/Types/RelayMode.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Relay diff --git a/src/slskd/Search/API/Controllers/SearchesController.cs b/src/slskd/Search/API/Controllers/SearchesController.cs index 06ff4908..849d4d25 100644 --- a/src/slskd/Search/API/Controllers/SearchesController.cs +++ b/src/slskd/Search/API/Controllers/SearchesController.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // using Microsoft.Extensions.Options; diff --git a/src/slskd/Search/API/DTO/SearchRequest.cs b/src/slskd/Search/API/DTO/SearchRequest.cs index 32e5123c..2bc2d62d 100644 --- a/src/slskd/Search/API/DTO/SearchRequest.cs +++ b/src/slskd/Search/API/DTO/SearchRequest.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Search.API diff --git a/src/slskd/Search/API/Hubs/SearchHub.cs b/src/slskd/Search/API/Hubs/SearchHub.cs index e1cfb4b5..b96a2a69 100644 --- a/src/slskd/Search/API/Hubs/SearchHub.cs +++ b/src/slskd/Search/API/Hubs/SearchHub.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Search.API diff --git a/src/slskd/Search/Extensions.cs b/src/slskd/Search/Extensions.cs index 6a034e0a..d5e6c72b 100644 --- a/src/slskd/Search/Extensions.cs +++ b/src/slskd/Search/Extensions.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Search diff --git a/src/slskd/Search/SearchDbContext.cs b/src/slskd/Search/SearchDbContext.cs index 1d710e42..1a2db79e 100644 --- a/src/slskd/Search/SearchDbContext.cs +++ b/src/slskd/Search/SearchDbContext.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Search diff --git a/src/slskd/Search/SearchResponseCache.cs b/src/slskd/Search/SearchResponseCache.cs index c31a3a9b..ce552e63 100644 --- a/src/slskd/Search/SearchResponseCache.cs +++ b/src/slskd/Search/SearchResponseCache.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Search diff --git a/src/slskd/Search/SearchService.cs b/src/slskd/Search/SearchService.cs index 37630f98..e02929c4 100644 --- a/src/slskd/Search/SearchService.cs +++ b/src/slskd/Search/SearchService.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // using Microsoft.Extensions.Options; diff --git a/src/slskd/Search/Types/File.cs b/src/slskd/Search/Types/File.cs index 0a86eec3..7db97e29 100644 --- a/src/slskd/Search/Types/File.cs +++ b/src/slskd/Search/Types/File.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Search diff --git a/src/slskd/Search/Types/Response.cs b/src/slskd/Search/Types/Response.cs index 7f72082d..4a10ea1f 100644 --- a/src/slskd/Search/Types/Response.cs +++ b/src/slskd/Search/Types/Response.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Search diff --git a/src/slskd/Search/Types/Search.cs b/src/slskd/Search/Types/Search.cs index 577faf14..2d098ebd 100644 --- a/src/slskd/Search/Types/Search.cs +++ b/src/slskd/Search/Types/Search.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Search diff --git a/src/slskd/Shares/API/Controllers/SharesController.cs b/src/slskd/Shares/API/Controllers/SharesController.cs index 1c09396e..a6fc96c2 100644 --- a/src/slskd/Shares/API/Controllers/SharesController.cs +++ b/src/slskd/Shares/API/Controllers/SharesController.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Shares.API diff --git a/src/slskd/Shares/IShareRepository.cs b/src/slskd/Shares/IShareRepository.cs index cb6830d6..1a77a052 100644 --- a/src/slskd/Shares/IShareRepository.cs +++ b/src/slskd/Shares/IShareRepository.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Shares diff --git a/src/slskd/Shares/IShareRepositoryFactory.cs b/src/slskd/Shares/IShareRepositoryFactory.cs index 8c265e01..4d14ed1f 100644 --- a/src/slskd/Shares/IShareRepositoryFactory.cs +++ b/src/slskd/Shares/IShareRepositoryFactory.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Shares diff --git a/src/slskd/Shares/IShareService.cs b/src/slskd/Shares/IShareService.cs index 3b379c98..5498696b 100644 --- a/src/slskd/Shares/IShareService.cs +++ b/src/slskd/Shares/IShareService.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Shares diff --git a/src/slskd/Shares/ShareRepositoryFactory.cs b/src/slskd/Shares/ShareRepositoryFactory.cs index 9bc18f39..38fa5b80 100644 --- a/src/slskd/Shares/ShareRepositoryFactory.cs +++ b/src/slskd/Shares/ShareRepositoryFactory.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // using System.IO; diff --git a/src/slskd/Shares/ShareScanner.cs b/src/slskd/Shares/ShareScanner.cs index 6e32f81e..cd988bb3 100644 --- a/src/slskd/Shares/ShareScanner.cs +++ b/src/slskd/Shares/ShareScanner.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // using System.IO; diff --git a/src/slskd/Shares/ShareService.cs b/src/slskd/Shares/ShareService.cs index 9cd79a6c..331aa159 100644 --- a/src/slskd/Shares/ShareService.cs +++ b/src/slskd/Shares/ShareService.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // using Microsoft.Extensions.Options; diff --git a/src/slskd/Shares/SoulseekFileFactory.cs b/src/slskd/Shares/SoulseekFileFactory.cs index b071dcf1..2ea74ac1 100644 --- a/src/slskd/Shares/SoulseekFileFactory.cs +++ b/src/slskd/Shares/SoulseekFileFactory.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // using System.IO; diff --git a/src/slskd/Shares/SqliteShareRepository.cs b/src/slskd/Shares/SqliteShareRepository.cs index 1d4e6783..1ae0e33a 100644 --- a/src/slskd/Shares/SqliteShareRepository.cs +++ b/src/slskd/Shares/SqliteShareRepository.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Shares diff --git a/src/slskd/Shares/Types/Host.cs b/src/slskd/Shares/Types/Host.cs index 726bde67..89af4e02 100644 --- a/src/slskd/Shares/Types/Host.cs +++ b/src/slskd/Shares/Types/Host.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Shares diff --git a/src/slskd/Shares/Types/Scan.cs b/src/slskd/Shares/Types/Scan.cs index 86af6a8f..fecddebf 100644 --- a/src/slskd/Shares/Types/Scan.cs +++ b/src/slskd/Shares/Types/Scan.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Shares diff --git a/src/slskd/Shares/Types/Share.cs b/src/slskd/Shares/Types/Share.cs index 79389869..f57b1b61 100644 --- a/src/slskd/Shares/Types/Share.cs +++ b/src/slskd/Shares/Types/Share.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Shares diff --git a/src/slskd/Shares/Types/StorageMode.cs b/src/slskd/Shares/Types/StorageMode.cs index 2b7992f5..41a2bedb 100644 --- a/src/slskd/Shares/Types/StorageMode.cs +++ b/src/slskd/Shares/Types/StorageMode.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Shares diff --git a/src/slskd/Telemetry/API/MetricsController.cs b/src/slskd/Telemetry/API/MetricsController.cs index 3ed7c1e2..f17adb46 100644 --- a/src/slskd/Telemetry/API/MetricsController.cs +++ b/src/slskd/Telemetry/API/MetricsController.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Telemetry; diff --git a/src/slskd/Telemetry/API/ReportsController.cs b/src/slskd/Telemetry/API/ReportsController.cs index 677a93ed..198e24d6 100644 --- a/src/slskd/Telemetry/API/ReportsController.cs +++ b/src/slskd/Telemetry/API/ReportsController.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Telemetry; diff --git a/src/slskd/Telemetry/Metrics.cs b/src/slskd/Telemetry/Metrics.cs index 520d77a2..ed3269f4 100644 --- a/src/slskd/Telemetry/Metrics.cs +++ b/src/slskd/Telemetry/Metrics.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Telemetry; diff --git a/src/slskd/Telemetry/PrometheusService.cs b/src/slskd/Telemetry/PrometheusService.cs index 06235981..7addf873 100644 --- a/src/slskd/Telemetry/PrometheusService.cs +++ b/src/slskd/Telemetry/PrometheusService.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Telemetry; diff --git a/src/slskd/Telemetry/ReportsService.cs b/src/slskd/Telemetry/ReportsService.cs index da325dc0..6d7c1855 100644 --- a/src/slskd/Telemetry/ReportsService.cs +++ b/src/slskd/Telemetry/ReportsService.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Telemetry; diff --git a/src/slskd/Telemetry/TelemetryService.cs b/src/slskd/Telemetry/TelemetryService.cs index e122cbe4..9d7c6b67 100644 --- a/src/slskd/Telemetry/TelemetryService.cs +++ b/src/slskd/Telemetry/TelemetryService.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Telemetry; diff --git a/src/slskd/Telemetry/Types/DirectoryDetail.cs b/src/slskd/Telemetry/Types/DirectoryDetail.cs index 54901507..d7c47267 100644 --- a/src/slskd/Telemetry/Types/DirectoryDetail.cs +++ b/src/slskd/Telemetry/Types/DirectoryDetail.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // public record TransferDirectorySummary diff --git a/src/slskd/Telemetry/Types/LeaderboardSorting.cs b/src/slskd/Telemetry/Types/LeaderboardSorting.cs index e90a8c3d..9691f890 100644 --- a/src/slskd/Telemetry/Types/LeaderboardSorting.cs +++ b/src/slskd/Telemetry/Types/LeaderboardSorting.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Telemetry; diff --git a/src/slskd/Telemetry/Types/PrometheusMetric.cs b/src/slskd/Telemetry/Types/PrometheusMetric.cs index 05e2446d..ae959655 100644 --- a/src/slskd/Telemetry/Types/PrometheusMetric.cs +++ b/src/slskd/Telemetry/Types/PrometheusMetric.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Telemetry; diff --git a/src/slskd/Telemetry/Types/SortOrder.cs b/src/slskd/Telemetry/Types/SortOrder.cs index 7f70fd21..755521b5 100644 --- a/src/slskd/Telemetry/Types/SortOrder.cs +++ b/src/slskd/Telemetry/Types/SortOrder.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Telemetry; diff --git a/src/slskd/Telemetry/Types/TransferExceptionDetail.cs b/src/slskd/Telemetry/Types/TransferExceptionDetail.cs index a749c6a5..d81b5e85 100644 --- a/src/slskd/Telemetry/Types/TransferExceptionDetail.cs +++ b/src/slskd/Telemetry/Types/TransferExceptionDetail.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Telemetry; diff --git a/src/slskd/Telemetry/Types/TransferExceptionSummary.cs b/src/slskd/Telemetry/Types/TransferExceptionSummary.cs index 03b64df5..b014b8ef 100644 --- a/src/slskd/Telemetry/Types/TransferExceptionSummary.cs +++ b/src/slskd/Telemetry/Types/TransferExceptionSummary.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Telemetry; diff --git a/src/slskd/Telemetry/Types/TransferSummary.cs b/src/slskd/Telemetry/Types/TransferSummary.cs index c25f81fc..1088babe 100644 --- a/src/slskd/Telemetry/Types/TransferSummary.cs +++ b/src/slskd/Telemetry/Types/TransferSummary.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Telemetry; diff --git a/src/slskd/Telemetry/Types/UserDirectionTransferSummary.cs b/src/slskd/Telemetry/Types/UserDirectionTransferSummary.cs index c6d30a04..dce3705b 100644 --- a/src/slskd/Telemetry/Types/UserDirectionTransferSummary.cs +++ b/src/slskd/Telemetry/Types/UserDirectionTransferSummary.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Telemetry; diff --git a/src/slskd/Transfers/API/Controllers/TransfersController.cs b/src/slskd/Transfers/API/Controllers/TransfersController.cs index a95a0bb9..7a2cbfdf 100644 --- a/src/slskd/Transfers/API/Controllers/TransfersController.cs +++ b/src/slskd/Transfers/API/Controllers/TransfersController.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // using Microsoft.Extensions.Options; diff --git a/src/slskd/Transfers/API/DTO/DirectoryResponse.cs b/src/slskd/Transfers/API/DTO/DirectoryResponse.cs index 81da0f2f..e913108e 100644 --- a/src/slskd/Transfers/API/DTO/DirectoryResponse.cs +++ b/src/slskd/Transfers/API/DTO/DirectoryResponse.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Transfers.API diff --git a/src/slskd/Transfers/API/DTO/QueueDownloadRequest.cs b/src/slskd/Transfers/API/DTO/QueueDownloadRequest.cs index 26113ba8..f6968511 100644 --- a/src/slskd/Transfers/API/DTO/QueueDownloadRequest.cs +++ b/src/slskd/Transfers/API/DTO/QueueDownloadRequest.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // using System.ComponentModel.DataAnnotations; diff --git a/src/slskd/Transfers/API/DTO/Transfer.cs b/src/slskd/Transfers/API/DTO/Transfer.cs index 9ceeb79b..0ad095dc 100644 --- a/src/slskd/Transfers/API/DTO/Transfer.cs +++ b/src/slskd/Transfers/API/DTO/Transfer.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Transfers.API diff --git a/src/slskd/Transfers/API/DTO/UserResponse.cs b/src/slskd/Transfers/API/DTO/UserResponse.cs index 92605161..0e7244d8 100644 --- a/src/slskd/Transfers/API/DTO/UserResponse.cs +++ b/src/slskd/Transfers/API/DTO/UserResponse.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Transfers.API diff --git a/src/slskd/Transfers/Downloads/DownloadService.cs b/src/slskd/Transfers/Downloads/DownloadService.cs index 0affc4de..a92e5ce7 100644 --- a/src/slskd/Transfers/Downloads/DownloadService.cs +++ b/src/slskd/Transfers/Downloads/DownloadService.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // using Microsoft.Extensions.Options; diff --git a/src/slskd/Transfers/Extensions.cs b/src/slskd/Transfers/Extensions.cs index e2295e10..64a3b36f 100644 --- a/src/slskd/Transfers/Extensions.cs +++ b/src/slskd/Transfers/Extensions.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Transfers diff --git a/src/slskd/Transfers/TransferService.cs b/src/slskd/Transfers/TransferService.cs index 20b9b8e3..1b20ffe6 100644 --- a/src/slskd/Transfers/TransferService.cs +++ b/src/slskd/Transfers/TransferService.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Transfers diff --git a/src/slskd/Transfers/TransfersDbContext.cs b/src/slskd/Transfers/TransfersDbContext.cs index d82259e7..9506dbfa 100644 --- a/src/slskd/Transfers/TransfersDbContext.cs +++ b/src/slskd/Transfers/TransfersDbContext.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Transfers diff --git a/src/slskd/Transfers/Types/QueueStrategy.cs b/src/slskd/Transfers/Types/QueueStrategy.cs index 63a6a7cd..66ef30bf 100644 --- a/src/slskd/Transfers/Types/QueueStrategy.cs +++ b/src/slskd/Transfers/Types/QueueStrategy.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Transfers diff --git a/src/slskd/Transfers/Types/Transfer.cs b/src/slskd/Transfers/Types/Transfer.cs index 7facb3ee..382fff01 100644 --- a/src/slskd/Transfers/Types/Transfer.cs +++ b/src/slskd/Transfers/Types/Transfer.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Transfers diff --git a/src/slskd/Transfers/Types/TransferStateCategories.cs b/src/slskd/Transfers/Types/TransferStateCategories.cs index 5ccbe572..219125d0 100644 --- a/src/slskd/Transfers/Types/TransferStateCategories.cs +++ b/src/slskd/Transfers/Types/TransferStateCategories.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Transfers; diff --git a/src/slskd/Transfers/Types/Upload.cs b/src/slskd/Transfers/Types/Upload.cs index 9dbd6696..81d2b211 100644 --- a/src/slskd/Transfers/Types/Upload.cs +++ b/src/slskd/Transfers/Types/Upload.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Transfers diff --git a/src/slskd/Transfers/Types/UploadGroup.cs b/src/slskd/Transfers/Types/UploadGroup.cs index 3a000a52..bafc6292 100644 --- a/src/slskd/Transfers/Types/UploadGroup.cs +++ b/src/slskd/Transfers/Types/UploadGroup.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Transfers diff --git a/src/slskd/Transfers/Types/UserUploadStatistics.cs b/src/slskd/Transfers/Types/UserUploadStatistics.cs index 945964f5..406f488e 100644 --- a/src/slskd/Transfers/Types/UserUploadStatistics.cs +++ b/src/slskd/Transfers/Types/UserUploadStatistics.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Transfers; diff --git a/src/slskd/Transfers/Uploads/UploadGovernor.cs b/src/slskd/Transfers/Uploads/UploadGovernor.cs index 8a035f13..7a4c8834 100644 --- a/src/slskd/Transfers/Uploads/UploadGovernor.cs +++ b/src/slskd/Transfers/Uploads/UploadGovernor.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // using Microsoft.Extensions.Options; diff --git a/src/slskd/Transfers/Uploads/UploadQueue.cs b/src/slskd/Transfers/Uploads/UploadQueue.cs index 1ecf264f..75b833dd 100644 --- a/src/slskd/Transfers/Uploads/UploadQueue.cs +++ b/src/slskd/Transfers/Uploads/UploadQueue.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // using Microsoft.Extensions.Options; diff --git a/src/slskd/Transfers/Uploads/UploadService.cs b/src/slskd/Transfers/Uploads/UploadService.cs index bcc1dd90..9f62b178 100644 --- a/src/slskd/Transfers/Uploads/UploadService.cs +++ b/src/slskd/Transfers/Uploads/UploadService.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // using Microsoft.Extensions.Options; diff --git a/src/slskd/Users/API/Controllers/UsersController.cs b/src/slskd/Users/API/Controllers/UsersController.cs index f83dd840..8d3e6598 100644 --- a/src/slskd/Users/API/Controllers/UsersController.cs +++ b/src/slskd/Users/API/Controllers/UsersController.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // using Microsoft.Extensions.Options; diff --git a/src/slskd/Users/API/DTO/DirectoryContentsRequest.cs b/src/slskd/Users/API/DTO/DirectoryContentsRequest.cs index a988d79c..17a2702e 100644 --- a/src/slskd/Users/API/DTO/DirectoryContentsRequest.cs +++ b/src/slskd/Users/API/DTO/DirectoryContentsRequest.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Users.API diff --git a/src/slskd/Users/API/DTO/UserDataResponse.cs b/src/slskd/Users/API/DTO/UserDataResponse.cs index 664b1276..2abd2759 100644 --- a/src/slskd/Users/API/DTO/UserDataResponse.cs +++ b/src/slskd/Users/API/DTO/UserDataResponse.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Users.API diff --git a/src/slskd/Users/BrowseTracker.cs b/src/slskd/Users/BrowseTracker.cs index 57c7c1d8..9a3b142e 100644 --- a/src/slskd/Users/BrowseTracker.cs +++ b/src/slskd/Users/BrowseTracker.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Users diff --git a/src/slskd/Users/Extensions.cs b/src/slskd/Users/Extensions.cs index d2189a20..0ad4e805 100644 --- a/src/slskd/Users/Extensions.cs +++ b/src/slskd/Users/Extensions.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Users diff --git a/src/slskd/Users/IBrowseTracker.cs b/src/slskd/Users/IBrowseTracker.cs index 29ed06b3..9147e203 100644 --- a/src/slskd/Users/IBrowseTracker.cs +++ b/src/slskd/Users/IBrowseTracker.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Users diff --git a/src/slskd/Users/IUserService.cs b/src/slskd/Users/IUserService.cs index 75afd442..45106c3a 100644 --- a/src/slskd/Users/IUserService.cs +++ b/src/slskd/Users/IUserService.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Users diff --git a/src/slskd/Users/Types/Info.cs b/src/slskd/Users/Types/Info.cs index e3969f17..2c6c9109 100644 --- a/src/slskd/Users/Types/Info.cs +++ b/src/slskd/Users/Types/Info.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Users diff --git a/src/slskd/Users/Types/Statistics.cs b/src/slskd/Users/Types/Statistics.cs index a415d3d5..8224eb9c 100644 --- a/src/slskd/Users/Types/Statistics.cs +++ b/src/slskd/Users/Types/Statistics.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Users diff --git a/src/slskd/Users/Types/Status.cs b/src/slskd/Users/Types/Status.cs index 890afb74..8f0474cc 100644 --- a/src/slskd/Users/Types/Status.cs +++ b/src/slskd/Users/Types/Status.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Users diff --git a/src/slskd/Users/Types/User.cs b/src/slskd/Users/Types/User.cs index 2913620c..bf7ba8dc 100644 --- a/src/slskd/Users/Types/User.cs +++ b/src/slskd/Users/Types/User.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // namespace slskd.Users diff --git a/src/slskd/Users/UserService.cs b/src/slskd/Users/UserService.cs index 2939fd17..3f8e9bf0 100644 --- a/src/slskd/Users/UserService.cs +++ b/src/slskd/Users/UserService.cs @@ -1,18 +1,35 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. +// +// ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ +// ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ +// █__ --█ █__ --█ ◄█ - █ +// █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█ +// ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ +// │ Copyright (c) JP Dillingham. +// │ +// │ https://slskd.org +// │ +// │ This program is free software: you can redistribute it and/or modify +// │ it under the terms of the GNU Affero General Public License as published +// │ by the Free Software Foundation, either version 3 of the License, or +// │ (at your option) any later version. +// │ +// │ This program is distributed in the hope that it will be useful, +// │ but WITHOUT ANY WARRANTY; without even the implied warranty of +// │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// │ GNU Affero General Public License for more details. +// │ +// │ You should have received a copy of the GNU Affero General Public License +// │ along with this program. If not, see https://www.gnu.org/licenses/. +// │ +// │ This program is distributed with Additional Terms pursuant to +// │ Section 7 of the GNU Affero General Public License. See the +// │ LICENSE file in the root directory of this project for the +// │ complete terms and conditions. +// │ +// ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ +// │ SPDX-FileCopyrightText: JP Dillingham +// │ SPDX-License-Identifier: AGPL-3.0-only +// ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ // using Microsoft.Extensions.Options; -- cgit v1.2.3 From 0d933381c003ba5a9a1b94d60d37def0bee6b62e Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Wed, 25 Mar 2026 21:12:29 -0500 Subject: fix bug with diff of upload options --- src/slskd/Application.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/slskd/Application.cs b/src/slskd/Application.cs index 5a81ae8f..8e50a0d1 100644 --- a/src/slskd/Application.cs +++ b/src/slskd/Application.cs @@ -1484,8 +1484,8 @@ namespace slskd var slskDiff = PreviousOptions.Soulseek.DiffWith(newOptions.Soulseek); // determine whether any global upload or download options changed - var transfersUploadDiff = PreviousOptions.Transfers.DiffWith(newOptions.Transfers.Upload); - var transfersDownloadDiff = PreviousOptions.Transfers.DiffWith(newOptions.Transfers.Download); + var transfersUploadDiff = PreviousOptions.Transfers.Upload.DiffWith(newOptions.Transfers.Upload); + var transfersDownloadDiff = PreviousOptions.Transfers.Download.DiffWith(newOptions.Transfers.Download); if (slskDiff.Any() || transfersUploadDiff.Any() || transfersDownloadDiff.Any()) { -- cgit v1.2.3 From 706fed9183fb2eb8593229aa9f6452797fc24f1e Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Wed, 25 Mar 2026 21:12:53 -0500 Subject: fix lack of color in 'dotnet watch' output --- src/slskd/Program.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/slskd/Program.cs b/src/slskd/Program.cs index a9504bb8..73d0e0f7 100644 --- a/src/slskd/Program.cs +++ b/src/slskd/Program.cs @@ -1192,6 +1192,8 @@ namespace slskd private static void ConfigureGlobalLogger() { + var noColor = OptionsAtStartup.Logger.NoColor || !string.IsNullOrEmpty(Environment.GetEnvironmentVariable("NO_COLOR")); + Serilog.Log.Logger = (OptionsAtStartup.Debug ? new LoggerConfiguration().MinimumLevel.Debug() : new LoggerConfiguration().MinimumLevel.Information()) .MinimumLevel.Override("Microsoft", LogEventLevel.Error) .MinimumLevel.Override("System.Net.Http.HttpClient", OptionsAtStartup.Debug ? LogEventLevel.Warning : LogEventLevel.Fatal) @@ -1203,7 +1205,8 @@ namespace slskd .Enrich.WithProperty("ProcessId", ProcessId) .Enrich.FromLogContext() .WriteTo.Console( - theme: (OptionsAtStartup.Logger.NoColor || !string.IsNullOrEmpty(Environment.GetEnvironmentVariable("NO_COLOR"))) ? ConsoleTheme.None : SystemConsoleTheme.Literate, + theme: noColor ? ConsoleTheme.None : SystemConsoleTheme.Literate, + applyThemeToRedirectedOutput: !noColor, outputTemplate: (OptionsAtStartup.Debug ? "[{SourceContext}] " : string.Empty) + "[{Timestamp:HH:mm:ss} {Level:u3}] {Message:lj}{NewLine}{Exception}") .WriteTo.Async(config => config.Conditional( -- cgit v1.2.3 From 7ef13df321137d6476a8afcf905bc67f49bfce6c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 26 Mar 2026 19:48:33 +0000 Subject: Bump picomatch from 2.3.1 to 2.3.2 in /src/web Bumps [picomatch](https://github.com/micromatch/picomatch) from 2.3.1 to 2.3.2. - [Release notes](https://github.com/micromatch/picomatch/releases) - [Changelog](https://github.com/micromatch/picomatch/blob/master/CHANGELOG.md) - [Commits](https://github.com/micromatch/picomatch/compare/2.3.1...2.3.2) --- updated-dependencies: - dependency-name: picomatch dependency-version: 2.3.2 dependency-type: indirect ... Signed-off-by: dependabot[bot] --- src/web/package-lock.json | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/web/package-lock.json b/src/web/package-lock.json index e0a23e40..e271c853 100644 --- a/src/web/package-lock.json +++ b/src/web/package-lock.json @@ -15625,10 +15625,11 @@ "license": "ISC" }, "node_modules/picomatch": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", - "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.2.tgz", + "integrity": "sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA==", "dev": true, + "license": "MIT", "engines": { "node": ">=8.6" }, -- cgit v1.2.3 From ea950480c65c9c835adbbc4bf69da9c647b8a8ce Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sat, 28 Mar 2026 19:45:48 -0500 Subject: tweak 4 d --- LICENSE | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/LICENSE b/LICENSE index 2ff26efa..c09fcf28 100644 --- a/LICENSE +++ b/LICENSE @@ -859,16 +859,21 @@ The following requirements apply to all Modified Versions: of the name that would be likely to cause confusion under the factors described in Section 4(a). - d) Version Identifier: A Modified Version must not transmit, during - Soulseek network login or identification, a client version identifier - that is a decimal integer beginning with the digits "76" (including - but not limited to integers in the range 760 through 76999). The - Soulseek server and its administrators rely on the client version - identifier to distinguish between client implementations and to enforce - network policies; transmitting an identifier in the reserved range - constitutes a false representation that the software is the Program - and implies endorsement or affiliation with its authors, which is - expressly disclaimed. This condition applies regardless of the + d) Version Identifier: A Modified Version must not transmit, during Soulseek + network login or identification, a client version identifier already in use + by any known Soulseek client implementation, including but not limited to the + Program. The Soulseek server and its administrators rely on the client + version identifier to distinguish between client implementations and to + enforce network policies; transmitting an identifier already associated with + another client constitutes a false representation of the software's identity + and implies endorsement or affiliation with that client's authors, which is + expressly disclaimed. The modifier bears responsibility for making a + reasonable good-faith effort to verify that their chosen identifier is unique + prior to deployment. If a modifier is notified that their chosen identifier + conflicts with that of an existing client implementation, they must change it + to a unique identifier within a reasonable time and must not continue to + distribute the Modified Version with the conflicting identifier after + becoming aware of the conflict. This condition applies regardless of the technical means by which the identifier is set or transmitted. e) Permitted Uses of "slskd": Notwithstanding the requirements of -- cgit v1.2.3 From bf9508ff8c019edcb9e23136f2b25539c4f41f42 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sat, 28 Mar 2026 19:46:02 -0500 Subject: tweak header language --- src/slskd/Application.cs | 9 +++------ src/slskd/Properties/stylecop.json | 2 +- src/slskd/Transfers/TransfersDbContext.cs | 7 +++---- src/slskd/Transfers/Uploads/UploadService.cs | 7 +++---- 4 files changed, 10 insertions(+), 15 deletions(-) diff --git a/src/slskd/Application.cs b/src/slskd/Application.cs index 2fec8ca7..56a01fca 100644 --- a/src/slskd/Application.cs +++ b/src/slskd/Application.cs @@ -1,5 +1,4 @@ // -// // ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ // ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ // █__ --█ █__ --█ ◄█ - █ @@ -22,16 +21,14 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham // │ SPDX-License-Identifier: AGPL-3.0-only // ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈ -// // using Microsoft.Extensions.Options; diff --git a/src/slskd/Properties/stylecop.json b/src/slskd/Properties/stylecop.json index ff7f0a65..2f0c7fb0 100644 --- a/src/slskd/Properties/stylecop.json +++ b/src/slskd/Properties/stylecop.json @@ -17,7 +17,7 @@ "documentPrivateElements": false, "documentPrivateFields": false, "companyName": "JP Dillingham", - "copyrightText": " ▄▄▄▄ ▄▄▄▄ ▄▄▄▄\n ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █\n █__ --█ █__ --█ ◄█ - █\n █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█\n ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉\n │ Copyright (c) {companyName}.\n │\n │ https://slskd.org\n │\n │ This program is free software: you can redistribute it and/or modify\n │ it under the terms of the GNU Affero General Public License as published\n │ by the Free Software Foundation, either version 3 of the License, or\n │ (at your option) any later version.\n │\n │ This program is distributed in the hope that it will be useful,\n │ but WITHOUT ANY WARRANTY; without even the implied warranty of\n │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n │ GNU Affero General Public License for more details.\n │\n │ You should have received a copy of the GNU Affero General Public License\n │ along with this program. If not, see https://www.gnu.org/licenses/.\n │\n │ This program is distributed with Additional Terms pursuant to\n │ Section 7 of the GNU Affero General Public License. See the\n │ LICENSE file in the root directory of this project for the\n │ complete terms and conditions.\n │\n ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌\n │ SPDX-FileCopyrightText: {companyName}\n │ SPDX-License-Identifier: AGPL-3.0-only\n ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈", + "copyrightText": " ▄▄▄▄ ▄▄▄▄ ▄▄▄▄\n ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █\n █__ --█ █__ --█ ◄█ - █\n █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█\n ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉\n │ Copyright (c) {companyName}.\n │\n │ https://slskd.org\n │\n │ This program is free software: you can redistribute it and/or modify\n │ it under the terms of the GNU Affero General Public License as published\n │ by the Free Software Foundation, either version 3 of the License, or\n │ (at your option) any later version.\n │\n │ This program is distributed in the hope that it will be useful,\n │ but WITHOUT ANY WARRANTY; without even the implied warranty of\n │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n │ GNU Affero General Public License for more details.\n │\n │ You should have received a copy of the GNU Affero General Public License\n │ along with this program. If not, see https://www.gnu.org/licenses/.\n │\n │ This program is distributed with Additional Terms pursuant to Section 7\n │ of the AGPLv3. See the LICENSE file in the root directory of this\n │ project for the complete terms and conditions.\n │\n ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌\n │ SPDX-FileCopyrightText: {companyName}\n │ SPDX-License-Identifier: AGPL-3.0-only\n ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈", "variables": { "licenseName": "AGPL-3.0-only", "licenseFile": "LICENSE" diff --git a/src/slskd/Transfers/TransfersDbContext.cs b/src/slskd/Transfers/TransfersDbContext.cs index 9506dbfa..8dfa1505 100644 --- a/src/slskd/Transfers/TransfersDbContext.cs +++ b/src/slskd/Transfers/TransfersDbContext.cs @@ -21,10 +21,9 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Transfers/Uploads/UploadService.cs b/src/slskd/Transfers/Uploads/UploadService.cs index 9f62b178..3bf5a044 100644 --- a/src/slskd/Transfers/Uploads/UploadService.cs +++ b/src/slskd/Transfers/Uploads/UploadService.cs @@ -21,10 +21,9 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham -- cgit v1.2.3 From d8abb84e903f33ad0c30c0ff877d8008dc69f596 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sat, 28 Mar 2026 22:14:50 -0500 Subject: remove non breaking spaces --- LICENSE | 16 ++++++++-------- src/slskd/Application.cs | 4 ++-- src/slskd/Common/Authentication/ApiKeyAuthentication.cs | 11 +++++------ src/slskd/Common/Authentication/AuthPolicy.cs | 11 +++++------ src/slskd/Common/Authentication/AuthRole.cs | 11 +++++------ .../Common/Authentication/PassthroughAuthentication.cs | 11 +++++------ src/slskd/Common/Authentication/Role.cs | 11 +++++------ src/slskd/Common/Base64Extensions.cs | 11 +++++------ src/slskd/Common/ChannelReader.cs | 11 +++++------ src/slskd/Common/CommonExtensions.cs | 11 +++++------ src/slskd/Common/Compute.cs | 11 +++++------ src/slskd/Common/ConcurrentFixedSizeQueue.cs | 11 +++++------ .../Configuration/CommandLineConfigurationSource.cs | 11 +++++------ .../Configuration/DefaultValueConfigurationSource.cs | 11 +++++------ .../EnvironmentVariableConfigurationSource.cs | 11 +++++------ .../Common/Configuration/RequiresReconnectAttribute.cs | 11 +++++------ .../Common/Configuration/RequiresRestartAttribute.cs | 11 +++++------ .../Configuration/VolatileOverlayConfigurationSource.cs | 11 +++++------ .../Common/Configuration/YamlConfigurationSource.cs | 11 +++++------ src/slskd/Common/Cryptography/Aes.cs | 11 +++++------ src/slskd/Common/Cryptography/Pbkdf2.cs | 11 +++++------ src/slskd/Common/Cryptography/Random.cs | 11 +++++------ src/slskd/Common/Cryptography/X509.cs | 11 +++++------ src/slskd/Common/Dumper.cs | 11 +++++------ .../Common/Exceptions/ApplicationShutdownException.cs | 11 +++++------ src/slskd/Common/Exceptions/GitHubException.cs | 11 +++++------ .../Common/Exceptions/IntentionalDisconnectException.cs | 11 +++++------ src/slskd/Common/Exceptions/NotFoundException.cs | 11 +++++------ src/slskd/Common/Exceptions/OutOfRangeException.cs | 11 +++++------ src/slskd/Common/Exceptions/RelayException.cs | 11 +++++------ src/slskd/Common/Exceptions/RetryException.cs | 11 +++++------ .../Common/Exceptions/ShareInitializationException.cs | 11 +++++------ .../Common/Exceptions/ShareScanInProgressException.cs | 11 +++++------ src/slskd/Common/Exceptions/ShareValidationException.cs | 11 +++++------ src/slskd/Common/Exceptions/SlskdException.cs | 11 +++++------ src/slskd/Common/Exceptions/UnauthorizedException.cs | 11 +++++------ src/slskd/Common/Exceptions/VPNClientException.cs | 11 +++++------ src/slskd/Common/ExponentialMovingAverage.cs | 11 +++++------ src/slskd/Common/GitHub.cs | 11 +++++------ src/slskd/Common/JsonConverters/IPAddressConverter.cs | 11 +++++------ src/slskd/Common/JsonConverters/IPEndPointConverter.cs | 11 +++++------ .../JsonConverters/KnownUnsupportedTypeConverter.cs | 11 +++++------ src/slskd/Common/Logging/Checkpointer.cs | 11 +++++------ src/slskd/Common/Logging/ConsoleWriteLineLogger.cs | 11 +++++------ src/slskd/Common/Logging/DelegatingSink.cs | 11 +++++------ src/slskd/Common/Logging/LogRecord.cs | 11 +++++------ src/slskd/Common/ManagedState.cs | 11 +++++------ src/slskd/Common/Middleware/HTMLInjectionMiddleware.cs | 11 +++++------ src/slskd/Common/Middleware/HTMLRewriteMiddleware.cs | 11 +++++------ src/slskd/Common/Middleware/UrlEncodingModelBinder.cs | 11 +++++------ .../Common/OpenAPI/ContentNegotiationOperationFilter.cs | 11 +++++------ src/slskd/Common/RateLimiter.cs | 11 +++++------ src/slskd/Common/Redactor.cs | 11 +++++------ src/slskd/Common/Retry.cs | 11 +++++------ src/slskd/Common/Sqlite.cs | 11 +++++------ src/slskd/Common/TimedCounter.cs | 11 +++++------ src/slskd/Common/TokenBucket.cs | 11 +++++------ src/slskd/Common/UserEndPointCache.cs | 11 +++++------ .../Common/Validation/AbsoluteFilePathAttribute.cs | 11 +++++------ .../Common/Validation/CompositeValidationResult.cs | 11 +++++------ .../Common/Validation/DirectoryExistsAttributes.cs | 11 +++++------ src/slskd/Common/Validation/EnumAttribute.cs | 11 +++++------ src/slskd/Common/Validation/Extensions.cs | 11 +++++------ .../Common/Validation/FileDoesNotExistAttribute.cs | 11 +++++------ src/slskd/Common/Validation/FileExistsAttribute.cs | 11 +++++------ src/slskd/Common/Validation/IPAddressAttribute.cs | 11 +++++------ .../Common/Validation/NotNullOrWhiteSpaceAttribute.cs | 11 +++++------ src/slskd/Common/Validation/ValidateAttribute.cs | 11 +++++------ src/slskd/Common/Validation/ValidationExtensions.cs | 11 +++++------ src/slskd/Common/Validation/X509CertificateAttribute.cs | 11 +++++------ src/slskd/Common/WaitKey.cs | 11 +++++------ src/slskd/Common/Waiter.cs | 11 +++++------ src/slskd/Core/API/Controllers/ApplicationController.cs | 11 +++++------ src/slskd/Core/API/Controllers/LogsController.cs | 11 +++++------ src/slskd/Core/API/Controllers/OptionsController.cs | 11 +++++------ src/slskd/Core/API/Controllers/ServerController.cs | 11 +++++------ src/slskd/Core/API/Controllers/SessionController.cs | 11 +++++------ src/slskd/Core/API/DTO/LoginRequest.cs | 11 +++++------ src/slskd/Core/API/DTO/ServerState.cs | 11 +++++------ src/slskd/Core/API/DTO/TokenResponse.cs | 11 +++++------ src/slskd/Core/API/Hubs/ApplicationHub.cs | 11 +++++------ src/slskd/Core/API/Hubs/LogsHub.cs | 11 +++++------ src/slskd/Core/Blacklist.cs | 11 +++++------ src/slskd/Core/CacheKeys.cs | 11 +++++------ src/slskd/Core/Clock.cs | 11 +++++------ src/slskd/Core/ConnectionWatchdog.cs | 11 +++++------ src/slskd/Core/Constants.cs | 11 +++++------ src/slskd/Core/Data/ConnectionString.cs | 11 +++++------ src/slskd/Core/Data/ConnectionStringDictionary.cs | 11 +++++------ src/slskd/Core/Data/Databases.cs | 11 +++++------ src/slskd/Core/Data/IMigration.cs | 11 +++++------ .../Migrations/Z2025_04_01_TransferStateMigration.cs | 11 +++++------ .../Migrations/Z2025_07_06_TransferIndexesMigration.cs | 11 +++++------ .../Z2025_07_26_PrivateMessageWasReplayedMigration.cs | 11 +++++------ .../Z2025_12_28_AdditionalTransferIndexesMigration.cs | 11 +++++------ .../Z2026_02_17_TransferAttemptsAndBatchIdMigration.cs | 11 +++++------ src/slskd/Core/Data/Migrator.cs | 11 +++++------ src/slskd/Core/Data/SchemaInspector.cs | 11 +++++------ src/slskd/Core/Data/SqlitePragmaInterceptor.cs | 11 +++++------ src/slskd/Core/Extensions.cs | 11 +++++------ src/slskd/Core/Options.cs | 11 +++++------ src/slskd/Core/OptionsOverlay.cs | 11 +++++------ src/slskd/Core/Security/SecurityService.cs | 11 +++++------ src/slskd/Core/State.cs | 11 +++++------ src/slskd/Events/API/EventsController.cs | 11 +++++------ src/slskd/Events/EventBus.cs | 11 +++++------ src/slskd/Events/EventService.cs | 11 +++++------ src/slskd/Events/EventsDbContext.cs | 11 +++++------ src/slskd/Events/Types/EventRecord.cs | 11 +++++------ src/slskd/Events/Types/Events.cs | 11 +++++------ src/slskd/Files/API/FilesController.cs | 11 +++++------ src/slskd/Files/FileExtensions.cs | 11 +++++------ src/slskd/Files/FileService.cs | 11 +++++------ src/slskd/Files/Types/CreateFileOptions.cs | 11 +++++------ src/slskd/Files/Types/FilesystemDirectory.cs | 11 +++++------ src/slskd/Files/Types/FilesystemFile.cs | 11 +++++------ src/slskd/Integrations/FTP/FTPClientFactory.cs | 11 +++++------ src/slskd/Integrations/FTP/FTPService.cs | 11 +++++------ src/slskd/Integrations/FTP/IFTPClientFactory.cs | 11 +++++------ src/slskd/Integrations/FTP/IFTPService.cs | 11 +++++------ src/slskd/Integrations/Pushbullet/IPushbulletService.cs | 11 +++++------ src/slskd/Integrations/Pushbullet/PushbulletService.cs | 11 +++++------ src/slskd/Integrations/Scripts/ScriptService.cs | 11 +++++------ src/slskd/Integrations/VPN/Clients/Gluetun.cs | 11 +++++------ src/slskd/Integrations/VPN/IVPNClient.cs | 11 +++++------ src/slskd/Integrations/VPN/VPNService.cs | 11 +++++------ src/slskd/Integrations/VPN/VPNStatus.cs | 11 +++++------ src/slskd/Integrations/Webhooks/WebhookService.cs | 11 +++++------ .../API/Controllers/ConversationsController.cs | 11 +++++------ src/slskd/Messaging/API/Controllers/RoomsController.cs | 11 +++++------ src/slskd/Messaging/API/DTO/RoomInfoResponse.cs | 11 +++++------ src/slskd/Messaging/API/DTO/RoomMessageResponse.cs | 11 +++++------ src/slskd/Messaging/API/DTO/RoomResponse.cs | 11 +++++------ src/slskd/Messaging/API/DTO/UserDataResponse.cs | 11 +++++------ src/slskd/Messaging/ConversationService.cs | 11 +++++------ src/slskd/Messaging/IRoomTracker.cs | 11 +++++------ src/slskd/Messaging/MessagingDbContext.cs | 11 +++++------ src/slskd/Messaging/MessagingService.cs | 11 +++++------ src/slskd/Messaging/RoomService.cs | 11 +++++------ src/slskd/Messaging/RoomTracker.cs | 11 +++++------ src/slskd/Messaging/Types/Conversation.cs | 11 +++++------ src/slskd/Messaging/Types/MessageDirection.cs | 11 +++++------ src/slskd/Messaging/Types/PrivateMessage.cs | 11 +++++------ src/slskd/Messaging/Types/Room.cs | 11 +++++------ src/slskd/Messaging/Types/RoomMessage.cs | 11 +++++------ src/slskd/Program.cs | 17 +++++++---------- src/slskd/Properties/stylecop.json | 2 +- src/slskd/Relay/API/Controllers/RelayController.cs | 11 +++++------ src/slskd/Relay/API/Hubs/RelayHub.cs | 11 +++++------ src/slskd/Relay/IRelayClient.cs | 11 +++++------ src/slskd/Relay/NullRelayClient.cs | 11 +++++------ src/slskd/Relay/RelayClient.cs | 11 +++++------ src/slskd/Relay/RelayService.cs | 11 +++++------ src/slskd/Relay/Types/Agent.cs | 11 +++++------ src/slskd/Relay/Types/RelayClientState.cs | 11 +++++------ src/slskd/Relay/Types/RelayMode.cs | 11 +++++------ src/slskd/Search/API/Controllers/SearchesController.cs | 11 +++++------ src/slskd/Search/API/DTO/SearchRequest.cs | 11 +++++------ src/slskd/Search/API/Hubs/SearchHub.cs | 11 +++++------ src/slskd/Search/Extensions.cs | 11 +++++------ src/slskd/Search/SearchDbContext.cs | 11 +++++------ src/slskd/Search/SearchResponseCache.cs | 11 +++++------ src/slskd/Search/SearchService.cs | 11 +++++------ src/slskd/Search/Types/File.cs | 11 +++++------ src/slskd/Search/Types/Response.cs | 11 +++++------ src/slskd/Search/Types/Search.cs | 11 +++++------ src/slskd/Shares/API/Controllers/SharesController.cs | 11 +++++------ src/slskd/Shares/IShareRepository.cs | 11 +++++------ src/slskd/Shares/IShareRepositoryFactory.cs | 11 +++++------ src/slskd/Shares/IShareService.cs | 11 +++++------ src/slskd/Shares/ShareRepositoryFactory.cs | 11 +++++------ src/slskd/Shares/ShareScanner.cs | 11 +++++------ src/slskd/Shares/ShareService.cs | 11 +++++------ src/slskd/Shares/SoulseekFileFactory.cs | 11 +++++------ src/slskd/Shares/SqliteShareRepository.cs | 11 +++++------ src/slskd/Shares/Types/Host.cs | 11 +++++------ src/slskd/Shares/Types/Scan.cs | 11 +++++------ src/slskd/Shares/Types/Share.cs | 11 +++++------ src/slskd/Shares/Types/StorageMode.cs | 11 +++++------ src/slskd/Telemetry/API/MetricsController.cs | 11 +++++------ src/slskd/Telemetry/API/ReportsController.cs | 11 +++++------ src/slskd/Telemetry/Metrics.cs | 11 +++++------ src/slskd/Telemetry/PrometheusService.cs | 11 +++++------ src/slskd/Telemetry/ReportsService.cs | 11 +++++------ src/slskd/Telemetry/TelemetryService.cs | 11 +++++------ src/slskd/Telemetry/Types/DirectoryDetail.cs | 11 +++++------ src/slskd/Telemetry/Types/LeaderboardSorting.cs | 11 +++++------ src/slskd/Telemetry/Types/PrometheusMetric.cs | 11 +++++------ src/slskd/Telemetry/Types/SortOrder.cs | 11 +++++------ src/slskd/Telemetry/Types/TransferExceptionDetail.cs | 11 +++++------ src/slskd/Telemetry/Types/TransferExceptionSummary.cs | 11 +++++------ src/slskd/Telemetry/Types/TransferSummary.cs | 11 +++++------ .../Telemetry/Types/UserDirectionTransferSummary.cs | 11 +++++------ .../Transfers/API/Controllers/TransfersController.cs | 11 +++++------ src/slskd/Transfers/API/DTO/DirectoryResponse.cs | 11 +++++------ src/slskd/Transfers/API/DTO/QueueDownloadRequest.cs | 11 +++++------ src/slskd/Transfers/API/DTO/Transfer.cs | 11 +++++------ src/slskd/Transfers/API/DTO/UserResponse.cs | 11 +++++------ src/slskd/Transfers/Downloads/DownloadService.cs | 11 +++++------ src/slskd/Transfers/Extensions.cs | 11 +++++------ src/slskd/Transfers/TransferService.cs | 11 +++++------ src/slskd/Transfers/TransfersDbContext.cs | 4 ++-- src/slskd/Transfers/Types/QueueStrategy.cs | 11 +++++------ src/slskd/Transfers/Types/Transfer.cs | 11 +++++------ src/slskd/Transfers/Types/TransferStateCategories.cs | 11 +++++------ src/slskd/Transfers/Types/Upload.cs | 11 +++++------ src/slskd/Transfers/Types/UploadGroup.cs | 11 +++++------ src/slskd/Transfers/Types/UserUploadStatistics.cs | 11 +++++------ src/slskd/Transfers/Uploads/UploadGovernor.cs | 11 +++++------ src/slskd/Transfers/Uploads/UploadQueue.cs | 11 +++++------ src/slskd/Transfers/Uploads/UploadService.cs | 4 ++-- src/slskd/Users/API/Controllers/UsersController.cs | 11 +++++------ src/slskd/Users/API/DTO/DirectoryContentsRequest.cs | 11 +++++------ src/slskd/Users/API/DTO/UserDataResponse.cs | 11 +++++------ src/slskd/Users/BrowseTracker.cs | 11 +++++------ src/slskd/Users/Extensions.cs | 11 +++++------ src/slskd/Users/IBrowseTracker.cs | 11 +++++------ src/slskd/Users/IUserService.cs | 11 +++++------ src/slskd/Users/Types/Info.cs | 11 +++++------ src/slskd/Users/Types/Statistics.cs | 11 +++++------ src/slskd/Users/Types/Status.cs | 11 +++++------ src/slskd/Users/Types/User.cs | 11 +++++------ src/slskd/Users/UserService.cs | 11 +++++------ 223 files changed, 1107 insertions(+), 1327 deletions(-) diff --git a/LICENSE b/LICENSE index c09fcf28..cf722fe5 100644 --- a/LICENSE +++ b/LICENSE @@ -743,16 +743,16 @@ preservation of legal notices: d) Distribution Artifacts: Any conveyance of the Program or a Modified Version in object code or executable form (including archive files, installer - packages, or other distribution formats) must be accompanied by the full text - of this License and these Additional Terms. This text must be placed in a - file named LICENSE in the root directory and, if different, the directory + packages, or other distribution formats) must be accompanied by the full text + of this License and these Additional Terms. This text must be placed in a + file named LICENSE in the root directory and, if different, the directory containing the object code or executable. The LICENSE file must contain the - complete and unmodified text of this License and these Additional Terms. + complete and unmodified text of this License and these Additional Terms. - e) Package Registries: Any conveyance through a package repository, registry, - or software distribution platform (including operating system repositories - and language-specific registries) must identify the work as licensed under - the GNU Affero General Public License v3.0 ("AGPLv3"), include a link to the + e) Package Registries: Any conveyance through a package repository, registry, + or software distribution platform (including operating system repositories + and language-specific registries) must identify the work as licensed under + the GNU Affero General Public License v3.0 ("AGPLv3"), include a link to the Corresponding Source, and include a link to the full text of this License and these Additional Terms. diff --git a/src/slskd/Application.cs b/src/slskd/Application.cs index 56a01fca..a6239796 100644 --- a/src/slskd/Application.cs +++ b/src/slskd/Application.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -25,6 +23,8 @@ // │ of the AGPLv3. See the LICENSE file in the root directory of this // │ project for the complete terms and conditions. // │ +// │ https://slskd.org +// │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham // │ SPDX-License-Identifier: AGPL-3.0-only diff --git a/src/slskd/Common/Authentication/ApiKeyAuthentication.cs b/src/slskd/Common/Authentication/ApiKeyAuthentication.cs index ef1af7dd..c9b3ea28 100644 --- a/src/slskd/Common/Authentication/ApiKeyAuthentication.cs +++ b/src/slskd/Common/Authentication/ApiKeyAuthentication.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Common/Authentication/AuthPolicy.cs b/src/slskd/Common/Authentication/AuthPolicy.cs index 98bf5b14..28c3a7c8 100644 --- a/src/slskd/Common/Authentication/AuthPolicy.cs +++ b/src/slskd/Common/Authentication/AuthPolicy.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Common/Authentication/AuthRole.cs b/src/slskd/Common/Authentication/AuthRole.cs index 740dda68..930b7210 100644 --- a/src/slskd/Common/Authentication/AuthRole.cs +++ b/src/slskd/Common/Authentication/AuthRole.cs @@ -7,8 +7,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -22,10 +20,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Common/Authentication/PassthroughAuthentication.cs b/src/slskd/Common/Authentication/PassthroughAuthentication.cs index d6398980..f0f12db1 100644 --- a/src/slskd/Common/Authentication/PassthroughAuthentication.cs +++ b/src/slskd/Common/Authentication/PassthroughAuthentication.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Common/Authentication/Role.cs b/src/slskd/Common/Authentication/Role.cs index 5d32bb64..2cff8727 100644 --- a/src/slskd/Common/Authentication/Role.cs +++ b/src/slskd/Common/Authentication/Role.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Common/Base64Extensions.cs b/src/slskd/Common/Base64Extensions.cs index ad9c0351..92d36ac3 100644 --- a/src/slskd/Common/Base64Extensions.cs +++ b/src/slskd/Common/Base64Extensions.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Common/ChannelReader.cs b/src/slskd/Common/ChannelReader.cs index 65aca43d..cfd3082e 100644 --- a/src/slskd/Common/ChannelReader.cs +++ b/src/slskd/Common/ChannelReader.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Common/CommonExtensions.cs b/src/slskd/Common/CommonExtensions.cs index 88d249cb..3ec01708 100644 --- a/src/slskd/Common/CommonExtensions.cs +++ b/src/slskd/Common/CommonExtensions.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Common/Compute.cs b/src/slskd/Common/Compute.cs index 4a7634be..e2bcfc42 100644 --- a/src/slskd/Common/Compute.cs +++ b/src/slskd/Common/Compute.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Common/ConcurrentFixedSizeQueue.cs b/src/slskd/Common/ConcurrentFixedSizeQueue.cs index 3d8db314..6d48e879 100644 --- a/src/slskd/Common/ConcurrentFixedSizeQueue.cs +++ b/src/slskd/Common/ConcurrentFixedSizeQueue.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Common/Configuration/CommandLineConfigurationSource.cs b/src/slskd/Common/Configuration/CommandLineConfigurationSource.cs index d91b1adc..dfa654f1 100644 --- a/src/slskd/Common/Configuration/CommandLineConfigurationSource.cs +++ b/src/slskd/Common/Configuration/CommandLineConfigurationSource.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Common/Configuration/DefaultValueConfigurationSource.cs b/src/slskd/Common/Configuration/DefaultValueConfigurationSource.cs index 478fcec7..a8cec56b 100644 --- a/src/slskd/Common/Configuration/DefaultValueConfigurationSource.cs +++ b/src/slskd/Common/Configuration/DefaultValueConfigurationSource.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Common/Configuration/EnvironmentVariableConfigurationSource.cs b/src/slskd/Common/Configuration/EnvironmentVariableConfigurationSource.cs index 822c82d3..24fdd63b 100644 --- a/src/slskd/Common/Configuration/EnvironmentVariableConfigurationSource.cs +++ b/src/slskd/Common/Configuration/EnvironmentVariableConfigurationSource.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Common/Configuration/RequiresReconnectAttribute.cs b/src/slskd/Common/Configuration/RequiresReconnectAttribute.cs index 0042be6e..05b077f3 100644 --- a/src/slskd/Common/Configuration/RequiresReconnectAttribute.cs +++ b/src/slskd/Common/Configuration/RequiresReconnectAttribute.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Common/Configuration/RequiresRestartAttribute.cs b/src/slskd/Common/Configuration/RequiresRestartAttribute.cs index 30e3b9c9..6d903b25 100644 --- a/src/slskd/Common/Configuration/RequiresRestartAttribute.cs +++ b/src/slskd/Common/Configuration/RequiresRestartAttribute.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Common/Configuration/VolatileOverlayConfigurationSource.cs b/src/slskd/Common/Configuration/VolatileOverlayConfigurationSource.cs index 660768be..ee73c349 100644 --- a/src/slskd/Common/Configuration/VolatileOverlayConfigurationSource.cs +++ b/src/slskd/Common/Configuration/VolatileOverlayConfigurationSource.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Common/Configuration/YamlConfigurationSource.cs b/src/slskd/Common/Configuration/YamlConfigurationSource.cs index b045208a..d05855fd 100644 --- a/src/slskd/Common/Configuration/YamlConfigurationSource.cs +++ b/src/slskd/Common/Configuration/YamlConfigurationSource.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Common/Cryptography/Aes.cs b/src/slskd/Common/Cryptography/Aes.cs index 76ff1da7..20313a7c 100644 --- a/src/slskd/Common/Cryptography/Aes.cs +++ b/src/slskd/Common/Cryptography/Aes.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Common/Cryptography/Pbkdf2.cs b/src/slskd/Common/Cryptography/Pbkdf2.cs index d14cd969..2c6eb815 100644 --- a/src/slskd/Common/Cryptography/Pbkdf2.cs +++ b/src/slskd/Common/Cryptography/Pbkdf2.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Common/Cryptography/Random.cs b/src/slskd/Common/Cryptography/Random.cs index ccbc12a2..c25c6e79 100644 --- a/src/slskd/Common/Cryptography/Random.cs +++ b/src/slskd/Common/Cryptography/Random.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Common/Cryptography/X509.cs b/src/slskd/Common/Cryptography/X509.cs index 75790d8c..f1e9395b 100644 --- a/src/slskd/Common/Cryptography/X509.cs +++ b/src/slskd/Common/Cryptography/X509.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Common/Dumper.cs b/src/slskd/Common/Dumper.cs index d3db5278..04465ebf 100644 --- a/src/slskd/Common/Dumper.cs +++ b/src/slskd/Common/Dumper.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Common/Exceptions/ApplicationShutdownException.cs b/src/slskd/Common/Exceptions/ApplicationShutdownException.cs index fc9f3503..ef8a2148 100644 --- a/src/slskd/Common/Exceptions/ApplicationShutdownException.cs +++ b/src/slskd/Common/Exceptions/ApplicationShutdownException.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Common/Exceptions/GitHubException.cs b/src/slskd/Common/Exceptions/GitHubException.cs index 04c8aab7..47ae53c2 100644 --- a/src/slskd/Common/Exceptions/GitHubException.cs +++ b/src/slskd/Common/Exceptions/GitHubException.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Common/Exceptions/IntentionalDisconnectException.cs b/src/slskd/Common/Exceptions/IntentionalDisconnectException.cs index 673d8c0d..7b5271e7 100644 --- a/src/slskd/Common/Exceptions/IntentionalDisconnectException.cs +++ b/src/slskd/Common/Exceptions/IntentionalDisconnectException.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Common/Exceptions/NotFoundException.cs b/src/slskd/Common/Exceptions/NotFoundException.cs index 07771666..76edbb7b 100644 --- a/src/slskd/Common/Exceptions/NotFoundException.cs +++ b/src/slskd/Common/Exceptions/NotFoundException.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Common/Exceptions/OutOfRangeException.cs b/src/slskd/Common/Exceptions/OutOfRangeException.cs index bdb576e4..4562cac2 100644 --- a/src/slskd/Common/Exceptions/OutOfRangeException.cs +++ b/src/slskd/Common/Exceptions/OutOfRangeException.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Common/Exceptions/RelayException.cs b/src/slskd/Common/Exceptions/RelayException.cs index 15c4b03d..73a19413 100644 --- a/src/slskd/Common/Exceptions/RelayException.cs +++ b/src/slskd/Common/Exceptions/RelayException.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Common/Exceptions/RetryException.cs b/src/slskd/Common/Exceptions/RetryException.cs index 07683cd3..67bf4449 100644 --- a/src/slskd/Common/Exceptions/RetryException.cs +++ b/src/slskd/Common/Exceptions/RetryException.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Common/Exceptions/ShareInitializationException.cs b/src/slskd/Common/Exceptions/ShareInitializationException.cs index 31fe408f..bf335a4a 100644 --- a/src/slskd/Common/Exceptions/ShareInitializationException.cs +++ b/src/slskd/Common/Exceptions/ShareInitializationException.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Common/Exceptions/ShareScanInProgressException.cs b/src/slskd/Common/Exceptions/ShareScanInProgressException.cs index 5b5b8a98..b45436b7 100644 --- a/src/slskd/Common/Exceptions/ShareScanInProgressException.cs +++ b/src/slskd/Common/Exceptions/ShareScanInProgressException.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Common/Exceptions/ShareValidationException.cs b/src/slskd/Common/Exceptions/ShareValidationException.cs index 4b23070f..0c26d937 100644 --- a/src/slskd/Common/Exceptions/ShareValidationException.cs +++ b/src/slskd/Common/Exceptions/ShareValidationException.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Common/Exceptions/SlskdException.cs b/src/slskd/Common/Exceptions/SlskdException.cs index 613c7d8c..1ed14afb 100644 --- a/src/slskd/Common/Exceptions/SlskdException.cs +++ b/src/slskd/Common/Exceptions/SlskdException.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Common/Exceptions/UnauthorizedException.cs b/src/slskd/Common/Exceptions/UnauthorizedException.cs index fd958b07..3d269fdb 100644 --- a/src/slskd/Common/Exceptions/UnauthorizedException.cs +++ b/src/slskd/Common/Exceptions/UnauthorizedException.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Common/Exceptions/VPNClientException.cs b/src/slskd/Common/Exceptions/VPNClientException.cs index f950ae63..91abbb10 100644 --- a/src/slskd/Common/Exceptions/VPNClientException.cs +++ b/src/slskd/Common/Exceptions/VPNClientException.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Common/ExponentialMovingAverage.cs b/src/slskd/Common/ExponentialMovingAverage.cs index 677f2ba4..63c704da 100644 --- a/src/slskd/Common/ExponentialMovingAverage.cs +++ b/src/slskd/Common/ExponentialMovingAverage.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Common/GitHub.cs b/src/slskd/Common/GitHub.cs index 3275accb..01707261 100644 --- a/src/slskd/Common/GitHub.cs +++ b/src/slskd/Common/GitHub.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Common/JsonConverters/IPAddressConverter.cs b/src/slskd/Common/JsonConverters/IPAddressConverter.cs index 808f61aa..c188bd08 100644 --- a/src/slskd/Common/JsonConverters/IPAddressConverter.cs +++ b/src/slskd/Common/JsonConverters/IPAddressConverter.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Common/JsonConverters/IPEndPointConverter.cs b/src/slskd/Common/JsonConverters/IPEndPointConverter.cs index 57a257dd..e4974959 100644 --- a/src/slskd/Common/JsonConverters/IPEndPointConverter.cs +++ b/src/slskd/Common/JsonConverters/IPEndPointConverter.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Common/JsonConverters/KnownUnsupportedTypeConverter.cs b/src/slskd/Common/JsonConverters/KnownUnsupportedTypeConverter.cs index 278d58e3..a6909f8e 100644 --- a/src/slskd/Common/JsonConverters/KnownUnsupportedTypeConverter.cs +++ b/src/slskd/Common/JsonConverters/KnownUnsupportedTypeConverter.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Common/Logging/Checkpointer.cs b/src/slskd/Common/Logging/Checkpointer.cs index 2af567a2..81338491 100644 --- a/src/slskd/Common/Logging/Checkpointer.cs +++ b/src/slskd/Common/Logging/Checkpointer.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Common/Logging/ConsoleWriteLineLogger.cs b/src/slskd/Common/Logging/ConsoleWriteLineLogger.cs index 14e66727..16addbb9 100644 --- a/src/slskd/Common/Logging/ConsoleWriteLineLogger.cs +++ b/src/slskd/Common/Logging/ConsoleWriteLineLogger.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Common/Logging/DelegatingSink.cs b/src/slskd/Common/Logging/DelegatingSink.cs index 613799ac..7c8c6090 100644 --- a/src/slskd/Common/Logging/DelegatingSink.cs +++ b/src/slskd/Common/Logging/DelegatingSink.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Common/Logging/LogRecord.cs b/src/slskd/Common/Logging/LogRecord.cs index 5ad80575..28191bb9 100644 --- a/src/slskd/Common/Logging/LogRecord.cs +++ b/src/slskd/Common/Logging/LogRecord.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Common/ManagedState.cs b/src/slskd/Common/ManagedState.cs index cc71e9d2..42f98eb3 100644 --- a/src/slskd/Common/ManagedState.cs +++ b/src/slskd/Common/ManagedState.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Common/Middleware/HTMLInjectionMiddleware.cs b/src/slskd/Common/Middleware/HTMLInjectionMiddleware.cs index 92600d34..1a489090 100644 --- a/src/slskd/Common/Middleware/HTMLInjectionMiddleware.cs +++ b/src/slskd/Common/Middleware/HTMLInjectionMiddleware.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Common/Middleware/HTMLRewriteMiddleware.cs b/src/slskd/Common/Middleware/HTMLRewriteMiddleware.cs index d29e11fc..e984bf5f 100644 --- a/src/slskd/Common/Middleware/HTMLRewriteMiddleware.cs +++ b/src/slskd/Common/Middleware/HTMLRewriteMiddleware.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Common/Middleware/UrlEncodingModelBinder.cs b/src/slskd/Common/Middleware/UrlEncodingModelBinder.cs index f2ac7b54..848cd5c8 100644 --- a/src/slskd/Common/Middleware/UrlEncodingModelBinder.cs +++ b/src/slskd/Common/Middleware/UrlEncodingModelBinder.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Common/OpenAPI/ContentNegotiationOperationFilter.cs b/src/slskd/Common/OpenAPI/ContentNegotiationOperationFilter.cs index 9a915547..1672ea2e 100644 --- a/src/slskd/Common/OpenAPI/ContentNegotiationOperationFilter.cs +++ b/src/slskd/Common/OpenAPI/ContentNegotiationOperationFilter.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Common/RateLimiter.cs b/src/slskd/Common/RateLimiter.cs index 005b2762..9484c772 100644 --- a/src/slskd/Common/RateLimiter.cs +++ b/src/slskd/Common/RateLimiter.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Common/Redactor.cs b/src/slskd/Common/Redactor.cs index d128d514..f21daf2e 100644 --- a/src/slskd/Common/Redactor.cs +++ b/src/slskd/Common/Redactor.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Common/Retry.cs b/src/slskd/Common/Retry.cs index 3ef51fb4..86e786a5 100644 --- a/src/slskd/Common/Retry.cs +++ b/src/slskd/Common/Retry.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Common/Sqlite.cs b/src/slskd/Common/Sqlite.cs index bfd3b752..d9223e63 100644 --- a/src/slskd/Common/Sqlite.cs +++ b/src/slskd/Common/Sqlite.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Common/TimedCounter.cs b/src/slskd/Common/TimedCounter.cs index 07d5d323..460f917c 100644 --- a/src/slskd/Common/TimedCounter.cs +++ b/src/slskd/Common/TimedCounter.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Common/TokenBucket.cs b/src/slskd/Common/TokenBucket.cs index b8a3eeed..a4f5631c 100644 --- a/src/slskd/Common/TokenBucket.cs +++ b/src/slskd/Common/TokenBucket.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Common/UserEndPointCache.cs b/src/slskd/Common/UserEndPointCache.cs index 88ef252f..603dfb4e 100644 --- a/src/slskd/Common/UserEndPointCache.cs +++ b/src/slskd/Common/UserEndPointCache.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Common/Validation/AbsoluteFilePathAttribute.cs b/src/slskd/Common/Validation/AbsoluteFilePathAttribute.cs index 867a0416..36fef50b 100644 --- a/src/slskd/Common/Validation/AbsoluteFilePathAttribute.cs +++ b/src/slskd/Common/Validation/AbsoluteFilePathAttribute.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Common/Validation/CompositeValidationResult.cs b/src/slskd/Common/Validation/CompositeValidationResult.cs index d713e225..4ada971f 100644 --- a/src/slskd/Common/Validation/CompositeValidationResult.cs +++ b/src/slskd/Common/Validation/CompositeValidationResult.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Common/Validation/DirectoryExistsAttributes.cs b/src/slskd/Common/Validation/DirectoryExistsAttributes.cs index 469c7c44..cb202abe 100644 --- a/src/slskd/Common/Validation/DirectoryExistsAttributes.cs +++ b/src/slskd/Common/Validation/DirectoryExistsAttributes.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Common/Validation/EnumAttribute.cs b/src/slskd/Common/Validation/EnumAttribute.cs index 3ada18cc..2354328c 100644 --- a/src/slskd/Common/Validation/EnumAttribute.cs +++ b/src/slskd/Common/Validation/EnumAttribute.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Common/Validation/Extensions.cs b/src/slskd/Common/Validation/Extensions.cs index ae89e710..42ec2c4b 100644 --- a/src/slskd/Common/Validation/Extensions.cs +++ b/src/slskd/Common/Validation/Extensions.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Common/Validation/FileDoesNotExistAttribute.cs b/src/slskd/Common/Validation/FileDoesNotExistAttribute.cs index 214d1569..5a1c6e22 100644 --- a/src/slskd/Common/Validation/FileDoesNotExistAttribute.cs +++ b/src/slskd/Common/Validation/FileDoesNotExistAttribute.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Common/Validation/FileExistsAttribute.cs b/src/slskd/Common/Validation/FileExistsAttribute.cs index 0729f005..94ad5bfc 100644 --- a/src/slskd/Common/Validation/FileExistsAttribute.cs +++ b/src/slskd/Common/Validation/FileExistsAttribute.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Common/Validation/IPAddressAttribute.cs b/src/slskd/Common/Validation/IPAddressAttribute.cs index d4493902..aaecb203 100644 --- a/src/slskd/Common/Validation/IPAddressAttribute.cs +++ b/src/slskd/Common/Validation/IPAddressAttribute.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Common/Validation/NotNullOrWhiteSpaceAttribute.cs b/src/slskd/Common/Validation/NotNullOrWhiteSpaceAttribute.cs index 843cebfe..131aab37 100644 --- a/src/slskd/Common/Validation/NotNullOrWhiteSpaceAttribute.cs +++ b/src/slskd/Common/Validation/NotNullOrWhiteSpaceAttribute.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Common/Validation/ValidateAttribute.cs b/src/slskd/Common/Validation/ValidateAttribute.cs index 4181e818..7410f37b 100644 --- a/src/slskd/Common/Validation/ValidateAttribute.cs +++ b/src/slskd/Common/Validation/ValidateAttribute.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Common/Validation/ValidationExtensions.cs b/src/slskd/Common/Validation/ValidationExtensions.cs index 2cf47fa8..7f3a46c8 100644 --- a/src/slskd/Common/Validation/ValidationExtensions.cs +++ b/src/slskd/Common/Validation/ValidationExtensions.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Common/Validation/X509CertificateAttribute.cs b/src/slskd/Common/Validation/X509CertificateAttribute.cs index 0fe8d021..2e8ef48d 100644 --- a/src/slskd/Common/Validation/X509CertificateAttribute.cs +++ b/src/slskd/Common/Validation/X509CertificateAttribute.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Common/WaitKey.cs b/src/slskd/Common/WaitKey.cs index 324aae58..f188e317 100644 --- a/src/slskd/Common/WaitKey.cs +++ b/src/slskd/Common/WaitKey.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Common/Waiter.cs b/src/slskd/Common/Waiter.cs index 835000e0..52e7fc68 100644 --- a/src/slskd/Common/Waiter.cs +++ b/src/slskd/Common/Waiter.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Core/API/Controllers/ApplicationController.cs b/src/slskd/Core/API/Controllers/ApplicationController.cs index 06c50102..101d4047 100644 --- a/src/slskd/Core/API/Controllers/ApplicationController.cs +++ b/src/slskd/Core/API/Controllers/ApplicationController.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Core/API/Controllers/LogsController.cs b/src/slskd/Core/API/Controllers/LogsController.cs index e7af8ecc..5dfad088 100644 --- a/src/slskd/Core/API/Controllers/LogsController.cs +++ b/src/slskd/Core/API/Controllers/LogsController.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Core/API/Controllers/OptionsController.cs b/src/slskd/Core/API/Controllers/OptionsController.cs index e51bc364..efda95ed 100644 --- a/src/slskd/Core/API/Controllers/OptionsController.cs +++ b/src/slskd/Core/API/Controllers/OptionsController.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Core/API/Controllers/ServerController.cs b/src/slskd/Core/API/Controllers/ServerController.cs index 577c8d5c..118d7b93 100644 --- a/src/slskd/Core/API/Controllers/ServerController.cs +++ b/src/slskd/Core/API/Controllers/ServerController.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Core/API/Controllers/SessionController.cs b/src/slskd/Core/API/Controllers/SessionController.cs index beb0af5a..241df78e 100644 --- a/src/slskd/Core/API/Controllers/SessionController.cs +++ b/src/slskd/Core/API/Controllers/SessionController.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Core/API/DTO/LoginRequest.cs b/src/slskd/Core/API/DTO/LoginRequest.cs index 35c6802f..d5d4f697 100644 --- a/src/slskd/Core/API/DTO/LoginRequest.cs +++ b/src/slskd/Core/API/DTO/LoginRequest.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Core/API/DTO/ServerState.cs b/src/slskd/Core/API/DTO/ServerState.cs index cbbade6e..273ff2be 100644 --- a/src/slskd/Core/API/DTO/ServerState.cs +++ b/src/slskd/Core/API/DTO/ServerState.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Core/API/DTO/TokenResponse.cs b/src/slskd/Core/API/DTO/TokenResponse.cs index 610d4394..1bbe7c56 100644 --- a/src/slskd/Core/API/DTO/TokenResponse.cs +++ b/src/slskd/Core/API/DTO/TokenResponse.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Core/API/Hubs/ApplicationHub.cs b/src/slskd/Core/API/Hubs/ApplicationHub.cs index 6864ad28..d8f5238f 100644 --- a/src/slskd/Core/API/Hubs/ApplicationHub.cs +++ b/src/slskd/Core/API/Hubs/ApplicationHub.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Core/API/Hubs/LogsHub.cs b/src/slskd/Core/API/Hubs/LogsHub.cs index 070c555c..42a4c743 100644 --- a/src/slskd/Core/API/Hubs/LogsHub.cs +++ b/src/slskd/Core/API/Hubs/LogsHub.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Core/Blacklist.cs b/src/slskd/Core/Blacklist.cs index 4694c2a0..7f5761a3 100644 --- a/src/slskd/Core/Blacklist.cs +++ b/src/slskd/Core/Blacklist.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Core/CacheKeys.cs b/src/slskd/Core/CacheKeys.cs index 310d6179..d4d94e15 100644 --- a/src/slskd/Core/CacheKeys.cs +++ b/src/slskd/Core/CacheKeys.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Core/Clock.cs b/src/slskd/Core/Clock.cs index 254d9ead..e0603166 100644 --- a/src/slskd/Core/Clock.cs +++ b/src/slskd/Core/Clock.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Core/ConnectionWatchdog.cs b/src/slskd/Core/ConnectionWatchdog.cs index d8f64f59..e5628d39 100644 --- a/src/slskd/Core/ConnectionWatchdog.cs +++ b/src/slskd/Core/ConnectionWatchdog.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Core/Constants.cs b/src/slskd/Core/Constants.cs index 2b6841e0..73fb9df0 100644 --- a/src/slskd/Core/Constants.cs +++ b/src/slskd/Core/Constants.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Core/Data/ConnectionString.cs b/src/slskd/Core/Data/ConnectionString.cs index 77fcd33b..30146e0a 100644 --- a/src/slskd/Core/Data/ConnectionString.cs +++ b/src/slskd/Core/Data/ConnectionString.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Core/Data/ConnectionStringDictionary.cs b/src/slskd/Core/Data/ConnectionStringDictionary.cs index 68e6bf50..0286d362 100644 --- a/src/slskd/Core/Data/ConnectionStringDictionary.cs +++ b/src/slskd/Core/Data/ConnectionStringDictionary.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Core/Data/Databases.cs b/src/slskd/Core/Data/Databases.cs index 7ee275be..7faca085 100644 --- a/src/slskd/Core/Data/Databases.cs +++ b/src/slskd/Core/Data/Databases.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Core/Data/IMigration.cs b/src/slskd/Core/Data/IMigration.cs index b4f76768..0efbd064 100644 --- a/src/slskd/Core/Data/IMigration.cs +++ b/src/slskd/Core/Data/IMigration.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Core/Data/Migrations/Z2025_04_01_TransferStateMigration.cs b/src/slskd/Core/Data/Migrations/Z2025_04_01_TransferStateMigration.cs index 6cb852b2..74248889 100644 --- a/src/slskd/Core/Data/Migrations/Z2025_04_01_TransferStateMigration.cs +++ b/src/slskd/Core/Data/Migrations/Z2025_04_01_TransferStateMigration.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Core/Data/Migrations/Z2025_07_06_TransferIndexesMigration.cs b/src/slskd/Core/Data/Migrations/Z2025_07_06_TransferIndexesMigration.cs index 67416728..711e6019 100644 --- a/src/slskd/Core/Data/Migrations/Z2025_07_06_TransferIndexesMigration.cs +++ b/src/slskd/Core/Data/Migrations/Z2025_07_06_TransferIndexesMigration.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Core/Data/Migrations/Z2025_07_26_PrivateMessageWasReplayedMigration.cs b/src/slskd/Core/Data/Migrations/Z2025_07_26_PrivateMessageWasReplayedMigration.cs index 55c2c775..de0ff37c 100644 --- a/src/slskd/Core/Data/Migrations/Z2025_07_26_PrivateMessageWasReplayedMigration.cs +++ b/src/slskd/Core/Data/Migrations/Z2025_07_26_PrivateMessageWasReplayedMigration.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Core/Data/Migrations/Z2025_12_28_AdditionalTransferIndexesMigration.cs b/src/slskd/Core/Data/Migrations/Z2025_12_28_AdditionalTransferIndexesMigration.cs index 32480462..5a5aed32 100644 --- a/src/slskd/Core/Data/Migrations/Z2025_12_28_AdditionalTransferIndexesMigration.cs +++ b/src/slskd/Core/Data/Migrations/Z2025_12_28_AdditionalTransferIndexesMigration.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Core/Data/Migrations/Z2026_02_17_TransferAttemptsAndBatchIdMigration.cs b/src/slskd/Core/Data/Migrations/Z2026_02_17_TransferAttemptsAndBatchIdMigration.cs index adb01d2c..476f5f14 100644 --- a/src/slskd/Core/Data/Migrations/Z2026_02_17_TransferAttemptsAndBatchIdMigration.cs +++ b/src/slskd/Core/Data/Migrations/Z2026_02_17_TransferAttemptsAndBatchIdMigration.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Core/Data/Migrator.cs b/src/slskd/Core/Data/Migrator.cs index 8f0e26fc..f372b2e6 100644 --- a/src/slskd/Core/Data/Migrator.cs +++ b/src/slskd/Core/Data/Migrator.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Core/Data/SchemaInspector.cs b/src/slskd/Core/Data/SchemaInspector.cs index 70d7a467..d49ff4f2 100644 --- a/src/slskd/Core/Data/SchemaInspector.cs +++ b/src/slskd/Core/Data/SchemaInspector.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Core/Data/SqlitePragmaInterceptor.cs b/src/slskd/Core/Data/SqlitePragmaInterceptor.cs index 6333e26e..e01592e4 100644 --- a/src/slskd/Core/Data/SqlitePragmaInterceptor.cs +++ b/src/slskd/Core/Data/SqlitePragmaInterceptor.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Core/Extensions.cs b/src/slskd/Core/Extensions.cs index b2cd1597..1060ae1d 100644 --- a/src/slskd/Core/Extensions.cs +++ b/src/slskd/Core/Extensions.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Core/Options.cs b/src/slskd/Core/Options.cs index c6ed6b52..ab19b47c 100644 --- a/src/slskd/Core/Options.cs +++ b/src/slskd/Core/Options.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Core/OptionsOverlay.cs b/src/slskd/Core/OptionsOverlay.cs index f70eb567..7edc191a 100644 --- a/src/slskd/Core/OptionsOverlay.cs +++ b/src/slskd/Core/OptionsOverlay.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Core/Security/SecurityService.cs b/src/slskd/Core/Security/SecurityService.cs index 38af9975..f5f1b0a0 100644 --- a/src/slskd/Core/Security/SecurityService.cs +++ b/src/slskd/Core/Security/SecurityService.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Core/State.cs b/src/slskd/Core/State.cs index 02edcd70..2a115a24 100644 --- a/src/slskd/Core/State.cs +++ b/src/slskd/Core/State.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Events/API/EventsController.cs b/src/slskd/Events/API/EventsController.cs index 3d5f73ac..af533483 100644 --- a/src/slskd/Events/API/EventsController.cs +++ b/src/slskd/Events/API/EventsController.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Events/EventBus.cs b/src/slskd/Events/EventBus.cs index e74df57a..e9b43154 100644 --- a/src/slskd/Events/EventBus.cs +++ b/src/slskd/Events/EventBus.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Events/EventService.cs b/src/slskd/Events/EventService.cs index 5f535e0a..8fde27d9 100644 --- a/src/slskd/Events/EventService.cs +++ b/src/slskd/Events/EventService.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Events/EventsDbContext.cs b/src/slskd/Events/EventsDbContext.cs index 2862b87a..4ec163a6 100644 --- a/src/slskd/Events/EventsDbContext.cs +++ b/src/slskd/Events/EventsDbContext.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Events/Types/EventRecord.cs b/src/slskd/Events/Types/EventRecord.cs index 101c20b9..1f7e9042 100644 --- a/src/slskd/Events/Types/EventRecord.cs +++ b/src/slskd/Events/Types/EventRecord.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Events/Types/Events.cs b/src/slskd/Events/Types/Events.cs index a35f7f5a..6750f7ef 100644 --- a/src/slskd/Events/Types/Events.cs +++ b/src/slskd/Events/Types/Events.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Files/API/FilesController.cs b/src/slskd/Files/API/FilesController.cs index 2280b077..1c2fb23f 100644 --- a/src/slskd/Files/API/FilesController.cs +++ b/src/slskd/Files/API/FilesController.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Files/FileExtensions.cs b/src/slskd/Files/FileExtensions.cs index a298c884..c96b087c 100644 --- a/src/slskd/Files/FileExtensions.cs +++ b/src/slskd/Files/FileExtensions.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Files/FileService.cs b/src/slskd/Files/FileService.cs index 1018f958..a1ee25a8 100644 --- a/src/slskd/Files/FileService.cs +++ b/src/slskd/Files/FileService.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Files/Types/CreateFileOptions.cs b/src/slskd/Files/Types/CreateFileOptions.cs index fb04a212..3acbb1fa 100644 --- a/src/slskd/Files/Types/CreateFileOptions.cs +++ b/src/slskd/Files/Types/CreateFileOptions.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Files/Types/FilesystemDirectory.cs b/src/slskd/Files/Types/FilesystemDirectory.cs index 344f4e3f..2b9ae9d1 100644 --- a/src/slskd/Files/Types/FilesystemDirectory.cs +++ b/src/slskd/Files/Types/FilesystemDirectory.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Files/Types/FilesystemFile.cs b/src/slskd/Files/Types/FilesystemFile.cs index 7325f733..6d55e905 100644 --- a/src/slskd/Files/Types/FilesystemFile.cs +++ b/src/slskd/Files/Types/FilesystemFile.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Integrations/FTP/FTPClientFactory.cs b/src/slskd/Integrations/FTP/FTPClientFactory.cs index c5e1425c..9a392e0e 100644 --- a/src/slskd/Integrations/FTP/FTPClientFactory.cs +++ b/src/slskd/Integrations/FTP/FTPClientFactory.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Integrations/FTP/FTPService.cs b/src/slskd/Integrations/FTP/FTPService.cs index 61eee9fb..80b6fdba 100644 --- a/src/slskd/Integrations/FTP/FTPService.cs +++ b/src/slskd/Integrations/FTP/FTPService.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Integrations/FTP/IFTPClientFactory.cs b/src/slskd/Integrations/FTP/IFTPClientFactory.cs index e96fffc0..7ac408b3 100644 --- a/src/slskd/Integrations/FTP/IFTPClientFactory.cs +++ b/src/slskd/Integrations/FTP/IFTPClientFactory.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Integrations/FTP/IFTPService.cs b/src/slskd/Integrations/FTP/IFTPService.cs index 21c4cc3c..4f64ff98 100644 --- a/src/slskd/Integrations/FTP/IFTPService.cs +++ b/src/slskd/Integrations/FTP/IFTPService.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Integrations/Pushbullet/IPushbulletService.cs b/src/slskd/Integrations/Pushbullet/IPushbulletService.cs index c3713567..e1ac3b48 100644 --- a/src/slskd/Integrations/Pushbullet/IPushbulletService.cs +++ b/src/slskd/Integrations/Pushbullet/IPushbulletService.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Integrations/Pushbullet/PushbulletService.cs b/src/slskd/Integrations/Pushbullet/PushbulletService.cs index d049c830..93d9deff 100644 --- a/src/slskd/Integrations/Pushbullet/PushbulletService.cs +++ b/src/slskd/Integrations/Pushbullet/PushbulletService.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Integrations/Scripts/ScriptService.cs b/src/slskd/Integrations/Scripts/ScriptService.cs index eba1e5d1..bf8419a4 100644 --- a/src/slskd/Integrations/Scripts/ScriptService.cs +++ b/src/slskd/Integrations/Scripts/ScriptService.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Integrations/VPN/Clients/Gluetun.cs b/src/slskd/Integrations/VPN/Clients/Gluetun.cs index fb0c9e37..1a5d7665 100644 --- a/src/slskd/Integrations/VPN/Clients/Gluetun.cs +++ b/src/slskd/Integrations/VPN/Clients/Gluetun.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Integrations/VPN/IVPNClient.cs b/src/slskd/Integrations/VPN/IVPNClient.cs index 5a4acfb1..980a87d2 100644 --- a/src/slskd/Integrations/VPN/IVPNClient.cs +++ b/src/slskd/Integrations/VPN/IVPNClient.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Integrations/VPN/VPNService.cs b/src/slskd/Integrations/VPN/VPNService.cs index cc8d7123..82a78946 100644 --- a/src/slskd/Integrations/VPN/VPNService.cs +++ b/src/slskd/Integrations/VPN/VPNService.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Integrations/VPN/VPNStatus.cs b/src/slskd/Integrations/VPN/VPNStatus.cs index 134b3093..a1de543d 100644 --- a/src/slskd/Integrations/VPN/VPNStatus.cs +++ b/src/slskd/Integrations/VPN/VPNStatus.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Integrations/Webhooks/WebhookService.cs b/src/slskd/Integrations/Webhooks/WebhookService.cs index 7cc60ef3..1bab8e35 100644 --- a/src/slskd/Integrations/Webhooks/WebhookService.cs +++ b/src/slskd/Integrations/Webhooks/WebhookService.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Messaging/API/Controllers/ConversationsController.cs b/src/slskd/Messaging/API/Controllers/ConversationsController.cs index 544f8745..9fb95443 100644 --- a/src/slskd/Messaging/API/Controllers/ConversationsController.cs +++ b/src/slskd/Messaging/API/Controllers/ConversationsController.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Messaging/API/Controllers/RoomsController.cs b/src/slskd/Messaging/API/Controllers/RoomsController.cs index 2894a0b3..05e64d6c 100644 --- a/src/slskd/Messaging/API/Controllers/RoomsController.cs +++ b/src/slskd/Messaging/API/Controllers/RoomsController.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Messaging/API/DTO/RoomInfoResponse.cs b/src/slskd/Messaging/API/DTO/RoomInfoResponse.cs index cc5be2f9..f6b66263 100644 --- a/src/slskd/Messaging/API/DTO/RoomInfoResponse.cs +++ b/src/slskd/Messaging/API/DTO/RoomInfoResponse.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Messaging/API/DTO/RoomMessageResponse.cs b/src/slskd/Messaging/API/DTO/RoomMessageResponse.cs index c1f34392..bf63ef70 100644 --- a/src/slskd/Messaging/API/DTO/RoomMessageResponse.cs +++ b/src/slskd/Messaging/API/DTO/RoomMessageResponse.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Messaging/API/DTO/RoomResponse.cs b/src/slskd/Messaging/API/DTO/RoomResponse.cs index db165ee0..fd2b8b6e 100644 --- a/src/slskd/Messaging/API/DTO/RoomResponse.cs +++ b/src/slskd/Messaging/API/DTO/RoomResponse.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Messaging/API/DTO/UserDataResponse.cs b/src/slskd/Messaging/API/DTO/UserDataResponse.cs index 0513178e..f88b07b7 100644 --- a/src/slskd/Messaging/API/DTO/UserDataResponse.cs +++ b/src/slskd/Messaging/API/DTO/UserDataResponse.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Messaging/ConversationService.cs b/src/slskd/Messaging/ConversationService.cs index 9991aae8..db664ecb 100644 --- a/src/slskd/Messaging/ConversationService.cs +++ b/src/slskd/Messaging/ConversationService.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Messaging/IRoomTracker.cs b/src/slskd/Messaging/IRoomTracker.cs index 0b3d68e5..935d0320 100644 --- a/src/slskd/Messaging/IRoomTracker.cs +++ b/src/slskd/Messaging/IRoomTracker.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Messaging/MessagingDbContext.cs b/src/slskd/Messaging/MessagingDbContext.cs index c0652265..bbf20a2a 100644 --- a/src/slskd/Messaging/MessagingDbContext.cs +++ b/src/slskd/Messaging/MessagingDbContext.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Messaging/MessagingService.cs b/src/slskd/Messaging/MessagingService.cs index 960598d2..33a2918d 100644 --- a/src/slskd/Messaging/MessagingService.cs +++ b/src/slskd/Messaging/MessagingService.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Messaging/RoomService.cs b/src/slskd/Messaging/RoomService.cs index e8b1cc43..206e9734 100644 --- a/src/slskd/Messaging/RoomService.cs +++ b/src/slskd/Messaging/RoomService.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Messaging/RoomTracker.cs b/src/slskd/Messaging/RoomTracker.cs index 60e43be3..d876d246 100644 --- a/src/slskd/Messaging/RoomTracker.cs +++ b/src/slskd/Messaging/RoomTracker.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Messaging/Types/Conversation.cs b/src/slskd/Messaging/Types/Conversation.cs index d43753b2..bc91b9fe 100644 --- a/src/slskd/Messaging/Types/Conversation.cs +++ b/src/slskd/Messaging/Types/Conversation.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Messaging/Types/MessageDirection.cs b/src/slskd/Messaging/Types/MessageDirection.cs index 662103dc..fc0501a7 100644 --- a/src/slskd/Messaging/Types/MessageDirection.cs +++ b/src/slskd/Messaging/Types/MessageDirection.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Messaging/Types/PrivateMessage.cs b/src/slskd/Messaging/Types/PrivateMessage.cs index 5eed1491..98c586a3 100644 --- a/src/slskd/Messaging/Types/PrivateMessage.cs +++ b/src/slskd/Messaging/Types/PrivateMessage.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Messaging/Types/Room.cs b/src/slskd/Messaging/Types/Room.cs index c8a8e423..b60987f3 100644 --- a/src/slskd/Messaging/Types/Room.cs +++ b/src/slskd/Messaging/Types/Room.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Messaging/Types/RoomMessage.cs b/src/slskd/Messaging/Types/RoomMessage.cs index 4c6477e8..7e7d0c58 100644 --- a/src/slskd/Messaging/Types/RoomMessage.cs +++ b/src/slskd/Messaging/Types/RoomMessage.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Program.cs b/src/slskd/Program.cs index 9ce1fb0c..b352b0fc 100644 --- a/src/slskd/Program.cs +++ b/src/slskd/Program.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham @@ -1624,13 +1623,11 @@ namespace slskd var banner = @$" {logo} ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ -│ Copyright (c) JP Dillingham and slskd Contributors -│ -│ https://slskd.org -│ │ GNU Affero General Public License │ └─▸ SPDX: AGPL-3.0-only │ +│ https://slskd.org +│ ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ │ {version}"; diff --git a/src/slskd/Properties/stylecop.json b/src/slskd/Properties/stylecop.json index 2f0c7fb0..48bcdfb9 100644 --- a/src/slskd/Properties/stylecop.json +++ b/src/slskd/Properties/stylecop.json @@ -17,7 +17,7 @@ "documentPrivateElements": false, "documentPrivateFields": false, "companyName": "JP Dillingham", - "copyrightText": " ▄▄▄▄ ▄▄▄▄ ▄▄▄▄\n ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █\n █__ --█ █__ --█ ◄█ - █\n █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█\n ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉\n │ Copyright (c) {companyName}.\n │\n │ https://slskd.org\n │\n │ This program is free software: you can redistribute it and/or modify\n │ it under the terms of the GNU Affero General Public License as published\n │ by the Free Software Foundation, either version 3 of the License, or\n │ (at your option) any later version.\n │\n │ This program is distributed in the hope that it will be useful,\n │ but WITHOUT ANY WARRANTY; without even the implied warranty of\n │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n │ GNU Affero General Public License for more details.\n │\n │ You should have received a copy of the GNU Affero General Public License\n │ along with this program. If not, see https://www.gnu.org/licenses/.\n │\n │ This program is distributed with Additional Terms pursuant to Section 7\n │ of the AGPLv3. See the LICENSE file in the root directory of this\n │ project for the complete terms and conditions.\n │\n ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌\n │ SPDX-FileCopyrightText: {companyName}\n │ SPDX-License-Identifier: AGPL-3.0-only\n ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈", + "copyrightText": " ▄▄▄▄ ▄▄▄▄ ▄▄▄▄\n ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █\n █__ --█ █__ --█ ◄█ - █\n █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█\n ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉\n │ Copyright (c) {companyName}.\n │\n │ This program is free software: you can redistribute it and/or modify\n │ it under the terms of the GNU Affero General Public License as published\n │ by the Free Software Foundation, either version 3 of the License, or\n │ (at your option) any later version.\n │\n │ This program is distributed in the hope that it will be useful,\n │ but WITHOUT ANY WARRANTY; without even the implied warranty of\n │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n │ GNU Affero General Public License for more details.\n │\n │ You should have received a copy of the GNU Affero General Public License\n │ along with this program. If not, see https://www.gnu.org/licenses/.\n │\n │ This program is distributed with Additional Terms pursuant to Section 7\n │ of the AGPLv3. See the LICENSE file in the root directory of this\n │ project for the complete terms and conditions.\n │\n │ https://slskd.org\n │\n ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌\n │ SPDX-FileCopyrightText: {companyName}\n │ SPDX-License-Identifier: AGPL-3.0-only\n ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈", "variables": { "licenseName": "AGPL-3.0-only", "licenseFile": "LICENSE" diff --git a/src/slskd/Relay/API/Controllers/RelayController.cs b/src/slskd/Relay/API/Controllers/RelayController.cs index 7c80c9a3..9dacf66a 100644 --- a/src/slskd/Relay/API/Controllers/RelayController.cs +++ b/src/slskd/Relay/API/Controllers/RelayController.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Relay/API/Hubs/RelayHub.cs b/src/slskd/Relay/API/Hubs/RelayHub.cs index 09ac32c6..6a10fe78 100644 --- a/src/slskd/Relay/API/Hubs/RelayHub.cs +++ b/src/slskd/Relay/API/Hubs/RelayHub.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Relay/IRelayClient.cs b/src/slskd/Relay/IRelayClient.cs index 75360cb4..430c9029 100644 --- a/src/slskd/Relay/IRelayClient.cs +++ b/src/slskd/Relay/IRelayClient.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Relay/NullRelayClient.cs b/src/slskd/Relay/NullRelayClient.cs index 7f324e10..f9f25b19 100644 --- a/src/slskd/Relay/NullRelayClient.cs +++ b/src/slskd/Relay/NullRelayClient.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Relay/RelayClient.cs b/src/slskd/Relay/RelayClient.cs index 56fc53fc..85d0db14 100644 --- a/src/slskd/Relay/RelayClient.cs +++ b/src/slskd/Relay/RelayClient.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Relay/RelayService.cs b/src/slskd/Relay/RelayService.cs index 1f196dc5..bf13bf95 100644 --- a/src/slskd/Relay/RelayService.cs +++ b/src/slskd/Relay/RelayService.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Relay/Types/Agent.cs b/src/slskd/Relay/Types/Agent.cs index a8c8a102..55b2323e 100644 --- a/src/slskd/Relay/Types/Agent.cs +++ b/src/slskd/Relay/Types/Agent.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Relay/Types/RelayClientState.cs b/src/slskd/Relay/Types/RelayClientState.cs index 75a87b89..5b6e8206 100644 --- a/src/slskd/Relay/Types/RelayClientState.cs +++ b/src/slskd/Relay/Types/RelayClientState.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Relay/Types/RelayMode.cs b/src/slskd/Relay/Types/RelayMode.cs index 0c707069..8baa8776 100644 --- a/src/slskd/Relay/Types/RelayMode.cs +++ b/src/slskd/Relay/Types/RelayMode.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Search/API/Controllers/SearchesController.cs b/src/slskd/Search/API/Controllers/SearchesController.cs index 849d4d25..e479a259 100644 --- a/src/slskd/Search/API/Controllers/SearchesController.cs +++ b/src/slskd/Search/API/Controllers/SearchesController.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Search/API/DTO/SearchRequest.cs b/src/slskd/Search/API/DTO/SearchRequest.cs index 2bc2d62d..67651716 100644 --- a/src/slskd/Search/API/DTO/SearchRequest.cs +++ b/src/slskd/Search/API/DTO/SearchRequest.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Search/API/Hubs/SearchHub.cs b/src/slskd/Search/API/Hubs/SearchHub.cs index b96a2a69..20492e84 100644 --- a/src/slskd/Search/API/Hubs/SearchHub.cs +++ b/src/slskd/Search/API/Hubs/SearchHub.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Search/Extensions.cs b/src/slskd/Search/Extensions.cs index d5e6c72b..031e7dc0 100644 --- a/src/slskd/Search/Extensions.cs +++ b/src/slskd/Search/Extensions.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Search/SearchDbContext.cs b/src/slskd/Search/SearchDbContext.cs index 1a2db79e..8a5b039c 100644 --- a/src/slskd/Search/SearchDbContext.cs +++ b/src/slskd/Search/SearchDbContext.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Search/SearchResponseCache.cs b/src/slskd/Search/SearchResponseCache.cs index ce552e63..43cacc5c 100644 --- a/src/slskd/Search/SearchResponseCache.cs +++ b/src/slskd/Search/SearchResponseCache.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Search/SearchService.cs b/src/slskd/Search/SearchService.cs index e02929c4..3236cd9f 100644 --- a/src/slskd/Search/SearchService.cs +++ b/src/slskd/Search/SearchService.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Search/Types/File.cs b/src/slskd/Search/Types/File.cs index 7db97e29..4715d23d 100644 --- a/src/slskd/Search/Types/File.cs +++ b/src/slskd/Search/Types/File.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Search/Types/Response.cs b/src/slskd/Search/Types/Response.cs index 4a10ea1f..51ed9b95 100644 --- a/src/slskd/Search/Types/Response.cs +++ b/src/slskd/Search/Types/Response.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Search/Types/Search.cs b/src/slskd/Search/Types/Search.cs index 2d098ebd..aba844f1 100644 --- a/src/slskd/Search/Types/Search.cs +++ b/src/slskd/Search/Types/Search.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Shares/API/Controllers/SharesController.cs b/src/slskd/Shares/API/Controllers/SharesController.cs index a6fc96c2..591b3118 100644 --- a/src/slskd/Shares/API/Controllers/SharesController.cs +++ b/src/slskd/Shares/API/Controllers/SharesController.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Shares/IShareRepository.cs b/src/slskd/Shares/IShareRepository.cs index 1a77a052..c60b3df0 100644 --- a/src/slskd/Shares/IShareRepository.cs +++ b/src/slskd/Shares/IShareRepository.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Shares/IShareRepositoryFactory.cs b/src/slskd/Shares/IShareRepositoryFactory.cs index 4d14ed1f..2c59834f 100644 --- a/src/slskd/Shares/IShareRepositoryFactory.cs +++ b/src/slskd/Shares/IShareRepositoryFactory.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Shares/IShareService.cs b/src/slskd/Shares/IShareService.cs index 5498696b..3b2444b0 100644 --- a/src/slskd/Shares/IShareService.cs +++ b/src/slskd/Shares/IShareService.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Shares/ShareRepositoryFactory.cs b/src/slskd/Shares/ShareRepositoryFactory.cs index 38fa5b80..86ce7d2f 100644 --- a/src/slskd/Shares/ShareRepositoryFactory.cs +++ b/src/slskd/Shares/ShareRepositoryFactory.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Shares/ShareScanner.cs b/src/slskd/Shares/ShareScanner.cs index cd988bb3..a45185e1 100644 --- a/src/slskd/Shares/ShareScanner.cs +++ b/src/slskd/Shares/ShareScanner.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Shares/ShareService.cs b/src/slskd/Shares/ShareService.cs index 331aa159..b1ba449b 100644 --- a/src/slskd/Shares/ShareService.cs +++ b/src/slskd/Shares/ShareService.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Shares/SoulseekFileFactory.cs b/src/slskd/Shares/SoulseekFileFactory.cs index 2ea74ac1..bf9e9f1c 100644 --- a/src/slskd/Shares/SoulseekFileFactory.cs +++ b/src/slskd/Shares/SoulseekFileFactory.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Shares/SqliteShareRepository.cs b/src/slskd/Shares/SqliteShareRepository.cs index 1ae0e33a..a3645a33 100644 --- a/src/slskd/Shares/SqliteShareRepository.cs +++ b/src/slskd/Shares/SqliteShareRepository.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Shares/Types/Host.cs b/src/slskd/Shares/Types/Host.cs index 89af4e02..4731c9e3 100644 --- a/src/slskd/Shares/Types/Host.cs +++ b/src/slskd/Shares/Types/Host.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Shares/Types/Scan.cs b/src/slskd/Shares/Types/Scan.cs index fecddebf..22449457 100644 --- a/src/slskd/Shares/Types/Scan.cs +++ b/src/slskd/Shares/Types/Scan.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Shares/Types/Share.cs b/src/slskd/Shares/Types/Share.cs index f57b1b61..d26367fb 100644 --- a/src/slskd/Shares/Types/Share.cs +++ b/src/slskd/Shares/Types/Share.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Shares/Types/StorageMode.cs b/src/slskd/Shares/Types/StorageMode.cs index 41a2bedb..a0daa6f4 100644 --- a/src/slskd/Shares/Types/StorageMode.cs +++ b/src/slskd/Shares/Types/StorageMode.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Telemetry/API/MetricsController.cs b/src/slskd/Telemetry/API/MetricsController.cs index f17adb46..aad48928 100644 --- a/src/slskd/Telemetry/API/MetricsController.cs +++ b/src/slskd/Telemetry/API/MetricsController.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Telemetry/API/ReportsController.cs b/src/slskd/Telemetry/API/ReportsController.cs index 198e24d6..a8517171 100644 --- a/src/slskd/Telemetry/API/ReportsController.cs +++ b/src/slskd/Telemetry/API/ReportsController.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Telemetry/Metrics.cs b/src/slskd/Telemetry/Metrics.cs index ed3269f4..566e4222 100644 --- a/src/slskd/Telemetry/Metrics.cs +++ b/src/slskd/Telemetry/Metrics.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Telemetry/PrometheusService.cs b/src/slskd/Telemetry/PrometheusService.cs index 7addf873..b0717416 100644 --- a/src/slskd/Telemetry/PrometheusService.cs +++ b/src/slskd/Telemetry/PrometheusService.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Telemetry/ReportsService.cs b/src/slskd/Telemetry/ReportsService.cs index 6d7c1855..46edbe01 100644 --- a/src/slskd/Telemetry/ReportsService.cs +++ b/src/slskd/Telemetry/ReportsService.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Telemetry/TelemetryService.cs b/src/slskd/Telemetry/TelemetryService.cs index 9d7c6b67..a63371c8 100644 --- a/src/slskd/Telemetry/TelemetryService.cs +++ b/src/slskd/Telemetry/TelemetryService.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Telemetry/Types/DirectoryDetail.cs b/src/slskd/Telemetry/Types/DirectoryDetail.cs index d7c47267..39ab635d 100644 --- a/src/slskd/Telemetry/Types/DirectoryDetail.cs +++ b/src/slskd/Telemetry/Types/DirectoryDetail.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Telemetry/Types/LeaderboardSorting.cs b/src/slskd/Telemetry/Types/LeaderboardSorting.cs index 9691f890..7cb11602 100644 --- a/src/slskd/Telemetry/Types/LeaderboardSorting.cs +++ b/src/slskd/Telemetry/Types/LeaderboardSorting.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Telemetry/Types/PrometheusMetric.cs b/src/slskd/Telemetry/Types/PrometheusMetric.cs index ae959655..b33a54bb 100644 --- a/src/slskd/Telemetry/Types/PrometheusMetric.cs +++ b/src/slskd/Telemetry/Types/PrometheusMetric.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Telemetry/Types/SortOrder.cs b/src/slskd/Telemetry/Types/SortOrder.cs index 755521b5..6376aa85 100644 --- a/src/slskd/Telemetry/Types/SortOrder.cs +++ b/src/slskd/Telemetry/Types/SortOrder.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Telemetry/Types/TransferExceptionDetail.cs b/src/slskd/Telemetry/Types/TransferExceptionDetail.cs index d81b5e85..9db9f30b 100644 --- a/src/slskd/Telemetry/Types/TransferExceptionDetail.cs +++ b/src/slskd/Telemetry/Types/TransferExceptionDetail.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Telemetry/Types/TransferExceptionSummary.cs b/src/slskd/Telemetry/Types/TransferExceptionSummary.cs index b014b8ef..4a3af476 100644 --- a/src/slskd/Telemetry/Types/TransferExceptionSummary.cs +++ b/src/slskd/Telemetry/Types/TransferExceptionSummary.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Telemetry/Types/TransferSummary.cs b/src/slskd/Telemetry/Types/TransferSummary.cs index 1088babe..f8fac227 100644 --- a/src/slskd/Telemetry/Types/TransferSummary.cs +++ b/src/slskd/Telemetry/Types/TransferSummary.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Telemetry/Types/UserDirectionTransferSummary.cs b/src/slskd/Telemetry/Types/UserDirectionTransferSummary.cs index dce3705b..7b841937 100644 --- a/src/slskd/Telemetry/Types/UserDirectionTransferSummary.cs +++ b/src/slskd/Telemetry/Types/UserDirectionTransferSummary.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Transfers/API/Controllers/TransfersController.cs b/src/slskd/Transfers/API/Controllers/TransfersController.cs index 7a2cbfdf..caa3f86c 100644 --- a/src/slskd/Transfers/API/Controllers/TransfersController.cs +++ b/src/slskd/Transfers/API/Controllers/TransfersController.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Transfers/API/DTO/DirectoryResponse.cs b/src/slskd/Transfers/API/DTO/DirectoryResponse.cs index e913108e..7adc4ff2 100644 --- a/src/slskd/Transfers/API/DTO/DirectoryResponse.cs +++ b/src/slskd/Transfers/API/DTO/DirectoryResponse.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Transfers/API/DTO/QueueDownloadRequest.cs b/src/slskd/Transfers/API/DTO/QueueDownloadRequest.cs index f6968511..105f36f0 100644 --- a/src/slskd/Transfers/API/DTO/QueueDownloadRequest.cs +++ b/src/slskd/Transfers/API/DTO/QueueDownloadRequest.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Transfers/API/DTO/Transfer.cs b/src/slskd/Transfers/API/DTO/Transfer.cs index 0ad095dc..1f0ba2c9 100644 --- a/src/slskd/Transfers/API/DTO/Transfer.cs +++ b/src/slskd/Transfers/API/DTO/Transfer.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Transfers/API/DTO/UserResponse.cs b/src/slskd/Transfers/API/DTO/UserResponse.cs index 0e7244d8..2f88f9d7 100644 --- a/src/slskd/Transfers/API/DTO/UserResponse.cs +++ b/src/slskd/Transfers/API/DTO/UserResponse.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Transfers/Downloads/DownloadService.cs b/src/slskd/Transfers/Downloads/DownloadService.cs index a92e5ce7..1738cab6 100644 --- a/src/slskd/Transfers/Downloads/DownloadService.cs +++ b/src/slskd/Transfers/Downloads/DownloadService.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Transfers/Extensions.cs b/src/slskd/Transfers/Extensions.cs index 64a3b36f..48b559e7 100644 --- a/src/slskd/Transfers/Extensions.cs +++ b/src/slskd/Transfers/Extensions.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Transfers/TransferService.cs b/src/slskd/Transfers/TransferService.cs index 1b20ffe6..0fa5ce76 100644 --- a/src/slskd/Transfers/TransferService.cs +++ b/src/slskd/Transfers/TransferService.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Transfers/TransfersDbContext.cs b/src/slskd/Transfers/TransfersDbContext.cs index 8dfa1505..d0538b9a 100644 --- a/src/slskd/Transfers/TransfersDbContext.cs +++ b/src/slskd/Transfers/TransfersDbContext.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -25,6 +23,8 @@ // │ of the AGPLv3. See the LICENSE file in the root directory of this // │ project for the complete terms and conditions. // │ +// │ https://slskd.org +// │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham // │ SPDX-License-Identifier: AGPL-3.0-only diff --git a/src/slskd/Transfers/Types/QueueStrategy.cs b/src/slskd/Transfers/Types/QueueStrategy.cs index 66ef30bf..85f7dfe0 100644 --- a/src/slskd/Transfers/Types/QueueStrategy.cs +++ b/src/slskd/Transfers/Types/QueueStrategy.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Transfers/Types/Transfer.cs b/src/slskd/Transfers/Types/Transfer.cs index 382fff01..8c5b120e 100644 --- a/src/slskd/Transfers/Types/Transfer.cs +++ b/src/slskd/Transfers/Types/Transfer.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Transfers/Types/TransferStateCategories.cs b/src/slskd/Transfers/Types/TransferStateCategories.cs index 219125d0..f8c267ec 100644 --- a/src/slskd/Transfers/Types/TransferStateCategories.cs +++ b/src/slskd/Transfers/Types/TransferStateCategories.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Transfers/Types/Upload.cs b/src/slskd/Transfers/Types/Upload.cs index 81d2b211..569567b5 100644 --- a/src/slskd/Transfers/Types/Upload.cs +++ b/src/slskd/Transfers/Types/Upload.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Transfers/Types/UploadGroup.cs b/src/slskd/Transfers/Types/UploadGroup.cs index bafc6292..6d81b23e 100644 --- a/src/slskd/Transfers/Types/UploadGroup.cs +++ b/src/slskd/Transfers/Types/UploadGroup.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Transfers/Types/UserUploadStatistics.cs b/src/slskd/Transfers/Types/UserUploadStatistics.cs index 406f488e..005d46b5 100644 --- a/src/slskd/Transfers/Types/UserUploadStatistics.cs +++ b/src/slskd/Transfers/Types/UserUploadStatistics.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Transfers/Uploads/UploadGovernor.cs b/src/slskd/Transfers/Uploads/UploadGovernor.cs index 7a4c8834..b7a46c58 100644 --- a/src/slskd/Transfers/Uploads/UploadGovernor.cs +++ b/src/slskd/Transfers/Uploads/UploadGovernor.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Transfers/Uploads/UploadQueue.cs b/src/slskd/Transfers/Uploads/UploadQueue.cs index 75b833dd..269381e5 100644 --- a/src/slskd/Transfers/Uploads/UploadQueue.cs +++ b/src/slskd/Transfers/Uploads/UploadQueue.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Transfers/Uploads/UploadService.cs b/src/slskd/Transfers/Uploads/UploadService.cs index 3bf5a044..c5f6bd04 100644 --- a/src/slskd/Transfers/Uploads/UploadService.cs +++ b/src/slskd/Transfers/Uploads/UploadService.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -25,6 +23,8 @@ // │ of the AGPLv3. See the LICENSE file in the root directory of this // │ project for the complete terms and conditions. // │ +// │ https://slskd.org +// │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham // │ SPDX-License-Identifier: AGPL-3.0-only diff --git a/src/slskd/Users/API/Controllers/UsersController.cs b/src/slskd/Users/API/Controllers/UsersController.cs index 8d3e6598..b72806f7 100644 --- a/src/slskd/Users/API/Controllers/UsersController.cs +++ b/src/slskd/Users/API/Controllers/UsersController.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Users/API/DTO/DirectoryContentsRequest.cs b/src/slskd/Users/API/DTO/DirectoryContentsRequest.cs index 17a2702e..45bc6b29 100644 --- a/src/slskd/Users/API/DTO/DirectoryContentsRequest.cs +++ b/src/slskd/Users/API/DTO/DirectoryContentsRequest.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Users/API/DTO/UserDataResponse.cs b/src/slskd/Users/API/DTO/UserDataResponse.cs index 2abd2759..9b83bee1 100644 --- a/src/slskd/Users/API/DTO/UserDataResponse.cs +++ b/src/slskd/Users/API/DTO/UserDataResponse.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Users/BrowseTracker.cs b/src/slskd/Users/BrowseTracker.cs index 9a3b142e..0ab20f32 100644 --- a/src/slskd/Users/BrowseTracker.cs +++ b/src/slskd/Users/BrowseTracker.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Users/Extensions.cs b/src/slskd/Users/Extensions.cs index 0ad4e805..f2ff5153 100644 --- a/src/slskd/Users/Extensions.cs +++ b/src/slskd/Users/Extensions.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Users/IBrowseTracker.cs b/src/slskd/Users/IBrowseTracker.cs index 9147e203..3232636f 100644 --- a/src/slskd/Users/IBrowseTracker.cs +++ b/src/slskd/Users/IBrowseTracker.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Users/IUserService.cs b/src/slskd/Users/IUserService.cs index 45106c3a..419bdac4 100644 --- a/src/slskd/Users/IUserService.cs +++ b/src/slskd/Users/IUserService.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Users/Types/Info.cs b/src/slskd/Users/Types/Info.cs index 2c6c9109..fcd05d57 100644 --- a/src/slskd/Users/Types/Info.cs +++ b/src/slskd/Users/Types/Info.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Users/Types/Statistics.cs b/src/slskd/Users/Types/Statistics.cs index 8224eb9c..f914fca2 100644 --- a/src/slskd/Users/Types/Statistics.cs +++ b/src/slskd/Users/Types/Statistics.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Users/Types/Status.cs b/src/slskd/Users/Types/Status.cs index 8f0474cc..a0357528 100644 --- a/src/slskd/Users/Types/Status.cs +++ b/src/slskd/Users/Types/Status.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Users/Types/User.cs b/src/slskd/Users/Types/User.cs index bf7ba8dc..c8cd1c85 100644 --- a/src/slskd/Users/Types/User.cs +++ b/src/slskd/Users/Types/User.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham diff --git a/src/slskd/Users/UserService.cs b/src/slskd/Users/UserService.cs index 3f8e9bf0..f89607ef 100644 --- a/src/slskd/Users/UserService.cs +++ b/src/slskd/Users/UserService.cs @@ -6,8 +6,6 @@ // ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ // │ Copyright (c) JP Dillingham. // │ -// │ https://slskd.org -// │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published // │ by the Free Software Foundation, either version 3 of the License, or @@ -21,10 +19,11 @@ // │ You should have received a copy of the GNU Affero General Public License // │ along with this program. If not, see https://www.gnu.org/licenses/. // │ -// │ This program is distributed with Additional Terms pursuant to -// │ Section 7 of the GNU Affero General Public License. See the -// │ LICENSE file in the root directory of this project for the -// │ complete terms and conditions. +// │ This program is distributed with Additional Terms pursuant to Section 7 +// │ of the AGPLv3. See the LICENSE file in the root directory of this +// │ project for the complete terms and conditions. +// │ +// │ https://slskd.org // │ // ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ // │ SPDX-FileCopyrightText: JP Dillingham -- cgit v1.2.3 From 366de422141b3372242abd760341c5687d862462 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sun, 29 Mar 2026 14:17:45 -0500 Subject: add FORKING.md --- FORKING.md | 77 ++++++++++++++++++++++ src/slskd/Application.cs | 3 +- .../Common/Authentication/ApiKeyAuthentication.cs | 3 +- src/slskd/Common/Authentication/AuthPolicy.cs | 3 +- src/slskd/Common/Authentication/AuthRole.cs | 4 +- .../Authentication/PassthroughAuthentication.cs | 3 +- src/slskd/Common/Authentication/Role.cs | 3 +- src/slskd/Common/Base64Extensions.cs | 3 +- src/slskd/Common/ChannelReader.cs | 3 +- src/slskd/Common/CommonExtensions.cs | 3 +- src/slskd/Common/Compute.cs | 3 +- src/slskd/Common/ConcurrentFixedSizeQueue.cs | 3 +- .../CommandLineConfigurationSource.cs | 3 +- .../DefaultValueConfigurationSource.cs | 3 +- .../EnvironmentVariableConfigurationSource.cs | 3 +- .../Configuration/RequiresReconnectAttribute.cs | 3 +- .../Configuration/RequiresRestartAttribute.cs | 3 +- .../VolatileOverlayConfigurationSource.cs | 3 +- .../Configuration/YamlConfigurationSource.cs | 3 +- src/slskd/Common/Cryptography/Aes.cs | 3 +- src/slskd/Common/Cryptography/Pbkdf2.cs | 3 +- src/slskd/Common/Cryptography/Random.cs | 3 +- src/slskd/Common/Cryptography/X509.cs | 3 +- src/slskd/Common/Dumper.cs | 3 +- .../Exceptions/ApplicationShutdownException.cs | 3 +- src/slskd/Common/Exceptions/GitHubException.cs | 3 +- .../Exceptions/IntentionalDisconnectException.cs | 3 +- src/slskd/Common/Exceptions/NotFoundException.cs | 3 +- src/slskd/Common/Exceptions/OutOfRangeException.cs | 3 +- src/slskd/Common/Exceptions/RelayException.cs | 3 +- src/slskd/Common/Exceptions/RetryException.cs | 3 +- .../Exceptions/ShareInitializationException.cs | 3 +- .../Exceptions/ShareScanInProgressException.cs | 3 +- .../Common/Exceptions/ShareValidationException.cs | 3 +- src/slskd/Common/Exceptions/SlskdException.cs | 3 +- .../Common/Exceptions/UnauthorizedException.cs | 3 +- src/slskd/Common/Exceptions/VPNClientException.cs | 3 +- src/slskd/Common/ExponentialMovingAverage.cs | 3 +- src/slskd/Common/GitHub.cs | 3 +- .../Common/JsonConverters/IPAddressConverter.cs | 3 +- .../Common/JsonConverters/IPEndPointConverter.cs | 3 +- .../KnownUnsupportedTypeConverter.cs | 3 +- src/slskd/Common/Logging/Checkpointer.cs | 3 +- src/slskd/Common/Logging/ConsoleWriteLineLogger.cs | 3 +- src/slskd/Common/Logging/DelegatingSink.cs | 3 +- src/slskd/Common/Logging/LogRecord.cs | 3 +- src/slskd/Common/ManagedState.cs | 3 +- .../Common/Middleware/HTMLInjectionMiddleware.cs | 3 +- .../Common/Middleware/HTMLRewriteMiddleware.cs | 3 +- .../Common/Middleware/UrlEncodingModelBinder.cs | 3 +- .../OpenAPI/ContentNegotiationOperationFilter.cs | 3 +- src/slskd/Common/RateLimiter.cs | 3 +- src/slskd/Common/Redactor.cs | 3 +- src/slskd/Common/Retry.cs | 3 +- src/slskd/Common/Sqlite.cs | 3 +- src/slskd/Common/TimedCounter.cs | 3 +- src/slskd/Common/TokenBucket.cs | 3 +- src/slskd/Common/UserEndPointCache.cs | 3 +- .../Common/Validation/AbsoluteFilePathAttribute.cs | 3 +- .../Common/Validation/CompositeValidationResult.cs | 3 +- .../Common/Validation/DirectoryExistsAttributes.cs | 3 +- src/slskd/Common/Validation/EnumAttribute.cs | 3 +- src/slskd/Common/Validation/Extensions.cs | 3 +- .../Common/Validation/FileDoesNotExistAttribute.cs | 3 +- src/slskd/Common/Validation/FileExistsAttribute.cs | 3 +- src/slskd/Common/Validation/IPAddressAttribute.cs | 3 +- .../Validation/NotNullOrWhiteSpaceAttribute.cs | 3 +- src/slskd/Common/Validation/ValidateAttribute.cs | 3 +- .../Common/Validation/ValidationExtensions.cs | 3 +- .../Common/Validation/X509CertificateAttribute.cs | 3 +- src/slskd/Common/WaitKey.cs | 3 +- src/slskd/Common/Waiter.cs | 3 +- .../Core/API/Controllers/ApplicationController.cs | 3 +- src/slskd/Core/API/Controllers/LogsController.cs | 3 +- .../Core/API/Controllers/OptionsController.cs | 3 +- src/slskd/Core/API/Controllers/ServerController.cs | 3 +- .../Core/API/Controllers/SessionController.cs | 3 +- src/slskd/Core/API/DTO/LoginRequest.cs | 3 +- src/slskd/Core/API/DTO/ServerState.cs | 3 +- src/slskd/Core/API/DTO/TokenResponse.cs | 3 +- src/slskd/Core/API/Hubs/ApplicationHub.cs | 3 +- src/slskd/Core/API/Hubs/LogsHub.cs | 3 +- src/slskd/Core/Blacklist.cs | 3 +- src/slskd/Core/CacheKeys.cs | 3 +- src/slskd/Core/Clock.cs | 3 +- src/slskd/Core/ConnectionWatchdog.cs | 3 +- src/slskd/Core/Constants.cs | 3 +- src/slskd/Core/Data/ConnectionString.cs | 3 +- src/slskd/Core/Data/ConnectionStringDictionary.cs | 3 +- src/slskd/Core/Data/Databases.cs | 3 +- src/slskd/Core/Data/IMigration.cs | 3 +- .../Z2025_04_01_TransferStateMigration.cs | 3 +- .../Z2025_07_06_TransferIndexesMigration.cs | 3 +- ...025_07_26_PrivateMessageWasReplayedMigration.cs | 3 +- ...025_12_28_AdditionalTransferIndexesMigration.cs | 3 +- ...26_02_17_TransferAttemptsAndBatchIdMigration.cs | 3 +- src/slskd/Core/Data/Migrator.cs | 3 +- src/slskd/Core/Data/SchemaInspector.cs | 3 +- src/slskd/Core/Data/SqlitePragmaInterceptor.cs | 3 +- src/slskd/Core/Extensions.cs | 3 +- src/slskd/Core/Options.cs | 3 +- src/slskd/Core/OptionsOverlay.cs | 3 +- src/slskd/Core/Security/SecurityService.cs | 3 +- src/slskd/Core/State.cs | 3 +- src/slskd/Events/API/EventsController.cs | 3 +- src/slskd/Events/EventBus.cs | 3 +- src/slskd/Events/EventService.cs | 3 +- src/slskd/Events/EventsDbContext.cs | 3 +- src/slskd/Events/Types/EventRecord.cs | 3 +- src/slskd/Events/Types/Events.cs | 3 +- src/slskd/Files/API/FilesController.cs | 3 +- src/slskd/Files/FileExtensions.cs | 3 +- src/slskd/Files/FileService.cs | 3 +- src/slskd/Files/Types/CreateFileOptions.cs | 3 +- src/slskd/Files/Types/FilesystemDirectory.cs | 3 +- src/slskd/Files/Types/FilesystemFile.cs | 3 +- src/slskd/Integrations/FTP/FTPClientFactory.cs | 3 +- src/slskd/Integrations/FTP/FTPService.cs | 3 +- src/slskd/Integrations/FTP/IFTPClientFactory.cs | 3 +- src/slskd/Integrations/FTP/IFTPService.cs | 3 +- .../Integrations/Pushbullet/IPushbulletService.cs | 3 +- .../Integrations/Pushbullet/PushbulletService.cs | 3 +- src/slskd/Integrations/Scripts/ScriptService.cs | 3 +- src/slskd/Integrations/VPN/Clients/Gluetun.cs | 3 +- src/slskd/Integrations/VPN/IVPNClient.cs | 3 +- src/slskd/Integrations/VPN/VPNService.cs | 3 +- src/slskd/Integrations/VPN/VPNStatus.cs | 3 +- src/slskd/Integrations/Webhooks/WebhookService.cs | 3 +- .../API/Controllers/ConversationsController.cs | 3 +- .../Messaging/API/Controllers/RoomsController.cs | 3 +- src/slskd/Messaging/API/DTO/RoomInfoResponse.cs | 3 +- src/slskd/Messaging/API/DTO/RoomMessageResponse.cs | 3 +- src/slskd/Messaging/API/DTO/RoomResponse.cs | 3 +- src/slskd/Messaging/API/DTO/UserDataResponse.cs | 3 +- src/slskd/Messaging/ConversationService.cs | 3 +- src/slskd/Messaging/IRoomTracker.cs | 3 +- src/slskd/Messaging/MessagingDbContext.cs | 3 +- src/slskd/Messaging/MessagingService.cs | 3 +- src/slskd/Messaging/RoomService.cs | 3 +- src/slskd/Messaging/RoomTracker.cs | 3 +- src/slskd/Messaging/Types/Conversation.cs | 3 +- src/slskd/Messaging/Types/MessageDirection.cs | 3 +- src/slskd/Messaging/Types/PrivateMessage.cs | 3 +- src/slskd/Messaging/Types/Room.cs | 3 +- src/slskd/Messaging/Types/RoomMessage.cs | 3 +- src/slskd/Program.cs | 3 +- src/slskd/Properties/stylecop.json | 2 +- src/slskd/Relay/API/Controllers/RelayController.cs | 3 +- src/slskd/Relay/API/Hubs/RelayHub.cs | 3 +- src/slskd/Relay/IRelayClient.cs | 3 +- src/slskd/Relay/NullRelayClient.cs | 3 +- src/slskd/Relay/RelayClient.cs | 3 +- src/slskd/Relay/RelayService.cs | 3 +- src/slskd/Relay/Types/Agent.cs | 3 +- src/slskd/Relay/Types/RelayClientState.cs | 3 +- src/slskd/Relay/Types/RelayMode.cs | 3 +- .../Search/API/Controllers/SearchesController.cs | 3 +- src/slskd/Search/API/DTO/SearchRequest.cs | 3 +- src/slskd/Search/API/Hubs/SearchHub.cs | 3 +- src/slskd/Search/Extensions.cs | 3 +- src/slskd/Search/SearchDbContext.cs | 3 +- src/slskd/Search/SearchResponseCache.cs | 3 +- src/slskd/Search/SearchService.cs | 3 +- src/slskd/Search/Types/File.cs | 3 +- src/slskd/Search/Types/Response.cs | 3 +- src/slskd/Search/Types/Search.cs | 3 +- .../Shares/API/Controllers/SharesController.cs | 3 +- src/slskd/Shares/IShareRepository.cs | 3 +- src/slskd/Shares/IShareRepositoryFactory.cs | 3 +- src/slskd/Shares/IShareService.cs | 3 +- src/slskd/Shares/ShareRepositoryFactory.cs | 3 +- src/slskd/Shares/ShareScanner.cs | 3 +- src/slskd/Shares/ShareService.cs | 3 +- src/slskd/Shares/SoulseekFileFactory.cs | 3 +- src/slskd/Shares/SqliteShareRepository.cs | 3 +- src/slskd/Shares/Types/Host.cs | 3 +- src/slskd/Shares/Types/Scan.cs | 3 +- src/slskd/Shares/Types/Share.cs | 3 +- src/slskd/Shares/Types/StorageMode.cs | 3 +- src/slskd/Telemetry/API/MetricsController.cs | 3 +- src/slskd/Telemetry/API/ReportsController.cs | 3 +- src/slskd/Telemetry/Metrics.cs | 3 +- src/slskd/Telemetry/PrometheusService.cs | 3 +- src/slskd/Telemetry/ReportsService.cs | 3 +- src/slskd/Telemetry/TelemetryService.cs | 3 +- src/slskd/Telemetry/Types/DirectoryDetail.cs | 3 +- src/slskd/Telemetry/Types/LeaderboardSorting.cs | 3 +- src/slskd/Telemetry/Types/PrometheusMetric.cs | 3 +- src/slskd/Telemetry/Types/SortOrder.cs | 3 +- .../Telemetry/Types/TransferExceptionDetail.cs | 3 +- .../Telemetry/Types/TransferExceptionSummary.cs | 3 +- src/slskd/Telemetry/Types/TransferSummary.cs | 3 +- .../Types/UserDirectionTransferSummary.cs | 3 +- .../API/Controllers/TransfersController.cs | 3 +- src/slskd/Transfers/API/DTO/DirectoryResponse.cs | 3 +- .../Transfers/API/DTO/QueueDownloadRequest.cs | 3 +- src/slskd/Transfers/API/DTO/Transfer.cs | 3 +- src/slskd/Transfers/API/DTO/UserResponse.cs | 3 +- src/slskd/Transfers/Downloads/DownloadService.cs | 3 +- src/slskd/Transfers/Extensions.cs | 3 +- src/slskd/Transfers/TransferService.cs | 3 +- src/slskd/Transfers/TransfersDbContext.cs | 3 +- src/slskd/Transfers/Types/QueueStrategy.cs | 3 +- src/slskd/Transfers/Types/Transfer.cs | 3 +- .../Transfers/Types/TransferStateCategories.cs | 3 +- src/slskd/Transfers/Types/Upload.cs | 3 +- src/slskd/Transfers/Types/UploadGroup.cs | 3 +- src/slskd/Transfers/Types/UserUploadStatistics.cs | 3 +- src/slskd/Transfers/Uploads/UploadGovernor.cs | 3 +- src/slskd/Transfers/Uploads/UploadQueue.cs | 3 +- src/slskd/Transfers/Uploads/UploadService.cs | 3 +- src/slskd/Users/API/Controllers/UsersController.cs | 3 +- .../Users/API/DTO/DirectoryContentsRequest.cs | 3 +- src/slskd/Users/API/DTO/UserDataResponse.cs | 3 +- src/slskd/Users/BrowseTracker.cs | 3 +- src/slskd/Users/Extensions.cs | 3 +- src/slskd/Users/IBrowseTracker.cs | 3 +- src/slskd/Users/IUserService.cs | 3 +- src/slskd/Users/Types/Info.cs | 3 +- src/slskd/Users/Types/Statistics.cs | 3 +- src/slskd/Users/Types/Status.cs | 3 +- src/slskd/Users/Types/User.cs | 3 +- src/slskd/Users/UserService.cs | 3 +- .../Common/Cryptography/AesTests.cs | 2 +- .../Extensions/ToLocalRelativeFilenameTests.cs | 2 +- tests/slskd.Tests.Unit/Common/TokenBucketTests.cs | 2 +- tests/slskd.Tests.Unit/Files/FileServiceTests.cs | 2 +- tests/slskd.Tests.Unit/TestIsolationExtensions.cs | 2 +- tests/slskd.Tests.Unit/TestOptionsMonitor.cs | 2 +- .../Transfers/Uploads/UploadGovernorTests.cs | 2 +- .../Transfers/Uploads/UploadQueueTests.cs | 2 +- tests/slskd.Tests.Unit/Users/UserServiceTests.cs | 2 +- 232 files changed, 308 insertions(+), 453 deletions(-) create mode 100644 FORKING.md diff --git a/FORKING.md b/FORKING.md new file mode 100644 index 00000000..5b76f580 --- /dev/null +++ b/FORKING.md @@ -0,0 +1,77 @@ +# Forking + +This document explains what you are required to do if you intend to distribute or publish a fork. These requirements come from the [Additional Terms](https://github.com/slskd/slskd/blob/master/LICENSE) section of the LICENSE, which supplements the AGPL 3.0 and is binding on all forks. + +The requirements exist for two reasons, and both are about the people who use the software. + +The first is to make sure users always know they are using software licensed under the AGPL. That matters because the AGPL gives users meaningful rights: the right to know that the source code exists, the right to access it, and the right to understand what they are running. Those rights only mean something if users are actually informed of them. Requiring that the full LICENSE be included with every distribution, and that license notices be preserved everywhere they appear, ensures that no user ever ends up with a copy of this software that hides or obscures the terms under which it was released. + +The second is to make sure users understand who made the software they are using. They should be able to tell where it came from, who maintains it, what has been changed and by whom, and whether it is the original project or a fork. A user who installs a fork deserves to know it is a fork. The requirements around naming, branding, source file headers, and identification notices all serve this goal. They are not intended to discourage forking — they are intended to make sure that anyone who uses a fork has an accurate picture of what they have. + +Read the LICENSE in full. This document is a plain-language guide, not a substitute for it. + +## Identity and Branding + +Your fork is a different project; make sure it looks and behaves like one. + +* Choose a name that is not likely to be confused with "slskd". Names that incorporate "slskd" as a recognizable component, sound similar, or imply maintenance or endorsement by this project are not permitted. +* Remove or replace all user-facing references to "slskd", including the project name, logos, ASCII art, terminal startup output, documentation, support URLs, and any website or domain through which the fork is distributed. +* Display a clear and prominent notice in the user interface and terminal startup output stating that the work is a modified version and is not the original program. The original terminal branding must be removed, replaced, or made visually distinct; verbatim reproduction of it is prohibited. +* Include the following notice in your README or equivalent documentation, or in a file named NOTICE in the root of the project if no README exists: + + > "This is a modified version of slskd. It is not maintained by, endorsed by, or affiliated with the slskd project or its author(s)." + +* Do not claim or imply that your fork is maintained, endorsed, or affiliated with the original author(s) without their express written authorization. + +Internal source code references such as class names, namespaces, configuration keys, and internal filenames do not need to be renamed, as long as they are not visible to end users in normal operation. + +## Soulseek Version Identifier + +Your fork must transmit a unique client version identifier when connecting to the Soulseek network. Do not use an identifier already associated with slskd or any other known Soulseek client. If you are notified that your chosen identifier conflicts with an existing client, you must change it promptly and stop distributing the fork with the conflicting identifier. + +Change the value assigned by the `NetworkMinorVersion` property accordingly: + +```c# + /// + /// Gets the minor version to identify slskd on the network. + /// + /// + /// NOTICE: If you have forked slskd, change this number to something else. + /// + public static int NetworkMinorVersion { get; } = 760; +``` + +## Source File Headers + +* For each source file you modify, add a copyright notice and a brief description of the nature of your changes to the file header, below all existing copyright notices and above the license notice. For example: + + ``` + Copyright (c) + Modified: + ``` + +* Do not remove or modify any existing copyright notices or license notices in source files. +* For newly created source files, use a single copyright notice with your name and the year. The remainder of the file header, including the license notice and reference to the Additional Terms, must match the format used in the existing source files. + +## Preserving the License + +* Do not remove, obscure, or modify any attribution notices or legal notices displayed in the user interface, including terminal startup output and web-based dashboards. +* Any README, NOTICE, or equivalent documentation included with your fork must preserve all existing license notices and attribution statements without modification. +* Any distribution of the fork in binary or executable form, including archive files and installer packages, must include the complete and unmodified LICENSE file in the root directory. + +## Package Registries and Container Images + +* Do not publish your fork under the name "slskd" or any confusingly similar name in any package registry, container registry, or software distribution platform. +* When publishing through a package registry, identify the work as licensed under the GNU Affero General Public License v3.0 ("AGPLv3"), include a link to the source code, and include a link to the full LICENSE. +* When distributing a container image, include the following OCI image annotations: + * `org.opencontainers.image.licenses` set to `AGPL-3.0-only` + * `org.opencontainers.image.source` set to the URL of the source code repository for the version in the image + +## Permitted Uses of "slskd" + +The name "slskd" may appear in your fork where necessary for: + +* Verbatim reproduction of the LICENSE +* Preservation of original copyright headers in source files +* The required identification notices described above +* Purely descriptive references to the software's origin, such as "based on slskd" or "compatible with slskd", provided these do not appear as primary branding elements or in the project name itself diff --git a/src/slskd/Application.cs b/src/slskd/Application.cs index a6239796..a8a7883a 100644 --- a/src/slskd/Application.cs +++ b/src/slskd/Application.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Common/Authentication/ApiKeyAuthentication.cs b/src/slskd/Common/Authentication/ApiKeyAuthentication.cs index c9b3ea28..8b7d5b75 100644 --- a/src/slskd/Common/Authentication/ApiKeyAuthentication.cs +++ b/src/slskd/Common/Authentication/ApiKeyAuthentication.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Common/Authentication/AuthPolicy.cs b/src/slskd/Common/Authentication/AuthPolicy.cs index 28c3a7c8..35e10eb9 100644 --- a/src/slskd/Common/Authentication/AuthPolicy.cs +++ b/src/slskd/Common/Authentication/AuthPolicy.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Common/Authentication/AuthRole.cs b/src/slskd/Common/Authentication/AuthRole.cs index 930b7210..958cc143 100644 --- a/src/slskd/Common/Authentication/AuthRole.cs +++ b/src/slskd/Common/Authentication/AuthRole.cs @@ -1,5 +1,4 @@ // -// // ▄▄▄▄ ▄▄▄▄ ▄▄▄▄ // ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █ // █__ --█ █__ --█ ◄█ - █ @@ -9,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Common/Authentication/PassthroughAuthentication.cs b/src/slskd/Common/Authentication/PassthroughAuthentication.cs index f0f12db1..36c67955 100644 --- a/src/slskd/Common/Authentication/PassthroughAuthentication.cs +++ b/src/slskd/Common/Authentication/PassthroughAuthentication.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Common/Authentication/Role.cs b/src/slskd/Common/Authentication/Role.cs index 2cff8727..d081c198 100644 --- a/src/slskd/Common/Authentication/Role.cs +++ b/src/slskd/Common/Authentication/Role.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Common/Base64Extensions.cs b/src/slskd/Common/Base64Extensions.cs index 92d36ac3..0ee7d1fc 100644 --- a/src/slskd/Common/Base64Extensions.cs +++ b/src/slskd/Common/Base64Extensions.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Common/ChannelReader.cs b/src/slskd/Common/ChannelReader.cs index cfd3082e..9e631339 100644 --- a/src/slskd/Common/ChannelReader.cs +++ b/src/slskd/Common/ChannelReader.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Common/CommonExtensions.cs b/src/slskd/Common/CommonExtensions.cs index 3ec01708..88e6d3c8 100644 --- a/src/slskd/Common/CommonExtensions.cs +++ b/src/slskd/Common/CommonExtensions.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Common/Compute.cs b/src/slskd/Common/Compute.cs index e2bcfc42..8d7c1ceb 100644 --- a/src/slskd/Common/Compute.cs +++ b/src/slskd/Common/Compute.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Common/ConcurrentFixedSizeQueue.cs b/src/slskd/Common/ConcurrentFixedSizeQueue.cs index 6d48e879..20f84012 100644 --- a/src/slskd/Common/ConcurrentFixedSizeQueue.cs +++ b/src/slskd/Common/ConcurrentFixedSizeQueue.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Common/Configuration/CommandLineConfigurationSource.cs b/src/slskd/Common/Configuration/CommandLineConfigurationSource.cs index dfa654f1..3dfe539a 100644 --- a/src/slskd/Common/Configuration/CommandLineConfigurationSource.cs +++ b/src/slskd/Common/Configuration/CommandLineConfigurationSource.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Common/Configuration/DefaultValueConfigurationSource.cs b/src/slskd/Common/Configuration/DefaultValueConfigurationSource.cs index a8cec56b..2bd86caf 100644 --- a/src/slskd/Common/Configuration/DefaultValueConfigurationSource.cs +++ b/src/slskd/Common/Configuration/DefaultValueConfigurationSource.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Common/Configuration/EnvironmentVariableConfigurationSource.cs b/src/slskd/Common/Configuration/EnvironmentVariableConfigurationSource.cs index 24fdd63b..198ed42e 100644 --- a/src/slskd/Common/Configuration/EnvironmentVariableConfigurationSource.cs +++ b/src/slskd/Common/Configuration/EnvironmentVariableConfigurationSource.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Common/Configuration/RequiresReconnectAttribute.cs b/src/slskd/Common/Configuration/RequiresReconnectAttribute.cs index 05b077f3..a347be89 100644 --- a/src/slskd/Common/Configuration/RequiresReconnectAttribute.cs +++ b/src/slskd/Common/Configuration/RequiresReconnectAttribute.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Common/Configuration/RequiresRestartAttribute.cs b/src/slskd/Common/Configuration/RequiresRestartAttribute.cs index 6d903b25..598d3a40 100644 --- a/src/slskd/Common/Configuration/RequiresRestartAttribute.cs +++ b/src/slskd/Common/Configuration/RequiresRestartAttribute.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Common/Configuration/VolatileOverlayConfigurationSource.cs b/src/slskd/Common/Configuration/VolatileOverlayConfigurationSource.cs index ee73c349..1465be46 100644 --- a/src/slskd/Common/Configuration/VolatileOverlayConfigurationSource.cs +++ b/src/slskd/Common/Configuration/VolatileOverlayConfigurationSource.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Common/Configuration/YamlConfigurationSource.cs b/src/slskd/Common/Configuration/YamlConfigurationSource.cs index d05855fd..ea5bb2d4 100644 --- a/src/slskd/Common/Configuration/YamlConfigurationSource.cs +++ b/src/slskd/Common/Configuration/YamlConfigurationSource.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Common/Cryptography/Aes.cs b/src/slskd/Common/Cryptography/Aes.cs index 20313a7c..6e9c5a4b 100644 --- a/src/slskd/Common/Cryptography/Aes.cs +++ b/src/slskd/Common/Cryptography/Aes.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Common/Cryptography/Pbkdf2.cs b/src/slskd/Common/Cryptography/Pbkdf2.cs index 2c6eb815..59e851a7 100644 --- a/src/slskd/Common/Cryptography/Pbkdf2.cs +++ b/src/slskd/Common/Cryptography/Pbkdf2.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Common/Cryptography/Random.cs b/src/slskd/Common/Cryptography/Random.cs index c25c6e79..eacd8197 100644 --- a/src/slskd/Common/Cryptography/Random.cs +++ b/src/slskd/Common/Cryptography/Random.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Common/Cryptography/X509.cs b/src/slskd/Common/Cryptography/X509.cs index f1e9395b..bed224cf 100644 --- a/src/slskd/Common/Cryptography/X509.cs +++ b/src/slskd/Common/Cryptography/X509.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Common/Dumper.cs b/src/slskd/Common/Dumper.cs index 04465ebf..f4367e61 100644 --- a/src/slskd/Common/Dumper.cs +++ b/src/slskd/Common/Dumper.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Common/Exceptions/ApplicationShutdownException.cs b/src/slskd/Common/Exceptions/ApplicationShutdownException.cs index ef8a2148..cd2837a9 100644 --- a/src/slskd/Common/Exceptions/ApplicationShutdownException.cs +++ b/src/slskd/Common/Exceptions/ApplicationShutdownException.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Common/Exceptions/GitHubException.cs b/src/slskd/Common/Exceptions/GitHubException.cs index 47ae53c2..7287c1d8 100644 --- a/src/slskd/Common/Exceptions/GitHubException.cs +++ b/src/slskd/Common/Exceptions/GitHubException.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Common/Exceptions/IntentionalDisconnectException.cs b/src/slskd/Common/Exceptions/IntentionalDisconnectException.cs index 7b5271e7..bf02673b 100644 --- a/src/slskd/Common/Exceptions/IntentionalDisconnectException.cs +++ b/src/slskd/Common/Exceptions/IntentionalDisconnectException.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Common/Exceptions/NotFoundException.cs b/src/slskd/Common/Exceptions/NotFoundException.cs index 76edbb7b..c37e6ef3 100644 --- a/src/slskd/Common/Exceptions/NotFoundException.cs +++ b/src/slskd/Common/Exceptions/NotFoundException.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Common/Exceptions/OutOfRangeException.cs b/src/slskd/Common/Exceptions/OutOfRangeException.cs index 4562cac2..ac531e62 100644 --- a/src/slskd/Common/Exceptions/OutOfRangeException.cs +++ b/src/slskd/Common/Exceptions/OutOfRangeException.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Common/Exceptions/RelayException.cs b/src/slskd/Common/Exceptions/RelayException.cs index 73a19413..4e34fda1 100644 --- a/src/slskd/Common/Exceptions/RelayException.cs +++ b/src/slskd/Common/Exceptions/RelayException.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Common/Exceptions/RetryException.cs b/src/slskd/Common/Exceptions/RetryException.cs index 67bf4449..a624ade1 100644 --- a/src/slskd/Common/Exceptions/RetryException.cs +++ b/src/slskd/Common/Exceptions/RetryException.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Common/Exceptions/ShareInitializationException.cs b/src/slskd/Common/Exceptions/ShareInitializationException.cs index bf335a4a..5bb4b7d3 100644 --- a/src/slskd/Common/Exceptions/ShareInitializationException.cs +++ b/src/slskd/Common/Exceptions/ShareInitializationException.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Common/Exceptions/ShareScanInProgressException.cs b/src/slskd/Common/Exceptions/ShareScanInProgressException.cs index b45436b7..dad696fb 100644 --- a/src/slskd/Common/Exceptions/ShareScanInProgressException.cs +++ b/src/slskd/Common/Exceptions/ShareScanInProgressException.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Common/Exceptions/ShareValidationException.cs b/src/slskd/Common/Exceptions/ShareValidationException.cs index 0c26d937..dbdbe609 100644 --- a/src/slskd/Common/Exceptions/ShareValidationException.cs +++ b/src/slskd/Common/Exceptions/ShareValidationException.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Common/Exceptions/SlskdException.cs b/src/slskd/Common/Exceptions/SlskdException.cs index 1ed14afb..198f4d76 100644 --- a/src/slskd/Common/Exceptions/SlskdException.cs +++ b/src/slskd/Common/Exceptions/SlskdException.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Common/Exceptions/UnauthorizedException.cs b/src/slskd/Common/Exceptions/UnauthorizedException.cs index 3d269fdb..d6c0b4ff 100644 --- a/src/slskd/Common/Exceptions/UnauthorizedException.cs +++ b/src/slskd/Common/Exceptions/UnauthorizedException.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Common/Exceptions/VPNClientException.cs b/src/slskd/Common/Exceptions/VPNClientException.cs index 91abbb10..5e2e7cd2 100644 --- a/src/slskd/Common/Exceptions/VPNClientException.cs +++ b/src/slskd/Common/Exceptions/VPNClientException.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Common/ExponentialMovingAverage.cs b/src/slskd/Common/ExponentialMovingAverage.cs index 63c704da..aaa6e5ea 100644 --- a/src/slskd/Common/ExponentialMovingAverage.cs +++ b/src/slskd/Common/ExponentialMovingAverage.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Common/GitHub.cs b/src/slskd/Common/GitHub.cs index 01707261..4adc7573 100644 --- a/src/slskd/Common/GitHub.cs +++ b/src/slskd/Common/GitHub.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Common/JsonConverters/IPAddressConverter.cs b/src/slskd/Common/JsonConverters/IPAddressConverter.cs index c188bd08..4ee6c071 100644 --- a/src/slskd/Common/JsonConverters/IPAddressConverter.cs +++ b/src/slskd/Common/JsonConverters/IPAddressConverter.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Common/JsonConverters/IPEndPointConverter.cs b/src/slskd/Common/JsonConverters/IPEndPointConverter.cs index e4974959..44f1395e 100644 --- a/src/slskd/Common/JsonConverters/IPEndPointConverter.cs +++ b/src/slskd/Common/JsonConverters/IPEndPointConverter.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Common/JsonConverters/KnownUnsupportedTypeConverter.cs b/src/slskd/Common/JsonConverters/KnownUnsupportedTypeConverter.cs index a6909f8e..a9e0f6e2 100644 --- a/src/slskd/Common/JsonConverters/KnownUnsupportedTypeConverter.cs +++ b/src/slskd/Common/JsonConverters/KnownUnsupportedTypeConverter.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Common/Logging/Checkpointer.cs b/src/slskd/Common/Logging/Checkpointer.cs index 81338491..cb99fb79 100644 --- a/src/slskd/Common/Logging/Checkpointer.cs +++ b/src/slskd/Common/Logging/Checkpointer.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Common/Logging/ConsoleWriteLineLogger.cs b/src/slskd/Common/Logging/ConsoleWriteLineLogger.cs index 16addbb9..1d576724 100644 --- a/src/slskd/Common/Logging/ConsoleWriteLineLogger.cs +++ b/src/slskd/Common/Logging/ConsoleWriteLineLogger.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Common/Logging/DelegatingSink.cs b/src/slskd/Common/Logging/DelegatingSink.cs index 7c8c6090..d2547492 100644 --- a/src/slskd/Common/Logging/DelegatingSink.cs +++ b/src/slskd/Common/Logging/DelegatingSink.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Common/Logging/LogRecord.cs b/src/slskd/Common/Logging/LogRecord.cs index 28191bb9..33637631 100644 --- a/src/slskd/Common/Logging/LogRecord.cs +++ b/src/slskd/Common/Logging/LogRecord.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Common/ManagedState.cs b/src/slskd/Common/ManagedState.cs index 42f98eb3..fa9653ef 100644 --- a/src/slskd/Common/ManagedState.cs +++ b/src/slskd/Common/ManagedState.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Common/Middleware/HTMLInjectionMiddleware.cs b/src/slskd/Common/Middleware/HTMLInjectionMiddleware.cs index 1a489090..68900267 100644 --- a/src/slskd/Common/Middleware/HTMLInjectionMiddleware.cs +++ b/src/slskd/Common/Middleware/HTMLInjectionMiddleware.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Common/Middleware/HTMLRewriteMiddleware.cs b/src/slskd/Common/Middleware/HTMLRewriteMiddleware.cs index e984bf5f..e91a2352 100644 --- a/src/slskd/Common/Middleware/HTMLRewriteMiddleware.cs +++ b/src/slskd/Common/Middleware/HTMLRewriteMiddleware.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Common/Middleware/UrlEncodingModelBinder.cs b/src/slskd/Common/Middleware/UrlEncodingModelBinder.cs index 848cd5c8..ae5c2043 100644 --- a/src/slskd/Common/Middleware/UrlEncodingModelBinder.cs +++ b/src/slskd/Common/Middleware/UrlEncodingModelBinder.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Common/OpenAPI/ContentNegotiationOperationFilter.cs b/src/slskd/Common/OpenAPI/ContentNegotiationOperationFilter.cs index 1672ea2e..a7e7e0dc 100644 --- a/src/slskd/Common/OpenAPI/ContentNegotiationOperationFilter.cs +++ b/src/slskd/Common/OpenAPI/ContentNegotiationOperationFilter.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Common/RateLimiter.cs b/src/slskd/Common/RateLimiter.cs index 9484c772..ac34ed5d 100644 --- a/src/slskd/Common/RateLimiter.cs +++ b/src/slskd/Common/RateLimiter.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Common/Redactor.cs b/src/slskd/Common/Redactor.cs index f21daf2e..6068f545 100644 --- a/src/slskd/Common/Redactor.cs +++ b/src/slskd/Common/Redactor.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Common/Retry.cs b/src/slskd/Common/Retry.cs index 86e786a5..53aa59db 100644 --- a/src/slskd/Common/Retry.cs +++ b/src/slskd/Common/Retry.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Common/Sqlite.cs b/src/slskd/Common/Sqlite.cs index d9223e63..ed53568c 100644 --- a/src/slskd/Common/Sqlite.cs +++ b/src/slskd/Common/Sqlite.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Common/TimedCounter.cs b/src/slskd/Common/TimedCounter.cs index 460f917c..88e966e0 100644 --- a/src/slskd/Common/TimedCounter.cs +++ b/src/slskd/Common/TimedCounter.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Common/TokenBucket.cs b/src/slskd/Common/TokenBucket.cs index a4f5631c..11d64b88 100644 --- a/src/slskd/Common/TokenBucket.cs +++ b/src/slskd/Common/TokenBucket.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Common/UserEndPointCache.cs b/src/slskd/Common/UserEndPointCache.cs index 603dfb4e..22a44b4d 100644 --- a/src/slskd/Common/UserEndPointCache.cs +++ b/src/slskd/Common/UserEndPointCache.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Common/Validation/AbsoluteFilePathAttribute.cs b/src/slskd/Common/Validation/AbsoluteFilePathAttribute.cs index 36fef50b..8f87e479 100644 --- a/src/slskd/Common/Validation/AbsoluteFilePathAttribute.cs +++ b/src/slskd/Common/Validation/AbsoluteFilePathAttribute.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Common/Validation/CompositeValidationResult.cs b/src/slskd/Common/Validation/CompositeValidationResult.cs index 4ada971f..05567d6b 100644 --- a/src/slskd/Common/Validation/CompositeValidationResult.cs +++ b/src/slskd/Common/Validation/CompositeValidationResult.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Common/Validation/DirectoryExistsAttributes.cs b/src/slskd/Common/Validation/DirectoryExistsAttributes.cs index cb202abe..91b6d16d 100644 --- a/src/slskd/Common/Validation/DirectoryExistsAttributes.cs +++ b/src/slskd/Common/Validation/DirectoryExistsAttributes.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Common/Validation/EnumAttribute.cs b/src/slskd/Common/Validation/EnumAttribute.cs index 2354328c..fc077bb6 100644 --- a/src/slskd/Common/Validation/EnumAttribute.cs +++ b/src/slskd/Common/Validation/EnumAttribute.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Common/Validation/Extensions.cs b/src/slskd/Common/Validation/Extensions.cs index 42ec2c4b..ece06b4e 100644 --- a/src/slskd/Common/Validation/Extensions.cs +++ b/src/slskd/Common/Validation/Extensions.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Common/Validation/FileDoesNotExistAttribute.cs b/src/slskd/Common/Validation/FileDoesNotExistAttribute.cs index 5a1c6e22..9336b064 100644 --- a/src/slskd/Common/Validation/FileDoesNotExistAttribute.cs +++ b/src/slskd/Common/Validation/FileDoesNotExistAttribute.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Common/Validation/FileExistsAttribute.cs b/src/slskd/Common/Validation/FileExistsAttribute.cs index 94ad5bfc..c4d97a7c 100644 --- a/src/slskd/Common/Validation/FileExistsAttribute.cs +++ b/src/slskd/Common/Validation/FileExistsAttribute.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Common/Validation/IPAddressAttribute.cs b/src/slskd/Common/Validation/IPAddressAttribute.cs index aaecb203..fce88fa2 100644 --- a/src/slskd/Common/Validation/IPAddressAttribute.cs +++ b/src/slskd/Common/Validation/IPAddressAttribute.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Common/Validation/NotNullOrWhiteSpaceAttribute.cs b/src/slskd/Common/Validation/NotNullOrWhiteSpaceAttribute.cs index 131aab37..b2e4d027 100644 --- a/src/slskd/Common/Validation/NotNullOrWhiteSpaceAttribute.cs +++ b/src/slskd/Common/Validation/NotNullOrWhiteSpaceAttribute.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Common/Validation/ValidateAttribute.cs b/src/slskd/Common/Validation/ValidateAttribute.cs index 7410f37b..0b918a53 100644 --- a/src/slskd/Common/Validation/ValidateAttribute.cs +++ b/src/slskd/Common/Validation/ValidateAttribute.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Common/Validation/ValidationExtensions.cs b/src/slskd/Common/Validation/ValidationExtensions.cs index 7f3a46c8..0e0cc897 100644 --- a/src/slskd/Common/Validation/ValidationExtensions.cs +++ b/src/slskd/Common/Validation/ValidationExtensions.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Common/Validation/X509CertificateAttribute.cs b/src/slskd/Common/Validation/X509CertificateAttribute.cs index 2e8ef48d..dd1838aa 100644 --- a/src/slskd/Common/Validation/X509CertificateAttribute.cs +++ b/src/slskd/Common/Validation/X509CertificateAttribute.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Common/WaitKey.cs b/src/slskd/Common/WaitKey.cs index f188e317..af71af7a 100644 --- a/src/slskd/Common/WaitKey.cs +++ b/src/slskd/Common/WaitKey.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Common/Waiter.cs b/src/slskd/Common/Waiter.cs index 52e7fc68..991ae8ad 100644 --- a/src/slskd/Common/Waiter.cs +++ b/src/slskd/Common/Waiter.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Core/API/Controllers/ApplicationController.cs b/src/slskd/Core/API/Controllers/ApplicationController.cs index 101d4047..b55fc865 100644 --- a/src/slskd/Core/API/Controllers/ApplicationController.cs +++ b/src/slskd/Core/API/Controllers/ApplicationController.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Core/API/Controllers/LogsController.cs b/src/slskd/Core/API/Controllers/LogsController.cs index 5dfad088..8055c696 100644 --- a/src/slskd/Core/API/Controllers/LogsController.cs +++ b/src/slskd/Core/API/Controllers/LogsController.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Core/API/Controllers/OptionsController.cs b/src/slskd/Core/API/Controllers/OptionsController.cs index efda95ed..2d314b5f 100644 --- a/src/slskd/Core/API/Controllers/OptionsController.cs +++ b/src/slskd/Core/API/Controllers/OptionsController.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Core/API/Controllers/ServerController.cs b/src/slskd/Core/API/Controllers/ServerController.cs index 118d7b93..dd9c37d2 100644 --- a/src/slskd/Core/API/Controllers/ServerController.cs +++ b/src/slskd/Core/API/Controllers/ServerController.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Core/API/Controllers/SessionController.cs b/src/slskd/Core/API/Controllers/SessionController.cs index 241df78e..b26dfe6e 100644 --- a/src/slskd/Core/API/Controllers/SessionController.cs +++ b/src/slskd/Core/API/Controllers/SessionController.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Core/API/DTO/LoginRequest.cs b/src/slskd/Core/API/DTO/LoginRequest.cs index d5d4f697..ec3508c5 100644 --- a/src/slskd/Core/API/DTO/LoginRequest.cs +++ b/src/slskd/Core/API/DTO/LoginRequest.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Core/API/DTO/ServerState.cs b/src/slskd/Core/API/DTO/ServerState.cs index 273ff2be..51ad38bc 100644 --- a/src/slskd/Core/API/DTO/ServerState.cs +++ b/src/slskd/Core/API/DTO/ServerState.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Core/API/DTO/TokenResponse.cs b/src/slskd/Core/API/DTO/TokenResponse.cs index 1bbe7c56..ed55b4dd 100644 --- a/src/slskd/Core/API/DTO/TokenResponse.cs +++ b/src/slskd/Core/API/DTO/TokenResponse.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Core/API/Hubs/ApplicationHub.cs b/src/slskd/Core/API/Hubs/ApplicationHub.cs index d8f5238f..c821d9f5 100644 --- a/src/slskd/Core/API/Hubs/ApplicationHub.cs +++ b/src/slskd/Core/API/Hubs/ApplicationHub.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Core/API/Hubs/LogsHub.cs b/src/slskd/Core/API/Hubs/LogsHub.cs index 42a4c743..bec12d6a 100644 --- a/src/slskd/Core/API/Hubs/LogsHub.cs +++ b/src/slskd/Core/API/Hubs/LogsHub.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Core/Blacklist.cs b/src/slskd/Core/Blacklist.cs index 7f5761a3..517b5e4b 100644 --- a/src/slskd/Core/Blacklist.cs +++ b/src/slskd/Core/Blacklist.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Core/CacheKeys.cs b/src/slskd/Core/CacheKeys.cs index d4d94e15..020ebd48 100644 --- a/src/slskd/Core/CacheKeys.cs +++ b/src/slskd/Core/CacheKeys.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Core/Clock.cs b/src/slskd/Core/Clock.cs index e0603166..9d1e8c75 100644 --- a/src/slskd/Core/Clock.cs +++ b/src/slskd/Core/Clock.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Core/ConnectionWatchdog.cs b/src/slskd/Core/ConnectionWatchdog.cs index e5628d39..5ae409e0 100644 --- a/src/slskd/Core/ConnectionWatchdog.cs +++ b/src/slskd/Core/ConnectionWatchdog.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Core/Constants.cs b/src/slskd/Core/Constants.cs index 73fb9df0..d0f1f55f 100644 --- a/src/slskd/Core/Constants.cs +++ b/src/slskd/Core/Constants.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Core/Data/ConnectionString.cs b/src/slskd/Core/Data/ConnectionString.cs index 30146e0a..f3da6287 100644 --- a/src/slskd/Core/Data/ConnectionString.cs +++ b/src/slskd/Core/Data/ConnectionString.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Core/Data/ConnectionStringDictionary.cs b/src/slskd/Core/Data/ConnectionStringDictionary.cs index 0286d362..08bd106a 100644 --- a/src/slskd/Core/Data/ConnectionStringDictionary.cs +++ b/src/slskd/Core/Data/ConnectionStringDictionary.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Core/Data/Databases.cs b/src/slskd/Core/Data/Databases.cs index 7faca085..07cefd82 100644 --- a/src/slskd/Core/Data/Databases.cs +++ b/src/slskd/Core/Data/Databases.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Core/Data/IMigration.cs b/src/slskd/Core/Data/IMigration.cs index 0efbd064..fd5bed08 100644 --- a/src/slskd/Core/Data/IMigration.cs +++ b/src/slskd/Core/Data/IMigration.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Core/Data/Migrations/Z2025_04_01_TransferStateMigration.cs b/src/slskd/Core/Data/Migrations/Z2025_04_01_TransferStateMigration.cs index 74248889..6c5810c5 100644 --- a/src/slskd/Core/Data/Migrations/Z2025_04_01_TransferStateMigration.cs +++ b/src/slskd/Core/Data/Migrations/Z2025_04_01_TransferStateMigration.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Core/Data/Migrations/Z2025_07_06_TransferIndexesMigration.cs b/src/slskd/Core/Data/Migrations/Z2025_07_06_TransferIndexesMigration.cs index 711e6019..4ca19f60 100644 --- a/src/slskd/Core/Data/Migrations/Z2025_07_06_TransferIndexesMigration.cs +++ b/src/slskd/Core/Data/Migrations/Z2025_07_06_TransferIndexesMigration.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Core/Data/Migrations/Z2025_07_26_PrivateMessageWasReplayedMigration.cs b/src/slskd/Core/Data/Migrations/Z2025_07_26_PrivateMessageWasReplayedMigration.cs index de0ff37c..acfe027a 100644 --- a/src/slskd/Core/Data/Migrations/Z2025_07_26_PrivateMessageWasReplayedMigration.cs +++ b/src/slskd/Core/Data/Migrations/Z2025_07_26_PrivateMessageWasReplayedMigration.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Core/Data/Migrations/Z2025_12_28_AdditionalTransferIndexesMigration.cs b/src/slskd/Core/Data/Migrations/Z2025_12_28_AdditionalTransferIndexesMigration.cs index 5a5aed32..3d157e4c 100644 --- a/src/slskd/Core/Data/Migrations/Z2025_12_28_AdditionalTransferIndexesMigration.cs +++ b/src/slskd/Core/Data/Migrations/Z2025_12_28_AdditionalTransferIndexesMigration.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Core/Data/Migrations/Z2026_02_17_TransferAttemptsAndBatchIdMigration.cs b/src/slskd/Core/Data/Migrations/Z2026_02_17_TransferAttemptsAndBatchIdMigration.cs index 476f5f14..460096a5 100644 --- a/src/slskd/Core/Data/Migrations/Z2026_02_17_TransferAttemptsAndBatchIdMigration.cs +++ b/src/slskd/Core/Data/Migrations/Z2026_02_17_TransferAttemptsAndBatchIdMigration.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Core/Data/Migrator.cs b/src/slskd/Core/Data/Migrator.cs index f372b2e6..7289b070 100644 --- a/src/slskd/Core/Data/Migrator.cs +++ b/src/slskd/Core/Data/Migrator.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Core/Data/SchemaInspector.cs b/src/slskd/Core/Data/SchemaInspector.cs index d49ff4f2..88f2adf6 100644 --- a/src/slskd/Core/Data/SchemaInspector.cs +++ b/src/slskd/Core/Data/SchemaInspector.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Core/Data/SqlitePragmaInterceptor.cs b/src/slskd/Core/Data/SqlitePragmaInterceptor.cs index e01592e4..e1a170ec 100644 --- a/src/slskd/Core/Data/SqlitePragmaInterceptor.cs +++ b/src/slskd/Core/Data/SqlitePragmaInterceptor.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Core/Extensions.cs b/src/slskd/Core/Extensions.cs index 1060ae1d..f6823c31 100644 --- a/src/slskd/Core/Extensions.cs +++ b/src/slskd/Core/Extensions.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Core/Options.cs b/src/slskd/Core/Options.cs index ab19b47c..a94fdadb 100644 --- a/src/slskd/Core/Options.cs +++ b/src/slskd/Core/Options.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Core/OptionsOverlay.cs b/src/slskd/Core/OptionsOverlay.cs index 7edc191a..281a6e66 100644 --- a/src/slskd/Core/OptionsOverlay.cs +++ b/src/slskd/Core/OptionsOverlay.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Core/Security/SecurityService.cs b/src/slskd/Core/Security/SecurityService.cs index f5f1b0a0..790f5806 100644 --- a/src/slskd/Core/Security/SecurityService.cs +++ b/src/slskd/Core/Security/SecurityService.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Core/State.cs b/src/slskd/Core/State.cs index 2a115a24..ffc39f57 100644 --- a/src/slskd/Core/State.cs +++ b/src/slskd/Core/State.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Events/API/EventsController.cs b/src/slskd/Events/API/EventsController.cs index af533483..e031498c 100644 --- a/src/slskd/Events/API/EventsController.cs +++ b/src/slskd/Events/API/EventsController.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Events/EventBus.cs b/src/slskd/Events/EventBus.cs index e9b43154..0c9b8e57 100644 --- a/src/slskd/Events/EventBus.cs +++ b/src/slskd/Events/EventBus.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Events/EventService.cs b/src/slskd/Events/EventService.cs index 8fde27d9..66da65cc 100644 --- a/src/slskd/Events/EventService.cs +++ b/src/slskd/Events/EventService.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Events/EventsDbContext.cs b/src/slskd/Events/EventsDbContext.cs index 4ec163a6..6a56fcb0 100644 --- a/src/slskd/Events/EventsDbContext.cs +++ b/src/slskd/Events/EventsDbContext.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Events/Types/EventRecord.cs b/src/slskd/Events/Types/EventRecord.cs index 1f7e9042..268beae0 100644 --- a/src/slskd/Events/Types/EventRecord.cs +++ b/src/slskd/Events/Types/EventRecord.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Events/Types/Events.cs b/src/slskd/Events/Types/Events.cs index 6750f7ef..6ff1faa7 100644 --- a/src/slskd/Events/Types/Events.cs +++ b/src/slskd/Events/Types/Events.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Files/API/FilesController.cs b/src/slskd/Files/API/FilesController.cs index 1c2fb23f..8a96d83f 100644 --- a/src/slskd/Files/API/FilesController.cs +++ b/src/slskd/Files/API/FilesController.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Files/FileExtensions.cs b/src/slskd/Files/FileExtensions.cs index c96b087c..0c9f457d 100644 --- a/src/slskd/Files/FileExtensions.cs +++ b/src/slskd/Files/FileExtensions.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Files/FileService.cs b/src/slskd/Files/FileService.cs index a1ee25a8..575619d5 100644 --- a/src/slskd/Files/FileService.cs +++ b/src/slskd/Files/FileService.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Files/Types/CreateFileOptions.cs b/src/slskd/Files/Types/CreateFileOptions.cs index 3acbb1fa..6749648e 100644 --- a/src/slskd/Files/Types/CreateFileOptions.cs +++ b/src/slskd/Files/Types/CreateFileOptions.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Files/Types/FilesystemDirectory.cs b/src/slskd/Files/Types/FilesystemDirectory.cs index 2b9ae9d1..ebab3652 100644 --- a/src/slskd/Files/Types/FilesystemDirectory.cs +++ b/src/slskd/Files/Types/FilesystemDirectory.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Files/Types/FilesystemFile.cs b/src/slskd/Files/Types/FilesystemFile.cs index 6d55e905..b6c32ea3 100644 --- a/src/slskd/Files/Types/FilesystemFile.cs +++ b/src/slskd/Files/Types/FilesystemFile.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Integrations/FTP/FTPClientFactory.cs b/src/slskd/Integrations/FTP/FTPClientFactory.cs index 9a392e0e..abcc8189 100644 --- a/src/slskd/Integrations/FTP/FTPClientFactory.cs +++ b/src/slskd/Integrations/FTP/FTPClientFactory.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Integrations/FTP/FTPService.cs b/src/slskd/Integrations/FTP/FTPService.cs index 80b6fdba..8c270d6a 100644 --- a/src/slskd/Integrations/FTP/FTPService.cs +++ b/src/slskd/Integrations/FTP/FTPService.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Integrations/FTP/IFTPClientFactory.cs b/src/slskd/Integrations/FTP/IFTPClientFactory.cs index 7ac408b3..eaf98b81 100644 --- a/src/slskd/Integrations/FTP/IFTPClientFactory.cs +++ b/src/slskd/Integrations/FTP/IFTPClientFactory.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Integrations/FTP/IFTPService.cs b/src/slskd/Integrations/FTP/IFTPService.cs index 4f64ff98..6c7d031e 100644 --- a/src/slskd/Integrations/FTP/IFTPService.cs +++ b/src/slskd/Integrations/FTP/IFTPService.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Integrations/Pushbullet/IPushbulletService.cs b/src/slskd/Integrations/Pushbullet/IPushbulletService.cs index e1ac3b48..87ae8203 100644 --- a/src/slskd/Integrations/Pushbullet/IPushbulletService.cs +++ b/src/slskd/Integrations/Pushbullet/IPushbulletService.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Integrations/Pushbullet/PushbulletService.cs b/src/slskd/Integrations/Pushbullet/PushbulletService.cs index 93d9deff..d5fa5b97 100644 --- a/src/slskd/Integrations/Pushbullet/PushbulletService.cs +++ b/src/slskd/Integrations/Pushbullet/PushbulletService.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Integrations/Scripts/ScriptService.cs b/src/slskd/Integrations/Scripts/ScriptService.cs index bf8419a4..33ef0b9b 100644 --- a/src/slskd/Integrations/Scripts/ScriptService.cs +++ b/src/slskd/Integrations/Scripts/ScriptService.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Integrations/VPN/Clients/Gluetun.cs b/src/slskd/Integrations/VPN/Clients/Gluetun.cs index 1a5d7665..119d71a8 100644 --- a/src/slskd/Integrations/VPN/Clients/Gluetun.cs +++ b/src/slskd/Integrations/VPN/Clients/Gluetun.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Integrations/VPN/IVPNClient.cs b/src/slskd/Integrations/VPN/IVPNClient.cs index 980a87d2..96168ad9 100644 --- a/src/slskd/Integrations/VPN/IVPNClient.cs +++ b/src/slskd/Integrations/VPN/IVPNClient.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Integrations/VPN/VPNService.cs b/src/slskd/Integrations/VPN/VPNService.cs index 82a78946..59d98bad 100644 --- a/src/slskd/Integrations/VPN/VPNService.cs +++ b/src/slskd/Integrations/VPN/VPNService.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Integrations/VPN/VPNStatus.cs b/src/slskd/Integrations/VPN/VPNStatus.cs index a1de543d..0fcb01fd 100644 --- a/src/slskd/Integrations/VPN/VPNStatus.cs +++ b/src/slskd/Integrations/VPN/VPNStatus.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Integrations/Webhooks/WebhookService.cs b/src/slskd/Integrations/Webhooks/WebhookService.cs index 1bab8e35..431a95bc 100644 --- a/src/slskd/Integrations/Webhooks/WebhookService.cs +++ b/src/slskd/Integrations/Webhooks/WebhookService.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Messaging/API/Controllers/ConversationsController.cs b/src/slskd/Messaging/API/Controllers/ConversationsController.cs index 9fb95443..c60d0c2f 100644 --- a/src/slskd/Messaging/API/Controllers/ConversationsController.cs +++ b/src/slskd/Messaging/API/Controllers/ConversationsController.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Messaging/API/Controllers/RoomsController.cs b/src/slskd/Messaging/API/Controllers/RoomsController.cs index 05e64d6c..3b2fe568 100644 --- a/src/slskd/Messaging/API/Controllers/RoomsController.cs +++ b/src/slskd/Messaging/API/Controllers/RoomsController.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Messaging/API/DTO/RoomInfoResponse.cs b/src/slskd/Messaging/API/DTO/RoomInfoResponse.cs index f6b66263..20cf2878 100644 --- a/src/slskd/Messaging/API/DTO/RoomInfoResponse.cs +++ b/src/slskd/Messaging/API/DTO/RoomInfoResponse.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Messaging/API/DTO/RoomMessageResponse.cs b/src/slskd/Messaging/API/DTO/RoomMessageResponse.cs index bf63ef70..4149b39b 100644 --- a/src/slskd/Messaging/API/DTO/RoomMessageResponse.cs +++ b/src/slskd/Messaging/API/DTO/RoomMessageResponse.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Messaging/API/DTO/RoomResponse.cs b/src/slskd/Messaging/API/DTO/RoomResponse.cs index fd2b8b6e..aa9f3249 100644 --- a/src/slskd/Messaging/API/DTO/RoomResponse.cs +++ b/src/slskd/Messaging/API/DTO/RoomResponse.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Messaging/API/DTO/UserDataResponse.cs b/src/slskd/Messaging/API/DTO/UserDataResponse.cs index f88b07b7..38238e4e 100644 --- a/src/slskd/Messaging/API/DTO/UserDataResponse.cs +++ b/src/slskd/Messaging/API/DTO/UserDataResponse.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Messaging/ConversationService.cs b/src/slskd/Messaging/ConversationService.cs index db664ecb..a744dcca 100644 --- a/src/slskd/Messaging/ConversationService.cs +++ b/src/slskd/Messaging/ConversationService.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Messaging/IRoomTracker.cs b/src/slskd/Messaging/IRoomTracker.cs index 935d0320..ac76c2c8 100644 --- a/src/slskd/Messaging/IRoomTracker.cs +++ b/src/slskd/Messaging/IRoomTracker.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Messaging/MessagingDbContext.cs b/src/slskd/Messaging/MessagingDbContext.cs index bbf20a2a..8d1be815 100644 --- a/src/slskd/Messaging/MessagingDbContext.cs +++ b/src/slskd/Messaging/MessagingDbContext.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Messaging/MessagingService.cs b/src/slskd/Messaging/MessagingService.cs index 33a2918d..1fc493ad 100644 --- a/src/slskd/Messaging/MessagingService.cs +++ b/src/slskd/Messaging/MessagingService.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Messaging/RoomService.cs b/src/slskd/Messaging/RoomService.cs index 206e9734..c50fcf6b 100644 --- a/src/slskd/Messaging/RoomService.cs +++ b/src/slskd/Messaging/RoomService.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Messaging/RoomTracker.cs b/src/slskd/Messaging/RoomTracker.cs index d876d246..fa112c9a 100644 --- a/src/slskd/Messaging/RoomTracker.cs +++ b/src/slskd/Messaging/RoomTracker.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Messaging/Types/Conversation.cs b/src/slskd/Messaging/Types/Conversation.cs index bc91b9fe..4401e0fd 100644 --- a/src/slskd/Messaging/Types/Conversation.cs +++ b/src/slskd/Messaging/Types/Conversation.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Messaging/Types/MessageDirection.cs b/src/slskd/Messaging/Types/MessageDirection.cs index fc0501a7..7b4925a8 100644 --- a/src/slskd/Messaging/Types/MessageDirection.cs +++ b/src/slskd/Messaging/Types/MessageDirection.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Messaging/Types/PrivateMessage.cs b/src/slskd/Messaging/Types/PrivateMessage.cs index 98c586a3..308d08f9 100644 --- a/src/slskd/Messaging/Types/PrivateMessage.cs +++ b/src/slskd/Messaging/Types/PrivateMessage.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Messaging/Types/Room.cs b/src/slskd/Messaging/Types/Room.cs index b60987f3..8b314e1a 100644 --- a/src/slskd/Messaging/Types/Room.cs +++ b/src/slskd/Messaging/Types/Room.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Messaging/Types/RoomMessage.cs b/src/slskd/Messaging/Types/RoomMessage.cs index 7e7d0c58..037ee153 100644 --- a/src/slskd/Messaging/Types/RoomMessage.cs +++ b/src/slskd/Messaging/Types/RoomMessage.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Program.cs b/src/slskd/Program.cs index b352b0fc..00e1b0cc 100644 --- a/src/slskd/Program.cs +++ b/src/slskd/Program.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Properties/stylecop.json b/src/slskd/Properties/stylecop.json index 48bcdfb9..47d312dd 100644 --- a/src/slskd/Properties/stylecop.json +++ b/src/slskd/Properties/stylecop.json @@ -17,7 +17,7 @@ "documentPrivateElements": false, "documentPrivateFields": false, "companyName": "JP Dillingham", - "copyrightText": " ▄▄▄▄ ▄▄▄▄ ▄▄▄▄\n ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █\n █__ --█ █__ --█ ◄█ - █\n █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█\n ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉\n │ Copyright (c) {companyName}.\n │\n │ This program is free software: you can redistribute it and/or modify\n │ it under the terms of the GNU Affero General Public License as published\n │ by the Free Software Foundation, either version 3 of the License, or\n │ (at your option) any later version.\n │\n │ This program is distributed in the hope that it will be useful,\n │ but WITHOUT ANY WARRANTY; without even the implied warranty of\n │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n │ GNU Affero General Public License for more details.\n │\n │ You should have received a copy of the GNU Affero General Public License\n │ along with this program. If not, see https://www.gnu.org/licenses/.\n │\n │ This program is distributed with Additional Terms pursuant to Section 7\n │ of the AGPLv3. See the LICENSE file in the root directory of this\n │ project for the complete terms and conditions.\n │\n │ https://slskd.org\n │\n ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌\n │ SPDX-FileCopyrightText: {companyName}\n │ SPDX-License-Identifier: AGPL-3.0-only\n ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈", + "copyrightText": " ▄▄▄▄ ▄▄▄▄ ▄▄▄▄\n ▄▄▄▄▄▄█ █▄▄▄▄▄█ █▄▄▄▄▄█ █\n █__ --█ █__ --█ ◄█ - █\n █▄▄▄▄▄█▄▄█▄▄▄▄▄█▄▄█▄▄█▄▄▄▄▄█\n ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉\n │ Copyright (c) {companyName}.\n │\n │ This program is free software: you can redistribute it and/or modify\n │ it under the terms of the GNU Affero General Public License as published\n │ by the Free Software Foundation, version 3.\n │\n │ This program is distributed in the hope that it will be useful,\n │ but WITHOUT ANY WARRANTY; without even the implied warranty of\n │ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n │ GNU Affero General Public License for more details.\n │\n │ You should have received a copy of the GNU Affero General Public License\n │ along with this program. If not, see https://www.gnu.org/licenses/.\n │\n │ This program is distributed with Additional Terms pursuant to Section 7\n │ of the AGPLv3. See the LICENSE file in the root directory of this\n │ project for the complete terms and conditions.\n │\n │ https://slskd.org\n │\n ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌\n │ SPDX-FileCopyrightText: {companyName}\n │ SPDX-License-Identifier: AGPL-3.0-only\n ╰───────────────────────────────────────────╶──── ─ ─── ─ ── ──┈ ┈", "variables": { "licenseName": "AGPL-3.0-only", "licenseFile": "LICENSE" diff --git a/src/slskd/Relay/API/Controllers/RelayController.cs b/src/slskd/Relay/API/Controllers/RelayController.cs index 9dacf66a..0d2ef9c5 100644 --- a/src/slskd/Relay/API/Controllers/RelayController.cs +++ b/src/slskd/Relay/API/Controllers/RelayController.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Relay/API/Hubs/RelayHub.cs b/src/slskd/Relay/API/Hubs/RelayHub.cs index 6a10fe78..53e2830f 100644 --- a/src/slskd/Relay/API/Hubs/RelayHub.cs +++ b/src/slskd/Relay/API/Hubs/RelayHub.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Relay/IRelayClient.cs b/src/slskd/Relay/IRelayClient.cs index 430c9029..44f4945a 100644 --- a/src/slskd/Relay/IRelayClient.cs +++ b/src/slskd/Relay/IRelayClient.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Relay/NullRelayClient.cs b/src/slskd/Relay/NullRelayClient.cs index f9f25b19..d372d9a5 100644 --- a/src/slskd/Relay/NullRelayClient.cs +++ b/src/slskd/Relay/NullRelayClient.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Relay/RelayClient.cs b/src/slskd/Relay/RelayClient.cs index 85d0db14..6fb2f360 100644 --- a/src/slskd/Relay/RelayClient.cs +++ b/src/slskd/Relay/RelayClient.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Relay/RelayService.cs b/src/slskd/Relay/RelayService.cs index bf13bf95..26a635a1 100644 --- a/src/slskd/Relay/RelayService.cs +++ b/src/slskd/Relay/RelayService.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Relay/Types/Agent.cs b/src/slskd/Relay/Types/Agent.cs index 55b2323e..f6bf28a2 100644 --- a/src/slskd/Relay/Types/Agent.cs +++ b/src/slskd/Relay/Types/Agent.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Relay/Types/RelayClientState.cs b/src/slskd/Relay/Types/RelayClientState.cs index 5b6e8206..cc3f4fb8 100644 --- a/src/slskd/Relay/Types/RelayClientState.cs +++ b/src/slskd/Relay/Types/RelayClientState.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Relay/Types/RelayMode.cs b/src/slskd/Relay/Types/RelayMode.cs index 8baa8776..0c47baf5 100644 --- a/src/slskd/Relay/Types/RelayMode.cs +++ b/src/slskd/Relay/Types/RelayMode.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Search/API/Controllers/SearchesController.cs b/src/slskd/Search/API/Controllers/SearchesController.cs index e479a259..99214410 100644 --- a/src/slskd/Search/API/Controllers/SearchesController.cs +++ b/src/slskd/Search/API/Controllers/SearchesController.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Search/API/DTO/SearchRequest.cs b/src/slskd/Search/API/DTO/SearchRequest.cs index 67651716..f7f97053 100644 --- a/src/slskd/Search/API/DTO/SearchRequest.cs +++ b/src/slskd/Search/API/DTO/SearchRequest.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Search/API/Hubs/SearchHub.cs b/src/slskd/Search/API/Hubs/SearchHub.cs index 20492e84..87bdd30b 100644 --- a/src/slskd/Search/API/Hubs/SearchHub.cs +++ b/src/slskd/Search/API/Hubs/SearchHub.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Search/Extensions.cs b/src/slskd/Search/Extensions.cs index 031e7dc0..8df6c2f5 100644 --- a/src/slskd/Search/Extensions.cs +++ b/src/slskd/Search/Extensions.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Search/SearchDbContext.cs b/src/slskd/Search/SearchDbContext.cs index 8a5b039c..1b275dbc 100644 --- a/src/slskd/Search/SearchDbContext.cs +++ b/src/slskd/Search/SearchDbContext.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Search/SearchResponseCache.cs b/src/slskd/Search/SearchResponseCache.cs index 43cacc5c..a601fe47 100644 --- a/src/slskd/Search/SearchResponseCache.cs +++ b/src/slskd/Search/SearchResponseCache.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Search/SearchService.cs b/src/slskd/Search/SearchService.cs index 3236cd9f..208e8f9d 100644 --- a/src/slskd/Search/SearchService.cs +++ b/src/slskd/Search/SearchService.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Search/Types/File.cs b/src/slskd/Search/Types/File.cs index 4715d23d..ce87b7f8 100644 --- a/src/slskd/Search/Types/File.cs +++ b/src/slskd/Search/Types/File.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Search/Types/Response.cs b/src/slskd/Search/Types/Response.cs index 51ed9b95..6c712e7b 100644 --- a/src/slskd/Search/Types/Response.cs +++ b/src/slskd/Search/Types/Response.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Search/Types/Search.cs b/src/slskd/Search/Types/Search.cs index aba844f1..ed701a26 100644 --- a/src/slskd/Search/Types/Search.cs +++ b/src/slskd/Search/Types/Search.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Shares/API/Controllers/SharesController.cs b/src/slskd/Shares/API/Controllers/SharesController.cs index 591b3118..76ec4643 100644 --- a/src/slskd/Shares/API/Controllers/SharesController.cs +++ b/src/slskd/Shares/API/Controllers/SharesController.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Shares/IShareRepository.cs b/src/slskd/Shares/IShareRepository.cs index c60b3df0..3b57c16f 100644 --- a/src/slskd/Shares/IShareRepository.cs +++ b/src/slskd/Shares/IShareRepository.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Shares/IShareRepositoryFactory.cs b/src/slskd/Shares/IShareRepositoryFactory.cs index 2c59834f..15a94ff8 100644 --- a/src/slskd/Shares/IShareRepositoryFactory.cs +++ b/src/slskd/Shares/IShareRepositoryFactory.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Shares/IShareService.cs b/src/slskd/Shares/IShareService.cs index 3b2444b0..4a30b990 100644 --- a/src/slskd/Shares/IShareService.cs +++ b/src/slskd/Shares/IShareService.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Shares/ShareRepositoryFactory.cs b/src/slskd/Shares/ShareRepositoryFactory.cs index 86ce7d2f..dc7cbfca 100644 --- a/src/slskd/Shares/ShareRepositoryFactory.cs +++ b/src/slskd/Shares/ShareRepositoryFactory.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Shares/ShareScanner.cs b/src/slskd/Shares/ShareScanner.cs index a45185e1..6f553e13 100644 --- a/src/slskd/Shares/ShareScanner.cs +++ b/src/slskd/Shares/ShareScanner.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Shares/ShareService.cs b/src/slskd/Shares/ShareService.cs index b1ba449b..a1dde4eb 100644 --- a/src/slskd/Shares/ShareService.cs +++ b/src/slskd/Shares/ShareService.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Shares/SoulseekFileFactory.cs b/src/slskd/Shares/SoulseekFileFactory.cs index bf9e9f1c..e3a9aa54 100644 --- a/src/slskd/Shares/SoulseekFileFactory.cs +++ b/src/slskd/Shares/SoulseekFileFactory.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Shares/SqliteShareRepository.cs b/src/slskd/Shares/SqliteShareRepository.cs index a3645a33..b6c5fc9d 100644 --- a/src/slskd/Shares/SqliteShareRepository.cs +++ b/src/slskd/Shares/SqliteShareRepository.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Shares/Types/Host.cs b/src/slskd/Shares/Types/Host.cs index 4731c9e3..244deefc 100644 --- a/src/slskd/Shares/Types/Host.cs +++ b/src/slskd/Shares/Types/Host.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Shares/Types/Scan.cs b/src/slskd/Shares/Types/Scan.cs index 22449457..4255b98c 100644 --- a/src/slskd/Shares/Types/Scan.cs +++ b/src/slskd/Shares/Types/Scan.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Shares/Types/Share.cs b/src/slskd/Shares/Types/Share.cs index d26367fb..eef8989d 100644 --- a/src/slskd/Shares/Types/Share.cs +++ b/src/slskd/Shares/Types/Share.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Shares/Types/StorageMode.cs b/src/slskd/Shares/Types/StorageMode.cs index a0daa6f4..c1d6b02b 100644 --- a/src/slskd/Shares/Types/StorageMode.cs +++ b/src/slskd/Shares/Types/StorageMode.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Telemetry/API/MetricsController.cs b/src/slskd/Telemetry/API/MetricsController.cs index aad48928..1f0efee1 100644 --- a/src/slskd/Telemetry/API/MetricsController.cs +++ b/src/slskd/Telemetry/API/MetricsController.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Telemetry/API/ReportsController.cs b/src/slskd/Telemetry/API/ReportsController.cs index a8517171..5ced2def 100644 --- a/src/slskd/Telemetry/API/ReportsController.cs +++ b/src/slskd/Telemetry/API/ReportsController.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Telemetry/Metrics.cs b/src/slskd/Telemetry/Metrics.cs index 566e4222..33e16873 100644 --- a/src/slskd/Telemetry/Metrics.cs +++ b/src/slskd/Telemetry/Metrics.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Telemetry/PrometheusService.cs b/src/slskd/Telemetry/PrometheusService.cs index b0717416..9c1e46c5 100644 --- a/src/slskd/Telemetry/PrometheusService.cs +++ b/src/slskd/Telemetry/PrometheusService.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Telemetry/ReportsService.cs b/src/slskd/Telemetry/ReportsService.cs index 46edbe01..cab4e406 100644 --- a/src/slskd/Telemetry/ReportsService.cs +++ b/src/slskd/Telemetry/ReportsService.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Telemetry/TelemetryService.cs b/src/slskd/Telemetry/TelemetryService.cs index a63371c8..74800126 100644 --- a/src/slskd/Telemetry/TelemetryService.cs +++ b/src/slskd/Telemetry/TelemetryService.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Telemetry/Types/DirectoryDetail.cs b/src/slskd/Telemetry/Types/DirectoryDetail.cs index 39ab635d..ac8bc755 100644 --- a/src/slskd/Telemetry/Types/DirectoryDetail.cs +++ b/src/slskd/Telemetry/Types/DirectoryDetail.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Telemetry/Types/LeaderboardSorting.cs b/src/slskd/Telemetry/Types/LeaderboardSorting.cs index 7cb11602..7abdca5d 100644 --- a/src/slskd/Telemetry/Types/LeaderboardSorting.cs +++ b/src/slskd/Telemetry/Types/LeaderboardSorting.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Telemetry/Types/PrometheusMetric.cs b/src/slskd/Telemetry/Types/PrometheusMetric.cs index b33a54bb..95b8d428 100644 --- a/src/slskd/Telemetry/Types/PrometheusMetric.cs +++ b/src/slskd/Telemetry/Types/PrometheusMetric.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Telemetry/Types/SortOrder.cs b/src/slskd/Telemetry/Types/SortOrder.cs index 6376aa85..5ea78062 100644 --- a/src/slskd/Telemetry/Types/SortOrder.cs +++ b/src/slskd/Telemetry/Types/SortOrder.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Telemetry/Types/TransferExceptionDetail.cs b/src/slskd/Telemetry/Types/TransferExceptionDetail.cs index 9db9f30b..af20cc63 100644 --- a/src/slskd/Telemetry/Types/TransferExceptionDetail.cs +++ b/src/slskd/Telemetry/Types/TransferExceptionDetail.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Telemetry/Types/TransferExceptionSummary.cs b/src/slskd/Telemetry/Types/TransferExceptionSummary.cs index 4a3af476..08771937 100644 --- a/src/slskd/Telemetry/Types/TransferExceptionSummary.cs +++ b/src/slskd/Telemetry/Types/TransferExceptionSummary.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Telemetry/Types/TransferSummary.cs b/src/slskd/Telemetry/Types/TransferSummary.cs index f8fac227..f0939bf0 100644 --- a/src/slskd/Telemetry/Types/TransferSummary.cs +++ b/src/slskd/Telemetry/Types/TransferSummary.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Telemetry/Types/UserDirectionTransferSummary.cs b/src/slskd/Telemetry/Types/UserDirectionTransferSummary.cs index 7b841937..4e7d6503 100644 --- a/src/slskd/Telemetry/Types/UserDirectionTransferSummary.cs +++ b/src/slskd/Telemetry/Types/UserDirectionTransferSummary.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Transfers/API/Controllers/TransfersController.cs b/src/slskd/Transfers/API/Controllers/TransfersController.cs index caa3f86c..2ffd50d4 100644 --- a/src/slskd/Transfers/API/Controllers/TransfersController.cs +++ b/src/slskd/Transfers/API/Controllers/TransfersController.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Transfers/API/DTO/DirectoryResponse.cs b/src/slskd/Transfers/API/DTO/DirectoryResponse.cs index 7adc4ff2..18175419 100644 --- a/src/slskd/Transfers/API/DTO/DirectoryResponse.cs +++ b/src/slskd/Transfers/API/DTO/DirectoryResponse.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Transfers/API/DTO/QueueDownloadRequest.cs b/src/slskd/Transfers/API/DTO/QueueDownloadRequest.cs index 105f36f0..9cb45578 100644 --- a/src/slskd/Transfers/API/DTO/QueueDownloadRequest.cs +++ b/src/slskd/Transfers/API/DTO/QueueDownloadRequest.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Transfers/API/DTO/Transfer.cs b/src/slskd/Transfers/API/DTO/Transfer.cs index 1f0ba2c9..949f15d4 100644 --- a/src/slskd/Transfers/API/DTO/Transfer.cs +++ b/src/slskd/Transfers/API/DTO/Transfer.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Transfers/API/DTO/UserResponse.cs b/src/slskd/Transfers/API/DTO/UserResponse.cs index 2f88f9d7..e45fcac7 100644 --- a/src/slskd/Transfers/API/DTO/UserResponse.cs +++ b/src/slskd/Transfers/API/DTO/UserResponse.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Transfers/Downloads/DownloadService.cs b/src/slskd/Transfers/Downloads/DownloadService.cs index 1738cab6..c8e10fe6 100644 --- a/src/slskd/Transfers/Downloads/DownloadService.cs +++ b/src/slskd/Transfers/Downloads/DownloadService.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Transfers/Extensions.cs b/src/slskd/Transfers/Extensions.cs index 48b559e7..1c5ff4b5 100644 --- a/src/slskd/Transfers/Extensions.cs +++ b/src/slskd/Transfers/Extensions.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Transfers/TransferService.cs b/src/slskd/Transfers/TransferService.cs index 0fa5ce76..6079dcd2 100644 --- a/src/slskd/Transfers/TransferService.cs +++ b/src/slskd/Transfers/TransferService.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Transfers/TransfersDbContext.cs b/src/slskd/Transfers/TransfersDbContext.cs index d0538b9a..be312e8e 100644 --- a/src/slskd/Transfers/TransfersDbContext.cs +++ b/src/slskd/Transfers/TransfersDbContext.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Transfers/Types/QueueStrategy.cs b/src/slskd/Transfers/Types/QueueStrategy.cs index 85f7dfe0..61dc67f6 100644 --- a/src/slskd/Transfers/Types/QueueStrategy.cs +++ b/src/slskd/Transfers/Types/QueueStrategy.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Transfers/Types/Transfer.cs b/src/slskd/Transfers/Types/Transfer.cs index 8c5b120e..93a23380 100644 --- a/src/slskd/Transfers/Types/Transfer.cs +++ b/src/slskd/Transfers/Types/Transfer.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Transfers/Types/TransferStateCategories.cs b/src/slskd/Transfers/Types/TransferStateCategories.cs index f8c267ec..603c669a 100644 --- a/src/slskd/Transfers/Types/TransferStateCategories.cs +++ b/src/slskd/Transfers/Types/TransferStateCategories.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Transfers/Types/Upload.cs b/src/slskd/Transfers/Types/Upload.cs index 569567b5..2e9dc8ef 100644 --- a/src/slskd/Transfers/Types/Upload.cs +++ b/src/slskd/Transfers/Types/Upload.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Transfers/Types/UploadGroup.cs b/src/slskd/Transfers/Types/UploadGroup.cs index 6d81b23e..fa307b53 100644 --- a/src/slskd/Transfers/Types/UploadGroup.cs +++ b/src/slskd/Transfers/Types/UploadGroup.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Transfers/Types/UserUploadStatistics.cs b/src/slskd/Transfers/Types/UserUploadStatistics.cs index 005d46b5..55062f3f 100644 --- a/src/slskd/Transfers/Types/UserUploadStatistics.cs +++ b/src/slskd/Transfers/Types/UserUploadStatistics.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Transfers/Uploads/UploadGovernor.cs b/src/slskd/Transfers/Uploads/UploadGovernor.cs index b7a46c58..962d791d 100644 --- a/src/slskd/Transfers/Uploads/UploadGovernor.cs +++ b/src/slskd/Transfers/Uploads/UploadGovernor.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Transfers/Uploads/UploadQueue.cs b/src/slskd/Transfers/Uploads/UploadQueue.cs index 269381e5..0929d761 100644 --- a/src/slskd/Transfers/Uploads/UploadQueue.cs +++ b/src/slskd/Transfers/Uploads/UploadQueue.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Transfers/Uploads/UploadService.cs b/src/slskd/Transfers/Uploads/UploadService.cs index c5f6bd04..72e3c0ef 100644 --- a/src/slskd/Transfers/Uploads/UploadService.cs +++ b/src/slskd/Transfers/Uploads/UploadService.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Users/API/Controllers/UsersController.cs b/src/slskd/Users/API/Controllers/UsersController.cs index b72806f7..2a6f535f 100644 --- a/src/slskd/Users/API/Controllers/UsersController.cs +++ b/src/slskd/Users/API/Controllers/UsersController.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Users/API/DTO/DirectoryContentsRequest.cs b/src/slskd/Users/API/DTO/DirectoryContentsRequest.cs index 45bc6b29..139499b1 100644 --- a/src/slskd/Users/API/DTO/DirectoryContentsRequest.cs +++ b/src/slskd/Users/API/DTO/DirectoryContentsRequest.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Users/API/DTO/UserDataResponse.cs b/src/slskd/Users/API/DTO/UserDataResponse.cs index 9b83bee1..154ee8a5 100644 --- a/src/slskd/Users/API/DTO/UserDataResponse.cs +++ b/src/slskd/Users/API/DTO/UserDataResponse.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Users/BrowseTracker.cs b/src/slskd/Users/BrowseTracker.cs index 0ab20f32..52922fc5 100644 --- a/src/slskd/Users/BrowseTracker.cs +++ b/src/slskd/Users/BrowseTracker.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Users/Extensions.cs b/src/slskd/Users/Extensions.cs index f2ff5153..8c719b57 100644 --- a/src/slskd/Users/Extensions.cs +++ b/src/slskd/Users/Extensions.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Users/IBrowseTracker.cs b/src/slskd/Users/IBrowseTracker.cs index 3232636f..4c566f5b 100644 --- a/src/slskd/Users/IBrowseTracker.cs +++ b/src/slskd/Users/IBrowseTracker.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Users/IUserService.cs b/src/slskd/Users/IUserService.cs index 419bdac4..f2cfa5f1 100644 --- a/src/slskd/Users/IUserService.cs +++ b/src/slskd/Users/IUserService.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Users/Types/Info.cs b/src/slskd/Users/Types/Info.cs index fcd05d57..1f96e7c3 100644 --- a/src/slskd/Users/Types/Info.cs +++ b/src/slskd/Users/Types/Info.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Users/Types/Statistics.cs b/src/slskd/Users/Types/Statistics.cs index f914fca2..0a21fea7 100644 --- a/src/slskd/Users/Types/Statistics.cs +++ b/src/slskd/Users/Types/Statistics.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Users/Types/Status.cs b/src/slskd/Users/Types/Status.cs index a0357528..6637da42 100644 --- a/src/slskd/Users/Types/Status.cs +++ b/src/slskd/Users/Types/Status.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Users/Types/User.cs b/src/slskd/Users/Types/User.cs index c8cd1c85..7297d747 100644 --- a/src/slskd/Users/Types/User.cs +++ b/src/slskd/Users/Types/User.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/src/slskd/Users/UserService.cs b/src/slskd/Users/UserService.cs index f89607ef..d8b24f4d 100644 --- a/src/slskd/Users/UserService.cs +++ b/src/slskd/Users/UserService.cs @@ -8,8 +8,7 @@ // │ // │ This program is free software: you can redistribute it and/or modify // │ it under the terms of the GNU Affero General Public License as published -// │ by the Free Software Foundation, either version 3 of the License, or -// │ (at your option) any later version. +// │ by the Free Software Foundation, version 3. // │ // │ This program is distributed in the hope that it will be useful, // │ but WITHOUT ANY WARRANTY; without even the implied warranty of diff --git a/tests/slskd.Tests.Unit/Common/Cryptography/AesTests.cs b/tests/slskd.Tests.Unit/Common/Cryptography/AesTests.cs index c6c9be94..cf236ee3 100644 --- a/tests/slskd.Tests.Unit/Common/Cryptography/AesTests.cs +++ b/tests/slskd.Tests.Unit/Common/Cryptography/AesTests.cs @@ -1,4 +1,4 @@ -namespace slskd.Tests.Unit.Common.Cryptography +namespace slskd.Tests.Unit.Common.Cryptography { using System.Text; using slskd.Cryptography; diff --git a/tests/slskd.Tests.Unit/Common/Extensions/ToLocalRelativeFilenameTests.cs b/tests/slskd.Tests.Unit/Common/Extensions/ToLocalRelativeFilenameTests.cs index ea2ce0fc..1012ddfa 100644 --- a/tests/slskd.Tests.Unit/Common/Extensions/ToLocalRelativeFilenameTests.cs +++ b/tests/slskd.Tests.Unit/Common/Extensions/ToLocalRelativeFilenameTests.cs @@ -1,4 +1,4 @@ -namespace slskd.Tests.Unit.Common.Extensions +namespace slskd.Tests.Unit.Common.Extensions { using System; using Xunit; diff --git a/tests/slskd.Tests.Unit/Common/TokenBucketTests.cs b/tests/slskd.Tests.Unit/Common/TokenBucketTests.cs index fcd6c290..0de72527 100644 --- a/tests/slskd.Tests.Unit/Common/TokenBucketTests.cs +++ b/tests/slskd.Tests.Unit/Common/TokenBucketTests.cs @@ -1,4 +1,4 @@ -namespace slskd.Tests.Unit.Common +namespace slskd.Tests.Unit.Common { using System; using System.Threading.Tasks; diff --git a/tests/slskd.Tests.Unit/Files/FileServiceTests.cs b/tests/slskd.Tests.Unit/Files/FileServiceTests.cs index 9d98c0ed..7bb0bfdd 100644 --- a/tests/slskd.Tests.Unit/Files/FileServiceTests.cs +++ b/tests/slskd.Tests.Unit/Files/FileServiceTests.cs @@ -1,4 +1,4 @@ -using Microsoft.Extensions.Options; +using Microsoft.Extensions.Options; namespace slskd.Tests.Unit.Files { diff --git a/tests/slskd.Tests.Unit/TestIsolationExtensions.cs b/tests/slskd.Tests.Unit/TestIsolationExtensions.cs index f6b774d3..aa983ae4 100644 --- a/tests/slskd.Tests.Unit/TestIsolationExtensions.cs +++ b/tests/slskd.Tests.Unit/TestIsolationExtensions.cs @@ -1,4 +1,4 @@ -namespace slskd.Tests.Unit +namespace slskd.Tests.Unit { using System; using System.Reflection; diff --git a/tests/slskd.Tests.Unit/TestOptionsMonitor.cs b/tests/slskd.Tests.Unit/TestOptionsMonitor.cs index 6c16adf5..6a8909ac 100644 --- a/tests/slskd.Tests.Unit/TestOptionsMonitor.cs +++ b/tests/slskd.Tests.Unit/TestOptionsMonitor.cs @@ -1,4 +1,4 @@ -using System; +using System; using Microsoft.Extensions.Options; using Moq; diff --git a/tests/slskd.Tests.Unit/Transfers/Uploads/UploadGovernorTests.cs b/tests/slskd.Tests.Unit/Transfers/Uploads/UploadGovernorTests.cs index acf74e61..27ca5b2f 100644 --- a/tests/slskd.Tests.Unit/Transfers/Uploads/UploadGovernorTests.cs +++ b/tests/slskd.Tests.Unit/Transfers/Uploads/UploadGovernorTests.cs @@ -1,4 +1,4 @@ -namespace slskd.Tests.Unit.Transfers.Uploads +namespace slskd.Tests.Unit.Transfers.Uploads { using System.Collections.Generic; using System.Threading; diff --git a/tests/slskd.Tests.Unit/Transfers/Uploads/UploadQueueTests.cs b/tests/slskd.Tests.Unit/Transfers/Uploads/UploadQueueTests.cs index e5d6e1b5..6f21f9ba 100644 --- a/tests/slskd.Tests.Unit/Transfers/Uploads/UploadQueueTests.cs +++ b/tests/slskd.Tests.Unit/Transfers/Uploads/UploadQueueTests.cs @@ -1,4 +1,4 @@ -namespace slskd.Tests.Unit.Transfers.Uploads +namespace slskd.Tests.Unit.Transfers.Uploads { using System.Collections.Concurrent; using System.Collections.Generic; diff --git a/tests/slskd.Tests.Unit/Users/UserServiceTests.cs b/tests/slskd.Tests.Unit/Users/UserServiceTests.cs index 7680ec11..95e17e32 100644 --- a/tests/slskd.Tests.Unit/Users/UserServiceTests.cs +++ b/tests/slskd.Tests.Unit/Users/UserServiceTests.cs @@ -1,4 +1,4 @@ -namespace slskd.Tests.Unit.Users +namespace slskd.Tests.Unit.Users { using System.Collections.Generic; using AutoFixture.Xunit2; -- cgit v1.2.3 From edeeb43b39829783777eb1b9601c6bc674f1cd48 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 29 Mar 2026 20:57:13 +0000 Subject: Bump yaml in /src/web Bumps [yaml](https://github.com/eemeli/yaml) to 1.10.3 and updates ancestor dependencies and [yaml](https://github.com/eemeli/yaml). These dependencies need to be updated together. Updates `yaml` from 1.10.2 to 1.10.3 - [Release notes](https://github.com/eemeli/yaml/releases) - [Commits](https://github.com/eemeli/yaml/compare/v1.10.2...v1.10.3) Updates `yaml` from 2.3.1 to 2.8.3 - [Release notes](https://github.com/eemeli/yaml/releases) - [Commits](https://github.com/eemeli/yaml/compare/v1.10.2...v1.10.3) Updates `yaml` from 2.3.4 to 2.8.3 - [Release notes](https://github.com/eemeli/yaml/releases) - [Commits](https://github.com/eemeli/yaml/compare/v1.10.2...v1.10.3) --- updated-dependencies: - dependency-name: yaml dependency-version: 1.10.3 dependency-type: direct:production - dependency-name: yaml dependency-version: 2.8.3 dependency-type: indirect - dependency-name: yaml dependency-version: 2.8.3 dependency-type: indirect ... Signed-off-by: dependabot[bot] --- src/web/package-lock.json | 39 +++++++++++++++++++++++++++------------ src/web/package.json | 2 +- 2 files changed, 28 insertions(+), 13 deletions(-) diff --git a/src/web/package-lock.json b/src/web/package-lock.json index d0fcbcae..35895a10 100644 --- a/src/web/package-lock.json +++ b/src/web/package-lock.json @@ -24,7 +24,7 @@ "semantic-ui-react": "^2.1.0", "signalr": "^2.4.1", "uuid": "^8.3.0", - "yaml": "^1.10.2" + "yaml": "^1.10.3" }, "devDependencies": { "@babel/plugin-proposal-private-property-in-object": "^7.21.11", @@ -16319,12 +16319,19 @@ } }, "node_modules/postcss-load-config/node_modules/yaml": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.3.1.tgz", - "integrity": "sha512-2eHWfjaoXgTBC2jNM1LRef62VQa0umtvRiDSk6HSzW7RvS5YtkabJrwYLLEKWBc8a5U2PTSCs+dJjUTJdlHsWQ==", + "version": "2.8.3", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.8.3.tgz", + "integrity": "sha512-AvbaCLOO2Otw/lW5bmh9d/WEdcDFdQp2Z2ZUH3pX9U2ihyUY0nvLv7J6TrWowklRGPYbB/IuIMfYgxaCPg5Bpg==", "dev": true, + "license": "ISC", + "bin": { + "yaml": "bin.mjs" + }, "engines": { - "node": ">= 14" + "node": ">= 14.6" + }, + "funding": { + "url": "https://github.com/sponsors/eemeli" } }, "node_modules/postcss-loader": { @@ -21691,9 +21698,10 @@ "dev": true }, "node_modules/yaml": { - "version": "1.10.2", - "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz", - "integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==", + "version": "1.10.3", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.3.tgz", + "integrity": "sha512-vIYeF1u3CjlhAFekPPAk2h/Kv4T3mAkMox5OymRiJQB0spDP10LHvt+K7G9Ny6NuuMAb25/6n1qyUjAcGNf/AA==", + "license": "ISC", "engines": { "node": ">= 6" } @@ -21716,12 +21724,19 @@ } }, "node_modules/yaml-eslint-parser/node_modules/yaml": { - "version": "2.3.4", - "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.3.4.tgz", - "integrity": "sha512-8aAvwVUSHpfEqTQ4w/KMlf3HcRdt50E5ODIQJBw1fQ5RL34xabzxtUlzTXVqc4rkZsPbvrXKWnABCD7kWSmocA==", + "version": "2.8.3", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.8.3.tgz", + "integrity": "sha512-AvbaCLOO2Otw/lW5bmh9d/WEdcDFdQp2Z2ZUH3pX9U2ihyUY0nvLv7J6TrWowklRGPYbB/IuIMfYgxaCPg5Bpg==", "dev": true, + "license": "ISC", + "bin": { + "yaml": "bin.mjs" + }, "engines": { - "node": ">= 14" + "node": ">= 14.6" + }, + "funding": { + "url": "https://github.com/sponsors/eemeli" } }, "node_modules/yargs": { diff --git a/src/web/package.json b/src/web/package.json index a0ffa143..0988ce49 100644 --- a/src/web/package.json +++ b/src/web/package.json @@ -29,7 +29,7 @@ "semantic-ui-react": "^2.1.0", "signalr": "^2.4.1", "uuid": "^8.3.0", - "yaml": "^1.10.2" + "yaml": "^1.10.3" }, "devDependencies": { "@babel/plugin-proposal-private-property-in-object": "^7.21.11", -- cgit v1.2.3 From 967ba8e29d07c0885757ddf337442896a30a4ce6 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sun, 29 Mar 2026 18:34:26 -0500 Subject: interlock updates of shared scanner vars --- src/slskd/Shares/ShareScanner.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/slskd/Shares/ShareScanner.cs b/src/slskd/Shares/ShareScanner.cs index 6f553e13..5920b7ac 100644 --- a/src/slskd/Shares/ShareScanner.cs +++ b/src/slskd/Shares/ShareScanner.cs @@ -304,9 +304,9 @@ namespace slskd.Shares Log.Warning("Failed to scan files in directory {Directory}: {Message}", directory, ex.Message); } - current++; - filtered += filteredFiles; - cached += addedFiles; + Interlocked.Increment(ref current); + Interlocked.Add(ref filtered, filteredFiles); + Interlocked.Add(ref cached, addedFiles); Log.Debug("Finished scanning {Directory}: {Added} files added and {Filtered} filtered", directory, addedFiles, filteredFiles); State.SetValue(state => state with { FillProgress = current / (double)unmaskedDirectories.Count, Files = cached }); -- cgit v1.2.3 From bd148f4cee464040d53bdb35c9cf9ddfa493b0f4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 2 Apr 2026 14:26:04 +0000 Subject: Bump lodash-es from 4.17.23 to 4.18.1 in /src/web Bumps [lodash-es](https://github.com/lodash/lodash) from 4.17.23 to 4.18.1. - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](https://github.com/lodash/lodash/compare/4.17.23...4.18.1) --- updated-dependencies: - dependency-name: lodash-es dependency-version: 4.18.1 dependency-type: indirect ... Signed-off-by: dependabot[bot] --- src/web/package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/web/package-lock.json b/src/web/package-lock.json index 35895a10..54ef87af 100644 --- a/src/web/package-lock.json +++ b/src/web/package-lock.json @@ -14448,9 +14448,9 @@ "license": "MIT" }, "node_modules/lodash-es": { - "version": "4.17.23", - "resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.17.23.tgz", - "integrity": "sha512-kVI48u3PZr38HdYz98UmfPnXl2DXrpdctLrFLCd3kOx1xUkOmpFPx7gCWWM5MPkL/fD8zb+Ph0QzjGFs4+hHWg==", + "version": "4.18.1", + "resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.18.1.tgz", + "integrity": "sha512-J8xewKD/Gk22OZbhpOVSwcs60zhd95ESDwezOFuA3/099925PdHJ7OFHNTGtajL3AlZkykD32HykiMo+BIBI8A==", "license": "MIT" }, "node_modules/lodash.debounce": { -- cgit v1.2.3 From a9d1141ee1ae85eaba50a0040b78b6881fe7698c Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Fri, 3 Apr 2026 18:00:10 -0500 Subject: adjust indent in NOTICE --- NOTICE | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/NOTICE b/NOTICE index ac8ca38b..c1ba7b4e 100644 --- a/NOTICE +++ b/NOTICE @@ -1,13 +1,13 @@ NOTICE -This software is licensed under the GNU Affero General Public License v3.0 + This software is licensed under the GNU Affero General Public License v3.0 (AGPLv3) with Additional Terms pursuant to Section 7 of the AGPLv3. -The Additional Terms impose conditions on the preservation of license notices, + The Additional Terms impose conditions on the preservation of license notices, identification of modified versions, and rebranding of any modified version conveyed to third parties. -The complete text of the AGPLv3 and the Additional Terms is contained in the + The complete text of the AGPLv3 and the Additional Terms is contained in the LICENSE file in the root directory of this project. You must read and comply with both the AGPLv3 and the Additional Terms before modifying or conveying this software or any work based on it. \ No newline at end of file -- cgit v1.2.3 From d486a771bdeb163be949ede653a0c72083564756 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sat, 4 Apr 2026 18:07:51 -0500 Subject: add license notice to banner --- src/slskd/Program.cs | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/src/slskd/Program.cs b/src/slskd/Program.cs index 00e1b0cc..25077de7 100644 --- a/src/slskd/Program.cs +++ b/src/slskd/Program.cs @@ -1622,10 +1622,17 @@ namespace slskd var banner = @$" {logo} ┍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ━━━━ ━ ━┉ ┉ ┉ -│ GNU Affero General Public License -│ └─▸ SPDX: AGPL-3.0-only +│ This program is free software: you can redistribute it and/or modify +│ it under the terms of the GNU Affero General Public License as published +│ by the Free Software Foundation, version 3. +│ └─▸ SPDX: AGPL-3.0-only │ -│ https://slskd.org +│ This program is distributed with Additional Terms pursuant to Section 7 +│ of the AGPLv3. See the LICENSE file in the root directory of this +│ project for the complete terms and conditions. +│ +│ 🌐 https://slskd.org +│ 🐱 https://github.com/slskd/slskd │ ├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╌ ╌╌╌╌ ╌ │ {version}"; -- cgit v1.2.3 From ca1802d04de87e6ada9a576b55f418f95837b7a1 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sun, 5 Apr 2026 12:28:21 -0500 Subject: bump Soulseek.NET to 10.0.0 --- src/slskd/slskd.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slskd/slskd.csproj b/src/slskd/slskd.csproj index ccc22a42..a07d0bc9 100644 --- a/src/slskd/slskd.csproj +++ b/src/slskd/slskd.csproj @@ -69,7 +69,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive -- cgit v1.2.3 From 785b8b509089ef7ab5404aae9a183ce6bc6e9c09 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 5 Apr 2026 17:33:52 +0000 Subject: Bump lodash from 4.17.23 to 4.18.1 in /src/web Bumps [lodash](https://github.com/lodash/lodash) from 4.17.23 to 4.18.1. - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](https://github.com/lodash/lodash/compare/4.17.23...4.18.1) --- updated-dependencies: - dependency-name: lodash dependency-version: 4.18.1 dependency-type: indirect ... Signed-off-by: dependabot[bot] --- src/web/package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/web/package-lock.json b/src/web/package-lock.json index 35895a10..95911e72 100644 --- a/src/web/package-lock.json +++ b/src/web/package-lock.json @@ -14442,9 +14442,9 @@ } }, "node_modules/lodash": { - "version": "4.17.23", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.23.tgz", - "integrity": "sha512-LgVTMpQtIopCi79SJeDiP0TfWi5CNEc/L/aRdTh3yIvmZXTnheWpKjSZhnvMl8iXbC1tFg9gdHHDMLoV7CnG+w==", + "version": "4.18.1", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.18.1.tgz", + "integrity": "sha512-dMInicTPVE8d1e5otfwmmjlxkZoUpiVLwyeTdUsi/Caj/gfzzblBcCE5sRHV/AsjuCmxWrte2TNGSYuCeCq+0Q==", "license": "MIT" }, "node_modules/lodash-es": { -- cgit v1.2.3 From 42ac9209120b50140c0ee6893e88f2dcb61647b6 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sun, 5 Apr 2026 18:36:59 -0500 Subject: remove unused integration tests --- tests/slskd.Tests.Integration/.gitignore | 352 --------------------- tests/slskd.Tests.Integration/UnitTest1.cs | 14 - .../slskd.Tests.Integration.csproj | 22 -- 3 files changed, 388 deletions(-) delete mode 100644 tests/slskd.Tests.Integration/.gitignore delete mode 100644 tests/slskd.Tests.Integration/UnitTest1.cs delete mode 100644 tests/slskd.Tests.Integration/slskd.Tests.Integration.csproj diff --git a/tests/slskd.Tests.Integration/.gitignore b/tests/slskd.Tests.Integration/.gitignore deleted file mode 100644 index 3eabeee4..00000000 --- a/tests/slskd.Tests.Integration/.gitignore +++ /dev/null @@ -1,352 +0,0 @@ -## Ignore Visual Studio temporary files, build results, and -## files generated by popular Visual Studio add-ons. -## -## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore - -# User-specific files -*.rsuser -*.suo -*.user -*.userosscache -*.sln.docstates - -# User-specific files (MonoDevelop/Xamarin Studio) -*.userprefs - -# Mono auto generated files -mono_crash.* - -# Build results -[Dd]ebug/ -[Dd]ebugPublic/ -[Rr]elease/ -[Rr]eleases/ -x64/ -x86/ -[Aa][Rr][Mm]/ -[Aa][Rr][Mm]64/ -bld/ -[Bb]in/ -[Oo]bj/ -[Ll]og/ -[Ll]ogs/ - -# Visual Studio 2015/2017 cache/options directory -.vs/ -# Uncomment if you have tasks that create the project's static files in wwwroot -#wwwroot/ - -# Visual Studio 2017 auto generated files -Generated\ Files/ - -# MSTest test Results -[Tt]est[Rr]esult*/ -[Bb]uild[Ll]og.* - -# NUnit -*.VisualState.xml -TestResult.xml -nunit-*.xml - -# Build Results of an ATL Project -[Dd]ebugPS/ -[Rr]eleasePS/ -dlldata.c - -# Benchmark Results -BenchmarkDotNet.Artifacts/ - -# .NET Core -project.lock.json -project.fragment.lock.json -artifacts/ - -# StyleCop -StyleCopReport.xml - -# Files built by Visual Studio -*_i.c -*_p.c -*_h.h -*.ilk -*.meta -*.obj -*.iobj -*.pch -*.pdb -*.ipdb -*.pgc -*.pgd -*.rsp -*.sbr -*.tlb -*.tli -*.tlh -*.tmp -*.tmp_proj -*_wpftmp.csproj -*.log -*.vspscc -*.vssscc -.builds -*.pidb -*.svclog -*.scc - -# Chutzpah Test files -_Chutzpah* - -# Visual C++ cache files -ipch/ -*.aps -*.ncb -*.opendb -*.opensdf -*.sdf -*.cachefile -*.VC.db -*.VC.VC.opendb - -# Visual Studio profiler -*.psess -*.vsp -*.vspx -*.sap - -# Visual Studio Trace Files -*.e2e - -# TFS 2012 Local Workspace -$tf/ - -# Guidance Automation Toolkit -*.gpState - -# ReSharper is a .NET coding add-in -_ReSharper*/ -*.[Rr]e[Ss]harper -*.DotSettings.user - -# TeamCity is a build add-in -_TeamCity* - -# DotCover is a Code Coverage Tool -*.dotCover - -# AxoCover is a Code Coverage Tool -.axoCover/* -!.axoCover/settings.json - -# Visual Studio code coverage results -*.coverage -*.coveragexml - -# NCrunch -_NCrunch_* -.*crunch*.local.xml -nCrunchTemp_* - -# MightyMoose -*.mm.* -AutoTest.Net/ - -# Web workbench (sass) -.sass-cache/ - -# Installshield output folder -[Ee]xpress/ - -# DocProject is a documentation generator add-in -DocProject/buildhelp/ -DocProject/Help/*.HxT -DocProject/Help/*.HxC -DocProject/Help/*.hhc -DocProject/Help/*.hhk -DocProject/Help/*.hhp -DocProject/Help/Html2 -DocProject/Help/html - -# Click-Once directory -publish/ - -# Publish Web Output -*.[Pp]ublish.xml -*.azurePubxml -# Note: Comment the next line if you want to checkin your web deploy settings, -# but database connection strings (with potential passwords) will be unencrypted -*.pubxml -*.publishproj - -# Microsoft Azure Web App publish settings. Comment the next line if you want to -# checkin your Azure Web App publish settings, but sensitive information contained -# in these scripts will be unencrypted -PublishScripts/ - -# NuGet Packages -*.nupkg -# NuGet Symbol Packages -*.snupkg -# The packages folder can be ignored because of Package Restore -**/[Pp]ackages/* -# except build/, which is used as an MSBuild target. -!**/[Pp]ackages/build/ -# Uncomment if necessary however generally it will be regenerated when needed -#!**/[Pp]ackages/repositories.config -# NuGet v3's project.json files produces more ignorable files -*.nuget.props -*.nuget.targets - -# Microsoft Azure Build Output -csx/ -*.build.csdef - -# Microsoft Azure Emulator -ecf/ -rcf/ - -# Windows Store app package directories and files -AppPackages/ -BundleArtifacts/ -Package.StoreAssociation.xml -_pkginfo.txt -*.appx -*.appxbundle -*.appxupload - -# Visual Studio cache files -# files ending in .cache can be ignored -*.[Cc]ache -# but keep track of directories ending in .cache -!?*.[Cc]ache/ - -# Others -ClientBin/ -~$* -*~ -*.dbmdl -*.dbproj.schemaview -*.jfm -*.pfx -*.publishsettings -orleans.codegen.cs - -# Including strong name files can present a security risk -# (https://github.com/github/gitignore/pull/2483#issue-259490424) -#*.snk - -# Since there are multiple workflows, uncomment next line to ignore bower_components -# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) -#bower_components/ - -# RIA/Silverlight projects -Generated_Code/ - -# Backup & report files from converting an old project file -# to a newer Visual Studio version. Backup files are not needed, -# because we have git ;-) -_UpgradeReport_Files/ -Backup*/ -UpgradeLog*.XML -UpgradeLog*.htm -ServiceFabricBackup/ -*.rptproj.bak - -# SQL Server files -*.mdf -*.ldf -*.ndf - -# Business Intelligence projects -*.rdl.data -*.bim.layout -*.bim_*.settings -*.rptproj.rsuser -*- [Bb]ackup.rdl -*- [Bb]ackup ([0-9]).rdl -*- [Bb]ackup ([0-9][0-9]).rdl - -# Microsoft Fakes -FakesAssemblies/ - -# GhostDoc plugin setting file -*.GhostDoc.xml - -# Node.js Tools for Visual Studio -.ntvs_analysis.dat -node_modules/ - -# Visual Studio 6 build log -*.plg - -# Visual Studio 6 workspace options file -*.opt - -# Visual Studio 6 auto-generated workspace file (contains which files were open etc.) -*.vbw - -# Visual Studio LightSwitch build output -**/*.HTMLClient/GeneratedArtifacts -**/*.DesktopClient/GeneratedArtifacts -**/*.DesktopClient/ModelManifest.xml -**/*.Server/GeneratedArtifacts -**/*.Server/ModelManifest.xml -_Pvt_Extensions - -# Paket dependency manager -.paket/paket.exe -paket-files/ - -# FAKE - F# Make -.fake/ - -# CodeRush personal settings -.cr/personal - -# Python Tools for Visual Studio (PTVS) -__pycache__/ -*.pyc - -# Cake - Uncomment if you are using it -# tools/** -# !tools/packages.config - -# Tabs Studio -*.tss - -# Telerik's JustMock configuration file -*.jmconfig - -# BizTalk build output -*.btp.cs -*.btm.cs -*.odx.cs -*.xsd.cs - -# OpenCover UI analysis results -OpenCover/ - -# Azure Stream Analytics local run output -ASALocalRun/ - -# MSBuild Binary and Structured Log -*.binlog - -# NVidia Nsight GPU debugger configuration file -*.nvuser - -# MFractors (Xamarin productivity tool) working folder -.mfractor/ - -# Local History for Visual Studio -.localhistory/ - -# BeatPulse healthcheck temp database -healthchecksdb - -# Backup folder for Package Reference Convert tool in Visual Studio 2017 -MigrationBackup/ - -# Ionide (cross platform F# VS Code tools) working folder -.ionide/ - -wwwroot \ No newline at end of file diff --git a/tests/slskd.Tests.Integration/UnitTest1.cs b/tests/slskd.Tests.Integration/UnitTest1.cs deleted file mode 100644 index 9b9c8a80..00000000 --- a/tests/slskd.Tests.Integration/UnitTest1.cs +++ /dev/null @@ -1,14 +0,0 @@ -using System; -using Xunit; - -namespace slskd.Tests.Integration -{ - public class UnitTest1 - { - [Fact] - public void Test1() - { - - } - } -} diff --git a/tests/slskd.Tests.Integration/slskd.Tests.Integration.csproj b/tests/slskd.Tests.Integration/slskd.Tests.Integration.csproj deleted file mode 100644 index 37eccdd9..00000000 --- a/tests/slskd.Tests.Integration/slskd.Tests.Integration.csproj +++ /dev/null @@ -1,22 +0,0 @@ - - - - net8.0 - - false - - - - - runtime; build; native; contentfiles; analyzers; buildtransitive - all - - - - - runtime; build; native; contentfiles; analyzers; buildtransitive - all - - - - -- cgit v1.2.3 From 97689ed2db39f4be92ee58a90aa9dfdf6cc53dc0 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sun, 5 Apr 2026 18:43:10 -0500 Subject: update projects to .NET 10 --- bin/run | 21 ++------------------- slskd.sln | 2 -- src/slskd/slskd.csproj | 6 +++--- tests/slskd.Tests.Unit/slskd.Tests.Unit.csproj | 3 +-- 4 files changed, 6 insertions(+), 26 deletions(-) diff --git a/bin/run b/bin/run index c62e36df..f57a88a5 100755 --- a/bin/run +++ b/bin/run @@ -1,20 +1,3 @@ -if [ -z "$1" ]; then - echo "💥 error: no image specified; provide a valid image and tag (e.g. slskd/slskd:latest)" - exit 1 -fi +#!/bin/bash -docker run -i \ - -p 5030:5030 \ - -p $SLSK_LISTEN_PORT:$SLSK_LISTEN_PORT \ - -v $SLSK_OUTPUT_DIR:/var/slsk/download \ - -v $SLSK_SHARED_DIR:/var/slsk/shared \ - -e "SLSK_USERNAME=$SLSK_USERNAME" \ - -e "SLSK_PASSWORD=$SLSK_PASSWORD" \ - -e "SLSK_LISTEN_PORT=$SLSK_LISTEN_PORT" \ - -e "SLSK_ENABLE_DNET=true" \ - -e "SLSK_DNET_CHILD_LIMIT=10" \ - -e "SLSK_DIAGNOSTIC=$SLSK_DIAGNOSTIC" \ - -e "SLSK_ENABLE_SECURITY=$SLSK_ENABLE_SECURITY" \ - -e "SLSK_CONNECT_TIMEOUT=5000" \ - -e "SLSK_INACTIVITY_TIMEOUT=15000" \ - $1 \ No newline at end of file +dotnet run --project src/slskd/slskd.csproj \ No newline at end of file diff --git a/slskd.sln b/slskd.sln index 3633c010..ad15aaa3 100644 --- a/slskd.sln +++ b/slskd.sln @@ -35,8 +35,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{137724E1 EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "slskd.Tests.Unit", "tests\slskd.Tests.Unit\slskd.Tests.Unit.csproj", "{2777623C-3DBE-4EB4-A092-DFEA7BD8EA3A}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "slskd.Tests.Integration", "tests\slskd.Tests.Integration\slskd.Tests.Integration.csproj", "{6BF0549C-F88D-43F9-85EE-388BA5FC38D0}" -EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "config", "config", "{98F684AE-507B-475A-92FE-AB4273A9F11A}" ProjectSection(SolutionItems) = preProject config\slskd.example.yml = config\slskd.example.yml diff --git a/src/slskd/slskd.csproj b/src/slskd/slskd.csproj index a07d0bc9..cf825701 100644 --- a/src/slskd/slskd.csproj +++ b/src/slskd/slskd.csproj @@ -2,13 +2,13 @@ https://github.com/slskd/slskd https://slskd.org - slskd Team - Copyright (c) slskd Team + JP Dillingham + Copyright (c) JP Dillingham LICENSE - net8.0 + net10.0 Properties\analysis.ruleset true true diff --git a/tests/slskd.Tests.Unit/slskd.Tests.Unit.csproj b/tests/slskd.Tests.Unit/slskd.Tests.Unit.csproj index 04b18bb7..d1e76222 100644 --- a/tests/slskd.Tests.Unit/slskd.Tests.Unit.csproj +++ b/tests/slskd.Tests.Unit/slskd.Tests.Unit.csproj @@ -1,8 +1,7 @@  - net8.0 - + net10.0 false -- cgit v1.2.3 From aa97bbee5e7708c0632f08cfac7f52a7908bb6e2 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Tue, 7 Apr 2026 10:13:10 -0500 Subject: update docker images --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5b174a0a..499b0135 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # build static web content # note: pin this to amd64 to speed it up, it is prohibitively slow under QEMU -FROM --platform=$BUILDPLATFORM node:18-alpine3.18 AS web +FROM --platform=$BUILDPLATFORM node:22-alpine AS web ARG VERSION=0.0.1.65534-local WORKDIR /slskd @@ -13,7 +13,7 @@ RUN sh ./bin/build --web-only --version $VERSION # build, test, and publish application binaries # note: this needs to be pinned to an amd64 image in order to publish armv7 binaries # https://github.com/dotnet/dotnet-docker/issues/1537#issuecomment-615269150 -FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:8.0-bookworm-slim AS publish +FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:10.0-noble AS publish ARG TARGETPLATFORM ARG VERSION=0.0.1.65534-local @@ -32,7 +32,7 @@ RUN bash ./bin/build --dotnet-only --version $VERSION RUN bash ./bin/publish --no-prebuild --platform $TARGETPLATFORM --version $VERSION --output ../../dist/${TARGETPLATFORM} # application -FROM mcr.microsoft.com/dotnet/runtime-deps:8.0-bookworm-slim AS slskd +FROM mcr.microsoft.com/dotnet/runtime-deps:10.0-noble AS slskd ARG TARGETPLATFORM ARG TAG=0.0.1 ARG VERSION=0.0.1.65534-local -- cgit v1.2.3 From 46c0dfa26535715650c86da7d165b98d7519c2b7 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Tue, 7 Apr 2026 10:13:26 -0500 Subject: use .net 10 in actions --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5a6072c0..9c5619e2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,7 @@ on: workflow_dispatch: env: - DOTNET_VERSION: '8' + DOTNET_VERSION: '10' jobs: build: -- cgit v1.2.3 From 2078d8822519fece08db76d12b06ad53823a8595 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Tue, 7 Apr 2026 10:13:38 -0500 Subject: update .net references --- CONTRIBUTING.md | 2 +- docs/build.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 73ebce45..66544b23 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -40,7 +40,7 @@ into your local branch, then `git push` to update your branch. ## Environment Setup -You'll need [.NET 8.0](https://dotnet.microsoft.com/en-us/download) to build and run the back end (slskd), and you'll +You'll need [.NET 10.0](https://dotnet.microsoft.com/en-us/download) to build and run the back end (slskd), and you'll need [Nodejs](https://nodejs.org/en/) to build and debug the front end (web). You're free to use whichever development tools you prefer. If you don't yet have a preference, we recommend the following: diff --git a/docs/build.md b/docs/build.md index 1d3c8faf..79214930 100644 --- a/docs/build.md +++ b/docs/build.md @@ -3,7 +3,7 @@ ## Prerequisites 1. [Node.js](https://nodejs.org/en/download/current) v18 or greater (with npm 9.6 or greater) -1. [.NET SDK](https://dotnet.microsoft.com/en-us/download) 8.0 +1. [.NET SDK](https://dotnet.microsoft.com/en-us/download) 10.0 ## Easy Way -- cgit v1.2.3 From 1561d0e992921b995228c06059915d5b8e172f78 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Tue, 7 Apr 2026 10:25:51 -0500 Subject: remove integration tests in build script --- bin/build | 3 --- 1 file changed, 3 deletions(-) diff --git a/bin/build b/bin/build index a5ca4f29..ab469a32 100755 --- a/bin/build +++ b/bin/build @@ -94,9 +94,6 @@ else else echo $'\n\t🧪 dotnet test --configuration Release ../../tests/slskd.Tests.Unit\n' dotnet test --configuration Release ../../tests/slskd.Tests.Unit - - echo $'\n\t🧪 dotnet test --configuration Release ../../tests/slskd.Tests.Integration\n' - dotnet test --configuration Release ../../tests/slskd.Tests.Integration fi fi -- cgit v1.2.3 From c1f86cd40005e6234d1f459439453023b8589dec Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Thu, 9 Apr 2026 19:03:37 -0500 Subject: wip --- Dockerfile | 99 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 91 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index 499b0135..eef6ac52 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,6 @@ +# syntax=docker/dockerfile:1 +# ^ enable heredoc for BuildKit + # build static web content # note: pin this to amd64 to speed it up, it is prohibitively slow under QEMU FROM --platform=$BUILDPLATFORM node:22-alpine AS web @@ -43,6 +46,7 @@ RUN apt-get update && apt-get install --no-install-recommends -y \ jq \ wget \ tini \ + gosu \ && \ rm -rf \ /tmp/* \ @@ -50,10 +54,13 @@ RUN apt-get update && apt-get install --no-install-recommends -y \ /var/cache/apt/* \ /var/tmp/* -RUN bash -c 'mkdir -p /app/{incomplete,downloads} \ - && chmod -R 777 /app \ +RUN groupadd -g 1000 slskd && \ + useradd -u 1000 -g slskd -d /app -s /sbin/nologin slskd + +RUN bash -c 'mkdir -p /app/{incomplete,downloads} \ + && chown -R slskd:slskd /app \ && mkdir -p /.net \ - && chmod 777 /.net' + && chown slskd:slskd /.net' VOLUME /app @@ -64,7 +71,7 @@ ENV SHELL=/usr/bin/bash \ DOTNET_BUNDLE_EXTRACT_BASE_DIR=/.net \ DOTNET_gcServer=0 \ DOTNET_gcConcurrent=1 \ - DOTNET_GCHeapHardLimit=0x80000000 \ + DOTNET_GCHeapHardLimit=0x80000000 \ DOTNET_GCConserveMemory=9 \ SLSKD_UMASK=0022 \ SLSKD_HTTP_PORT=5030 \ @@ -91,7 +98,83 @@ LABEL org.opencontainers.image.title=slskd \ WORKDIR /slskd COPY --from=publish /slskd/dist/${TARGETPLATFORM} . -RUN echo "umask \$SLSKD_UMASK && ./slskd" > start.sh \ - && chmod +x start.sh - -ENTRYPOINT ["/usr/bin/tini", "--", "./start.sh"] +# supports two modes: +# 1. PUID/PGID (legacy linuxserver style) — container starts as root, +# mutates user, chowns /app if needed, drops privileges via gosu. +# 2. --user / user: (modern Docker) — container starts as non-root, +# skips all usermod/chown, execs the app directly. +COPY <<'ENTRYPOINT' /usr/local/bin/docker-entrypoint.sh +#!/bin/bash +set -e + +SLSKD_USER="slskd" +SLSKD_GROUP="slskd" +DEFAULT_PUID=1000 +DEFAULT_PGID=1000 + +# --user mode +if [ "$(id -u)" -ne 0 ]; then + umask "$SLSKD_UMASK" + exec "$@" +fi + +# PUID/PGID mode + +PUID="${PUID:-$DEFAULT_PUID}" +PGID="${PGID:-$DEFAULT_PGID}" + +echo " +─────────────────────────────────────── + slskd +─────────────────────────────────────── + PUID: ${PUID} + PGID: ${PGID} + UMASK: ${SLSKD_UMASK} +───────────────────────────────────────" + +if [ "${PUID}" = "0" ] || [ "${PGID}" = "0" ]; then + echo "[warn] Running as root (PUID=0 or PGID=0) is not recommended." +fi + +# Mutate group +current_gid=$(id -g "${SLSKD_USER}" 2>/dev/null || echo "") +if [ "${current_gid}" != "${PGID}" ]; then + groupmod -o -g "${PGID}" "${SLSKD_GROUP}" +fi + +# Mutate user — park homedir at /tmp first to prevent usermod from doing an +# implicit recursive chown of the home directory (linuxserver technique) +current_uid=$(id -u "${SLSKD_USER}" 2>/dev/null || echo "") +if [ "${current_uid}" != "${PUID}" ]; then + orig_home=$(getent passwd "${SLSKD_USER}" | cut -d: -f6) + usermod -d /tmp "${SLSKD_USER}" + usermod -o -u "${PUID}" "${SLSKD_USER}" + usermod -d "${orig_home}" "${SLSKD_USER}" +fi + +# Fix /app ownership, but only when PUID/PGID changed (binhex marker pattern). +# /app has only config, logs, and databases — always a small number of files. +# Shared volumes (/music, /downloads elsewhere, etc.) are never touched; the +# process runs as PUID:PGID so new files get correct ownership automatically. +prev_puid=$(cat /app/.slskd_puid 2>/dev/null || true) +prev_pgid=$(cat /app/.slskd_pgid 2>/dev/null || true) + +if [ "${prev_puid}" != "${PUID}" ] || [ "${prev_pgid}" != "${PGID}" ]; then + echo "[entrypoint] Applying ownership to /app (PUID:PGID = ${PUID}:${PGID})..." + chown -R "${PUID}:${PGID}" /app + echo "${PUID}" > /app/.slskd_puid + echo "${PGID}" > /app/.slskd_pgid + chown "${PUID}:${PGID}" /app/.slskd_puid /app/.slskd_pgid +fi + +# Ensure /.net is accessible (dotnet runtime extraction cache) +chown "${PUID}:${PGID}" /.net 2>/dev/null || true + +# Drop privileges and exec +umask "$SLSKD_UMASK" +exec gosu "${PUID}:${PGID}" "$@" +ENTRYPOINT +RUN chmod +x /usr/local/bin/docker-entrypoint.sh + +ENTRYPOINT ["/usr/bin/tini", "--", "/usr/local/bin/docker-entrypoint.sh"] +CMD ["./slskd"] \ No newline at end of file -- cgit v1.2.3 From 62fc77f48c34b27b41556062b9951a4fedf71301 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Thu, 9 Apr 2026 22:44:39 -0500 Subject: add directive to enable heredoc --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 499b0135..d4ca4bb6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,6 @@ +# syntax=docker/dockerfile:1 +# ^ enable heredoc for BuildKit + # build static web content # note: pin this to amd64 to speed it up, it is prohibitively slow under QEMU FROM --platform=$BUILDPLATFORM node:22-alpine AS web -- cgit v1.2.3 From 06b9b9d27ad378a59229bb31b4b94f2fc75c66db Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Thu, 9 Apr 2026 22:44:52 -0500 Subject: install gosu --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index d4ca4bb6..0beebcb0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -46,6 +46,7 @@ RUN apt-get update && apt-get install --no-install-recommends -y \ jq \ wget \ tini \ + gosu \ && \ rm -rf \ /tmp/* \ -- cgit v1.2.3 From b7d23af65b7c67128a17c72025a996050b70751f Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Thu, 9 Apr 2026 22:45:14 -0500 Subject: add slskd user/group --- Dockerfile | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0beebcb0..c28e15d2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -54,10 +54,16 @@ RUN apt-get update && apt-get install --no-install-recommends -y \ /var/cache/apt/* \ /var/tmp/* -RUN bash -c 'mkdir -p /app/{incomplete,downloads} \ - && chmod -R 777 /app \ +# remove the default 'ubuntu' user that occupies 1000:1000 +# and replace it with our own slskd user/group +RUN userdel -r ubuntu && \ + groupadd -g 1000 slskd && \ + useradd -u 1000 -g slskd -d /app -s /sbin/nologin slskd + +RUN bash -c 'mkdir -p /app/{incomplete,downloads} \ + && chown -R slskd:slskd /app \ && mkdir -p /.net \ - && chmod 777 /.net' + && chown slskd:slskd /.net' VOLUME /app -- cgit v1.2.3 From a278bdb398a4a54057c3454b292ff887e298c049 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Thu, 9 Apr 2026 22:45:34 -0500 Subject: add script --- Dockerfile | 85 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 80 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index c28e15d2..1f1cc149 100644 --- a/Dockerfile +++ b/Dockerfile @@ -74,7 +74,7 @@ ENV SHELL=/usr/bin/bash \ DOTNET_BUNDLE_EXTRACT_BASE_DIR=/.net \ DOTNET_gcServer=0 \ DOTNET_gcConcurrent=1 \ - DOTNET_GCHeapHardLimit=0x80000000 \ + DOTNET_GCHeapHardLimit=0x80000000 \ DOTNET_GCConserveMemory=9 \ SLSKD_UMASK=0022 \ SLSKD_HTTP_PORT=5030 \ @@ -101,7 +101,82 @@ LABEL org.opencontainers.image.title=slskd \ WORKDIR /slskd COPY --from=publish /slskd/dist/${TARGETPLATFORM} . -RUN echo "umask \$SLSKD_UMASK && ./slskd" > start.sh \ - && chmod +x start.sh - -ENTRYPOINT ["/usr/bin/tini", "--", "./start.sh"] +# supports two modes: +# 1. PUID/PGID (legacy linuxserver style) — container starts as root, +# mutates user, chowns /app if needed, drops privileges via gosu. +# 2. --user / user: (modern Docker) — container starts as non-root, +# skips all usermod/chown, execs the app directly. +COPY <<'SCRIPT' /entrypoint.sh + +#!/bin/bash +set -e + +# --user mode; user has provided a user via the command line or docker compose file +#--------------------------------------------------------------------------------------- +if [ "$(id -u)" -ne 0 ]; then + # if the user has also supplied PUID or PGID, let them know they need to use one or the other + if [ -n "${PUID}" ] || [ -n "${PGID}" ]; then + echo "ERROR: PUID/PGID are set but the container is running as a non-root user (using --user or user:)." + echo "Use one or the other, not both. Remove --user and set PUID/PGID, or remove PUID/PGID and use --user." + exit 1 + fi + + # exit if /app is not writable + if [ ! -r /app ] || [ ! -w /app ]; then + echo "ERROR: /app is not readable and/or writable by the current user ($(id -u):$(id -g))." + echo "When using --user, ensure the mounted directory is readable and writable by UID $(id -u)." + exit 1 + fi + + # set umask and launch + umask "$SLSKD_UMASK" + exec "$@" +fi + +# PUID/PGID mode; user has provided explicit user and group IDs to use +#--------------------------------------------------------------------------------------- +PUID="${PUID:-1000}" +PGID="${PGID:-1000}" + +if ! [[ "${PUID}" =~ ^[0-9]+$ ]]; then + echo "ERROR: PUID must be a non-negative integer, got '${PUID}'." + exit 1 +fi + +if ! [[ "${PGID}" =~ ^[0-9]+$ ]]; then + echo "ERROR: PGID must be a non-negative integer, got '${PGID}'." + exit 1 +fi + +# update group +current_gid=$(getent group slskd | cut -d: -f3) +echo "[entrypoint] current GID: ${current_gid}" +if [ "${current_gid}" != "${PGID}" ]; then + groupmod -o -g "${PGID}" slskd + usermod -g "${PGID}" slskd + echo "[entrypoint] new GID: ${PGID}" +fi + +# update user +current_uid=$(id -u slskd 2>/dev/null || echo "") +echo "[entrypoint] current UID: ${current_uid}" +if [ "${current_uid}" != "${PUID}" ]; then + usermod -o -u "${PUID}" slskd + echo "[entrypoint] new UID: ${PUID}" +fi + +# change owner of the directories we need to write +chown -R "${PUID}:${PGID}" /app +chown "${PUID}:${PGID}" /.net + +# set umask and launch +umask "$SLSKD_UMASK" +exec gosu "${PUID}:${PGID}" "$@" + +SCRIPT +# EOF + +RUN chmod +x /entrypoint.sh + +ENTRYPOINT ["/usr/bin/tini", "--", "/entrypoint.sh"] +CMD ["./slskd"] \ No newline at end of file -- cgit v1.2.3 From dda457fc6a24f2bc241623afe17057937a33b578 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Thu, 9 Apr 2026 22:52:52 -0500 Subject: remove straggling reference to integration test project --- slskd.sln | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/slskd.sln b/slskd.sln index ad15aaa3..e307c920 100644 --- a/slskd.sln +++ b/slskd.sln @@ -60,11 +60,7 @@ Global {2777623C-3DBE-4EB4-A092-DFEA7BD8EA3A}.Debug|Any CPU.Build.0 = Debug|Any CPU {2777623C-3DBE-4EB4-A092-DFEA7BD8EA3A}.Release|Any CPU.ActiveCfg = Release|Any CPU {2777623C-3DBE-4EB4-A092-DFEA7BD8EA3A}.Release|Any CPU.Build.0 = Release|Any CPU - {6BF0549C-F88D-43F9-85EE-388BA5FC38D0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {6BF0549C-F88D-43F9-85EE-388BA5FC38D0}.Debug|Any CPU.Build.0 = Debug|Any CPU - {6BF0549C-F88D-43F9-85EE-388BA5FC38D0}.Release|Any CPU.ActiveCfg = Release|Any CPU - {6BF0549C-F88D-43F9-85EE-388BA5FC38D0}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection +EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection @@ -72,7 +68,6 @@ Global {E9EA3F80-07F4-4BEF-A233-5D87EF7D9ABC} = {5478DBA0-A595-4273-9F9D-3D5E11A8ECE8} {ED2A1CCD-9C47-4AB5-AF00-84EF507E2402} = {6186A99C-FE43-4C97-8A6A-F27432F44282} {2777623C-3DBE-4EB4-A092-DFEA7BD8EA3A} = {137724E1-1613-4EFC-BD67-399A620AEABF} - {6BF0549C-F88D-43F9-85EE-388BA5FC38D0} = {137724E1-1613-4EFC-BD67-399A620AEABF} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {A793ED59-76F4-4874-846B-2A199C92A48E} -- cgit v1.2.3 From aa7a261d263a53b81cb0529264ab911fce986953 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 10 Apr 2026 05:55:23 +0000 Subject: Bump axios from 1.13.5 to 1.15.0 in /src/web Bumps [axios](https://github.com/axios/axios) from 1.13.5 to 1.15.0. - [Release notes](https://github.com/axios/axios/releases) - [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md) - [Commits](https://github.com/axios/axios/compare/v1.13.5...v1.15.0) --- updated-dependencies: - dependency-name: axios dependency-version: 1.15.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- src/web/package-lock.json | 21 ++++++++++++--------- src/web/package.json | 2 +- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/src/web/package-lock.json b/src/web/package-lock.json index db86d87b..f309d9af 100644 --- a/src/web/package-lock.json +++ b/src/web/package-lock.json @@ -13,7 +13,7 @@ "@codemirror/legacy-modes": "^6.0.0", "@microsoft/signalr": "^7.0.7", "@uiw/react-codemirror": "^4.2.4", - "axios": "^1.13.5", + "axios": "^1.15.0", "lz-string": "^1.4.4", "react": "^16.8.6", "react-dom": "^16.8.6", @@ -5984,14 +5984,14 @@ } }, "node_modules/axios": { - "version": "1.13.5", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.13.5.tgz", - "integrity": "sha512-cz4ur7Vb0xS4/KUN0tPWe44eqxrIu31me+fbang3ijiNscE129POzipJJA6zniq2C/Z6sJCjMimjS8Lc/GAs8Q==", + "version": "1.15.0", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.15.0.tgz", + "integrity": "sha512-wWyJDlAatxk30ZJer+GeCWS209sA42X+N5jU2jy6oHTp7ufw8uzUTVFBX9+wTfAlhiJXGS0Bq7X6efruWjuK9Q==", "license": "MIT", "dependencies": { "follow-redirects": "^1.15.11", "form-data": "^4.0.5", - "proxy-from-env": "^1.1.0" + "proxy-from-env": "^2.1.0" } }, "node_modules/axios/node_modules/form-data": { @@ -17233,10 +17233,13 @@ } }, "node_modules/proxy-from-env": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", - "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==", - "license": "MIT" + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-2.1.0.tgz", + "integrity": "sha512-cJ+oHTW1VAEa8cJslgmUZrc+sjRKgAKl3Zyse6+PV38hZe/V6Z14TbCuXcan9F9ghlz4QrFr2c92TNF82UkYHA==", + "license": "MIT", + "engines": { + "node": ">=10" + } }, "node_modules/prr": { "version": "1.0.1", diff --git a/src/web/package.json b/src/web/package.json index 0988ce49..00491c52 100644 --- a/src/web/package.json +++ b/src/web/package.json @@ -18,7 +18,7 @@ "@codemirror/legacy-modes": "^6.0.0", "@microsoft/signalr": "^7.0.7", "@uiw/react-codemirror": "^4.2.4", - "axios": "^1.13.5", + "axios": "^1.15.0", "lz-string": "^1.4.4", "react": "^16.8.6", "react-dom": "^16.8.6", -- cgit v1.2.3 From 570e54543efd87291c8472d4ee52b5ec86a81cc2 Mon Sep 17 00:00:00 2001 From: Kir Belevich Date: Sat, 11 Apr 2026 12:06:47 +0300 Subject: fix favicon.ico relative path In case slskd is hosted not under `/` base URL but rather something like `/slskd`. By default it's trying to fetch `/favicon.ico` which is not there. --- src/web/public/index.html | 1 + 1 file changed, 1 insertion(+) diff --git a/src/web/public/index.html b/src/web/public/index.html index e452c8c8..0dc0ce96 100644 --- a/src/web/public/index.html +++ b/src/web/public/index.html @@ -4,6 +4,7 @@ slskd + -- cgit v1.2.3 From 4416629873ef5d01ec56e5c41794221041907f53 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sat, 11 Apr 2026 11:56:59 -0500 Subject: remove logs --- Dockerfile | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 93a7eb5e..47718043 100644 --- a/Dockerfile +++ b/Dockerfile @@ -149,19 +149,15 @@ fi # update group current_gid=$(getent group slskd | cut -d: -f3) -echo "[entrypoint] current GID: ${current_gid}" if [ "${current_gid}" != "${PGID}" ]; then groupmod -o -g "${PGID}" slskd usermod -g "${PGID}" slskd - echo "[entrypoint] new GID: ${PGID}" fi # update user current_uid=$(id -u slskd 2>/dev/null || echo "") -echo "[entrypoint] current UID: ${current_uid}" if [ "${current_uid}" != "${PUID}" ]; then usermod -o -u "${PUID}" slskd - echo "[entrypoint] new UID: ${PUID}" fi # change owner of the directories we need to write -- cgit v1.2.3 From 414271baf4f67aad21c2e12155f7675de0e60373 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sat, 11 Apr 2026 11:57:19 -0500 Subject: remove chown of .net --- Dockerfile | 1 - 1 file changed, 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 47718043..d9fa4245 100644 --- a/Dockerfile +++ b/Dockerfile @@ -162,7 +162,6 @@ fi # change owner of the directories we need to write chown -R "${PUID}:${PGID}" /app -chown "${PUID}:${PGID}" /.net # set umask and launch umask "$SLSKD_UMASK" -- cgit v1.2.3 From 31400b1ea7dda478ad5f03fc6eea67ad50e0214a Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sat, 11 Apr 2026 11:57:31 -0500 Subject: tweak docs --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index d9fa4245..351df9b0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -102,10 +102,10 @@ WORKDIR /slskd COPY --from=publish /slskd/dist/${TARGETPLATFORM} . # supports two modes: -# 1. PUID/PGID (legacy linuxserver style) — container starts as root, -# mutates user, chowns /app if needed, drops privileges via gosu. -# 2. --user / user: (modern Docker) — container starts as non-root, +# 1. --user / user: (modern Docker) — container starts as non-root, # skips all usermod/chown, execs the app directly. +# 2. PUID/PGID (legacy linuxserver style) — container starts as root, +# mutates user, chowns /app if needed, drops privileges via gosu. COPY <<'SCRIPT' /entrypoint.sh #!/bin/bash set -e -- cgit v1.2.3 From 1010244984ec3f3764add2b6bc07297f9b0ea5d1 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sat, 11 Apr 2026 11:57:43 -0500 Subject: typo --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 351df9b0..30036221 100644 --- a/Dockerfile +++ b/Dockerfile @@ -83,7 +83,7 @@ ENV SHELL=/usr/bin/bash \ SLSKD_APP_DIR=/app \ SLSKD_DOCKER_TAG=$TAG \ SLSKD_DOCKER_VERSION=$VERSION \ - SLSKD_DOCKER_REVISON=$REVISION \ + SLSKD_DOCKER_REVISION=$REVISION \ SLSKD_DOCKER_BUILD_DATE=$BUILD_DATE LABEL org.opencontainers.image.title=slskd \ -- cgit v1.2.3 From 263e54f0fa65179a035d438fce49e6f7d9d74bda Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sat, 11 Apr 2026 11:58:20 -0500 Subject: try extracting the .NET bundle during the build and then making the .net directory read-only --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 30036221..720b8c65 100644 --- a/Dockerfile +++ b/Dockerfile @@ -61,9 +61,7 @@ RUN userdel -r ubuntu && \ useradd -u 1000 -g slskd -d /app -s /sbin/nologin slskd RUN bash -c 'mkdir -p /app/{incomplete,downloads} \ - && chown -R slskd:slskd /app \ - && mkdir -p /.net \ - && chown slskd:slskd /.net' + && chown -R slskd:slskd /app' VOLUME /app @@ -101,6 +99,8 @@ LABEL org.opencontainers.image.title=slskd \ WORKDIR /slskd COPY --from=publish /slskd/dist/${TARGETPLATFORM} . +RUN ./slskd --version && chmod -R a-w /.net + # supports two modes: # 1. --user / user: (modern Docker) — container starts as non-root, # skips all usermod/chown, execs the app directly. -- cgit v1.2.3 From cda4ba06dd49388b61d8d7cd5fcb9158fbd4c88b Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sat, 11 Apr 2026 12:08:10 -0500 Subject: revert pre-extraction and lockdown of .net --- Dockerfile | 48 +++++++++++++++++++++++------------------------- 1 file changed, 23 insertions(+), 25 deletions(-) diff --git a/Dockerfile b/Dockerfile index 720b8c65..c1675229 100644 --- a/Dockerfile +++ b/Dockerfile @@ -54,14 +54,13 @@ RUN apt-get update && apt-get install --no-install-recommends -y \ /var/cache/apt/* \ /var/tmp/* -# remove the default 'ubuntu' user that occupies 1000:1000 -# and replace it with our own slskd user/group -RUN userdel -r ubuntu && \ - groupadd -g 1000 slskd && \ - useradd -u 1000 -g slskd -d /app -s /sbin/nologin slskd +RUN groupadd -o -g 1000 slskd && \ + useradd -o -u 1000 -g slskd slskd -RUN bash -c 'mkdir -p /app/{incomplete,downloads} \ - && chown -R slskd:slskd /app' +RUN bash -c 'mkdir -p /app \ + && chown -R slskd:slskd /app \ + && mkdir -p /.net \ + && chmod 777 /.net' VOLUME /app @@ -99,8 +98,6 @@ LABEL org.opencontainers.image.title=slskd \ WORKDIR /slskd COPY --from=publish /slskd/dist/${TARGETPLATFORM} . -RUN ./slskd --version && chmod -R a-w /.net - # supports two modes: # 1. --user / user: (modern Docker) — container starts as non-root, # skips all usermod/chown, execs the app directly. @@ -116,18 +113,18 @@ if [ "$(id -u)" -ne 0 ]; then # if the user has also supplied PUID or PGID, let them know they need to use one or the other if [ -n "${PUID}" ] || [ -n "${PGID}" ]; then echo "ERROR: PUID/PGID are set but the container is running as a non-root user (using --user or user:)." - echo "Use one or the other, not both. Remove --user and set PUID/PGID, or remove PUID/PGID and use --user." + echo "Use one or the other, not both. Either remove --user and set PUID/PGID, or remove PUID/PGID and use --user." exit 1 fi - # exit if /app is not writable + # exit if /app is not writable; we can't fix this because we lack permissions if [ ! -r /app ] || [ ! -w /app ]; then - echo "ERROR: /app is not readable and/or writable by the current user ($(id -u):$(id -g))." - echo "When using --user, ensure the mounted directory is readable and writable by UID $(id -u)." + echo "ERROR: /app is not readable and/or writable by the current user ($(id -u):$(id -g)); currently owned by owned by $(stat -c '%U:%G (%u:%g)' /app)." + echo "To fix: chown -R $(id -u):$(id -g) /path/to/your/mounted/app/directory" exit 1 fi - # set umask and launch + # should be good to go; set umask and launch umask "$SLSKD_UMASK" exec "$@" fi @@ -147,21 +144,22 @@ if ! [[ "${PGID}" =~ ^[0-9]+$ ]]; then exit 1 fi -# update group -current_gid=$(getent group slskd | cut -d: -f3) -if [ "${current_gid}" != "${PGID}" ]; then - groupmod -o -g "${PGID}" slskd - usermod -g "${PGID}" slskd +# update group if needed +if [ "$(getent group slskd | cut -d: -f3)" != "$PGID" ]; then + groupmod -o -g "$PGID" slskd fi -# update user -current_uid=$(id -u slskd 2>/dev/null || echo "") -if [ "${current_uid}" != "${PUID}" ]; then - usermod -o -u "${PUID}" slskd +# update user if needed +if [ "$(id -u slskd)" != "$PUID" ] || [ "$(id -g slskd)" != "$PGID" ]; then + usermod -o -u "$PUID" -g "$PGID" slskd fi -# change owner of the directories we need to write -chown -R "${PUID}:${PGID}" /app +# change owner of the the /app directory if it isn't correct +# we're not checking anything other than the root, and we're not recursively +# applying the changes, which might be dangerous/unwanted and/or take forever +if [ "$(stat -c '%u:%g' /app)" != "${PUID}:${PGID}" ]; then + chown "${PUID}:${PGID}" /app +fi # set umask and launch umask "$SLSKD_UMASK" -- cgit v1.2.3 From bfc09fecdd2bf552817b7fe83a2f64becc3ea1fd Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sat, 11 Apr 2026 23:25:40 -0500 Subject: add errors for deprecated keys --- src/slskd/Core/Options.cs | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/src/slskd/Core/Options.cs b/src/slskd/Core/Options.cs index a94fdadb..7b38143e 100644 --- a/src/slskd/Core/Options.cs +++ b/src/slskd/Core/Options.cs @@ -253,6 +253,12 @@ namespace slskd [Validate] public SharesOptions Shares { get; init; } = new SharesOptions(); + [Obsolete("temporary sentinel to warn users about breaking change. use Transfers instead.")] + public object Global { get; init; } = null; + + [Obsolete("temporary sentinel to warn users about breaking change. use Transfers instead.")] + public object Groups { get; init; } = null; + /// /// Gets transfer options. /// @@ -324,6 +330,9 @@ namespace slskd [Validate] public SoulseekOptions Soulseek { get; init; } = new SoulseekOptions(); + [Obsolete("temporary sentinel to warn users about breaking change. use Integrations instead.")] + public object Integration { get; init; } = null; + /// /// Gets options for external integrations. /// @@ -344,6 +353,18 @@ namespace slskd results.Add(new ValidationResult($"Instance name must be something other than '{Program.LocalHostName}' when operating in Relay Agent mode")); } +#pragma warning disable CS0618 // Type or member is obsolete + if (Groups is not null || Global is not null) + { + results.Add(new ValidationResult("The 'global' and 'groups' keys have been moved under a new 'transfers' key. See https://github.com/slskd/slskd/pull/1672 for details, and make the necessary changes to remove this error")); + } + + if (Integration is not null) + { + results.Add(new ValidationResult("The 'integration' key has been renamed to 'integrations'. Add an 's' to the end of the key to remove this error (no other changes were made)")); + } +#pragma warning restore CS0618 // Type or member is obsolete + return results; } -- cgit v1.2.3 From 7033851e42d1412c34c4022f6a8dd1632c64586e Mon Sep 17 00:00:00 2001 From: ofernander Date: Sun, 12 Apr 2026 18:40:01 -0700 Subject: feat: add username reg pattern matching to blacklist group Adds a field to that accepts a list of regular expressions matched against usernames. --- config/slskd.example.yml | 2 ++ docs/config.md | 4 ++++ src/slskd/Core/Options.cs | 16 ++++++++++++++++ src/slskd/Users/UserService.cs | 17 +++++++++++++++++ 4 files changed, 39 insertions(+) diff --git a/config/slskd.example.yml b/config/slskd.example.yml index 72aadaed..ee72a2e0 100644 --- a/config/slskd.example.yml +++ b/config/slskd.example.yml @@ -112,6 +112,8 @@ # blacklisted: # members: # - +# patterns: +# - # cidrs: # - # user_defined: diff --git a/docs/config.md b/docs/config.md index 6ba449f0..1b77a674 100644 --- a/docs/config.md +++ b/docs/config.md @@ -489,6 +489,8 @@ Private and chat room messages from blacklisted users are also ignored. Users can be blacklisted by adding their username to the `members` list. Additionally, users can be blacklisted by IP address, or range of addresses by adding a CIDR entry to the `cidrs` list. +The `patterns` list accepts regular expressions matched against usernames. Any username matching one or more patterns will be blacklisted. This is useful for blocking bots or automated clients that share a common username prefix or suffix — for example, `^user` would block any username starting with `user`, and `_bot$` would block any username ending with `_bot`. Patterns follow the same case sensitivity rules as other user-defined regular expressions in the application — case insensitive by default, controlled by the `flags.case_sensitive_regex` option. + Users added to the blacklist will be blocked from enqueueing any new files. Any existing active or queued transfers will need to be cancelled manually. A managed blacklist file may also be used to achieve the same effects. Read more about this in the [Managed Blacklist](#managed-blacklist) section below. @@ -499,6 +501,8 @@ groups: blacklisted: members: - + patterns: + - cidrs: - ``` diff --git a/src/slskd/Core/Options.cs b/src/slskd/Core/Options.cs index 7b38143e..dda1b7b5 100644 --- a/src/slskd/Core/Options.cs +++ b/src/slskd/Core/Options.cs @@ -1149,6 +1149,14 @@ namespace slskd /// public string[] Members { get; init; } = Array.Empty(); + /// + /// Gets the list of regular expression patterns matched against usernames. + /// Any username matching one or more patterns will be blacklisted. + /// Follows the same case sensitivity rules as other user-defined regular expressions + /// (case insensitive by default; controlled by the flags.case_sensitive_regex option). + /// + public string[] Patterns { get; init; } = Array.Empty(); + /// /// Gets the list of group CIDRs. /// @@ -1163,6 +1171,14 @@ namespace slskd { var results = new List(); + foreach (var pattern in Patterns ?? Array.Empty()) + { + if (!pattern.IsValidRegex()) + { + results.Add(new ValidationResult($"Blacklist username pattern '{pattern}' is not a valid regular expression")); + } + } + foreach (var cidr in Cidrs ?? Array.Empty()) { try diff --git a/src/slskd/Users/UserService.cs b/src/slskd/Users/UserService.cs index d8b24f4d..31c1e540 100644 --- a/src/slskd/Users/UserService.cs +++ b/src/slskd/Users/UserService.cs @@ -38,6 +38,7 @@ namespace slskd.Users using System.Collections.Generic; using System.Linq; using System.Net; + using System.Text.RegularExpressions; using System.Threading.Tasks; using NetTools; using Serilog; @@ -291,6 +292,8 @@ namespace slskd.Users /// A value indicating whether the specified user and/or IP are blacklisted. public bool IsBlacklisted(string username, IPAddress ipAddress = null) { + if (username is null) return false; + var blacklist = OptionsMonitor.CurrentValue.Transfers.Groups.Blacklisted; if (blacklist.Members.Contains(username)) @@ -298,6 +301,20 @@ namespace slskd.Users return true; } + // check username patterns (regex). respects the same case sensitivity flag used by other + // user-defined regular expressions throughout the application. + if (blacklist.Patterns.Length > 0) + { + var regexOptions = OptionsMonitor.CurrentValue.Flags.CaseSensitiveRegEx + ? RegexOptions.None + : RegexOptions.IgnoreCase; + + if (blacklist.Patterns.Any(p => Regex.IsMatch(username, p, regexOptions))) + { + return true; + } + } + // check the user-curated list of blacklisted CIDRs that exists along with the list of // blacklisted usernames. these CIDRs should be one-offs and would not be expected to appear in a // blacklist supplied by a third party (but might?) -- cgit v1.2.3 From 95e85cacce4f189e2bc894f81ff53a267e338381 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sat, 18 Apr 2026 09:14:54 -0500 Subject: Update authors and vendor labels in Dockerfile --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index c1675229..6fbff9cc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -85,8 +85,8 @@ ENV SHELL=/usr/bin/bash \ LABEL org.opencontainers.image.title=slskd \ org.opencontainers.image.description="A modern client-server application for the Soulseek file sharing network" \ - org.opencontainers.image.authors="slskd Team" \ - org.opencontainers.image.vendor="slskd Team" \ + org.opencontainers.image.authors="JP Dillingham, slskd Contributors" \ + org.opencontainers.image.vendor="slskd Project" \ org.opencontainers.image.licenses=AGPL-3.0 \ org.opencontainers.image.url=https://slskd.org \ org.opencontainers.image.source=https://github.com/slskd/slskd \ @@ -171,4 +171,4 @@ SCRIPT RUN chmod +x /entrypoint.sh ENTRYPOINT ["/usr/bin/tini", "--", "/entrypoint.sh"] -CMD ["./slskd"] \ No newline at end of file +CMD ["./slskd"] -- cgit v1.2.3 From 2c6fd16895ae29fb3803ff72b59ae8e3d6504db4 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sat, 18 Apr 2026 22:35:07 -0500 Subject: update docs to reflect config changes --- docs/config.md | 134 +++++++++++++++++++++++++++++---------------------------- 1 file changed, 68 insertions(+), 66 deletions(-) diff --git a/docs/config.md b/docs/config.md index 6ba449f0..aac89f9a 100644 --- a/docs/config.md +++ b/docs/config.md @@ -349,7 +349,7 @@ A change to slot limits requires an application restart to take effect, while sp #### **YAML** ```yaml -global: +transfers: upload: slots: 20 speed_limit: 1000 # kibibytes @@ -372,19 +372,20 @@ Note that while it's possible to set the `failures` option for `queued`, it has #### **YAML** ```yaml -global: - limits: - queued: - files: 500 - megabytes: 5000 - daily: - files: 1000 - megabytes: 10000 - failures: 200 - weekly: - files: 5000 - megabytes: 50000 - failures: 1000 +transfers: + upload: + limits: + queued: + files: 500 + megabytes: 5000 + daily: + files: 1000 + megabytes: 10000 + failures: 200 + weekly: + files: 5000 + megabytes: 50000 + failures: 1000 ``` ## Groups @@ -408,18 +409,18 @@ upload: strategy: roundrobin # roundrobin or firstinfirstout slots: 10 # 1 to 2147483647 speed_limit: 100 # in KiB/s, 1 to 2147483647 -limits: - queued: - files: 500 # 1 to 2147483647 - megabytes: 5000 # 1 to 2147483647 - daily: - files: 1000 - megabytes: 10000 - failures: 200 # 1 to 2147483647 - weekly: - files: 5000 - megabytes: 50000 - failures: 1000 + limits: + queued: + files: 500 # 1 to 2147483647 + megabytes: 5000 # 1 to 2147483647 + daily: + files: 1000 + megabytes: 10000 + failures: 200 # 1 to 2147483647 + weekly: + files: 5000 + megabytes: 50000 + failures: 1000 ``` ## Built-In Groups @@ -434,45 +435,46 @@ It is impossible to explicitly assign users to these built-in groups, but the pr #### **YAML** ```yaml -groups: - default: - upload: - priority: 1 - strategy: roundrobin - slots: 10 - speed_limit: 50000 # kibibytes - limits: - queued: - files: 150 - megabytes: 1500 - daily: - files: 2147483647 # effectively unlimited, weekly still applies - megabytes: 2147483647 - weekly: - files: 1500 - megabytes: 15000 - failures: 150 - leechers: - thresholds: - files: 1 - directories: 1 - upload: - priority: 99 - strategy: roundrobin - slots: 1 - speed_limit: 100 - limits: - queued: - files: 15 - megabytes: 150 - daily: - files: 30 - megabytes: 300 - failures: 10 - weekly: - files: 150 - megabytes: 1500 - failures: 30 +transfers: + groups: + default: + upload: + priority: 1 + strategy: roundrobin + slots: 10 + speed_limit: 50000 # kibibytes + limits: + queued: + files: 150 + megabytes: 1500 + daily: + files: 2147483647 # effectively unlimited, weekly still applies + megabytes: 2147483647 + weekly: + files: 1500 + megabytes: 15000 + failures: 150 + leechers: + thresholds: + files: 1 + directories: 1 + upload: + priority: 99 + strategy: roundrobin + slots: 1 + speed_limit: 100 + limits: + queued: + files: 15 + megabytes: 150 + daily: + files: 30 + megabytes: 300 + failures: 10 + weekly: + files: 150 + megabytes: 1500 + failures: 30 ``` ## User Blacklist @@ -1093,7 +1095,7 @@ If unconfigured, the default timeout for requests is 5 seconds, and each request #### **YAML** ```yaml -integration: +integrations: webhooks: my_basic_webhook_using_defaults: on: -- cgit v1.2.3 From e8531a74553e6413101942e945c0934c2b32dbc3 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sat, 18 Apr 2026 23:13:39 -0500 Subject: update quick start with user details --- README.md | 43 +++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 41 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e23bea3f..95a4f1ee 100644 --- a/README.md +++ b/README.md @@ -45,6 +45,8 @@ New features are added all the time! ### With Docker +Choose Docker's built-in method of specifying a user for the container: + ```shell docker run -d \ -p 5030:5030 \ @@ -53,14 +55,49 @@ docker run -d \ -e SLSKD_REMOTE_CONFIGURATION=true \ -v :/app \ --name slskd \ + --user 1000:1000 \ + slskd/slskd:latest +``` + +Or use the Linuxserver/*arr `PUID`/`PGID` method: + +```shell +docker run -d \ + -p 5030:5030 \ + -p 5031:5031 \ + -p 50300:50300 \ + -e PUID=1000 \ + -e PGID=1000 \ + -e SLSKD_REMOTE_CONFIGURATION=true \ + -v :/app \ + --name slskd \ slskd/slskd:latest ``` ### With Docker-Compose +Choose Docker's built-in method of specifying a user for the container: + +```yaml +services: + slskd: + image: slskd/slskd + container_name: slskd + user: "1000:1000" + ports: + - "5030:5030" + - "5031:5031" + - "50300:50300" + environment: + - SLSKD_REMOTE_CONFIGURATION=true + volumes: + - :/app + restart: always ``` ---- -version: "2" + +Or use the Linuxserver/*arr `PUID`/`PGID` method: + +```yaml services: slskd: image: slskd/slskd @@ -70,6 +107,8 @@ services: - "5031:5031" - "50300:50300" environment: + - PUID=1000 + - PGID=1000 - SLSKD_REMOTE_CONFIGURATION=true volumes: - :/app -- cgit v1.2.3 From 67ba25c65bbe54d2d23701e95eef2d2bf1a87d75 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sat, 18 Apr 2026 23:42:16 -0500 Subject: update docker --- docs/docker.md | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/docs/docker.md b/docs/docker.md index 0d105927..b5fc00ea 100644 --- a/docs/docker.md +++ b/docs/docker.md @@ -7,20 +7,28 @@ Next, you'll need to make a few choices: * The HTTP and/or HTTPS ports for the slskd web UI (defaults 5030 and 5031) * The port for incoming connections from the Soulseek network (default 50300) * The directory for the slskd application data +* How you'll specify the user the container will run as (important for downloaded file permissions!) + +Two methods for specifying a user: +* Docker's built-in functionality; specify `--user` or `-u` in your `docker run` command, or add the `user:` key to your docker compose file +* The Linuxserver/*arr `PUID`/`PGID` method of passing user and group ID values in environment variables + +Docker's built-in functionality is objectively superior; the container starts and runs as the user you specify, it never has root privileges. The `PUID`/`PGID` method starts the container as root, updates the built-in `slskd` user's user and group IDs to match the values you provided, and changes the owner of your mounted app directory to that user. For most users, a quick start will be all that is needed: ```shell docker run -d \ - -p :5030 \ - -p :5031 \ - -p :50300 \ + -p 5030:5030 \ + -p 5031:5031 \ + -p 50300:50300 \ + -e SLSKD_REMOTE_CONFIGURATION=true \ -v :/app \ --name slskd \ slskd/slskd:latest ``` -This configuration, however, doesn't include any shared directories. +This configuration, however, doesn't include any shared directories, and any files that are downloaded will be owned by root. First, you need to map each share to the container as a volume. Then each local directory within the container needs to be added to the configuration. You may also need to specify the user and group ID that should run the container and own files created by slskd. The default is `root:root`, but Docker will accept any numeric values in the `UID:GID` format, such as `1000:1000` in this example. -- cgit v1.2.3 From 15827da31ff1d6c1f236bb961af3dbcc3f3c2014 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sun, 19 Apr 2026 00:27:04 -0500 Subject: Specify current maintainer in contribution agreement --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 66544b23..3ba5d450 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -8,7 +8,7 @@ By submitting a contribution to this project, you agree to the following: * You have the legal right to make this contribution and to assign its copyright. * You irrevocably assign all copyright and related rights in your contribution to the project maintainer(s). -* You grant the project maintainer(s) the right to use, modify, distribute, and relicense your contribution under any license of their choosing. +* You grant the project maintainer(s) (presently JP Dillingham) the right to use, modify, distribute, and relicense your contribution under any license of their choosing. This application is currently released under the [AGPL 3.0](https://github.com/slskd/slskd/blob/master/LICENSE) license. -- cgit v1.2.3 From 6c11f81845a1f1e3c935f90dcf10f281a12c5e2e Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sun, 19 Apr 2026 10:51:23 -0500 Subject: add case for legacy docker behavior --- Dockerfile | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6fbff9cc..94b3d4b5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -98,11 +98,10 @@ LABEL org.opencontainers.image.title=slskd \ WORKDIR /slskd COPY --from=publish /slskd/dist/${TARGETPLATFORM} . -# supports two modes: -# 1. --user / user: (modern Docker) — container starts as non-root, -# skips all usermod/chown, execs the app directly. -# 2. PUID/PGID (legacy linuxserver style) — container starts as root, -# mutates user, chowns /app if needed, drops privileges via gosu. +# supports three modes: +# 1. --user / user: (modern Docker) — container starts as non-root, skips all usermod/chown, execs the app directly. +# 2. PUID/PGID (legacy linuxserver style) — container starts as root, mutates user, chowns /app if needed, drops privileges via gosu. +# 3. neither --user nor at least one of PUID/PGID supplied - container and app run as root COPY <<'SCRIPT' /entrypoint.sh #!/bin/bash set -e @@ -129,6 +128,13 @@ if [ "$(id -u)" -ne 0 ]; then exec "$@" fi +# no --user supplied, neither PUID nor PGID supplied, run as root (same behavior as < 0.25.0) +#--------------------------------------------------------------------------------------- +if [ -z "${PUID}" ] && [ -z "${PGID}" ]; then + umask "$SLSKD_UMASK" + exec "$@" +fi + # PUID/PGID mode; user has provided explicit user and group IDs to use #--------------------------------------------------------------------------------------- PUID="${PUID:-1000}" -- cgit v1.2.3 From 19d8070d6ce046f8dd3aecd34b30077fbfe6c29d Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sun, 19 Apr 2026 18:41:14 -0500 Subject: handle nulls in DiffWith --- src/slskd/Common/CommonExtensions.cs | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/src/slskd/Common/CommonExtensions.cs b/src/slskd/Common/CommonExtensions.cs index 88e6d3c8..1cdf9854 100644 --- a/src/slskd/Common/CommonExtensions.cs +++ b/src/slskd/Common/CommonExtensions.cs @@ -116,6 +116,16 @@ namespace slskd throw new InvalidCastException($"Unable to diff types {left?.GetType()} and {right?.GetType()}"); } + if (left is null || right is null) + { + if (left is null == right is null) + { + return []; + } + + return [(null, parentFqn ?? string.Empty, left, right)]; + } + var differences = new List<(PropertyInfo Property, string FQN, object Left, object Right)>(); foreach (var prop in left?.GetType().GetProperties()) @@ -125,6 +135,16 @@ namespace slskd var propType = prop.PropertyType; var fqn = string.IsNullOrEmpty(parentFqn) ? prop.Name : string.Join(".", parentFqn, prop.Name); + if (leftVal is null || rightVal is null) + { + if (leftVal is null == rightVal is null) + { + continue; + } + + differences.Add((prop, fqn, leftVal, rightVal)); + } + if (propType.IsArray || (propType.IsGenericType && propType.GetGenericTypeDefinition() == typeof(Dictionary<,>))) { if (leftVal.ToJson() != rightVal.ToJson()) -- cgit v1.2.3 From 8ef80b442688288a40fb8c8fa8392249dc6ebb10 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sun, 19 Apr 2026 18:50:04 -0500 Subject: support null propertyinfo --- src/slskd/Application.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slskd/Application.cs b/src/slskd/Application.cs index a8a7883a..86dd9dd1 100644 --- a/src/slskd/Application.cs +++ b/src/slskd/Application.cs @@ -1452,7 +1452,7 @@ namespace slskd foreach (var (property, fqn, left, right) in diff) { - static bool HasAttribute(PropertyInfo property) => property.CustomAttributes.Any(a => a.AttributeType == typeof(T)); + static bool HasAttribute(PropertyInfo property) => property?.CustomAttributes.Any(a => a.AttributeType == typeof(T)) ?? false; var requiresRestart = HasAttribute(property); var requiresReconnect = HasAttribute(property); -- cgit v1.2.3 From d415e5ca568f55cf9c45e84b05892219f9e1465a Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sun, 19 Apr 2026 18:50:28 -0500 Subject: check for nulls first --- src/slskd/Common/CommonExtensions.cs | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/slskd/Common/CommonExtensions.cs b/src/slskd/Common/CommonExtensions.cs index 1cdf9854..77db91ef 100644 --- a/src/slskd/Common/CommonExtensions.cs +++ b/src/slskd/Common/CommonExtensions.cs @@ -111,11 +111,6 @@ namespace slskd /// A list of differences between the two objects. public static IEnumerable<(PropertyInfo Property, string FQN, object Left, object Right)> DiffWith(this object left, object right, string parentFqn = null) { - if (left?.GetType() != right?.GetType()) - { - throw new InvalidCastException($"Unable to diff types {left?.GetType()} and {right?.GetType()}"); - } - if (left is null || right is null) { if (left is null == right is null) @@ -126,9 +121,14 @@ namespace slskd return [(null, parentFqn ?? string.Empty, left, right)]; } + if (left.GetType() != right.GetType()) + { + throw new InvalidCastException($"Unable to diff types {left.GetType()} and {right.GetType()}"); + } + var differences = new List<(PropertyInfo Property, string FQN, object Left, object Right)>(); - foreach (var prop in left?.GetType().GetProperties()) + foreach (var prop in left.GetType().GetProperties()) { var leftVal = prop.GetValue(left); var rightVal = prop.GetValue(right); @@ -143,6 +143,7 @@ namespace slskd } differences.Add((prop, fqn, leftVal, rightVal)); + continue; } if (propType.IsArray || (propType.IsGenericType && propType.GetGenericTypeDefinition() == typeof(Dictionary<,>))) -- cgit v1.2.3 From 1003a677bea3925bdff9e5489b84729d71415b3d Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sun, 19 Apr 2026 18:54:26 -0500 Subject: add tests for DiffWith --- .../Common/CommonExtensionsTests.cs | 523 +++++++++++++++++++++ 1 file changed, 523 insertions(+) create mode 100644 tests/slskd.Tests.Unit/Common/CommonExtensionsTests.cs diff --git a/tests/slskd.Tests.Unit/Common/CommonExtensionsTests.cs b/tests/slskd.Tests.Unit/Common/CommonExtensionsTests.cs new file mode 100644 index 00000000..d22a3bbe --- /dev/null +++ b/tests/slskd.Tests.Unit/Common/CommonExtensionsTests.cs @@ -0,0 +1,523 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using Xunit; + +namespace slskd.Tests.Unit.Common; + +public class CommonExtensionsTests +{ + private class Simple + { + public int IntProp { get; set; } + public string StringProp { get; set; } + public bool BoolProp { get; set; } + public decimal DecimalProp { get; set; } + } + + private class WithNullable + { + public int? NullableInt { get; set; } + public string StringProp { get; set; } + } + + private class WithEnum + { + public DayOfWeek EnumProp { get; set; } + } + + private class WithArray + { + public int[] ArrayProp { get; set; } + } + + private class WithDictionary + { + public Dictionary DictProp { get; set; } + } + + private class Nested + { + public string Name { get; set; } + public Simple Inner { get; set; } + } + + public class DiffWith_NullHandling + { + [Fact] + public void Both_Null_Returns_Empty() + { + object left = null; + object right = null; + + var result = left.DiffWith(right); + + Assert.Empty(result); + } + + [Fact] + public void Left_Null_Right_NonNull_Returns_Difference() + { + object left = null; + object right = new Simple(); + + var result = left.DiffWith(right); + + var (_, _, leftVal, rightVal) = Assert.Single(result); + Assert.Null(leftVal); + Assert.NotNull(rightVal); + } + + [Fact] + public void Left_NonNull_Right_Null_Returns_Difference() + { + object left = new Simple(); + object right = null; + + var result = left.DiffWith(right); + + var (_, _, leftVal, rightVal) = Assert.Single(result); + Assert.NotNull(leftVal); + Assert.Null(rightVal); + } + + [Fact] + public void Left_Null_Right_NonNull_FQN_Is_ParentFqn() + { + object left = null; + object right = new Simple(); + + var result = left.DiffWith(right, "root"); + + var (_, fqn, _, _) = Assert.Single(result); + Assert.Equal("root", fqn); + } + + [Fact] + public void Left_Null_Right_NonNull_FQN_Is_Empty_When_No_ParentFqn() + { + object left = null; + object right = new Simple(); + + var result = left.DiffWith(right); + + var (_, fqn, _, _) = Assert.Single(result); + Assert.Equal(string.Empty, fqn); + } + + [Fact] + public void Right_Null_Left_NonNull_FQN_Is_Empty_When_No_ParentFqn() + { + object left = new Simple(); + object right = null; + + var result = left.DiffWith(right); + + var (_, fqn, _, _) = Assert.Single(result); + Assert.Equal(string.Empty, fqn); + } + + [Fact] + public void Mismatched_Types_Throws_InvalidCastException() + { + object left = new Simple(); + object right = new WithNullable(); + + Assert.Throws(() => left.DiffWith(right)); + } + + [Fact] + public void Left_Null_Right_NonNull_Any_Type_Returns_Difference() + { + object left = null; + object right = 42; + + var result = left.DiffWith(right); + + var (_, _, leftVal, rightVal) = Assert.Single(result); + Assert.Null(leftVal); + Assert.Equal(42, rightVal); + } + + [Fact] + public void Right_Null_Left_NonNull_Any_Type_Returns_Difference() + { + object left = 42; + object right = null; + + var result = left.DiffWith(right); + + var (_, _, leftVal, rightVal) = Assert.Single(result); + Assert.Equal(42, leftVal); + Assert.Null(rightVal); + } + } + + public class DiffWith_PrimitiveProperties + { + [Fact] + public void Identical_Objects_Returns_Empty() + { + var left = new Simple { IntProp = 1, StringProp = "a", BoolProp = true, DecimalProp = 1.5m }; + var right = new Simple { IntProp = 1, StringProp = "a", BoolProp = true, DecimalProp = 1.5m }; + + var result = left.DiffWith(right); + + Assert.Empty(result); + } + + [Fact] + public void Different_Int_Returns_Difference() + { + var left = new Simple { IntProp = 1 }; + var right = new Simple { IntProp = 2 }; + + var result = left.DiffWith(right); + + var (_, fqn, leftVal, rightVal) = Assert.Single(result); + Assert.Equal("IntProp", fqn); + Assert.Equal(1, leftVal); + Assert.Equal(2, rightVal); + } + + [Fact] + public void Different_String_Returns_Difference() + { + var left = new Simple { StringProp = "foo" }; + var right = new Simple { StringProp = "bar" }; + + var result = left.DiffWith(right); + + var (_, fqn, _, _) = Assert.Single(result); + Assert.Equal("StringProp", fqn); + } + + [Fact] + public void Different_Bool_Returns_Difference() + { + var left = new Simple { BoolProp = true }; + var right = new Simple { BoolProp = false }; + + var result = left.DiffWith(right); + + var (_, fqn, _, _) = Assert.Single(result); + Assert.Equal("BoolProp", fqn); + } + + [Fact] + public void Different_Decimal_Returns_Difference() + { + var left = new Simple { DecimalProp = 1.1m }; + var right = new Simple { DecimalProp = 2.2m }; + + var result = left.DiffWith(right); + + var (_, fqn, _, _) = Assert.Single(result); + Assert.Equal("DecimalProp", fqn); + } + + [Fact] + public void Multiple_Differences_All_Returned() + { + var left = new Simple { IntProp = 1, StringProp = "a" }; + var right = new Simple { IntProp = 2, StringProp = "b" }; + + var result = left.DiffWith(right); + + Assert.Equal(2, result.Count()); + } + } + + public class DiffWith_NullableProperties + { + [Fact] + public void Both_Nullable_Null_No_Difference() + { + var left = new WithNullable { NullableInt = null }; + var right = new WithNullable { NullableInt = null }; + + var result = left.DiffWith(right); + + Assert.Empty(result); + } + + [Fact] + public void Left_Nullable_Null_Right_HasValue_Returns_Difference() + { + var left = new WithNullable { NullableInt = null }; + var right = new WithNullable { NullableInt = 5 }; + + var result = left.DiffWith(right); + + var (_, fqn, leftVal, rightVal) = Assert.Single(result); + Assert.Equal("NullableInt", fqn); + Assert.Null(leftVal); + Assert.Equal(5, rightVal); + } + + [Fact] + public void Right_Nullable_Null_Left_HasValue_Returns_Difference() + { + var left = new WithNullable { NullableInt = 5 }; + var right = new WithNullable { NullableInt = null }; + + var result = left.DiffWith(right); + + var (_, fqn, leftVal, rightVal) = Assert.Single(result); + Assert.Equal("NullableInt", fqn); + Assert.Equal(5, leftVal); + Assert.Null(rightVal); + } + + [Fact] + public void Both_Nullable_Same_Value_No_Difference() + { + var left = new WithNullable { NullableInt = 7 }; + var right = new WithNullable { NullableInt = 7 }; + + var result = left.DiffWith(right); + + Assert.Empty(result); + } + + [Fact] + public void String_Null_Both_Sides_No_Difference() + { + var left = new WithNullable { StringProp = null }; + var right = new WithNullable { StringProp = null }; + + var result = left.DiffWith(right); + + Assert.Empty(result); + } + + [Fact] + public void String_Null_Left_NonNull_Right_Returns_Difference() + { + var left = new WithNullable { StringProp = null }; + var right = new WithNullable { StringProp = "hello" }; + + var result = left.DiffWith(right); + + var (_, fqn, leftVal, rightVal) = Assert.Single(result); + Assert.Equal("StringProp", fqn); + Assert.Null(leftVal); + Assert.Equal("hello", rightVal); + } + } + + public class DiffWith_EnumProperties + { + [Fact] + public void Same_Enum_No_Difference() + { + var left = new WithEnum { EnumProp = DayOfWeek.Monday }; + var right = new WithEnum { EnumProp = DayOfWeek.Monday }; + + var result = left.DiffWith(right); + + Assert.Empty(result); + } + + [Fact] + public void Different_Enum_Returns_Difference() + { + var left = new WithEnum { EnumProp = DayOfWeek.Monday }; + var right = new WithEnum { EnumProp = DayOfWeek.Friday }; + + var result = left.DiffWith(right); + + var (_, fqn, leftVal, rightVal) = Assert.Single(result); + Assert.Equal("EnumProp", fqn); + Assert.Equal(DayOfWeek.Monday, leftVal); + Assert.Equal(DayOfWeek.Friday, rightVal); + } + } + + public class DiffWith_ArrayProperties + { + [Fact] + public void Same_Array_No_Difference() + { + var left = new WithArray { ArrayProp = [1, 2, 3] }; + var right = new WithArray { ArrayProp = [1, 2, 3] }; + + var result = left.DiffWith(right); + + Assert.Empty(result); + } + + [Fact] + public void Different_Array_Returns_Difference() + { + var left = new WithArray { ArrayProp = [1, 2, 3] }; + var right = new WithArray { ArrayProp = [1, 2, 4] }; + + var result = left.DiffWith(right); + + var (_, fqn, _, _) = Assert.Single(result); + Assert.Equal("ArrayProp", fqn); + } + + [Fact] + public void Different_Array_Length_Returns_Difference() + { + var left = new WithArray { ArrayProp = [1, 2] }; + var right = new WithArray { ArrayProp = [1, 2, 3] }; + + var result = left.DiffWith(right); + + var (_, fqn, _, _) = Assert.Single(result); + Assert.Equal("ArrayProp", fqn); + } + + [Fact] + public void Both_Arrays_Null_No_Difference() + { + var left = new WithArray { ArrayProp = null }; + var right = new WithArray { ArrayProp = null }; + + var result = left.DiffWith(right); + + Assert.Empty(result); + } + + [Fact] + public void Left_Array_Null_Right_NonNull_Returns_Difference() + { + var left = new WithArray { ArrayProp = null }; + var right = new WithArray { ArrayProp = [1] }; + + var result = left.DiffWith(right); + + var (_, fqn, leftVal, rightVal) = Assert.Single(result); + Assert.Equal("ArrayProp", fqn); + Assert.Null(leftVal); + Assert.NotNull(rightVal); + } + } + + public class DiffWith_DictionaryProperties + { + [Fact] + public void Same_Dictionary_No_Difference() + { + var left = new WithDictionary { DictProp = new Dictionary { ["a"] = 1 } }; + var right = new WithDictionary { DictProp = new Dictionary { ["a"] = 1 } }; + + var result = left.DiffWith(right); + + Assert.Empty(result); + } + + [Fact] + public void Different_Dictionary_Returns_Difference() + { + var left = new WithDictionary { DictProp = new Dictionary { ["a"] = 1 } }; + var right = new WithDictionary { DictProp = new Dictionary { ["a"] = 2 } }; + + var result = left.DiffWith(right); + + var (_, fqn, _, _) = Assert.Single(result); + Assert.Equal("DictProp", fqn); + } + + [Fact] + public void Both_Dictionaries_Null_No_Difference() + { + var left = new WithDictionary { DictProp = null }; + var right = new WithDictionary { DictProp = null }; + + var result = left.DiffWith(right); + + Assert.Empty(result); + } + + [Fact] + public void Left_Dictionary_Null_Right_NonNull_Returns_Difference() + { + var left = new WithDictionary { DictProp = null }; + var right = new WithDictionary { DictProp = new Dictionary { ["a"] = 1 } }; + + var result = left.DiffWith(right); + + var (_, fqn, _, _) = Assert.Single(result); + Assert.Equal("DictProp", fqn); + } + } + + public class DiffWith_NestedObjects + { + [Fact] + public void Identical_Nested_Objects_Returns_Empty() + { + var left = new Nested { Name = "x", Inner = new Simple { IntProp = 1 } }; + var right = new Nested { Name = "x", Inner = new Simple { IntProp = 1 } }; + + var result = left.DiffWith(right); + + Assert.Empty(result); + } + + [Fact] + public void Different_Nested_Property_FQN_Is_Dotted() + { + var left = new Nested { Inner = new Simple { IntProp = 1 } }; + var right = new Nested { Inner = new Simple { IntProp = 9 } }; + + var result = left.DiffWith(right); + + var (_, fqn, _, _) = Assert.Single(result); + Assert.Equal("Inner.IntProp", fqn); + } + + [Fact] + public void Both_Nested_Null_No_Difference() + { + var left = new Nested { Inner = null }; + var right = new Nested { Inner = null }; + + var result = left.DiffWith(right); + + Assert.Empty(result); + } + + [Fact] + public void Left_Nested_Null_Right_NonNull_Returns_Difference() + { + var left = new Nested { Inner = null }; + var right = new Nested { Inner = new Simple() }; + + var result = left.DiffWith(right); + + var (_, fqn, leftVal, rightVal) = Assert.Single(result); + Assert.Equal("Inner", fqn); + Assert.Null(leftVal); + Assert.NotNull(rightVal); + } + + [Fact] + public void ParentFqn_Prepended_To_Nested_FQN() + { + var left = new Nested { Inner = new Simple { IntProp = 1 } }; + var right = new Nested { Inner = new Simple { IntProp = 2 } }; + + var result = left.DiffWith(right, "root"); + + var (_, fqn, _, _) = Assert.Single(result); + Assert.Equal("root.Inner.IntProp", fqn); + } + + [Fact] + public void Top_Level_Property_FQN_Includes_ParentFqn() + { + var left = new Simple { IntProp = 1 }; + var right = new Simple { IntProp = 2 }; + + var result = left.DiffWith(right, "root"); + + var (_, fqn, _, _) = Assert.Single(result); + Assert.Equal("root.IntProp", fqn); + } + } +} -- cgit v1.2.3 From 795a78e441e28988bed629a0dc61874f760b43cd Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Mon, 20 Apr 2026 22:03:16 -0500 Subject: compile blacklist patterns --- src/slskd/Users/UserService.cs | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/slskd/Users/UserService.cs b/src/slskd/Users/UserService.cs index 31c1e540..73bf1118 100644 --- a/src/slskd/Users/UserService.cs +++ b/src/slskd/Users/UserService.cs @@ -138,6 +138,7 @@ namespace slskd.Users private ILogger Log { get; set; } = Serilog.Log.ForContext(); private IOptionsMonitor OptionsMonitor { get; } private Blacklist Blacklist { get; } = new Blacklist(); + private IReadOnlyCollection CompiledBlacklistPatterns { get; set; } = []; /// /// Gets or sets the internal cache of User data. @@ -433,6 +434,18 @@ namespace slskd.Users } } + var regexOptions = RegexOptions.Compiled; + + if (!OptionsMonitor.CurrentValue.Flags.CaseSensitiveRegEx) + { + regexOptions |= RegexOptions.IgnoreCase; + } + + CompiledBlacklistPatterns = OptionsMonitor.CurrentValue.Transfers.Groups.Blacklisted.Patterns + .Select(f => new Regex(f, regexOptions)) + .ToList() + .AsReadOnly(); + LastOptionsHash = optionsHash; } -- cgit v1.2.3 From 73634ad0b54d486cc278c4950583754ad77aac00 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Tue, 21 Apr 2026 19:28:35 -0500 Subject: consistent options --- src/slskd/Core/Options.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/slskd/Core/Options.cs b/src/slskd/Core/Options.cs index dda1b7b5..fcc65c3b 100644 --- a/src/slskd/Core/Options.cs +++ b/src/slskd/Core/Options.cs @@ -1151,9 +1151,6 @@ namespace slskd /// /// Gets the list of regular expression patterns matched against usernames. - /// Any username matching one or more patterns will be blacklisted. - /// Follows the same case sensitivity rules as other user-defined regular expressions - /// (case insensitive by default; controlled by the flags.case_sensitive_regex option). /// public string[] Patterns { get; init; } = Array.Empty(); @@ -1175,7 +1172,7 @@ namespace slskd { if (!pattern.IsValidRegex()) { - results.Add(new ValidationResult($"Blacklist username pattern '{pattern}' is not a valid regular expression")); + results.Add(new ValidationResult($"Pattern '{pattern}' is not a valid regular expression")); } } -- cgit v1.2.3 From d2a71a7340c5caf7923824910f112be5b169378d Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Tue, 21 Apr 2026 19:30:06 -0500 Subject: wip, wtf is going on here --- src/slskd/Users/UserService.cs | 60 +++++++++++++++++++++++++++++------------- 1 file changed, 41 insertions(+), 19 deletions(-) diff --git a/src/slskd/Users/UserService.cs b/src/slskd/Users/UserService.cs index 73bf1118..0eb541e0 100644 --- a/src/slskd/Users/UserService.cs +++ b/src/slskd/Users/UserService.cs @@ -34,12 +34,14 @@ using Microsoft.Extensions.Options; namespace slskd.Users { + using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Net; using System.Text.RegularExpressions; using System.Threading.Tasks; + using Microsoft.Extensions.Caching.Memory; using NetTools; using Serilog; using Soulseek; @@ -139,6 +141,7 @@ namespace slskd.Users private IOptionsMonitor OptionsMonitor { get; } private Blacklist Blacklist { get; } = new Blacklist(); private IReadOnlyCollection CompiledBlacklistPatterns { get; set; } = []; + private MemoryCache GetGroupCache { get; } = new MemoryCache(new MemoryCacheOptions() { }); /// /// Gets or sets the internal cache of User data. @@ -171,33 +174,49 @@ namespace slskd.Users /// The group for the specified username. public string GetGroup(string username) { + if (GetGroupCache.TryGetValue(username, out var cached)) + { + return cached; + } + else + { + var group = GetGroupInternal(username); + + GetGroupCache.Set(username, group, new MemoryCacheEntryOptions { SlidingExpiration = TimeSpan.FromMinutes(10) }); + + return group; + } + // note: this is an extremely hot path; keep the work done to an absolute minimum. - if (UserDictionary.TryGetValue(username ?? string.Empty, out var user)) + string GetGroupInternal(string username) { - if (IsBlacklisted(user.Username)) + if (UserDictionary.TryGetValue(username ?? string.Empty, out var user)) { - return Application.BlacklistedGroup; - } + if (IsBlacklisted(user.Username)) + { + return Application.BlacklistedGroup; + } - if (user.Status?.IsPrivileged ?? false) - { - return Application.PrivilegedGroup; - } + if (user.Status?.IsPrivileged ?? false) + { + return Application.PrivilegedGroup; + } - if (user.Group != null) - { - return user.Group; - } + if (user.Group != null) + { + return user.Group; + } - var thresholds = OptionsMonitor.CurrentValue.Transfers.Groups.Leechers.Thresholds; + var thresholds = OptionsMonitor.CurrentValue.Transfers.Groups.Leechers.Thresholds; - if (user.Statistics?.FileCount < thresholds.Files || user.Statistics?.DirectoryCount < thresholds.Directories) - { - return Application.LeecherGroup; + if (user.Statistics?.FileCount < thresholds.Files || user.Statistics?.DirectoryCount < thresholds.Directories) + { + return Application.LeecherGroup; + } } - } - return Application.DefaultGroup; + return Application.DefaultGroup; + } } /// @@ -293,7 +312,10 @@ namespace slskd.Users /// A value indicating whether the specified user and/or IP are blacklisted. public bool IsBlacklisted(string username, IPAddress ipAddress = null) { - if (username is null) return false; + if (string.IsNullOrEmpty(username)) + { + throw new ArgumentNullException(nameof(username)); + } var blacklist = OptionsMonitor.CurrentValue.Transfers.Groups.Blacklisted; -- cgit v1.2.3 From ee041dc6c810982393745df7502c1630876bca6b Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Tue, 21 Apr 2026 20:59:03 -0500 Subject: clarify purpose of group --- src/slskd/Users/Types/User.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/slskd/Users/Types/User.cs b/src/slskd/Users/Types/User.cs index 7297d747..473bedfb 100644 --- a/src/slskd/Users/Types/User.cs +++ b/src/slskd/Users/Types/User.cs @@ -42,6 +42,9 @@ namespace slskd.Users /// /// Gets the user's configured group. /// + /// + /// This is the group under which the username appears in config, *not* the group derived at runtime. + /// public string Group { get; init; } /// -- cgit v1.2.3 From d49b11b2e74f872ef79a3966bac22601191ba773 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Tue, 21 Apr 2026 22:17:23 -0500 Subject: add a memory cache for blacklist decisions, recompile patterns and invalidate cache on config change --- src/slskd/Users/UserService.cs | 97 ++++++++++++++++++++++++++---------------- 1 file changed, 60 insertions(+), 37 deletions(-) diff --git a/src/slskd/Users/UserService.cs b/src/slskd/Users/UserService.cs index 73bf1118..9a29e567 100644 --- a/src/slskd/Users/UserService.cs +++ b/src/slskd/Users/UserService.cs @@ -34,12 +34,14 @@ using Microsoft.Extensions.Options; namespace slskd.Users { + using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Net; using System.Text.RegularExpressions; using System.Threading.Tasks; + using Microsoft.Extensions.Caching.Memory; using NetTools; using Serilog; using Soulseek; @@ -139,6 +141,8 @@ namespace slskd.Users private IOptionsMonitor OptionsMonitor { get; } private Blacklist Blacklist { get; } = new Blacklist(); private IReadOnlyCollection CompiledBlacklistPatterns { get; set; } = []; + private MemoryCache BlacklistDecisionCache { get; } = + new MemoryCache(new MemoryCacheOptions { ExpirationScanFrequency = TimeSpan.FromMinutes(1), SizeLimit = 1000 }); /// /// Gets or sets the internal cache of User data. @@ -293,44 +297,59 @@ namespace slskd.Users /// A value indicating whether the specified user and/or IP are blacklisted. public bool IsBlacklisted(string username, IPAddress ipAddress = null) { - if (username is null) return false; + ArgumentNullException.ThrowIfNull(username); - var blacklist = OptionsMonitor.CurrentValue.Transfers.Groups.Blacklisted; - - if (blacklist.Members.Contains(username)) + if (BlacklistDecisionCache.TryGetValue(username, out var u)) { - return true; + return u; } - // check username patterns (regex). respects the same case sensitivity flag used by other - // user-defined regular expressions throughout the application. - if (blacklist.Patterns.Length > 0) + var b = IsBlacklistedInternal(username, ipAddress); + + BlacklistDecisionCache.Set(username, b, new MemoryCacheEntryOptions { SlidingExpiration = TimeSpan.FromMinutes(10) }); + + return b; + + bool IsBlacklistedInternal(string username, IPAddress iPAddress = null) { - var regexOptions = OptionsMonitor.CurrentValue.Flags.CaseSensitiveRegEx - ? RegexOptions.None - : RegexOptions.IgnoreCase; + // first, check to see if the name appears explicitly in the config + var blacklist = OptionsMonitor.CurrentValue.Transfers.Groups.Blacklisted; - if (blacklist.Patterns.Any(p => Regex.IsMatch(username, p, regexOptions))) + if (blacklist.Members.Contains(username)) { return true; } - } - // check the user-curated list of blacklisted CIDRs that exists along with the list of - // blacklisted usernames. these CIDRs should be one-offs and would not be expected to appear in a - // blacklist supplied by a third party (but might?) - if (ipAddress is not null && blacklist.Cidrs.Select(c => IPAddressRange.Parse(c)).Any(range => range.Contains(ipAddress))) - { - return true; - } + // check username patterns (regex). respects the same case sensitivity flag used by other + // user-defined regular expressions throughout the application. + if (blacklist.Patterns.Length > 0) + { + var regexOptions = OptionsMonitor.CurrentValue.Flags.CaseSensitiveRegEx + ? RegexOptions.None + : RegexOptions.IgnoreCase; - // check the managed blacklist loaded from a third party blacklist file - if (ipAddress is not null && Blacklist.Contains(ipAddress)) - { - return true; - } + if (blacklist.Patterns.Any(p => Regex.IsMatch(username, p, regexOptions))) + { + return true; + } + } - return false; + // check the user-curated list of blacklisted CIDRs that exists along with the list of + // blacklisted usernames. these CIDRs should be one-offs and would not be expected to appear in a + // blacklist supplied by a third party (but might?) + if (ipAddress is not null && blacklist.Cidrs.Select(c => IPAddressRange.Parse(c)).Any(range => range.Contains(ipAddress))) + { + return true; + } + + // check the managed blacklist loaded from a third party blacklist file + if (ipAddress is not null && Blacklist.Contains(ipAddress)) + { + return true; + } + + return false; + } } /// @@ -434,21 +453,22 @@ namespace slskd.Users } } - var regexOptions = RegexOptions.Compiled; - - if (!OptionsMonitor.CurrentValue.Flags.CaseSensitiveRegEx) - { - regexOptions |= RegexOptions.IgnoreCase; - } + LastOptionsHash = optionsHash; + } - CompiledBlacklistPatterns = OptionsMonitor.CurrentValue.Transfers.Groups.Blacklisted.Patterns - .Select(f => new Regex(f, regexOptions)) - .ToList() - .AsReadOnly(); + // recompile blacklist patterns, regardless of whether they changed (this cheap to do) + var regexOptions = RegexOptions.Compiled; - LastOptionsHash = optionsHash; + if (!OptionsMonitor.CurrentValue.Flags.CaseSensitiveRegEx) + { + regexOptions |= RegexOptions.IgnoreCase; } + CompiledBlacklistPatterns = OptionsMonitor.CurrentValue.Transfers.Groups.Blacklisted.Patterns + .Select(f => new Regex(f, regexOptions)) + .ToList() + .AsReadOnly(); + var blacklistOptionsHash = Compute.Sha1Hash(options.Blacklist.ToJson()); // there's no forced re-config of the blacklist; either the config changed or it didn't. @@ -494,6 +514,9 @@ namespace slskd.Users LastBlacklistOptionsHash = blacklistOptionsHash; } + + // invalidate cached blacklist decisions + BlacklistDecisionCache.Clear(); } private void Reset() -- cgit v1.2.3 From a379b400b62c7c29fb3ace854b2d8acfdeeee26e Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Wed, 22 Apr 2026 18:46:50 -0500 Subject: check compiled patterns --- src/slskd/Users/UserService.cs | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/src/slskd/Users/UserService.cs b/src/slskd/Users/UserService.cs index 469680cf..ee117855 100644 --- a/src/slskd/Users/UserService.cs +++ b/src/slskd/Users/UserService.cs @@ -319,18 +319,10 @@ namespace slskd.Users return true; } - // check username patterns (regex). respects the same case sensitivity flag used by other - // user-defined regular expressions throughout the application. - if (blacklist.Patterns.Length > 0) + // check to see if the username matches any patterns + if (CompiledBlacklistPatterns.Any(pattern => pattern.IsMatch(username))) { - var regexOptions = OptionsMonitor.CurrentValue.Flags.CaseSensitiveRegEx - ? RegexOptions.None - : RegexOptions.IgnoreCase; - - if (blacklist.Patterns.Any(p => Regex.IsMatch(username, p, regexOptions))) - { - return true; - } + return true; } // check the user-curated list of blacklisted CIDRs that exists along with the list of -- cgit v1.2.3 From 13e8d31658fbe9083bb44bc0666983fa988af0ca Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Wed, 22 Apr 2026 18:47:48 -0500 Subject: add cache for IsBlacklisted --- src/slskd/Users/IUserService.cs | 3 ++- src/slskd/Users/UserService.cs | 39 ++++++++++++++++++++++++++++++--------- 2 files changed, 32 insertions(+), 10 deletions(-) diff --git a/src/slskd/Users/IUserService.cs b/src/slskd/Users/IUserService.cs index f2cfa5f1..28bb6459 100644 --- a/src/slskd/Users/IUserService.cs +++ b/src/slskd/Users/IUserService.cs @@ -144,8 +144,9 @@ namespace slskd.Users /// /// The username to check. /// The IPAddress to check, if available. + /// A value indicating whether to compute blacklisted status on a cache miss. /// A value indicating whether the specified user and/or IP are blacklisted. - bool IsBlacklisted(string username, IPAddress ipAddress = null); + bool IsBlacklisted(string username, IPAddress ipAddress = null, bool bypassCache = true); /// /// Retrieves a value indicating whether the specified peer is privileged. diff --git a/src/slskd/Users/UserService.cs b/src/slskd/Users/UserService.cs index ee117855..0a620992 100644 --- a/src/slskd/Users/UserService.cs +++ b/src/slskd/Users/UserService.cs @@ -88,15 +88,20 @@ namespace slskd.Users /// /// /// + /// public UserService( ISoulseekClient soulseekClient, - IOptionsMonitor optionsMonitor) + IOptionsMonitor optionsMonitor, + ISystemClock systemClock) { Client = soulseekClient; OptionsMonitor = optionsMonitor; OptionsMonitor.OnChange(options => Configure(options)); + InjectedClock = systemClock; + BlacklistDecisionCache = new MemoryCache(new MemoryCacheOptions { Clock = InjectedClock, ExpirationScanFrequency = TimeSpan.FromMinutes(1), SizeLimit = 1000 }); + // updates may be sent unsolicited from the server, so update when we get them. binding these events will cause // multiple redundant round trips when initially watching a user or when explicitly requesting via // GetStatus/GetStatistics. this is wasteful, but there's no functional side effect. @@ -141,8 +146,8 @@ namespace slskd.Users private IOptionsMonitor OptionsMonitor { get; } private Blacklist Blacklist { get; } = new Blacklist(); private IReadOnlyCollection CompiledBlacklistPatterns { get; set; } = []; - private MemoryCache BlacklistDecisionCache { get; } = - new MemoryCache(new MemoryCacheOptions { ExpirationScanFrequency = TimeSpan.FromMinutes(1), SizeLimit = 1000 }); + private ISystemClock InjectedClock { get; } + private MemoryCache BlacklistDecisionCache { get; } /// /// Gets or sets the internal cache of User data. @@ -291,23 +296,39 @@ namespace slskd.Users /// /// Gets a value indicating whether the specified and/or are blacklisted. /// + /// + /// This method may be taxing if the user has defined a blacklist file or large number of patterns. Call it to 'guard' + /// actions at the network level (with the exception of search results where latency is sensitive), but don't + /// use it to check once the user is 'in' the system (e.g. don't call this in the upload governor or queue logic). + /// /// The username to check. /// The IPAddress to check, if available. + /// A value indicating whether to compute blacklisted status on a cache miss. /// A value indicating whether the specified user and/or IP are blacklisted. - public bool IsBlacklisted(string username, IPAddress ipAddress = null) + public bool IsBlacklisted(string username, IPAddress ipAddress = null, bool bypassCache = true) { ArgumentNullException.ThrowIfNull(username); - if (BlacklistDecisionCache.TryGetValue(username, out var u)) + if (BlacklistDecisionCache.TryGetValue(username, out var cached)) { - return u; + return cached; + } + + // if we have a cache miss and the caller has specified bypassCache = false, assume that a cache miss + // means that the user is not blacklisted. we will only specify bypassCache = false when we're checking + // in a hot path, which at the time of this writing is only when determining whether to search shares for a + // request. we will check again before sending the results with bypassCache = true, and we should always + // follow this pattern when using bypassCache = false (specifically, check again before sending something) + if (!bypassCache) + { + return false; } - var b = IsBlacklistedInternal(username, ipAddress); + var blacklisted = IsBlacklistedInternal(username, ipAddress); - BlacklistDecisionCache.Set(username, b, new MemoryCacheEntryOptions { SlidingExpiration = TimeSpan.FromMinutes(10) }); + BlacklistDecisionCache.Set(username, blacklisted, new MemoryCacheEntryOptions { AbsoluteExpirationRelativeToNow = TimeSpan.FromMinutes(10) }); - return b; + return blacklisted; bool IsBlacklistedInternal(string username, IPAddress iPAddress = null) { -- cgit v1.2.3 From 0e79985655abcbf10380f60fd50da46c47d8af88 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Wed, 22 Apr 2026 18:48:15 -0500 Subject: document GetGroup, remove check of IsBlacklisted within --- src/slskd/Users/UserService.cs | 30 +++++++++++++++++++++++------- 1 file changed, 23 insertions(+), 7 deletions(-) diff --git a/src/slskd/Users/UserService.cs b/src/slskd/Users/UserService.cs index 0a620992..95892753 100644 --- a/src/slskd/Users/UserService.cs +++ b/src/slskd/Users/UserService.cs @@ -42,6 +42,7 @@ namespace slskd.Users using System.Text.RegularExpressions; using System.Threading.Tasks; using Microsoft.Extensions.Caching.Memory; + using Microsoft.Extensions.Internal; using NetTools; using Serilog; using Soulseek; @@ -173,30 +174,45 @@ namespace slskd.Users private ConcurrentDictionary WatchedUsernamesDictionary { get; set; } = new ConcurrentDictionary(); /// - /// Gets the name of the group for the specified . + /// Gets the name of the group for the specified from cached data. /// - /// The group name is fetched from cached data, and lookups should always be fast. + /// + /// + /// Excludes the 'blacklisted' group for performance; use to guard network operations instead. + /// + /// + /// This is an extremely hot path, and the value returned may be approximated or incorrect in the case of a + /// cache miss in order to provide low latency values. + /// + /// /// The username of the peer. /// The group for the specified username. public string GetGroup(string username) { + // users end up in this dictionary for a few reasons, including but maybe not limited to: + // * they show up in the user defined group list somewhere + // * the server told us they have privileges when we logged in + // * we 'watched' them + // * we fetched statistics or status for them + // if we handle any of their data they'll probably wind up here. if they show up in the config, + // their Group property will be set. otherwise we must resolve their group dynamically. if (UserDictionary.TryGetValue(username ?? string.Empty, out var user)) { - if (IsBlacklisted(user.Username)) - { - return Application.BlacklistedGroup; - } - + // privileged users trump everything, and we resolve their group accordingly regardless of all other factors if (user.Status?.IsPrivileged ?? false) { return Application.PrivilegedGroup; } + // if the user isn't privileged and the user has put their username in any user defined group, that's + // their group. they aren't subjected to leecher checks. if (user.Group != null) { return user.Group; } + // check to see if they are a leecher. they may be in the dictionary because we checked their stats. + // if we don't have their stats we don't have enough info to make the call, group is inconclusive so fall through var thresholds = OptionsMonitor.CurrentValue.Transfers.Groups.Leechers.Thresholds; if (user.Statistics?.FileCount < thresholds.Files || user.Statistics?.DirectoryCount < thresholds.Directories) -- cgit v1.2.3 From c6f3bcb5da8d9a075789b1136cf46bb1ad86835d Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Wed, 22 Apr 2026 18:48:42 -0500 Subject: use only cached blacklist status pre-search --- src/slskd/Application.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/slskd/Application.cs b/src/slskd/Application.cs index a8a7883a..b25713ef 100644 --- a/src/slskd/Application.cs +++ b/src/slskd/Application.cs @@ -1651,7 +1651,9 @@ namespace slskd var sw = new Stopwatch(); sw.Start(); - if (Users.IsBlacklisted(username)) + // opportunistically try and avoid performing the search if we have a cached blacklisted value, otherwise + // hold off on computing it and filling the cache until we have the user's IP + if (Users.IsBlacklisted(username, bypassCache: false)) { return null; } -- cgit v1.2.3 From b7e5f00ce9a9d5f44b956e4f1a70f84fc1b2bea8 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Wed, 22 Apr 2026 18:48:56 -0500 Subject: add obsolete flag to BlacklistedGroup --- src/slskd/Application.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/slskd/Application.cs b/src/slskd/Application.cs index b25713ef..6112198c 100644 --- a/src/slskd/Application.cs +++ b/src/slskd/Application.cs @@ -94,6 +94,7 @@ namespace slskd /// /// The name of the blacklisted user group. /// + [Obsolete("use IsBlacklisted instead")] public const string BlacklistedGroup = "blacklisted"; private static readonly string ApplicationShutdownTransferExceptionMessage = "Application shut down"; -- cgit v1.2.3 From 988a2d118001afe90ffe6869a1310cb96c9cbc8d Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Wed, 22 Apr 2026 18:49:04 -0500 Subject: inject ISystemClock --- tests/slskd.Tests.Unit/Users/UserServiceTests.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/slskd.Tests.Unit/Users/UserServiceTests.cs b/tests/slskd.Tests.Unit/Users/UserServiceTests.cs index 95e17e32..5b4a4ad6 100644 --- a/tests/slskd.Tests.Unit/Users/UserServiceTests.cs +++ b/tests/slskd.Tests.Unit/Users/UserServiceTests.cs @@ -2,6 +2,7 @@ namespace slskd.Tests.Unit.Users { using System.Collections.Generic; using AutoFixture.Xunit2; + using Microsoft.Extensions.Internal; using Moq; using slskd.Users; using Soulseek; @@ -136,7 +137,8 @@ namespace slskd.Tests.Unit.Users var mocks = new Mocks(options); var service = new UserService( mocks.SoulseekClient.Object, - mocks.OptionsMonitor); + mocks.OptionsMonitor, + mocks.SystemClock); return (service, mocks); } @@ -150,6 +152,7 @@ namespace slskd.Tests.Unit.Users public Mock SoulseekClient { get; } = new Mock(); public TestOptionsMonitor OptionsMonitor { get; init; } + public ISystemClock SystemClock { get; init; } } } } -- cgit v1.2.3 From afdeba219343136d89e6414e0983a5937e272eb4 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Wed, 22 Apr 2026 22:17:53 -0500 Subject: make cache set more legible --- src/slskd/Users/UserService.cs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/slskd/Users/UserService.cs b/src/slskd/Users/UserService.cs index 95892753..4354a0eb 100644 --- a/src/slskd/Users/UserService.cs +++ b/src/slskd/Users/UserService.cs @@ -342,7 +342,14 @@ namespace slskd.Users var blacklisted = IsBlacklistedInternal(username, ipAddress); - BlacklistDecisionCache.Set(username, blacklisted, new MemoryCacheEntryOptions { AbsoluteExpirationRelativeToNow = TimeSpan.FromMinutes(10) }); + BlacklistDecisionCache.Set( + key: username, + value: blacklisted, + options: new MemoryCacheEntryOptions + { + AbsoluteExpirationRelativeToNow = TimeSpan.FromMinutes(10), + Size = 1, + }); return blacklisted; -- cgit v1.2.3 From a461da64fee74d9ba973b8f5ffb2b70fd1c8098b Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Wed, 22 Apr 2026 22:24:58 -0500 Subject: add tests for IsBlacklisted and cache --- tests/slskd.Tests.Unit/Users/UserServiceTests.cs | 193 +++++++++++++++++++++++ 1 file changed, 193 insertions(+) diff --git a/tests/slskd.Tests.Unit/Users/UserServiceTests.cs b/tests/slskd.Tests.Unit/Users/UserServiceTests.cs index 5b4a4ad6..c9e2df87 100644 --- a/tests/slskd.Tests.Unit/Users/UserServiceTests.cs +++ b/tests/slskd.Tests.Unit/Users/UserServiceTests.cs @@ -1,6 +1,10 @@ namespace slskd.Tests.Unit.Users { + using System; using System.Collections.Generic; + using System.IO; + using System.Net; + using System.Threading.Tasks; using AutoFixture.Xunit2; using Microsoft.Extensions.Internal; using Moq; @@ -57,6 +61,195 @@ namespace slskd.Tests.Unit.Users } } + public class IsBlacklisted + { + [Fact] + public void Throws_If_Username_Is_Null() + { + var (service, _) = GetFixture(); + + Assert.Throws(() => service.IsBlacklisted(null)); + } + + [Theory, AutoData] + public void Returns_Cached_Value_On_Cache_Hit(string username) + { + var options = new Options() + { + Transfers = new Options.TransfersOptions + { + Groups = new Options.TransfersOptions.GroupsOptions + { + Blacklisted = new Options.TransfersOptions.GroupsOptions.BlacklistedOptions + { + Members = new[] { username }, + } + } + } + }; + + var (service, _) = GetFixture(options); + + // prime the cache with a computed result + service.IsBlacklisted(username); + + // bypassCache = false returns false on a cache miss; if the result is still true, + // the value was returned from cache rather than computed again + Assert.True(service.IsBlacklisted(username, bypassCache: false)); + } + + [Theory, AutoData] + public void Returns_False_On_Cache_Miss_With_BypassCache_False(string username) + { + var options = new Options() + { + Transfers = new Options.TransfersOptions + { + Groups = new Options.TransfersOptions.GroupsOptions + { + Blacklisted = new Options.TransfersOptions.GroupsOptions.BlacklistedOptions + { + Members = new[] { username }, + } + } + } + }; + + var (service, _) = GetFixture(options); + + // the user is blacklisted, but bypassCache = false on a cache miss returns false + // without computing, so the result is false even though the user is blacklisted + Assert.False(service.IsBlacklisted(username, bypassCache: false)); + } + + [Theory, AutoData] + public void Returns_True_If_Username_Is_Blacklisted_And_BypassCache_True(string username) + { + var options = new Options() + { + Transfers = new Options.TransfersOptions + { + Groups = new Options.TransfersOptions.GroupsOptions + { + Blacklisted = new Options.TransfersOptions.GroupsOptions.BlacklistedOptions + { + Members = new[] { username }, + } + } + } + }; + + var (service, _) = GetFixture(options); + + Assert.True(service.IsBlacklisted(username, bypassCache: true)); + } + + [Theory, AutoData] + public void Returns_True_If_Username_Matches_Blacklist_Pattern(string prefix, string suffix) + { + var username = $"{prefix}_blacklisted_{suffix}"; + + var options = new Options() + { + Transfers = new Options.TransfersOptions + { + Groups = new Options.TransfersOptions.GroupsOptions + { + Blacklisted = new Options.TransfersOptions.GroupsOptions.BlacklistedOptions + { + Patterns = new[] { @".*_blacklisted_.*" }, + } + } + } + }; + + var (service, _) = GetFixture(options); + + Assert.True(service.IsBlacklisted(username)); + } + + [Theory, AutoData] + public void Returns_True_If_IP_Address_Is_In_Blacklisted_CIDR(string username) + { + var options = new Options() + { + Transfers = new Options.TransfersOptions + { + Groups = new Options.TransfersOptions.GroupsOptions + { + Blacklisted = new Options.TransfersOptions.GroupsOptions.BlacklistedOptions + { + Cidrs = new[] { "192.168.100.0/24" }, + } + } + } + }; + + var (service, _) = GetFixture(options); + + Assert.True(service.IsBlacklisted(username, IPAddress.Parse("192.168.100.5"))); + } + + [Theory, AutoData] + public async Task Returns_True_If_IP_Address_Is_In_Blacklist_File(string username) + { + var tempFile = Path.GetTempFileName(); + + try + { + System.IO.File.WriteAllText(tempFile, "192.168.200.0/24\n"); + + var (service, _) = GetFixture(); + + var blacklist = new Blacklist(); + await blacklist.Load(tempFile, BlacklistFormat.CIDR); + + service.SetField("k__BackingField", blacklist); + + Assert.True(service.IsBlacklisted(username, IPAddress.Parse("192.168.200.5"))); + } + finally + { + System.IO.File.Delete(tempFile); + } + } + + [Theory, AutoData] + public void Returns_False_If_Not_Blacklisted_By_Any_Method(string username) + { + var (service, _) = GetFixture(); + + Assert.False(service.IsBlacklisted(username, IPAddress.Parse("10.0.0.1"))); + } + + [Theory, AutoData] + public void Caches_Result_Of_IsBlacklistedInternal(string username) + { + var options = new Options() + { + Transfers = new Options.TransfersOptions + { + Groups = new Options.TransfersOptions.GroupsOptions + { + Blacklisted = new Options.TransfersOptions.GroupsOptions.BlacklistedOptions + { + Members = new[] { username }, + } + } + } + }; + + var (service, _) = GetFixture(options); + + // first call: cache miss, IsBlacklistedInternal is called, result is cached + Assert.True(service.IsBlacklisted(username)); + + // second call with bypassCache = false: returns cached true rather than the + // false that a cache miss would produce, confirming the result was cached + Assert.True(service.IsBlacklisted(username, bypassCache: false)); + } + } + public class Configuration { [Theory, AutoData] -- cgit v1.2.3 From ae575e57b5f5f3a8d6474cfe1fbf0105290e06b4 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Wed, 22 Apr 2026 22:34:52 -0500 Subject: cache tests --- tests/slskd.Tests.Unit/Users/UserServiceTests.cs | 81 +++++++++++++++++++++++- 1 file changed, 78 insertions(+), 3 deletions(-) diff --git a/tests/slskd.Tests.Unit/Users/UserServiceTests.cs b/tests/slskd.Tests.Unit/Users/UserServiceTests.cs index c9e2df87..9c27cc6c 100644 --- a/tests/slskd.Tests.Unit/Users/UserServiceTests.cs +++ b/tests/slskd.Tests.Unit/Users/UserServiceTests.cs @@ -325,9 +325,78 @@ namespace slskd.Tests.Unit.Users } } - private static (UserService service, Mocks mocks) GetFixture(Options options = null) + public class BlacklistDecisionCache { - var mocks = new Mocks(options); + [Theory, AutoData] + public void Clears_Cache_When_Options_Change(string username) + { + var options = new Options() + { + Transfers = new Options.TransfersOptions + { + Groups = new Options.TransfersOptions.GroupsOptions + { + Blacklisted = new Options.TransfersOptions.GroupsOptions.BlacklistedOptions + { + Members = new[] { username }, + } + } + } + }; + + var (service, mocks) = GetFixture(options); + + // prime the cache with a computed true + Assert.True(service.IsBlacklisted(username)); + + // verify it's cached (bypassCache=false returns true only on a hit) + Assert.True(service.IsBlacklisted(username, bypassCache: false)); + + // trigger an options change; Configure() calls BlacklistDecisionCache.Clear() + mocks.OptionsMonitor.RaiseOnChange(new Options()); + + // bypassCache=false returns false on a cache miss; if true is gone, the cache was cleared + Assert.False(service.IsBlacklisted(username, bypassCache: false)); + } + + [Theory, AutoData] + public void Expires_Cache_Entries_After_10_Minutes(string username) + { + var clock = new TestSystemClock(); + + var options = new Options() + { + Transfers = new Options.TransfersOptions + { + Groups = new Options.TransfersOptions.GroupsOptions + { + Blacklisted = new Options.TransfersOptions.GroupsOptions.BlacklistedOptions + { + Members = new[] { username }, + } + } + } + }; + + var (service, _) = GetFixture(options, clock); + + // prime the cache with a computed true + Assert.True(service.IsBlacklisted(username)); + + // verify it's cached (bypassCache=false returns true only on a hit) + Assert.True(service.IsBlacklisted(username, bypassCache: false)); + + // advance the clock past the 10-minute expiry + clock.UtcNow = clock.UtcNow.AddMinutes(11); + + // the entry is now expired; bypassCache=false returns false on a miss + Assert.False(service.IsBlacklisted(username, bypassCache: false)); + } + } + + private static (UserService service, Mocks mocks) GetFixture(Options options = null, ISystemClock systemClock = null) + { + var mocks = new Mocks(options, systemClock); var service = new UserService( mocks.SoulseekClient.Object, mocks.OptionsMonitor, @@ -338,14 +407,20 @@ namespace slskd.Tests.Unit.Users private class Mocks { - public Mocks(Options options = null) + public Mocks(Options options = null, ISystemClock systemClock = null) { OptionsMonitor = new TestOptionsMonitor(options ?? new Options()); + SystemClock = systemClock; } public Mock SoulseekClient { get; } = new Mock(); public TestOptionsMonitor OptionsMonitor { get; init; } public ISystemClock SystemClock { get; init; } } + + private class TestSystemClock : ISystemClock + { + public DateTimeOffset UtcNow { get; set; } = DateTimeOffset.UtcNow; + } } } -- cgit v1.2.3 From ff164d003ac893a7fd7ad05a05604f50ec593eea Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Wed, 22 Apr 2026 22:47:19 -0500 Subject: mock cache --- tests/slskd.Tests.Unit/Users/UserServiceTests.cs | 57 ++++++------------------ 1 file changed, 13 insertions(+), 44 deletions(-) diff --git a/tests/slskd.Tests.Unit/Users/UserServiceTests.cs b/tests/slskd.Tests.Unit/Users/UserServiceTests.cs index 9c27cc6c..ca101634 100644 --- a/tests/slskd.Tests.Unit/Users/UserServiceTests.cs +++ b/tests/slskd.Tests.Unit/Users/UserServiceTests.cs @@ -6,6 +6,7 @@ namespace slskd.Tests.Unit.Users using System.Net; using System.Threading.Tasks; using AutoFixture.Xunit2; + using Microsoft.Extensions.Caching.Memory; using Microsoft.Extensions.Internal; using Moq; using slskd.Users; @@ -330,33 +331,17 @@ namespace slskd.Tests.Unit.Users [Theory, AutoData] public void Clears_Cache_When_Options_Change(string username) { - var options = new Options() - { - Transfers = new Options.TransfersOptions - { - Groups = new Options.TransfersOptions.GroupsOptions - { - Blacklisted = new Options.TransfersOptions.GroupsOptions.BlacklistedOptions - { - Members = new[] { username }, - } - } - } - }; + var (service, mocks) = GetFixture(); - var (service, mocks) = GetFixture(options); + var cache = new MemoryCache(new MemoryCacheOptions { SizeLimit = 1000 }); + service.SetField("k__BackingField", cache); - // prime the cache with a computed true - Assert.True(service.IsBlacklisted(username)); + cache.Set(username, true, new MemoryCacheEntryOptions { Size = 1 }); + Assert.True(cache.TryGetValue(username, out _)); - // verify it's cached (bypassCache=false returns true only on a hit) - Assert.True(service.IsBlacklisted(username, bypassCache: false)); - - // trigger an options change; Configure() calls BlacklistDecisionCache.Clear() mocks.OptionsMonitor.RaiseOnChange(new Options()); - // bypassCache=false returns false on a cache miss; if true is gone, the cache was cleared - Assert.False(service.IsBlacklisted(username, bypassCache: false)); + Assert.False(cache.TryGetValue(username, out _)); } [Theory, AutoData] @@ -364,33 +349,17 @@ namespace slskd.Tests.Unit.Users { var clock = new TestSystemClock(); - var options = new Options() - { - Transfers = new Options.TransfersOptions - { - Groups = new Options.TransfersOptions.GroupsOptions - { - Blacklisted = new Options.TransfersOptions.GroupsOptions.BlacklistedOptions - { - Members = new[] { username }, - } - } - } - }; + var (service, _) = GetFixture(); - var (service, _) = GetFixture(options, clock); + var cache = new MemoryCache(new MemoryCacheOptions { Clock = clock, SizeLimit = 1000 }); + service.SetField("k__BackingField", cache); - // prime the cache with a computed true - Assert.True(service.IsBlacklisted(username)); - - // verify it's cached (bypassCache=false returns true only on a hit) - Assert.True(service.IsBlacklisted(username, bypassCache: false)); + service.IsBlacklisted(username); + Assert.True(cache.TryGetValue(username, out _)); - // advance the clock past the 10-minute expiry clock.UtcNow = clock.UtcNow.AddMinutes(11); - // the entry is now expired; bypassCache=false returns false on a miss - Assert.False(service.IsBlacklisted(username, bypassCache: false)); + Assert.False(cache.TryGetValue(username, out _)); } } -- cgit v1.2.3 From bd15d165787a743c38db4089f878d5ffeb7a0aa8 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Wed, 22 Apr 2026 22:48:46 -0500 Subject: add functional tests back --- tests/slskd.Tests.Unit/Users/UserServiceTests.cs | 56 ++++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/tests/slskd.Tests.Unit/Users/UserServiceTests.cs b/tests/slskd.Tests.Unit/Users/UserServiceTests.cs index ca101634..7cd4c492 100644 --- a/tests/slskd.Tests.Unit/Users/UserServiceTests.cs +++ b/tests/slskd.Tests.Unit/Users/UserServiceTests.cs @@ -330,6 +330,33 @@ namespace slskd.Tests.Unit.Users { [Theory, AutoData] public void Clears_Cache_When_Options_Change(string username) + { + var options = new Options() + { + Transfers = new Options.TransfersOptions + { + Groups = new Options.TransfersOptions.GroupsOptions + { + Blacklisted = new Options.TransfersOptions.GroupsOptions.BlacklistedOptions + { + Members = new[] { username }, + } + } + } + }; + + var (service, mocks) = GetFixture(options); + + Assert.True(service.IsBlacklisted(username)); + Assert.True(service.IsBlacklisted(username, bypassCache: false)); + + mocks.OptionsMonitor.RaiseOnChange(new Options()); + + Assert.False(service.IsBlacklisted(username, bypassCache: false)); + } + + [Theory, AutoData] + public void Clears_Cache_When_Options_Change_Verified(string username) { var (service, mocks) = GetFixture(); @@ -349,6 +376,35 @@ namespace slskd.Tests.Unit.Users { var clock = new TestSystemClock(); + var options = new Options() + { + Transfers = new Options.TransfersOptions + { + Groups = new Options.TransfersOptions.GroupsOptions + { + Blacklisted = new Options.TransfersOptions.GroupsOptions.BlacklistedOptions + { + Members = new[] { username }, + } + } + } + }; + + var (service, _) = GetFixture(options, clock); + + Assert.True(service.IsBlacklisted(username)); + Assert.True(service.IsBlacklisted(username, bypassCache: false)); + + clock.UtcNow = clock.UtcNow.AddMinutes(11); + + Assert.False(service.IsBlacklisted(username, bypassCache: false)); + } + + [Theory, AutoData] + public void Expires_Cache_Entries_After_10_Minutes_Verified(string username) + { + var clock = new TestSystemClock(); + var (service, _) = GetFixture(); var cache = new MemoryCache(new MemoryCacheOptions { Clock = clock, SizeLimit = 1000 }); -- cgit v1.2.3 From 5a47b87e6c03cd093ce07274479d5c1dcd7aa2b0 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Thu, 23 Apr 2026 17:54:58 -0500 Subject: blacklisted users appear offline --- .../API/Controllers/ConversationsController.cs | 10 +++++++++ src/slskd/Users/API/Controllers/UsersController.cs | 25 ++++++++++++++++++++++ 2 files changed, 35 insertions(+) diff --git a/src/slskd/Messaging/API/Controllers/ConversationsController.cs b/src/slskd/Messaging/API/Controllers/ConversationsController.cs index c60d0c2f..7ed0a92c 100644 --- a/src/slskd/Messaging/API/Controllers/ConversationsController.cs +++ b/src/slskd/Messaging/API/Controllers/ConversationsController.cs @@ -40,6 +40,7 @@ namespace slskd.Messaging.API using Asp.Versioning; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; + using slskd.Users; /// /// Conversations. @@ -56,19 +57,23 @@ namespace slskd.Messaging.API /// /// /// + /// /// public ConversationsController( IStateMonitor applicationStateMonitor, IMessagingService messagingService, + IUserService userService, IOptionsSnapshot optionsSnapshot) { ApplicationStateMonitor = applicationStateMonitor; Messages = messagingService; + Users = userService; OptionsSnapshot = optionsSnapshot; } private IStateMonitor ApplicationStateMonitor { get; } private IMessagingService Messages { get; } + private IUserService Users { get; } private IOptionsSnapshot OptionsSnapshot { get; } /// @@ -264,6 +269,11 @@ namespace slskd.Messaging.API return Forbid(); } + if (Users.IsBlacklisted(username)) + { + return StatusCode(200); + } + if (string.IsNullOrEmpty(message)) { return BadRequest(); diff --git a/src/slskd/Users/API/Controllers/UsersController.cs b/src/slskd/Users/API/Controllers/UsersController.cs index 2a6f535f..8029b5e0 100644 --- a/src/slskd/Users/API/Controllers/UsersController.cs +++ b/src/slskd/Users/API/Controllers/UsersController.cs @@ -93,6 +93,11 @@ namespace slskd.Users.API return Forbid(); } + if (Users.IsBlacklisted(username)) + { + return NotFound(); + } + try { var endpoint = await Users.GetIPEndPointAsync(username); @@ -120,6 +125,11 @@ namespace slskd.Users.API return Forbid(); } + if (Users.IsBlacklisted(username)) + { + return NotFound(); + } + try { var result = await Client.BrowseAsync(username); @@ -184,6 +194,11 @@ namespace slskd.Users.API return BadRequest(); } + if (Users.IsBlacklisted(username)) + { + return NotFound(); + } + try { var result = await Client.GetDirectoryContentsAsync(username, request.Directory); @@ -214,6 +229,11 @@ namespace slskd.Users.API return Forbid(); } + if (Users.IsBlacklisted(username)) + { + return NotFound(); + } + try { var response = await Users.GetInfoAsync(username); @@ -241,6 +261,11 @@ namespace slskd.Users.API return Forbid(); } + if (Users.IsBlacklisted(username)) + { + return NotFound(); + } + try { var response = await Users.GetStatusAsync(username); -- cgit v1.2.3 From 2ac28fe1e35f17d12c6e1c2b09d4b7cb90c8d591 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Thu, 23 Apr 2026 17:59:31 -0500 Subject: don't try to download from blacklisted users --- .../Transfers/API/Controllers/TransfersController.cs | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/slskd/Transfers/API/Controllers/TransfersController.cs b/src/slskd/Transfers/API/Controllers/TransfersController.cs index 2ffd50d4..494ee722 100644 --- a/src/slskd/Transfers/API/Controllers/TransfersController.cs +++ b/src/slskd/Transfers/API/Controllers/TransfersController.cs @@ -44,6 +44,8 @@ namespace slskd.Transfers.API using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Serilog; + using slskd.Users; + using Soulseek; /// /// Transfers. @@ -58,17 +60,21 @@ namespace slskd.Transfers.API /// Initializes a new instance of the class. /// /// + /// /// public TransfersController( ITransferService transferService, + IUserService userService, IOptionsSnapshot optionsSnapshot) { Transfers = transferService; + Users = userService; OptionsSnapshot = optionsSnapshot; } private static SemaphoreSlim DownloadRequestLimiter { get; } = new SemaphoreSlim(2, 2); private ITransferService Transfers { get; } + private IUserService Users { get; } private IOptionsSnapshot OptionsSnapshot { get; } private ILogger Log { get; set; } = Serilog.Log.ForContext(); @@ -253,6 +259,13 @@ namespace slskd.Transfers.API try { + var endpoint = await Users.GetIPEndPointAsync(username); + + if (Users.IsBlacklisted(username, endpoint.Address)) + { + throw new UserOfflineException($"User {username} appears to be offline"); + } + var (enqueued, failed) = await Transfers.Downloads.EnqueueAsync(username, requests.Select(r => (r.Filename, r.Size))); return StatusCode(201, new { Enqueued = enqueued, Failed = failed }); @@ -382,6 +395,11 @@ namespace slskd.Transfers.API return Forbid(); } + if (Users.IsBlacklisted(username)) + { + return NotFound(); + } + if (!Guid.TryParse(id, out var guid)) { return BadRequest(); -- cgit v1.2.3 From 1b420744ef3942785de2a1bc72a0ff2e8734b5d2 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Thu, 23 Apr 2026 18:02:04 -0500 Subject: don't send place in queue to blacklisted users --- src/slskd/Application.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/slskd/Application.cs b/src/slskd/Application.cs index 6112198c..814e01a3 100644 --- a/src/slskd/Application.cs +++ b/src/slskd/Application.cs @@ -1381,6 +1381,12 @@ namespace slskd private Task PlaceInQueueResolver(string username, IPEndPoint endpoint, string filename) { + if (Users.IsBlacklisted(username, endpoint.Address)) + { + Log.Information("Returned empty directory listing for blacklisted user {Username} ({IP})", username, endpoint.Address); + return Task.FromResult(null); + } + try { var place = Transfers.Uploads.Queue.EstimatePosition(username, filename); -- cgit v1.2.3 From c062bcc473db76dcf4b2b6b7b2f504385323843b Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Thu, 23 Apr 2026 18:17:42 -0500 Subject: gitignore claude --- .gitignore | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 4c74cb20..cd24cbf3 100644 --- a/.gitignore +++ b/.gitignore @@ -14,4 +14,6 @@ coverage.json # global.json is (at the time this was added) being used to pin the SDK to 9.0.203, which is the most recent # version of the SDK that _doesn't_ strip colors from 'dotnet watch' output. once this problem is fixed, remove # this entry and the file doing the pinning. this may not be until .NET 10 reaches GA. -global.json \ No newline at end of file +global.json + +.claude \ No newline at end of file -- cgit v1.2.3 From ea43d3e350414b344bea21cb1a313d2c20c966de Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Thu, 23 Apr 2026 18:17:49 -0500 Subject: add tests for blacklist options --- ...ptions.GroupsOptions.BlacklistedOptionsTests.cs | 130 +++++++++++++++++++++ 1 file changed, 130 insertions(+) create mode 100644 tests/slskd.Tests.Unit/Core/Options/TransfersOptions.GroupsOptions.BlacklistedOptionsTests.cs diff --git a/tests/slskd.Tests.Unit/Core/Options/TransfersOptions.GroupsOptions.BlacklistedOptionsTests.cs b/tests/slskd.Tests.Unit/Core/Options/TransfersOptions.GroupsOptions.BlacklistedOptionsTests.cs new file mode 100644 index 00000000..2c77a8ba --- /dev/null +++ b/tests/slskd.Tests.Unit/Core/Options/TransfersOptions.GroupsOptions.BlacklistedOptionsTests.cs @@ -0,0 +1,130 @@ +using System.Collections.Generic; +using System.ComponentModel.DataAnnotations; +using Xunit; +using static slskd.Options; + +namespace slskd.Tests.Unit.Core.Options; + +using BlacklistedOptions = TransfersOptions.GroupsOptions.BlacklistedOptions; + +public class BlacklistedOptionsTests +{ + private static List Validate(BlacklistedOptions options) + { + var context = new ValidationContext(options); + var results = new List(); + Validator.TryValidateObject(options, context, results, validateAllProperties: true); + return results; + } + + public class Patterns + { + [Fact] + public void Valid_regex_produces_no_errors() + { + var options = new BlacklistedOptions { Patterns = [".*", "^foo$", @"\d+"] }; + Assert.Empty(Validate(options)); + } + + [Theory] + [InlineData("[invalid")] + [InlineData("(unclosed")] + [InlineData("*noanchor")] + public void Invalid_regex_produces_error(string pattern) + { + var options = new BlacklistedOptions { Patterns = [pattern] }; + var results = Validate(options); + Assert.Single(results); + Assert.Contains(pattern, results[0].ErrorMessage); + } + + [Fact] + public void Multiple_invalid_regexes_each_produce_an_error() + { + var options = new BlacklistedOptions { Patterns = ["[bad", "(also bad"] }; + Assert.Equal(2, Validate(options).Count); + } + + [Fact] + public void Mixed_valid_and_invalid_regexes_only_errors_on_invalid() + { + var options = new BlacklistedOptions { Patterns = ["valid.*", "[invalid"] }; + var results = Validate(options); + Assert.Single(results); + Assert.Contains("[invalid", results[0].ErrorMessage); + } + + [Fact] + public void Empty_patterns_produces_no_errors() + { + var options = new BlacklistedOptions { Patterns = [] }; + Assert.Empty(Validate(options)); + } + + [Fact] + public void Null_patterns_produces_no_errors() + { + var options = new BlacklistedOptions { Patterns = null }; + Assert.Empty(Validate(options)); + } + } + + public class Cidrs + { + [Theory] + [InlineData("192.168.1.0/24")] + [InlineData("10.0.0.0/8")] + [InlineData("1.2.3.4/32")] + [InlineData("0.0.0.0/0")] + public void Valid_cidr_produces_no_errors(string cidr) + { + var options = new BlacklistedOptions { Cidrs = [cidr] }; + Assert.Empty(Validate(options)); + } + + [Theory] + [InlineData("not-a-cidr")] + [InlineData("999.999.999.999/24")] + [InlineData("192.168.1.0/33")] + public void Invalid_cidr_produces_error(string cidr) + { + var options = new BlacklistedOptions { Cidrs = [cidr] }; + var results = Validate(options); + Assert.Single(results); + Assert.Contains(cidr, results[0].ErrorMessage); + } + + [Theory] + [InlineData("::ffff:192.168.1.1")] + [InlineData("::FFFF:10.0.0.1")] + [InlineData("::ffff:0:0/96")] + public void IPv4_mapped_IPv6_address_produces_error(string cidr) + { + var options = new BlacklistedOptions { Cidrs = [cidr] }; + var results = Validate(options); + Assert.Single(results); + Assert.Contains(cidr, results[0].ErrorMessage); + } + + [Fact] + public void Multiple_invalid_cidrs_each_produce_an_error() + { + var options = new BlacklistedOptions { Cidrs = ["bad1", "bad2"] }; + Assert.Equal(2, Validate(options).Count); + } + + [Fact] + public void Empty_cidrs_produces_no_errors() + { + var options = new BlacklistedOptions { Cidrs = [] }; + Assert.Empty(Validate(options)); + } + + [Fact] + public void Null_cidrs_produces_no_errors() + { + var options = new BlacklistedOptions { Cidrs = null }; + Assert.Empty(Validate(options)); + } + } +} -- cgit v1.2.3 From 3d9bc65bf535a3c4dab440e91587495afba648e6 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Thu, 23 Apr 2026 18:28:52 -0500 Subject: fix ISystemClock --- src/slskd/Users/UserService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/slskd/Users/UserService.cs b/src/slskd/Users/UserService.cs index 4354a0eb..3ce827c8 100644 --- a/src/slskd/Users/UserService.cs +++ b/src/slskd/Users/UserService.cs @@ -93,14 +93,14 @@ namespace slskd.Users public UserService( ISoulseekClient soulseekClient, IOptionsMonitor optionsMonitor, - ISystemClock systemClock) + ISystemClock systemClock = null) { Client = soulseekClient; OptionsMonitor = optionsMonitor; OptionsMonitor.OnChange(options => Configure(options)); - InjectedClock = systemClock; + InjectedClock = systemClock ?? new SystemClock(); BlacklistDecisionCache = new MemoryCache(new MemoryCacheOptions { Clock = InjectedClock, ExpirationScanFrequency = TimeSpan.FromMinutes(1), SizeLimit = 1000 }); // updates may be sent unsolicited from the server, so update when we get them. binding these events will cause -- cgit v1.2.3