Commit graph

561 commits

Author SHA1 Message Date
Benedikt Willi
db1d53ea42
Update .travis.yml 2020-04-23 17:19:25 +02:00
Benedikt Willi
25fa4da0d1
Update .travis.yml 2020-04-23 17:09:16 +02:00
Benedikt Willi
089b892d78
Update xapian_backend.py 2020-04-23 16:55:09 +02:00
Benedikt Willi
2824430736
Update .travis.yml 2020-04-23 16:31:37 +02:00
Benedikt Willi
18968c064d
Update .travis.yml 2020-04-23 16:20:41 +02:00
Benedikt Willi
549a0d2b4c
Update .travis.yml 2020-04-23 14:18:20 +02:00
Benedikt Willi
9b2c63d885
Update .travis.yml 2020-04-23 11:37:43 +02:00
Benedikt Willi
81e78d8312
Update .travis.yml 2020-04-23 10:50:49 +02:00
Kurt Neufeld
2247b23d3c user friendly modifications to install_xapian.sh...
check if user supplied version on command line and exit with message if they didn't
2019-01-17 17:52:21 +01:00
Alejandro R. Sedeño
02653af62c test setting tweaks for django 2.1 2019-01-17 17:49:22 +01:00
Alejandro R. Sedeño
bc63eb5e2a Update test expected queries
This commit could use scrutiny.
2019-01-17 17:49:22 +01:00
Alejandro R. Sedeño
2d3d098a5f Update test versions
Django < 1.11 is no longer supported by Django or Haystack

Test against latest versions of Django 1.11, 2.0, 2.1.
Test against python 2.7 (django 1.11 only), 3.5, 3.6, 3.7 (on xenial).

Update xapian old-stable to 1.2.25, only for py27.
Update xapian old-dev to 1.3.6, only for py27, py34.
Update xapian stable to 1.4.9.

xapian 1.3.6 included just to keep coverage numbers up.
xapian 1.3.7 not included because it didn't build with install-xapian.sh.
2019-01-17 17:49:22 +01:00
László Károlyi
f1861fc5e7
Fix PY2 error 2018-03-26 04:36:28 +02:00
László Károlyi
3c322a9552 Fixing untrustable os.path.exists
As per https://stackoverflow.com/a/3112717/1067833,
os.path.exists sometimes delivers a wrong value. These are corner
cases, but mine is exactly one:

I run xapian-haystack in a multiprocess environment (indexing and
django server), on an LXC container, which has its mount probably
mounted from an NFS server (I have no control/information over it).

