Commit Graph
100 Commits
Author SHA1 Message Date
Patrick Jentsch d269249db0 Only use one generic function for socketio background tasks and rename the socketio event (it's no connect so don't name it like one) 2019-09-18 14:05:56 +02:00
Patrick Jentsch f9649af08d Make CorpusList class ready for admin view. 2019-09-18 11:35:25 +02:00
Patrick Jentsch b90d6114b0 Make JobList class ready for admin view. 2019-09-18 11:32:35 +02:00
Patrick Jentsch d7e71638a2 Update progress modal 2019-09-17 16:15:37 +02:00
Patrick Jentsch 683b59bb47 Add function to cancel file upload. 2019-09-17 14:20:15 +02:00
Patrick Jentsch 07c4e31510 Use modals instead of toasts for progress indication. 2019-09-17 10:56:56 +02:00
Patrick Jentsch 70c97d44f9 Merge branch 'development' of gitlab.ub.uni-bielefeld.de:sfb1288inf/opaque into development 2019-09-17 10:00:45 +02:00
Patrick Jentsch 3cacdf8185 Set version for latest. 2019-09-17 10:00:39 +02:00
Patrick Jentsch 373c7ed4d9 Update .gitlab-ci.yml 2019-09-16 15:58:42 +02:00
Patrick Jentsch 9005c583ca Add progress bar for file upload. 2019-09-16 12:12:42 +02:00
Patrick Jentsch 22a1223258 Codestyle 2019-09-13 14:02:17 +02:00
Patrick Jentsch 1118beaf61 Add storage as volume 2019-09-13 14:01:57 +02:00
Patrick Jentsch 3913663c56 Don't use migrate in setup-database routine. 2019-09-13 09:35:20 +02:00
Patrick Jentsch 6333c88d36 Add new migrations. 2019-09-13 09:32:30 +02:00
Patrick Jentsch a1386c3e0b Delete migrations from repo 2019-09-13 09:27:01 +02:00
Patrick Jentsch 3a5725d943 Update .gitignore 2019-09-13 09:25:39 +02:00
Patrick Jentsch f32f3c7fa6 Use logging again 2019-09-13 09:22:10 +02:00
Patrick Jentsch df0e677198 Comment out logger code. 2019-09-13 08:49:23 +02:00
Patrick Jentsch 591850bbfd Set unbuffered binary stdout and stderr. 2019-09-13 08:49:00 +02:00
Patrick Jentsch c51a9492f3 Add switch for binarization 2019-09-12 16:00:48 +02:00
Patrick Jentsch 6cf12fa799 Don't show character counter for EMail adresses. 2019-09-12 14:26:53 +02:00
Patrick Jentsch 3bb900c7eb Merge branch 'development' of gitlab.ub.uni-bielefeld.de:sfb1288inf/opaque into development 2019-09-12 14:25:08 +02:00
Patrick Jentsch 36f10d51ee Show character counters on register page. 2019-09-12 14:25:03 +02:00
Patrick Jentsch f0197b5af6 Allow Emails to be 254 characters long. 2019-09-12 14:24:43 +02:00
Patrick Jentsch c6597d4e37 Add character counter for corpus form. 2019-09-12 12:05:59 +02:00
Patrick Jentsch 16fad5bb2d Add character counter to job forms. 2019-09-12 11:12:59 +02:00
Patrick Jentsch 129ee05b51 Fix path fix 2019-09-11 16:35:05 +02:00
Patrick Jentsch 437f284dd6 Merge branch 'development' of gitlab.ub.uni-bielefeld.de:sfb1288inf/opaque into development 2019-09-11 16:28:00 +02:00
Patrick Jentsch 3d93b033a2 Change log directory location 2019-09-11 16:27:54 +02:00
Patrick Jentsch 8115c8b755 Add Version selection to NLP 2019-09-11 15:40:37 +02:00
Patrick Jentsch dd7ef2a113 Fix wrong path. 2019-09-11 14:55:26 +02:00
Patrick Jentsch 53428a01bb Add workflow dummy entry. 2019-09-11 10:00:52 +02:00
Patrick Jentsch 1960b14d9d Re- rename edit_profile to settings 2019-09-11 09:47:26 +02:00
Patrick Jentsch 15a418cf7c Add navigation highlighting. 2019-09-10 16:09:35 +02:00
Patrick Jentsch 51d2623e2e Merge branch 'development' of gitlab.ub.uni-bielefeld.de:sfb1288inf/opaque into development 2019-09-10 15:10:21 +02:00
Patrick Jentsch cc9460c901 Add Account navigation links for medium and small devices. 2019-09-10 15:10:16 +02:00
Patrick Jentsch 48b5b09db1 Show locale time representation at corpus/job pages. 2019-09-10 13:40:26 +02:00
Patrick Jentsch f87363ac13 Remove debug message. 2019-09-10 13:39:50 +02:00
Patrick Jentsch 97517339ff Merge branch 'development' of gitlab.ub.uni-bielefeld.de:sfb1288inf/opaque into development 2019-09-09 15:21:35 +02:00
Patrick Jentsch 863db0a540 New storage path 2019-09-09 15:21:29 +02:00
Patrick Jentsch 295ed49799 Don't use named volumes. 2019-09-09 14:58:49 +02:00
Patrick Jentsch dc975935ca Use named volume for database 2019-09-09 12:05:36 +02:00
Patrick Jentsch 50a31967f2 Make compose file swarm ready. 2019-09-09 10:49:17 +02:00
Patrick Jentsch a8395740b8 Merge branch 'development' of gitlab.ub.uni-bielefeld.de:sfb1288inf/opaque into development 2019-09-09 09:12:55 +02:00
Patrick Jentsch cfc35b5ae7 After dockerization there are no __pycache__ directories. So we don't need to ignore them anymore. 2019-09-09 09:12:52 +02:00
Patrick Jentsch 28bf3b3c1d After dockerization there are no __pycache__ directories. So we don't need to ignore them anymore. 2019-09-06 14:59:32 +02:00
Patrick Jentsch d87c424ee7 Rename env files to match the service naming scheme. 2019-09-06 14:23:58 +02:00
Patrick Jentsch 94a1c61a0f Add code as volume to enable live changes. 2019-09-06 14:00:16 +02:00
Patrick Jentsch 25cb960198 Rename services in compose. 2019-09-06 13:42:47 +02:00
Patrick Jentsch 444e1221df Rename *_env -> *.env 2019-09-06 13:11:32 +02:00
Patrick Jentsch a6fc0c7826 Rename examples to tpl files. 2019-09-06 13:03:59 +02:00
Patrick Jentsch 339e6b8de9 Add migrations directory to repo 2019-09-06 13:03:45 +02:00
Patrick Jentsch fc69eedfea Add CI script 2019-09-06 13:00:11 +02:00
Patrick Jentsch b9a8c63aee Dockerize the Application. 2019-09-06 11:38:35 +02: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
Patrick Jentsch e9da8befd4 Remove merge marker and readd TestingConfig class. 2019-09-05 14:49:59 +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 0f0c40951b Use fix path! 2019-09-05 12:00:31 +02:00
Patrick Jentsch 78499ee731 Remove unused (since flask-socketio) FLASK_ENV variable. 2019-09-05 10:20:41 +02:00
Patrick Jentsch 78710ed58a Add config selection to .env example. 2019-09-05 10:20:18 +02:00
Patrick Jentsch 40809d9c7b Change setting names. 2019-09-05 10:12:40 +02:00
Patrick Jentsch a05e37ddb6 Add .env example file. 2019-09-05 10:12:27 +02:00
Patrick Jentsch f2806f9473 Codestyle. 2019-09-04 16:00:14 +02:00
Patrick Jentsch 3b57211da9 Merge branch 'development' of gitlab.ub.uni-bielefeld.de:sfb1288inf/opaque into development 2019-09-04 14:53:25 +02:00
Patrick Jentsch 64475afc41 Change file download view. 2019-09-04 14:53:23 +02:00
Patrick Jentsch bb26cba009 Codestyle. 2019-09-04 14:01:20 +02:00
Patrick Jentsch aa23cf04b5 Small restructore of the design. 2019-09-04 13:51:21 +02:00
Patrick Jentsch 5952db0b4a Change how the job id is obtained. 2019-09-03 16:06:15 +02:00
Patrick Jentsch 633bd58087 Codestyle. 2019-09-03 09:07:09 +02:00
Patrick Jentsch b904ee1e1c Change end-date value correctly. 2019-09-02 15:37:36 +02:00
Patrick Jentsch 8ed7697a63 Add live information updates to job page. 2019-09-02 15:25:30 +02:00
Patrick Jentsch bec48e5f39 Fix method naming and add Animations.js to base template. 2019-09-02 15:24:39 +02:00
Patrick Jentsch ff837aa943 Don't use extra variable for one-time use. 2019-09-02 15:24:09 +02:00
Patrick Jentsch d30980bfa9 Add Animations class, including pulse. 2019-09-02 15:22:26 +02:00
Patrick Jentsch 6ed260b065 Remove unused import. 2019-09-02 10:59:13 +02:00
Patrick Jentsch ade6d12eeb Codestyle 2019-09-02 10:42:43 +02:00
Patrick Jentsch e658d2bbd0 Don't create new app instance for background tasks. Reuse the old one! 2019-09-02 10:42:28 +02:00
Patrick Jentsch 565d273dd4 Add comment and remove debug code. 2019-09-02 09:17:13 +02:00
Patrick Jentsch 6f4b9efa25 Add some comments and remove debug code. 2019-09-02 09:17:00 +02:00
Patrick Jentsch 7d4a1e6d37 Remove old scheduler code. 2019-08-30 14:00:08 +02:00
Patrick Jentsch 8f3c53dad2 Use JSON patch the correct way! 2019-08-30 13:31:00 +02:00
Patrick Jentsch 7702de8770 (Re)Implement live update of corpus and job lists. 2019-08-29 15:12:08 +02:00
Patrick Jentsch 1955d3c015 Remove old note. 2019-08-29 12:01:09 +02:00
Patrick Jentsch 876eb465b8 Add client side event handlers for update-* events. 2019-08-29 11:37:00 +02:00
Patrick Jentsch cf56394441 Remove unused imports. 2019-08-29 11:06:32 +02:00
Patrick Jentsch 0d3f54d655 Implement JSON patches for corpus and job lists. 2019-08-29 10:42:53 +02:00
Patrick Jentsch 98de581132 Cleanup special list classes. 2019-08-28 17:31:09 +02:00
Patrick Jentsch 52bd8ec94e Add background task to handle data changes for corpora and jobs via socketio. 2019-08-28 17:27:43 +02:00
Patrick Jentsch b48e74f560 Integrate the possibility to create a minimal app for auxillary functions. 2019-08-28 17:19:08 +02:00
Patrick Jentsch 82f81c62ac Apply monkey patch to all modules supported by eventlet. 2019-08-28 09:49:25 +02:00
Patrick Jentsch b580f9cb9f Disable scheduler. 2019-08-28 09:48:10 +02:00
Patrick Jentsch 064481d1bd Do not apply eventlets monkey patch to the thread module. 2019-08-27 10:41:01 +02:00
Patrick Jentsch d34447686b Move socketio event handlers in seperate file. 2019-08-27 10:40:29 +02:00
Patrick Jentsch fcd797b28d Add redis to requirements. 2019-08-27 09:28:14 +02:00
Patrick Jentsch 9a9e3ebf73 Add socket.io.js.map to fix the client-side "not found" error 2019-08-27 09:27:40 +02:00
Patrick Jentsch dd2fcaa28d Some updates for README 2019-08-26 10:26:37 +02:00
Patrick Jentsch d435a2417f Codestyle. 2019-08-26 10:02:45 +02:00
Patrick Jentsch 4d90b552d0 Remove default values. 2019-08-26 09:57:26 +02:00
Patrick Jentsch 7aef3de81d Stop polling. Use SocketIO! 2019-08-23 15:05:01 +02:00