Commit graph

26 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
aea269e9f6 create UserError exception
Modules can raise this exception when they want to print errors to user
2012-04-25 13:43:52 +02:00
Romain Bignon
c6a141595c change way to describe fields of CapBaseObject, and lot of documentation 2012-03-26 14:35:54 +02:00
Laurent Bachelier
006e97a8be PEP8 style fixes and other small style fixes
I used autopep8 on some files and did carefully check the changes.
I ignored E501,E302,E231,E225,E222,E221,E241,E203 in my search, and at
least E501 on any autopep8 run.

Other style fixes not related to PEP8:
* Only use new-style classes. I don't think the usage of old-style
  classes was voluntary. Old-style classes are removed in Python 3.
* Convert an if/else to a one-liner in mediawiki, change docstring style
  change to a comment something that wasn't really appropriate for a
  docstring.
* Unneeded first if condition in meteofrance
2012-03-14 04:51:46 +01:00
Clément Schreiner
8afe645b0b ICapContact: manage personal notes about a contact 2011-12-04 11:14:53 +01:00
Romain Bignon
97fe89ab66 profile is now a dict, not a list 2011-10-05 15:44:20 +02:00
Romain Bignon
7e2bb91b3b change license to AGPLv3+ 2011-04-08 12:48:07 +02:00
Romain Bignon
928dbcb16d rename 'shown' to 'hidden' 2010-11-20 19:52:41 +01:00
Christophe Benz
fc9f6b439f store if photo is hidden 2010-11-19 11:22:04 +01:00
Romain Bignon
6a242eb30f fix getting of url when filling contact 2010-11-17 19:30:51 +01:00
Christophe Benz
3c78b37f95 add url to contacts 2010-11-17 18:42:39 +01:00
Romain Bignon
430ef6cb25 new method 'send_query' in ICapContact 2010-11-15 13:21:58 +01:00
Romain Bignon
916400467e use "basestring" instead of "(str,unicode)" 2010-10-16 17:44:09 +02:00
Romain Bignon
cc541cc64a pyflakes fixes 2010-10-08 13:52:56 +02:00
Romain Bignon
92c6507f71 use the new add_field() method to define fields 2010-10-08 13:43:57 +02:00
Romain Bignon
b354f8d3a7 enhancement of load detection of fields 2010-08-14 21:50:31 +02:00
Romain Bignon
089d1de72c empty fields are not loaded 2010-08-13 21:01:42 +02:00
Romain Bignon
e980e040ba capabilities objets inherit from CapBaseObject (refs #369) 2010-08-12 17:22:04 +02:00
Christophe Benz
45ffb0fe7d s/ICap/IBaseCap and add constants 2010-08-12 16:04:53 +02:00
Romain Bignon
4bbbee9370 display ContactPhoto url as string 2010-08-03 20:57:43 +02:00
Romain Bignon
f95aab9096 display all of the profile 2010-07-29 13:08:16 +02:00
Romain Bignon
d7e2a02733 new class ContactPhoto which contains url and data for fullsize and thumbnail 2010-07-24 12:07:31 +02:00
Romain Bignon
9d4f02840b order contacts list by status 2010-07-13 19:52:47 +02:00
Romain Bignon
45f0b72657 correctly fill the profile in Contact object 2010-07-09 17:12:20 +02:00
Romain Bignon
47a5c8028e improvement of profiles in contacts 2010-07-09 15:05:17 +02:00
Romain Bignon
1ed2be8ea9 new capability ICapContact 2010-07-03 18:44:11 +02:00