850 Commits

Author SHA1 Message Date
Henning dickten
f510713890 closes #192: sort hosts and domains by name 2015-12-29 14:09:52 +01:00
TW
c90ebe0355 Merge pull request #239 from elnappo/fix-213
fixes #213
2015-12-29 13:53:42 +01:00
Fabian Weisshaar
cd2fde484a fixes #168, test updates when a domain is set to available 2015-12-29 13:30:58 +01:00
Fabian Weisshaar
ac127a2cc0 fixes #242, to unicode error under python2.7 2015-12-29 13:30:19 +01:00
Fabian Weisshaar
b81c8919ef fixes #213, check if nameserver update secret is a valid base64 string 2015-12-29 13:12:22 +01:00
Thomas Waldmann
e4c6b62d3b Merge branch 'fix-221' 2015-12-29 12:53:32 +01:00
TW
6ea6ac7fc8 Merge pull request #234 from hensing/django18
update django 1.7 to >=1.8.1 LTS
2015-12-28 17:42:17 +01:00
TW
c4a93218a4 Merge pull request #235 from nsupdate-info/ipfire-help
add ipfire help, fixes #209
2015-12-28 17:39:19 +01:00
Henning dickten
96fec52cf3 update django 1.7 to >=1.8.1 LTS 2015-12-28 17:09:01 +01:00
Thomas Waldmann
063aa675d9 add ipfire help, fixes #209 2015-12-28 16:31:03 +01:00
TW
5787891ef0 Merge pull request #233 from nsupdate-info/publicsuffix
use www.BASEDOMAIN for WWW_HOST, prepare for #224
2015-12-28 15:37:50 +01:00
TW
f6a847d27c Merge pull request #232 from nsupdate-info/fix-223
fix #223
2015-12-28 15:34:39 +01:00
Thomas Waldmann
1b3db1e124 use www.BASEDOMAIN for WWW_HOST, prepare for #224
we must not work without www. because if we get the basedomain on publicsuffix.org list,
the browser will not set cookies any more for that. if we use a host below, it will work normally.
2015-12-28 15:12:10 +01:00
Thomas Waldmann
24cd954671 fix #223 2015-12-28 13:58:10 +01:00
Thomas Waldmann
4232262cb8 add migration for previous changeset 2015-12-28 13:45:35 +01:00
Thomas Waldmann
ee838aa2da fix #221 2015-12-28 13:35:30 +01:00
Thomas Waldmann
eacdd9892e fix #211 2015-12-28 12:50:38 +01:00
Jonathan
a77fb0e77e Updated Font Awesome 2015-12-28 11:17:24 +01:00
TW
8ed2efc2aa Merge pull request #228 from elnappo/secretkey
set SECRET_KEY in development configuration
2015-12-28 11:11:00 +01:00
TW
f5a48db4d7 Merge pull request #227 from elnappo/#225
fixes #225
2015-12-28 11:10:36 +01:00
TW
48f840e12a Merge pull request #226 from elnappo/#222
fixes #222
2015-12-28 11:08:04 +01:00
Fabian Weisshaar
8042b3fcd4 fixes #225 2015-12-27 18:11:16 +01:00
Fabian Weisshaar
806d507d52 set SECRET_KEY in development configuration 2015-12-27 18:09:51 +01:00
Fabian Weisshaar
f65dfa330c fixes #222 2015-12-27 17:53:41 +01:00
Jonathan
6fe32b5c90 Updated Bootstrap 2015-08-09 21:03:46 +02:00
Thomas Waldmann
fb84008b74 fix pep8 issue, disable one pep8 warning 2015-06-04 12:47:11 +02:00
Thomas Waldmann
0f2e0235cb "faults" management command: use atomic transaction PER HOST
This was an atomic transaction per ALL hosts (IIRC introduced in the hope of better speed).
But a frequently occurring problem was that it processed SOME hosts, then ran into a
database locked error and then it rolled back all the changes and aborted processing for all hosts.

This led to the strange behaviour that users got emails about abuse flag being set, but it wasn't set.
And also other stuff behaved wrong, like fault counters.

