1
0
Fork 0
A REST-API built with Flask and Python. Its main purpose is to receive the readings from the light meters welding booths in the Ritherdon factory and make them available for consumption by the relay-controllers in the gallery.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

118 lines
1.3 KiB

2021.11.05 snapshot. commit 5ecf3f1173681333681f7cbf6bb883c6879af27b Author: Craig Oates <craig@craigoates.net> Date: Fri Nov 5 18:35:56 2021 +0000 update README. commit f2aa3734189817f4137c705009fa131062d5cf9b Author: Craig Oates <craig@craigoates.net> Date: Mon Jan 13 00:58:01 2020 +0000 make git ignore readings.db. commit 9c1a023ab4d47501ca5164a9c34d18db5c158f18 Author: Craig Oates <craig@craigoates.net> Date: Mon Jan 13 00:33:23 2020 +0000 make home page refresh every 60 seconds. commit b3efcc73c8536a605cf2d89e68c95ee3d2da6acf Author: Craig Oates <craig@craigoates.net> Date: Thu Jan 9 16:18:16 2020 +0000 add comment to device_check_token. commit 747f6b847ca4b528958ab729b62c64692c6fdd29 Merge: bf21990 ba85b56 Author: Craig Oates <craig@craigoates.net> Date: Thu Jan 9 16:00:02 2020 +0000 merge of unstable into stable commit ba85b560ea5c8e809c8b00e9a7b9920ebc6c21f2 Author: Craig Oates <craig@craigoates.net> Date: Thu Jan 9 15:44:41 2020 +0000 add tim e of request info. to home. commit 427d263812895203946ff9d7c59b5ba107ec343b Author: Craig Oates <craig@craigoates.net> Date: Thu Jan 9 15:21:36 2020 +0000 fix typo in YAML file. commit e7e492333076cfe2f3520abcc340f59f6a1b1095 Author: Craig Oates <craig@craigoates.net> Date: Thu Jan 9 15:18:40 2020 +0000 add get latest (all) device status to YAML (A.P.I.) file. commit b4d9ca04faae014700435cb99d373e7781d925e0 Author: Craig Oates <craig@craigoates.net> Date: Thu Jan 9 15:09:06 2020 +0000 reset database. commit 3e80738d32043681da593dc1fed8a02fadd02d6c Author: Craig Oates <craig@craigoates.net> Date: Thu Jan 9 15:08:33 2020 +0000 add 400-error responses to GET requests in YAML file. commit 13e2f5d3ba970ad4cae7c632e509238976811d74 Author: Craig Oates <craig@craigoates.net> Date: Thu Jan 9 15:03:27 2020 +0000 add 400-error info. to PUT request in YAML file. commit b01178a711c730d95220da0e7e8c745c117d2380 Author: Craig Oates <craig@craigoates.net> Date: Thu Jan 9 14:57:21 2020 +0000 add try-blocks to post requests. commit d377ef4eca2516e10daff2ac548c7a6706ac519c Author: Craig Oates <craig@craigoates.net> Date: Thu Jan 9 14:44:07 2020 +0000 add secirity token checks to status change A.P.I. call. commit 95cb4754289f8cb3f009c2547232c7f0fc1b4957 Author: Craig Oates <craig@craigoates.net> Date: Thu Jan 9 14:35:26 2020 +0000 add security token checks when adding new reading. commit bf2199012e7f8d4efb91253beea1af89c950e7de Author: Craig Oates <craig@craigoates.net> Date: Thu Jan 9 00:17:39 2020 +0000 reset database. commit c24981a0e338f5c3a726352f3a4dcbe3e3a1d670 Author: Craig Oates <craig@craigoates.net> Date: Thu Jan 9 00:04:50 2020 +0000 reset database. commit 0bb4ed4be8a6402de71da5af921bd5882a2e28f1 Merge: bd20f7b f32e4ae Author: Craig Oates <craig@craigoates.net> Date: Wed Jan 8 23:56:26 2020 +0000 Merge branch 'unstable' of return-to-ritherdon/midpoint into stable commit f32e4aec4a079bba4f53e8492a3e45412473cf9c Author: Craig Oates <craig@craigoates.net> Date: Wed Jan 8 23:52:50 2020 +0000 update A.P.I. version to 1.0.0 - Alpha. commit 1008d3e2e445634c285bc50252e75db9630efea2 Author: Craig Oates <craig@craigoates.net> Date: Wed Jan 8 23:51:16 2020 +0000 implement home page status report feature. commit 6394009f40cb4bf3e603b9d02e46245d15730237 Author: Craig Oates <craig@craigoates.net> Date: Wed Jan 8 22:39:15 2020 +0000 implement get all status changes (all devices) A.P.I. call. commit fc3fe18b0e66d458a6c057f3bc34a61fe3afb10d Author: Craig Oates <craig@craigoates.net> Date: Wed Jan 8 22:30:25 2020 +0000 implement get all status changes (per device) A.P.I. call. commit 65464fae5438d016eccfca4700fd8904c70f219e Author: Craig Oates <craig@craigoates.net> Date: Wed Jan 8 21:59:35 2020 +0000 implement get device status latest A.P.I. call. commit 641fe8f6046c50d312394c281ab3fcc9e8f59a14 Author: Craig Oates <craig@craigoates.net> Date: Wed Jan 8 21:08:07 2020 +0000 add device status-update logging. commit 312bcd70a6e87170aed56b5e60ca18191fb1c21f Author: Craig Oates <craig@craigoates.net> Date: Wed Jan 8 19:04:38 2020 +0000 remove in-mem readings and refactor related items. commit c4590b906c454c726cba723b63dcb106649c1d37 Author: Craig Oates <craig@craigoates.net> Date: Wed Jan 8 03:30:47 2020 +0000 add website info. section to home. commit 1ded49cfcfccb39e275bcf48e6366bd3b2c618d8 Author: Craig Oates <craig@craigoates.net> Date: Wed Jan 8 03:20:48 2020 +0000 add artwork status bar to home page. commit 628ea5a9a2099966eec3fbabefcff6779a73e233 Author: Craig Oates <craig@craigoates.net> Date: Wed Jan 8 02:28:56 2020 +0000 add styling and content to home page. commit 400c0f0310dd6e69a489d25934cd9d2b0bb57c4f Author: Craig Oates <craig@craigoates.net> Date: Wed Jan 8 00:25:16 2020 +0000 add route for robots.txt. commit bb05c5e151e5c3abf71026691ede402d32a5f41d Author: Craig Oates <craig@craigoates.net> Date: Wed Jan 8 00:10:12 2020 +0000 create robot.txt file. commit 5bdd448b7ef12d98a4dbdf540155fc72f1bf0baf Author: Craig Oates <craig@craigoates.net> Date: Tue Jan 7 23:58:55 2020 +0000 add favicons. commit bd20f7be7d025d06a8c271b1fbd89a6089e4dcbc Merge: 1975e6e 2d6ba68 Author: Craig Oates <craig@craigoates.net> Date: Tue Jan 7 23:46:14 2020 +0000 Merge branch 'unstable' of return-to-ritherdon/midpoint into stable commit 2d6ba68682aeff040ed2407949ceb80c1d5989e5 Author: Craig Oates <craig@craigoates.net> Date: Tue Jan 7 23:43:37 2020 +0000 update requirements in proj-env. commit 1975e6ecbf4cf6c1b63ff22c343edad03d1ab5aa Author: Craig Oates <craig@craigoates.net> Date: Tue Jan 7 23:24:52 2020 +0000 create v-env. for server and update requirements. commit 373b6686ad62dba1fd6061eb3ae0497b646c59c1 Author: Craig Oates <craig@craigoates.net> Date: Mon Jan 6 01:18:35 2020 +0000 create html templates. commit 9f0c71ada2c39538f3c2c96bb9391cf44bef928e Author: Craig Oates <craig@craigoates.net> Date: Sun Jan 5 23:51:37 2020 +0000 port code over from test proj. commit c1f174f82882f41981e18608a12af2aa28bce617 Author: Craig Oates <craig@craigoates.net> Date: Sun Jan 5 22:52:51 2020 +0000 create virtual environment.
2 years ago
app/readings.db
4 years ago
# ---> Python
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class
# C extensions
*.so
# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST
# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec
# Installer logs
pip-log.txt
pip-delete-this-directory.txt
# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
.hypothesis/
.pytest_cache/
# Translations
*.mo
*.pot
# Django stuff:
*.log
local_settings.py
db.sqlite3
# Flask stuff:
instance/
.webassets-cache
# Scrapy stuff:
.scrapy
# Sphinx documentation
docs/_build/
# PyBuilder
target/
# Jupyter Notebook
.ipynb_checkpoints
# IPython
profile_default/
ipython_config.py
# pyenv
.python-version
# celery beat schedule file
celerybeat-schedule
# SageMath parsed files
*.sage.py
# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/
# Spyder project settings
.spyderproject
.spyproject
# Rope project settings
.ropeproject
# mkdocs documentation
/site
# mypy
.mypy_cache/
.dmypy.json
dmypy.json
# Pyre type checker
.pyre/