diff options
Diffstat (limited to 'license-generator/src')
-rw-r--r-- | license-generator/src/bin/aquatic-prime.rs | 15 | ||||
-rw-r--r-- | license-generator/src/bin/fulfillment.rs | 18 | ||||
-rw-r--r-- | license-generator/src/bin/license.rs | 18 | ||||
-rw-r--r-- | license-generator/src/database.rs | 18 | ||||
-rw-r--r-- | license-generator/src/errors.rs | 18 | ||||
-rw-r--r-- | license-generator/src/lib.rs | 18 | ||||
-rw-r--r-- | license-generator/src/logger.rs | 18 | ||||
-rw-r--r-- | license-generator/src/params.rs | 18 | ||||
-rw-r--r-- | license-generator/src/purchaser.rs | 18 | ||||
-rw-r--r-- | license-generator/src/request.rs | 18 | ||||
-rw-r--r-- | license-generator/src/response.rs | 18 | ||||
-rw-r--r-- | license-generator/src/zip.rs | 18 |
12 files changed, 213 insertions, 0 deletions
diff --git a/license-generator/src/bin/aquatic-prime.rs b/license-generator/src/bin/aquatic-prime.rs index ec592b1..c1ab9b2 100644 --- a/license-generator/src/bin/aquatic-prime.rs +++ b/license-generator/src/bin/aquatic-prime.rs @@ -1,3 +1,18 @@ +// Copyright (c) 2018 Teddy Wing +// +// This program 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 <https://www.gnu.org/licenses/>. + extern crate aquatic_prime; extern crate serde; diff --git a/license-generator/src/bin/fulfillment.rs b/license-generator/src/bin/fulfillment.rs index e01a8c6..0cb6e99 100644 --- a/license-generator/src/bin/fulfillment.rs +++ b/license-generator/src/bin/fulfillment.rs @@ -1,3 +1,21 @@ +// Copyright (c) 2018 Teddy Wing +// +// This file is part of DomeKey Web. +// +// DomeKey Web 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. +// +// DomeKey Web 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 DomeKey Web. If not, see +// <https://www.gnu.org/licenses/>. + extern crate fastcgi; #[macro_use] diff --git a/license-generator/src/bin/license.rs b/license-generator/src/bin/license.rs index 973a1a6..818b911 100644 --- a/license-generator/src/bin/license.rs +++ b/license-generator/src/bin/license.rs @@ -1,6 +1,24 @@ ///! FastCGI script that displays a thank-you page with a link to download a ///! custom-generated license. +// Copyright (c) 2018 Teddy Wing +// +// This file is part of DomeKey Web. +// +// DomeKey Web 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. +// +// DomeKey Web 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 DomeKey Web. If not, see +// <https://www.gnu.org/licenses/>. + extern crate aquatic_prime; extern crate fastcgi; extern crate exitcode; diff --git a/license-generator/src/database.rs b/license-generator/src/database.rs index 85683e9..7f96780 100644 --- a/license-generator/src/database.rs +++ b/license-generator/src/database.rs @@ -1,3 +1,21 @@ +// Copyright (c) 2018 Teddy Wing +// +// This file is part of DomeKey Web. +// +// DomeKey Web 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. +// +// DomeKey Web 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 DomeKey Web. If not, see +// <https://www.gnu.org/licenses/>. + use mysql; use errors::*; diff --git a/license-generator/src/errors.rs b/license-generator/src/errors.rs index 79bc49b..c55d113 100644 --- a/license-generator/src/errors.rs +++ b/license-generator/src/errors.rs @@ -1,3 +1,21 @@ +// Copyright (c) 2018 Teddy Wing +// +// This file is part of DomeKey Web. +// +// DomeKey Web 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. +// +// DomeKey Web 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 DomeKey Web. If not, see +// <https://www.gnu.org/licenses/>. + use aquatic_prime; use log; use mysql; diff --git a/license-generator/src/lib.rs b/license-generator/src/lib.rs index 697bfa6..9b00d8c 100644 --- a/license-generator/src/lib.rs +++ b/license-generator/src/lib.rs @@ -1,3 +1,21 @@ +// Copyright (c) 2018 Teddy Wing +// +// This file is part of DomeKey Web. +// +// DomeKey Web 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. +// +// DomeKey Web 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 DomeKey Web. If not, see +// <https://www.gnu.org/licenses/>. + extern crate aquatic_prime; extern crate chrono; diff --git a/license-generator/src/logger.rs b/license-generator/src/logger.rs index d286808..72d179f 100644 --- a/license-generator/src/logger.rs +++ b/license-generator/src/logger.rs @@ -1,3 +1,21 @@ +// Copyright (c) 2018 Teddy Wing +// +// This file is part of DomeKey Web. +// +// DomeKey Web 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. +// +// DomeKey Web 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 DomeKey Web. If not, see +// <https://www.gnu.org/licenses/>. + use std::fs::OpenOptions; use fastcgi; diff --git a/license-generator/src/params.rs b/license-generator/src/params.rs index 836e920..c5871ef 100644 --- a/license-generator/src/params.rs +++ b/license-generator/src/params.rs @@ -1,3 +1,21 @@ +// Copyright (c) 2018 Teddy Wing +// +// This file is part of DomeKey Web. +// +// DomeKey Web 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. +// +// DomeKey Web 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 DomeKey Web. If not, see +// <https://www.gnu.org/licenses/>. + use std::borrow::Cow; use std::collections::BTreeMap; diff --git a/license-generator/src/purchaser.rs b/license-generator/src/purchaser.rs index 1fe1ec6..7da274b 100644 --- a/license-generator/src/purchaser.rs +++ b/license-generator/src/purchaser.rs @@ -1,3 +1,21 @@ +// Copyright (c) 2018 Teddy Wing +// +// This file is part of DomeKey Web. +// +// DomeKey Web 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. +// +// DomeKey Web 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 DomeKey Web. If not, see +// <https://www.gnu.org/licenses/>. + use chrono::Utc; use mysql; use rand::{self, Rng}; diff --git a/license-generator/src/request.rs b/license-generator/src/request.rs index fd5b556..3712cdf 100644 --- a/license-generator/src/request.rs +++ b/license-generator/src/request.rs @@ -1,3 +1,21 @@ +// Copyright (c) 2018 Teddy Wing +// +// This file is part of DomeKey Web. +// +// DomeKey Web 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. +// +// DomeKey Web 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 DomeKey Web. If not, see +// <https://www.gnu.org/licenses/>. + use std::borrow::Cow; use std::collections::BTreeMap; diff --git a/license-generator/src/response.rs b/license-generator/src/response.rs index 6809988..baa45c0 100644 --- a/license-generator/src/response.rs +++ b/license-generator/src/response.rs @@ -1,3 +1,21 @@ +// Copyright (c) 2018 Teddy Wing +// +// This file is part of DomeKey Web. +// +// DomeKey Web 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. +// +// DomeKey Web 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 DomeKey Web. If not, see +// <https://www.gnu.org/licenses/>. + use std::io::Write; use errors::*; diff --git a/license-generator/src/zip.rs b/license-generator/src/zip.rs index e0bf035..8b2b9d2 100644 --- a/license-generator/src/zip.rs +++ b/license-generator/src/zip.rs @@ -1,3 +1,21 @@ +// Copyright (c) 2018 Teddy Wing +// +// This file is part of DomeKey Web. +// +// DomeKey Web 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. +// +// DomeKey Web 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 DomeKey Web. If not, see +// <https://www.gnu.org/licenses/>. + use std::io::{Seek, Write}; use zip_lib as zip; |