Commit graph

3,306 commits

Author SHA1 Message Date
Florent
9370b2fae7 s/Backend/Module 2014-09-26 10:18:11 +02:00
Florent
3ecb491c1c s/BACKEND/MODULE/ 2014-09-26 10:18:11 +02:00
Florent
8559af3d6a s/BaseBackend/BaseModule 2014-09-26 10:18:11 +02:00
Bezleputh
3e1a8b735a [CapHousing] add and handle in leboncoin a new house type : UNKNOWN 2014-09-25 15:41:28 +02:00
Bezleputh
9c6b2b0581 [qflatboob] manage count to avoid problems during pagination 2014-09-25 10:34:00 +02:00
Bezleputh
15bf492fca [flatboob] ask for query.type in flatboob 2014-09-25 10:29:59 +02:00
Bezleputh
7304f1dee1 [CapHousing] add and handle in flatboob house_types field 2014-09-25 10:29:58 +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
Romain Bignon
95322811c8 fix missing import 2014-09-22 23:05:22 +02:00
Vincent Paredes
c44c7853d0 backporting mergin_hook to support hook's requests in wheezy 2014-09-22 23:00:03 +02:00
smurail
bb4e91aa2e prevent mess when copying BaseObject instances
Note: to understand this fix, see AbstractElement.__init__ -- it calls
deepcopy on parent.env, it caused copying of objects we do not want to
copy such as thread locks.
2014-09-22 17:33:02 +02:00
Florent
6f1b58d6a5 Catch parcelnotfound by untracking 2014-09-22 17:06:24 +02:00
Florent
828509d72a Add parcelnotfound exception 2014-09-22 17:06:20 +02:00
Bezleputh
e622aa9ad8 [CapCalendar] add Conference event category 2014-09-21 12:13:45 +02:00
Laurent Bachelier
8bf0cba300 core: Use the new vocabulary 2014-09-21 12:13:23 +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
Romain Bignon
d5a43991b6 when getting an object, if at least one is found, display errors but correctly return the found object 2014-09-18 12:51:28 +02:00
Laurent Bachelier
e9c047ce93 applications: Define std* in the proper class
This would make weboob-debug unusable, for example.
2014-09-18 12:49:26 +02:00
Laurent Bachelier
1150e89b65 webcontentedit: Better checks for vim usage
Using a full path would not detect vim (/usr/bin/vim).
Also, we can detect if EDITOR=vi but the vi is a symlink to vim.
2014-09-17 21:49:55 +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
Romain Bignon
f2c536ffc8 ability to set value to an empty string if it is available in choices 2014-09-15 09:45:48 +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
smurail
1b3b9a72ff let get_currency guess US$ means USD 2014-09-11 19:46:00 +02:00
Laurent Bachelier
4d63955cb5 Put back wrongly removed __all__ 2014-09-10 14:05:08 +02:00
Laurent Bachelier
3da02fde24 Remove useless __all__ in modules
They bring nothing of value (we never use import * anyway) and introduce
a maintenance burden.

The __all__ that I left might not be very useful either but at least
they are not a pain to maintain; they are also used by pyflakes in some
cases.
2014-09-09 19:00:02 +02:00
Laurent Bachelier
0283597283 tests: Use the Python SkipTest if possible
This makes nosetests optional at least in theory.
Recent nose versions already do the same thing internally.
2014-09-09 18:36:04 +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
a4c1acd2f0 fix regression introduced by 19a95dc0d6 2014-09-06 11:08:43 +02:00
François Revol
ecd265de4f Replace usage of os.mknod() by os.open(O_CREAT)
Haiku doesn't have mknod().
Actually it does now, but it might take ages for python
to support it as os.mknod().
2014-09-05 08:32:58 +02:00
Laurent Bachelier
a4162e46e6 repositories: Catch the proper exception for missing icon 2014-09-04 23:37:16 +02:00
Laurent Bachelier
c07e23cafc Use class attributes as much as possible for application output
refs #803
2014-09-04 12:41:25 +02:00
Laurent Bachelier
ee8e7cee3d pastoob: Add an option to set a custom file encoding 2014-09-04 12:41:25 +02:00
Laurent Bachelier
19a95dc0d6 Centralize encoding guesses, default to UTF-8
This might not be enough for print() and could need a locale.setlocale()
even though it is generally discouraged.

closes #1352
2014-09-04 12:41:25 +02:00
Florent
432f97e95c bump to 1.0 2014-09-03 17:14:10 +02:00
Romain Bignon
f834f63b02 Use fullid parameter and not a local formatting 2014-09-03 16:15:28 +02:00
Florent
030197c738 Remove the 'inspect' command 2014-09-03 15:02:38 +02:00
Florent
fe02de196b Remove the webkit_mechanize_browser import 2014-09-03 14:59:54 +02:00
Florent
e110e18841 Remove TestCase export 2014-09-03 14:51:54 +02:00
Florent
9ab9026d75 Fix numbering of the list 2014-09-03 14:43:22 +02:00
Romain Bignon
9d4cb49dc5 add documentation on object constants 2014-09-03 07:40:13 +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
Romain Bignon
6a3c9c78f9 parse_french_date: understand "aoû" 2014-09-02 16:54:14 +02:00