Frédéric Péters
e9771cc834
storage: force (some) filename as bytes ( #36515 )
...
(required for python 3.5)
2019-11-19 16:00:34 +01:00
Frédéric Péters
f4ad46acc6
storage: allow sorting objects with missing (receipt_)time ( #36515 )
2019-11-19 15:59:58 +01:00
Frédéric Péters
3444d4bec8
storage: unpickle python2 strings as bytes ( #36515 )
...
(it would be so much easier to pass encoding='utf-8' and have them
converted but this will fail for objects with datetime/date/time
instances as those requires encoding='latin-1)
2019-11-19 15:58:05 +01:00
Frédéric Péters
ca35deba02
storage: add support for sorting disparate types ( #36515 )
2019-11-19 15:57:47 +01:00
Frédéric Péters
fd88b46128
storage: use bytes when reading chunks ( #36515 )
2019-11-19 15:55:34 +01:00
Frédéric Péters
6d80317832
storage: load/save index files as binary files ( #36515 )
2019-11-19 15:53:38 +01:00
Frédéric Péters
4fced111d6
misc: use binary file for storage ( #36515 )
2019-11-19 15:53:36 +01:00
Frédéric Péters
2927c87edd
storage: sort results using a key, not a cmp function ( #36515 )
2019-11-19 15:53:14 +01:00
Frédéric Péters
48ffcf975a
misc: write files as binaries ( #36515 )
2019-11-19 15:53:05 +01:00
Frédéric Péters
1b1e596d1f
misc: use relative imports ( #36517 )
2019-09-30 11:05:53 +02:00
Frédéric Péters
22fc1227dd
lazy: add queryset-like features to lazy formdef ( #32244 )
...
{% for formdata in form.formdef.objects.pending %}
{{formdata.number}}
{% endfor %}
2019-05-01 16:08:30 +02:00
Frédéric Péters
9989aa6076
misc: apply umask to created files ( #6845 )
2019-03-04 14:12:15 +01:00
Frédéric Péters
3ce338f777
python3: don't use newly reserved async keyword ( #24850 )
2019-03-04 12:44:32 +01:00
Frédéric Péters
4f4689ccc9
python3: force pickle protocol compatible with python 2 ( #30996 )
2019-03-04 12:44:32 +01:00
Frédéric Péters
bc8f5f1c66
python3: use newer syntax for exceptions ( #30996 )
2019-03-04 12:44:32 +01:00
Frédéric Péters
05fd5d1fa0
misc: change sorting on category/formdef/role names ignore accents ( #28170 )
2019-01-17 10:20:47 +01:00
Frédéric Péters
46ef21e541
formdef: store fields in a different pickle chunk ( #23028 )
2018-05-02 12:32:47 +02:00
Thomas NOËL
f724295485
sql: make select a possible iterator ( #23305 )
2018-04-20 13:59:55 +02:00
Thomas NOËL
4e596155ac
storage: change get_with_indexed_value into a generator ( #23180 )
2018-04-17 09:29:23 +02:00
Frédéric Péters
09f8169003
storage: don't crash on a parallel index rebuild ( #22850 )
2018-03-28 10:18:38 +02:00
Frédéric Péters
17f0bca426
backoffice: add a channel filter to global listing ( #10504 )
2016-04-13 14:48:29 +02:00
Frédéric Péters
eda094fddc
backoffice: allow filtering listings on bool and items fields ( #9219 )
2016-04-06 10:09:53 +02:00
Frédéric Péters
27de58917f
trivial: use @classmethod decorator instead of calling classmethod()
2016-03-11 17:04:55 +01:00
Frédéric Péters
ab17cc81cb
sql: add a criteria to do full text matching ( #8974 )
2015-11-13 16:34:45 +01:00
Frédéric Péters
c49bd4976c
backoffice: display applied filters in PDF output ( #8916 )
2015-11-10 15:43:37 +01:00
Frédéric Péters
99aa0994e5
api: fix looking up user attributes that would be missing ( #8851 )
2015-11-03 16:53:17 +01:00
Frédéric Péters
fb32cc5f38
sql: add concerned_roles and is_at_endpoint columns to views ( #7925 )
2015-08-31 13:44:03 +02:00
Frédéric Péters
01cb0c4300
backoffice: only display submission pages to relevant users ( #8134 )
2015-08-31 13:44:03 +02:00
Frédéric Péters
fa801967ef
storage: add lock around index update ( #7818 )
2015-07-15 18:29:14 +02:00
Frédéric Péters
65c684dec6
storage: store hashed_index with strings ( #6222 )
2015-06-10 11:06:53 +02:00
Frédéric Péters
5178ee8b4e
general: always store&use object id as strings ( #6222 )
2015-06-10 11:06:53 +02:00
Frédéric Péters
946904f753
storage: make ILike work with None attributes
2014-12-26 17:30:30 +01:00
Frédéric Péters
09a0b61ad4
storage: remove last_modified(_id) methods, never used and with no sql support
2014-12-24 09:15:01 +01:00
Frédéric Péters
c47ac9a487
storage, sql: add ILike criteria ( #6191 )
2014-12-24 08:50:48 +01:00
Frédéric Péters
194d95496f
storage: make it possible to specify indexes to rebuild ( #6020 )
2014-12-19 13:31:43 +01:00
Frédéric Péters
e742773fdd
storage: add support for and and or criteria
2014-12-11 14:40:55 +01:00
Frédéric Péters
0717c0a13e
storage: add support for clause parameter in count() method
2014-12-11 14:40:55 +01:00
Frédéric Péters
6b661cd7c4
storage: add 'Intersects' criteria
2014-12-11 14:40:55 +01:00
Frédéric Péters
67e30ca795
storage, sql: add 'offset' support in select() methods
2014-12-11 14:40:55 +01:00
Frédéric Péters
7c592ad9d2
storage: move load/dumps into their own class methods ( #4739 )
2014-11-25 12:28:36 +01:00
Frédéric Péters
d19b4ce3be
storage: add 'Contains' and 'NotContains' operators ( #5931 )
2014-11-24 11:22:33 +01:00
Frédéric Péters
2f69166442
storage: add 'NotEqual' criteria ( #5931 )
2014-11-24 11:22:33 +01:00
Frédéric Péters
251be76550
storage: add declarative clauses to select() ( #5931 )
2014-11-24 11:22:33 +01:00
Frédéric Péters
abc45a8074
trivial: remove unnecessary pass statements
2014-10-06 14:57:41 +02:00
Frédéric Péters
9d028a4cfd
backoffice: add sort to paginated listings (SQL only) ( #4897 )
2014-06-18 14:21:10 +02:00
Frédéric Péters
38ccd80a10
storage: consider sets like lists and tuples in hashed indexes ( #4826 )
2014-05-15 14:20:31 +02:00
Frédéric Péters
9a25dbfae8
add an index on concerned roles ( #4644 )
...
This should speed up the backoffice and help with pagination.
2014-05-04 15:30:56 +02:00
Frédéric Péters
7b1fe177e9
storage: do not call migration paths when rebuilding indexes ( #2945 )
2013-05-23 18:10:41 +02:00
Frédéric Péters
27da630ea0
storage: notify of exceptions happening when updating indexes ( #2751 )
2013-04-15 15:23:59 +02:00
Frédéric Péters
a0c3738f49
storage: fix handling of some changes in hashed indexes ( #2751 )
2013-04-15 15:23:55 +02:00