diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/db.rs | 16 | ||||
-rw-r--r-- | src/errors.rs | 16 | ||||
-rw-r--r-- | src/handlers.rs | 16 | ||||
-rw-r--r-- | src/main.rs | 16 | ||||
-rw-r--r-- | src/models.rs | 16 | ||||
-rw-r--r-- | src/oidc.rs | 16 | ||||
-rw-r--r-- | src/render.rs | 16 |
7 files changed, 112 insertions, 0 deletions
diff --git a/src/db.rs b/src/db.rs index 35d7a6b354..c265972937 100644 --- a/src/db.rs +++ b/src/db.rs @@ -1,3 +1,19 @@ +// Copyright (C) 2018 Vincent Ambo <mail@tazj.in> +// +// 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 +// <http://www.gnu.org/licenses/>. + //! This module implements the database connection actor. use actix::prelude::*; diff --git a/src/errors.rs b/src/errors.rs index cf75f0e298..c7c1e14f43 100644 --- a/src/errors.rs +++ b/src/errors.rs @@ -1,3 +1,19 @@ +// Copyright (C) 2018 Vincent Ambo <mail@tazj.in> +// +// 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 +// <http://www.gnu.org/licenses/>. + //! 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 c866f7a140..dd1a5007c0 100644 --- a/src/handlers.rs +++ b/src/handlers.rs @@ -1,3 +1,19 @@ +// Copyright (C) 2018 Vincent Ambo <mail@tazj.in> +// +// 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 +// <http://www.gnu.org/licenses/>. + //! This module contains the implementation of converse's actix-web //! HTTP handlers. //! diff --git a/src/main.rs b/src/main.rs index 8188d49871..61969bcff9 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,3 +1,19 @@ +// Copyright (C) 2018 Vincent Ambo <mail@tazj.in> +// +// 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 +// <http://www.gnu.org/licenses/>. + #[macro_use] extern crate diesel; diff --git a/src/models.rs b/src/models.rs index eb3030ccb3..29d196b9a9 100644 --- a/src/models.rs +++ b/src/models.rs @@ -1,3 +1,19 @@ +// Copyright (C) 2018 Vincent Ambo <mail@tazj.in> +// +// 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 +// <http://www.gnu.org/licenses/>. + use chrono::prelude::{DateTime, Utc}; use schema::{threads, posts}; diff --git a/src/oidc.rs b/src/oidc.rs index 09f7f7b6e3..d9ba4237be 100644 --- a/src/oidc.rs +++ b/src/oidc.rs @@ -1,3 +1,19 @@ +// Copyright (C) 2018 Vincent Ambo <mail@tazj.in> +// +// 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 +// <http://www.gnu.org/licenses/>. + //! This module provides authentication via OIDC compliant //! authentication sources. //! diff --git a/src/render.rs b/src/render.rs index f47830fa84..ca1fd8ac3b 100644 --- a/src/render.rs +++ b/src/render.rs @@ -1,3 +1,19 @@ +// Copyright (C) 2018 Vincent Ambo <mail@tazj.in> +// +// 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 +// <http://www.gnu.org/licenses/>. + //! This module defines a rendering actor used for processing Converse //! data into whatever format is needed by the templates and rendering //! them. |