Commit Graph

64 Commits

Author SHA1 Message Date
Frédéric Péters ff792192d8 tests: update tracking code rate limit check for new domain check (#37996) 2019-11-29 14:29:13 +01:00
Frédéric Péters 35e910d2aa wcs: disallow redirects to unknown services after tracking code error (#37996) 2019-11-29 11:22:42 +01:00
Lauréline Guérin 8109a2a5c9
wcs: add a filter categories to current drafts cell (#37116) 2019-11-20 16:39:51 +01:00
Lauréline Guérin 7da07bbf2b
wcs: add a cell "forms in your care" (#31989) 2019-10-31 10:09:39 +01:00
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 4836ed82d8 misc: add rate limiting to tracking code URLs (#35395) 2019-08-14 13:30:29 +02:00
Frédéric Péters 681c81c049 tests: adapt to changes in wcs runscript command (#34405) 2019-08-14 13:30:29 +02:00
Frédéric Péters 33b4197ea5 wcs: ignore case/spaces in tracking code (#34156) 2019-06-19 10:33:29 +02:00
Frédéric Péters 6439c43b48 wcs: raise a bad request when tracking code is missing from request (#33079) 2019-06-03 12:30:13 +02:00
Thomas NOËL ed5b366a6b wcs: send quoted tracking code to wcs (#32646) 2019-04-26 12:39:49 +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 00b6001be7 wcs: register search engines for formdata of wcs sites (#26260) 2019-01-02 08:58:11 +01:00
Frédéric Péters dadad025a6 tests: move admin_user fixture to conftests 2018-12-27 10:05:25 +01:00
Frédéric Péters 4ea3c2c920 wcs: add db cache refresh to formdef/category cells (#28043) 2018-11-15 12:04:31 +01:00
Frédéric Péters 9831984afb wcs: add generic support for a picture in forms of a category cell (#27972) 2018-11-14 09:23:19 +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 593033b10d wcs: add a tracking code search engine (#25625) 2018-08-30 15:16:38 +02:00
Frédéric Péters 9751386861 tests: don't use print() to create wcs config files (py3) 2018-07-26 13:32:27 +02:00
Frédéric Péters 1b7400a0b4 tests: update tests on the road to python 3
(this includes a switch of lingo tests from django test client to
webtest)
2018-07-25 16:45:36 +02:00
Frédéric Péters 9e6adee4f9 general: keep cache of cell types used in a page (#24239) 2018-07-16 09:04: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
Elias Showk 1dc4add1cf wcs: wrap title into a span in list of forms (#23977) 2018-06-22 08:51:02 +02:00
Emmanuel Cazenave 594f5c0e3f call save when deserializing cells (#15673) 2018-05-30 13:35:37 +02:00
Frédéric Péters d245938ecc wcs: do not crash on POST with invalid cell identifiers (#24147) 2018-05-29 16:47:04 +02:00
Frédéric Péters 6c34aa524a wcs: search for tracking code on multiple sites (#9320) 2018-02-15 10:24:28 +01:00
Frédéric Péters f4db0132fa tests: skip wcs tests if wcsctl is not found (#21826) 2018-02-13 15:55:46 +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 461ce4337c wcs: adapt multisort widget for django 1.11 (#21163) 2018-01-16 09:09:44 +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 a129bda7c9 wcs: add site slug attribute to all items (#20374) 2018-01-04 10:58:00 +01:00
Frédéric Péters b0bea13bc9 misc: use tox to run tests in jenkins (#10284) 2018-01-03 15:26:35 +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
Thomas NOËL b1c045204f tests: allow the absence of WCSCTL (#18863) 2017-09-21 01:24:48 +02:00
Frédéric Péters f5db13e7ec tests: remove debugging statement 2017-08-16 14:51:24 +02:00
Frédéric Péters fb79e150a2 tests: start wcs as a django app 2017-08-16 14:29:19 +02: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 40c3f328e6 tests: add check for displaying done forms 2017-02-11 17:54:58 +01:00
Frédéric Péters ccab10c45f misc: do not export cached_ attributes (#12879) 2017-01-04 14:35:54 +01:00
Frédéric Péters c5d8ae8c74 tests: don't run multiple render() on the same context 2016-08-31 21:56:43 +02:00
Frédéric Péters 4298c2e4b6 tests: explicitelty enable drafts for test formdef
This is required after wcs b3eb549 (#12756) as existing drafts won't be
returned if their formdata has drafts disabled.
2016-08-11 12:21:45 +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
Serghei Mihai e03cb0846c wcs: order wcs_sites by title (#10564) 2016-05-17 09:09:42 +02:00
Serghei Mihai 4e25908f2a Revert "update wcs tests (#10564)"
This reverts commit d4033ffcd8.
2016-04-06 20:08:45 +02:00
Serghei Mihai d4033ffcd8 update wcs tests (#10564) 2016-04-06 20:05: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