818 Commits

Author SHA1 Message Date
TW
634996be57 Merge pull request #270 from ThomasWaldmann/fix-templating
Fix templating
2016-08-13 23:57:29 +02:00
TW
9d30ca1014 Merge pull request #271 from ThomasWaldmann/fix-hostadd-sameip-crash
fix SameIpError in host add form processing, fixes #267
2016-08-13 23:56:25 +02:00
TW
0baa8b8571 Merge pull request #272 from ThomasWaldmann/fix-openwrt-config
update OpenWrt config example for Chaos Calmer, fixes #259
2016-08-13 23:55:07 +02:00
Thomas Waldmann
a1216d1967 update OpenWrt config example for Chaos Calmer, fixes #259 2016-08-13 23:45:00 +02:00
Thomas Waldmann
9f97cb2769 fix SameIpError in host add form processing, fixes #267 2016-08-13 23:38:43 +02:00
Thomas Waldmann
4deac259bc use TEMPLATES setting for Django 1.8+
TEMPLATE_* == old, pre-django-1.8 settings (removed)
TEMPLATES == Django 1.8+ settings
2016-08-13 22:39:29 +02:00
Thomas Waldmann
51803eebec fix first param type of loader.select_template, fixes #255
must be a list of templates names, not a single template names.
2016-08-13 22:23:02 +02:00
TW
aa6b081895 Merge pull request #268 from ThomasWaldmann/update-changes
Update changes
2016-08-13 20:02:23 +02:00
Pascal Mages
9fb3703827 Update pfSense tab to get IP from Result Match
added %IP% for pfSense result match to properly catch the cached IP address. Without pfSense reports 0.0.0.0 in the webgui.
2016-05-23 14:49:08 +02:00
Fabian Weisshaar
bca9aaf296 Update font awesome and jquery, add subresource integrity see #23 2016-04-13 09:48:06 +02:00
Fabian Weisshaar
f987fae7e0 fixes #246, #249, #253. except DnsUpdateError and use random IP in check_domain().
The delete() was removed because after an add() the nameserver need time to process the nsupdate query. This leads to an NXDOMAIN response on current ip check in delete() thus the delete() call fails.
2016-01-26 14:33:18 +01:00
Thomas Waldmann
893ef1ae00 do not use html registration emails
we override the text email template, but not the html email template.

the django-registration-redux docs say that one should switch off
html email in the config in that case.
2016-01-08 01:49:57 +01:00
TW
4891869c37 Merge pull request #244 from elnappo/db-opti
optimize database query on overview page
2016-01-02 01:14:27 +01:00
Fabian Weisshaar
d7715e0975 Update bootstrap and font-awesome 2015-12-30 12:05:28 +01:00
Fabian Weisshaar
4717da5ae6 optimize database query on overview page 2015-12-30 11:51:39 +01:00
Thomas Waldmann
58f7237654 add migration for f5107138908d728da043faf77f72dee241338ce5 2015-12-29 17:24:37 +01:00
Thomas Waldmann
f7558123ba bump version to 0.12.0 2015-12-29 14:17:28 +01:00
TW
ab466a57b2 Merge pull request #241 from hensing/fix-192
closes #192: sort hosts and domains by name
2015-12-29 14:13:53 +01:00
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