0c98cd080e
Entity.alternativeNames: default to () not [] ( fixes #2896 )
...
Otherwise this:
self.name_find = '||' + '||'.join((self.name,) + self.alternativeNames) + '||'
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
fails because () + [] is an error. I guess this must have been
introduced by the DictField/TupleField rewrite.
Without this fix, it is impossible to create a new entity.
Basically the same logic is used for Event and Place too so I've made
the same change to those, and, in passing, fix another copy of the bug
fixed for Entity.name_find in fe7f961
.
2016-03-04 17:11:36 +00:00
051a3578b4
inline django 1.9 version of ox.django
2016-02-20 10:41:23 +00:00
4219246909
db migration
2016-02-20 15:15:01 +05:30
1cc795995d
user.get_profile()->user.profile
2016-02-19 22:06:11 +05:30
e22cc432b3
use transaction.atomic
2016-02-19 21:55:09 +05:30
e738503380
remove old migrations
2016-02-19 15:17:18 +00:00
j
6662872225
remove unused import
2014-12-23 11:28:42 +00:00
j
6c6693e922
api rename: getPlaceNames/getEventNames to getPlaces and getEvents, fixes #2609
2014-12-22 10:35:39 +00:00
rolux
cada20f904
update api docs
2014-12-19 15:05:08 +00:00
rolux
4a084d8405
update api docs
2014-12-19 12:59:10 +00:00
rolux
bd2d9f2e57
update api docs
2014-12-18 20:56:28 +00:00
rolux
6bd001a10a
update api docs
2014-12-18 20:16:41 +00:00
rolux
0a56268b92
update api docs
2014-12-18 19:26:37 +00:00
j
9e9bf30c42
add new changelog and call add_changelog all over the place
2014-12-17 13:45:46 +00:00
j
ceb507020b
data is passed to api functions now
2014-10-06 08:26:43 +00:00
j
3232ce6989
rename Item.itemId to Item.public_id
2014-09-19 12:26:46 +00:00
j
e381609b9e
remove tests, not used
2014-09-05 13:39:43 +02:00
j
cc17a9b6a3
dont call update_matches on self inside update_matches, fixes #1496
2013-07-13 10:22:37 +00:00
j
e706fbfb9b
api documentation takes and returns
2013-03-04 19:35:06 +00:00
j
b1d83b0f93
cleanup unused imports and unused variables
2013-02-21 13:28:36 +00:00
j
ec5158c03a
normalize find values and make lower case, also normalize and lowercase quieries
2012-11-18 20:26:13 +01:00
j
2c07dedac0
add south migrations, convert update to python
2012-11-02 13:41:41 +01:00
j
eee7d1baef
fix event update
2012-05-31 22:11:35 +02:00
j
12226662f8
smarter places/events update
2012-05-27 14:21:08 +00:00
j
59f575d489
disable place/event rebuild tasks, those should not be needed anymore
2012-05-27 12:05:07 +00:00
j
69b1e6c7b2
cleanup use of python-ox api
2012-05-27 13:52:12 +02:00
j
11b0a06107
typo, fixes #693
2012-03-21 09:13:38 +01:00
j
67bc4475e9
first round of input sanitization
2012-02-21 21:56:06 +05:30
j
a123d4daf7
sort by number of annotations
2012-02-20 17:42:13 +00:00
j
c49cc47c3d
update place/event matches in sync
2012-02-20 14:09:26 +00:00
j
f8c55f57cb
dont try - with none
2012-02-20 09:51:41 +05:30
j
c450fd2a0b
enabled/disabled places/events
2012-02-02 05:16:32 +00:00
j
afaa9178cf
return defined
2012-02-01 16:35:57 +00:00
j
1f1683c5a5
create undefined places/events
2012-02-01 15:25:18 +00:00
j
82c83c1309
keep a log of changes
2012-01-31 22:36:10 +05:30
j
bb3f993b70
update celery corntab import
2012-01-27 18:11:28 +05:30
j
7140d4c3f5
move get_matches to annotations
2012-01-17 14:28:33 +05:30
j
ed37cd6924
add getPlaceNames/getEventNames api
2012-01-14 18:13:40 +05:30
j
265d3d5bcd
avoid parallel updates to matches
2012-01-13 16:47:42 +05:30
j
bf518ae603
places backend, cleanup padma metadata
2012-01-13 01:02:54 +05:30
j
d6b9929052
fix get_matches
2012-01-09 00:08:05 +05:30
j
e1989eed57
use ox.django.api instead of local copy
2012-01-04 01:48:47 +05:30
j
4c25291c88
place/event matches
2012-01-02 20:59:43 +05:30
j
2a3c09d0ce
update celery import to work with 2.2
2011-12-27 18:51:22 +05:30
j
cea86aee43
use from/toAZ
2011-12-18 15:05:49 +05:30
j
0feace7a8b
decode_id
2011-11-06 20:36:35 +01:00
j
c695e76a57
return 409 on conflict
2011-10-31 16:06:12 +00:00
j
6dc151cb50
regexp is always true, check if it matches
2011-10-30 23:43:41 +01:00
j
eaab56dcc7
dont match if there is another place/event with a name containing this place/event that is in the string, example York should not match New York
2011-10-30 23:31:26 +01:00
j
eee76a5b5d
dont match substrings at beginging of value
2011-10-30 22:40:57 +01:00