Commit Graph

  • c5dbc7db7f Remove old Job definitions Stephan Porada 2019-09-04 14:50:18 +0200
  • bb26cba009 Codestyle. Patrick Jentsch 2019-09-04 14:01:20 +0200
  • aa23cf04b5 Small restructore of the design. Patrick Jentsch 2019-09-04 13:51:21 +0200
  • 5952db0b4a Change how the job id is obtained. Patrick Jentsch 2019-09-03 16:06:15 +0200
  • 4dc331b2fe Add corpus page. Patrick Jentsch 2019-09-03 15:58:40 +0200
  • 633bd58087 Codestyle. Patrick Jentsch 2019-09-03 09:07:09 +0200
  • b904ee1e1c Change end-date value correctly. Patrick Jentsch 2019-09-02 15:37:36 +0200
  • 8ed7697a63 Add live information updates to job page. Patrick Jentsch 2019-09-02 15:25:30 +0200
  • bec48e5f39 Fix method naming and add Animations.js to base template. Patrick Jentsch 2019-09-02 15:24:39 +0200
  • ff837aa943 Don't use extra variable for one-time use. Patrick Jentsch 2019-09-02 15:24:09 +0200
  • d30980bfa9 Add Animations class, including pulse. Patrick Jentsch 2019-09-02 15:22:26 +0200
  • 6ed260b065 Remove unused import. Patrick Jentsch 2019-09-02 10:59:13 +0200
  • ade6d12eeb Codestyle Patrick Jentsch 2019-09-02 10:42:43 +0200
  • e658d2bbd0 Don't create new app instance for background tasks. Reuse the old one! Patrick Jentsch 2019-09-02 10:42:28 +0200
  • 565d273dd4 Add comment and remove debug code. Patrick Jentsch 2019-09-02 09:17:13 +0200
  • 6f4b9efa25 Add some comments and remove debug code. Patrick Jentsch 2019-09-02 09:17:00 +0200
  • 7d4a1e6d37 Remove old scheduler code. Patrick Jentsch 2019-08-30 14:00:08 +0200
  • 8f3c53dad2 Use JSON patch the correct way! Patrick Jentsch 2019-08-30 13:31:00 +0200
  • 7702de8770 (Re)Implement live update of corpus and job lists. Patrick Jentsch 2019-08-29 15:12:08 +0200
  • 1955d3c015 Remove old note. Patrick Jentsch 2019-08-29 12:01:09 +0200
  • 876eb465b8 Add client side event handlers for update-* events. Patrick Jentsch 2019-08-29 11:37:00 +0200
  • cf56394441 Remove unused imports. Patrick Jentsch 2019-08-29 11:06:32 +0200
  • 0d3f54d655 Implement JSON patches for corpus and job lists. Patrick Jentsch 2019-08-29 10:42:53 +0200
  • 98de581132 Cleanup special list classes. Patrick Jentsch 2019-08-28 17:31:09 +0200
  • 52bd8ec94e Add background task to handle data changes for corpora and jobs via socketio. Patrick Jentsch 2019-08-28 17:27:43 +0200
  • b48e74f560 Integrate the possibility to create a minimal app for auxillary functions. Patrick Jentsch 2019-08-28 17:19:08 +0200
  • e5ea98510e Merge branch 'development' of gitlab.ub.uni-bielefeld.de:sfb1288inf/opaque into development Stephan Porada 2019-08-28 10:54:50 +0200
  • 417a00269d Comment out scheduler. Stephan Porada 2019-08-28 10:54:48 +0200
  • 82f81c62ac Apply monkey patch to all modules supported by eventlet. Patrick Jentsch 2019-08-28 09:49:25 +0200
  • b580f9cb9f Disable scheduler. Patrick Jentsch 2019-08-28 09:48:10 +0200
  • 064481d1bd Do not apply eventlets monkey patch to the thread module. Patrick Jentsch 2019-08-27 10:41:01 +0200
  • d34447686b Move socketio event handlers in seperate file. Patrick Jentsch 2019-08-27 10:40:29 +0200
  • fcd797b28d Add redis to requirements. Patrick Jentsch 2019-08-27 09:28:14 +0200
  • 9a9e3ebf73 Add socket.io.js.map to fix the client-side "not found" error Patrick Jentsch 2019-08-27 09:27:40 +0200
  • 9f011b27c3 Add redis message qeue Stephan Porada 2019-08-26 14:21:06 +0200
  • 5771fb8ae7 Update README.md Stephan Porada 2019-08-26 14:09:43 +0200
  • dd2fcaa28d Some updates for README Patrick Jentsch 2019-08-26 10:26:37 +0200
  • d435a2417f Codestyle. Patrick Jentsch 2019-08-26 10:02:45 +0200
  • 4d90b552d0 Remove default values. Patrick Jentsch 2019-08-26 09:57:26 +0200
  • 7aef3de81d Stop polling. Use SocketIO! Patrick Jentsch 2019-08-23 15:05:01 +0200
  • 3d8b8e9182 Merge branch 'socketio' into 'development' Patrick Jentsch 2019-08-22 15:16:55 +0200
  • 9f215d7613 Add socketio javascript Patrick Jentsch 2019-08-22 15:13:10 +0200
  • a44407255b Load .env file manually because socketio.run does not load it for you. Patrick Jentsch 2019-08-22 14:20:54 +0200
  • a5f1336847 Reenable FLASK_APP environment variable. Patrick Jentsch 2019-08-22 09:43:51 +0200
  • 47ab22c534 Codestyle Patrick Jentsch 2019-08-22 09:35:23 +0200
  • 19f60cfd0f Codestyle and new python package versions. Patrick Jentsch 2019-08-22 09:33:34 +0200
  • bfe28eca61 Add socketio. Patrick Jentsch 2019-08-21 14:41:38 +0200
  • 3a6fdaa24b Catch more exceptions. Patrick Jentsch 2019-08-21 11:40:09 +0200
  • be0241519d Don't save job filtered job lists in variables. Handle service not found error. Patrick Jentsch 2019-08-21 08:37:10 +0200
  • a86ae5c75c Use minimal list.js file. Patrick Jentsch 2019-08-20 16:12:03 +0200
  • 6975076fc3 Remove ugly workaround for scheduler function. Now the current app_context is used, instead of creating a new app instance. Patrick Jentsch 2019-08-20 15:57:58 +0200
  • 5ff2ef9301 Use custom List classes for corpora and job lists. Patrick Jentsch 2019-08-20 11:24:52 +0200
  • 74c863e0f7 Only handle difference of changes to the job list. Patrick Jentsch 2019-08-19 17:09:01 +0200
  • 5ba08a21f4 Add jsondiffpatch. Patrick Jentsch 2019-08-19 17:08:27 +0200
  • 8a49b8c871 Add jsondiffpatch. Patrick Jentsch 2019-08-19 17:08:16 +0200
  • 025c51646c Add javascript code for polling with update subscibers. Patrick Jentsch 2019-08-16 14:54:29 +0200
  • 6d0096c2cc Renome to_jsonifyable method to to_dict Patrick Jentsch 2019-08-16 14:53:59 +0200
  • 22f6c6b4b6 Addition to last commit. Patrick Jentsch 2019-08-16 09:49:47 +0200
  • 4a5804460f Add admin functions to api. Add to_jsonifyable method to Job and Corpus and use it in API. Patrick Jentsch 2019-08-16 09:49:27 +0200
  • 2832dd8b6f Merge branch 'development' of gitlab.ub.uni-bielefeld.de:sfb1288inf/opaque into development Stephan Porada 2019-08-15 15:57:40 +0200
  • 388efbbd73 Add cascade deletion of jobs and corpora on user delete. Stephan Porada 2019-08-15 15:57:27 +0200
  • bccf661957 Add new admin blueprint with new user delete feature. Reorganize templates etc. Stephan Porada 2019-08-15 15:56:53 +0200
  • 99614a56a9 Add switch for admins to get all jobs (of all users) Patrick Jentsch 2019-08-15 13:33:15 +0200
  • 4ffb10fd11 Return 404 if requested ressource does not exist. Patrick Jentsch 2019-08-15 12:09:00 +0200
  • 22f47e3213 Add information to README. Patrick Jentsch 2019-08-15 12:03:16 +0200
  • 6bc1ef94dc Add api blueprint. Patrick Jentsch 2019-08-15 12:02:50 +0200
  • 93330c0efb Remove api routes from main package. Patrick Jentsch 2019-08-15 11:48:14 +0200
  • 47c3edeb7f Toggle paginations if one or less items are displayed. Patrick Jentsch 2019-08-14 16:59:39 +0200
  • ea399d2cdc Add api endpoints for testing. Patrick Jentsch 2019-08-14 16:59:15 +0200
  • b0c2f69568 Rename scheduler function Patrick Jentsch 2019-08-13 14:27:02 +0200
  • e3ceb19f7a Name docker client like mentioned in the api docs Patrick Jentsch 2019-08-13 14:21:54 +0200
  • db0c2532ad Use Flask-APScheduler. Move docker swarm logic to scheduler. Patrick Jentsch 2019-08-13 14:10:50 +0200
  • 1fa9cbc586 pass job object instead of id. Patrick Jentsch 2019-08-12 19:34:41 +0200
  • a5687a3f1b Use scoped_session correctly. Patrick Jentsch 2019-08-12 19:34:24 +0200
  • faf54e57fa Use APScheduler to handle job execution. Patrick Jentsch 2019-08-12 17:03:12 +0200
  • 344ba1a8e2 Add download helper for dev process Patrick Jentsch 2019-08-12 10:37:02 +0200
  • fa2827608c Add download helper for dev process. Patrick Jentsch 2019-08-12 10:36:51 +0200
  • e00d34ef81 Only use one file list. Patrick Jentsch 2019-08-12 09:51:32 +0200
  • 759a29362c Increase desription length for corpora. Patrick Jentsch 2019-08-12 08:57:21 +0200
  • ad8a8a4696 use job id for swarm run instead of job object Patrick Jentsch 2019-08-11 19:01:19 +0200
  • a302d08405 Add infos to job model and show them on the job info pages. Patrick Jentsch 2019-08-09 15:59:53 +0200
  • 359baf0297 Change job template. Patrick Jentsch 2019-08-09 11:49:09 +0200
  • a82b7292ed Change job model. Patrick Jentsch 2019-08-09 11:48:43 +0200
  • 50273ea4d1 Use links as list items for corpora and jobs. Add colors for service types. Link jobs to job page. Patrick Jentsch 2019-08-09 10:16:31 +0200
  • 136f2ee2b2 Add description for nlp (for now only german). Patrick Jentsch 2019-08-09 10:15:51 +0200
  • 4d99c52983 Only use job_id as service name. Patrick Jentsch 2019-08-09 09:13:24 +0200
  • 1d6f1a8933 Update ressource requirements. Patrick Jentsch 2019-08-09 09:13:12 +0200
  • 388e0433fd Add searchable User table. Stephan Porada 2019-08-08 16:06:41 +0200
  • 14b64f86ba Add pagination and search to dashboard. Patrick Jentsch 2019-08-08 15:28:15 +0200
  • f415d4ea9c Merge branch 'development' of gitlab.ub.uni-bielefeld.de:sfb1288inf/opaque into development Patrick Jentsch 2019-08-08 14:28:27 +0200
  • 12d9ac8727 Add list.js to base template. Patrick Jentsch 2019-08-08 14:28:16 +0200
  • a52ed253c0 Remove Jaas add Python 3.5 Stephan Porada 2019-08-08 13:46:55 +0200
  • 01c5b3603e Remove job from database if an error occurs. Remove job object from session before thread starts. Patrick Jentsch 2019-08-08 12:06:01 +0200
  • 202ade92e9 Set name for swarm service. Patrick Jentsch 2019-08-08 12:01:55 +0200
  • 75b587e693 Remove redundant add to session. Patrick Jentsch 2019-08-07 16:03:24 +0200
  • c291fac22f Add dummy text to job section Patrick Jentsch 2019-08-07 15:53:37 +0200
  • 6f8cef26e4 Map task states to job status. Colorize status badges on dashboard. Patrick Jentsch 2019-08-07 15:01:37 +0200
  • 267f86d342 Remove debug message. Patrick Jentsch 2019-08-07 14:36:19 +0200
  • 3de48946b9 Update job database entries on status change. Patrick Jentsch 2019-08-07 14:35:33 +0200
  • 9d0d386942 Fix codestyle. Patrick Jentsch 2019-08-07 14:35:01 +0200