yunohost/src/yunohost
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
..
data_migrations Migration framework (#195) 2017-08-07 15:55:18 +02:00
tests [fix] Make read-only mount bind actually read-only (#343) 2017-08-13 22:28:36 +02:00
utils [mod] explicitely import previously globals magic variables 2017-07-25 21:32:20 +02:00
vendor [mod] autopep8 on all files that aren't concerned by a PR 2016-12-18 02:01:17 +01:00
__init__.py [enh] Rely on APT python library to retrieve packages version 2016-03-08 16:10:14 +01:00
app.py Merge pull request #359 from YunoHost/enh-add-log-on-app-upgrade 2017-10-06 15:05:40 +02:00
backup.py [fix] fix this UnicodeDecodingError on backup-restore 2017-09-26 01:01:00 +02:00
certificate.py Regen dnsmasq conf if it's not up to date :| 2017-08-13 17:16:07 -04:00
domain.py [fix] Clean madness related to DynDNS (#353) 2017-10-08 23:44:07 +02:00
dyndns.py [fix] Clean madness related to DynDNS (#353) 2017-10-08 23:44:07 +02:00
firewall.py [mod] explicitely import previously globals magic variables 2017-07-25 21:32:20 +02:00
hook.py [mod] pep8 on hooks.py 2017-08-20 21:19:04 +02:00
monitor.py [mod] explicitely import previously globals magic variables 2017-07-25 21:32:20 +02:00
service.py [mod] explicitely import previously globals magic variables 2017-07-25 21:32:20 +02:00
settings.py [mod] explicitely import previously globals magic variables 2017-07-25 21:32:20 +02:00
tools.py [fix] Clean madness related to DynDNS (#353) 2017-10-08 23:44:07 +02:00
user.py [enh] Add a complete docstring with explanations and reference 2017-08-15 21:06:00 +02:00