Skip to content

Commit f9ba6e2

Browse files
committed
Licence text.
1 parent c740208 commit f9ba6e2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+2414
-18
lines changed

LICENSE

Lines changed: 659 additions & 6 deletions
Large diffs are not rendered by default.

__init__.py

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# A web application that stores samples from a collection of NFC sensors.
2+
#
3+
# https://github.com/cuplsensor/cuplbackend
4+
#
5+
# Original Author: Malcolm Mackay
6+
# Email: malcolm@plotsensor.com
7+
# Website: https://cupl.co.uk
8+
#
9+
# Copyright (c) 2021. Plotsensor Ltd.
10+
#
11+
# This program is free software: you can redistribute it and/or modify
12+
# it under the terms of the GNU Affero General Public License
13+
# as published by the Free Software Foundation, either version 3
14+
# of the License, or (at your option) any later version.
15+
#
16+
# This program is distributed in the hope that it will be useful,
17+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
18+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19+
# GNU Affero General Public License for more details.
20+
#
21+
# You should have received a copy of the
22+
# GNU Affero General Public License along with this program.
23+
# If not, see <https://www.gnu.org/licenses/>.
24+

backendapp/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.0.4
1+
1.0.5

backendapp/__init__.py

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,27 @@
1+
# A web application that stores samples from a collection of NFC sensors.
2+
#
3+
# https://github.com/cuplsensor/cuplbackend
4+
#
5+
# Original Author: Malcolm Mackay
6+
# Email: malcolm@plotsensor.com
7+
# Website: https://cupl.co.uk
8+
#
9+
# Copyright (c) 2021. Plotsensor Ltd.
10+
#
11+
# This program is free software: you can redistribute it and/or modify
12+
# it under the terms of the GNU Affero General Public License
13+
# as published by the Free Software Foundation, either version 3
14+
# of the License, or (at your option) any later version.
15+
#
16+
# This program is distributed in the hope that it will be useful,
17+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
18+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19+
# GNU Affero General Public License for more details.
20+
#
21+
# You should have received a copy of the
22+
# GNU Affero General Public License along with this program.
23+
# If not, see <https://www.gnu.org/licenses/>.
24+
25+
126

227

backendapp/api/__init__.py

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,27 @@
1+
# A web application that stores samples from a collection of NFC sensors.
2+
#
3+
# https://github.com/cuplsensor/cuplbackend
4+
#
5+
# Original Author: Malcolm Mackay
6+
# Email: malcolm@plotsensor.com
7+
# Website: https://cupl.co.uk
8+
#
9+
# Copyright (c) 2021. Plotsensor Ltd.
10+
#
11+
# This program is free software: you can redistribute it and/or modify
12+
# it under the terms of the GNU Affero General Public License
13+
# as published by the Free Software Foundation, either version 3
14+
# of the License, or (at your option) any later version.
15+
#
16+
# This program is distributed in the hope that it will be useful,
17+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
18+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19+
# GNU Affero General Public License for more details.
20+
#
21+
# You should have received a copy of the
22+
# GNU Affero General Public License along with this program.
23+
# If not, see <https://www.gnu.org/licenses/>.
24+
125
# -*- coding: utf-8 -*-
226
"""
327
flaskapp.api

backendapp/api/admin/__init__.py

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,30 @@
66
web api application package
77
"""
88

9+
# A web application that stores samples from a collection of NFC sensors.
10+
#
11+
# https://github.com/cuplsensor/cuplbackend
12+
#
13+
# Original Author: Malcolm Mackay
14+
# Email: malcolm@plotsensor.com
15+
# Website: https://cupl.co.uk
16+
#
17+
# Copyright (c) 2021. Plotsensor Ltd.
18+
#
19+
# This program is free software: you can redistribute it and/or modify
20+
# it under the terms of the GNU Affero General Public License
21+
# as published by the Free Software Foundation, either version 3
22+
# of the License, or (at your option) any later version.
23+
#
24+
# This program is distributed in the hope that it will be useful,
25+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
26+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27+
# GNU Affero General Public License for more details.
28+
#
29+
# You should have received a copy of the
30+
# GNU Affero General Public License along with this program.
31+
# If not, see <https://www.gnu.org/licenses/>.
32+
933
from functools import wraps
1034
from flask import jsonify, request, current_app, url_for
1135
from ... import factory

