Commit Graph

89 Commits

Author SHA1 Message Date
Lauréline Guérin ccf99d908f
dj2: is_anonymous and is_authenticated are now properties (#36895)
remove RemovedInDjango20Warning:
Using user.is_authenticated() and user.is_anonymous() as a method is deprecated.
Remove the parentheses to use it as an attribute.
2019-10-29 08:35:46 +01:00
Frédéric Péters f20ce6ecdc wcs: limit user forms cell to 100 items (#35407) 2019-08-15 15:21:42 +02:00
Frédéric Péters 0220713ea2 wcs: don't warn on 404 for user URIs (#32148) 2019-04-16 16:39:27 +02:00
Frédéric Péters b5a8e0cda4 misc: monkeypatch user model with a method to get name id (#30723) 2019-03-04 13:42:56 +01:00
Frédéric Péters 9e3fd0a1f2 wcs: log correct URL on errors (#29367) 2018-12-28 13:21:56 +01:00
Frédéric Péters 7c944f8382 wcs: use /api/users/<uuid>/* endpoints for user data (#28733) 2018-12-18 10:18:20 +01:00
Frédéric Péters 9a0b497f7a assets: make it possible to qualify assets as not being images (#27718) 2018-11-05 13:10:48 +01:00
Frédéric Péters d940345e91 wcs: also index keywords for formdefs found via category cells (#27676) 2018-10-30 16:02:09 +01:00
Frédéric Péters 7a04dbba74 wcs: add support for qualifying assets with an optional suffix (#27630) 2018-10-29 14:37:55 +01:00
Frédéric Péters 56963a8b75 wcs: add new cell for backoffice submission (#23536) 2018-08-31 13:48:26 +02:00
Frédéric Péters 67931d2d78 add compatibility with python 3 (#25486) 2018-07-28 09:55:59 +02:00
Frédéric Péters 70c5da0d23 assets: add dynamic asset slots to category and form cells (#24770) 2018-06-29 17:02:41 +02:00
Frédéric Péters 2abe10a09b wcs: include an option to look for tracking code on all sites (#21970) 2018-02-19 14:18:30 +01:00
Frédéric Péters 0c8db83661 wcs: mark "categories" field label for translation (#21708) 2018-02-08 11:10:28 +01:00
Frédéric Péters d7bb7c6549 wcs: fix mix of category filter and no status filter (#21484) 2018-01-30 08:30:01 +01:00
Frédéric Péters bb00745ced wcs: add option to limit current forms cell to some categories (#17202) 2018-01-21 15:26:11 +01:00
Frédéric Péters c4635be6bd wcs: skip errors when retrieving user forms/drafts (#21200) 2018-01-16 13:38:53 +01:00
Frédéric Péters 071946c627 wcs: only request formdef popularity when ordering by popularity (#21167) 2018-01-16 13:26:44 +01:00
Frédéric Péters 72b27ebab4 wcs: skip empty results (#21112) 2018-01-11 16:12:15 +01:00
Frédéric Péters 31698ae4a9 wcs: provide flat lists of formdatas/drafts to templates (#20374) 2018-01-04 10:58:00 +01:00
Frédéric Péters 921ab9f484 wcs: rely on global render method (#20374) 2018-01-04 10:58:00 +01:00
Frédéric Péters a129bda7c9 wcs: add site slug attribute to all items (#20374) 2018-01-04 10:58:00 +01:00
Frédéric Péters 7ab32ab4f1 wcs: don't crash indexing an unconfigured category cell (#20975) 2018-01-04 10:58:00 +01:00
Frédéric Péters aff45d1a0e general: remove blurps (#20914) 2018-01-03 11:43:16 +01:00
Frédéric Péters 273f1b0032 general: add external links to search results (#20376) 2018-01-03 11:43:16 +01:00
Frédéric Péters 0558d9b091 general: update context usage for Django 1.11 (#20935) 2018-01-02 17:45:55 +01:00
Frédéric Péters 96208f1f40 misc: also look for placeholders within cells (#19443) 2017-10-16 14:28:13 +02:00
Frédéric Péters d15de4513a wcs: let category/form link cells be rendered with alternate templates (#18917) 2017-09-24 13:26:16 +02:00
Frédéric Péters 5946fb0868 wcs: fix is_relevant function signature (pylint) 2017-03-17 08:25:15 +01:00
Frédéric Péters beaefbe8b7 wcs: include selected site name in additional label (#11257) 2017-02-13 10:11:07 +01:00
Frédéric Péters e7cfb8dbdc wcs: handle API transitioning from list to 'data' dict (#13521) 2016-10-11 09:47:18 +02:00
Frédéric Péters f7678c42d8 wcs: be sure to reset context['more_forms'] when rendering cell (#13390) 2016-10-06 11:46:11 +02:00
Frédéric Péters 6b33b55618 wcs: include site slug in as key/value in dictionary (#13097) 2016-09-16 09:51:21 +02:00
Frédéric Péters 86e2b10aa4 wcs: only load data in context if it's not set (#13006) 2016-08-31 21:37:12 +02:00
Frédéric Péters f5c8873a70 wcs: use correct class name in super() call 2016-07-26 22:56:59 +02:00
Frédéric Péters 68386f7e27 wcs: don't lose settings fields when there are multiple sites (#12339) 2016-06-28 16:23:50 +02:00
Frédéric Péters 5a91a25ddc wcs: add a link to display all forms of category (#11410) 2016-06-18 11:03:09 +02:00
Serghei Mihai e03cb0846c wcs: order wcs_sites by title (#10564) 2016-05-17 09:09:42 +02:00
Frédéric Péters 6e40bbdf0d wcs: use deepcopy to prevent data leaking to other requests (#10709) 2016-04-19 14:00:10 +02:00
Frédéric Péters 2a989d995a wcs: don't log errors if at least one wcs answers positively (#10672) 2016-04-15 15:46:51 +02:00
Thomas NOËL 462aada3f8 utils: explicit user in requests (#10530) 2016-04-05 17:57:52 +02:00
Frédéric Péters 47f9f7c8ca wcs: implement and use a generic way to do signed requests (#10492) 2016-03-30 22:17:44 +02:00
Frédéric Péters a2299d423a wcs: allow setting up a manual order of forms of a category (#8914) 2016-03-27 10:28:46 +02:00
Frédéric Péters 07127dbac6 misc: don't display userdata cells if there's no logged-in user (#10035) 2016-03-17 10:11:41 +01:00
Benjamin Dauvergne 9966a43736 add context parameter to get_cell_extra_context (#9596) 2016-01-19 14:39:03 +01:00
Frédéric Péters 2e8e3f9b9b wcs: sign requests done by manager to present forms/categories (#9370) 2015-12-19 19:18:35 +01:00
Frédéric Péters 8e8f6828b3 wcs: turn "current forms" cell into a "user forms" cell, with options (#9070) 2015-12-18 09:51:06 +01:00
Frédéric Péters 85f0906aaf wcs: send an explicitely empty NameID to mark anonymous calls (#9102) 2015-11-25 15:49:01 +01:00
Frédéric Péters 413f89eb97 wcs: add base_url for blurp compatibility 2015-11-23 20:54:56 +01:00
Frédéric Péters 0de4306d51 wcs: remove usage of cmsplugin_blurp (#9067) 2015-11-22 23:53:28 +01:00