f0a4aba751
use python_2_unicode_compatible
2017-03-03 08:56:35 +01:00
67b2fd698b
fix save place
2017-02-25 11:18:59 +01:00
12f3901c9a
py3 filter->list(filter
2017-02-16 14:24:51 +01:00
1c580a2df7
async update of annotation matches, fixes deadlock in load_subtitles
2016-08-31 18:03:19 +02:00
1468ddbecb
towards supporting python 2 and 3
...
- use absolute_imports
- make use of six.moves
- use exec instead of execfile
- use list(dict) instead if dict.keys()
2016-08-25 18:34:36 +02:00
88c800a093
use data['positions']
2016-06-30 16:42:56 +02:00
c7157d5001
only decode ids for found positions
...
merge document.view.get_positions into item.utils.get_positions
add flag to decode id before looking up in ids
Followup to 09ebbc9cc6
2016-06-30 16:18:07 +02:00
e9863c238e
always use get_operator, avoid case-insensitive match if possible
2016-06-30 11:28:09 +02:00
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
adb831ce70
dont turn data into string, fixes #2797
2015-05-28 13:10:39 +02: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
23ea99734d
add missing link in docs
2014-12-19 15:47:15 +00:00
rolux
4a084d8405
update api docs
2014-12-19 12:59:10 +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
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
00c8f47541
inbetween queries
2012-04-02 17:33:23 +02:00
j
11b0a06107
typo, fixes #693
2012-03-21 09:13:38 +01:00
j
f2b7ddd7b4
type needs index too
2012-02-24 00:40:49 +05:30
j
c32603dcbc
add db indexes to places table
2012-02-24 00:13:45 +05:30
rolux
13eec9346b
properly escape user names and list names
2012-02-22 10:14:07 +00:00
j
67bc4475e9
first round of input sanitization
2012-02-21 21:56:06 +05:30
rolux
e84a5a6ca9
update manage places / manage events
2012-02-20 18:31:26 +00:00
j
c017e935ad
fix addPlace
2012-02-20 17:41:46 +00:00
j
c49cc47c3d
update place/event matches in sync
2012-02-20 14:09:26 +00:00
j
43d01b0490
reset more data
2012-02-04 14:02:48 +00:00
j
6e876c2b4d
geonames are not unique
2012-02-03 14:44:11 +00:00
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