Commit Graph

319 Commits

Author SHA1 Message Date
Inga Kirschnick
b1586b3679 social-area page and profile page update 2023-03-01 14:09:15 +01:00
Inga Kirschnick
ec6d0a6477 corpus permission decorator + sidenav update 2023-02-28 10:27:10 +01:00
Inga Kirschnick
e2ddbf26f1 Update User Card and Share link with specific role 2023-02-24 15:22:26 +01:00
Inga Kirschnick
b27a1051af import share link token generation to models.py 2023-02-24 09:30:29 +01:00
Patrick Jentsch
9e5bb7ad90 Merge branch 'public-corpus' of gitlab.ub.uni-bielefeld.de:sfb1288inf/nopaque into public-corpus 2023-02-23 13:05:11 +01:00
Patrick Jentsch
38d09a3490 Integrate CorpusFollowerRoles 2023-02-23 13:05:04 +01:00
Inga Kirschnick
a459d6607a Update Share Link 2023-02-23 09:50:09 +01:00
Inga Kirschnick
5881588160 Merge branch 'public-corpus' of gitlab.ub.uni-bielefeld.de:sfb1288inf/nopaque into public-corpus 2023-02-22 16:00:11 +01:00
Inga Kirschnick
3ad942f17b Share link implementation for followers 2023-02-22 16:00:04 +01:00
Patrick Jentsch
288014969a Merge branch 'public-corpus' of gitlab.ub.uni-bielefeld.de:sfb1288inf/nopaque into public-corpus 2023-02-21 16:23:14 +01:00
Patrick Jentsch
68dc8de476 Add function to dynamically add followers to CorpusFollowerList 2023-02-21 16:23:10 +01:00
Inga Kirschnick
4fab75f0e2 Merge branch 'public-corpus' of gitlab.ub.uni-bielefeld.de:sfb1288inf/nopaque into public-corpus 2023-02-21 16:18:58 +01:00
Inga Kirschnick
726e781692 share link generator update 2023-02-21 16:18:04 +01:00
Patrick Jentsch
8d70e93856 Update CorpusFollowerAssociation table 2023-02-21 11:05:09 +01:00
Patrick Jentsch
8168a2384f Add unfollow and view function to corpusfollowerlist 2023-02-20 16:15:17 +01:00
Patrick Jentsch
2dc41fd387 Add CorpusFollowerList and functions 2023-02-20 10:40:33 +01:00
Patrick Jentsch
5837e05024 Add routes for CorpusFollower permission management 2023-02-15 16:17:25 +01:00
Patrick Jentsch
23cdfb1441 Merge branch 'public-corpus' of gitlab.ub.uni-bielefeld.de:sfb1288inf/nopaque into public-corpus 2023-02-15 11:00:10 +01:00
Patrick Jentsch
3e8bc5214c Remove public share mechanisms until legal matters are clarified 2023-02-15 10:56:54 +01:00
Inga Kirschnick
8595e2a203 Share link expiration update and small fixes 2023-02-13 10:16:44 +01:00
Inga Kirschnick
dabf0d1344 Merge branch 'public-corpus' of gitlab.ub.uni-bielefeld.de:sfb1288inf/nopaque into public-corpus 2023-02-10 09:43:05 +01:00
Inga Kirschnick
33a54b6206 Corpus first share link 2023-02-10 09:37:31 +01:00
Patrick Jentsch
428400df3f Add public switch without form 2023-02-09 16:22:37 +01:00
Inga Kirschnick
e03b54cfcd update public corpora list on dashboard 2023-02-09 14:03:03 +01:00
Patrick Jentsch
52fa23ff65 Fix some problems after merge 2023-02-09 12:02:00 +01:00
Inga Kirschnick
4d227415d9 Merge branch 'development' into public-corpus 2023-02-09 11:54:58 +01:00
Inga Kirschnick
f06508b412 New Public Corpus Page 2023-02-09 11:21:03 +01:00
Patrick Jentsch
a7136df5d2 let followers analyse corpus 2023-02-09 11:06:03 +01:00
Patrick Jentsch
965bc9d68a Update public corpus logic 2023-02-09 11:05:27 +01:00
Inga Kirschnick
5b6e889443 New public corpus route 2023-02-07 16:06:09 +01:00
Inga Kirschnick
bd6f94582b some testing 2023-02-06 10:52:36 +01:00
Inga Kirschnick
b0f61b28fe Small changes on the Corpus page 2023-02-02 09:14:50 +01:00
Inga Kirschnick
e2cdcd3f7c first implementation of follow mechanics 2023-01-31 08:59:42 +01:00
Patrick Jentsch
14820643ed Add export options to subcorpora 2023-01-19 14:59:09 +01:00
Patrick Jentsch
c8d7de434f Extend CorpusList for use in public corpora route 2022-11-30 14:58:45 +01:00
Patrick Jentsch
5491cb184a add all files for last commit 2022-11-29 15:28:10 +01:00
Patrick Jentsch
aff85f2145 Remove last edited date from FileMixin 2022-11-24 12:24:29 +01:00
Patrick Jentsch
e92624f0c0 Simplify code for editing models via forms 2022-11-17 10:46:16 +01:00
Patrick Jentsch
f1677e2931 Fix url issues and remove unused modules 2022-11-16 14:15:52 +01: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
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
4e5957eea2 Change the Subscription Logic for Socket.IO Data exchange 2022-07-08 11:46:47 +02:00
Patrick Jentsch
603212e1df Fix add corpus file form 2022-04-26 12:05:46 +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
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
63217a7e1d Fix uploading corpus files 2022-04-13 09:08:11 +02:00
Patrick Jentsch
99ddd2e3dd normalize forms 2022-04-12 16:11:24 +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
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
3d99b8770c Codestyle enhancements 2021-12-08 14:45:05 +01:00
Patrick Jentsch
63527da37f Use Flask-Hashids package 2021-12-08 11:25:33 +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
904747ec66 Add dependencies and missing exception handling 2021-11-18 08:39:56 +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
1b342d5159 Use gunicorn as the default webserver 2021-09-15 14:15:23 +02:00
Patrick Jentsch
def01d474e Add UTC flag to date strings 2021-09-14 12:51:49 +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
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
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
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
cb8f3faae0 Add curren ttoken and max token nr 2020-05-04 12:08:43 +02:00
Stephan Porada
1350e6ddd6 Add metadata object on analysis 2020-04-30 14:45:54 +02:00
Stephan Porada
d54a3d3f33 First metadata addition 2020-04-29 16:15:11 +02:00
Stephan Porada
eb5e5c3253 Merge branch 'development' of gitlab.ub.uni-bielefeld.de:sfb1288inf/opaque into development 2020-04-27 16:16:59 +02:00
Stephan Porada
deda16f0f5 Add meta data recv after corpus analysis init 2020-04-27 16:16:57 +02:00
Patrick Jentsch
c67c033aec Rework notification system 2020-04-27 15:22:20 +02:00
Patrick Jentsch
98fecacb11 use cqi from pypi 2020-04-24 15:44:40 +02:00
Patrick Jentsch
7fc1084749 Add notifications on status changes of jobs and corpora 2020-04-24 15:22:04 +02:00
Patrick Jentsch
3a989534cf Make the app arg in @background functions a bit less magical 2020-04-23 08:35:18 +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
60cc93a806 Merge branch 'development' of gitlab.ub.uni-bielefeld.de:sfb1288inf/opaque into development 2020-04-21 18:34:27 +02:00
Patrick Jentsch
bc27744946 Create and use a decorator for background functions 2020-04-21 18:34:21 +02:00
Stephan Porada
c7f7036306 Visual fix 2020-04-21 10:41:08 +02:00
Patrick Jentsch
29f1be5c80 Delete functions should not throw an error, if the ressource does not exists. -> Consider it as deleted if does not exist 2020-04-21 10:27:42 +02:00
Stephan Porada
78f93a884b Move down from 100 to 50 words lr context 2020-04-20 15:09:08 +02:00
Stephan Porada
6126477825 Finalize inspect view display options 2020-04-20 13:48:40 +02:00
Stephan Porada
2eb3d2f03e Merge branch 'development' of gitlab.ub.uni-bielefeld.de:sfb1288inf/opaque into development 2020-04-20 09:59:34 +02:00
Patrick Jentsch
5fa1ba385b Update 2020-04-17 16:00:40 +02:00
Patrick Jentsch
3aafe664a3 Add macros and use them 2020-04-17 11:04:09 +02:00
Stephan Porada
9145265e4b Add expert mode and higlight sentences switch to inspect. WIP 2020-04-16 15:06:03 +02:00
Patrick Jentsch
fede774196 Change nopaque upload forms. Add corpus file form has an upload progress bar now. 2020-04-16 09:40:38 +02:00
Patrick Jentsch
20d4d1c0b3 Merge branch 'development' of gitlab.ub.uni-bielefeld.de:sfb1288inf/opaque into development 2020-04-15 14:57:19 +02:00
Patrick Jentsch
f264b27ae5 Change validation process (currently broken) 2020-04-15 14:57:17 +02:00
Stephan Porada
68eb1d1972 Merge branch 'development' of gitlab.ub.uni-bielefeld.de:sfb1288inf/opaque into development 2020-04-15 14:55:36 +02:00
Stephan Porada
9031ca5845 New context options 2020-04-15 14:55:29 +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
Patrick Jentsch
bbccbcfcd2 Merge branch 'development' of gitlab.ub.uni-bielefeld.de:sfb1288inf/opaque into development 2020-04-15 10:32:27 +02:00