Antoine Mérino
8adc26e09d
Enhancement: Limit excessively long content length when computing suggestions ( #10656 )
...
This helps prevent excessive processing times on very large documents
by limiting the text analyzed during date parsing, tag prediction,
and correspondent matching.
If the document exceeds 1.2M chars, crop to 1M char.
2025-09-09 13:02:16 -07:00
Sebastian Steinbeißer
6dca4daea5
Chore: switch from os.path to pathlib.Path ( #10397 )
2025-08-06 10:50:42 -07:00
shamoon
1a6f32534c
Change: treat created as date not datetime ( #9793 )
2025-05-16 14:23:04 +00:00
shamoon
a796e58a94
Feature: documents trash aka soft delete ( #6944 )
2024-06-17 08:07:08 -07:00
Trenton Holmes
650c816a7b
Removes support for Python 3.8 and lower from the code base
2023-09-10 11:42:59 -07:00
Trenton H
6f163111ce
Upgrades black to v23, upgrades ruff
2023-04-26 09:35:27 -07:00
Trenton H
3bcbd05252
Fixes ruff not running isort against the codebase
2023-04-26 09:35:27 -07:00
Trenton H
ce41ac9158
Configures ruff as the one stop linter and resolves warnings it raised
2023-04-01 17:03:52 -07:00
Trenton Holmes
1d1f3bde96
Moves the asserts to be closer together
2022-05-14 08:20:55 -07:00
Trenton Holmes
f3dced3199
Fixes Document public filename so it will use the local date instead of UTC date
2022-05-13 09:10:36 -07:00
Trenton Holmes
7432ef9e19
Accounts for Python 3.8 backported zoneinfo
2022-05-04 15:13:17 -07:00
Oliver Lippert
c3b5b47b22
use zoneinfo instead of pytz
...
Signed-off-by: Oliver Lippert <info@trusty.codes>
#267
2022-05-03 08:08:28 +02:00
Oliver Lippert
0ba1ba55bd
add test for filename expectation with modified timezone
...
Signed-off-by: Oliver Lippert <info@trusty.codes>
#267
2022-05-01 08:41:38 +02:00
Trenton Holmes
1771d18a21
Runs the pre-commit hooks over all the Python files
2022-03-11 11:34:28 -08:00
kpj
fc695896dd
Format Python code with black
2022-02-27 15:26:41 +01:00
jonaswinkler
623893b528
fixes #331
2021-01-12 13:05:49 +01:00
jonaswinkler
28622d700d
changed the way public filenames (i.e., for download and exporting) are generated. #94
2020-12-06 19:03:45 +01:00
jonaswinkler
4548cf08c7
fixes #78
2020-12-02 18:00:49 +01:00
Jonas Winkler
64180b5668
fixed up a test case
2020-11-25 17:28:49 +01:00
Jonas Winkler
41650f20f4
mime type handling
2020-11-20 13:31:03 +01:00
Daniel Quinn
3bbcd562fc
Account for thumbnail deletion as well
2016-08-20 14:03:42 +01:00
Daniel Quinn
f5daded930
Fix for #131 : delete files on document.delete
2016-08-16 19:13:37 +01:00