Skip to content

Commit e5de19a

Browse files
[Arusey]codinger41
[Arusey]
authored andcommitted
CON-72-story(admin-notifications): setup admin notifications
- setup folder structure for implementing notifications structure - implement notification when admin has not been seen in a while [Delivers CON-72]
1 parent 1bb2408 commit e5de19a

File tree

4 files changed

+63
-14
lines changed

4 files changed

+63
-14
lines changed

app.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
from flask_graphql import GraphQLView
44
from flask_cors import CORS
55
from flask_json import FlaskJSON
6+
from flask_socketio import SocketIO
67

78
from flask_mail import Mail
89
from config import config
@@ -19,6 +20,7 @@ def create_app(config_name):
1920
app = Flask(__name__)
2021
CORS(app)
2122
FlaskJSON(app)
23+
SocketIO(app)
2224
app.config.from_object(config[config_name])
2325
config[config_name].init_app(app)
2426
mail.init_app(app)

notifications/__init__.py

Whitespace-only changes.

notifications/helpers/__init__.py

Whitespace-only changes.

requirements.txt

Lines changed: 61 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,86 @@
11
alembic==0.9.8
2-
bugsnag==3.4.2
2+
amqp==1.4.9
3+
aniso8601==3.0.2
4+
anyjson==0.3.3
5+
astroid==2.2.5
6+
attrs==19.1.0
7+
autopep8==1.4.4
8+
billiard==3.3.0.23
39
blinker==1.4
10+
bugsnag==3.4.2
411
celery==3.1.17
12+
certifi==2019.3.9
13+
chardet==3.0.4
14+
Click==7.0
515
coverage==4.5.1
16+
coveralls==1.8.0
17+
decorator==4.4.0
18+
docopt==0.6.2
19+
flake8==3.5.0
620
Flask==0.12.2
721
Flask-Cors==3.0.4
8-
Flask-JSON==0.3.2
9-
Flask-Script==2.0.6
1022
Flask-GraphQL==1.4.1
23+
Flask-JSON==0.3.2
1124
Flask-Mail==0.9.1
25+
Flask-Script==2.0.6
26+
Flask-SocketIO==4.1.0
27+
Flask-Testing==0.7.1
1228
google-api-python-client==1.6.7
13-
graphene-sqlalchemy==2.0.0
1429
graphene==2.1
30+
graphene-sqlalchemy==2.0.0
31+
graphql-core==2.2
32+
graphql-relay==0.4.5
33+
httplib2==0.13.0
34+
idna==2.8
1535
imgkit==1.0.1
36+
iso8601==0.1.12
37+
isort==4.3.20
38+
itsdangerous==1.1.0
39+
Jinja2==2.10.1
40+
kombu==3.0.37
41+
lazy-object-proxy==1.4.1
42+
Mako==1.0.12
1643
MarkupSafe==1.0
44+
mccabe==0.6.1
1745
more-itertools==4.1.0
46+
nose==1.3.7
1847
numpy==1.15.2
48+
oauth2client==4.1.3
1949
opencv-python==3.4.3.18
2050
pandas==0.23.4
21-
Pillow==5.3.0
2251
pdfkit==0.6.1
52+
Pillow==5.3.0
53+
pluggy==0.6.0
54+
promise==2.2.1
2355
psycopg2-binary==2.7.4
2456
py==1.5.3
57+
pyasn1==0.4.5
58+
pyasn1-modules==0.2.5
59+
pycodestyle==2.3.1
60+
pyflakes==1.6.0
61+
PyJWT==1.6.4
62+
pylint==2.3.1
2563
pytest==3.5.0
2664
python-dateutil==2.7.0
27-
PyJWT==1.6.4
28-
redis==2.10.3
29-
nose==1.3.7
3065
python-editor==1.0.3
66+
python-engineio==3.8.1
67+
python-socketio==4.1.0
68+
pytz==2019.1
69+
redis==2.10.3
70+
requests==2.22.0
71+
rsa==4.0
72+
Rx==1.6.1
73+
singledispatch==3.4.0.3
74+
six==1.12.0
3175
SQLAlchemy==1.2.6
32-
tox==3.0.0
3376
SQLAlchemy-Utils==0.33.2
34-
virtualenv==15.2.0
35-
Flask-Testing==0.7.1
77+
tox==3.0.0
78+
typed-ast==1.4.0
3679
typing==3.6.4
37-
flake8==3.5.0
38-
coveralls
39-
validators==0.12.4
80+
uritemplate==3.0.0
81+
urllib3==1.25.3
82+
validators==0.12.4
83+
virtualenv==15.2.0
84+
WebOb==1.8.5
85+
Werkzeug==0.15.4
86+
wrapt==1.11.1

0 commit comments

Comments
 (0)