Commit graph

27 commits

Author SHA1 Message Date
Romain Bignon
39f5deb7db BackendsConfig methods: edit_backend() and get_backend() 2010-06-21 22:59:44 +02:00
Christophe Benz
64e380635d display exceptions backtraces if debug mode enabled 2010-05-20 16:29:19 +02:00
Christophe Benz
dae7b65107 protect function argument 2010-05-14 19:04:02 +02:00
Romain Bignon
11cfc1d68b load backends config's values in raw 2010-05-01 16:02:56 +02:00
Romain Bignon
3b6bca66ca fix loading modules 2010-05-01 11:09:36 +02:00
Romain Bignon
9915edbaf7 fix loading of modules by names 2010-04-20 09:24:47 +02:00
Christophe Benz
70319dbb1e new style classes 2010-04-19 19:10:46 +02:00
Christophe Benz
cebcead318 add __all__ variable to many modules 2010-04-16 18:11:52 +02:00
Christophe Benz
54cc3b0a4a unused code, imports, or variables 2010-04-16 18:11:52 +02:00
Christophe Benz
a09658d6cf rename Backend to BaseBackend 2010-04-16 18:11:52 +02:00
Romain Bignon
d61a9ad4d5 create ~/.weboob/backends with right permssions if it does not exist. 2010-04-09 17:31:47 +02:00
Romain Bignon
7630dac4e6 new backends storage system 2010-04-08 22:00:37 +02:00
Christophe Benz
f0e8747a9b load modules on demand for load_backends 2010-04-08 18:32:34 +02:00
Christophe Benz
b29a3f223f enhance user console messages, and always use double quotes 2010-04-08 18:27:08 +02:00
Christophe Benz
6159a789b5 check for config file permissions since it contains passwords 2010-04-08 14:51:14 +02:00
Romain Bignon
7b2295cf6c new frontend 'weboobcfg' 2010-04-06 22:53:07 +02:00
Romain Bignon
56fea28640 split module loader in ModulesLoader and BackendsConfig classes 2010-04-06 21:17:51 +02:00
Romain Bignon
4736260993 store instance name in Backend 2010-04-04 18:57:39 +02:00
Romain Bignon
e119a70cec new system to load backends
Now there is a single file ~/.weboob/backends, where every backends are
instancied. There are two ways to create backends for frontends:
- Use Weboob.load_backends(), to load every backends in the config file
- Use Weboob.load_modules(), to instanciate every module one time
2010-04-01 20:05:09 +02:00
Romain Bignon
7d274c74b7 fix backends initialization 2010-03-30 23:30:58 +02:00
Romain Bignon
f65ca1c8b6 improve caps 2010-03-23 11:56:18 +01:00
Christophe Benz
d699e307dd use lower_case_with_underscores instead of mixedCase for methods (PEP 8) 2010-03-11 15:13:17 +01:00
Romain Bignon
8c4340bed3 create backends with Weboob object 2010-03-08 17:45:11 +01:00
Romain Bignon
f06ef5da34 better capabilities management (class interfaces instead of constants) 2010-02-23 20:39:01 +01:00
Romain Bignon
2aa2e01bc5 support of backend capabilities 2010-02-20 14:31:53 +01:00
Romain Bignon
458c92b4f8 moved the Weboob class 2010-02-20 13:57:04 +01:00
Romain Bignon
34f42b9af1 modules loader 2010-02-20 13:48:19 +01:00