Commit Graph

1498 Commits

Author SHA1 Message Date
Frédéric Péters 8f6f8f745f tests: add check for indexing to ezt lazy tests 2020-01-21 17:53:21 +01:00
Frédéric Péters 071d35e768 misc: add year/month/day variables to lazy date fields (#37433) 2020-01-20 10:05:10 +01:00
Frédéric Péters 8bc1466003 tests: add test for session cleanup 2020-01-18 22:17:36 +01:00
Frédéric Péters d81959f81f trivial: insure two blank lines before top functions and classes 2020-01-18 20:33:44 +01:00
Frédéric Péters cbebd7558f sql: prefetch evolutions in user forms API (#38903) 2020-01-17 17:32:20 +01:00
Frédéric Péters bbaa2d18be emails: ignore unexpected title overlines or transitions (#38817) 2020-01-17 16:33:29 +01:00
Frédéric Péters 08e085d5b9 forms: fix free length table error check to ignore its emptiness (#39072) 2020-01-17 16:33:29 +01:00
Frédéric Péters 107f0edaa3 backoffice: display card selected in item field as link (#38924) 2020-01-15 16:55:08 +01:00
Frédéric Péters efa3ebb305 misc: change json encoder to preprocess date for time.struct_time (#38981) 2020-01-15 16:54:06 +01:00
Frédéric Péters e6eb2a8ad0 misc: clean lemonldap dates with both timezone and Z (#38974) 2020-01-15 11:24:17 +01:00
Thomas NOËL 6e00660c39 export_to_model: replace slashes with dashes in computed filename (#38952) 2020-01-14 23:21:52 +01:00
Frédéric Péters 4b86a73ab2 misc: add support for lazy password fields (#38882) 2020-01-13 10:11:19 +01:00
Frédéric Péters 1668b6b7cc formdef: allow empty <description/> tags on import (#17291) 2020-01-11 09:31:37 +01:00
Frédéric Péters 12bfec671f misc: convert time.struct_time to datetime objects before json dump (#38706) 2020-01-11 09:30:50 +01:00
Thomas NOËL 09a29908f8 backoffice: ignore empty items data in field filters (#38889) 2020-01-10 15:33:05 +01:00
Thomas NOËL 4b8c74fd95 wf/profile: do not use after jobs when there's no http response (#38793) 2020-01-10 11:56:52 +01:00
Thomas NOËL 2f85a20ed0 backoffice: ignore empty data in field filters (#38809) 2020-01-07 23:57:26 +01:00
Benjamin Dauvergne e508d436ab tests: test rate limiting with freezegun (#38180) 2020-01-03 22:56:49 +01:00
Frédéric Péters 9fa4b1263e admin: don't update formdatas on workflow switch with no changes (#38578) 2019-12-24 11:02:56 +01:00
Nicolas Roche d5ff023e4f forms: test is_hidden attribute on comment fields (#38685) 2019-12-23 15:22:31 +01:00
Frédéric Péters 1ed06e1308 tests: force string URL in widget tests (required for mechanize≥0.4.5) 2019-12-23 15:22:31 +01:00
Frédéric Péters 1c93f5325b backoffice: fix filtering on backoffice item/s fields (#38627) 2019-12-18 16:17:04 +01:00
Frédéric Péters 81457aca77 sql: use force_str() on filtered options (#38624) 2019-12-18 16:01:04 +01:00
Frédéric Péters 2d96602aeb categories: do not create duplicate slugs (#38612) 2019-12-18 09:58:58 +01:00
Frédéric Péters 7955c2980a backoffice: use actual data for item(s) field filters (#35703) 2019-12-17 15:25:24 +01:00
Frédéric Péters fb0632d07f forms: consider form pages with only inert fields in validation pages (#37709) 2019-12-09 18:46:35 +01:00
Emmanuel Cazenave e80f55d694 ctl: preserve key length in py3 (#38240) 2019-12-09 09:48:01 +01:00
Frédéric Péters ecab37694f tests: try multiple times to get a database name 2019-12-06 13:23:35 +01:00
Frédéric Péters 1358df73ea general: deal with py2/3 type conversion when unpickling (#38021) 2019-11-29 11:19:54 +01:00
Frédéric Péters 2e31a5731f backoffice: don't include anonymised formdata in listings (#33707) 2019-11-29 11:19:54 +01:00
Thomas NOËL 1fdb67feb4 workflows: add label attribute on backoffice fields action (#37620) 2019-11-29 10:59:33 +01:00
Frédéric Péters 6b07387ad4 tests: get test_finish_interrupted_request responses content (#36515) 2019-11-20 09:17:20 +01:00
Frédéric Péters 3e78ff2e19 tests: make test_finish_failed_request work standalone (#36515) 2019-11-20 09:17:20 +01:00
Frédéric Péters 9c710ba2ea misc: don't enable form tokens in simulated form in test_display_form (#36515) 2019-11-20 09:17:20 +01:00
Frédéric Péters 1d2a1d869a formdef: add pre-json serialization of struct_time workflow options (#36515)
(python3 json serializer would otherwise catch them and serialize them
as tuples)
2019-11-20 09:17:20 +01:00
Frédéric Péters b2b2fa0bff tests: use PicklableUpload in test that requires copying structure (#36515) 2019-11-20 09:17:20 +01:00
Frédéric Péters e2f3df0cc1 tests: don't check application/msword extension as it may vary (#36515) 2019-11-20 09:17:20 +01:00
Frédéric Péters 2d9bebb49a tests: update check against json exception message (#36515) 2019-11-20 09:17:20 +01:00
Frédéric Péters d9c03728d1 tests: mark request as POST to get mock form data parsed (#36515) 2019-11-20 09:17:20 +01:00
Frédéric Péters 7e438162d9 ctl: update check_hobos to use force_str to handle strings (#36515) 2019-11-20 09:17:20 +01:00
Frédéric Péters 1ce0c7bcc3 portfolio: pass text to json (#36515) 2019-11-20 09:17:20 +01:00
Frédéric Péters c3371c012a tests: update error email for new py3 exception value (#36515) 2019-11-20 09:17:20 +01:00
Frédéric Péters 75bdc4816c tests: check decoded email payload (#36515) 2019-11-20 09:17:20 +01:00
Frédéric Péters 2af7c9d980 tests: update test_form_table_field_submit to use force_str (#36515) 2019-11-20 09:17:20 +01:00
Frédéric Péters 96d0c798b1 tests: use force_str() to encode item options (#36515) 2019-11-20 09:17:20 +01:00
Frédéric Péters 99f3e5d456 tests: adapt mime type tests (#36515) 2019-11-20 09:17:20 +01:00
Frédéric Péters 5ea45846d2 tests: only check simplify() on bytes in py2 (#36515) 2019-11-20 09:17:20 +01:00
Frédéric Péters a2006e1fde tests: adapt test_json_str_decoder for py3 (#36515) 2019-11-20 09:17:20 +01:00
Frédéric Péters 61b0a91ee3 tests: adapt inspect page test for py3 (#36515) 2019-11-20 09:17:20 +01:00
Frédéric Péters a06cbdd1e2 misc: adapt password storage (#36515) 2019-11-20 09:17:20 +01:00