Fabian Weisshaar
60a3fe559c
Set HTTPONLY to CSRF cookies
2019-05-16 11:31:09 +02:00
Fabian Weisshaar
1732ace5a0
Add Referrer-Policy HTTP Header, #281
2019-05-16 11:30:34 +02:00
Fabian Weisshaar
5b930d07fc
Add X-XSS-Protection and X-Content-Type-Option HTTP Header
2019-05-16 11:30:34 +02:00
Fabian Weisshaar
0a3bf17b2c
Integrate new logo, thanks to @mirzazulfan #78
2019-05-03 11:18:32 +02:00
Thomas Waldmann
4c49ef5613
add BAD_HOSTS setting for nasty clients
...
having one who updates every 5s with a invalid password.
this locks the database (due to it increasing auth fail count and msg)
all the time, so i can't even delete that host from django admin.
also: Response now get a status parameter, defaulting to 200.
2019-04-15 18:57:54 +02:00
Thomas Waldmann
f4bdf5b37d
fix crash / add logging for reverse lookup on invalid ip address string
2019-04-14 22:12:20 +02:00
Thomas Waldmann
1feb5dbfb8
web UI languages: add greek, remove polish, prepare for spanish/chinese
...
greek is complete, polish was very incomplete and remove from git.
spanish and chinese have a high percentage of completed translations,
but not there yet. please help completing them!
2019-04-14 17:28:43 +02:00
Thomas Waldmann
96872b950d
add spanish translation (es), incomplete still, 85%
2019-04-14 17:14:02 +02:00
Thomas Waldmann
5297ac68cc
remove very incomplete polish translation
...
it was already gone on transifex, but still present in git.
only a few strings were translated here, not usable, so better
start this from scratch.
2019-04-14 17:14:02 +02:00
Thomas Waldmann
dcced1868f
add greek translation (el)
...
thanks to tony baliatsas!
2019-04-14 17:14:02 +02:00
Thomas Waldmann
2f7c0ae91f
i18n updated
2019-04-14 17:14:02 +02:00
Thomas Waldmann
fa00ee6a3c
add api_auth_faults to host admin
2019-04-09 23:12:35 +02:00
Thomas Waldmann
9a416fc6aa
fix setuptools_scm usage related crash, fixes #423
2019-04-09 22:26:07 +02:00
Thomas Waldmann
a1c090eeb7
fix logging crash, fixes #424
2019-04-09 22:20:22 +02:00
TW
00ca1a236c
Merge pull request #422 from ThomasWaldmann/logging
...
improve logging
2019-04-09 21:18:47 +02:00
TW
c2c0bcbeea
trying to fix #399 ( #421 )
...
rev_lookup: try up to 5 times, more selective error handler, fixes #399
2019-04-09 21:16:48 +02:00
Thomas Waldmann
6f60f66e0d
logging: more precise api auth failure logging, fixes #416
...
log the early failure at DEBUG and only the late failure at WARNING.
2019-04-09 20:28:42 +02:00
Thomas Waldmann
849c06d6d4
logging: demote "no auth" to DEBUG level, fixes #415
2019-04-09 20:28:25 +02:00
Thomas Waldmann
b8daf1a8ef
django-admin faults: show/reset api auth faults counter
2019-04-09 12:08:00 +02:00
Thomas Waldmann
a65b50f48c
use "load static", fixes #403
...
django (since 1.10) supports this and internally will use staticfiles
if django.contrib.staticfiles is in INSTALLED_APPS (which is the case).
this should fix the deprecation warnings we got.
also: require django >= 1.11.0.
2019-04-08 21:16:00 +02:00
Thomas Waldmann
6f5ab5b4c8
git mv nsupdate src/
2019-04-04 01:04:16 +02:00