Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
weboob
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
184
Issues
184
List
Boards
Labels
Milestones
Merge Requests
50
Merge Requests
50
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
The new woob repository is here:
https://gitlab.com/woob/woob
. This gitlab will be removed soon.
Open sidebar
weboob
weboob
Commits
6b859d4b
Commit
6b859d4b
authored
Mar 13, 2021
by
Roger Philibert
Committed by
Vincent A
Mar 24, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
woob: more renames
parent
7f0c5015
Pipeline
#3699
passed with stages
in 66 minutes and 1 second
Changes
17
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
44 additions
and
44 deletions
+44
-44
AUTHORS
AUTHORS
+1
-1
contrib/anonymiser.sh
contrib/anonymiser.sh
+1
-1
contrib/boobank_indicator/README.md
contrib/boobank_indicator/README.md
+5
-5
contrib/boobank_indicator/setup.py
contrib/boobank_indicator/setup.py
+1
-1
contrib/munin/boobank-munin
contrib/munin/boobank-munin
+4
-4
contrib/munin/freemobile-munin
contrib/munin/freemobile-munin
+1
-1
contrib/munin/weboob-generic
contrib/munin/weboob-generic
+3
-3
contrib/webextension-session-importer/README
contrib/webextension-session-importer/README
+6
-6
contrib/webextension-session-importer/manifest.json
contrib/webextension-session-importer/manifest.json
+4
-4
tools/boilerplate/recipe.py
tools/boilerplate/recipe.py
+3
-3
tools/check_xpath.py
tools/check_xpath.py
+2
-2
tools/har-to-old.py
tools/har-to-old.py
+1
-1
tools/make_man.py
tools/make_man.py
+2
-2
tools/modules_testing_grid.py
tools/modules_testing_grid.py
+3
-3
tools/run_tests.sh
tools/run_tests.sh
+3
-3
tools/stable_backport_data/weboob_tools_captcha_virtkeyboard.py
...stable_backport_data/weboob_tools_captcha_virtkeyboard.py
+3
-3
tools/woob_lint.py
tools/woob_lint.py
+1
-1
No files found.
AUTHORS
View file @
6b859d4b
W
eb
oob is a free software written by:
Woob is a free software written by:
Romain Bignon <romain@weboob.org>
* Core team;
...
...
contrib/anonymiser.sh
View file @
6b859d4b
...
...
@@ -12,7 +12,7 @@ then
dossier
=
$1
else
echo
"Usage:
$0
FOLDER"
echo
"For example :
$0
/tmp/w
eb
oob_session_NLSIls/freemobile/"
echo
"For example :
$0
/tmp/woob_session_NLSIls/freemobile/"
exit
1
fi
...
...
contrib/boobank_indicator/README.md
View file @
6b859d4b
W
eb
oob
Woob
==========
W
eb
oob is a project which provides a core library, modules and applications
Woob is a project which provides a core library, modules and applications
such as boobank.
Overview
...
...
@@ -20,7 +20,7 @@ in a multi-threaded way.
The core library provides base classes which help developers write
modules and applications.
W
eb
oob is written in Python and is distributed under the LGPLv3+ license.
Woob is written in Python and is distributed under the LGPLv3+ license.
For more information, please go to the official website at http://woob.tech/
...
...
@@ -49,7 +49,7 @@ depending on your Ubuntu Version. Or put it in `~/.config/openbox/autostart`
###Dependencies
-
w
eb
oob >= 1.0
-
woob >= 1.0
-
gir1.2-appindicator3 >= 0.1
-
gir1.2-notify >= 0.7
...
...
@@ -58,7 +58,7 @@ depending on your Ubuntu Version. Or put it in `~/.config/openbox/autostart`
If the app indicator fails to show in Ubuntu versions, consider installing
python-appindicator with
`sudo apt-get install python-appindicator`
w
eb
oob gir1.2-appindicator3 gir1.2-notify
`
`sudo apt-get install python-appindicator`
woob gir1.2-appindicator3 gir1.2-notify
`
##Author Information
-
Bezleputh (
<bezleputh@gmail.com>
)
contrib/boobank_indicator/setup.py
View file @
6b859d4b
...
...
@@ -5,7 +5,7 @@
version
=
'2.1'
,
description
=
'show your bank accounts in your System Tray'
,
long_description
=
'boobank_indicator will show you bank accounts and associated transactions in your system tray. Your bank accounts should be configured in boobank'
,
keywords
=
'w
eboob boo
bank tray icon'
,
keywords
=
'w
oob
bank tray icon'
,
url
=
'http://woob.tech/'
,
license
=
'GNU LGPL 3'
,
author
=
'Bezleputh'
,
...
...
contrib/munin/boobank-munin
View file @
6b859d4b
...
...
@@ -4,20 +4,20 @@
# Copyright(C) 2010-2011 Romain Bignon
#
# This file is part of w
eb
oob.
# This file is part of woob.
#
# w
eb
oob is free software: you can redistribute it and/or modify
# woob is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# w
eb
oob is distributed in the hope that it will be useful,
# woob is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with w
eb
oob. If not, see <http://www.gnu.org/licenses/>.
# along with woob. If not, see <http://www.gnu.org/licenses/>.
from
__future__
import
print_function
...
...
contrib/munin/freemobile-munin
View file @
6b859d4b
...
...
@@ -182,7 +182,7 @@ sub fetch {
}
}
}
# execute w
eb
oob
# execute woob
open
my
$data
,
q(-|)
,
$weboob
or
croak
"
Couldn't execute program:
$ERRNO
";
my
@lines
=
<
$data
>
;
close
$data
or
carp
"
unable to close:
$ERRNO
";
...
...
contrib/munin/weboob-generic
View file @
6b859d4b
...
...
@@ -25,16 +25,16 @@
### Configuration ###
## Mandatory options ##
# env.capa: The W
eb
oob capability to load
# env.capa: The Woob capability to load
# Example: env.capa CapBank
#
# env.do: The W
eb
oob command to call. It can take more than one argument.
# env.do: The Woob command to call. It can take more than one argument.
# With two argument, the second is used as parameter for the command.
# The third is used to restrict backends.
# Example: env.do get_balance
#
# env.import: The import line to import the capabilities
# Example: from w
eb
oob.capabilities.bank import CapBank
# Example: from woob.capabilities.bank import CapBank
#
# env.attribvalue: The attribut name of objects returned by the do command.
# For example, the "balance" member of Account objects
...
...
contrib/webextension-session-importer/README
View file @
6b859d4b
W
eb
oob session importer
=====================
==
Woob session importer
=====================
This is a webextension to export a w
eb
oob session URL and cookies and load it in
This is a webextension to export a woob session URL and cookies and load it in
a real browser.
Build
...
...
@@ -16,7 +16,7 @@ To build a package, `web-ext build` can be used.
Use
---
To export the session with w
eb
oob-debug for example:
To export the session with woob-debug for example:
>>> print(json.dumps(browser.export_session()))
...
...
@@ -24,5 +24,5 @@ Copy the JSON output (sample):
{"url": "https://example.com/foo", "cookies": [{"name": "foo", "value": "bar"}]}
Then click on the W
eb
oob toolbar button of your browser and paste the JSON.
The browser will set the cookies from w
eb
oob and go to the same URL.
Then click on the Woob toolbar button of your browser and paste the JSON.
The browser will set the cookies from woob and go to the same URL.
contrib/webextension-session-importer/manifest.json
View file @
6b859d4b
{
"manifest_version"
:
2
,
"name"
:
"W
eb
oob session importer"
,
"name"
:
"Woob session importer"
,
"version"
:
"0.0.1"
,
"description"
:
"Import W
eb
oob session URL and cookies"
,
"homepage_url"
:
"http://w
eboob.org
"
,
"description"
:
"Import Woob session URL and cookies"
,
"homepage_url"
:
"http://w
oob.tech
"
,
"icons"
:
{
"48"
:
"logo.png"
...
...
@@ -19,7 +19,7 @@
"browser_action"
:
{
"browser_style"
:
true
,
"default_icon"
:
"logo.png"
,
"default_title"
:
"Import W
eb
oob session"
,
"default_title"
:
"Import Woob session"
,
"default_popup"
:
"popup.html"
}
}
tools/boilerplate/recipe.py
View file @
6b859d4b
...
...
@@ -29,8 +29,8 @@
from
woob
import
__version__
W
EB
OOB_MODULES
=
os
.
getenv
(
'W
EB
OOB_MODULES'
,
WOOB_MODULES
=
os
.
getenv
(
'WOOB_MODULES'
,
os
.
path
.
realpath
(
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
'../../modules'
)))
BOILERPLATE_PATH
=
os
.
getenv
(
'BOILERPLATE_PATH'
,
...
...
@@ -68,7 +68,7 @@ def __init__(self, args):
self
.
login
=
False
def
write
(
self
,
filename
,
contents
):
return
write
(
os
.
path
.
join
(
W
EB
OOB_MODULES
,
self
.
name
,
filename
),
contents
)
return
write
(
os
.
path
.
join
(
WOOB_MODULES
,
self
.
name
,
filename
),
contents
)
def
template
(
self
,
name
,
**
kwargs
):
if
'.'
not
in
name
:
...
...
tools/check_xpath.py
View file @
6b859d4b
...
...
@@ -25,7 +25,7 @@
import
traceback
import
lxml.etree
from
w
eb
oob.browser.filters
import
standard
from
woob.browser.filters
import
standard
class
Error
(
SyntaxError
):
...
...
@@ -141,7 +141,7 @@ def search_py(root):
parser
.
add_argument
(
'-w'
,
'--warnings'
,
action
=
'store_true'
)
args
=
parser
.
parse_args
()
modpath
=
os
.
getenv
(
'W
EB
OOB_MODULES'
,
os
.
path
.
normpath
(
os
.
path
.
dirname
(
__file__
)
+
'/../modules'
))
modpath
=
os
.
getenv
(
'WOOB_MODULES'
,
os
.
path
.
normpath
(
os
.
path
.
dirname
(
__file__
)
+
'/../modules'
))
for
fn
in
search_py
(
modpath
):
with
open
(
fn
)
as
fd
:
try
:
...
...
tools/har-to-old.py
View file @
6b859d4b
...
...
@@ -23,7 +23,7 @@ def write_request(entry, fd):
if
'postData'
in
entry
:
if
entry
[
'postData'
]
.
get
(
'x-binary'
):
# non-standard key emitted by w
eb
oob
# non-standard key emitted by woob
body
=
entry
[
'postData'
][
'text'
]
.
encode
(
'latin-1'
)
else
:
body
=
entry
[
'postData'
][
'text'
]
.
encode
()
...
...
tools/make_man.py
View file @
6b859d4b
...
...
@@ -30,7 +30,7 @@
from
datetime
import
datetime
from
textwrap
import
dedent
from
w
eb
oob.tools.application.base
import
Application
from
woob.tools.application.base
import
Application
BASE_PATH
=
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
os
.
pardir
)
DEST_DIR
=
'man'
...
...
@@ -106,7 +106,7 @@ def format_option_strings(self, option):
def
main
():
# TODO rename when apps have changed folder
scripts_path
=
os
.
path
.
join
(
BASE_PATH
,
'w
eb
oob'
,
'applications'
)
scripts_path
=
os
.
path
.
join
(
BASE_PATH
,
'woob'
,
'applications'
)
files
=
sorted
(
os
.
listdir
(
scripts_path
))
completions
=
dict
()
...
...
tools/modules_testing_grid.py
View file @
6b859d4b
...
...
@@ -2,10 +2,10 @@
# -*- coding: utf-8 -*-
"""
Script to format XUNIT output from unittests as a JSON string ready to be sent
to a [W
eb
oob-CI](https://github.com/Phyks/weboob-ci) instance.
to a [Woob-CI](https://github.com/Phyks/weboob-ci) instance.
* `XUNIT` is the XUNIT file to handle.
* `ORIGIN` is an origin string as described in the W
eb
oob-CI documentation
* `ORIGIN` is an origin string as described in the Woob-CI documentation
(basically just a string to identify the source of the unittests results).
"""
from
__future__
import
print_function
...
...
@@ -23,7 +23,7 @@ def main(xunit, origin):
modules
=
{}
other_testcases
=
[]
for
tc
in
ts
:
if
tc
.
classname
.
startswith
(
"w
eb
oob."
):
if
tc
.
classname
.
startswith
(
"woob."
):
other_testcases
.
append
(
repr
(
tc
))
continue
module
=
tc
.
classname
.
split
(
"."
)[
0
]
...
...
tools/run_tests.sh
View file @
6b859d4b
...
...
@@ -75,10 +75,10 @@ if [ ! -n "${XUNIT_OUT}" ]; then
XUNIT_OUT
=
""
fi
# Handle W
eb
oob-CI variables
# Handle Woob-CI variables
if
[
-n
"
${
WOOB_CI_TARGET
}
"
]
;
then
if
[
!
-n
"
${
WOOB_CI_ORIGIN
}
"
]
;
then
WOOB_CI_ORIGIN
=
"W
eb
oob unittests run"
WOOB_CI_ORIGIN
=
"Woob unittests run"
fi
# Set up xunit reporting
XUNIT_OUT
=
"
${
WOOB_TMPDIR
}
/xunit.xml"
...
...
@@ -127,7 +127,7 @@ if [ -n "${BACKEND}" ]; then
STATUS
=
$?
else
if
[
$TEST_CORE
=
1
]
;
then
echo
"=== W
eb
oob ==="
echo
"=== Woob ==="
CORE_TESTS
=
$(
mktemp
)
${
PYTHON
}
-m
nose
--cover-package
woob
-c
${
WOOB_DIR
}
/setup.cfg
--logging-level
=
DEBUG
-sv
2>&1 |
tee
"
${
CORE_TESTS
}
"
STATUS_CORE
=
$?
...
...
tools/stable_backport_data/weboob_tools_captcha_virtkeyboard.py
View file @
6b859d4b
import
w
eb
oob.tools.captcha.virtkeyboard
as
OLD
import
woob.tools.captcha.virtkeyboard
as
OLD
# can't import *, __all__ is incomplete...
for
attr
in
dir
(
OLD
):
...
...
@@ -31,7 +31,7 @@ class SimpleVirtualKeyboard(object):
(x0, y0, x1, y1) on grid image from left to right and top to
down, European reading way. It's not symbols in the image.
:type matching_symbols_coords: dict[str:4-tuple(int)]
:param browser: Browser of w
eb
oob session.
:param browser: Browser of woob session.
Allow to dump tiles files in same directory than session folder
:type browser: obj(Browser)
...
...
@@ -81,7 +81,7 @@ def build_path(self, browser=None):
if
browser
and
browser
.
responses_dirname
:
return
browser
.
responses_dirname
else
:
return
tempfile
.
mkdtemp
(
prefix
=
'w
eb
oob_session_'
)
return
tempfile
.
mkdtemp
(
prefix
=
'woob_session_'
)
def
load_image
(
self
,
file
,
margin
=
None
,
convert
=
None
):
self
.
image
=
Image
.
open
(
file
)
...
...
tools/woob_lint.py
View file @
6b859d4b
...
...
@@ -5,7 +5,7 @@
import
os
import
sys
from
w
eb
oob.core
import
Woob
from
woob.core
import
Woob
# Hint: use this script with file:///path/to/local/modules/ in sources.list
# if you want to correctly check all modules.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment