Commit graph

80 commits

Author SHA1 Message Date
Alexandre Aubin
60dd1fc848 [cleanup] Remove legacy migrations and code snippets which won't be needed anymore on buster 2020-07-27 19:22:21 +02:00
Alexandre Aubin
da112a3668 Let's push also CAA for nohost.me ... Assuming dynette will eventually allow it .. 2020-04-19 02:44:39 +02:00
Alexandre Aubin
ecce6f11cc Move wildcard DNS record to 'extra' category 2020-04-05 20:22:17 +02:00
Alexandre Aubin
6aebec4a34 Residual .migrate() -> .run() 2019-09-27 20:37:13 +02:00
Laurent Peuch
2aa5e7f640 [mod] raw string for correct escape sequence 2019-08-27 19:45:45 +02:00
Laurent Peuch
87435775ee [enh] add --dry-run option to dyndns update 2019-08-27 19:45:33 +02:00
Laurent Peuch
b8f27b7593 [enh] add --force to 'dyndns update' 2019-08-26 17:35:18 +02:00
Laurent Peuch
68e9724517 [mod] remove catchall bad exception 2019-08-25 16:40:41 +02:00
Alexandre Aubin
f37a6b43e1 More general exception to handle other cases (e.g. SSL errors, ...) 2019-03-04 17:09:31 +01:00
Alexandre Aubin
e6f1845448
Add -f to rm 2019-03-01 01:40:52 +01:00
Alexandre Aubin
9657387746 Prevent calling dyndns_subscribe if already subscribed 2019-02-24 02:10:24 +01:00
Alexandre Aubin
3f8f328fae Delete the key if subscribing failed, to avoid confusion later trying to detect registered domains 2019-02-24 02:04:41 +01:00
Alexandre Aubin
283e01db8f Don't make a whole HTTP request every dyndns update... 2019-02-24 01:58:33 +01:00
Laurent Peuch
b68c358023 [mod] remove unused import 2018-12-16 03:18:19 +01:00
Alexandre Aubin
115b557b67 autopep8 + a few manual tweaks 2018-12-13 18:52:26 +00:00
Alexandre Aubin
fb010765bd Those are genuine MoulinetteError because base on moulinette helpers 2018-12-13 15:40:00 +00:00
Alexandre Aubin
2dd1d8ccfe Unused errno + remaining unecessary m18n.n 2018-12-12 19:01:28 +00:00
Irina LAMBLA
4ba309a221 modif MoulinetteError to YunohostError 2018-12-12 19:01:28 +00:00
Irina LAMBLA
410e757732 corrections 2018-12-12 18:56:26 +00:00
Irina LAMBLA
fab662f4ef The rest
The ones that sed didn't find. Modified by hand.
2018-12-12 18:56:26 +00:00
Irina LAMBLA
0468d6b900 sed 3 lines
deletion of line breaks to be able to use "sed" :
sed -i "N; s@MoulinetteError(.*m18n\.n(\n* *@MoulinetteError(m18n.n(@g"
2018-12-12 18:56:26 +00:00
Irina LAMBLA
4bc3427e3e moulinette MoulinetteError multilignes"
sed -i "N; s@MoulinetteError(.*m18n\.n(\n* *\(.*\)))@MoulinetteError(\1)@g" <fichiers>
2018-12-12 18:56:26 +00:00
Irina LAMBLA
f2e184d8b2 moulinette MoulinetteError oneline 2018-12-12 18:56:26 +00:00
Alexandre Aubin
c9fec565b5
Log dyndns update only if we really update something (#591) 2018-12-01 16:21:59 +01:00
Alexandre Aubin
1a05cd80d7
Merge pull request #519 from irina11y/fix-1063-dyndns
[fix] 'dyndns update' should check the upstream dns record
2018-10-27 16:40:45 +02:00
irina11y
c43a3687ab [enh] integrate CAA DNS entry into "yunohost domain dns-conf" (#528)
* [enh] integrate CAA DNS entry into
* Move CAA record to a new 'extra' category
* Display 'extra' records in dns-conf
* Ignore the 'extra' category during dyndns update
* Update docstring
2018-10-27 16:39:19 +02:00
Alexandre Aubin
d1d660b2cf
Those files don't exist anymoar 2018-10-24 18:08:56 +02:00
Alexandre Aubin
d42ac39c11 Fallback to 'None' if no ip was resolved 2018-10-24 15:55:20 +00:00
Alexandre Aubin
6883784fdb Using dyndns host for dns resolution instead of hardcoded ip 2018-10-24 15:45:41 +00:00
Irina LAMBLA
c5b5f2eb35 [fix] 'dyndns update' should check the upstream dns record
fix #1063
2018-08-27 20:37:44 +02:00
ljf
775a16d883 [enh] Rename uo in operation_logger 2018-08-23 18:59:44 +02:00
Alexandre Aubin
77b7f96b33 Remove 'auto' option, essentially irrelevant if we want to properly manage errors 2018-08-09 00:24:31 +00:00
Alexandre Aubin
5e99db7c63 Explicitely tell when to start the uo logging to avoid displaying the message about logs when not needed 2018-08-08 17:05:52 +00:00
ljf
a5ebc76eda Merge from stretch-unstable 2018-06-21 22:41:20 +02:00
Alexandre Aubin
91483f3896 Reflag some messages as info or debug 2018-06-01 21:52:19 +00:00
Alexandre Aubin
34451babe3 Fall back to 1024 for the DKIM key size because nsupdate is stupid 2018-05-02 18:04:15 +02:00
Alexandre Aubin
01956d22bd
Merge pull request #429 from YunoHost/manual-migrations
[enh] Manual migrations
2018-05-02 02:00:32 +02:00
pitchum
b9330d7501 [enh] Lazy-load some module for perf improvements (#451)
* Lazy load some python imports (perfs improved a lot).

These commands became way faster:
- yunohost app setting ...
- yunohost app list
- yunohost domain list
- yunohost domain dns-conf
- yunohost dyndns installcron/removecron
- ... and maybe others

* [fix] Timeout wat not defined anymore
2018-04-26 16:56:48 +02:00
Laurent Peuch
de305ce18e [mod] more explicite error message for dyndns subscribe server failure 2018-04-18 04:29:11 +02:00
ljf
650b768229 [enh] Replace category by related_to fields 2018-04-14 04:04:09 +02:00
ljf
79ee0396d0 [enh] Add related info 2018-04-12 21:22:17 +02:00
Alexandre Aubin
c40f14e8f0 Adapt 'manual' call to migration from dyndns according to previous changes 2018-03-16 14:38:04 +01:00
Alexandre Aubin
f5b5edb3bb This get_public_ips isn't really relevant anymore 2018-01-26 03:41:34 +01:00
Alexandre Aubin
e80f3a5a55 Fix imports and get_public_ip usage 2018-01-26 03:39:35 +01:00
Alexandre Aubin
7e02e355d5 Call the new migration from dyndns.py when MD5 is detected 2018-01-06 21:01:10 +01:00
Laurent Peuch
7c63c0a34d [enh] subscribe has hmac-sha512 2018-01-03 20:22:46 +01:00
Laurent Peuch
34433f07a4 Merge branch 'unstable' into tsig-sha256 2018-01-03 19:48:38 +01:00
Laurent Peuch
57665b6f11 [mod] uses builtin function to show traceback 2018-01-03 19:23:47 +01:00
Laurent Peuch
28b44401f5 [mod] remove debug print 2018-01-03 19:22:10 +01:00
Laurent Peuch
8935817338 [fix] add timeout on requests 2018-01-03 19:21:53 +01:00