From a326e1ea2e686f6ce835e1f5876165882ac5d1aa Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sat, 14 Apr 2018 16:40:56 +0200 Subject: feat: License project under GPLv3 --- src/db.rs | 16 ++++++++++++++++ src/errors.rs | 16 ++++++++++++++++ src/handlers.rs | 16 ++++++++++++++++ src/main.rs | 16 ++++++++++++++++ src/models.rs | 16 ++++++++++++++++ src/oidc.rs | 16 ++++++++++++++++ src/render.rs | 16 ++++++++++++++++ 7 files changed, 112 insertions(+) (limited to 'src') diff --git a/src/db.rs b/src/db.rs index 35d7a6b3545a..c26597293706 100644 --- a/src/db.rs +++ b/src/db.rs @@ -1,3 +1,19 @@ +// Copyright (C) 2018 Vincent Ambo +// +// 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. + +// This program is distributed in the hope that 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 +// . + //! This module implements the database connection actor. use actix::prelude::*; diff --git a/src/errors.rs b/src/errors.rs index cf75f0e29853..c7c1e14f4312 100644 --- a/src/errors.rs +++ b/src/errors.rs @@ -1,3 +1,19 @@ +// Copyright (C) 2018 Vincent Ambo +// +// 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. + +// This program is distributed in the hope that 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 +// . + //! This module defines custom error types using the `failure`-crate. //! Links to foreign error types (such as database connection errors) //! are established in a similar way as was tradition in diff --git a/src/handlers.rs b/src/handlers.rs index c866f7a1403c..dd1a5007c0bd 100644 --- a/src/handlers.rs +++ b/src/handlers.rs @@ -1,3 +1,19 @@ +// Copyright (C) 2018 Vincent Ambo +// +// 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. + +// This program is distributed in the hope that 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 +// . + //! This module contains the implementation of converse's actix-web //! HTTP handlers. //! diff --git a/src/main.rs b/src/main.rs index 8188d498712d..61969bcff92a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,3 +1,19 @@ +// Copyright (C) 2018 Vincent Ambo +// +// 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. + +// This program is distributed in the hope that 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 +// . + #[macro_use] extern crate diesel; diff --git a/src/models.rs b/src/models.rs index eb3030ccb310..29d196b9a998 100644 --- a/src/models.rs +++ b/src/models.rs @@ -1,3 +1,19 @@ +// Copyright (C) 2018 Vincent Ambo +// +// 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. + +// This program is distributed in the hope that 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 +// . + use chrono::prelude::{DateTime, Utc}; use schema::{threads, posts}; diff --git a/src/oidc.rs b/src/oidc.rs index 09f7f7b6e354..d9ba4237be00 100644 --- a/src/oidc.rs +++ b/src/oidc.rs @@ -1,3 +1,19 @@ +// Copyright (C) 2018 Vincent Ambo +// +// 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. + +// This program is distributed in the hope that 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 +// . + //! This module provides authentication via OIDC compliant //! authentication sources. //! diff --git a/src/render.rs b/src/render.rs index f47830fa847e..ca1fd8ac3bc9 100644 --- a/src/render.rs +++ b/src/render.rs @@ -1,3 +1,19 @@ +// Copyright (C) 2018 Vincent Ambo +// +// 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. + +// This program is distributed in the hope that 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 +// . + //! This module defines a rendering actor used for processing Converse //! data into whatever format is needed by the templates and rendering //! them. -- cgit 1.4.1