Commit Graph

1377 Commits

Author SHA1 Message Date
Patrick Jentsch
056fbe273c Update 2020-06-05 15:12:59 +02:00
Patrick Jentsch
cb2b64fa9d integrate nopaque repo 2020-06-05 14:42:04 +02:00
Patrick Jentsch
450ddf69fc Use more restrictive ssl settings 2020-06-03 11:18:15 +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
9f62e782f0 Add permanent redirect from http to https 2020-06-02 10:02:27 +02:00
Patrick Jentsch
d5569fa65b flashed messages for unauthenticated users too! 2020-05-27 13:34:55 +02:00
Patrick Jentsch
ba916b70bd Change location where socket is initialized...again 2020-05-27 13:32:07 +02:00
Patrick Jentsch
94d99862bd Use werkzeugs pre implemented ProxyFix middleware 2020-05-27 12:52:41 +02:00
Patrick Jentsch
814821a2bd Make flask respect https! :D See: https://stackoverflow.com/questions/14810795/flask-url-for-generating-http-url-instead-of-https/37842465#37842465 2020-05-27 11:36:28 +02:00
Patrick Jentsch
01bc246035 Some minor fixes for logformat. 2020-05-27 11:35:49 +02:00
Patrick Jentsch
ecac2c481c Only initialize socket when the user is logged in 2020-05-27 11:11:54 +02:00
Patrick Jentsch
afd7469178 Rework logging code 2020-05-27 11:03:50 +02:00
Patrick Jentsch
9d893db403 update 2020-05-26 15:39:46 +02:00
Patrick Jentsch
f137b8df9b Add ssl config for local development. 2020-05-26 14:40:44 +02:00
Patrick Jentsch
eccf9691c1 Add missing import. Remove unused import. 2020-05-26 14:29:01 +02:00
Patrick Jentsch
af527c1cf3 Bump socketio-client version. (2.2.0 -> 2.3.0) 2020-05-26 14:26:11 +02:00
Patrick Jentsch
d4e81b11e0 Fix foreign user data transmission for admins 2020-05-20 10:32:39 +02:00
Patrick Jentsch
8d201a29ae Proper socketio_login/admin_required decorators 2020-05-20 09:36:59 +02:00
Patrick Jentsch
f86301112b Remove unused .png 2020-05-20 09:36:23 +02:00
Patrick Jentsch
2af6daccf2 switch parallax images so that the code image is displayed when the user is logged in 2020-05-19 14:39:23 +02:00
Patrick Jentsch
b93bcb36f7 update 2020-05-19 14:27:35 +02:00
Patrick Jentsch
ddfa0f47bf Add new config variable and rename opaque_domain -> nopaque_domain 2020-05-19 14:19:23 +02:00
Patrick Jentsch
94a193f6dd Add legal notice and gitlab link as button 2020-05-19 10:25:16 +02:00
Patrick Jentsch
c93d641fe4 Let daemon depend on web container, to make sure that db migrations are applied before daemon starts. 2020-05-19 09:27:21 +02:00
Stephan Porada
6f842a1092 Remove unnecessary deletes which hare handled by cascade options 2020-05-18 14:53:31 +02:00
Stephan Porada
22114dd464 Add all necessary models to flask shell context 2020-05-18 14:47:04 +02:00
Stephan Porada
8f4cd9a375 Add additional new __repr_ function 2020-05-18 13:46:12 +02:00
Stephan Porada
243eba2f78 Add new __repr__ function. 2020-05-18 11:59:19 +02:00
Stephan Porada
6e81e424c4 Merge branch 'development' of gitlab.ub.uni-bielefeld.de:sfb1288inf/opaque into development 2020-05-15 15:07:50 +02:00
Stephan Porada
9ce00ff5e0 Merge notify into daemon 2020-05-15 14:43:12 +02:00
Stephan Porada
7a6cbccbd2 First working mail notification system 2020-05-14 15:30:13 +02:00
Patrick Jentsch
3d41b18daf Jobpage rework 2020-05-13 16:36:06 +02:00
Stephan Porada
2b9d098857 Add notification service 2020-05-11 16:09:18 +02:00
Stephan Porada
07c104196f Add Notification model 2020-05-11 16:09:09 +02:00
Stephan Porada
cb8f3faae0 Add curren ttoken and max token nr 2020-05-04 12:08:43 +02:00
Stephan Porada
c49684611a Add more metadata 2020-05-04 11:05:17 +02:00
Stephan Porada
58295b986d Rename some things. Add metadata to downloadable json 2020-04-30 15:21:55 +02:00
Stephan Porada
1350e6ddd6 Add metadata object on analysis 2020-04-30 14:45:54 +02:00
Patrick Jentsch
a17771a772 Better comments 2020-04-30 12:56:59 +02:00
Patrick Jentsch
08b909b9a8 Add new field to dict method. Always keep in mind to do this, when you or modify a field. 2020-04-30 11:32:48 +02:00
Patrick Jentsch
f87fe589c1 Merge branch 'development' of gitlab.ub.uni-bielefeld.de:sfb1288inf/opaque into development 2020-04-30 11:29:01 +02:00
Patrick Jentsch
e1b07d8719 Handle user data streams different 1/2
In the future this will be much more performant!
2020-04-30 11:28:55 +02:00
Stephan Porada
d4318cb205 Merge branch 'development' of gitlab.ub.uni-bielefeld.de:sfb1288inf/opaque into development 2020-04-29 16:15:12 +02:00
Stephan Porada
d54a3d3f33 First metadata addition 2020-04-29 16:15:11 +02:00
Patrick Jentsch
b7fc804b40 Sort things a bit... this should get improved in the future 2020-04-29 12:17:16 +02:00
Patrick Jentsch
2ceb53cac1 remove double '#' 2020-04-28 17:22:43 +02:00
Patrick Jentsch
e92d43eed0 Better wording 2020-04-28 17:19:48 +02:00
Patrick Jentsch
4d677244e0 Some styling 2020-04-28 16:33:47 +02:00
Patrick Jentsch
86c4b77085 Merge branch 'development' of gitlab.ub.uni-bielefeld.de:sfb1288inf/opaque into development 2020-04-28 11:20:41 +02:00
Patrick Jentsch
7f06dc5ff6 Add settings for https 2020-04-28 11:20:35 +02:00