Commit graph

153 commits

Author SHA1 Message Date
tsufeki
bfd3f87f6f Fixed unicode errors in JSON tests under python 3.3 2013-05-01 18:08:09 +02:00
tsufeki
f7774282d3 Added templates/watson/includes/*.html to setup.py. 2013-05-01 17:34:33 +02:00
tsufeki
afde7298c2 Fixed missing module name. 2013-05-01 17:28:46 +02:00
tsufeki
55e17524ea Python 3.3 compatibility: fixed what 2to3 complains about, also changed force_unicode to force_text. 2013-05-01 16:46:10 +02:00
Dave Hall
bff358350f Merge pull request #14 from akaihola/master
Fix DeprecationWarning in Django 1.5
2013-01-25 01:51:51 -08:00
Antti Kaihola
ceb32c5fc2 Added Django>=1.4 compatible django.conf.urls imports to prevent a deprecation warning 2013-01-25 10:56:07 +02:00
Dave Hall
75de66195f Merge pull request #13 from dfunckt/fix-unicode
Replaced occurrences of `unicode` with django's `force_unicode` to prevent utf-8 decoding errors
2012-12-19 07:39:45 -08:00
Akis Kesoglou
ff539151cd Replaced occurrences of unicode with django's force_unicode to prevent utf-8 decoding errors 2012-12-19 17:10:08 +02:00
Dave Hall
034a68530f Merge pull request #11 from SimonGreenhill/patch-1
Update src/watson/backends.py
2012-11-22 02:19:41 -08:00
Simon J Greenhill
d899a2d8ff Update src/watson/backends.py
CREATE OR REPLACE watson_searchentry_trigger_handler function to avoid problems with broken install.s
2012-11-22 12:00:47 +11:00
Dave Hall
bba97595ca Removing single quotes from postgres queries. Closes #10. 2012-10-28 14:08:38 +00:00
Dave Hall
e0b5b86247 Including template tags in release. 2012-07-20 07:24:57 +01:00
Dave Hall
2cb057fd25 Fixing broken PyPi description. 2012-07-19 17:27:11 +01:00
Dave Hall
ba9ee0fb71 Preparing for 1.1.1 release. 2012-07-19 17:24:11 +01:00
Dave Hall
986e17cae0 Admin search adapter always uses complete queryset in search results. 2012-07-10 11:56:53 +01:00
Dave Hall
11d559740a Adding in some template helpers for the search results. 2012-05-08 13:10:04 +01:00
Dave Hall
ae0025ca8a Implementing built-in search views using newer class-based views.
Keeping older function-based views in for backwards-compatibility.
2012-05-08 12:36:38 +01:00
Dave Hall
9b139cb675 Removing admin mixin separation. 2012-04-30 11:49:54 +01:00
Dave Hall
03f0b0c4ac More robust site search tests. 2012-04-30 10:41:27 +01:00
Dave Hall
57133b4a1c Separating admin integration into mixin class. 2012-04-30 10:39:44 +01:00
Dave Hall
0d72bf0044 Hacky workaround for error in test case login when not using
django.contrib.sessions.
2012-04-24 11:11:40 +01:00
Dave Hall
3331b70937 Improving robustness of admin tests. 2012-04-24 11:08:35 +01:00
Dave Hall
1a930308c3 Merge pull request #6 from nigma/text-search-config
Specify text search configuration for PostgreSQL backend
2012-04-24 03:05:12 -07:00
Dave Hall
7673acc266 Ability to specify a search adapter class for use in the search admin. 2012-04-24 10:56:38 +01:00
Filip Wasilewski
4678e3c50e Changed text search configuration attribute name to search_config. 2012-04-20 12:24:43 +02:00
Filip Wasilewski
ec3386af94 Specify text search configuration for PostgreSQL to_tsvector and to_tsquery functions. 2012-04-20 01:09:24 +02:00
Dave Hall
95813770a5 Updating for 1.1.0 release. 2012-04-05 11:43:54 +01:00
Dave Hall
ffe9365e70 Using bulk_create to speed up creation of large search entry sets. 2012-04-05 11:23:56 +01:00
Dave Hall
1e3be41635 More efficient single-query method of updating object index. 2012-04-05 10:49:06 +01:00
Dave Hall
e21ce01a6c Making it Python 2.6 compatible. 2012-03-29 15:44:17 +01:00
Dave Hall
91de639bdb Fixing admin integration for Django 1.4 2012-03-14 11:02:03 +00:00
Dave Hall
5e304d0805 Making postgresql version detection work in Django 1.4. Adding support
for postgis backend. Fixes #3
2012-03-14 10:56:35 +00:00
Dave Hall
6748cf9d4f Better escaping of postgres search queries. 2012-03-14 10:40:52 +00:00
Dave Hall
a464013eba Cleaning up an unused import. 2012-03-07 22:51:26 +00:00
Dave Hall
5a95dc8b02 Rewording 1.1 release notes. 2012-03-07 22:51:00 +00:00
Dave Hall
818b95af0e Updated changelog with pendind 1.1 features. 2012-03-07 22:50:03 +00:00
Dave Hall
b27d67c6ff Added in search context middleware to wrap an entire request in a search
context.
2012-03-07 22:48:31 +00:00
Dave Hall
3d8f4dff7a A search context is no longer mandatory for updating the search index.
It can be used to defere updating the index until the model is ready,
however.
2012-03-07 22:43:11 +00:00
Dave Hall
c6dcb6592e Updating for 1.0.2 release. 2012-03-07 13:47:31 +00:00
Dave Hall
06956cb57d Removing outdated blog link. 2012-02-29 10:08:38 +00:00
Dave Hall
e76ade8741 Regex search backend now works with everything, so making it non-sqlite
specific.
2012-02-28 16:58:01 +00:00
Dave Hall
563adc5dfc Making specific SQLite3 backend. 2012-02-28 16:40:01 +00:00
Dave Hall
cb5b68c8c0 Added in legacy search backend for postgresql <= 8.3 2012-02-28 16:30:38 +00:00
Dave Hall
8cfaed0b44 Escaping ! operator in postgres search backend. 2012-02-28 16:10:29 +00:00
Dave Hall
592719f6fd Added in prefix matching for mysql search backend. 2012-02-28 15:55:01 +00:00
Dave Hall
5088017a00 Adding in prefix matching support to postgres search backend. 2012-02-28 15:20:45 +00:00
Dave Hall
1e57592301 Better tests for prefix matching. 2012-02-28 15:14:28 +00:00
Dave Hall
2a3843c841 Making prefix matching work on sqlite search backend. 2012-02-28 14:37:39 +00:00
Dave Hall
1a3416b02b Removing some junk code. 2012-02-28 14:15:25 +00:00
Dave Hall
939675452f Removing test for searching by email. It's a pointlessly specific case. 2012-02-28 14:14:06 +00:00