Commit graph

66 commits

Author SHA1 Message Date
Romain Bignon
b67050cab8 Merge branch 'master' of /var/git/pub/romain/weboob 2010-04-14 20:59:49 +02:00
Romain Bignon
88f6fa90ca import parsers only if library used is available 2010-04-14 20:59:12 +02:00
Christophe Benz
fb711746b3 add function name to logs 2010-04-14 18:14:46 +02:00
Romain Bignon
e77865064b reset NoHistory() as default history class (to save memory) 2010-04-14 11:32:37 +02:00
Romain Bignon
ff87ba2348 fix parser when api is not 'etree' 2010-04-14 10:25:18 +02:00
Romain Bignon
3ebdea9faf several fixes 2010-04-14 09:49:10 +02:00
Romain Bignon
66ba8f89c1 fix syntax error 2010-04-14 09:10:42 +02:00
Romain Bignon
18e88ae244 revert test on commands arguments 2010-04-14 00:45:32 +02:00
Romain Bignon
9c828733ab Merge branch 'master' of ssh+git://git.symlink.me/var/git/pub/juke/weboob 2010-04-14 00:44:55 +02:00
Juke
ac5049ae07 remove arg_parse error when len(args) > nb_args 2010-04-13 18:26:25 +02:00
Christophe Benz
57e233cf3b change Browser API to specify parser instance 2010-04-13 16:48:12 +02:00
Christophe Benz
41ef766e48 add html5lib parser 2010-04-13 16:46:13 +02:00
Christophe Benz
da612c58c4 provide many parsers 2010-04-13 16:02:13 +02:00
Romain Bignon
d5e1d22c2d bad fix when page is strangely encoded (for example fucking DLFP) 2010-04-13 15:03:50 +02:00
Christophe Benz
12908c01c5 display nice message on SIGINT 2010-04-12 16:57:38 +02:00
Christophe Benz
1b7514dbfd use optparse to set loglevel 2010-04-12 16:57:38 +02:00
Romain Bignon
7b3ab4c38a fix entity parsing in fucking bad HTML (for example DLFP) 2010-04-12 14:42:17 +02:00
Romain Bignon
d261317303 change html2text parameters to get unicode chars and to skip internal links 2010-04-12 14:22:03 +02:00
Romain Bignon
3027c1ece2 fix parsing of HTML entities with HTMLParser 2010-04-12 14:21:38 +02:00
Romain Bignon
3c4ea6f451 add a wrapper of html2text 2010-04-11 19:45:12 +02:00
Romain Bignon
db32ee67f9 check commands arguments without catching TypeError exception 2010-04-11 19:26:32 +02:00
Romain Bignon
cad438214e add weboob.tools.application.prompt.PromptApplication 2010-04-11 18:04:57 +02:00
Romain Bignon
da8c6433d4 split weboob.tools.application to .base and .console 2010-04-11 18:04:30 +02:00
Romain Bignon
76c4622dc3 [dlfp] ICapMessagesReply.post_reply() implemented 2010-04-10 17:14:59 +02:00
Romain Bignon
c819276f4f correctly implement iter_messages() to return every messages 2010-04-10 10:24:14 +02:00
Christophe Benz
97f3d22b8a do not set default APPNAME since it breaks default config file generation 2010-04-09 18:42:03 +02:00
Romain Bignon
bdf34a2176 better organisation in storage 2010-04-09 00:15:25 +02:00
Romain Bignon
6e3e93e08b use storage to store dlfp messages state 2010-04-08 22:34:57 +02:00
Romain Bignon
1f712ec513 method 'create_storage' to... create a IStorage object 2010-04-08 22:00:57 +02:00
Romain Bignon
7630dac4e6 new backends storage system 2010-04-08 22:00:37 +02:00
Christophe Benz
b15bd31557 disallow empty passwords 2010-04-08 18:27:28 +02:00
Christophe Benz
4ef9fd43d3 enhance log messages format 2010-04-08 18:27:22 +02:00
Christophe Benz
239c4ddeb3 save default frontend config 2010-04-08 16:07:31 +02:00
Christophe Benz
690d547243 add default configuration for logging module 2010-04-08 16:07:21 +02:00
Romain Bignon
9329df5b43 add a comment to say why elementtidy support is disabled 2010-04-08 14:56:37 +02:00
Christophe Benz
6159a789b5 check for config file permissions since it contains passwords 2010-04-08 14:51:14 +02:00
Christophe Benz
288ea1f142 while elementtidy segfaults, force using internal HTMLTreeBuilder 2010-04-08 14:50:09 +02:00
Romain Bignon
c662063756 fix auto-generated commands syntax 2010-04-06 23:02:41 +02:00
Romain Bignon
7b2295cf6c new frontend 'weboobcfg' 2010-04-06 22:53:07 +02:00
Romain Bignon
27af8988b1 ConsoleApplication provides methods to handle commands 2010-04-06 21:53:54 +02:00
Romain Bignon
56fea28640 split module loader in ModulesLoader and BackendsConfig classes 2010-04-06 21:17:51 +02:00
Romain Bignon
3393fb73e9 abstraction on scheduler 2010-04-04 18:17:01 +02:00
Romain Bignon
655bc10e3e aibility to backends to define a specific pages charset 2010-04-04 16:51:05 +02:00
Romain Bignon
97d6ad447b convert comment time to UTC 2010-04-04 15:10:59 +02:00
Romain Bignon
612fcd1cf5 function tostring() to get HTML string from element 2010-04-04 14:34:30 +02:00
Romain Bignon
82e9108aa8 fix yaml config loader 2010-04-03 18:31:17 +02:00
Romain Bignon
a045024e80 [backends.aum] little fixes 2010-04-03 17:34:09 +02:00
Romain Bignon
51433d6549 use cElementTree and elementtidy as default encoders, and added wrappers to ElementParser and HTMLParser if they are missing 2010-04-03 17:14:59 +02:00
Romain Bignon
3d0c80c323 improve the dummy script 2010-04-01 20:25:32 +02:00
Romain Bignon
2cb52beba5 new frontend configuration system 2010-04-01 20:06:49 +02:00