about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@gmail.com>2018-04-14T14·40+0200
committerVincent Ambo <tazjin@gmail.com>2018-04-14T14·40+0200
commita326e1ea2e686f6ce835e1f5876165882ac5d1aa (patch)
tree32b00034139f7d39052801c6c53b90d55fecb54b /src
parentd1acf4cfd7d81488146b9573fda60bd05f2e2704 (diff)
feat: License project under GPLv3
Diffstat (limited to 'src')
-rw-r--r--src/db.rs16
-rw-r--r--src/errors.rs16
-rw-r--r--src/handlers.rs16
-rw-r--r--src/main.rs16
-rw-r--r--src/models.rs16
-rw-r--r--src/oidc.rs16
-rw-r--r--src/render.rs16
7 files changed, 112 insertions, 0 deletions
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 <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 cf75f0e29853..c7c1e14f4312 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 c866f7a1403c..dd1a5007c0bd 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 8188d498712d..61969bcff92a 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 eb3030ccb310..29d196b9a998 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 09f7f7b6e354..d9ba4237be00 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 f47830fa847e..ca1fd8ac3bc9 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.