Commit graph

54 commits

Author SHA1 Message Date
Florent
ea46631f0a Add a generic munin plugin
See test.sh for examples
2013-03-02 10:31:33 +01:00
Florent
c15a195ea1 Add utf-8 support on title_exclude
And fix configuration example since it is case sensitive
2013-02-28 15:35:56 +01:00
Florent
af3c64549e No reason to not exclude on case sensitive pattern 2013-02-28 15:08:08 +01:00
Fabien Grumelard
a43a01a5cf Add a "id_regexp" parameter to filter results on video id
Signed-off-by: Fabien Grumelard <fabix-symlink@grumi.net>
2013-02-08 14:15:11 +01:00
Florent
bf3132e8c0 bump to 0.f 2013-01-25 17:23:49 +01:00
Grmbl Frechneu
ffaf96fa9e Small script to anonymise data in bug report 2013-01-11 14:14:36 +01:00
Florent
7a44f62d2c Print all labels in config mode and stack results 2013-01-10 16:01:14 +01:00
Romain Bignon
e18c198db3 'exclude' parameter is case insensitive 2012-12-24 12:55:53 +01:00
Romain Bignon
df1652f25f correctly create symlink and support when one is removed
- when a video is downloaded, create immediately a symlink
- if a symlink is removed, empty the downloaded file to free space on disk
2012-12-23 20:39:21 +01:00
Laurent Bachelier
541d080c9d Use flake8 if available instead of pyflakes
With flake8, we can check for more issues and ignore those who are not
real issues.

This allowed me to find genuine errors in:
- modules/boursorama/pages/account_history.py
- modules/ing/pages/login.py
- weboob/tools/application/qt/qt.py
I left one in weboob/tools/browser/browser.py for the time being.

Some PEP8 fixes on other files.
2012-11-24 19:46:34 +01:00
Romain Bignon
c65a31369d fix encoding issue 2012-11-12 09:01:33 +01:00
theo
cf60351830 Add -e to rtmpdump options
Adding -e to rtmpdump.

So instead of:
    rtmpdump -r <url> -o <file>
we will have
    rtmpdump -e -r <url> -o <file>

If <file> doesn't exist, it will be created. So the -e switch doesn't
change anything.

If <file> alredy exists, then rtmpdump will try to complete a previous
download.

That way, if videoob download <id> fails, running the command again
will complete the download without starting again from scratch.
2012-11-06 01:13:45 +01:00
Romain Bignon
4a1e4b5afa bump to 0.e 2012-10-28 20:39:49 +01:00
Romain Bignon
61f167bfde pyflakes fixes 2012-10-27 15:45:28 +02:00
Alexandre Flament
1032e66df5 add script contrib/downloadboob (closes #838) 2012-10-27 13:13:18 +02:00
Florent
2c2f8a1804 if $phone is not set, take the first account available 2012-09-03 14:15:31 +02:00
Florent
57564917f0 Fix data parsing (string is not a int...) 2012-09-03 14:12:39 +02:00
Florent
32663b4512 Add documentation for the new parameter 2012-09-03 14:12:36 +02:00
Florent
953e843921 Fix freemobile-munin (bug since we use multiaccount) 2012-09-03 12:54:54 +02:00
Florent
e2edfe3d8f Print the postvalue instead to return it 2012-07-21 09:47:58 +02:00
Florent
26392b14fc Fix international regexp 2012-07-20 16:55:34 +02:00
Florent
e18a4e85a8 Catch unit for data 2012-07-16 11:41:34 +02:00
Florent
818da4da2e Only load freemobile backend 2012-06-01 14:55:19 +02:00
Romain Bignon
2f8072e89e bump to 0.d 2012-05-04 21:17:46 +02:00
Florent
c7295c6711 Some changes on report_accounts.sh
* s/cat|grep|awk/awk/
* Speak english
* Use mktemp
2012-04-30 15:27:24 +02:00
BohwaZ
6f20707bed Report accounts bash script
Signed-off-by: bohwaz <bohwaz@bohwaz.net>
2012-04-27 13:46:55 +02:00
Florent
08b103c3bf Add a new munin script to monitore nettokom module 2012-04-23 11:20:24 +02:00
Romain Bignon
4006506292 add keywords and enhance fetching of board messages 2012-04-09 10:11:31 +02:00
Romain Bignon
16be6df4d0 fix loading hds module 2012-04-09 10:10:55 +02:00
Romain Bignon
4f0e1bc456 remove unused import 2012-04-01 11:28:30 +02:00
Romain Bignon
fe5fa70094 check keywords on the dlfp board 2012-03-31 10:44:00 +02:00
Romain Bignon
27b742328c add an IRC bot 2012-03-30 17:39:37 +02:00
Florent
90bcdf1054 Fix condition to detect empty output
And remove some whitespace
2012-03-28 15:05:40 +02:00
Florent
5bb432cb9a Print cache if empty output of plugin
Bad news : in case of site change, connection to the website every 5min
Good news : The graph will be good
2012-03-28 14:46:56 +02:00
Florent Fourcot
c767e72767 Change documentation 2012-03-22 08:59:23 +01:00
Florent Fourcot
65d450860e Fix log flooding
Munin has a bug with whitespace at end of label
See: http://munin-monitoring.org/ticket/991
2012-03-20 00:41:46 +01:00
theo
327cb4f618 Freemobile munin plugin needs a cache directory to store previous
results.

Let's create it and not expect the user to do it.
2012-03-19 23:22:00 +01:00
theo
259bef4739 Code cleanup
* Complies to perltidy
 * Avoid useless loops
 * Always use strict!
 * Remove unused vars
 * Use croak instead of die
 * End every function with return
 * Use English instead of magic punctuation
 * Avoid useless variable interpolations
 * Use functions
 * Fix POD syntax
2012-03-19 16:16:41 +01:00
Laurent Bachelier
d806585109 freemobile-munin: Fix typos, indentation, documentation 2012-03-15 18:27:26 +01:00
Romain Bignon
8e391d0b88 bump to 0.c 2012-03-14 22:09:24 +01:00
Romain Bignon
224e6b923a move boobank-munin to contrib/ 2012-03-14 22:03:24 +01:00
Florent
12e4a9c6ff Change regexp (backend change) 2012-03-14 17:08:52 +01:00
Florent
871a43b3be Add missing close 2012-03-13 17:25:15 +01:00
Florent
0cf5a2b8c5 Fix refresh of cache in case of empty file 2012-03-13 17:22:43 +01:00
Florent
79912d5d73 Fix encoding 2012-03-13 16:56:11 +01:00
Florent
aff616a149 Add special numbers option 2012-03-13 15:16:35 +01:00
Florent
09c4733e4b Add a cache_expire option 2012-03-13 13:58:14 +01:00
Romain Bignon
becabad073 fix data regexp 2012-03-13 12:57:27 +01:00
Romain Bignon
db85b651d4 fix regexps 2012-03-13 12:35:07 +01:00
Romain Bignon
56691d7ea7 rename iter_search_results to either search_videos and search_gallery (closes #779) 2012-03-12 16:24:33 +01:00