This corner case results the os.path.exists give `True` for one
process and `False` for another, resulting in the exception I
handle with this patch.
2017-10-28 08:36:38 +02:00
Claude Paroz
253c4c2898 Revert "Removed compatibility argument with pre-2.0 haystack"
This reverts commit d3f1e011da.
2017-05-18 08:50:23 +02:00
Jorge C. Leitão
f67036e5cd Bumped version and updated requirements. 2017-03-01 12:07:00 +01:00
Jorge C. Leitão
de7a59689d Added tests for querying and indexing django.contrib.contenttype. 2017-03-01 11:41:28 +01:00
Alex Sandro
390d6344cf Dynamically configuring reserved fields. 2017-03-01 10:47:04 +01:00
Alex Sandro
8568e49b8f Correction from the exact to the reserved field django_ct (he was being treated with a phrase.). 2017-03-01 10:47:04 +01:00
Alex Sandro
02acc62824 Configuring 'limit_to_registered_models' according to doc haystack. 2017-03-01 10:47:04 +01:00
Claude Paroz
79a00865aa Removed workaround for old Django 2017-03-01 10:18:05 +01:00
Claude Paroz
d3f1e011da Removed compatibility argument with pre-2.0 haystack 2017-02-14 09:49:19 +01:00
jorgecarleitao
f46283bc5f Added Claudep to credits in README.rst 2016-11-03 06:54:14 +01:00
Claude Paroz
de76bad3f0 Fixed #161 -- Supported range search filter
`range` was added in django-haystack commit 3994bfa199.
2016-10-30 19:38:27 +01:00
Jorge C. Leitão
313ef57a55 Fixed Travis build and added Xapian 1.4.1 to it. 2016-10-30 14:32:22 +01:00
Claude Paroz
e0e6a11e46 Endswith is not yet supported in Xapian
'endswith' query support has been added in django-haystack/django-haystack@42f53cda9.
2016-10-14 16:25:43 +02:00
Claude Paroz
d1c59752ce Haystack now defaults to __content instead of __contains
Echo to commit django-haystack/django-haystack@42f53cda9
2016-10-14 16:25:43 +02:00
Claude Paroz
c330906457 Dropped support for Django 1.6/1.7 and added Django 1.9/1.10 support 2016-10-14 16:25:43 +02:00
Claude Paroz
a70c63f846 Updated fixtures lists
Echo to commit django-haystack/django-haystack@7299adc4c (renamed base test
fixture).
2016-10-14 15:56:28 +02:00
Claude Paroz
8a6371a4ae Xapian sources should be downloaded by https 2016-10-14 15:56:28 +02:00
Jorge C. Leitão
ea2d9fec82 Updated setup.py and README. 2015-11-16 18:45:41 +01:00
Jorge C. Leitão
cec243cffd Fixed #128 -- Added support to Python 3. 2015-11-14 12:37:43 +01:00
Jorge C. Leitão
63cfcc1d73 Fixed tests for Xapian 1.3.
Changes were mostly on how the query parser parsed a query.
Probabily we should not test that anyway, but for now
it is passing in 1.3.3
2015-11-14 12:19:16 +01:00
Jorge C. Leitão
4fc3d749c8 Added support to new API of Xapian to sort results. 2015-11-13 21:03:53 +01:00
Jorge C. Leitão
62a781bf74 Added Python 3 to build. 2015-11-13 20:56:04 +01:00
Jorge C. Leitão
608e559b4a Simplified Django versions in Travis. 2015-11-12 00:27:17 +01:00
Jorge C. Leitão
e31f6bbce4 Added coveralls to travis build. 2015-11-12 00:22:06 +01:00
Jorge C. Leitão
45191f8944 Date facets now return datetimes instead of strings.
Also added one more test to date facets.
2015-11-12 00:22:06 +01:00
Jorge C. Leitão
a3ea18207a Added test of field facets of floats and numbers. 2015-11-12 00:22:06 +01:00
Jorge C. Leitão
0bea487560 Added test for min and max values of a float field. 2015-11-12 00:22:06 +01:00
Jorge C. Leitão
fdc91c6892 Major re-organization of tests. No new test. 2015-11-12 00:21:57 +01:00
Alexander Olekhnovich
6756b685f1 Added commit argument to remove 2015-10-28 13:13:25 +03:00
Viorel Stirbu
a3a3a4e7cf Added commit argument to update
update has now the same signature as in Django-Haystack.
2015-04-16 21:43:59 +02:00
Jorge C. Leitão
b2f50a69cd Updated README and requirements with latest updates. 2015-04-16 21:02:18 +02:00
Jorge C. Leitão
db8d849dc7 Fixed tests in Travis.
This commit is supposed to be reverted at some point: it monkey
patches the whole module test_haystack/__init__.py so Django
is not setup twice.

This was the only way to avoid circular imports when using
django-admin.py to run tests in Django-Haystack.
2015-04-16 20:28:26 +02:00
Jorge C. Leitão
8f97971de3 Simplified call to run the tests. 2015-04-16 20:28:26 +02:00
Jorge C. Leitão
767458509c Fixed tests for Django 1.7 and 1.8. 2015-04-16 20:28:02 +02:00
Claude Paroz
89f05790b1 Fixed #148 -- Added compatibility for Django 1.8
Thanks Ben Cole for the report.
2015-04-16 19:05:38 +02:00
Claude Paroz
81ee120900 Test against multiple Django versions 2015-04-16 15:27:23 +02:00
Jürg Rast
3e8611265e Catched AttributeError for old Xapian versions. 2015-01-12 22:35:17 +01:00