smurail
977f5a9f02
cleaner way to get rid of BOM for CsvPage
2014-10-20 17:13:01 +02:00
smurail
a6a7130b31
add ChecksumPage mixin
2014-10-20 17:13:01 +02:00
smurail
237036ce3e
new api for content, encoding, and document building
2014-10-20 17:13:01 +02:00
Romain Bignon
88a899e8b3
fix StatusField to be a BaseObject
2014-10-19 13:09:25 +02:00
Laurent Bachelier
92fd11e4cf
browser tests: More Pythonic names
2014-10-19 00:28:44 +02:00
Laurent Bachelier
0a3300c891
browser tests: Fixes
...
pyflakes/pep8, test name in setup.cfg, remove useless comments
2014-10-19 00:28:43 +02:00
juliaL03
8a6c657194
Tests method Groupe Julia Lille1
...
Signed-off-by: juliaL03 <julia.leven@etudiant.univ-lille1.fr>
2014-10-19 00:28:43 +02:00
Laurent Bachelier
3fcfc9a980
form: Add comments
2014-10-19 00:28:43 +02:00
Laurent Bachelier
fd3484e063
filters: Add Unicode normalization to CleanText
...
With a default to 'NFC'.
This is inspired by python-ftfy, which has a nice explanation of the modes:
https://github.com/LuminosoInsight/python-ftfy
I think K is too strong to be a default, however C has zero visual differences
and should be the most common way to represent Unicode characters.
2014-10-19 00:28:43 +02:00
Florent
d6da9843db
Set copyright in applications
2014-10-17 17:57:42 +02:00
Florent
feb1405813
bump to 1.1
2014-10-17 14:10:38 +02:00
Florent
ac1e85d505
Update android user agent
2014-10-17 11:36:18 +02:00
Romain Bignon
f183e5e80c
fix certificate check on servers which don't allow SSLv3
2014-10-16 11:37:21 +02:00
Bezleputh
724a18873b
[videoob] set non verbose mode for wget when downloading m3u8 ( fix #1643 )
2014-10-15 11:10:43 +02:00
Laurent Bachelier
d500abf336
We have so many tests we make nose crash!
...
We raise the recursion limit, as the recursion here is normal.
This happens with nose 1.3.4.
2014-10-14 12:25:43 +02:00
Laurent Bachelier
db1618e86f
pep8: Various manual fixes
2014-10-13 23:03:51 +02:00
smurail
d9065796e9
add Emirati Dirham AEB currency
2014-10-13 22:48:55 +02:00
Oleg Plakhotniuk
d7acf211bd
American amount to decimal conversion; PDF decompression function; regexp-based tokenizer. Part of #1641
2014-10-13 04:23:05 -05:00
Romain Bignon
6322500d03
fix 'module' condition in WebNip.iter_backends()
2014-10-11 20:16:40 +02:00
Romain Bignon
94cea6458b
ability to select an ItemElement
2014-10-11 16:55:59 +02:00
Laurent Bachelier
f4c17cdc9d
pep8: Fix E303 too many blank lines
2014-10-11 02:15:28 +02:00
Laurent Bachelier
4f897a8675
pep8: Fix object comparisons
2014-10-11 01:46:25 +02:00
Laurent Bachelier
7aeb3e942e
pep8: Fix indentation is not a multiple of four
...
autopep8 -a -r -i --select E111 .
Manual check.
2014-10-11 01:41:00 +02:00
Laurent Bachelier
21e8f82fd7
pep8: Use "X not in Y" instead of "not X in Y"
...
flake8 --select E713, semi-manual fixing
2014-10-11 01:27:24 +02:00
Laurent Bachelier
448c06d125
pep8 blank lines fixes
...
flake8 --select W391,E302,E301,E304
autopep8 can't fix W391 even though it claims it can.
Fixed using a simple custom script.
2014-10-10 23:41:44 +02:00
Laurent Bachelier
e783f2c821
Remove tuple method parameters
...
They can be found through autopep8 (W690) or python-modernize.
Variables manually renamed.
This is because Python 3 does not support tuple unpacking:
http://legacy.python.org/dev/peps/pep-3113/
2014-10-10 23:41:44 +02:00
Laurent Bachelier
6161a0aacd
pep8 fixes, modernizations
...
autopep8 -a -r -i --select E711,E712,W601,W602,W603,W604,W690,E304,E401,E502 .
Also includes some manual reindentations (many are left after the print()
changes).
Manually checked, some modernizations not commited here.
2014-10-10 23:41:43 +02:00
Laurent Bachelier
e2ac8687c6
Always raise instances of NotImplementedError
2014-10-10 23:41:43 +02:00
Romain Bignon
b1f20b5489
fix bcall to to new behavior of do(), and fix QtDo too, and all Qt applications...
2014-10-10 17:34:48 +02:00
Florent
768be7fcc6
Fix "show" for threads in boobmsg
2014-10-10 14:56:40 +02:00
Romain Bignon
eea0eaa2d5
fix compatibility with the new behavior of do()
2014-10-10 14:19:05 +02:00
Florent
628c63f899
Remove backend for do() calls
2014-10-10 14:11:45 +02:00
Laurent Bachelier
23b4cc909f
Add has-class xpath function
...
Taken from https://gist.github.com/shirk3y/458224083ce5464627bc
2014-10-10 10:09:14 +02:00
Florent
c3cbebfeef
Add a trivial Android profile
2014-10-10 10:07:47 +02:00
Romain Bignon
c3c2ed404a
return correct exit status code for enable and disable commands
2014-10-09 15:23:18 +02:00
Florent
2d5bd37756
Documentation on -dd
2014-10-09 13:33:43 +02:00
Florent
4f33f914ad
Allow to load a module with config=None
2014-10-09 13:24:52 +02:00
Romain Bignon
22c436bcb8
documentation
2014-10-08 17:10:13 +02:00
Romain Bignon
a2a9db4f09
create PrintProgress class instead of using IProgress as default one
2014-10-08 17:10:13 +02:00
Romain Bignon
a8477c14f2
add __getitem__ on WebNip to get a loaded backend by name
2014-10-08 17:10:13 +02:00
Romain Bignon
1a8a0db712
WebNip.iter_backends takes a new optional parameter 'module'
2014-10-08 17:10:13 +02:00
Florent
f5e5584004
Prepare removing of backend in do calls
2014-10-08 17:04:40 +02:00
Florent
fab37e2533
Update send_mail to prepare removing of backend
2014-10-08 16:59:13 +02:00
Florent
93bc66fc60
Prepare to remove backend in do() calls
2014-10-08 16:51:29 +02:00
Laurent Bachelier
e52e85022a
logging: Restore more discreet DEBUG color
2014-10-08 15:52:12 +02:00
Laurent Bachelier
72819cdb67
html2text: Use the class if possible
2014-10-08 15:45:40 +02:00
Laurent Bachelier
362b441445
newsfeed: No need for workaround with feedparser>=5.1
2014-10-08 15:45:40 +02:00
Romain Bignon
65ece349db
HTMLPage checks the inner charset and parse again document if it is not the same than Content-Type HTTP header
2014-10-08 15:42:58 +02:00
Bezleputh
d73c6b2245
Add a " LIMIT " keyword in conditions
2014-10-08 13:05:40 +02:00
Bezleputh
c2654ba06d
[CapHousing] fix pep8
2014-10-08 10:45:31 +02:00