646 Commits

Author SHA1 Message Date
Thomas Waldmann
077b91c0dd Merge branch 'pu_translations' of github.com:mandrag0ra/nsupdate.info into mandrag0ra-pu_translations
Conflicts:
	nsupdate/main/templates/main/includes/tabbed_router_configuration.html
	nsupdate/main/templates/main/status.html
	nsupdate/templates/base.html
2014-06-06 22:46:32 +02:00
mandrag0ra
25449d447b correct presumed latest syntax errors 2014-05-30 14:55:50 +02:00
Thomas Waldmann
f26ae31882 s/ssl_update_v4/tls_update_v4/g (and same for v6)
SSL is the old/outdated name. Since 1999, it's called TLS.

Changed model field names. Added a schema migration to rename the DB columns.

Note: the schema migration also adds/removes the index introduced in cs 32289ebb183907e8618ff251dd5846fd00fe9423
2014-05-30 02:03:48 +02:00
Thomas Waldmann
070a1445be s/ssl/secure/g
SSL is the old/outdated name. Since 1999, it's called TLS.

Changed some API params.
2014-05-30 01:28:34 +02:00
Thomas Waldmann
d47793b71c s/WE_HAVE_SSL/WE_HAVE_TLS/g
SSL is the old/outdated name. Since 1999, it's called TLS.

Changed the name of the configuration setting.
2014-05-30 01:18:50 +02:00
Thomas Waldmann
46008bf2cd s/SSL/TLS/g (almost)
SSL is the old/outdated name. Since 1999, it's called TLS.

In this changeset, I did the mostly harmless changes (UI, logs, docs).
2014-05-30 01:10:33 +02:00
Thomas Waldmann
8c93414d8d use colored labels to make the abuse markers better visible 2014-05-29 21:29:58 +02:00
Thomas Waldmann
cafaeeb64e use 1 transaction for the whole faults command db update
hopefully this is much faster than the default behaviour which does 1 transaction per save(),
so the database is not locked such a long time.
2014-05-29 20:42:29 +02:00
Thomas Waldmann
3cf5e6ff96 say "update DNS", not "update hostname" 2014-05-29 19:10:45 +02:00
Thomas Waldmann
b18ef01a43 when showing the update URLs, use links for the myip= example urls also (for cosmetic reasons) 2014-05-29 19:08:58 +02:00
Thomas Waldmann
37dee16a33 when showing the update URLs, use links so one can more easily copy&paste or bookmark them 2014-05-29 18:55:35 +02:00
Thomas Waldmann
16416cb2af catch NoNameservers exception and show error msg on UI 2014-05-29 17:27:11 +02:00
Thomas Waldmann
32289ebb18 index subdomain and domain together (as they are only unique together also) 2014-05-29 17:19:08 +02:00
Thomas Waldmann
45b4216668 requirements: use django 1.6.5 (upgraded from 1.6.1) 2014-05-29 15:46:46 +02:00
Thomas Waldmann
9341df05bb optimize filter_by_fqdn(), rename to get_by_fqdn()
as we precisely expect 1 result (0 or more than 1 are error cases), use .get() instead of .filter().
avoid usage of len().
maybe this is a little more efficient than before.
2014-05-29 15:25:38 +02:00
Thomas Waldmann
3d922e4f13 catch "Network is unreachable" error 2014-05-28 15:19:21 +02:00
mandrag0ra
9e930fad88 syntax errors correction 2014-05-28 15:05:57 +02:00
mandrag0ra
b83440a073 correct syntax errors 2014-05-27 01:39:35 +02:00
mandrag0ra
c3ab638092 correct syntax errors 2014-05-27 01:36:57 +02:00
Thomas Waldmann
1821229e83 show created_by in hosts admin, offer abuse flags in filter first (and domains/creators afterwards) 2014-05-26 18:13:08 +02:00
Thomas Waldmann
472b022472 remove client_faults counter from filters 2014-05-25 18:29:16 +02:00
Thomas Waldmann
f4be4ba6d0 add client_faults counter to admin display 2014-05-25 18:26:56 +02:00
Thomas Waldmann
19fe0e94a5 show an example zone file for bind9 after adding a new domain 2014-05-25 17:39:55 +02:00
mandrag0ra
bd7c2b9277 add languages option 2014-05-23 17:44:03 +02:00
mandrag0ra
064ec12be6 {% trans %} on .html files 2014-05-23 17:27:18 +02:00
mandrag0ra
4abac704c5 {% trans %} on .html files 2014-05-23 17:23:27 +02:00
mandrag0ra
e264b10fd6 {% trans %} on .html files 2014-05-23 17:22:32 +02:00
mandrag0ra
65e7654c5a po and mo files 2014-05-23 16:17:41 +02:00
Thomas Waldmann
93b54ab479 handle myip == '' (?myip= in url) - just get ip from REMOTE_ADDR 2014-04-28 01:08:00 +02:00
Thomas Waldmann
b818ea9df9 catch / handle DnsUpdateError (e.g. SERVFAIL) 2014-04-28 00:47:28 +02:00
Thomas Waldmann
b0c797f34d add a logo and hints how to use it (and how not to use it)
I hope the logo is pitiful enough to motivate somebody with better design
skills to make a better one.

