Commit Graph

181 Commits

Author SHA1 Message Date
dameyer
40a71ad9dd fix model contribution. 2022-10-25 13:07:10 +02:00
Patrick Jentsch
b9e5939c1b Add SpaCyNLPModel database model 2022-10-13 15:05:54 +02:00
Patrick Jentsch
dc3709decb Remove the TranskribusHTRPipelineModel and fetch data on request. 2022-10-12 15:10:55 +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
ca27f2e6f2 Fix TranskribusHTRModel display problems 2022-10-04 15:33:51 +02:00
Patrick Jentsch
ceef272d06 Add API functionality 2022-09-02 13:24:14 +02:00
Patrick Jentsch
8e1d94bb5d Restructure project 2022-09-02 13:07:30 +02:00
Patrick Jentsch
7acb3b40c2 use hashids in jwt 2022-07-18 17:37:05 +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
Patrick Jentsch
42ad6e27e2 Add Contributions Mockup and fix email notifications on job status change 2022-07-11 12:14:01 +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
7362bb5514 Codestyle enhancements 2022-05-05 15:10:03 +02:00
Patrick Jentsch
d68f30db8b Add transkribus models 2022-04-25 16:09:06 +02:00
Patrick Jentsch
10b5254e82 Restructure code 2022-04-25 11:32:10 +02:00
Patrick Jentsch
ccdd0d3faa Integrate TranskribusHTRModels 2022-04-22 15:27:52 +02:00
Patrick Jentsch
43ea898394 Fix corpus build process 2022-04-13 09:47:02 +02:00
Patrick Jentsch
4146e3789b normalize vrt on build 2022-04-12 16:11:40 +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
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
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
82543d883f Use HashidMixin from flask_hashids 2021-12-13 12:20:01 +01:00
Patrick Jentsch
123537cd16 Add new roles and a new permission 2021-12-03 14:07:03 +01:00
Patrick Jentsch
82745629bc Bug fixes 2021-12-01 16:03:55 +01:00
Patrick Jentsch
72ba61f369 Only reveal hashids to the ui 2021-11-30 16:22:16 +01:00
Patrick Jentsch
f6c2292e03 Big Corpus analysis update 2021-11-16 15:23:57 +01:00
Patrick Jentsch
5469bd0ec1 Don't use module level logger functions 2021-09-16 11:15:31 +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
a5b1df9e95 Add simple api package including authentication (BasicAuth and TokenAuth) 2021-09-14 12:52:23 +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
280c544297 Fix job result duplication after job restart 2021-08-23 16:31:06 +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
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
Stephan Porada
6f842a1092 Remove unnecessary deletes which hare handled by cascade options 2020-05-18 14:53:31 +02:00
Stephan Porada
8f4cd9a375 Add additional new __repr_ function 2020-05-18 13:46:12 +02:00
Stephan Porada
243eba2f78 Add new __repr__ function. 2020-05-18 11:59:19 +02:00
Stephan Porada
9ce00ff5e0 Merge notify into daemon 2020-05-15 14:43:12 +02:00
Stephan Porada
7a6cbccbd2 First working mail notification system 2020-05-14 15:30:13 +02:00
Stephan Porada
07c104196f Add Notification model 2020-05-11 16:09:09 +02:00
Stephan Porada
cb8f3faae0 Add curren ttoken and max token nr 2020-05-04 12:08:43 +02:00
Patrick Jentsch
08b909b9a8 Add new field to dict method. Always keep in mind to do this, when you or modify a field. 2020-04-30 11:32:48 +02:00
Patrick Jentsch
f87fe589c1 Merge branch 'development' of gitlab.ub.uni-bielefeld.de:sfb1288inf/opaque into development 2020-04-30 11:29:01 +02:00
Patrick Jentsch
e1b07d8719 Handle user data streams different 1/2
In the future this will be much more performant!
2020-04-30 11:28:55 +02:00
Stephan Porada
d4318cb205 Merge branch 'development' of gitlab.ub.uni-bielefeld.de:sfb1288inf/opaque into development 2020-04-29 16:15:12 +02:00
Stephan Porada
d54a3d3f33 First metadata addition 2020-04-29 16:15:11 +02:00
Patrick Jentsch
b7fc804b40 Sort things a bit... this should get improved in the future 2020-04-29 12:17:16 +02:00
Patrick Jentsch
565274fce1 A lot of database changes and add options to change notification level 2020-04-27 13:50:54 +02:00
Stephan Porada
76e7d65017 Some comments 2020-04-27 10:30:38 +02:00
Stephan Porada
7cfa3bd022 Change darmode setting 2020-04-27 10:19:20 +02:00
Patrick Jentsch
83c05d93b0 Make delete user function a background task 2020-04-23 08:24:11 +02:00
Patrick Jentsch
edc0b34032 Process corpus files in task, not in database model 2020-04-23 07:56:23 +02:00
Patrick Jentsch
bb8a542eed Small fixes 2020-04-22 09:29:45 +02:00
Patrick Jentsch
bc27744946 Create and use a decorator for background functions 2020-04-21 18:34:21 +02:00
Patrick Jentsch
3aafe664a3 Add macros and use them 2020-04-17 11:04:09 +02:00
Patrick Jentsch
b1d819444e corpus page: Only show compile buttons if corpus is unprepared AND has files. 2020-04-15 14:30:41 +02:00
stephan
241a40ef44 Add secure filename for modesl and services 2020-02-17 14:57:24 +01:00
stephan
aed888086f Add create_secure_filename Job method 2020-02-17 11:58:58 +01:00
Patrick Jentsch
545c3ae2ec update 2020-02-14 15:23:02 +01:00
Patrick Jentsch
0cb51a34c4 Remove unnecessary job status 2020-02-13 15:08:15 +01:00
Patrick Jentsch
6e20e00c4e Change models 2020-01-30 11:01:17 +01:00
Patrick Jentsch
c1adcb93ee insert null values instead of empty attributes 2020-01-29 13:57:38 +01:00
Stephan Porada
8e02c2fd14 Add more metadate to corpus files 2020-01-08 16:02:42 +01:00
Patrick Jentsch
f63a850175 Renaming: opaque->nopaque 2019-12-02 11:34:28 +01:00
Patrick Jentsch
9a475f2ad2 Remove job deletion workaround 2019-11-18 15:55:19 +01:00
Patrick Jentsch
bab479db20 Change delete execution 2019-11-14 09:48:30 +01:00
Patrick Jentsch
19f1dea4fa Use list comprehension instead of class methods. 2019-11-12 12:03:46 +01:00
Stephan Porada
47440880d5 Set up all things for first query 2019-11-07 10:45:12 +01:00
Stephan Porada
0af783a5a6 Merge branch 'development' of gitlab.ub.uni-bielefeld.de:sfb1288inf/opaque into development 2019-11-06 15:40:47 +01:00
Stephan Porada
08aafb8f99 Add corpus analysis stuff 2019-11-06 15:40:43 +01:00
Patrick Jentsch
8f3517d5b6 Remove logging code 2019-11-06 15:38:00 +01:00
Stephan Porada
64dce7ed28 Set status on upload, edit, or delete 2019-11-06 10:04:29 +01:00
Patrick Jentsch
eb85869158 Add status to dictionary represantion 2019-11-05 15:35:51 +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
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
Stephan Porada
3bfe50b15c Add status for Corpus model 2019-11-04 14:12:15 +01:00
Patrick Jentsch
e9d1734364 enhance routing for corpus actions 2019-10-30 13:12:31 +01:00
Patrick Jentsch
e2268f9234 add some debug logs 2019-10-30 09:02:45 +01:00
Patrick Jentsch
7fb37dcb70 restructure corpus delete method 2019-10-30 08:28:52 +01:00
Patrick Jentsch
f4c7af02ad Change corpus file model to save metadata. 2019-10-28 15:46:25 +01:00
Patrick Jentsch
810388b78b Add new values to to_dict methods 2019-10-24 13:29:02 +02:00
Stephan Porada
f324bc9f3b Merge branch 'development' of gitlab.ub.uni-bielefeld.de:sfb1288inf/opaque into development 2019-10-23 13:31:01 +02:00
Stephan Porada
afac42464a Add CurpusFile result relation to Corpus 2019-10-23 11:22:29 +02:00
Patrick Jentsch
2ba80146e9 Some prework for files from database update 2019-10-23 08:35:15 +02:00
Stephan Porada
bafa522eae Merge branch 'development' of gitlab.ub.uni-bielefeld.de:sfb1288inf/opaque into development 2019-10-17 13:33:19 +02:00
Stephan Porada
82fb73de1a Add new realtion 2019-10-17 13:32:22 +02:00
Patrick Jentsch
85b2100e60 Add to_dict methods 2019-10-17 13:26:20 +02:00
Patrick Jentsch
abe2ed1666 add tables for files 2019-10-16 16:52:05 +02:00
Stephan Porada
88042dfd8e Add dark mode 2019-10-09 16:10:30 +02:00
Stephan Porada
ed288598cd Add delete corpora function and function to view an delete foreign jobs and corpora. 2019-09-24 14:04:49 +02:00
Stephan Porada
0d060f0cbf Move job and user delete functions to utils.py 2019-09-17 16:31:41 +02:00
Stephan Porada
09f7d7ac68 Add delete functions for jobs and users. 2019-09-17 14:36:15 +02:00