Commit graph

396 commits

Author SHA1 Message Date
Romain Bignon
a40643bf40 factorize aum's Contact.get_text() and boobmsg formatter into ICapContact 2014-05-17 19:07:31 +02:00
Romain Bignon
6fcac89dd5 first step in python3 support 2014-05-17 14:27:55 +02:00
Bezleputh
b140b3fa09 [boobcoming] improve collection management in boobcoming 2014-05-07 15:25:32 +02:00
Florent
f6ee441d08 Fix documentation of get_currency 2014-04-02 10:55:45 +02:00
Florent
74b99c4a8d Filters on kwargs for find_object 2014-04-02 10:46:31 +02:00
Florent
6591785a10 s/find_id_list/find_object/ 2014-04-02 10:31:00 +02:00
Florent
080c4aff81 Introduce find_id_list
And code simplification in backends/browsers
2014-04-01 17:40:38 +02:00
Romain Bignon
07a1d04bb6 fix compatibility with redmine 2.4, support start/end/tracker/priority (courtesy of François Revol) 2014-03-30 12:33:56 +02:00
Florent
c7b055b898 Remove unused (and undeclared) ipaddr field 2014-03-27 22:28:17 +01:00
Laurent Bachelier
9079db8acd Show a user-friendly error message 2014-03-22 12:43:53 +01:00
Florent
23d5127454 Do not set None to the id 2014-03-19 11:22:42 +01:00
Romain Bignon
03ce941ccf Revert "Rewrite the empty function according to the new NotLoaded"
This reverts commit 22606d961f.
2014-03-19 09:16:05 +01:00
Romain Bignon
892b3634a3 copy of NotLoaded and NotAvailable returns the same object 2014-03-19 09:15:38 +01:00
Florent
8c6d3d1ae9 Display GaugeMeasure when level is zero 2014-03-18 17:00:22 +01:00
Florent
22606d961f Rewrite the empty function according to the new NotLoaded
and the new NotAvailableType...
2014-03-18 12:02:26 +01:00
Florent
fc6f7d8c21 NotAvailable and NotLoaded should not be callable 2014-03-18 11:51:02 +01:00
Romain Bignon
8d7f613f59 do not require an id, because of ItemElement which constructs objects without arguments 2014-03-10 13:11:07 +01:00
Bezleputh
62b58e34dd [calendar] Add TELE category 2014-02-18 19:49:27 +01:00
Romain Bignon
6099560b8c change currencies integer constants to ISO code strings 2014-02-16 19:48:17 +01:00
Romain Bignon
5b03648b68 add Account.TYPE_CARD 2014-02-02 10:50:01 +01:00
Romain Bignon
9c380fc764 fix warnings 2014-01-31 17:13:58 +01:00
Florent
aa491a8074 Add date object to weather capability
Make it consistent with "Current", accepting both date and datetime.
2014-01-27 17:44:12 +01:00
Florent
f667fb972b Fix #1333: zero temperature can not be displayed
In __repr__ of Temperature object, the test "if self.value" failed if
the temperature is zero.
2014-01-22 12:31:49 +01:00
Romain Bignon
02f40ccf2c add Issue.fields attribute to support custom fields 2014-01-22 00:00:43 +01:00
Florent
697f6e82bd Raise notimplementedError on attends 2014-01-13 10:07:04 +01:00
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