Now, the atomic transaction is per host, so a host is either processed completely and correctly or rolled back.
If an exception happens, the roll back occurs, the traceback is logged and we just continue with next host.
2015-06-04 12:06:21 +02:00
Thomas Waldmann
21c1a9dab7 upgrade jquery to 1.11.3 2015-06-04 10:58:50 +02:00
Thomas Waldmann
0bba7d30e5 upgrade to bootstrap 3.3.4 and also use other cdn 2015-06-04 10:57:34 +02:00
Thomas Waldmann
95e9cabf65 avoid that invalid domains get added, fixes #205 2015-06-04 10:49:04 +02:00
Thomas Waldmann
1765bd6b13 fix traceback when language in user profile is None, fixes #206 2015-06-04 10:33:11 +02:00
Thomas Waldmann
ceb016ab9b fix: always compute rh_fqdn 2015-04-25 17:58:10 +02:00
Thomas Waldmann
0c425e1411 fix format string 2015-04-25 17:55:12 +02:00
Thomas Waldmann
b6528b748d add migration for prev. changeset 2015-04-25 17:42:27 +02:00
Thomas Waldmann
c8d87270b6 do not set A or AAAA record if IFID field is blank
in fact, even delete the A or AAAA record if the field is blank and an update is received.

sometimes it makes sense to have only ipv6 records in DNS if you only have 1 public ipv4.
then you can reach your devices without getting (maybe wrong or not port-forwarded) v4 addresses on lookup.
2015-04-25 17:33:02 +02:00
Thomas Waldmann
3c36a2ca6f bump version to 0.11.0 2015-02-14 18:11:21 +01:00
Thomas Waldmann
9233deb017 some people forget to change the service email, so rather use an example one than a real one 2015-02-08 20:42:24 +01:00
Thomas Waldmann
bdf0af0c3d upgrade font-awesome cdn link from 4.2.0 to 4.3.0 2015-02-08 20:06:48 +01:00
Thomas Waldmann
a8921abe67 upgrade jQuery cdn link from 1.11.1 to 1.11.2 2015-02-08 19:56:54 +01:00
Thomas Waldmann
a617d21d07 upgrade bootstrap cdn links from 3.3.1 to 3.3.2 2015-02-08 19:55:04 +01:00
Thomas Waldmann
19f0d76c2a render error pages using base template 2015-02-08 19:38:01 +01:00
Thomas Waldmann
dd11a45108 improve error pages, add 403 2015-02-08 19:25:10 +01:00
Thomas Waldmann
b87babb9ac move http error page templates to where they are expected (and work) 2015-02-08 19:18:40 +01:00
Thomas Waldmann
50f8d72408 adjust timeout / retry timing
resolver timeout 5 -> 10s (so it has more chances to query both nameservers alternatingly)

unavailable retry 300 -> 120s (so in case of a temporary problem, the outage is shorter)
2015-01-26 22:18:01 +01:00
Thomas Waldmann
b562c0fd7e add the option to prefer the primary nameserver in query_ns, use it for domain checker, 2015-01-26 22:04:06 +01:00
Thomas Waldmann
a0dee62a5f revert 8994be6ca1c44f5c9cee5ac5a2c24d8e1ac822c9ee5ac5a2c24d8e1ac822c9, fixes #198
list_display_links just links the given column to the record represented by the whole line,
NOT to the record (foreign key) represented by that individual column.
2015-01-26 20:56:40 +01:00
Thomas Waldmann
0c95fbacaf catch EOFError exception, add note about readable exception messages PR, fixes #197 2015-01-26 18:07:43 +01:00
Thomas Waldmann
f6f98e7971 using + for lazy translated strings doesn't work, with a unicode(!) template string % works as expected
note: with str template string, it doesn't work!
2015-01-16 13:53:56 +01:00
Thomas Waldmann
0d8f6cc82e catch socket.error (e.g. "connection refused"), fixes #195 2015-01-09 21:46:30 +01:00
Thomas Waldmann
01f426deb9 fix code to succeed with tests for related host views 2015-01-02 21:21:37 +01:00