Laurent Bachelier
6161a0aacd
pep8 fixes, modernizations
...
autopep8 -a -r -i --select E711,E712,W601,W602,W603,W604,W690,E304,E401,E502 .
Also includes some manual reindentations (many are left after the print()
changes).
Manually checked, some modernizations not commited here.
2014-10-10 23:41:43 +02:00
Romain Bignon
b1f20b5489
fix bcall to to new behavior of do(), and fix QtDo too, and all Qt applications...
2014-10-10 17:34:48 +02:00
Florent
768be7fcc6
Fix "show" for threads in boobmsg
2014-10-10 14:56:40 +02:00
Romain Bignon
eea0eaa2d5
fix compatibility with the new behavior of do()
2014-10-10 14:19:05 +02:00
Florent
628c63f899
Remove backend for do() calls
2014-10-10 14:11:45 +02:00
Romain Bignon
c3c2ed404a
return correct exit status code for enable and disable commands
2014-10-09 15:23:18 +02:00
Florent
f5e5584004
Prepare removing of backend in do calls
2014-10-08 17:04:40 +02:00
Florent
fab37e2533
Update send_mail to prepare removing of backend
2014-10-08 16:59:13 +02:00
Florent
93bc66fc60
Prepare to remove backend in do() calls
2014-10-08 16:51:29 +02:00
Bezleputh
77995378c5
[housing] adding a url field in housing capability and management of it in flatboob
2014-10-08 10:45:31 +02:00
Laurent Bachelier
7be9a6468b
logging: Create a new level DEBUG_FILTERS
...
This is a cleaner approach that requires less configuration
in other applications.
This also easily allows us to have another color.
Many checks were made on being exactly at the DEBUG level, they were
fixed to also check on being below DEBUG (i.e. DEBUG_FILTERS).
2014-10-07 17:11:09 +02:00
Romain Bignon
5bd70c564f
os.isatty is now forbidden (as stream.fileno() is not implemented by StringIO)
...
Use stream.isatty() instead.
2014-10-07 09:39:12 +02:00
Romain Bignon
c6c856fa86
fix crash if departure time is not available
2014-10-06 17:31:18 +02:00
Laurent Bachelier
74a4ef6723
Use the print function everywhere
...
python modernize.py --no-six -f libmodernize.fixes.fix_print -w
With manual fixes as the import was put always on top.
2014-10-06 17:00:17 +02:00
Bezleputh
38bc6819df
[flatboob] fix bug type_of_good does not exist anymore
2014-10-01 17:43:21 +02:00
Bezleputh
9a7d5edb79
[flatboob] add load command
2014-09-27 12:13:17 +02:00
Florent
a64c9f2edb
Rename BaseApplication to Application
2014-09-26 10:18:12 +02:00
Bezleputh
9c6b2b0581
[qflatboob] manage count to avoid problems during pagination
2014-09-25 10:34:00 +02:00
Bezleputh
15bf492fca
[flatboob] ask for query.type in flatboob
2014-09-25 10:29:59 +02:00
Bezleputh
7304f1dee1
[CapHousing] add and handle in flatboob house_types field
2014-09-25 10:29:58 +02:00
Romain Bignon
95322811c8
fix missing import
2014-09-22 23:05:22 +02:00
Florent
6f1b58d6a5
Catch parcelnotfound by untracking
2014-09-22 17:06:24 +02:00
Laurent Bachelier
1150e89b65
webcontentedit: Better checks for vim usage
...
Using a full path would not detect vim (/usr/bin/vim).
Also, we can detect if EDITOR=vi but the vi is a symlink to vim.
2014-09-17 21:49:55 +02:00
Laurent Bachelier
c07e23cafc
Use class attributes as much as possible for application output
...
refs #803
2014-09-04 12:41:25 +02:00
Laurent Bachelier
ee8e7cee3d
pastoob: Add an option to set a custom file encoding
2014-09-04 12:41:25 +02:00
Laurent Bachelier
19a95dc0d6
Centralize encoding guesses, default to UTF-8
...
This might not be enough for print() and could need a locale.setlocale()
even though it is generally discouraged.
closes #1352
2014-09-04 12:41:25 +02:00
Florent
432f97e95c
bump to 1.0
2014-09-03 17:14:10 +02:00
Romain Bignon
e448fb9459
write the account currency in ofx output
2014-08-21 08:40:46 +02:00
Romain Bignon
ed6027d201
do not crash if the account type isn't in list ( closes #1452 )
2014-08-21 08:40:30 +02:00
Bezleputh
0a761c5d9d
[videoob] improve m3u8 management in download
2014-07-29 17:40:24 +02:00
Romain Bignon
0f1ce1d4b1
add tab to send queries
2014-07-19 15:42:19 +02:00
Florent
1daa866949
Move the import oh html2text outside of misc
2014-07-09 11:43:14 +02:00
Romain Bignon
e025fb0b20
rename ICap to Cap ( closes #1424 )
2014-07-05 17:33:44 +02:00
Romain Bignon
51958135cb
rename CapBaseObject to BaseObject (refs #1424 )
2014-07-05 17:26:05 +02:00
Bezleputh
347740c831
[Radioob] fix bug when a radio id contains a dot
2014-06-19 11:58:45 +02:00
Florent
b105b8df19
Fix definition of DISPLAYED_FIELDS
2014-06-18 15:34:59 +02:00
Florent
30732318b5
Introduce the DISPLAYED_FIELDS in formatter
2014-06-17 15:45:13 +02:00
Bezleputh
69da2c5d99
[radioob] fix typo
2014-05-20 23:07:40 +02:00
Bezleputh
b6fd529249
move id parsing from application to capability
2014-05-20 23:07:40 +02:00
Bezleputh
ee8e72f51c
[radioob] update RadioListFormatter in order to display playlist
2014-05-20 23:07:40 +02:00
Bezleputh
e33c177212
Manage Albums and Playlists in radioob
2014-05-20 23:07:40 +02:00
Florent
9ca0bbae6a
bump to 0.j
2014-05-19 22:45:35 +02:00
Laurent Bachelier
45ba413a4b
pastoob: Add "info" command
2014-05-19 00:25:59 +02:00
Romain Bignon
a40643bf40
factorize aum's Contact.get_text() and boobmsg formatter into ICapContact
2014-05-17 19:07:31 +02:00
Romain Bignon
5dc9c8a2d4
ignore error when notes are not implemented on contacts
2014-05-17 18:18:20 +02:00
Romain Bignon
6fcac89dd5
first step in python3 support
2014-05-17 14:27:55 +02:00
Bezleputh
47c634e90c
[webcontentedit] add a -r parameter to get command to precise revision id.
...
The aim is to allow to get compound words
2014-05-14 11:42:43 +02:00
Roger Philibert
c48c67875d
ability to post a message to a cached thread
2014-05-10 10:07:14 +02:00
Florent
236b9087a2
Set comp_object as class method
2014-05-07 23:22:28 +02:00
Bezleputh
dddc264a52
[boobcoming] override comp_obj from repl in order to sort by start_date
2014-05-07 18:25:15 +02:00