Commit Graph
100 Commits
Author SHA1 Message Date
Patrick Jentsch 37f98bb4ec Use the user data reference to access corpora, jobs or query results. Now all values should update as they should in lists an displays 2021-02-01 09:57:10 +01:00
Patrick Jentsch 54be3b4a79 Reduce daemon sleep timer even more 3 -> 1 2021-01-28 13:22:07 +01:00
Patrick Jentsch a76c8f1d29 Remove Corpus.max_nr_of_tokens column, instead set it as primitve class member 2021-01-28 11:33:04 +01:00
Patrick Jentsch c8dc215c02 Change db values Corpus.current_nr_or_tokens and Corpus.max_nr_of_tokens from BIGINT to Integer 2021-01-28 11:29:58 +01:00
Patrick Jentsch a30ade34b1 Reduce daemon sleep timer 10 -> 3 2021-01-28 11:26:41 +01:00
Patrick Jentsch 9cff7d76aa Use simple Python 3 super() funtion 2021-01-28 11:26:09 +01:00
Patrick Jentsch 2b1a74efb8 use flush, refresh and rollback instead of intemediate commit statements 2021-01-28 11:25:02 +01:00
Patrick Jentsch 07191b36b2 More template code for query builder 2021-01-18 15:07:13 +01:00
Patrick Jentsch ea5bace7db Add query builder template 2021-01-18 14:45:26 +01:00
Patrick Jentsch e0bbc517e9 Use Flask-Assets to compile multiple Javascript files to one 2021-01-18 13:22:00 +01:00
Patrick Jentsch 6bc5e5f7b1 Remove Debug statements 2021-01-18 13:21:39 +01:00
Patrick Jentsch 18c96fce4b Some Renaming 2021-01-18 12:50:58 +01:00
Patrick Jentsch bda7a782ec Wording update 2021-01-18 09:25:08 +01:00
Patrick Jentsch 8552cbd20c Merge branch 'daemon-rework' 2021-01-14 15:24:20 +01:00
Patrick Jentsch 84c86c81e7 Make the corpus analysis runnable again 2021-01-14 15:18:50 +01:00
Patrick Jentsch 223ae773d6 reference corresponding ressources (jobs/queryresults) in JobList and QueryResultList 2021-01-14 12:30:49 +01:00
Patrick Jentsch f8bdfa3a04 use 'msg' instead of 'desc' key for error messages 2021-01-13 15:44:39 +01:00
Patrick Jentsch 4bf456d8ef Check if corpus is exportable before exporting it 2021-01-13 15:43:23 +01:00
Patrick Jentsch a52db602d9 Add back corpus export. 2021-01-13 15:23:04 +01:00
Patrick Jentsch 0f263df9b2 User CorpusList and QueryResultList in Corpus analysis service page. 2021-01-13 12:10:31 +01:00
Patrick Jentsch fc9c1a4732 Add necessary condition to enable build button 2021-01-13 12:05:25 +01:00
Patrick Jentsch a8643aa9f4 Add Breadcrumbs and UserList to admin package 2021-01-13 11:57:46 +01:00
Patrick Jentsch 3d53b673fd Implement UserList 2021-01-13 11:57:13 +01:00
Patrick Jentsch 24bd0fa174 Remove table headline "actions" from ressource lists 2021-01-13 11:56:51 +01:00
Patrick Jentsch 16dc87bc94 Register RessourceList click event listener in base Class. 2021-01-13 11:55:58 +01:00
Patrick Jentsch 7b9af7ba15 Implement more patch options for lists and display dummy object if list is empty 2021-01-12 15:25:54 +01:00
Patrick Jentsch 1b3d0c1467 Remove analysis button in corpuslist for now 2021-01-11 15:51:56 +01:00
Patrick Jentsch ea3416af4c Add build and analyze button 2021-01-11 15:43:15 +01:00
Patrick Jentsch 84ae5fd22a Change loading animation 2021-01-11 14:46:19 +01:00
Patrick Jentsch 581fd5bcb5 Seperate Lists and Displays in seperated files 2021-01-11 13:36:45 +01:00
Patrick Jentsch d90b0c409c Implement remove operation for CorpusFileLists 2021-01-07 16:40:48 +01:00
Patrick Jentsch 009ee4365b Add back description to Corpus page. 2021-01-07 15:02:54 +01:00
Patrick Jentsch 9fb92c5a65 Bump Socket.IO Version and update to new List and Display logic for live data 2021-01-07 14:51:44 +01:00
Patrick Jentsch 1b5b935a28 Rework list handling 2020-12-15 14:38:52 +01:00
Patrick Jentsch 85385ef7e4 bump list.js version 2020-12-15 14:38:24 +01:00
Patrick Jentsch 231ce24d23 Remove unused second backup 2020-12-15 14:38:01 +01:00
Patrick Jentsch 1003c4494d Progress on list rework 2020-12-07 16:10:40 +01:00
Patrick Jentsch 1883a9bc63 Start redesign of RessourceLists 2020-12-04 14:16:11 +01:00
Patrick Jentsch a2102a48ca Add url properties to db models 2020-12-04 14:16:00 +01:00
Patrick Jentsch 29dbdc9f94 Add URL property to some models 2020-12-03 15:13:24 +01:00
Patrick Jentsch 4c92fdfb6c Fix file path management and download bugs 2020-12-02 14:26:17 +01:00
Patrick Jentsch 9dde839148 Add migration for new database design 2020-12-02 14:25:46 +01:00
Patrick Jentsch a25cbf4bb0 Add some more documentation to environment variables 2020-11-23 09:07:57 +01:00
Patrick Jentsch adac32e54f Fix bug 2020-11-23 08:47:55 +01:00
Patrick Jentsch 501871f9a7 Remove double paginations 2020-11-22 16:03:41 +01:00
Patrick Jentsch ece2d450d7 Rename label of build corpus services 2020-11-22 16:03:19 +01:00
Patrick Jentsch d1b39449e8 Fix service icons in job lists, Readd publishing year in corpus_file lists 2020-11-22 16:02:51 +01:00
Patrick Jentsch c3c3b70030 Change the verification, it a user is allowed to view a corpus_file 2020-11-22 16:01:59 +01:00
Patrick Jentsch 8cc748de94 add stuff to enable instance scaling 2020-11-19 15:20:49 +01:00
Patrick Jentsch b786bbdfb1 Change default value of NOPAQUE_DAEMON_ENABLED from False to True 2020-11-19 15:20:18 +01:00
Patrick Jentsch ab5db4ae83 Codestyle update (less use of #noqa) 2020-11-19 12:31:29 +01:00
Patrick Jentsch 66887f21b8 Add config variables to generate url outside of request contexts 2020-11-19 12:30:13 +01:00
Patrick Jentsch b606710edf Do not activate the python venv, everytime you execute daemon tasks 2020-11-19 12:29:40 +01:00
Patrick Jentsch ba7789224b Create send_notification function 2020-11-19 09:41:22 +01:00
Patrick Jentsch ddee38e2a5 Delete old daemon package and fix typos 2020-11-17 14:58:03 +01:00
Patrick Jentsch d187a83b54 Merge branch 'daemon-rework' of gitlab.ub.uni-bielefeld.de:sfb1288inf/nopaque into daemon-rework 2020-11-17 10:16:41 +01:00
Patrick Jentsch 7e84b54467 Add config variables in order to create links outside of a request context 2020-11-17 10:16:40 +01:00
Patrick Jentsch 19338ba8d5 Add daemon loop 2020-11-13 15:01:53 +01:00
Patrick Jentsch 5427698a47 Remove debog print statements 2020-11-13 13:54:07 +01:00
Patrick Jentsch f3f6612a57 daemon is now tasks 2020-11-13 13:33:32 +01:00
Patrick Jentsch 5a06a6b241 More exception handling. Remove unused database models. New common view structure! 2020-11-13 10:01:51 +01:00
Patrick Jentsch 0f30e518af First steps 2020-11-06 15:07:58 +01:00
Patrick Jentsch 9e2cc6486c Add NOPAQUE_HOST and NOPAQUE_PORT variables 2020-11-06 10:28:05 +01:00
Patrick Jentsch eb61038fd2 Change image tag (:latest) in master branch 2020-11-03 14:19:50 +01:00
Patrick Jentsch 5343d1b06e Remove service icon from job page headline 2020-11-03 10:12:06 +01:00
Patrick Jentsch fb8bcb2f82 Fix wrong link in query results breadcrumbs 2020-11-03 10:04:18 +01:00
Patrick Jentsch a92358ef21 Add color setting for disabled tabs 2020-11-03 09:57:00 +01:00
Patrick Jentsch 4d783492c0 Add breadcrumbs to query_results package 2020-11-03 09:53:37 +01:00
Patrick Jentsch 88f32e9195 breadcrumbs intermediate 2020-10-30 15:01:41 +01:00
Patrick Jentsch 79dd307d76 Make publishing year data required again 2020-10-30 10:58:07 +01:00
Patrick Jentsch eb2f47e3a5 Add light grey background color as default 2020-10-30 10:52:46 +01:00
Patrick Jentsch 5010b94925 Fix color setup on job page 2020-10-30 10:35:29 +01:00
Patrick Jentsch 18ba922ce9 Merge branch 'development' of gitlab.ub.uni-bielefeld.de:sfb1288inf/nopaque into development 2020-10-30 10:19:45 +01:00
Patrick Jentsch 5cc6a9ab93 Merge branch 'template-rework' into development 2020-10-30 10:02:19 +01:00
Patrick Jentsch 3f18064342 flag contact email adress as optional 2020-10-30 09:29:36 +01:00
Patrick Jentsch 1c9bd3c0fc Some cosmetics for service package 2020-10-27 14:38:00 +01:00
Patrick Jentsch c8f93103c9 finetune general settings 2020-10-27 14:24:47 +01:00
Patrick Jentsch 934ec4af42 Set default form values in view function. Use inheritance for admin forms 2020-10-27 14:23:23 +01:00
Patrick Jentsch 58e5116eb3 Remove unused files 2020-10-26 13:04:48 +01:00
Patrick Jentsch a996d36f2d Rework jobs package 2020-10-26 13:04:12 +01:00
Patrick Jentsch 73a597fdd2 Rework service package 2020-10-26 12:47:06 +01:00
Patrick Jentsch 03db3f8c35 Rework some basics again 2020-10-26 12:46:46 +01:00
Patrick Jentsch e57822a4bd Add missing import 2020-10-26 11:23:19 +01:00
Patrick Jentsch f4be897c73 Fix 2020-10-26 11:17:25 +01:00
Patrick Jentsch 66d848926e Add login and register menu points for mobile view 2020-10-23 14:27:29 +02:00
Patrick Jentsch 700e11ec23 Rename and rework profile packege (new name settings) 2020-10-23 13:52:01 +02:00
Patrick Jentsch 1092033a19 Update modal code 2020-10-23 10:54:06 +02:00
Patrick Jentsch 70a1725f31 Enhance modal code 2020-10-23 10:44:27 +02:00
Patrick Jentsch 6d2abeb5df Rework main package 2020-10-23 10:42:52 +02:00
Patrick Jentsch e14f397ec3 Rework error package 2020-10-23 10:30:56 +02:00
Patrick Jentsch 310809cc51 Add missing title ids to admin pages 2020-10-23 10:26:36 +02:00
Patrick Jentsch 780de62db2 Rework auth package 2020-10-23 10:26:04 +02:00
Patrick Jentsch b840746fed Rework admin package 2020-10-23 10:17:14 +02:00
Patrick Jentsch 69ad42801a Fix contact email adress 2020-10-12 17:16:55 +02:00
Patrick Jentsch 6e4c90f844 Update all third party css/font/js 2020-10-12 14:06:19 +02:00
Patrick Jentsch 4e9701b796 Add neccessary header to docker-compose.traefik.yml. 2020-10-12 14:01:42 +02:00
Patrick Jentsch e7ff3984b5 Merge branch 'development' of gitlab.ub.uni-bielefeld.de:sfb1288inf/nopaque into development 2020-10-12 13:28:26 +02:00
Patrick Jentsch ea6ccae76a Merge content into main package 2020-10-12 13:28:19 +02:00
Patrick Jentsch 2dc630e877 Create extra package for errors 2020-10-12 13:26:35 +02:00
Patrick Jentsch b44a5e1113 fix indent 2020-10-09 15:32:09 +02:00