Commit Graph

1342 Commits

Author SHA1 Message Date
Frédéric Péters 05270c848c newsletters: convert filter() to list of values (py3)
gitea-wip/combo/pipeline/head Build queued... Details
gitea/combo/pipeline/head Build started... Details
2018-07-27 09:06:51 +02:00
Frédéric Péters 263b2ed8d2 notifications: force_text 2018-07-27 09:06:51 +02:00
Frédéric Péters 46847b2198 python3: make sure regex substitution is done on strings 2018-07-27 09:06:32 +02:00
Frédéric Péters e091734e1e python3: use six.string_types to check for strings 2018-07-26 13:33:05 +02:00
Frédéric Péters 0f308ce429 python3: force_text on exceptions 2018-07-26 13:33:05 +02:00
Frédéric Péters 42cf2a71d9 python3: use smart bytes for cache key 2018-07-26 13:33:05 +02:00
Frédéric Péters 86a3222ce8 python3: make sure __str__ return a real string 2018-07-26 13:33:05 +02:00
Frédéric Péters e55aef1371 python3: adapt crypto 2018-07-26 13:33:05 +02:00
Frédéric Péters 578492612b python3: use @python_2_unicode_compatible on classes 2018-07-26 13:33:05 +02:00
Frédéric Péters 1bd5333cb5 python3: add list filter tag, useful to convert dictionary views 2018-07-26 13:33:05 +02:00
Frédéric Péters e81294ed17 python3: exclude wcs from tox python3 tests 2018-07-26 13:33:05 +02:00
Frédéric Péters 9e2adf3665 python3: setup 2018-07-26 13:33:05 +02:00
Frédéric Péters a5c04e2f7a python3: replace .itervalues() by .values() 2018-07-26 13:33:05 +02:00
Frédéric Péters 33532cff62 python3: use six.with_metaclass to declare media metaclass 2018-07-26 13:33:05 +02:00
Frédéric Péters d4f5c76d0d python3: use force_text to make sure variables are strings 2018-07-26 13:33:05 +02:00
Frédéric Péters abeaccc7c1 python3: adapt signature check for different ord() behaviour 2018-07-26 13:33:05 +02:00
Frédéric Péters ae15cab91e python3: use smart bytes for signatures 2018-07-26 13:33:05 +02:00
Frédéric Péters b26cc32c59 python3: use BytesIO for response cache 2018-07-26 13:33:05 +02:00
Frédéric Péters d4346e2cfa python3: get HTML parser from six transition module 2018-07-26 13:33:05 +02:00
Frédéric Péters 0ff596b5e6 python3: replace execfile usage 2018-07-26 13:33:05 +02:00
Frédéric Péters 8e5b2ee686 python3: use relative import to get link cell form 2018-07-26 13:33:05 +02:00
Frédéric Péters 639e02eb1d python3: use modern syntax for catching exceptions 2018-07-26 13:33:05 +02:00
Frédéric Péters 594206130e python3: always sort using key 2018-07-26 13:33:05 +02:00
Frédéric Péters ef474d3ade python3: use urlparse from six 2018-07-26 13:33:05 +02:00
Frédéric Péters 98f3aac85a python3: access dictvalues as lists 2018-07-26 13:33:05 +02:00
Frédéric Péters 3a7f00da26 python3: replace iteritems() by items() 2018-07-26 13:33:05 +02:00
Frédéric Péters 3882075071 lingo: give csv text rows in python 3 2018-07-26 13:33:05 +02:00
Frédéric Péters 5b87381487 lingo: sort regies in basket cell 2018-07-26 13:33:05 +02:00
Frédéric Péters f6c37a62e4 python3: update print calls to be function calls 2018-07-26 13:33:05 +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 96ac10646a tests: use binary content in request cache tests 2018-07-26 08:29:46 +02:00
Frédéric Péters cbd9044835 tests: use response.text to check for textual contents 2018-07-26 08:29:42 +02:00
Frédéric Péters bc7ef1ddf3 tests: create momo zip test file as binary (py3) 2018-07-26 08:29:38 +02:00
Frédéric Péters 882d04d88c Revert "tests: use response.text for textual contents (py3)"
This reverts commit 079faada75, .text
should not be used for request cache yet.
2018-07-25 22:16:54 +02:00
Frédéric Péters 079faada75 tests: use response.text for textual contents (py3) 2018-07-25 22:00:09 +02:00
Frédéric Péters 6fec519794 tests: don't access dict_values directly (py3) 2018-07-25 21:46:55 +02:00
Frédéric Péters a50bbad34b tests: use response.text for textual contents (py3) 2018-07-25 21:28:26 +02:00
Frédéric Péters 851e032040 tests: adjust upload contents to be bytes (py3) 2018-07-25 21:28:22 +02:00
Frédéric Péters 61452c1f7d tests: use force_text() instead of unicode() 2018-07-25 21:19:02 +02:00
Frédéric Péters 64305b1cb8 tests: use resp.text to compare against string 2018-07-25 20:54:08 +02:00
Frédéric Péters 03cdecb644 tests: adjust import/export test for python 3 2018-07-25 20:48:33 +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 e50865b722 tox: force usage of python 2 to create virtual environments 2018-07-23 22:41:11 +02:00
Frédéric Péters 7137203480 misc: don't use permanent redirect for moved pages (#25390) 2018-07-20 10:17:11 +02:00
Frédéric Péters a745d98e7a general: add basic export/import of named assets (#24933) 2018-07-18 10:32:21 +02:00
Frédéric Péters 35d9a1bbba general: create page hierarchy beforehand (#24238) 2018-07-16 09:04:59 +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 cb3a97c579 fix grammar in translation 2018-07-15 18:35:51 +02:00
Frédéric Péters 46f0a937b5 tests: only check path of URL 2018-07-14 11:59:06 +02:00
Frédéric Péters c905276c45 general: keep a redirect on slug and parent changes (#20760) 2018-07-13 08:46:09 +02:00