Commit graph

1326 commits

Author SHA1 Message Date
Laurent Peuch
bbbac248b6 [mod] use logger string concatenation api 2016-10-30 18:50:36 +01:00
Laurent Peuch
718011c0ee [mod] use logger string concatenation api 2016-10-30 18:48:52 +01:00
Laurent Peuch
f1188782e2 [mod] top level constants should be upper case (pep8) 2016-10-30 18:09:11 +01:00
Laurent Peuch
11d785a221 [mod] remove useless import 2016-10-30 18:09:11 +01:00
Laurent Peuch
0e7552263d [mod] I only need to reload nginx, not restart it 2016-10-30 18:09:11 +01:00
Laurent Peuch
5495281e83 [mod] remove the summary code concept and switch to code/verbose duet instead 2016-10-30 18:09:11 +01:00
Laurent Peuch
2d89964bc7 [enh] include tracebak into error email 2016-10-30 18:09:11 +01:00
Laurent Peuch
7f8aa4cc75 [mod] remove useless assign 2016-10-30 18:09:11 +01:00
Alexandre Aubin
fef1ca08c5 Changing name of cron job to be consistent with other yunohost crons, as requested by @opi 2016-10-30 11:48:27 -04:00
Laurent Peuch
289eb01480 [mod] small opti, getting domain list can be long 2016-10-30 15:21:23 +01:00
Laurent Peuch
299aa978f7 [mod] simplify code 2016-10-30 14:06:34 +01:00
Laurent Peuch
248508dcaa [mod] do not uses tabulate, the api needs json 2016-10-30 14:01:39 +01:00
Laurent Peuch
bd41f0d4a2 [mod] os.path.join 2016-10-30 13:55:04 +01:00
Laurent Peuch
a1b42e65f8 [mod] remove useless variables 2016-10-30 13:49:40 +01:00
Laurent Peuch
ac9f2643a7 [mod] move a part of os.system calls to native shutil/os 2016-10-30 13:41:06 +01:00
Laurent Peuch
3fc2d45a6a [mod] remove useless comments 2016-10-30 13:41:06 +01:00
Laurent Peuch
487e1d2588 [mod] pylint 2016-10-30 05:54:45 +01:00
Laurent Peuch
3b5cadb907 [mod] realign stuff 2016-10-30 05:43:32 +01:00
Laurent Peuch
8b24ab73c2 [mod] small opti, getting domain list can be slow 2016-10-30 05:42:49 +01:00
Laurent Peuch
02b5ea62fe [mod] pep8 2016-10-30 05:42:16 +01:00
Laurent Peuch
c1252120a1 [mod] typo 2016-10-30 05:36:02 +01:00
Laurent Peuch
65e9a4b6d8 [mod] uses logger string concatenation api 2016-10-30 05:34:30 +01:00
Laurent Peuch
8ca5d59a96 [mod] remove useless () 2016-10-30 05:33:59 +01:00
Laurent Peuch
5615e3f4fe [mod] uses logger string concatenation api 2016-10-30 05:33:21 +01:00
Laurent Peuch
e8e07d464a [mod] remove useless variable 2016-10-30 05:31:36 +01:00
Laurent Peuch
55d007f130 [mod] avoid useless indentation 2016-10-30 05:30:54 +01:00
Laurent Peuch
34f9890517 [mod] more pythonic string concatenation 2016-10-30 05:30:26 +01:00
Laurent Peuch
dd893b0838 [mod] remove useless () 2016-10-30 05:26:52 +01:00
Laurent Peuch
a7b9226667 [mod] lisibility 2016-10-30 05:23:32 +01:00
Laurent Peuch
cd21edb267 [mod] pep8 2016-10-30 05:22:43 +01:00
Laurent Peuch
ac901528c3 [mod] uses + for strings 2016-10-30 05:22:30 +01:00
Laurent Peuch
ac9f61c7b1 [mod] more pythonic code 2016-10-30 05:21:27 +01:00
Laurent Peuch
9a4dbd5d31 [fix] uses https 2016-10-30 05:20:40 +01:00
Laurent Peuch
ea179b1683 [mod] simplier condition 2016-10-30 05:20:13 +01:00
Laurent Peuch
7dbbd7fdc2 [fix] correctly handle all cases 2016-10-30 05:19:43 +01:00
Laurent Peuch
39aaa17639 [mod] remove useless () 2016-10-30 05:08:44 +01:00
Laurent Peuch
29f5f2d753 [mod] more pythonic code 2016-10-30 04:56:06 +01:00
Laurent Peuch
917c230735 [mod] more pythonic and explicit tests with more verbose errors 2016-10-30 04:55:56 +01:00
Laurent Peuch
aff4dc4086 [mod] more verbose error 2016-10-30 04:46:35 +01:00
Laurent Peuch
ef62877952 [mod] pep8 2016-10-30 04:29:24 +01:00
Laurent Peuch
6a1727da89 [mod] remove useless imports 2016-10-30 04:27:41 +01:00
Laurent Peuch
02fc92d210 [mod] pep8 2016-10-30 04:27:12 +01:00
Laurent Peuch
32bf742367 [mod] trailing spaces 2016-10-30 04:25:23 +01:00
Laurent Peuch
bec8f63479 [mod] autopep8 2016-10-30 04:24:54 +01:00
Laurent Peuch
d47f5919d6 [mod] remove unused imports 2016-10-30 04:22:56 +01:00
Alexandre Aubin
35fa386ce3 First draft of certificate management integration (e.g. Let's Encrypt certificate install) 2016-10-28 13:59:42 -04:00
JimboJoe
7579eef600 Update backup.py
if /home/yunohost.backup/archives is on a different device (for instance, a NAS), backups fail with the message:
...
 File "/usr/lib/moulinette/yunohost/backup.py", line 303, in backup_create
    '{:s}/{:s}.info.json'.format(archives_path, name))
OSError: [Errno 18] Invalid cross-device link

A simple solution is to use shutil.move because, as stated in the documentation, "If the destination is on the current filesystem, then os.rename() is used. Otherwise, src is copied (using shutil.copy2()) to dst and then removed.", which is the needed behavior.
This PR has been successfully tested.
2016-10-14 18:03:58 +02:00
Moul
76a294b284 [fix] typo: install filed –> failed. 2016-10-12 09:39:05 +02:00
Laurent Peuch
81c19cd1d6 [enh] no cli option to avoid removing an application on installation failure 2016-10-09 21:34:03 +02:00
Julien Malik
ea17e9fa80 [enh] Allow for dovecot configuration extensions 2016-09-09 17:12:50 +02:00