From a2877975f2118c76d09ed01a51a59da678913631 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sof=C3=ADa=20Aritz?= Date: Sat, 29 Jun 2024 20:13:15 +0200 Subject: [PATCH] licensing headers --- identity-api/src/routes/asset/index.js | 17 +++++++++++++++++ identity-api/src/routes/auth/account.js | 17 +++++++++++++++++ identity-api/src/routes/auth/genkey.js | 17 +++++++++++++++++ identity-api/src/routes/auth/heirs.js | 17 +++++++++++++++++ identity-api/src/routes/auth/index.js | 17 +++++++++++++++++ identity-api/src/routes/auth/login.js | 17 +++++++++++++++++ identity-api/src/routes/auth/register.js | 17 +++++++++++++++++ identity-api/src/routes/entry/index.js | 17 +++++++++++++++++ identity-api/src/routes/entry/list.js | 17 +++++++++++++++++ identity-api/src/routes/index.js | 17 +++++++++++++++++ identity-api/src/routes/m2m/account.js | 17 +++++++++++++++++ identity-api/src/routes/m2m/asset.js | 17 +++++++++++++++++ identity-api/src/routes/m2m/index.js | 17 +++++++++++++++++ 13 files changed, 221 insertions(+) diff --git a/identity-api/src/routes/asset/index.js b/identity-api/src/routes/asset/index.js index 5f34368..08965f4 100644 --- a/identity-api/src/routes/asset/index.js +++ b/identity-api/src/routes/asset/index.js @@ -1,3 +1,20 @@ +// Identity. Store your memories and mental belongings +// Copyright (C) 2024 Sofía Aritz +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + + import endpoint from "./endpoint.js"; export default function registerRoutes(app, auth) { diff --git a/identity-api/src/routes/auth/account.js b/identity-api/src/routes/auth/account.js index 3fc38af..8a86148 100644 --- a/identity-api/src/routes/auth/account.js +++ b/identity-api/src/routes/auth/account.js @@ -1,3 +1,20 @@ +// Identity. Store your memories and mental belongings +// Copyright (C) 2024 Sofía Aritz +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + + export default function register(app, auth) { app.get("/auth/account", { async handler(request, reply) { diff --git a/identity-api/src/routes/auth/genkey.js b/identity-api/src/routes/auth/genkey.js index b0330a4..484f200 100644 --- a/identity-api/src/routes/auth/genkey.js +++ b/identity-api/src/routes/auth/genkey.js @@ -1,3 +1,20 @@ +// Identity. Store your memories and mental belongings +// Copyright (C) 2024 Sofía Aritz +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + + export default function register(app, auth) { app.get("/auth/genkey", { async handler(request) { diff --git a/identity-api/src/routes/auth/heirs.js b/identity-api/src/routes/auth/heirs.js index 424ab85..90c786b 100644 --- a/identity-api/src/routes/auth/heirs.js +++ b/identity-api/src/routes/auth/heirs.js @@ -1,3 +1,20 @@ +// Identity. Store your memories and mental belongings +// Copyright (C) 2024 Sofía Aritz +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + + export default function register(app, auth) { app.post("/auth/heirs", { async handler(request, reply) { diff --git a/identity-api/src/routes/auth/index.js b/identity-api/src/routes/auth/index.js index ab04fcf..e9a7f16 100644 --- a/identity-api/src/routes/auth/index.js +++ b/identity-api/src/routes/auth/index.js @@ -1,3 +1,20 @@ +// Identity. Store your memories and mental belongings +// Copyright (C) 2024 Sofía Aritz +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + + import account from "./account.js"; import genkey from "./genkey.js"; import heirs from "./heirs.js"; diff --git a/identity-api/src/routes/auth/login.js b/identity-api/src/routes/auth/login.js index faa4247..53445dd 100644 --- a/identity-api/src/routes/auth/login.js +++ b/identity-api/src/routes/auth/login.js @@ -1,3 +1,20 @@ +// Identity. Store your memories and mental belongings +// Copyright (C) 2024 Sofía Aritz +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + + export default function register(app, auth) { app.post("/auth/login", { async handler(request, reply) { diff --git a/identity-api/src/routes/auth/register.js b/identity-api/src/routes/auth/register.js index e56ae46..426d94f 100644 --- a/identity-api/src/routes/auth/register.js +++ b/identity-api/src/routes/auth/register.js @@ -1,3 +1,20 @@ +// Identity. Store your memories and mental belongings +// Copyright (C) 2024 Sofía Aritz +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + + export default function register(app, auth) { app.post("/auth/register", { async handler(request, reply) { diff --git a/identity-api/src/routes/entry/index.js b/identity-api/src/routes/entry/index.js index 38febe1..3c29844 100644 --- a/identity-api/src/routes/entry/index.js +++ b/identity-api/src/routes/entry/index.js @@ -1,3 +1,20 @@ +// Identity. Store your memories and mental belongings +// Copyright (C) 2024 Sofía Aritz +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + + import { randomUUID } from "node:crypto"; import list from "./list.js"; diff --git a/identity-api/src/routes/entry/list.js b/identity-api/src/routes/entry/list.js index 8b8d33a..47dbe37 100644 --- a/identity-api/src/routes/entry/list.js +++ b/identity-api/src/routes/entry/list.js @@ -1,3 +1,20 @@ +// Identity. Store your memories and mental belongings +// Copyright (C) 2024 Sofía Aritz +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + + export default function register(app, auth) { app.get("/entry/list", { async handler(request, reply) { diff --git a/identity-api/src/routes/index.js b/identity-api/src/routes/index.js index 5ef4b5d..75f2a13 100644 --- a/identity-api/src/routes/index.js +++ b/identity-api/src/routes/index.js @@ -1,3 +1,20 @@ +// Identity. Store your memories and mental belongings +// Copyright (C) 2024 Sofía Aritz +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + + import m2m from "./m2m/index.js"; import asset from "./asset/index.js"; import entry from "./entry/index.js"; diff --git a/identity-api/src/routes/m2m/account.js b/identity-api/src/routes/m2m/account.js index 1ca2665..623d42a 100644 --- a/identity-api/src/routes/m2m/account.js +++ b/identity-api/src/routes/m2m/account.js @@ -1,3 +1,20 @@ +// Identity. Store your memories and mental belongings +// Copyright (C) 2024 Sofía Aritz +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + + import { contentFromSigned, verifySignature } from "../../m2m.js"; export default function register(app, auth) { diff --git a/identity-api/src/routes/m2m/asset.js b/identity-api/src/routes/m2m/asset.js index 0697392..13de09e 100644 --- a/identity-api/src/routes/m2m/asset.js +++ b/identity-api/src/routes/m2m/asset.js @@ -1,3 +1,20 @@ +// Identity. Store your memories and mental belongings +// Copyright (C) 2024 Sofía Aritz +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + + import { contentFromSigned, verifySignature } from "../../m2m.js"; export default function register(app, auth) { diff --git a/identity-api/src/routes/m2m/index.js b/identity-api/src/routes/m2m/index.js index e667a03..356e771 100644 --- a/identity-api/src/routes/m2m/index.js +++ b/identity-api/src/routes/m2m/index.js @@ -1,3 +1,20 @@ +// Identity. Store your memories and mental belongings +// Copyright (C) 2024 Sofía Aritz +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + + import asset from "./asset.js"; import account from "./account.js";