Commit graph

220 commits

Author SHA1 Message Date
Florent
cba66416b2 Expand html/xml in debug mode 2014-10-02 10:56:11 +02:00
Florent
bdd2be4d4b introduce an incremental id to help the debug reading 2014-10-02 10:56:11 +02:00
Florent
ef9e45a544 Print obj.attr first 2014-10-02 10:56:11 +02:00
Florent
20b5a534c5 Display results in debug only once 2014-10-02 10:56:11 +02:00
Florent
5a4920748d Get objects id and attribut name in debug 2014-10-02 10:56:11 +02:00
Florent
dbc33de235 Use %r and not %s 2014-10-02 10:56:11 +02:00
Florent
a3d8217fb7 Add the type in formatting 2014-10-02 10:56:11 +02:00
Florent
d89ef22772 Make some attribute private 2014-10-02 10:56:11 +02:00
Florent
b84b25db66 Fix formatting and add some black magic to @debug 2014-10-02 10:56:11 +02:00
Florent
5daba0f8ab Add debug on some standards filters 2014-10-02 10:56:11 +02:00
Florent
b337d2f655 Add debug pre-processor 2014-10-02 10:56:11 +02:00
Florent
dd5213b761 Add __str__ to _Filters 2014-10-02 10:56:11 +02:00
Laurent Bachelier
deb1249e65 browser2: Fix error message text 2014-10-01 16:23:04 +02:00
Florent
54a1bc4809 Remove * imports in filters 2014-09-29 22:31:54 +02:00
Florent
fbd8cf1a64 Move CleanHTML to html filters 2014-09-29 22:31:54 +02:00
Florent
0088013ae1 Rename BaseBrowser to Browser 2014-09-26 10:18:12 +02:00
Florent
444d36eee8 Rename BasePage to Page 2014-09-26 10:18:12 +02:00
smurail
26c929ff9d JSVar: fix encoding issues and simplify code 2014-09-24 16:00:48 +02:00
smurail
128739aceb JSVar: add cornercase 2014-09-23 11:12:19 +02:00
smurail
72852cee13 let JSVar inherits from parameters of Regexp (like nth) 2014-09-23 11:12:18 +02:00
smurail
eb335e66fc add an nth parameter to Regexp filter 2014-09-23 11:12:17 +02:00
Vincent Paredes
c44c7853d0 backporting mergin_hook to support hook's requests in wheezy 2014-09-22 23:00:03 +02:00
Romain Bignon
dbd87d22ab move handle_loaders into AbstractElement 2014-09-20 23:51:28 +02:00
smurail
99e797410d JSVar: oops 2014-09-18 12:51:28 +02:00
smurail
1b4f750888 minor fix of JSVar 2014-09-17 16:06:03 +02:00
smurail
7f7d762aa5 add some javascript dedicated filters 2014-09-17 15:57:16 +02:00
smurail
e37df1417f Regexp: let template be a callable 2014-09-17 15:54:21 +02:00
Romain Bignon
e3666afdfe require python-concurrent.futures only when needed 2014-09-16 20:01:45 +02:00
smurail
902f26767d add a way to asynchronously handle requests and pages 2014-09-12 18:58:56 +02:00
smurail
1d84d6aa39 add a way to customize sign handling for CleanDecimal 2014-09-11 19:46:11 +02:00
Romain Bignon
a96b738242 raise ParseError only with None/NotAvailable/NotLoaded values, not with empty strings 2014-09-06 11:44:41 +02:00
Romain Bignon
52899a7ca9 add __repr__ on NotAvailable, NotLoaded and _NO_DEFAULT constants to be more readable on doc 2014-09-03 07:21:23 +02:00
Laurent Bachelier
e741431aa1 Add a new "Type" filter 2014-09-02 12:15:54 +02:00
Laurent Bachelier
f7136045d1 Fix doctest 2014-09-02 12:15:54 +02:00
Laurent Bachelier
59095aa85e CleanDecimal: do not crash with inputs like NotAvailable 2014-09-02 12:15:54 +02:00
Laurent Bachelier
1838f62e28 Allow more flexibility for the submit button parameter 2014-08-26 18:05:25 +02:00
Laurent Bachelier
a3c208dccf Add support for forms with multiple "submit" elements 2014-08-26 18:05:25 +02:00
Laurent Bachelier
3728ba2e74 Update Firefox versions to latest ESR 2014-08-26 18:05:25 +02:00
Florent
09b0de545e set replace_dots default value to False 2014-08-21 10:27:20 +02:00
Florent
ce133dcf8a Fix documentation of nr parameter 2014-08-19 08:58:12 +02:00
Laurent Bachelier
8c3e92aa31 fix re flags usage for Python 2.6
fixes #1444
2014-08-13 19:49:24 +02:00
Laurent Bachelier
3a3e3d0438 Help debug Filter errors 2014-08-05 20:27:48 +02:00
Laurent Bachelier
94deb53352 Add support for a default in Env 2014-08-05 20:27:48 +02:00
Laurent Bachelier
a0559e539e CleanText improvements
* \t is always in \s so no need to add it
* handle the non-breaking space thanks to the re.UNICODE flag
* add an option to keep (but normalize) newlines
* more tests
2014-08-05 20:27:48 +02:00
Laurent Bachelier
b6c6ed2306 Fix filters doctests and add them to the usual test run 2014-08-05 20:27:48 +02:00
Laurent Bachelier
d19e0637e4 CleanText: Always return unicode 2014-08-05 20:27:48 +02:00
Laurent Bachelier
819de1ace0 Do not crash if total_seconds() is not implemented
Which is the case with Python 2.6.
We could do the calculation ourselves, but this is not a very important
feature.
2014-08-05 20:27:48 +02:00
Romain Bignon
1005197a92 add CsvPage 2014-07-11 15:24:24 +02:00
Romain Bignon
c90b5844e4 split filters into several files 2014-07-11 15:24:19 +02:00
smurail
8cb44a45a7 possibility to set custom separators for decimals 2014-07-09 19:02:23 +02:00