Skip to content

Commit 2ba62fb

Browse files
author
Perki
committed
Opening source code
1 parent 6102920 commit 2ba62fb

File tree

17 files changed

+106
-48
lines changed

17 files changed

+106
-48
lines changed

.licenser.yml

Lines changed: 36 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,37 @@ files:
2020

2121
siblingLicenseFile:
2222
name: "LICENSE"
23+
license: |
24+
Copyright (C) {YEARS} {AUTHOR_NAME} {AUTHOR_WEB}
25+
26+
This file is part of Open-Pryv.io and released under BSD-Clause-3 License
27+
28+
Redistribution and use in source and binary forms, with or without
29+
modification, are permitted provided that the following conditions are met:
30+
31+
1. Redistributions of source code must retain the above copyright notice,
32+
this list of conditions and the following disclaimer.
33+
34+
2. Redistributions in binary form must reproduce the above copyright notice,
35+
this list of conditions and the following disclaimer in the documentation
36+
and/or other materials provided with the distribution.
37+
38+
3. Neither the name of the copyright holder nor the names of its contributors
39+
may be used to endorse or promote products derived from this software
40+
without specific prior written permission.
41+
42+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
43+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
44+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
45+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
46+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
47+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
48+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
49+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
50+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
51+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
52+
53+
SPDX-License-Identifier: BSD-3-Clause
2354
2455
"**/README.md":
2556
footer:
@@ -38,9 +69,9 @@ ignore:
3869
- node_modules
3970

4071
license: |
41-
Copyright (C) {YEARS} {AUTHOR_NAME} {AUTHOR_WEB} - All Rights Reserved
42-
Unauthorized copying of this file, via any medium is strictly prohibited
43-
Proprietary and confidential
72+
Copyright (C) {AUTHOR_NAME} {AUTHOR_WEB}
73+
This file is part of Pryv.io and released under BSD-Clause-3 License
74+
Refer to LICENSE file
4475
4576
substitutions:
4677
YEARS:
@@ -49,6 +80,6 @@ substitutions:
4980
AUTHOR_NAME: "Pryv S.A."
5081
AUTHOR_EMAIL: info@pryv.com
5182
AUTHOR_WEB: https://pryv.com
52-
DESCRIPTION: "This package is part of Pryv.io, a Pryv S.A. software"
83+
DESCRIPTION: "This package is part of Pryv.io software"
5384
HOMEPAGE: https://pryv.com
54-
SPDX: UNLICENSED
85+
SPDX: BSD-3-Clause

LICENSE

Lines changed: 30 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,30 @@
1-
Copyright (C) 2018–2024 Pryv S.A. https://pryv.com - All Rights Reserved
2-
Unauthorized copying of this file, via any medium is strictly prohibited
3-
Proprietary and confidential
1+
Copyright (C) 2018–2025 Pryv S.A. https://pryv.com
2+
3+
This file is part of Open-Pryv.io and released under BSD-Clause-3 License
4+
5+
Redistribution and use in source and binary forms, with or without
6+
modification, are permitted provided that the following conditions are met:
7+
8+
1. Redistributions of source code must retain the above copyright notice,
9+
this list of conditions and the following disclaimer.
10+
11+
2. Redistributions in binary form must reproduce the above copyright notice,
12+
this list of conditions and the following disclaimer in the documentation
13+
and/or other materials provided with the distribution.
14+
15+
3. Neither the name of the copyright holder nor the names of its contributors
16+
may be used to endorse or promote products derived from this software
17+
without specific prior written permission.
18+
19+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
20+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
22+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
23+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
25+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
26+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
27+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29+
30+
SPDX-License-Identifier: BSD-3-Clause

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,4 +132,4 @@ just test [...params]
132132

133133
## License
134134

135-
[UNLICENSED](LICENSE)
135+
[BSD-3-Clause](LICENSE)

build/scripts/sendmail-test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/**
22
* @license
3-
* Copyright (C) 2018–2024 Pryv S.A. https://pryv.com - All Rights Reserved
4-
* Unauthorized copying of this file, via any medium is strictly prohibited
5-
* Proprietary and confidential
3+
* Copyright (C) Pryv S.A. https://pryv.com
4+
* This file is part of Pryv.io and released under BSD-Clause-3 License
5+
* Refer to LICENSE file
66
*/
77
const config = require('/app/conf/mail.json');
88
console.log(config?.sendmail?.active ? "TRUE": "FALSE");

build/test/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ Requires an AMD64 machine with Docker accessible at user level.
1111

1212
## License
1313

14-
[UNLICENSED](LICENSE)
14+
[BSD-3-Clause](LICENSE)

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"private": true,
55
"description": "Customizable SMTP solution in Pryv.io that mocks Mandrill's API",
66
"homepage": "https://pryv.com",
7-
"license": "UNLICENSED",
7+
"license": "BSD-3-Clause",
88
"author": "Pryv S.A. <info@pryv.com> (https://pryv.com)",
99
"main": "src/server.js",
1010
"scripts": {
@@ -29,4 +29,4 @@
2929
"source-licenser": "^2.0.5",
3030
"supertest": "^6.3.3"
3131
}
32-
}
32+
}

src/Application.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/**
22
* @license
3-
* Copyright (C) 2018–2024 Pryv S.A. https://pryv.com - All Rights Reserved
4-
* Unauthorized copying of this file, via any medium is strictly prohibited
5-
* Proprietary and confidential
3+
* Copyright (C) Pryv S.A. https://pryv.com
4+
* This file is part of Pryv.io and released under BSD-Clause-3 License
5+
* Refer to LICENSE file
66
*/
77
// Load configuration file and start the server.
88

src/Context.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/**
22
* @license
3-
* Copyright (C) 2018–2024 Pryv S.A. https://pryv.com - All Rights Reserved
4-
* Unauthorized copying of this file, via any medium is strictly prohibited
5-
* Proprietary and confidential
3+
* Copyright (C) Pryv S.A. https://pryv.com
4+
* This file is part of Pryv.io and released under BSD-Clause-3 License
5+
* Refer to LICENSE file
66
*/
77
const EmailTemplates = require('email-templates');
88
const TemplateRepository = require('./mail/TemplateRepository.js');

src/Server.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/**
22
* @license
3-
* Copyright (C) 2018–2024 Pryv S.A. https://pryv.com - All Rights Reserved
4-
* Unauthorized copying of this file, via any medium is strictly prohibited
5-
* Proprietary and confidential
3+
* Copyright (C) Pryv S.A. https://pryv.com
4+
* This file is part of Pryv.io and released under BSD-Clause-3 License
5+
* Refer to LICENSE file
66
*/
77
const http = require('http');
88
const express = require('express');

src/errors.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/**
22
* @license
3-
* Copyright (C) 2018–2024 Pryv S.A. https://pryv.com - All Rights Reserved
4-
* Unauthorized copying of this file, via any medium is strictly prohibited
5-
* Proprietary and confidential
3+
* Copyright (C) Pryv S.A. https://pryv.com
4+
* This file is part of Pryv.io and released under BSD-Clause-3 License
5+
* Refer to LICENSE file
66
*/
77

88
/**

0 commit comments

Comments
 (0)