Commit graph

1200 commits

Author SHA1 Message Date
Laurent Peuch
efa1eda3b1 Merge pull request #162 from YunoHost/make_exception_more_useful
[enh] display file path on file_not_exist error
2016-11-24 15:01:06 +01:00
Alexandre Aubin
195c675c59 More exception handling, this time for previous acme challenge conf already existing in nginx 2016-11-23 21:36:34 -05:00
Alexandre Aubin
e66a708520 Misc tweaks on exceptions 2016-11-23 11:46:52 -05:00
Alexandre Aubin
ed16cd7f5a Adding an option to use the staging Let's Encrypt CA, sort of a dry-run 2016-11-22 23:44:23 -05:00
Alexandre Aubin
a6353703bd Catching exceptions from acme-tiny 2016-11-22 22:24:54 -05:00
Alexandre Aubin
0132cf037f Moving DNS resolvers IP to constant var at beginning of file 2016-11-22 20:38:33 -05:00
Alexandre Aubin
be061522e6 Moving full letsencrypt app conflict warning to locales/en.json 2016-11-22 20:32:33 -05:00
Alexandre Aubin
fb29bb879b Removing check for ssowat header when testing HTTP reachability 2016-11-22 20:23:14 -05:00
Alexandre Aubin
dc731c3af5 Using a single generic skipped regex for acme challenge in ssowat conf 2016-11-22 20:13:39 -05:00
Alexandre Aubin
c57e343d45 Looking for ssowat header in https (workaround for when app is installed on root domain) 2016-11-21 11:24:55 -05:00
Alexandre Aubin
5de006f18d Follow up of @julienmalik comments - misc typo/cosmetic fixes 2016-11-21 10:58:57 -05:00
Alexandre Aubin
bba92e4d41 Small tweaks for the web interface 2016-11-20 20:36:58 -05:00
ljf
da7728fe74 [fix] Can't restore app on a root domain 2016-11-17 12:54:39 +01:00
Alexandre Aubin
11c626881a Adding other DNS resolvers from FFDN 2016-11-09 20:19:56 -05:00
Alexandre Aubin
a85c79ef32 Refactored the self-signed cert generation, some steps were overly complicated for no reason 2016-11-09 19:41:23 -05:00
Laurent Peuch
9e5b2743db [mod] pep8 2016-11-09 08:38:58 +01:00
Laurent Peuch
937cccf813 [mod] remove useless import 2016-11-09 08:38:52 +01:00
Alexandre Aubin
4e9a2c050d Cleaning / reorganizing the way certificates are stored and enabled 2016-11-08 23:29:10 -05:00
Alexandre Aubin
80ebaa6895 Have a subdirectory for cert backups, to not flood /etc/yunohost/certs/ 2016-11-08 22:34:19 -05:00
Alexandre Aubin
e1539297a5 Ignore messy stderr from openssl commands during self-signed cert generation 2016-11-08 22:25:15 -05:00
Alexandre Aubin
109cbf7641 Backuping existing certificate (if any) also for self-signed generation 2016-11-08 22:22:13 -05:00
Alexandre Aubin
a57ebfc4e6 Use 3072 bits keys 2016-11-08 21:11:36 -05:00
Alexandre Aubin
e2e1fce44e Fixing previous commit 2016-11-08 21:09:06 -05:00
Alexandre Aubin
6bfe1c8083 Check that the DNS A record matches the global IP now using dnspython and FDN's DNS 2016-11-08 20:59:55 -05:00
Alexandre Aubin
cbc71f2530 Adding a check for the presence of the ssowat header when checking domain is accessible through http 2016-11-08 12:55:01 -05:00
Alexandre Aubin
4ddc3aac36 Display a warning message when letsencrypt is installed, suggesting commands to migrate 2016-11-08 12:09:02 -05:00
Alexandre Aubin
90e63edcfe Improving/cleaning CLI display of cert-status 2016-11-07 14:19:28 -05:00
Alexandre Aubin
56cd9610f3 Improving CLI display of cert-status 2016-11-07 14:02:59 -05:00
Alexandre Aubin
f3461b3636 Fixing typo in arguments to match actionmap 2016-11-07 12:24:59 -05:00
Alexandre Aubin
59500c3acc Adding acme-tiny as a dependency in vendor folder 2016-11-02 08:37:47 -04:00
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