Commit graph

3345 commits

Author SHA1 Message Date
Jérôme Lebleu
8114de167b [enh] Call app remove script if installation fails 2016-03-25 17:46:38 +01:00
opi
4833b6b2b2 [enh] Use dedicated app list domain. 2016-03-23 08:53:44 +01:00
opi
159fd9af11 [fix] Use only dyndns.yunohost.org domain. 2016-03-22 21:59:27 +01:00
opi
d07d8e835a [enh] Add --installed and --with-backup to app_list action (wip #227) 2016-03-16 20:18:27 +01:00
opi
b6ee72e412 [enh] Add diagnosis function. #39 2016-03-12 23:33:30 +01:00
Jérôme Lebleu
fba14e55df [enh] Introduce new 'requirements' manifest key (close #113)
The 'requirements' key allows to specify the Debian packages which must
be installed and their required version. It must be an array of the
package name as the key and its version specifier - for its format, see
yunohost.utils.packages.Specifier - as value. For example:

"requirements": {
  "yunohost": ">= 2.4, << 2.5"
}
2016-03-08 22:58:47 +01:00
Jérôme Lebleu
cc4dc54ed3 [enh] Implement package version specifier and use it for min_version 2016-03-08 21:52:45 +01:00
Julien Malik
4fd7a69d68 [fix] use ip6.yunohost.org instead of ipv6.yunohost.org (less connectivity issues) 2016-03-08 18:59:09 +01:00
Julien Malik
ec912d5074 [fix] Protect against empty files 2016-03-08 17:38:29 +01:00
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