See also:

https://github.com/nsupdate-info/nsupdate.info/issues/78
2014-04-23 14:52:20 +02:00
Thomas Waldmann
96c07fb18a add abuse flag to host admin list view 2014-03-09 23:15:20 +01:00
Thomas Waldmann
8c372f3f18 remove strange css definition for .wrap (tested with FF and chrome: no change in behaviour), fixes #110
note: these definitions come from some bootstrap docs or examples
2014-01-26 18:23:33 +01:00
Thomas Waldmann
1bf2a0554d requirements: use django 1.6.1 by default (see previous commit) 2014-01-26 17:38:11 +01:00
Thomas Waldmann
e42bf56de7 fix password_reset_confirm url rule to be compatible with django 1.6
it now crashes for django 1.5, the code needed for 1.5 is commented in nsupdate/login/urls.py
2014-01-26 17:36:28 +01:00
Thomas Waldmann
27e48d6457 fix typo in password_reset template 2014-01-26 17:19:28 +01:00
Thomas Waldmann
56092738e8 prettier hosts overview 2014-01-26 16:26:51 +01:00
Thomas Waldmann
454489f129 hosts overview: tell what the stuff in parens refers to: the last update 2014-01-26 16:12:44 +01:00
Thomas Waldmann
70ad623946 hosts overview: improve rendering if update timestamp is unknown (likely because no update happened yet) 2014-01-26 16:11:29 +01:00
Thomas Waldmann
24aaa0ff6b ns_query: as we query the authoritative master dns directly, we switch off RD (recursion desired), fixes #142 2014-01-26 15:34:25 +01:00
Thomas Waldmann
ca7ef3988d move jquery / bootstrap back to head, broke my socialshareprivacy stuff on nsupdate.info 2014-01-26 03:55:11 +01:00
Thomas Waldmann
9fcd65576c fix login url generation in activation_complate template, fixes #139 2014-01-26 00:51:11 +01:00
Thomas Waldmann
f62bbe896f updated dd-wrt help with verified settings for dd-wrt v24-sp2 - thanks to Per Brax! 2014-01-22 17:48:05 +01:00
Thomas Waldmann
400259c758 get_ip: if there is no A/AAAA record, anwer "none" (anwer "error" only in real error cases) 2014-01-22 14:03:36 +01:00
Thomas Waldmann
c0cb56a97d implement custom template view, add docs for it 2014-01-22 00:09:14 +01:00
Thomas Waldmann
efd4f79ef9 document UI customization (overriding templates/includes) 2014-01-21 20:09:16 +01:00
Thomas Waldmann
ee60c89d2d remove view for legalese
we don't want to be responsible for its contents (do it yourself and, if in doubt, ask your lawyer).

depending on applicable law, you might be required to have multiple directly reachable views,
thus this one view was not flexible enough anyway,
2014-01-21 19:24:34 +01:00
Thomas Waldmann
d195bba4d0 implement delete UI 2014-01-21 18:47:27 +01:00
Thomas Waldmann
36c3c8d314 implement delete API
Very similar to /nic/update and /nic/update_authorized, /nic/delete and /nic/delete_authorized delete
 the A or AAAA record, depending in the kind of IP address given.

 As this is a delete, the specific ip address value is ignored.
2014-01-21 17:50:01 +01:00
Thomas Waldmann
5d2ee03e02 if we get an invalid ip address string with an update (e.g. via myip=... param), return result code 'dnserr'
note: I did not find a better matching result code, seems like dyndns2 api is rather incomplete. :-(
2014-01-21 14:21:35 +01:00