38 Commits

Author SHA1 Message Date
e7d10e9a20
Update dependency font-awesome to v6 2023-03-18 13:43:43 +01:00
5e7e7a933f
Update update_secret database field length for salted hash 2023-03-18 13:43:40 +01:00
1aed14f487
Update to Django 4.0 2023-03-18 13:43:38 +01:00
b32b05705d
Update to Django 3.0 2023-03-18 13:43:35 +01:00
77bf293d56
Update to DropboxOAuth2V2
The old version somehow does not work anymore and throws load errors.
2023-03-18 13:42:47 +01:00
897515b112
Remove usage of six
Dropping support for python 2 because it's dead. six was not declared
correctly in requirements.txt and causes troubles. So removing the one
usage.
2023-03-18 13:42:47 +01:00
Thomas Waldmann
1792c69223 strip prefix-length / netmask if present, fixes #470 2021-11-08 23:34:33 +01:00
Thomas Waldmann
f6a6eeca08 try to identify&remove illegal/abusive users 2021-11-08 22:57:52 +01:00
Thomas Waldmann
c500696487 enable blacklisting of email addresses (regex)
we had email domain blacklisting before, but this is more powerful.
2021-11-08 22:44:04 +01:00
Brice Gros
a8a6a208b1 fix Domain.generate_ns_secret() storing bytes object into Domain.nameserver_update_secret instead of a string 2020-01-21 14:22:37 +01:00
Fabian Weisshaar
0a625d6853 Add missing migration files 2019-12-30 17:31:01 +01:00
TW
2107a66b8d
Merge pull request #448 from ThomasWaldmann/i18n
remove tr and cn translations from repo (see transifex)
2019-12-30 00:09:53 +01:00
Thomas Waldmann
79b1e2b93a remove tr and cn translations from repo (see transifex) 2019-12-29 17:22:13 +01:00
TW
ed673c68d0
Merge pull request #443 from elnappo/updates
[WIP] 36c3
2019-12-27 20:28:35 +01:00
Fabian Weisshaar
65ebf8ad8c Update fontawesome, bootstrap and jquery, fix #444 2019-12-27 17:26:51 +01:00
Fabian Weisshaar
bf2a06353d Update Django to v2.2, see #386 2019-12-27 15:35:47 +01:00
Fabian Weisshaar
bcae9584ff Add a link to user in host admin, fix #440 2019-12-27 15:35:47 +01:00
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