Commit Graph

  • 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
  • 0461139bb7 Remove unused import. Patrick Jentsch 2019-08-07 14:34:45 +0200
  • e52629dd7e Remove unused import. Patrick Jentsch 2019-08-07 10:22:30 +0200
  • 0ac3ed3a29 Set 'submitted' as initial job status value. Patrick Jentsch 2019-08-07 10:21:04 +0200
  • ed2d1abd8c Remove debug output. Patrick Jentsch 2019-08-07 10:06:28 +0200
  • ce051e8024 Remove dummy lists from Dashboard, show actual corpus and job list instead. Patrick Jentsch 2019-08-07 09:40:18 +0200
  • 3c344bf023 Remove debug output. Patrick Jentsch 2019-08-06 17:05:55 +0200
  • f2eaa61f3c Add link to nlp service. Patrick Jentsch 2019-08-06 17:04:53 +0200
  • d860a5d279 Set backrefs correctly. Patrick Jentsch 2019-08-06 17:04:38 +0200
  • 1e1ef8f966 Fix 3/3 Patrick Jentsch 2019-08-06 16:09:41 +0200
  • 0fa106fd84 Fix 2/3 Patrick Jentsch 2019-08-06 16:09:02 +0200
  • 601b32a788 Fix 1/3 Patrick Jentsch 2019-08-06 16:08:38 +0200
  • 511b5fa7d3 Add migrations to .gitignore. Patrick Jentsch 2019-08-06 16:05:44 +0200
  • 59016be061 Fix code for creation_date in corpus object. Patrick Jentsch 2019-08-06 15:46:23 +0200
  • b255f3bb4a rename createon.data to creaton.date Patrick Jentsch 2019-08-06 15:41:07 +0200
  • 65becc1187 Add creation_data to corpus. Patrick Jentsch 2019-08-06 15:39:09 +0200
  • 32c6b9ab8a Change path for corpora. Patrick Jentsch 2019-08-06 14:56:41 +0200
  • 36753c3b51 Remove unused import. Patrick Jentsch 2019-08-06 14:54:44 +0200
  • 5c1fd82451 Migrations Patrick Jentsch 2019-08-06 14:54:06 +0200
  • 338e4111c2 Add user id to path. Patrick Jentsch 2019-08-06 14:54:00 +0200
  • 2ed63d9a5f Add migrations. Stephan Porada 2019-08-06 14:28:19 +0200
  • 6f5bf674c6 Handle job creation with the new Job class. Stephan Porada 2019-08-06 14:27:41 +0200
  • 175dbceac6 Add creation and registration dates. Stephan Porada 2019-08-06 14:26:22 +0200
  • 5a67164dbe Add corpus to database after creation. Patrick Jentsch 2019-08-06 13:25:27 +0200
  • 4ec0acc080 Make Corpus model available in flask shell. Patrick Jentsch 2019-08-06 13:25:10 +0200
  • 46b8550c65 Add corpus model. Patrick Jentsch 2019-08-06 12:06:41 +0200
  • ebba2913f8 Add migration script for corpora table. Patrick Jentsch 2019-08-06 12:06:27 +0200
  • 525d53a906 Redesign db models. Patrick Jentsch 2019-08-06 11:47:04 +0200
  • 34b87c23a7 Add corpus page. Patrick Jentsch 2019-08-05 16:46:34 +0200
  • e30d3fc048 Remove old migrations for new Initial db commit. Stephan Porada 2019-08-05 16:46:00 +0200
  • 94dcaa55a3 Add Job model. Stephan Porada 2019-08-05 16:45:38 +0200
  • 8763e0f4db Add NLP template. Add Link to NLp template. Stephan Porada 2019-08-05 15:36:18 +0200
  • a3039e0529 Comment --keep_intermediates Stephan Porada 2019-08-05 15:35:51 +0200
  • 1092312e6d Add NLP view. Stephan Porada 2019-08-05 15:35:18 +0200
  • ab688e290a Make swarm run more generic Patrick Jentsch 2019-08-05 14:22:16 +0200
  • 602ef371f8 Fix path Patrick Jentsch 2019-08-05 12:25:58 +0200
  • f506a562cd Add version field for ocr job Patrick Jentsch 2019-08-05 12:25:51 +0200
  • a1be95ff68 Rename ocr job form and add nlp job form Patrick Jentsch 2019-08-05 08:36:29 +0200
  • 1c98dc0104 Fix config key for storage path. Patrick Jentsch 2019-08-05 08:36:11 +0200
  • f2f62c64eb No double initialization for javascript powered elements. Patrick Jentsch 2019-08-02 15:15:02 +0200
  • 1b166e83e6 Add buttons to create new corpora and jobs. Patrick Jentsch 2019-08-02 14:48:27 +0200
  • a49e862432 Add redirect for login page if the user is already loged in. Patrick Jentsch 2019-08-02 13:30:43 +0200
  • 0de63e2b4b Add prototype vision for dashboard elements. Patrick Jentsch 2019-08-02 13:25:54 +0200
  • e55d4aafab Replace lorem ipsum with german short explaination. Patrick Jentsch 2019-08-02 13:25:34 +0200
  • e327f0c8bf Make the about page the index page. Patrick Jentsch 2019-08-02 13:24:52 +0200
  • d6f60e4267 Change environment variable name: OPAQUE_FILES -> OPAQUE_STORAGE Patrick Jentsch 2019-08-02 13:23:26 +0200
  • df7d618b2a Add file type validation Patrick Jentsch 2019-08-01 14:01:22 +0200
  • c958edbae1 Fix wrong offset for navbar elements. Patrick Jentsch 2019-08-01 14:01:06 +0200
  • 64fb17f17e Only import once from wtforms Patrick Jentsch 2019-08-01 13:49:24 +0200
  • ce6ec4af58 Add validator to file upload in corpus creation. Patrick Jentsch 2019-08-01 12:16:49 +0200
  • 3964fe5444 Allow multiple file upload and add title Patrick Jentsch 2019-08-01 12:16:31 +0200
  • 716ebdfa7c Add create corpus form to dashboard. Patrick Jentsch 2019-08-01 11:47:14 +0200
  • a5b7ccaeb7 Update landing page. Patrick Jentsch 2019-08-01 10:33:05 +0200
  • bf00670784 Update job file path. Patrick Jentsch 2019-08-01 10:32:21 +0200
  • 78040536f2 Add input options for ocr job creation. Patrick Jentsch 2019-08-01 08:22:17 +0200
  • 009e188924 Save output in input folder. Patrick Jentsch 2019-08-01 08:21:47 +0200
  • 9805a6be74 Add variable containing the path to upload directory. Patrick Jentsch 2019-08-01 08:21:13 +0200
  • a863e8f04f Change wording. Patrick Jentsch 2019-07-31 09:10:37 +0200