jonaswinkler
9246411610
better logging for the migration
2021-02-10 00:52:01 +01:00
jonaswinkler
1d002149dc
added ASN to filename format #519
2021-02-09 23:03:07 +01:00
jonaswinkler
8d6071e977
fix a bug with thumbnail generation when TIKA was enabled
2021-02-09 22:12:43 +01:00
jonaswinkler
7d67766508
todo note #520
2021-02-09 21:53:10 +01:00
jonaswinkler
887dd122fe
more info in the admin
2021-02-09 21:00:04 +01:00
jonaswinkler
a1293c77b9
fix migration and more tests
2021-02-09 20:54:02 +01:00
jonaswinkler
ee9a73aa95
codestyle
2021-02-09 20:46:41 +01:00
jonaswinkler
d13e86a892
update all test cases to address the archive filename changes
2021-02-09 19:51:16 +01:00
jonaswinkler
69d7f8c180
testing the updated migration
2021-02-09 19:49:29 +01:00
jonaswinkler
1ba89ddd09
refactor migration tests to allow testing for exceptions while migrating
2021-02-09 19:47:50 +01:00
jonaswinkler
0c40a28ad3
more sanity checks regarding archive versions
2021-02-09 19:46:59 +01:00
jonaswinkler
2b7424c42a
imports
2021-02-09 19:46:42 +01:00
jonaswinkler
a9f1766d1c
todo note
2021-02-09 19:46:32 +01:00
jonaswinkler
fca8576d80
archive filenames are now stored in the database and checked for collisions just as original filenames as well, unified method for archive version checking
2021-02-09 19:46:19 +01:00
jonaswinkler
05f59e7d5e
another way to make the test case fail
2021-02-09 02:13:25 +01:00
jonaswinkler
0ed001c56e
validate move before migration
2021-02-09 00:13:13 +01:00
jonaswinkler
1e5a418191
more testing #511
2021-02-09 00:01:11 +01:00
jonaswinkler
e05735bc0f
fix some test cases
2021-02-09 00:00:46 +01:00
jonaswinkler
7621e10840
only move unaffected files, regenerate affected files
2021-02-08 23:54:07 +01:00
jonaswinkler
d90080f325
only move files if necessary
2021-02-08 22:49:01 +01:00
jonaswinkler
0c676b90f2
migration for #511
2021-02-08 20:59:14 +01:00
jonaswinkler
c2d8bda83c
fix for #511
2021-02-08 19:59:14 +01:00
jonaswinkler
302ebf737e
refactor migration test case
2021-02-08 13:18:39 +01:00
jonaswinkler
816c95a4ae
code style
2021-02-08 13:18:08 +01:00
jonaswinkler
61143b3ad1
make the test case fail
2021-02-07 19:53:08 +01:00
jonaswinkler
731418349f
added a test case that replicates #511
2021-02-07 18:23:54 +01:00
jonaswinkler
7702f5012b
classifier cache timeout
2021-02-06 21:03:32 +01:00
jonaswinkler
ffe96c8fff
classifier caching
2021-02-06 20:54:58 +01:00
jonaswinkler
80b3fa75a5
pycodestyle
2021-02-06 17:21:32 +01:00
jonaswinkler
fe435f6653
update API access for logs
2021-02-06 17:02:00 +01:00
jonaswinkler
5696c02ac3
remove log admin
2021-02-06 17:00:06 +01:00
jonaswinkler
e35723e7af
fix some logging messages
2021-02-06 15:30:47 +01:00
jonaswinkler
96d7114fa7
lazy load fuzzy only when required
2021-02-05 01:11:03 +01:00
jonaswinkler
431d4fd8e4
rework most of the logging
2021-02-05 01:10:29 +01:00
jonaswinkler
0d3ab3aaf7
remove lots of unused code
2021-02-04 23:40:53 +01:00
jonaswinkler
d8e0ef257e
don't load sklearn libraries unless needed
2021-02-04 15:15:11 +01:00
jonaswinkler
44ec3a3d9c
lazy loading for parsers
2021-02-04 13:17:24 +01:00
jonaswinkler
bdc247ce49
code style
2021-02-02 23:58:25 +01:00
jonaswinkler
fd59def1bd
Merge branch 'feature-websockets-status' into dev
2021-01-31 14:37:15 +01:00
jonaswinkler
4e2efebaa7
addresses race condition between API and document consumer #472
2021-01-31 13:20:21 +01:00
jonaswinkler
46ea86a6d2
Merge branch 'dev' into feature-websockets-status
2021-01-30 16:08:50 +01:00
jonaswinkler
9d148c08ce
Merge branch 'master' into dev
2021-01-30 16:06:42 +01:00
jonaswinkler
35a4779cc0
fix typo
2021-01-30 15:44:23 +01:00
jonaswinkler
4c6a02aee7
pycodestyle
2021-01-30 15:22:51 +01:00
jonaswinkler
87a18eae2d
centralized classifier loading, better error handling, no error messages when auto matching is not used
2021-01-30 14:22:23 +01:00
Fabian Koller
d9e06958dc
DEBUG - force flush 2nd try
2021-01-30 12:50:49 +01:00
Fabian Koller
21c501de28
force flush on temp file during consumption
...
file.write() does not guarantee that a file handle contains anything
without calling an accompanying file.flush()
For typical files that are larger than the OS-file buffer, this is no
problem
For small files (e.g. 64 characters in a .TXT), this race condition
leads to `inode/x-empty` because the file inode is created, but no
content is written to it
2021-01-30 11:51:43 +01:00
jonaswinkler
ddcc0883eb
add support for suggestions
2021-01-29 16:45:23 +01:00
jonaswinkler
05866da04b
remove dead code
2021-01-29 12:54:54 +01:00
jonaswinkler
2faa425caf
localization for websockets
2021-01-28 22:06:02 +01:00