Commit graph

36 commits

Author SHA1 Message Date
Romain Bignon
d291019ce9 fix TableElement to be really case insensitive 2014-04-15 09:15:12 +02:00
Vincent Paredes
f7c4bb39c5 remove case sensitive checking 2014-04-14 16:42:39 +02:00
Romain Bignon
1bef60b347 URL builds absolute urls from BASEURL 2014-04-13 12:32:02 +02:00
Romain Bignon
07f6507096 improve documentation of browser2 2014-04-12 15:02:34 +02:00
Romain Bignon
5f59c130b3 add decorator pagination 2014-04-12 12:48:14 +02:00
Bezleputh
0ed7ed2b2d [browser2] add an XMLPage 2014-04-03 16:34:36 +02:00
Florent
839834edf2 Add name attribut to Form object 2014-04-01 12:33:27 +02:00
Romain Bignon
dd68bfd3fc fix use of checked checkbox/radiobuttons in forms 2014-03-29 20:00:14 +01:00
Florent
d768de6638 Add RawPage to Browser2 2014-03-28 13:24:26 +01:00
Romain Bignon
698ed5fb06 add exceptions, add _Filter.default_or_raise, and other fixes 2014-03-25 22:28:09 +01:00
Bezleputh
9eacdb0347 [browser2] fix bug in is_here when self.klass is None 2014-03-24 19:15:57 +01:00
Romain Bignon
f6b5996652 fix count of forms 2014-03-22 16:06:51 +01:00
Florent
41e2cab536 Add documentation 2014-03-22 14:59:01 +01:00
Laurent Bachelier
0927230e95 Also check arguments with is_here()
Otherwise, something like that would never work:
page.stay_or_go(id=1)
page.stay_or_go(id=2)  # would stay on URL for id=1

To avoid breaking simple usage of is_here(), if no arguments are
provided, then there are no checks.

That means:
page.stay_or_go(id=1)
page.stay_or_go()  # nothing happens
2014-03-22 12:43:53 +01:00
Laurent Bachelier
463fdb2016 Fix passing the URL with id2url, when provided with an URL
It was passing the match result instead.
2014-03-22 12:43:53 +01:00
Laurent Bachelier
27aa772ef5 Escape the base URL before adding it to the regexp 2014-03-22 12:43:53 +01:00
Florent
d31e03db8e Move LoggedPage in tools.browser2 2014-03-20 12:10:21 +01:00
Florent
4e6333fbcd Do not crash if an input does not have any type 2014-03-20 11:51:03 +01:00
Romain Bignon
0a53824104 URL.open and URL.go can take 'params' argument 2014-03-20 07:48:23 +01:00
Bezleputh
06cee506f9 [browser2] Add JsonPage 2014-03-20 00:45:19 +01:00
Bezleputh
1114dbd516 [browser2] Add an "open" method in order to open an url without changing the current URL 2014-03-20 00:40:55 +01:00
Romain Bignon
5fb0aad01e fix crash in multithread environment 2014-03-19 18:56:39 +01:00
Romain Bignon
fe4dbf8698 consider select and textarea fields in forms 2014-03-19 12:19:00 +01:00
Romain Bignon
ec3af7bfab remove dependencie to weboob.tools.parsers 2014-03-17 21:43:57 +01:00
Romain Bignon
a74b31df33 several of little fixes 2014-03-14 00:19:08 +01:00
Bezleputh
2673b3a340 fix rename error 2014-03-14 00:19:15 +01:00
Romain Bignon
266300ab65 add UrlNotResolvable exception when URL.build can't resolve url with keywords 2014-03-13 22:06:47 +01:00
Romain Bignon
d472fd6eec fix crash 2014-03-13 21:45:34 +01:00
Romain Bignon
9724dcf461 add URL.id2url decorator 2014-03-13 21:27:59 +01:00
Romain Bignon
bf8675c88b PagesBrowser.open and PagesBrowser.location always return a Response object 2014-03-13 21:27:59 +01:00
Bezleputh
eefe784352 [browser2] put ListElement call parameters in self.param 2014-03-13 20:20:03 +01:00
Bezleputh
7d59640712 [browser2] add a validate method in order to check objet before returning him 2014-03-13 20:20:03 +01:00
Romain Bignon
04b7a9d572 force referer when submitting a form 2014-03-12 23:41:06 +01:00
Romain Bignon
80d3f693e8 change API of TableElement to use col_ attributes instead of dict 2014-03-12 08:43:48 +01:00
Romain Bignon
fd8136ebfe keep order in obj_* attributes, and changes in API 2014-03-10 22:52:59 +01:00
Romain Bignon
8ea92461dc add PagesBrowser, ListElement, ItemElement, TableElement, and filters 2014-03-10 13:11:07 +01:00