Commit graph

1614 commits

Author SHA1 Message Date
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
Julien Malik
7b48d7b9fa [enh] Remove autocreate plugin related settings, unused now
autosubscribe & autosubscribe2 are part of the autocreate plugin configuration.

Should have been removed with f36e4e2a83
See https://github.com/YunoHost/yunohost-config-dovecot/pull/3
2016-09-07 18:37:53 +02:00
Julien Malik
e483223418 [enh] reorder dovecot main configuration so that it is easier to read and extend 2016-09-07 18:20:21 +02:00
Julien Malik
e3f4686c90 [enh] Hide the fact that we are speaking to dovecot 2016-09-07 18:04:29 +02:00
Julien Malik
9225d12da8 [enh] Remove useless comments autogenerated in the past 2016-09-07 17:57:04 +02:00
Laurent Peuch
9a66a00278 [fix] wait for admin user to be available after a slapd regen-conf, this fix install on slow hardware/vps 2016-09-04 09:12:37 +02:00
opi
81e464ce1f [enh] Display full exception error message. 2016-08-28 23:36:45 +02:00
opi
6149e6c6de [fix] Write SSOwat configuration file only if needed. 2016-08-28 15:42:47 +02:00
opi
d95052a9e9 [enh] Catch SSOwat persistent configuration write error. 2016-08-28 15:39:45 +02:00
Laurent Peuch
2c0c53d06f [fix] need to be stable 2016-08-14 19:03:58 +02:00
Laurent Peuch
5a1ea37ca5 Update changelog for 2.4.2 release 2016-08-14 18:55:57 +02:00
Laurent Peuch
0be7f13965 Merge pull request #173 from YunoHost/app_list_raw_bool_only_for_multi_instance
[fix] ensure that multi_instance key value is always a boolean
2016-08-14 18:54:37 +02:00
Laurent Peuch
78a8a302d9 [fix] ensure that multi_instance key value is always a boolean 2016-08-12 14:14:04 +02:00