Commit Graph
100 Commits
Author SHA1 Message Date
Patrick Jentsch da077cae3f Simplify informationupdater 2019-11-05 16:22:48 +01:00
Patrick Jentsch 4bcd97c003 Only use relative imports for functions in the same package. 2019-11-05 16:22:36 +01:00
Patrick Jentsch eb85869158 Add status to dictionary represantion 2019-11-05 15:35:51 +01:00
Patrick Jentsch a9efc06d07 Merge branch 'development' of gitlab.ub.uni-bielefeld.de:sfb1288inf/opaque into development 2019-11-05 15:34:46 +01:00
Patrick Jentsch b29f9f5aa8 Add information updater to corpus page. 2019-11-05 15:33:42 +01:00
Patrick Jentsch 04fe6b063e Add sanity checks for corpus preparation 2019-11-05 13:40:31 +01:00
Patrick Jentsch 910a187c04 Add prepare button to corpus 2019-11-05 10:52:57 +01:00
Patrick Jentsch 787c6e75b3 Merge branch 'development' of gitlab.ub.uni-bielefeld.de:sfb1288inf/opaque into development 2019-11-05 10:32:44 +01:00
Patrick Jentsch 29183b8763 prepare vrt file in background thread. 2019-11-05 10:32:42 +01:00
Patrick Jentsch 69387ee183 Insert metadata to corpus file in constructor 2019-11-05 09:12:06 +01:00
Patrick Jentsch 8ef6d3a04b Fix date formatting for end-date display 2019-11-05 09:11:37 +01:00
Patrick Jentsch 84578c0d76 UI enhancements 2019-11-04 16:58:15 +01:00
Patrick Jentsch 7176ea26ad Show Corpus status on corpus page. 2019-11-04 15:40:55 +01:00
Patrick Jentsch ffcc13ef5b Add status to corpus model again... 2019-11-04 15:35:09 +01:00
Patrick Jentsch 37d5802b42 Update 2019-11-04 15:06:54 +01:00
Patrick Jentsch 093f3bfee8 Add confirmation modals for corpus file deletion 2019-11-04 13:11:17 +01:00
Patrick Jentsch eea0f4635d Add permission check for job deletion. 2019-11-04 11:04:42 +01:00
Patrick Jentsch e1225c95bf Set end date field as N.a. if the job is not completed. 2019-11-04 11:04:23 +01:00
Patrick Jentsch dfb7f96d2d Merge branch 'development' of gitlab.ub.uni-bielefeld.de:sfb1288inf/opaque into development 2019-11-04 09:54:36 +01:00
Patrick Jentsch 6dd16e8e78 Add edit corpus file form 2019-11-04 09:54:30 +01:00
Patrick Jentsch fbde788b27 Center modals 2019-11-04 09:38:47 +01:00
Patrick Jentsch 69a0bb9fb5 Remove unused import 2019-11-04 09:03:58 +01:00
Patrick Jentsch 799101d380 Move /jobs related code in dedicated package. 2019-11-04 09:03:31 +01:00
Patrick Jentsch 162aa5d7c5 UI Update 2019-10-31 15:56:23 +01:00
Patrick Jentsch 5881444b9f Use extra pages for add_corpus and add_corpus_file forms. 2019-10-31 15:29:02 +01:00
Patrick Jentsch 755f5f3137 Add error handling 2019-10-31 11:34:45 +01:00
Patrick Jentsch 74d9147735 Remove FAB + Codeformatting at corpus page. 2019-10-31 10:45:01 +01:00
Patrick Jentsch 08ba7476f1 Merge branch 'development' of gitlab.ub.uni-bielefeld.de:sfb1288inf/opaque into development 2019-10-31 10:25:52 +01:00
Patrick Jentsch 3135eb0897 Move corpora views, and forms in package. 2019-10-31 10:25:48 +01:00
Patrick Jentsch 8fb52fcd31 Remove default values. 2019-10-30 14:29:17 +01:00
Patrick Jentsch 217a5a9e0c Merge branch 'development' of gitlab.ub.uni-bielefeld.de:sfb1288inf/opaque into development 2019-10-30 14:26:17 +01:00
Patrick Jentsch 326507d361 Change submit button style. 2019-10-30 14:26:13 +01:00
Patrick Jentsch 14f779d66a Change url logic of job handlers 2019-10-30 13:57:09 +01:00
Patrick Jentsch e9d1734364 enhance routing for corpus actions 2019-10-30 13:12:31 +01:00
Patrick Jentsch 617cc06125 add directory creation 2019-10-30 09:20:57 +01:00
Patrick Jentsch e2268f9234 add some debug logs 2019-10-30 09:02:45 +01:00
Patrick Jentsch 8b8939b17a Merge branch 'development' of gitlab.ub.uni-bielefeld.de:sfb1288inf/opaque into development 2019-10-30 08:28:54 +01:00
Patrick Jentsch 7fb37dcb70 restructure corpus delete method 2019-10-30 08:28:52 +01:00
Patrick Jentsch 7dcc8c48da Also delete corpus files when a corpus gets deleted 2019-10-29 14:35:23 +01:00
Patrick Jentsch 0a8f6a5a44 Fix file save path 2019-10-29 13:56:32 +01:00
Patrick Jentsch b4d2093986 Merge branch 'development' of gitlab.ub.uni-bielefeld.de:sfb1288inf/opaque into development 2019-10-29 13:47:31 +01:00
Patrick Jentsch 4930709c9d Add corpus file upload 2019-10-29 13:47:25 +01:00
Patrick Jentsch f4c7af02ad Change corpus file model to save metadata. 2019-10-28 15:46:25 +01:00
Patrick Jentsch 8a4a7577a0 Preview for new corpus page. 2019-10-28 14:53:25 +01:00
Patrick Jentsch 4eb6e4f831 Also wait for redis 2019-10-25 15:28:45 +02:00
Patrick Jentsch 775ddc601e Code enhancement 2019-10-25 15:09:19 +02:00
Patrick Jentsch 0a6bc055a0 Rewrite download function to use ressource ids instead of paths 2019-10-25 14:27:37 +02:00
Patrick Jentsch 409d94d0ae Merge branch 'development' of gitlab.ub.uni-bielefeld.de:sfb1288inf/opaque into development 2019-10-24 13:29:09 +02:00
Patrick Jentsch 810388b78b Add new values to to_dict methods 2019-10-24 13:29:02 +02:00
Patrick Jentsch 83f1aa1a6b Add dynamic output link creation. 2019-10-24 13:28:47 +02:00
Patrick Jentsch fca352c3dd Add dir to job creation. 2019-10-24 13:28:32 +02:00
Patrick Jentsch c6341cbce6 Merge branch 'development' of gitlab.ub.uni-bielefeld.de:sfb1288inf/opaque into development 2019-10-23 08:35:17 +02:00
Patrick Jentsch 2ba80146e9 Some prework for files from database update 2019-10-23 08:35:15 +02:00
Patrick Jentsch 85b2100e60 Add to_dict methods 2019-10-17 13:26:20 +02:00
Patrick Jentsch 9b4f29a849 Add Migrations 2019-10-17 11:38:31 +02:00
Patrick Jentsch d554e8eef2 Add entrypoint script as volume 2019-10-17 11:21:58 +02:00
Patrick Jentsch 2c4a6a8cea Generalize docker-entrypoint for further flask commands 2019-10-17 11:16:08 +02:00
Patrick Jentsch 14503eb45a alibi file 2019-10-16 16:55:16 +02:00
Patrick Jentsch abe2ed1666 add tables for files 2019-10-16 16:52:05 +02:00
Patrick Jentsch 8158c742d9 Use Posgres 11... It seems like there are some incompatibilities 2019-10-15 15:14:06 +02:00
Patrick Jentsch 313a784766 Merge branch 'development' of gitlab.ub.uni-bielefeld.de:sfb1288inf/opaque into development 2019-10-15 15:00:02 +02:00
Patrick Jentsch 87a0657d4c Remove footer. 2019-10-15 15:00:00 +02:00
Patrick Jentsch 7ad9a61e24 Merge branch 'development' of gitlab.ub.uni-bielefeld.de:sfb1288inf/opaque into development 2019-09-27 13:56:58 +02:00
Patrick Jentsch 9d6e54e966 Change how job form works. 2019-09-27 13:56:52 +02:00
Patrick Jentsch 787bf4c377 Unify service pages. 2019-09-24 16:55:24 +02:00
Patrick Jentsch 300832d403 further ui improvements 2019-09-24 13:42:30 +02:00
Patrick Jentsch 3cf42832f5 Add additional options to ocr form. 2019-09-24 12:03:24 +02:00
Patrick Jentsch 4858f36d76 Codestyle for auth package. 2019-09-23 16:39:36 +02:00
Patrick Jentsch 5749c94bca Codestyle for admin package. 2019-09-23 16:25:26 +02:00
Patrick Jentsch 783b8c7e82 Move auth.settings to a new package (profile) as profile.index 2019-09-23 16:11:01 +02:00
Patrick Jentsch 5da5e402c0 Merge branch 'development' of gitlab.ub.uni-bielefeld.de:sfb1288inf/opaque into development 2019-09-23 14:37:03 +02:00
Patrick Jentsch 4aba8cbd51 Change border 2019-09-23 14:36:52 +02:00
Patrick Jentsch 556e6a0ae2 Update README.md 2019-09-23 14:24:09 +02:00
Patrick Jentsch 8ba1d43f33 Further styling for ocr job form. 2019-09-23 14:10:27 +02:00
Patrick Jentsch 4c8ab6b3c1 Add dummy checkboxes for further ocr job options. 2019-09-23 13:55:25 +02:00
Patrick Jentsch 2d84c11282 Update .gitlab-ci.yml 2019-09-19 09:23:20 +02:00
Patrick Jentsch 3e3918c672 Update .gitlab-ci.yml 2019-09-19 09:22:18 +02:00
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