Commit Graph
100 Commits
Author SHA1 Message Date
Patrick Jentsch 154631dcb4 Add placeholder to indicate required file types in forms 2020-04-23 12:39:59 +02:00
Patrick Jentsch bbcf5c5312 Add some documentation 2020-04-23 09:40:43 +02:00
Patrick Jentsch 3a989534cf Make the app arg in @background functions a bit less magical 2020-04-23 08:35:18 +02:00
Patrick Jentsch 83c05d93b0 Make delete user function a background task 2020-04-23 08:24:11 +02:00
Patrick Jentsch edc0b34032 Process corpus files in task, not in database model 2020-04-23 07:56:23 +02:00
Patrick Jentsch bb8a542eed Small fixes 2020-04-22 09:29:45 +02:00
Patrick Jentsch 60cc93a806 Merge branch 'development' of gitlab.ub.uni-bielefeld.de:sfb1288inf/opaque into development 2020-04-21 18:34:27 +02:00
Patrick Jentsch bc27744946 Create and use a decorator for background functions 2020-04-21 18:34:21 +02:00
Patrick Jentsch 79c9ca97b2 Fix Typos 2020-04-21 10:28:04 +02:00
Patrick Jentsch 29f1be5c80 Delete functions should not throw an error, if the ressource does not exists. -> Consider it as deleted if does not exist 2020-04-21 10:27:42 +02:00
Patrick Jentsch e83c762551 Merge branch 'development' of gitlab.ub.uni-bielefeld.de:sfb1288inf/opaque into development 2020-04-21 10:26:49 +02:00
Patrick Jentsch 461f80be20 Change email function names 2020-04-21 10:26:44 +02:00
Patrick Jentsch 716e1c357a fix typo in env.tpl 2020-04-20 14:47:39 +02:00
Patrick Jentsch d16e749ee7 Merge branch 'development' of gitlab.ub.uni-bielefeld.de:sfb1288inf/opaque into development 2020-04-20 14:24:41 +02:00
Patrick Jentsch 7dd27fb007 Change some email settings. MAIL_DEFAULT_SENDER removed. 2020-04-20 14:24:36 +02:00
Patrick Jentsch 8a9db7f4b8 Add validation flag if field is required. 2020-04-20 11:12:20 +02:00
Patrick Jentsch 339107fd08 Fix Ports 2020-04-20 10:40:10 +02:00
Patrick Jentsch 889976dc9b Merge branch 'development' of gitlab.ub.uni-bielefeld.de:sfb1288inf/opaque into development 2020-04-20 10:11:51 +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 f91583484e Simplify the deployment process. You don't need to use 'flask db upgrade' or 'flask insert-initial-database-entries' anymore. Instead you just need to use 'flask deploy'. 2020-04-20 08:56:49 +02:00
Patrick Jentsch 188aeae88f Fix wrong macro usage. 2020-04-17 19:50:21 +02:00
Patrick Jentsch 5fa1ba385b Update 2020-04-17 16:00:40 +02:00
Patrick Jentsch b9ebb64fcc Change macro names 2020-04-17 11:13:11 +02:00
Patrick Jentsch 1f0a87a474 Merge branch 'development' of gitlab.ub.uni-bielefeld.de:sfb1288inf/opaque into development 2020-04-17 11:07:47 +02:00
Patrick Jentsch 3aafe664a3 Add macros and use them 2020-04-17 11:04:09 +02:00
Patrick Jentsch 23ffbe5f6b Fix link after service renaming (file-setup) 2020-04-16 13:48:31 +02:00
Patrick Jentsch 6177093a51 Set characters according to metadata label 2020-04-16 13:47:52 +02:00
Patrick Jentsch 72e585395b status update handling for corpus list 2020-04-16 13:28:09 +02:00
Patrick Jentsch f356d4bb89 Naming... 2020-04-16 10:21:22 +02:00
Patrick Jentsch 8cec7b2d3a Merge branch 'development' of gitlab.ub.uni-bielefeld.de:sfb1288inf/opaque into development 2020-04-16 09:40:45 +02:00
Patrick Jentsch fede774196 Change nopaque upload forms. Add corpus file form has an upload progress bar now. 2020-04-16 09:40:38 +02:00
Patrick Jentsch 20d4d1c0b3 Merge branch 'development' of gitlab.ub.uni-bielefeld.de:sfb1288inf/opaque into development 2020-04-15 14:57:19 +02:00
Patrick Jentsch f264b27ae5 Change validation process (currently broken) 2020-04-15 14:57:17 +02:00
Patrick Jentsch b1d819444e corpus page: Only show compile buttons if corpus is unprepared AND has files. 2020-04-15 14:30:41 +02:00
Patrick Jentsch b251f9993d Add message if corpus is empty 2020-04-15 12:49:26 +02:00
Patrick Jentsch bbccbcfcd2 Merge branch 'development' of gitlab.ub.uni-bielefeld.de:sfb1288inf/opaque into development 2020-04-15 10:32:27 +02:00
Patrick Jentsch 338e760bfb Hide analyze button if corpus is not ready for this 2020-04-15 10:32:21 +02:00
Patrick Jentsch 7c8ae161a9 Fix context size and codestyle 2020-04-14 09:51:33 +02:00
Patrick Jentsch 9a1efbe5f3 corpus logic 2020-04-09 15:14:39 +02:00
Patrick Jentsch 860e99dfcb Merge branch 'development' of gitlab.ub.uni-bielefeld.de:sfb1288inf/opaque into development 2020-04-09 14:50:26 +02:00
Patrick Jentsch b274fd1d20 Change some logic for showing/hiding buttons 2020-04-09 14:50:20 +02:00
Patrick Jentsch 33e9e40c61 new names 2020-04-09 08:18:04 +02:00
Patrick Jentsch 0f28b6296d Remove hardcoded values 2020-04-09 07:57:52 +02:00
Patrick Jentsch ca833c966a fixes and doc 2020-04-07 16:36:27 +02:00
Patrick Jentsch 08dba25de3 fix 2020-04-07 16:30:27 +02:00
Patrick Jentsch a1cdfd498a Remove wrapper 2020-04-07 16:27:28 +02:00
Patrick Jentsch 83a607728d cqi package update and changes to match the new functions 2020-04-07 16:25:44 +02:00
Patrick Jentsch 606c4dee85 CQi updates 2020-04-06 14:53:50 +02:00
Patrick Jentsch 38e1408e01 quick fix 2020-04-06 12:01:36 +02:00
Patrick Jentsch 9dace02378 Fix missing icon after renaming setup_files to file_setup 2020-04-06 10:04:54 +02:00
Patrick Jentsch d36346033b Bump version 2020-04-06 09:46:09 +02:00
Patrick Jentsch 2896f94e8d Add changes for new file_setup Pipeline 2020-04-03 18:49:45 +02:00
Patrick Jentsch 9da08508c0 Add changes for new OCR and NLP Pipelines 2020-04-03 17:36:38 +02:00
Patrick Jentsch 848bc90b0c Bugfix 2020-04-02 10:43:01 +02:00
Patrick Jentsch b8a086f389 Set list/range flag in events.py instead of the export function 2020-04-02 10:36:59 +02:00
Patrick Jentsch 452fb37b99 Merge branch 'development' of gitlab.ub.uni-bielefeld.de:sfb1288inf/opaque into development 2020-04-02 10:14:49 +02:00
Patrick Jentsch 6a5621b753 Add Flag to indicate if cpos lists are saved as ranges or lists. 2020-04-02 10:14:43 +02:00
Patrick Jentsch bfd7591f4d add comment 2020-04-01 14:27:01 +02:00
Patrick Jentsch 37526a6b43 Use expanded List 2020-04-01 14:25:49 +02:00
Patrick Jentsch 257549bf69 Use Traefik for reverse proxy! :) 2020-03-30 17:27:54 +02:00
Patrick Jentsch 9ced65f34c Force socketio to use websockets 2020-03-30 17:27:24 +02:00
Patrick Jentsch f605430bf8 Show progress bar after new query 2020-03-30 10:47:36 +02:00
Patrick Jentsch 4556a52ffc Abort transmission after disconnect 2020-03-30 09:01:40 +02:00
Patrick Jentsch 0be0e12aee add simple status check 2020-03-30 08:36:55 +02:00
Patrick Jentsch 6e3579b33f Update 2020-03-29 20:54:51 +02:00
Patrick Jentsch 4ff372de77 small updates 2020-03-29 20:33:00 +02:00
Patrick Jentsch d07b73781f Update 2020-03-29 19:40:29 +02:00
Patrick Jentsch f7692102a5 Update 2020-03-29 12:38:24 +02:00
Patrick Jentsch 2db9677659 Make it work again 2020-03-28 20:45:33 +01:00
Patrick Jentsch e3fde2d5c9 compatibility fixes and add reimplementations 2020-03-28 19:29:19 +01:00
Patrick Jentsch 970d7024e0 Wrap socket usage in DOMContentLoaded eventlistener 2020-03-28 11:57:12 +01:00
Patrick Jentsch a51394dddd Update cqi package 2020-03-28 11:56:01 +01:00
Patrick Jentsch 97fb8ded9a fix 2020-03-27 12:52:17 +01:00
Patrick Jentsch f09c4d15f6 Ignore all errors 2020-03-27 12:43:38 +01:00
Patrick Jentsch 4294c2854b Make inner package imports relative 2020-03-27 12:06:11 +01:00
Patrick Jentsch 3bbe45d015 remove legacy code 2020-03-27 10:32:33 +01:00
Patrick Jentsch 3ea1f4bd9f Rename nopaque.toast to nopaque.flash which offers styling by categories 2020-03-27 10:32:14 +01:00
Patrick Jentsch b0c2415f55 Codestyle++ 2020-03-27 10:13:42 +01:00
Patrick Jentsch ca8d438e79 Change how flashed messages are processed 2020-03-27 10:11:19 +01:00
Patrick Jentsch 4af7d8d4ba Update darkreader 2020-03-27 10:10:49 +01:00
Patrick Jentsch 8bedbfeae5 Use slim socketio again (this time with .map file) change socket behavior 2020-03-26 17:32:26 +01:00
Patrick Jentsch d6206bef34 Add mac os files to .gitignore 2020-03-26 17:31:39 +01:00
Patrick Jentsch eba6af3b1e Replace the default function decorators with new socketio specific ones 2020-03-26 16:14:09 +01:00
Patrick Jentsch 0db99e33fe Update cqi package 2020-03-25 15:39:32 +01:00
Patrick Jentsch 94e71b41df fix empty matches error 2020-03-23 11:24:39 +01:00
Patrick Jentsch e99053e3cf rename 2020-03-23 11:18:27 +01:00
Patrick Jentsch 303ea166d2 fix num matches 2020-03-23 11:17:37 +01:00
Patrick Jentsch e13ed86d29 new style 2020-03-23 10:28:07 +01:00
Patrick Jentsch acfcc0321b Add package implementation of cqi 2020-03-23 09:10:35 +01:00
Patrick Jentsch 7752e7fb57 Add changes from cqiclient repository 2020-03-20 15:12:19 +01:00
Patrick Jentsch 4c67777977 Add privacy 2020-03-18 14:44:15 +01:00
Patrick Jentsch 6414ab36bf Merge branch 'development' of gitlab.ub.uni-bielefeld.de:sfb1288inf/opaque into development 2020-03-16 16:25:12 +01:00
Patrick Jentsch 63600c1301 Remove debug messages. 2020-03-16 16:25:08 +01:00
Patrick Jentsch 37d2e8f38e Merge branch 'development' of gitlab.ub.uni-bielefeld.de:sfb1288inf/opaque into development 2020-03-16 13:15:25 +01:00
Patrick Jentsch b8437735b4 Defensive programming inc 2020-03-16 13:15:13 +01:00
Patrick Jentsch 467080c7f8 Update UI 2020-03-07 20:20:58 +01:00
Patrick Jentsch 69de8e9369 update 2020-02-10 16:07:26 +01:00
Patrick Jentsch f3ea822108 Change poster page 2020-02-10 16:06:08 +01:00
Patrick Jentsch cc1ff6e685 Revert index page 2020-02-10 16:06:01 +01:00
Patrick Jentsch ef64280a2b Add poster option 2020-02-10 14:05:47 +01:00