Commit graph

3,202 commits

Author SHA1 Message Date
Pierre Mazière
19d7180c13 add ICapImage and BaseImage
BaseImage was extracted from the gallery capability and
refactored to inherit from BaseFile.
As I did not look further into the gallery capability, I left
the original BaseImage there.
I'm aware that it's not an healthy situation, but it seems
to be used only by modules using ICapGallery and hopefully
should not have any consequences for now

Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2013-12-22 20:04:53 +01:00
Pierre Mazière
77dd46fa02 fix method inheritance bug
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2013-12-22 20:04:52 +01:00
Pierre Mazière
b78badc606 move ext property from BaseAudio to BaseFile
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2013-12-22 20:04:52 +01:00
Florent
3fa2a8ba8f Fix condition in non reply-application 2013-12-22 20:03:41 +01:00
Laurent Bachelier
4d74c13734 Add method that is actually required
Used in galleroob and present in all CapGallery modules
2013-12-19 13:55:15 +01:00
Florent
27e0690f8b Fix formatter in some cases 2013-12-18 10:17:27 +01:00
Bezleputh
4ec183aadf [boobcoming] improve comment on do_list method 2013-12-17 22:59:30 +01:00
Florent
5d746519b6 Test if lastvalue is available 2013-12-17 17:09:07 +01:00
Florent
ca766332bf Small improvement of float printing 2013-12-17 16:55:03 +01:00
Florent
347b591811 Small typo 2013-12-17 15:29:35 +01:00
Florent
105ec527b5 Sort results of ls by default
and replace option -s by option -U (same than the real ls command)
refs #1079
2013-12-17 15:21:25 +01:00
Florent
4b0b7f839b ICapGauge in wetboobs is now depreciated
closes #1284
2013-12-17 15:12:14 +01:00
Florent
cf14d6e6b9 pep8 cleaning (visual indentation) 2013-12-17 15:05:55 +01:00
Florent
a82aaf830a Change colors 2013-12-17 15:01:18 +01:00
Florent
636df2c934 Add a formatter for boobsize search 2013-12-17 14:53:02 +01:00
Florent
6087521b35 Remove dead code 2013-12-17 13:54:53 +01:00
Florent
9e7f2a932b First implementation of boobsize 2013-12-17 12:59:49 +01:00
Vincent A
de4e85e249 boobcoming: fix event planner display 2013-12-17 01:05:20 +01:00
Florent
920e8edc44 Add documentation on conditions 2013-12-16 16:40:14 +01:00
Florent
c930e7f23f Small fixes on boobill documentation 2013-12-16 15:43:20 +01:00
Florent
f0a1865c13 Update boobank documentation 2013-12-16 15:39:54 +01:00
Florent
505a5e9fef Add date to filter of expression
closes #1308

It is now possible to get a history in a range of date with something
like:
boobank history CC-1234@ing --condition "date>2013-12-01 AND date<2013-12-8"

It displays transactions done betwenn the 2th and the 7th december.
2013-12-16 15:22:47 +01:00
Romain Bignon
0513e86628 simplification of json formatter (refs #1294) 2013-12-16 15:10:07 +01:00
Florent
af5452091b Add -s option to ls (sort by backend/id)
closes #1079
2013-12-16 14:31:23 +01:00
Florent
3983590d76 Remove condition in format function
Forgot to clean it in a3e6e98b4e
2013-12-16 14:00:03 +01:00
Florent
d9938d8554 pyflakes cleaning 2013-12-16 12:21:36 +01:00
Florent
d23d9672c6 Pep8 Capa 2013-12-16 12:06:56 +01:00
Pierre Mazière
ad81711575 modify radioob to use the modified ICapRadio
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2013-12-16 11:50:33 +01:00
Pierre Mazière
4638d245d4 modify ICapRadio to use ICapAudioStream
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2013-12-16 11:50:33 +01:00
Pierre Mazière
edd015107e new capability ICapAudioStream
for web site providing audio streams

Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2013-12-16 11:50:33 +01:00
Pierre Mazière
976fd7984e new capability ICapAudio
for web sites providing search and audio files download

Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2013-12-16 11:50:33 +01:00
Pierre Mazière
a6de82b986 new capability ICapFile
for web sites providing search and files download

Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2013-12-16 11:50:33 +01:00
Florent
ecddbd6be3 Fix JSON export
Closes #1294
2013-12-15 17:05:01 +01:00
Florent
a3e6e98b4e Move condition code in BaseApplication
The count parameter is now consistent with condition parameter
close #1289
2013-12-15 16:47:42 +01:00
Bezleputh
7f325ab751 [ICapCalendar] declare TRANSP and STATUS enum content as unicode 2013-12-15 16:10:10 +01:00
Bezleputh
f21b5defb6 [boobcoming] move parse_date to weboob/tools/date.py 2013-12-15 16:10:10 +01:00
Bezleputh
23c228280d [boobcoming] code review corrections
- split attends command in two (attends / unattends)
- use formatter in export command
2013-12-15 16:10:10 +01:00
Bezleputh
d2c9bab406 [ICapCalendar] update fields to be more strict in BaseCalendarEvent 2013-12-15 16:10:10 +01:00
Bezleputh
a93a9025d6 [ICapCalendar] Rename entry => booked_entries and max_entry => max_entries 2013-12-15 16:10:10 +01:00
Bezleputh
bf1e400f88 [Boobcoming] update ics formatter add UID field and make status mandatory 2013-12-15 16:10:10 +01:00
Bezleputh
87aba3c873 [boobcoming] bug in ical export 2013-12-15 16:10:10 +01:00
Bezleputh
d282d02733 [Boobcoming] add a search method 2013-12-15 16:10:10 +01:00
Bezleputh
ee57e622e9 [IcapCalendar] Add search_events method 2013-12-15 16:10:10 +01:00
Bezleputh
dbfa91c783 [Boobcoming] Add a one line simple formatter 2013-12-15 16:10:10 +01:00
Bezleputh
38402c5467 [Boobcoming] correctbug in attends command 2013-12-15 16:10:10 +01:00
Bezleputh
b5cfd7a57a [Boobcoming] add functionnalities
* Export all listed event as ical
* add attend command
* add new baseCalendarObjet parameters in formatter
2013-12-15 16:10:10 +01:00
Bezleputh
419cce14fc [ICapCalendar] improve ICapCalendar
* define price as float
* add comments
* add new parameters (entry, max_entry, event_planner)
* add new method attends_event
2013-12-15 16:10:09 +01:00
Bezleputh
d5e92e414e [boobcoming] add new application boobcoming 2013-12-15 16:10:09 +01:00
Bezleputh
b766065ec5 [ICapCalendarEvent] add new capability ICapCalendarEvent 2013-12-15 16:10:09 +01:00
Romain Bignon
a6df6c0f61 enhancement of formatter output 2013-12-14 18:01:36 +01:00