Commit Graph

1341 Commits

Author SHA1 Message Date
Inga Kirschnick
9c49c164de update icon 2022-11-22 09:31:00 +01:00
Inga Kirschnick
37fb764d15 update icon 2022-11-22 09:28:25 +01:00
Inga Kirschnick
c0f6c9333c update contribute share button 2022-11-21 16:35:11 +01:00
Inga Kirschnick
0128c6310b Bug fixes 2022-11-21 15:41:07 +01:00
Inga Kirschnick
3f5750a000 Merge branch 'development' of gitlab.ub.uni-bielefeld.de:sfb1288inf/nopaque into development 2022-11-21 14:22:23 +01:00
Inga Kirschnick
5df3c8be35 bug fixes 2022-11-21 14:08:49 +01:00
Patrick Jentsch
a822a2e3a0 Fix issues 2022-11-18 16:02:24 +01:00
Inga Kirschnick
3e9d749574 Small fix titles 2022-11-18 13:46:52 +01:00
Inga Kirschnick
2ef5063a44 Merge branch 'development' of gitlab.ub.uni-bielefeld.de:sfb1288inf/nopaque into development
update breadcrumbs
2022-11-18 13:37:36 +01:00
Inga Kirschnick
3d170487eb Update breadcrumbs contributions package 2022-11-18 13:36:58 +01:00
Patrick Jentsch
7dbbf9db48 Let everyone upload new models 2022-11-18 13:28:58 +01:00
Patrick Jentsch
01caa88b1c Use spacy-nlp-pipeline 0.1.1 as new latest version 2022-11-18 12:33:00 +01:00
Inga Kirschnick
9216f4ea1d update service version 2022-11-18 12:24:21 +01:00
Patrick Jentsch
821571e97f Some updates regarding contributions 2022-11-18 11:51:41 +01:00
Patrick Jentsch
3004334d05 simplification 2022-11-17 13:10:06 +01:00
Patrick Jentsch
b0447e2544 Merge branch 'development' of gitlab.ub.uni-bielefeld.de:sfb1288inf/nopaque into development 2022-11-17 13:07:25 +01:00
Patrick Jentsch
56add67481 rename toggle public status routes 2022-11-17 13:06:12 +01:00
Inga Kirschnick
f4ec47ad57 Share toggle update & fix 2022-11-17 12:48:19 +01:00
Inga Kirschnick
9c8271aec5 Merge branch 'development' of gitlab.ub.uni-bielefeld.de:sfb1288inf/nopaque into development
share toggle update in contributions
2022-11-17 12:12:31 +01:00
Inga Kirschnick
d412f2c61a share toggle update in contributions 2022-11-17 12:11:21 +01:00
Patrick Jentsch
bbea1553b8 Remove darkmode setting 2022-11-17 10:52:46 +01:00
Patrick Jentsch
e92624f0c0 Simplify code for editing models via forms 2022-11-17 10:46:16 +01:00
Patrick Jentsch
527ab5ac0f better job form handling 2022-11-16 16:05:34 +01:00
Patrick Jentsch
f1677e2931 Fix url issues and remove unused modules 2022-11-16 14:15:52 +01:00
Patrick Jentsch
1f896b9bff fix wrong urls in contributions 2022-11-15 15:22:41 +01:00
Patrick Jentsch
9d34a5b71b Merge branch 'development' of gitlab.ub.uni-bielefeld.de:sfb1288inf/nopaque into development 2022-11-15 15:11:19 +01:00
Patrick Jentsch
cd72614c0f Contributions update revised 2022-11-15 15:11:16 +01:00
Inga Kirschnick
7bfbe4fd32 Merge branch 'binarization-threshold' into development 2022-11-14 15:53:48 +01:00
Inga Kirschnick
df5ae19e68 Addition pipeline_name in Contribution Package 2022-11-14 15:02:41 +01:00
Inga Kirschnick
176a67757a small fixes 2022-11-14 12:25:26 +01:00
Inga Kirschnick
9502891536 Merge branch 'development' into binarization-threshold 2022-11-11 15:39:40 +01:00
Inga Kirschnick
ca4abc3269 Small fixes 2022-11-11 13:38:41 +01:00
Inga Kirschnick
79d76f158f update binarization threshold 2022-11-10 16:19:58 +01:00
Inga Kirschnick
a8af1f3d23 vtest image testing 2022-11-10 13:33:13 +01:00
Inga Kirschnick
f4f0628b60 Ocropus nlbin threshold extension 2022-11-10 12:14:03 +01:00
Inga Kirschnick
ad17ec2cc8 Preliminary work for nlp model runtime integration 2022-11-09 13:51:42 +01:00
Inga Kirschnick
033872718e Small changes in the contribution package 2022-11-08 14:11:57 +01:00
Inga Kirschnick
05340ea7ff Contribution Package Spacy NLP 2022-11-07 09:15:38 +01:00
Inga Kirschnick
46ba14b923 Contribution Package Tesseract OCR 2022-11-03 15:38:35 +01:00
Inga Kirschnick
1faa98b4e8 Adjustment Contribution Package 2022-10-26 12:02:53 +02:00
Inga Kirschnick
0c809cc75c Merge branch 'contributors-update' into development 2022-10-26 10:38:25 +02:00
Patrick Jentsch
24851b38d9 Move route, cleanup and first fixes 2022-10-26 10:23:22 +02:00
Patrick Jentsch
36d3ea2ce0 Remove helper comments and add service versions dynamically to select. 2022-10-26 10:12:54 +02:00
dameyer
40a71ad9dd fix model contribution. 2022-10-25 13:07:10 +02:00
Inga Kirschnick
0b3456f877 Small fixes 2022-10-24 15:01:13 +02:00
Inga Kirschnick
8bee4196d3 URL revision 2022-10-21 09:46:15 +02:00
Inga Kirschnick
0009a0bacf Query Builder implementation 2022-10-20 15:52:25 +02:00
Inga Kirschnick
20b1a96862 New CSS File 2022-10-13 15:15:53 +02:00
Patrick Jentsch
b9e5939c1b Add SpaCyNLPModel database model 2022-10-13 15:05:54 +02:00
Patrick Jentsch
2ead38bbe4 Add new config option. DOCKER_NETWORK_NAME 2022-10-12 15:32:47 +02:00
Patrick Jentsch
399d41dd08 Merge branch 'development' of gitlab.ub.uni-bielefeld.de:sfb1288inf/nopaque into development 2022-10-12 15:10:58 +02:00
Patrick Jentsch
dc3709decb Remove the TranskribusHTRPipelineModel and fetch data on request. 2022-10-12 15:10:55 +02:00
Inga Kirschnick
2e45db10ca Optical adjustments 2.0 2022-10-12 14:08:42 +02:00
Inga Kirschnick
f96bac93f2 Optical code adjustments 2022-10-12 14:05:01 +02:00
Patrick Jentsch
236d3e7ee4 Rename tables for pipeline models 2022-10-12 10:23:05 +02:00
Patrick Jentsch
2470c8dfef Remove redundant code 2022-10-11 11:32:50 +02:00
Patrick Jentsch
086fe22649 Fix some bugs in corpus analysis and simplify code 2022-10-07 09:43:11 +02:00
Patrick Jentsch
ca27f2e6f2 Fix TranskribusHTRModel display problems 2022-10-04 15:33:51 +02:00
Patrick Jentsch
40348cebe1 Remove version change handling in templates as it is already implemented in CreateJobForm.js 2022-10-04 15:32:31 +02:00
Patrick Jentsch
0e982e0749 Remove QueryBuilder artifacts from merge 2022-10-04 13:24:04 +02:00
Patrick Jentsch
5fb4329d5f Add tesseract-ocr-pipeline and transkribus-htr-pipeline v0.1.1 2022-10-04 13:05:20 +02:00
Patrick Jentsch
b662a3a4d1 Configure migrate to detect type changes in models 2022-10-04 13:02:11 +02:00
dameyer
9802fdd175 Add form and template for adding a model. 2022-10-02 23:49:14 +02:00
Inga Kirschnick
dc86c1e85d fix wrong url creation 2022-09-20 15:02:44 +02:00
Patrick Jentsch
650a77f055 Remove merge leftover 2022-09-07 15:16:32 +02:00
Patrick Jentsch
7372e538f4 Add querybuilder js file 2022-09-07 14:56:40 +02:00
Inga Kirschnick
7fe183bf2a Merge branch 'development' of gitlab.ub.uni-bielefeld.de:sfb1288inf/nopaque into development 2022-09-07 14:53:51 +02:00
Inga Kirschnick
f46544451e Code Style 2022-09-07 14:47:42 +02:00
Inga Kirschnick
f09403e61d QueryBuilder 1.1 2022-09-07 14:22:59 +02:00
Inga Kirschnick
d537a38712 Querybuilder 1.0 2022-09-07 09:06:21 +02:00
Patrick Jentsch
ceef272d06 Add API functionality 2022-09-02 13:24:14 +02:00
Patrick Jentsch
dedccad70a Restructure project 2/2 2022-09-02 13:08:01 +02:00
Patrick Jentsch
8e1d94bb5d Restructure project 2022-09-02 13:07:30 +02:00
Patrick Jentsch
ec9225b881 Restructure imports (3rd party imports first) 2022-09-02 13:02:04 +02:00
Patrick Jentsch
8f03c2aea7 Add some handy css classes 2022-09-02 12:57:30 +02:00
Patrick Jentsch
131afd6419 New logic for forms including file upload. 2022-09-02 12:56:59 +02:00
Inga Kirschnick
9781425602 Query Builder New Design 2022-08-03 16:21:11 +02:00
Inga Kirschnick
4497567de0 Final prototype 2022-08-01 10:00:12 +02:00
Patrick Jentsch
7acb3b40c2 use hashids in jwt 2022-07-18 17:37:05 +02:00
Patrick Jentsch
1f3ca9664d Remove dummy /users route 2022-07-18 17:10:44 +02:00
Patrick Jentsch
29900f3ab1 Update some JS libraries 2022-07-18 17:10:21 +02:00
Patrick Jentsch
1de9fce854 Switch from Authlib to pyJWT 2022-07-18 17:10:09 +02:00
Patrick Jentsch
12bba0564f Migrate to Flask 2 2022-07-15 12:24:04 +02:00
Inga Kirschnick
5cbc6ea822 Prototype Query Builder for demo only 2022-07-13 14:06:22 +02:00
Patrick Jentsch
42ad6e27e2 Add Contributions Mockup and fix email notifications on job status change 2022-07-11 12:14:01 +02:00
Patrick Jentsch
018f9e752c Fix event names 2022-07-08 15:52:15 +02:00
Patrick Jentsch
4e5957eea2 Change the Subscription Logic for Socket.IO Data exchange 2022-07-08 11:46:47 +02:00
Patrick Jentsch
5771e156ce Change the APScheduler Logic and try to catch more errors in Daemon 2022-07-04 14:11:10 +02:00
Patrick Jentsch
76924956de Change the user session SocketIO Logic 2022-07-04 14:09:17 +02:00
Patrick Jentsch
b8bf004684 Restructure code and use APScheduler for daemon functionality 2022-06-28 12:30:02 +02:00
Patrick Jentsch
7c52d3f392 Add Hint on how to store your job data 2022-06-14 12:00:22 +02:00
Patrick Jentsch
7e8f24e6bf Fix model selection in HTR service page 2022-05-19 09:56:14 +02:00
Patrick Jentsch
31f91aaecb Fix model selection 2022-05-17 16:16:31 +02:00
Patrick Jentsch
8136cedccb Add a manual page 2022-05-17 15:31:05 +02:00
Patrick Jentsch
6b8d4d87bb Fix a JS error regarding non existent data for query results 2022-05-05 15:11:36 +02:00
Patrick Jentsch
80a18386ee Fix some display issues on smaller screens for the landing page 2022-05-05 15:11:02 +02:00
Patrick Jentsch
a4e65cac33 Update FAQ 2022-05-05 15:10:44 +02:00
Patrick Jentsch
c7c9fece46 Bump Socket.IO client version 2022-05-05 15:10:28 +02:00
Patrick Jentsch
7362bb5514 Codestyle enhancements 2022-05-05 15:10:03 +02:00
Patrick Jentsch
b4082a2547 Update services.yml 2022-04-29 13:04:03 +02:00
Patrick Jentsch
7b10a6be2e Add April 2022 update news 2022-04-28 14:35:05 +02:00
Patrick Jentsch
603212e1df Fix add corpus file form 2022-04-26 12:05:46 +02:00
Patrick Jentsch
d68f30db8b Add transkribus models 2022-04-25 16:09:06 +02:00
Patrick Jentsch
51af30aff3 Fix credential issues 2022-04-25 15:21:30 +02:00
Patrick Jentsch
10b5254e82 Restructure code 2022-04-25 11:32:10 +02:00
Patrick Jentsch
fc1389e8b1 Change the scaling logic and switch back to the socketio web server 2022-04-22 16:36:12 +02:00
Patrick Jentsch
ccdd0d3faa Integrate TranskribusHTRModels 2022-04-22 15:27:52 +02:00
Patrick Jentsch
9d4001f469 Reimplement corpus import and activate it again 2022-04-19 11:48:44 +02:00
Patrick Jentsch
de4a83582d simplify form code 2022-04-19 11:48:14 +02:00
Patrick Jentsch
d35ca7c261 Disable binarization for old ocr service versions. Add new ocr service version (including binarization) 2022-04-13 16:39:51 +02:00
Patrick Jentsch
43ea898394 Fix corpus build process 2022-04-13 09:47:02 +02:00
Patrick Jentsch
63217a7e1d Fix uploading corpus files 2022-04-13 09:08:11 +02:00
Patrick Jentsch
4146e3789b normalize vrt on build 2022-04-12 16:11:40 +02:00
Patrick Jentsch
99ddd2e3dd normalize forms 2022-04-12 16:11:24 +02:00
Patrick Jentsch
54b5635e9c Merge branch 'master' of gitlab.ub.uni-bielefeld.de:sfb1288inf/nopaque 2022-04-04 13:31:15 +02:00
Patrick Jentsch
ce997e69ea Rename all services, use scss, cleanup, add sandpaper conversion script 2022-04-04 13:31:09 +02:00
Patrick Jentsch
f425ca6fa1 Fix missing color for icons in corpus lists 2022-02-17 11:53:54 +01:00
Patrick Jentsch
10768fbaa4 Remove wrong type annotations 2022-02-17 09:06:18 +01:00
Patrick Jentsch
15e897f005 Delete unused files, restructure assets and use scss 2022-02-15 09:25:34 +01:00
Patrick Jentsch
585a6ba796 Rename some IntEnumColumn related stuff 2022-02-10 12:01:31 +01:00
Patrick Jentsch
86d14f748f More generic implementation of fake enum db types 2022-02-09 16:02:37 +01:00
Patrick Jentsch
247ac801b0 Rename font files 2022-02-08 15:56:01 +01:00
Patrick Jentsch
df6ab3991c Use enums where appropriate. This commit includes new migrations that are NOT compatible with older nopaque instances 2022-02-08 12:26:20 +01:00
Patrick Jentsch
fe938c0ca2 Big update, corpus analysis reworked, versioned services, preliminary work for contributions 2022-02-03 12:39:16 +01:00
Patrick Jentsch
0647537192 Fix automatic id generation for RessourceLists 2022-01-14 14:14:04 +01:00
Patrick Jentsch
e356be77da Implement authentication with before_request in admin package 2021-12-13 12:20:32 +01:00
Patrick Jentsch
82543d883f Use HashidMixin from flask_hashids 2021-12-13 12:20:01 +01:00
Patrick Jentsch
44f9d0a560 Further codestyle improvements 2021-12-09 15:39:45 +01:00
Patrick Jentsch
40bd169101 Some cleanup (css, html, js) 2021-12-09 12:50:14 +01:00
Patrick Jentsch
067273df6d Minor Codestyle updates. 2021-12-08 15:36:10 +01:00
Patrick Jentsch
982d5bc46f Fix broken download link in job result lists 2021-12-08 14:45:15 +01:00
Patrick Jentsch
3d99b8770c Codestyle enhancements 2021-12-08 14:45:05 +01:00
Patrick Jentsch
1fd7a2e38c Add nopaque video to index 2021-12-08 11:51:34 +01:00
Patrick Jentsch
832a0283bd Some styling for ressource lists 2021-12-08 11:25:52 +01:00
Patrick Jentsch
63527da37f Use Flask-Hashids package 2021-12-08 11:25:33 +01:00
Patrick Jentsch
e1004a0181 First attempts to use type hinting 2021-12-07 14:18:05 +01:00
Patrick Jentsch
9d30dda733 Codestyle 2021-12-06 14:42:49 +01:00
Patrick Jentsch
b3f34648c4 Bug fixes 2021-12-03 16:10:54 +01:00
Patrick Jentsch
3e37cb8582 Fix some navigation issues 2021-12-03 14:56:56 +01:00
Patrick Jentsch
123537cd16 Add new roles and a new permission 2021-12-03 14:07:03 +01:00
Patrick Jentsch
89f518fe38 Sort lists by ressources creation date. CSS and HTML cleanup 2021-12-03 12:01:50 +01:00
Patrick Jentsch
03a57fd7ee Create a proper class for the upload form 2021-12-02 16:25:48 +01:00
Patrick Jentsch
d8f11a9759 update nopaque forms 2021-12-02 13:48:48 +01:00
Patrick Jentsch
962e58f2d3 Enable auto initialization for ressource lists 2021-12-02 11:16:06 +01:00
Patrick Jentsch
f977c808ec Even better solution for concurrent promise handling 2021-12-01 17:52:09 +01:00
Patrick Jentsch
ff514368c3 Try to avoid requesting user data multiple times 2021-12-01 17:07:05 +01:00
Patrick Jentsch
82745629bc Bug fixes 2021-12-01 16:03:55 +01:00
Patrick Jentsch
12ec6be60b JS codestyle enhancements 2021-12-01 14:15:20 +01:00
Patrick Jentsch
72ba61f369 Only reveal hashids to the ui 2021-11-30 16:22:16 +01:00
Patrick Jentsch
9308618e63 New faq and service desk 2021-11-18 12:09:15 +01:00
Patrick Jentsch
904747ec66 Add dependencies and missing exception handling 2021-11-18 08:39:56 +01:00
Patrick Jentsch
a2e4fd2df5 Add news regarding current maintenance state 2021-11-16 15:50:07 +01:00
Patrick Jentsch
f6c2292e03 Big Corpus analysis update 2021-11-16 15:23:57 +01:00
Patrick Jentsch
c1436c2a5d Add model section to template and add API link to sidenav 2021-11-15 14:54:08 +01:00
Patrick Jentsch
70d541690f Add 503 error handler 2021-11-15 14:36:18 +01:00
Patrick Jentsch
1ccdccd0bc Fix cli run commands 2021-09-22 14:13:59 +02:00
Patrick Jentsch
ee0efcf17f Rename cli functions to not interfere 2021-09-22 13:58:46 +02:00
Patrick Jentsch
17cbfd71b4 Rename TaskRunner to Daemon (because it essentially is one) and restructure cli 2021-09-22 13:53:39 +02:00
Patrick Jentsch
e0219e84c9 Preliminary work for better socket.io event handling. 2021-09-22 13:52:51 +02:00
Patrick Jentsch
d29190907f code cleanup 2021-09-22 13:51:45 +02:00
Patrick Jentsch
1832f1d3c8 Remove unused import 2021-09-22 13:50:43 +02:00
Patrick Jentsch
08fec74cff Use threading.Thread for @background decorator again. 2021-09-22 13:50:26 +02:00
Patrick Jentsch
371cd30893 Let socketio decorators return instead of randomly emiting messages. 2021-09-22 13:49:22 +02:00
Patrick Jentsch
0d96a572e4 Change api root routes, so that they don't have a trailing slash 2021-09-16 14:20:18 +02:00
Patrick Jentsch
5469bd0ec1 Don't use module level logger functions 2021-09-16 11:15:31 +02:00
Patrick Jentsch
e2c68a1a80 Enable advanced logging features 2021-09-15 17:58:17 +02:00
Patrick Jentsch
727553412f add flag to socketio, hope it will improve firefox compatibility 2021-09-15 15:26:43 +02:00
Patrick Jentsch
1b342d5159 Use gunicorn as the default webserver 2021-09-15 14:15:23 +02:00
Patrick Jentsch
52c25fd563 Simplify Config setup and move some functions to dedicated files 2021-09-15 12:31:53 +02:00
Patrick Jentsch
8a69d6364a Add more examples 2021-09-14 16:17:26 +02:00
Patrick Jentsch
523faaea05 Fix wording 2021-09-14 13:01:19 +02:00
Patrick Jentsch
a5b1df9e95 Add simple api package including authentication (BasicAuth and TokenAuth) 2021-09-14 12:52:23 +02:00
Patrick Jentsch
def01d474e Add UTC flag to date strings 2021-09-14 12:51:49 +02:00
Patrick Jentsch
0a9bea0740 Remove api fragments 2021-09-13 17:38:07 +02:00
Patrick Jentsch
05c6f1afa6 Simplify Login mechanism code 2021-09-13 17:36:19 +02:00
Patrick Jentsch
81ed16603d Remove current_app and current_user usage in forms. 2021-09-13 16:36:48 +02:00
Patrick Jentsch
10483c1e45 Fix Date display issue in UserList 2021-09-13 16:35:09 +02:00
Patrick Jentsch
4950a407af rename blueprint variables (blueprint_name -> bp) and view files (views.py -> routes.py) 2021-09-13 11:45:43 +02:00
Patrick Jentsch
bc5c8ef074 handle email job status updates with the sqlalchemy event handlers 2021-09-10 16:25:32 +02:00
Patrick Jentsch
281e568edf Use ISO 8601 as the default datetime format 2021-09-08 12:56:51 +02:00
Patrick Jentsch
9d59aa3409 Move event handlers to a dedicated event directory 2021-09-07 13:50:23 +02:00
Patrick Jentsch
0861d931ce Add an abort criterion when exporting query results 2021-08-24 09:50:32 +02:00
Patrick Jentsch
cedce5545d Fix wrong corpus analysis link in sidenav 2021-08-24 09:21:43 +02:00
Patrick Jentsch
e2669e6c25 Add missing exception handler 2021-08-23 16:43:47 +02:00
Patrick Jentsch
5cd18c4c2a Sort after list ressource list insertions 2021-08-23 16:34:25 +02:00
Patrick Jentsch
280c544297 Fix job result duplication after job restart 2021-08-23 16:31:06 +02:00
Patrick Jentsch
a5782f932c Do not manually emit corpus changes via socket. 2021-08-23 12:29:31 +02:00
Patrick Jentsch
c7b2c413d3 Merge branch 'development' of gitlab.ub.uni-bielefeld.de:sfb1288inf/nopaque into development 2021-08-23 11:04:10 +02:00
Patrick Jentsch
fd5fcf9821 Change exception handling in corpus analysis 2021-08-23 11:04:09 +02:00
Patrick Jentsch
1a59b19124 Handle all ressource events with unified sqlalchemy event handlers. 2021-08-20 14:41:40 +02:00
Patrick Jentsch
98a43ec86f Use sqlalchemy events to emit jsonpatches to the client. 2021-08-18 15:11:11 +02:00
Patrick Jentsch
5662140a8d Add a flag to all db Model to_dict methods: include_relationships 2021-08-18 15:09:56 +02:00
Patrick Jentsch
869c1ba632 Fix corpus service creation 2021-08-16 12:09:50 +02:00
Patrick Jentsch
99c43cc1a6 some style updates 2021-08-09 11:02:09 +02:00
Patrick Jentsch
575dc45242 Rework a lot of daemon code. Add missing patch messages 2021-08-04 17:07:59 +02:00
Patrick Jentsch
da350474fb standardize the use of service name handles, e.g. file-setup instead of file_setup 2021-08-04 12:26:49 +02:00
Patrick Jentsch
ec7a88f36e Simplify color setup in templates 2021-08-04 09:07:18 +02:00
Patrick Jentsch
d6ab379418 Change directory structure (move ./nopaque/* to ./) 2021-07-20 15:07:42 +02:00
Patrick Jentsch
cb2b64fa9d integrate nopaque repo 2020-06-05 14:42:04 +02:00
Patrick Jentsch
4ac4fcb4ff Add security enhancements. See: https://blog.miguelgrinberg.com/post/cookie-security-for-flask-applications 2020-06-02 16:51:08 +02:00