Commit graph

1641 commits

Author SHA1 Message Date
Alexandre Aubin
7c28ec1c1b [enh] Adding an app helper to display infos 2017-10-29 23:37:51 +01:00
Alexandre Aubin
5cd1563014 [enh] Enable stdinfo when running app script 2017-10-29 23:20:10 +01:00
Alexandre Aubin
b8d8f72e36 [enh] Add an optional stdinfo output for stuff ran with hook_exec 2017-10-29 23:19:52 +01:00
Alexandre Aubin
9903c48f3a Be able to give lock to son processes detached by systemctl (#367)
* Give lock to systemctl sons
* Get the 'need_lock' flag from services.yml
* Don't need the lock for enable/disable and other stuff
2017-10-08 23:46:10 +02:00
Alexandre Aubin
5ae558edc9 [fix] Clean madness related to DynDNS (#353)
* Add a function to check if a dyndns provider provides a domain
* Add a function to check a domain availability from a dyndns provider
* Use new functions in dyndns_subscribe
* Replace complete madness by _dyndns_available in dyndns_update
* This regex is only used in dyndns_update, no need to define it at the whole file scope level
* Try to clarify management of old ipv4/ipv6 ...
* Add a nice helper to get both ipv4 and ipv6...
* Clarify the dyndns_update madness to get current ipv4/v6
* Remove now useless IPRouteLine
* Change default values of old ipv4/v6 to None, otherwise shit gets update just because IPv6 = None
* Rearrange thing a bit, move path to global variable
* Copypasta typo
* Dyndns zone file as a global variable
* Use helper to write zone content to file
* Adding some debugs/info messages
* Move the domain guessing to a dedicated function...
* Adding comments..
* Using subprocess check_call instead of os.system for nsupdate
* Removing dump of the zone update because it's kinda duplicated from what nsupdate already does
* Ignore error if old_ipvx file is non existent
* Add docstring for _dyndns_available
* Remove parenthesis otherwise this gonna displease Bram-sama :P
* Start working on postinstall .. use _dyndns_provides to check if domain is a .nohost.me or .nohost.st
* Use _dyndns_available to cleanly check for domain availability
* Forget about the weird 'domain split' check...
* Clean dyndns stuff in domain.py
* Missing argument for string
2017-10-08 23:44:07 +02:00
Maniack Crudelis
0086c8c16a [fix] match_string: unbound variable (#379)
* [fix] match_string: unbound variable
* Define local variables at beginning of function
2017-10-07 15:06:00 +02:00
Laurent Peuch
724f9af923 Merge pull request #359 from YunoHost/enh-add-log-on-app-upgrade
[enh] Return log after app upgrade with api
2017-10-06 15:05:40 +02:00
Laurent Peuch
ff4b08ed65 Merge pull request #354 from YunoHost/update_ynh_replace_string
[enh] Escape some special character in ynh_replace_string
2017-10-06 15:03:40 +02:00
Laurent Peuch
face2319e0 Merge pull request #378 from Jibec/weblate-yunohost-yunohost
Update from Weblate.
2017-10-06 13:49:38 +02:00
Weblate Admin
43dbf03ac8 Translated using Weblate (French)
Currently translated at 100.0% (353 of 353 strings)

Translation: YunoHost/YunoHost
Translate-URL: https://holcroft.fr/weblate/projects/yunohost/yunohost/fr/
2017-10-04 12:26:28 +02:00
Laurent Peuch
b675f4168c Merge pull request #370 from YunoHost-Apps/enh_mysql_single-transaction
Make MySQL dumps with a single transaction to ensure backup consistency
2017-10-03 22:19:53 +02:00
Laurent Peuch
402517d841 Merge branch 'unstable' into enh_mysql_single-transaction 2017-10-03 22:19:32 +02:00
Maniack Crudelis
e3a4b307f7 Fix double backslash in case of delimiter used 2017-10-03 22:11:24 +02:00
YunoHost Bot
2a49613e59 Update from Weblate. (#355)
* [i18n] Translated using Weblate (French)

Currently translated at 100.0% (351 of 351 strings)

* [i18n] Translated using Weblate (French)

Currently translated at 100.0% (351 of 351 strings)
2017-10-02 19:56:31 +02:00
Maniack Crudelis
220c447074 [enh] Handle root path in nginx conf (#361)
Avoid to put a double slash when the path is /.  
That can induce some errors in a nginx config.
2017-09-30 13:01:15 +02:00
Laurent Peuch
f3c16e7f69 Merge pull request #375 from YunoHost/backup-restore-UnicodeDecodeError
[fix] fix this UnicodeDecodingError on backup-restore
2017-09-28 00:53:40 +02:00
Laurent Peuch
f4b95ca5ff [fix] fix this UnicodeDecodingError on backup-restore 2017-09-26 01:01:00 +02:00
Maniack Crudelis
9563d3e5c4 Merge pull request #366 from YunoHost-Apps/enh_comment_ynh_replace_string
Complete ynh_replace_string helper comments to mention the possible use of regexps
2017-09-24 19:56:55 +02:00
Maniack Crudelis
369699faae Merge pull request #371 from YunoHost/SQL-skip-dump-date
[enh] Remove date from sql dump
2017-09-23 21:10:03 +02:00
Maniack Crudelis
d42cc00a87 [enh] Remove date from sql dump 2017-09-19 01:34:23 +02:00
Laurent Peuch
1aa34b76e4 Merge pull request #368 from YunoHost/change_url_double_slash
'/' was resulting in '//' in change_url
2017-09-15 11:01:50 +02:00
Jimmy Monin
8a559f2ae1 Make MySQL dumps with a single transaction to ensure backup consistency 2017-09-14 22:12:01 +02:00
JimboJoe
1086a50eb2 Fix #1005 (add missing 'ask_path' key) (#369) 2017-09-13 19:35:29 +02:00
Laurent Peuch
85f0b02f1f [fix] '/' was resulting in '//' 2017-09-07 15:06:12 +02:00
Laurent Peuch
0dbec4fa62 [enh] add debugging in ldap init (#365) 2017-09-06 22:00:17 +02:00
Jimmy Monin
f4955341bb Complete ynh_replace_string helper comments to mention the possible use of regexp 2017-09-05 21:09:24 +02:00
Laurent Peuch
a6639c4530 Merge pull request #358 from YunoHost/crypto_random_for_password
[fix] use cryptorandom to generate password
2017-08-30 08:44:39 +02:00
Laurent Peuch
dee1dee407 Merge pull request #357 from ariasuni/fix-485
[fix] Alow dash at the beginning of app settings
2017-08-30 04:48:10 +02:00
Laurent Peuch
fea6d3568f [fix] previous string was expecting an app name but we don't have any 2017-08-28 18:00:23 +02:00
ljf
171258e7fa [enh] Return log after app upgrade with api 2017-08-28 17:17:19 +02:00
Laurent Peuch
c6b5284be8 [fix] use cryptorandom to generate password 2017-08-27 05:42:33 +02:00
ariasuni
8e45f960a7 [fix] Use --value="$3" syntax so that $3 can begin with a dash 2017-08-27 03:37:32 +02:00
Maniack Crudelis
bb2424e9b8 [enh] Escape some special character in ynh_replace_string 2017-08-23 17:25:16 +02:00
Alexandre Aubin
32d3a9940b Update changelog for 2.7.2 release 2017-08-22 21:26:15 -04:00
Alexandre Aubin
a06b69438d Merge branch 'testing' into unstable 2017-08-22 21:22:35 -04:00
Alexandre Aubin
950359061e [fix] Set firewall start as background task (to be done right after postinstall) to avoid lock issues 2017-08-23 02:02:44 +02:00
Alexandre Aubin
d5b6072c84 [fix] Explicitly require moulinette and ssowat >= 2.7.1 2017-08-22 15:27:52 +02:00
Laurent Peuch
8117ffb85f [mod] pep8 on app.py 2017-08-20 22:52:51 +02:00
Laurent Peuch
40a5bcc96b [mod] pep8 on backup.py 2017-08-20 22:51:26 +02:00
Laurent Peuch
83971afb9c [mod] pep8 on hooks.py 2017-08-20 21:19:04 +02:00
Laurent Peuch
40ea2f9477 [mod] pep8 on tools.py 2017-08-20 21:18:25 +02:00
root
c05b4e7f50 Update changelog for 2.7.1 release 2017-08-20 02:10:45 +00:00
Laurent Peuch
66524213cd Merge pull request #348 from YunoHost/clean_domains.py
Clean domains.py
2017-08-19 20:23:31 +02:00
Alexandre Aubin
360ac66bc7 Use app_ssowatconf instead of os.system call 2017-08-19 11:11:49 -04:00
Laurent Peuch
b77d58a671 Merge pull request #347 from YunoHost/enh-simpler-lock-system
[enh] Simpler lock system
2017-08-18 04:13:15 +02:00
Laurent Peuch
4f1cf058c2 Merge pull request #351 from YunoHost/dev_shell
Integrate a command to launch a dev shell from within moulinette context
2017-08-18 04:12:25 +02:00
Laurent Peuch
20c3c8386d Merge pull request #349 from YunoHost/fix-925-local-domain-resolution
[fix] Local domain resolution in cert-install/renew
2017-08-18 03:44:46 +02:00
Laurent Peuch
8567164d58 Merge pull request #346 from YunoHost/fix-559-dns-conf-is-not-actual-conf
[fix] Tell user that domain dns-conf shows a recommendation only
2017-08-18 03:24:48 +02:00
Laurent Peuch
c864565683 Merge pull request #350 from YunoHost/clean_user.py
[fix] Use SHA-512 for passwords in LDAP
2017-08-18 02:20:09 +02:00
Alexandre Aubin
d010a288b2 [enh] Add a complete docstring with explanations and reference 2017-08-15 21:06:00 +02:00