Commit graph

4436 commits

Author SHA1 Message Date
Jérôme Lebleu
c7a7e01d89 [fix] Use http to retrieve public IPv6 due to Let's Encrypt restriction 2016-03-08 16:57:21 +01:00
Jérôme Lebleu
5afd0c1272 [enh] Rely on APT python library to retrieve packages version
It introduces a new `yunohost.utils` package which will contain common
utils used by YunoHost actions. It comes with a work in progress `packages`
module with simple methods to retrieve installed version of packages for now.
2016-03-08 16:10:14 +01:00
Jérôme Lebleu
8aa64a0641 [enh] Use a common method to retrieve public IP address 2016-03-08 11:10:28 +01:00
Jérôme Lebleu
5f08eb06ae [enh] Use https to retrieve public IP address 2016-03-08 11:10:28 +01:00
opi
d8f4d3c0ad [fix] Wrong command name. 2016-03-07 22:21:50 +01:00
opi
a37fa9ed5d [fix] Multiple exceptions syntax. 2016-03-07 22:20:54 +01:00
opi
0fb7295e8e [fix] Catch ConnectionError from requests package 2016-03-06 19:30:10 +01:00
opi
4a787da440 [enh] Add dummy DMARC support if DKIM already supported. #233 2016-03-04 11:21:37 +01:00
opi
8700f7bfe1 [enh] Replace msignals.display by logging in tools.py 2016-03-02 11:12:54 +01:00
Jérôme Lebleu
32e8285125 [fix] Be less restricitve on network interfaces name in monitoring 2016-03-01 21:40:08 +01:00
Jérôme Lebleu
5451f09b69 [fix] Keep 'avail' key - removed from glances - in disk fs monitoring 2016-03-01 21:25:52 +01:00
Jérôme Lebleu
173d32134e [enh] Replace msignals.display by logging in monitor.py 2016-03-01 21:01:32 +01:00
Jérôme Lebleu
b265a08391 [enh] Replace msignals.display by logging in dyndns.py 2016-03-01 20:59:19 +01:00
Jérôme Lebleu
954a707643 [enh] Replace msignals.display by logging in user.py 2016-03-01 20:56:45 +01:00
Jérôme Lebleu
f860c5dfd2 [enh] Add the repository from where the app is defined in app_list
The *repository* term is quite new and will replace *app list* in a near
future. It is - for the moment - only shown and used in the Web admin.
This also removes the unused app['manifest']['orphan'] key since it
duplicates the repository absence.
2016-03-01 16:10:06 +01:00
Jérôme Lebleu
fcc1fe57dc [i18n] Use named arguments for remaining translations in app.py 2016-03-01 11:18:23 +01:00
Jérôme Lebleu
62050963de [enh] Replace msignals.display by logging in app.py 2016-03-01 11:18:23 +01:00
Moul
288f4194a2 [enh] also get ssowat version with '-v' argement. 2016-02-29 20:32:24 +01:00
Jérôme Lebleu
603c50ddd9 [fix] Regenerate Rmilter conf on domain addition for DKIM key 2016-02-28 21:46:57 +01:00
Jérôme Lebleu
36981ac21d [enh] Attempt to improve readability of domain_dns_conf 2016-02-28 21:43:33 +01:00
Jérôme Lebleu
a557956a47 [fix] Remove useless raw argument in domain_list 2016-02-28 21:13:33 +01:00
Jérôme Lebleu
5676de11da [enh] Replace msignals.display by logging in domain 2016-02-28 21:12:19 +01:00
Jérôme Lebleu
04c31638c6 [fix] Append domain name to DKIM DNS record 2016-02-28 21:03:18 +01:00
Jérôme Lebleu
8d520762e6 [enh] Add DKIM DNS record in domain_dns_conf (close #198) 2016-02-28 19:23:50 +01:00
Jérôme Lebleu
565bc616d8 [fix] Do not raise if one app upgrade fails and regen SSOwat conf 2016-02-26 20:18:22 +01:00
Jérôme Lebleu
fdc7d2e8c5 [fix] Set 'app status file not found' log level to debug 2016-02-26 20:04:19 +01:00
Moul
3744409aae [fix] ttl: rename key argument. 2016-02-26 12:20:45 +01:00
Moul
248104b8e4 [fix] set ttl value to 'None'. 2016-02-23 23:07:32 +01:00
Moul
3f1bd53c47 [mod] Fixes on 'ttl' option. 2016-02-23 13:13:36 +01:00
Moul
5016482bda [enh] add '-ttl' parameter to 'domain dns conf' command. 2016-02-23 00:53:02 +01:00
Jérôme Lebleu
b27aa33192 [fix] Review how app settings are initialized and set 2016-02-21 21:51:57 +01:00
Jérôme Lebleu
db7fb0c3f9 [enh] Get completely rid of os.system calls in _fetch_app_from_git 2016-02-21 17:39:35 +01:00
Jérôme Lebleu
ca9abffbe8 [fix] Improve and fix app fetching other than from github 2016-02-21 17:24:05 +01:00
Jérôme Lebleu
bd7308187c [enh] Allow to install a given git reference of an app
This quickly adds support for git URL with /tree/ inside in app installation.
It is intended to ease tests of apps which use new manifest format and helpers
for the 2.4 release. An example usage:

 $ yunohost app install https://github.com/jeromelebleu/roundcube_ynh/tree/dev

As it will certainly change with the app category refactoring, it is not
documented and should be used with care.
2016-02-19 13:56:55 +01:00
Jérôme Lebleu
4cc5775721 [fix] Clean tmp directory when restoration is cancelled 2016-02-18 16:20:36 +01:00
Jérôme Lebleu
4e48aeb388 [enh] Store backup size and check free space before restoring (bugfix #189) 2016-02-18 16:20:36 +01:00
Jérôme Lebleu
50ba2668f5 [fix] Handle empty app settings error when it's not correctly installed 2016-02-07 20:29:12 +01:00
Jérôme Lebleu
94f81cc655 [i18n] Use named variables in app category translations 2016-02-05 11:39:23 +01:00
Jérôme Lebleu
28f5df2eeb Merge pull request #119 from Psycojoker/unstable
Add action to generate DNS configuration for a given domain
2016-02-05 10:29:33 +01:00
Jérôme Lebleu
6a64386127 [fix] Some improvements and fixes to actions related to app access 2016-01-27 22:45:29 +01:00
Jérôme Lebleu
da2b3691c7 [enh] Use a common function to retrieve app settings 2016-01-27 22:31:04 +01:00
Jérôme Lebleu
ed49a8f577 [fix] Validate arguments and app settings in app_map (bugfix #168) 2016-01-27 21:43:54 +01:00
Laurent Peuch
d93a1746d7 [mod] dns_conf only need authentication for the api 2016-01-26 15:49:45 +00:00
Laurent Peuch
2b74311526 [mod] rename function like suggested 2016-01-24 15:56:05 +00:00
Laurent Peuch
d289bbe8e8 [fix] remove .tld 2016-01-24 11:44:39 +00:00
Laurent Peuch
b3665ede0f [mod] add CNAME for xmpp 2016-01-24 01:44:19 +00:00
Laurent Peuch
34ef4c7092 [mod] uniformise TTL declarations 2016-01-24 01:44:01 +00:00
Laurent Peuch
4817be9491 [fix] bad IPV6 declaration 2016-01-24 01:43:45 +00:00
Laurent Peuch
e140ed652c [enh] new command to generate DNS configuration for a given domain name 2016-01-22 21:28:35 +00:00
Jérôme Lebleu
d041a5f264 [enh] Replace msignals.display by logging in backup category 2016-01-19 18:49:06 +01:00