diff options
author | Vincent Ambo <tazjin@gmail.com> | 2018-04-17T12·42+0200 |
---|---|---|
committer | Vincent Ambo <tazjin@gmail.com> | 2018-04-17T12·47+0200 |
commit | 93d6c7bbd19f83f77dd23eb38ddeaf941657f555 (patch) | |
tree | 04d5c588a30832ac6848a7c96f3c49b339369148 /src | |
parent | 1427220f9dd43a1d9bccd18b6f0df69d02e561ae (diff) |
chore(license): Relicense under AGPL-3.0-or-later
Relicense the project from the standard GPL3 to the Affero version of the license, requiring source code disclosure for modifications made on instances of Converse that are serving users over the network.
Diffstat (limited to 'src')
-rw-r--r-- | src/db.rs | 18 | ||||
-rw-r--r-- | src/errors.rs | 18 | ||||
-rw-r--r-- | src/handlers.rs | 18 | ||||
-rw-r--r-- | src/main.rs | 18 | ||||
-rw-r--r-- | src/models.rs | 18 | ||||
-rw-r--r-- | src/oidc.rs | 18 | ||||
-rw-r--r-- | src/render.rs | 18 | ||||
-rw-r--r-- | src/schema.rs | 18 |
8 files changed, 88 insertions, 56 deletions
diff --git a/src/db.rs b/src/db.rs index e08553302837..cde4642d4b14 100644 --- a/src/db.rs +++ b/src/db.rs @@ -1,17 +1,19 @@ // Copyright (C) 2018 Vincent Ambo <mail@tazj.in> // +// This file is part of Converse. +// // Converse is free software: you can redistribute it and/or modify it -// under the terms of the GNU General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. - +// under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// // This program is distributed in the hope that it will be useful, but // WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// General Public License for more details. - -// You should have received a copy of the GNU General Public License -// along with this program. If not, see +// Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public +// License along with this program. If not, see // <http://www.gnu.org/licenses/>. //! This module implements the database connection actor. diff --git a/src/errors.rs b/src/errors.rs index 8345a9382f15..c4c2be198e85 100644 --- a/src/errors.rs +++ b/src/errors.rs @@ -1,17 +1,19 @@ // Copyright (C) 2018 Vincent Ambo <mail@tazj.in> // +// This file is part of Converse. +// // Converse is free software: you can redistribute it and/or modify it -// under the terms of the GNU General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. - +// under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// // This program is distributed in the hope that it will be useful, but // WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// General Public License for more details. - -// You should have received a copy of the GNU General Public License -// along with this program. If not, see +// Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public +// License along with this program. If not, see // <http://www.gnu.org/licenses/>. //! This module defines custom error types using the `failure`-crate. diff --git a/src/handlers.rs b/src/handlers.rs index feac6b864fce..fa41ca35461f 100644 --- a/src/handlers.rs +++ b/src/handlers.rs @@ -1,17 +1,19 @@ // Copyright (C) 2018 Vincent Ambo <mail@tazj.in> // +// This file is part of Converse. +// // Converse is free software: you can redistribute it and/or modify it -// under the terms of the GNU General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. - +// under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// // This program is distributed in the hope that it will be useful, but // WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// General Public License for more details. - -// You should have received a copy of the GNU General Public License -// along with this program. If not, see +// Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public +// License along with this program. If not, see // <http://www.gnu.org/licenses/>. //! This module contains the implementation of converse's actix-web diff --git a/src/main.rs b/src/main.rs index 9b5f2f742839..bc9fca681015 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,17 +1,19 @@ // Copyright (C) 2018 Vincent Ambo <mail@tazj.in> // +// This file is part of Converse. +// // Converse is free software: you can redistribute it and/or modify it -// under the terms of the GNU General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. - +// under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// // This program is distributed in the hope that it will be useful, but // WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// General Public License for more details. - -// You should have received a copy of the GNU General Public License -// along with this program. If not, see +// Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public +// License along with this program. If not, see // <http://www.gnu.org/licenses/>. #[macro_use] diff --git a/src/models.rs b/src/models.rs index dfadd53fd34f..26985394cbd1 100644 --- a/src/models.rs +++ b/src/models.rs @@ -1,17 +1,19 @@ // Copyright (C) 2018 Vincent Ambo <mail@tazj.in> // +// This file is part of Converse. +// // Converse is free software: you can redistribute it and/or modify it -// under the terms of the GNU General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. - +// under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// // This program is distributed in the hope that it will be useful, but // WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// General Public License for more details. - -// You should have received a copy of the GNU General Public License -// along with this program. If not, see +// Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public +// License along with this program. If not, see // <http://www.gnu.org/licenses/>. use chrono::prelude::{DateTime, Utc}; diff --git a/src/oidc.rs b/src/oidc.rs index 8e0f66696083..23d82e0fa7e7 100644 --- a/src/oidc.rs +++ b/src/oidc.rs @@ -1,17 +1,19 @@ // Copyright (C) 2018 Vincent Ambo <mail@tazj.in> // +// This file is part of Converse. +// // Converse is free software: you can redistribute it and/or modify it -// under the terms of the GNU General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. - +// under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// // This program is distributed in the hope that it will be useful, but // WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// General Public License for more details. - -// You should have received a copy of the GNU General Public License -// along with this program. If not, see +// Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public +// License along with this program. If not, see // <http://www.gnu.org/licenses/>. //! This module provides authentication via OIDC compliant diff --git a/src/render.rs b/src/render.rs index 91f4d3f3f9a2..9a81d2c4cc17 100644 --- a/src/render.rs +++ b/src/render.rs @@ -1,17 +1,19 @@ // Copyright (C) 2018 Vincent Ambo <mail@tazj.in> // +// This file is part of Converse. +// // Converse is free software: you can redistribute it and/or modify it -// under the terms of the GNU General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. - +// under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// // This program is distributed in the hope that it will be useful, but // WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// General Public License for more details. - -// You should have received a copy of the GNU General Public License -// along with this program. If not, see +// Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public +// License along with this program. If not, see // <http://www.gnu.org/licenses/>. //! This module defines a rendering actor used for processing Converse diff --git a/src/schema.rs b/src/schema.rs index 6f73af69ce34..b5a8fab7faae 100644 --- a/src/schema.rs +++ b/src/schema.rs @@ -1,3 +1,21 @@ +// Copyright (C) 2018 Vincent Ambo <mail@tazj.in> +// +// This file is part of Converse. +// +// Converse is free software: you can redistribute it and/or modify it +// under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, but +// WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public +// License along with this program. If not, see +// <http://www.gnu.org/licenses/>. + table! { posts (id) { id -> Int4, |