Commit graph

11 commits

Author SHA1 Message Date
Hagen Langbartels
e6b0b94ac4 Added Tests for relative dates in the backend
Testing rewrite_natural_date_keywords()
in src/documents/index.py

Created a test unsing SimpleTestCase to run isolated
tests on the conversion of date-keywords.

src/docments/tests/test_index.py had to be excluded from pre-commit check-executables-have-shebangs
because the docer volume of the test environment
failed to set the file as non-executable.
2025-11-18 10:59:16 -08:00
shamoon
1fe8599266
Fix: Make some natural keyword date searches timezone-aware (#10416) 2025-07-23 22:05:55 -07:00
shamoon
66a0783e7b Respect permissions for autocomplete suggestions 2023-05-11 14:43:25 -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
0f536a9b9a Detect and reset invalid ASNs to 0 during indexing with a loud error to the user 2023-02-03 08:31:45 -08: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
b6ff88645b lots of changes for the new unified search 2021-03-17 22:25:22 +01:00
jonaswinkler
56204933b0 bugfix, tests 2020-12-15 13:16:28 +01:00
Jonas Winkler
ea089de3b3 added a test case for the index 2020-11-22 11:42:30 +01:00