From fe587d15612c8959c3e941f9fe55ffeafb249097 Mon Sep 17 00:00:00 2001 From: Kwok-kuen Cheung Date: Wed, 21 Sep 2016 15:22:32 +0800 Subject: [PATCH] Add license boilerplate --- LICENSE | 2 +- forgot_password/__init__.py | 13 +++++++++++++ forgot_password/options.py | 13 +++++++++++++ forgot_password/template.py | 13 +++++++++++++ forgot_password/util/__init__.py | 13 +++++++++++++ forgot_password/util/email.py | 13 +++++++++++++ forgot_password/util/user.py | 13 +++++++++++++ 7 files changed, 79 insertions(+), 1 deletion(-) diff --git a/LICENSE b/LICENSE index 2696dd8..f8a10cf 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -Copyright 2015 Oursky Ltd. +Copyright 2016 Oursky Ltd. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/forgot_password/__init__.py b/forgot_password/__init__.py index fb93397..9c6ac2d 100644 --- a/forgot_password/__init__.py +++ b/forgot_password/__init__.py @@ -1,3 +1,16 @@ +# Copyright 2016 Oursky Ltd. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. import logging import skygear diff --git a/forgot_password/options.py b/forgot_password/options.py index 419fdb5..e9aea3e 100644 --- a/forgot_password/options.py +++ b/forgot_password/options.py @@ -1,3 +1,16 @@ +# Copyright 2016 Oursky Ltd. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. import os from skygear.options import options as skyoptions diff --git a/forgot_password/template.py b/forgot_password/template.py index 9b82c46..206a8ac 100644 --- a/forgot_password/template.py +++ b/forgot_password/template.py @@ -1,3 +1,16 @@ +# Copyright 2016 Oursky Ltd. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. import os import jinja2 diff --git a/forgot_password/util/__init__.py b/forgot_password/util/__init__.py index e69de29..295b322 100644 --- a/forgot_password/util/__init__.py +++ b/forgot_password/util/__init__.py @@ -0,0 +1,13 @@ +# Copyright 2016 Oursky Ltd. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. diff --git a/forgot_password/util/email.py b/forgot_password/util/email.py index 386ecdd..33a4020 100644 --- a/forgot_password/util/email.py +++ b/forgot_password/util/email.py @@ -1,3 +1,16 @@ +# Copyright 2016 Oursky Ltd. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. import logging import pyzmail diff --git a/forgot_password/util/user.py b/forgot_password/util/user.py index 849dcb2..788cdf1 100644 --- a/forgot_password/util/user.py +++ b/forgot_password/util/user.py @@ -1,3 +1,16 @@ +# Copyright 2016 Oursky Ltd. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. import hashlib import bcrypt