Commit graph

900 commits

Author SHA1 Message Date
Bezleputh
0657800eca [flatboob] display backend in city choice
we need to know this because of a restriction on the number of cities in some backends.
2014-10-30 15:34:30 +01:00
Florent
e5067a43b8 Fix alignment of Total line
Fix 232e631ae1
    "change quantity type to decimal number"
and ad31e68143
    "ISIN is a 12 letter word"
2014-10-24 16:43:06 +02:00
Florent
dfead7e925 Sometines the full code is not available. Display description instead 2014-10-23 15:29:43 +02:00
Florent
c2d7b662aa Format integer for quantity 2014-10-23 15:16:51 +02:00
smurail
ad31e68143 ISIN is a 12 letter word 2014-10-23 14:51:55 +02:00
smurail
232e631ae1 change quantity type to decimal number 2014-10-23 14:51:51 +02:00
Florent
d6da9843db Set copyright in applications 2014-10-17 17:57:42 +02:00
Florent
feb1405813 bump to 1.1 2014-10-17 14:10:38 +02:00
Bezleputh
724a18873b [videoob] set non verbose mode for wget when downloading m3u8 (fix #1643) 2014-10-15 11:10:43 +02:00
Laurent Bachelier
4f897a8675 pep8: Fix object comparisons 2014-10-11 01:46:25 +02:00
Laurent Bachelier
21e8f82fd7 pep8: Use "X not in Y" instead of "not X in Y"
flake8 --select E713, semi-manual fixing
2014-10-11 01:27:24 +02:00
Laurent Bachelier
448c06d125 pep8 blank lines fixes
flake8 --select W391,E302,E301,E304

autopep8 can't fix W391 even though it claims it can.
Fixed using a simple custom script.
2014-10-10 23:41:44 +02:00
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