Commit graph

371 commits

Author SHA1 Message Date
Pierre Mazière
46513c7783 rename id method arguments to _id
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2014-01-08 23:29:55 +01:00
Pierre Mazière
78aab49ddd rename id method arguments to _id
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2014-01-08 23:22:31 +01:00
Pierre Mazière
8b295ec609 BaseFile: add 'size' property for file size in bytes
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2014-01-08 17:39:45 +01:00
Florent
0a7414d3e5 Remove unused imported
Ref e7805cec12
2014-01-06 15:14:38 +01:00
Pierre Mazière
e7805cec12 rename AudioStreamInfo into StreamInfo
Allowing future use with upcoming VideoStream

Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2014-01-05 22:46:05 +01:00
Pierre Mazière
6842dda4cc add thumbnail property to BaseAudio
this can be used, for example, to associate an audio
file or stream with an image related to its author,
or an album cover

Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2014-01-05 22:46:04 +01:00
Romain Bignon
6af0c9acae fix typo 2013-12-22 22:28:47 +01:00
Pierre Mazière
cf06b70093 replace Thumbnail dependency to use BaseImage instead
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2013-12-22 20:04:53 +01:00
Pierre Mazière
53f06e21de modify BaseVideo and ICapVideo to inherit from BaseImage
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2013-12-22 20:04:53 +01:00
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
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
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
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
Bezleputh
7f325ab751 [ICapCalendar] declare TRANSP and STATUS enum content as unicode 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
ee57e622e9 [IcapCalendar] Add search_events method 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
b766065ec5 [ICapCalendarEvent] add new capability ICapCalendarEvent 2013-12-15 16:10:09 +01:00
Romain Bignon
1ca332df67 addd fields to Departure (arrival_time, price, currency) 2013-12-14 15:54:17 +01:00
Romain Bignon
c36cfdc811 add parameter 'date' to ICapTravel.iter_station_departures 2013-12-14 15:54:17 +01:00
Bezleputh
bd0d1d3eff [Bug #1318] fix htmltable display for wetboobs forecast command 2013-12-04 12:09:15 +01:00
Simon Murail
790a685b2d Patch de la capability bank: ajout d'un type pour les dépôts d'espèces
Ci-joint le patch.

Cordialement,
Simon

From a31841ccf4467acf8453d80cee8ff948e5daeb96 Mon Sep 17 00:00:00 2001
From: smurail <simon.murail@budget-insight.com>
Date: Thu, 21 Nov 2013 13:37:24 +0100
Subject: [PATCH 1/1] add TYPE_CASH_DEPOSIT to Transaction

Signed-off-by: smurail <simon.murail@budget-insight.com>
2013-11-21 13:56:38 +01:00
Romain Bignon
cd0f61d078 use raw label to calculate unique_id 2013-11-15 15:46:44 +01:00
Florent
518b795051 Add date in __repr__ 2013-10-28 18:52:41 +01:00
Bezleputh
b4c93587b4 improve ls command in handjoob 2013-08-20 18:03:14 +02:00
Laurent Bachelier
23a71d847b Code style fixes, mostly whitespace 2013-08-04 20:00:19 +02:00
Romain Bignon
b8a154ac57 add Invstment in __all__ 2013-08-03 22:10:54 +02:00
Romain Bignon
9df4fd37be use repr() to prevent encoding issues 2013-08-03 13:20:22 +02:00
Romain Bignon
ea52051c96 remove unused parameter 'pattern' 2013-08-03 13:20:22 +02:00
Romain Bignon
e2a67a954a Recipient inherits from Currency 2013-08-02 12:53:27 +02:00
Romain Bignon
c452b2b0aa typo 2013-08-01 14:42:24 +02:00
Florent
11a5f2eb5b Add attributes to Bill
Closes #1202
2013-07-30 10:42:27 +02:00
Florent
6e20c4256e Add new attributes to Detail
closes #1203
2013-07-30 10:37:04 +02:00
Florent
31800effcf Remove unused import 2013-07-30 10:36:58 +02:00
Florent
4d5b84a2a8 Move Currency from ICapBank to ICapBase 2013-07-30 10:35:25 +02:00
Laurent Bachelier
c47548caa2 CapBank: More help for date fields, introduce vdate 2013-07-29 18:16:28 +02:00
Romain Bignon
b99d599aa9 remove parameter max_results from all capabilities 2013-07-27 23:40:24 +02:00
Romain Bignon
5c95363ac1 reworking of the ICapParcel API (new name of ICapPackageTracking) 2013-07-27 21:32:05 +02:00
Romain Bignon
745b5fbd1b add method to convert currency value to text 2013-07-27 14:27:04 +02:00
Romain Bignon
6c0e9e34a2 add attribute 'ext' 2013-07-27 13:32:11 +02:00
Noé Rubinstein
4502b9b015 capabilities.bank: add Transaction.unique_id 2013-07-26 22:56:09 +02:00
Florent Fourcot
94830f7510 Add a code string for stocks 2013-07-08 21:36:35 +02:00
Florent Fourcot
17ddb8a57b Add Investment objects and iter_investment in ICapBank 2013-07-08 21:23:06 +02:00