backendapp/api/admin/adminresource.py

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,27 @@
1+
# A web application that stores samples from a collection of NFC sensors.
2+
#
3+
# https://github.com/cuplsensor/cuplbackend
4+
#
5+
# Original Author: Malcolm Mackay
6+
# Email: malcolm@plotsensor.com
7+
# Website: https://cupl.co.uk
8+
#
9+
# Copyright (c) 2021. Plotsensor Ltd.
10+
#
11+
# This program is free software: you can redistribute it and/or modify
12+
# it under the terms of the GNU Affero General Public License
13+
# as published by the Free Software Foundation, either version 3
14+
# of the License, or (at your option) any later version.
15+
#
16+
# This program is distributed in the hope that it will be useful,
17+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
18+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19+
# GNU Affero General Public License for more details.
20+
#
21+
# You should have received a copy of the
22+
# GNU Affero General Public License along with this program.
23+
# If not, see <https://www.gnu.org/licenses/>.
24+
125
from ..baseresource import SingleResource, MultipleResource
226
from .admintokenauth import requires_admin_token
327
from flask import request, jsonify

backendapp/api/admin/admintokenauth.py

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,27 @@
1+
# A web application that stores samples from a collection of NFC sensors.
2+
#
3+
# https://github.com/cuplsensor/cuplbackend
4+
#
5+
# Original Author: Malcolm Mackay
6+
# Email: malcolm@plotsensor.com
7+
# Website: https://cupl.co.uk
8+
#
9+
# Copyright (c) 2021. Plotsensor Ltd.
10+
#
11+
# This program is free software: you can redistribute it and/or modify
12+
# it under the terms of the GNU Affero General Public License
13+
# as published by the Free Software Foundation, either version 3
14+
# of the License, or (at your option) any later version.
15+
#
16+
# This program is distributed in the hope that it will be useful,
17+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
18+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19+
# GNU Affero General Public License for more details.
20+
#
21+
# You should have received a copy of the
22+
# GNU Affero General Public License along with this program.
23+
# If not, see <https://www.gnu.org/licenses/>.
24+
125
from functools import wraps
226
from ..tokenauth import TokenAuthSymmetric
327
from ...config import ADMINAPI_CLIENTID, ADMINAPI_CLIENTSERET, ADMINAPI_AUDIENCE

backendapp/api/admin/captures.py

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,27 @@
1+
# A web application that stores samples from a collection of NFC sensors.
2+
#
3+
# https://github.com/cuplsensor/cuplbackend
4+
#
5+
# Original Author: Malcolm Mackay
6+
# Email: malcolm@plotsensor.com
7+
# Website: https://cupl.co.uk
8+
#
9+
# Copyright (c) 2021. Plotsensor Ltd.
10+
#
11+
# This program is free software: you can redistribute it and/or modify
12+
# it under the terms of the GNU Affero General Public License
13+
# as published by the Free Software Foundation, either version 3
14+
# of the License, or (at your option) any later version.
15+
#
16+
# This program is distributed in the hope that it will be useful,
17+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
18+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19+
# GNU Affero General Public License for more details.
20+
#
21+
# You should have received a copy of the
22+
# GNU Affero General Public License along with this program.
23+
# If not, see <https://www.gnu.org/licenses/>.
24+
125
# Inspired by overholt
226
"""
327
flaskapp.api.admin.captures

backendapp/api/admin/root.py

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,30 @@
55
Token endpoints
66
"""
77

8+
# A web application that stores samples from a collection of NFC sensors.
9+
#
10+
# https://github.com/cuplsensor/cuplbackend
11+
#
12+
# Original Author: Malcolm Mackay
13+
# Email: malcolm@plotsensor.com
14+
# Website: https://cupl.co.uk
15+
#
16+
# Copyright (c) 2021. Plotsensor Ltd.
17+
#
18+
# This program is free software: you can redistribute it and/or modify
19+
# it under the terms of the GNU Affero General Public License
20+
# as published by the Free Software Foundation, either version 3
21+
# of the License, or (at your option) any later version.
22+
#
23+
# This program is distributed in the hope that it will be useful,
24+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
25+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26+
# GNU Affero General Public License for more details.
27+
#
28+
# You should have received a copy of the
29+
# GNU Affero General Public License along with this program.
30+
# If not, see <https://www.gnu.org/licenses/>.
31+
832
from flask import Blueprint, url_for, jsonify
933
from flask_restful import Resource, Api
1034

0 commit comments

Comments
 (0)