Commit graph

1019 commits

Author SHA1 Message Date
Laurent Peuch
7eb2c10426 Merge pull request #191 from alexAubin/fix-ldap-caching-on-postinstall
[fix] Fix ldap caching on postinstall, which might cause 'Unknown admin user'
2016-12-03 11:35:13 +01:00
Laurent Peuch
595f897261 [fix] implement opi's feedback 2016-12-03 11:34:46 +01:00
Alexandre Aubin
f6188405bc [fix] Fix the way name of self-CA is determined 2016-12-01 23:09:02 -05:00
Alexandre Aubin
6171fbdb03 Keep track of backups with custom directory using symlinks 2016-11-30 00:04:17 -05:00
Alexandre Aubin
f956fa7161 [enh] Adding check that user is actually created + minor refactor of ldap/auth init 2016-11-28 02:35:19 +01:00
Laurent Peuch
952040183e [mod] give instructions on how to solve the conf.json.persistant parsing error 2016-11-27 01:16:22 +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
ljf
dfbfc0cfc7 [fix] Can't get mailbos used space if dovecot is down 2016-11-24 02:55:59 +01:00
Alexandre Aubin
e66a708520 Misc tweaks on exceptions 2016-11-23 11:46:52 -05:00
Alexandre Aubin
a6353703bd Catching exceptions from acme-tiny 2016-11-22 22:24:54 -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
5de006f18d Follow up of @julienmalik comments - misc typo/cosmetic fixes 2016-11-21 10:58:57 -05:00
Laurent Peuch
99f0f761a5 [mod] include execption into appslist_retrieve_error message 2016-11-16 04:04:07 +01:00
Alexandre Aubin
109cbf7641 Backuping existing certificate (if any) also for self-signed generation 2016-11-08 22:22:13 -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
4ddc3aac36 Display a warning message when letsencrypt is installed, suggesting commands to migrate 2016-11-08 12:09:02 -05: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
Alexandre Aubin
35fa386ce3 First draft of certificate management integration (e.g. Let's Encrypt certificate install) 2016-10-28 13:59:42 -04:00
opi
81e464ce1f [enh] Display full exception error message. 2016-08-28 23:36:45 +02:00
opi
d95052a9e9 [enh] Catch SSOwat persistent configuration write error. 2016-08-28 15:39:45 +02:00
opi
937f26bdaa [fix] Raise error on malformed SSOwat persistent conf. 2016-07-21 11:43:02 +02:00
Bugsbane
b103cd532e [i18n] Translated using Weblate (English)
Currently translated at 100.0% (239 of 239 strings)
2016-07-11 21:01:53 +02:00
Jérôme Lebleu
687b36fc5e [i18n] Translated using Weblate (English)
Currently translated at 100.0% (239 of 239 strings)
2016-07-11 21:01:53 +02:00
Jérôme Lebleu
c1a8ce19e6 [i18n] Translated using Weblate (English)
Currently translated at 100.0% (239 of 239 strings)
2016-07-11 21:01:53 +02:00
Bugsbane
546eb6a8d4 [i18n] Translated using Weblate (English)
Currently translated at 100.0% (239 of 239 strings)
2016-07-11 21:01:53 +02:00
Jérôme Lebleu
4e46d6eb28 [i18n] Translated using Weblate (English)
Currently translated at 100.0% (239 of 239 strings)
2016-07-11 21:01:53 +02:00
Bugsbane
12a208fced [i18n] Translated using Weblate (English)
Currently translated at 100.0% (239 of 239 strings)
2016-07-11 21:01:53 +02:00
Jérôme Lebleu
3b74e5a0ad [i18n] Translated using Weblate (English)
Currently translated at 100.0% (239 of 239 strings)
2016-07-11 21:01:53 +02:00
Bugsbane
502ae75773 [i18n] Fixed minor English grammar errors
Fixed a number of minor English spelling and grammar errors in the messages (for example the word "list" implies plural, so no need to double pluralize by saying "apps list").
2016-05-30 12:14:20 +02:00
Jérôme Lebleu
4c9b79f5fc [i18n] Rename backup_complete and backup_failed strings 2016-05-06 12:41:57 +02:00
opi
286ce86993 [fix] Catch IOError on tar creation (backup). 2016-05-06 12:00:33 +02:00
Jérôme Lebleu
aca251e981 [enh] Prevent non-updated multi-instances apps installation (close #126) 2016-04-25 13:58:17 +02:00
Jérôme Lebleu
cdf3c13bf5 [enh] Add a dry-run option for service_regen_conf 2016-04-19 20:52:45 +02:00
Jérôme Lebleu
2309405e98 [enh] Refactor the conf regen for better conflicts handle
It rewrites some parts of the conf regen but try to keep as much as possible
the same logic - to prevent a too big refactoring. The main change is that
configuration file regen is now handle by service_regen_conf directly.

Hooks are now called twice with the following arguments respectively:
 * `"pre" $force $pending_dir`: it's time for the script to generate and put
   each configuration file to update/remove into `$pending_dir` with the
   right directory tree. To remove one, just touch an empty file.
 * `"post" $force`: this second time, the script may restart services, fix
   permissions, clean, ...

Between this two executions, the service_regen_conf will look for any files
under the `$pending_dir` and safely process them - either create, update or
remove the proper system configuration.
2016-04-11 17:11:41 +02:00
Jérôme Lebleu
a948be035a [i18n] Rename app_requirements_failed err named variable 2016-04-08 22:44:31 +02:00
Jérôme Lebleu
d11dd38e42 Merge branch 'testing' into unstable
This fixes DynDNS update.
2016-03-27 16:54:13 +02:00
Jérôme Lebleu
c99d56f2d5 Merge branch 'stable' into testing
This fixes DynDNS update.
2016-03-27 16:52:41 +02:00
opi
394f0498a5 [enh] Use named arguments for user_unknown string. 2016-03-27 16:41:54 +02:00
opi
4cabb2f7f9 [enh] Use named arguments with m18n. 2016-03-27 15:56:41 +02:00
opi
468199c78f [enh] Use named arguments when calling m18n in service.py 2016-03-27 12:48:48 +02:00
opi
7999293438 [enh] Display hook path on error message. 2016-03-27 11:26:41 +02:00
opi
f176c3061e [enh] Better message during service regenconf. 2016-03-27 11:26:41 +02:00
Jérôme Lebleu
d66a46a8de [fix] Update first registered domain with DynDNS instead of current_host 2016-03-26 00:27:25 +01:00
Jérôme Lebleu
8114de167b [enh] Call app remove script if installation fails 2016-03-25 17:46:38 +01:00
opi
edf3f4901f [enh] More explicit backup forbidden directory error message. 2016-03-19 10:48:54 +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
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
fcc1fe57dc [i18n] Use named arguments for remaining translations in app.py 2016-03-01 11:18:23 +01:00