Commit Graph

33 Commits

Author SHA1 Message Date
Patrick Jentsch
a5b1df9e95 Add simple api package including authentication (BasicAuth and TokenAuth) 2021-09-14 12:52:23 +02:00
Patrick Jentsch
0a9bea0740 Remove api fragments 2021-09-13 17:38:07 +02:00
Patrick Jentsch
4950a407af rename blueprint variables (blueprint_name -> bp) and view files (views.py -> routes.py) 2021-09-13 11:45:43 +02:00
Patrick Jentsch
d6ab379418 Change directory structure (move ./nopaque/* to ./) 2021-07-20 15:07:42 +02:00
Patrick Jentsch
cb2b64fa9d integrate nopaque repo 2020-06-05 14:42:04 +02:00
Patrick Jentsch
4ac4fcb4ff Add security enhancements. See: https://blog.miguelgrinberg.com/post/cookie-security-for-flask-applications 2020-06-02 16:51:08 +02:00
Patrick Jentsch
3a05a4d2f4 Switch back to socketio server while development 2020-04-27 09:34:12 +02:00
Patrick Jentsch
98fecacb11 use cqi from pypi 2020-04-24 15:44:40 +02:00
Patrick Jentsch
e882af8888 add email validator to requirements. Because of any reasons it is needed now 2020-04-22 16:00:21 +02:00
Patrick Jentsch
15373ed00f - Use gunicorn
- Add env variable GUNICORN_WORKERS (default: 1)
- new Port (8000)
- You don't need to run "flask deploy" by hand anymore
2020-04-20 10:11:45 +02:00
Patrick Jentsch
44054a51c3 Remove gunicorn from requirements.txt 2020-01-08 16:02:28 +01:00
Patrick Jentsch
49f07e0ac5 Add gunicorn to requirements.txt 2020-01-08 15:18:03 +01:00
Patrick Jentsch
1044674074 Dockerize the App! 2019-09-05 16:39:50 +02:00
Patrick Jentsch
b34b46ae5d Remove Merge marker. 2019-09-05 14:58:25 +02:00
Stephan Porada
9ba7989fcc Merge branch 'development' of gitlab.ub.uni-bielefeld.de:sfb1288inf/opaque into development 2019-09-05 14:47:36 +02:00
Stephan Porada
8d7f053a4c Add postgresql database 2019-09-05 14:43:36 +02:00
Patrick Jentsch
e3db2ecd1e Load environment variables in container. So the python-dotenv module is no longer needed! 2019-09-05 14:42:21 +02:00
Patrick Jentsch
7d4a1e6d37 Remove old scheduler code. 2019-08-30 14:00:08 +02:00
Patrick Jentsch
0d3f54d655 Implement JSON patches for corpus and job lists. 2019-08-29 10:42:53 +02:00
Patrick Jentsch
fcd797b28d Add redis to requirements. 2019-08-27 09:28:14 +02:00
Patrick Jentsch
19f60cfd0f Codestyle and new python package versions. 2019-08-22 09:33:34 +02:00
Patrick Jentsch
bfe28eca61 Add socketio. 2019-08-21 14:41:38 +02:00
Patrick Jentsch
db0c2532ad Use Flask-APScheduler. Move docker swarm logic to scheduler. 2019-08-13 14:10:50 +02:00
Patrick Jentsch
faf54e57fa Use APScheduler to handle job execution. 2019-08-12 17:03:12 +02:00
Patrick Jentsch
7db27020c7 Add Docker Swarm interface. 2019-07-17 13:34:20 +02:00
Patrick Jentsch
c5422638a6 Remove first APScheduler tests. 2019-07-11 15:22:33 +02:00
Stephan Porada
ef25ba7545 Merge branch 'development' of gitlab.ub.uni-bielefeld.de:sfb1288inf/opaque into development 2019-07-10 14:36:33 +02:00
Stephan Porada
4ec9e2ff41 Add flask_table for admin view 2019-07-10 14:36:31 +02:00
Patrick Jentsch
0158f5bedc Add APSchedular requirement. 2019-07-10 11:26:05 +02:00
Patrick Jentsch
8e753be8e8 Add Flask-Mail for e-mail support. 2019-07-08 10:52:46 +02:00
Patrick Jentsch
b6a67fcd4d Merge base templates. Add database support. Add blueprint for main. 2019-07-05 14:47:35 +02:00
Patrick Jentsch
6b594bb7d9 Add requirements needed in the future. 2019-07-03 15:30:22 +02:00
Patrick Jentsch
da8ab512a9 Create project skeleton. 2019-07-03 10:31:23 +02:00