Florent
c751b80bb6
Use fullid parameter and not a local formatting
2014-06-18 16:07:11 +02:00
Florent
8fee458824
Add some warnings
2014-06-18 15:45:18 +02:00
Florent
38a8fd00b7
Introduce parse_fields function
2014-06-18 15:45:11 +02:00
Florent
b105b8df19
Fix definition of DISPLAYED_FIELDS
2014-06-18 15:34:59 +02:00
Florent
7244665495
Set fields in a consistant way with do()
2014-06-18 15:20:46 +02:00
Florent
020124d5ff
Remove the '*' special fields in formatter
2014-06-18 15:19:35 +02:00
Florent
30732318b5
Introduce the DISPLAYED_FIELDS in formatter
2014-06-17 15:45:13 +02:00
Florent
b0349f0e8c
Try to guess if we need to change the formatter
2014-06-17 15:43:04 +02:00
Laurent Bachelier
b013828ad0
browser2: Add a filter to change the base element used for selectors
2014-06-17 00:48:30 +02:00
Bezleputh
b75d6dafcf
[repl] change formatter when it cannot handle all selected fields
2014-06-16 21:43:35 +02:00
Bezleputh
b8a1df26c1
fix unicode warning
2014-06-16 21:43:34 +02:00
Romain Bignon
09acbfde5e
use ConfigParser in priority with python2
2014-06-10 17:02:15 +02:00
Laurent Bachelier
04cec70e1f
browser2 filters: Force unicode, little style fixes
...
lxml for Python2 has the tendency to return str instead of
unicode when the contents are pure ASCII.
Try to fix the nonsense.
2014-06-04 00:58:35 +02:00
Laurent Bachelier
9619ddcaa2
browser2: Add RawText filter
...
Allows getting .text of elements without any alteration.
This is useful for at least textarea and pre tags.
Maybe the .join character should be configurable.
2014-06-04 00:49:00 +02:00
Laurent Bachelier
c69c5cf5ef
browser2: More specialized exceptions
...
and extend common exceptions
2014-06-03 22:28:21 +02:00
Bezleputh
c20e6123fc
[repl] allow to browse subfolders with ls
2014-06-01 13:39:25 +02:00
Laurent Bachelier
e01fda826c
filters: Properly handle defaults that are not datetimes
2014-05-27 17:41:51 +02:00
Laurent Bachelier
d56dff061d
Fix French date replacements
...
Otherwise, "janvier" got me "januaryary".
2014-05-27 15:40:42 +02:00
Romain Bignon
6d451e5f34
Date filter: use default value for empty input
2014-05-27 12:21:24 +02:00
Laurent Bachelier
aa72812b36
date tools: class methods to convert date[time] objects
2014-05-26 20:07:41 +02:00
Laurent Bachelier
3ffee483b0
yaml: Represent weboob date[time] objects as timestamps
...
Unfortunately, I couldn't make timestamps always load
as our date[time] objects, at least with CLoader.
2014-05-26 20:07:41 +02:00
Bezleputh
644f1ed4b0
[dates] add more french date translations
2014-05-22 15:17:00 +02:00
Romain Bignon
4b4ec43ab7
fix crash on python2.7.7 (conflict a new private method)
2014-05-22 09:25:27 +02:00
Bezleputh
3c4f8d35e0
[Filters] convert date in english in DateTime
2014-05-21 17:54:55 +02:00
Bezleputh
4489356623
[Message] remove required items in Message constructor
2014-05-21 17:53:53 +02:00
Bezleputh
69da2c5d99
[radioob] fix typo
2014-05-20 23:07:40 +02:00
Bezleputh
b6fd529249
move id parsing from application to capability
2014-05-20 23:07:40 +02:00
Bezleputh
ee8e72f51c
[radioob] update RadioListFormatter in order to display playlist
2014-05-20 23:07:40 +02:00
Bezleputh
e33c177212
Manage Albums and Playlists in radioob
2014-05-20 23:07:40 +02:00
Laurent Bachelier
fb011f2be6
repositories: Fix HTTP error handling for browser2
2014-05-20 00:02:55 +02:00
Florent
9ca0bbae6a
bump to 0.j
2014-05-19 22:45:35 +02:00
Romain Bignon
5c8982e5e9
Filter does not have any logger, raise an exception instead
2014-05-19 22:07:34 +02:00
Bezleputh
edc49f59b2
[calendar] fix unicode warning
2014-05-19 09:57:38 +02:00
Romain Bignon
5a6cdce345
fix unicode issues for values loaded from 'backends' config file
2014-05-19 09:20:34 +02:00
Romain Bignon
a5f95183a7
fix syntax error
2014-05-19 07:50:45 +02:00
Romain Bignon
c409675e6c
fix compatibility with python2.6
2014-05-19 07:23:12 +02:00
Laurent Bachelier
14b1b56914
browser2: Add an option to convert POST data to the proper encoding
...
And autodetect it on forms. There is no other way to know what is the
expected encoding.
2014-05-19 01:01:25 +02:00
Laurent Bachelier
45ba413a4b
pastoob: Add "info" command
2014-05-19 00:25:59 +02:00
Romain Bignon
e4d4ed206f
correctly handle _proxy_ssl backend's private config
2014-05-18 18:35:12 +02:00
Romain Bignon
a40643bf40
factorize aum's Contact.get_text() and boobmsg formatter into ICapContact
2014-05-17 19:07:31 +02:00
Romain Bignon
5dc9c8a2d4
ignore error when notes are not implemented on contacts
2014-05-17 18:18:20 +02:00
Romain Bignon
19ae5d6312
add linesep to output content if file is not sys.stdout ( closes #1383 )
2014-05-17 15:55:03 +02:00
Romain Bignon
62b8ca70c6
sorry Olf, I've in fact broken weboob-repos
2014-05-17 15:07:56 +02:00
Romain Bignon
15a58d5647
import browser exceptions from weboob.tools.exceptions
2014-05-17 14:56:07 +02:00
Romain Bignon
3e1dec519e
move ParseError into weboob.tools.exceptions
2014-05-17 14:27:55 +02:00
Romain Bignon
6fcac89dd5
first step in python3 support
2014-05-17 14:27:55 +02:00
Romain Bignon
7c1e08eb96
move browser exceptions into weboob.tools.exceptions
2014-05-17 14:27:55 +02:00
Romain Bignon
686a3b77e8
fix URL.id2url (give the browser instance to URL.build())
2014-05-17 14:27:34 +02:00
Laurent Bachelier
82f47bff88
Allow forcing a Page content encoding
2014-05-16 15:37:24 +02:00
Laurent Bachelier
e01b39c8d2
Also ignore URLs where all kwargs were not used
2014-05-16 11:47:25 +02:00