Commit Graph

48 Commits

Author SHA1 Message Date
Patrick Jentsch
8e1d94bb5d Restructure project 2022-09-02 13:07:30 +02:00
Patrick Jentsch
1de9fce854 Switch from Authlib to pyJWT 2022-07-18 17:10:09 +02:00
Patrick Jentsch
12bba0564f Migrate to Flask 2 2022-07-15 12:24:04 +02:00
Patrick Jentsch
b8bf004684 Restructure code and use APScheduler for daemon functionality 2022-06-28 12:30:02 +02:00
Patrick Jentsch
4016af23f0 Fix some dependencies 2022-05-17 16:16:14 +02:00
Patrick Jentsch
fc1389e8b1 Change the scaling logic and switch back to the socketio web server 2022-04-22 16:36:12 +02:00
Patrick Jentsch
ce997e69ea Rename all services, use scss, cleanup, add sandpaper conversion script 2022-04-04 13:31:09 +02:00
Patrick Jentsch
15e897f005 Delete unused files, restructure assets and use scss 2022-02-15 09:25:34 +01:00
Patrick Jentsch
df6ab3991c Use enums where appropriate. This commit includes new migrations that are NOT compatible with older nopaque instances 2022-02-08 12:26:20 +01:00
Patrick Jentsch
fe938c0ca2 Big update, corpus analysis reworked, versioned services, preliminary work for contributions 2022-02-03 12:39:16 +01:00
Patrick Jentsch
37c244b30c Remove unused package from requirements 2021-12-13 12:19:35 +01:00
Patrick Jentsch
63527da37f Use Flask-Hashids package 2021-12-08 11:25:33 +01:00
Patrick Jentsch
72ba61f369 Only reveal hashids to the ui 2021-11-30 16:22:16 +01:00
Patrick Jentsch
904747ec66 Add dependencies and missing exception handling 2021-11-18 08:39:56 +01:00
Patrick Jentsch
34c4f38b52 Fix bug on corpus analysis startup 2021-09-15 14:14:23 +02:00
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