1195 Commits

Author SHA1 Message Date
Fabian Weisshaar
27f14631f3 update year 2019-12-27 17:58:33 +01:00
Fabian Weisshaar
65ebf8ad8c Update fontawesome, bootstrap and jquery, fix #444 2019-12-27 17:26:51 +01:00
Fabian Weisshaar
3eea92a057 Add GitHub social preview image 2019-12-27 16:00:09 +01:00
Fabian Weisshaar
58fcd4785c Remove Python 2.7 support, add Python 3.8 support 2019-12-27 15:35:47 +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
daac6aeaee Add docs on how to disable user registration, see #438 2019-12-27 15:35:47 +01:00
Mirza Zulfan
300e650261 New Logo 2019-04-30 22:55:19 +02:00
TW
fa092386b3
Merge pull request #430 from ThomasWaldmann/update-changes
update CHANGES
2019-04-16 15:46:34 +02:00
Thomas Waldmann
7625e5b041 update CHANGES 2019-04-15 23:48:16 +02:00
TW
abeefaedb9
Merge pull request #429 from ThomasWaldmann/bad-hosts
add BAD_HOSTS setting for nasty clients
2019-04-15 19:07:56 +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
TW
4581f90f2d
Merge pull request #428 from ThomasWaldmann/fix-herror
fix crash / add logging for reverse lookup on invalid ip address string
2019-04-14 22:24:21 +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
TW
c320578879
Merge pull request #427 from ThomasWaldmann/i18n
translations updates
2019-04-14 21:24:19 +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
TW
7ef42f5727
Merge pull request #426 from ThomasWaldmann/admin-api-auth-faults
add api_auth_faults to host admin
2019-04-09 23:14:15 +02:00
Thomas Waldmann
fa00ee6a3c add api_auth_faults to host admin 2019-04-09 23:12:35 +02:00
TW
1ff09a2ee5
Merge pull request #425 from ThomasWaldmann/fixes
Fixes
2019-04-09 22:34:29 +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
TW
f2bbbe7da6
Merge pull request #412 from ThomasWaldmann/setuptools-scm-manifest
setuptools-scm managing the manifest, setup.py package data management
2019-04-09 17:29:23 +02:00
TW
f7eb3059ab
Merge pull request #420 from ThomasWaldmann/api-auth-faults-mgmt-script
django-admin faults: show/reset api auth faults counter
2019-04-09 12:31:12 +02:00
Thomas Waldmann
b8daf1a8ef django-admin faults: show/reset api auth faults counter 2019-04-09 12:08:00 +02:00
Thomas Waldmann
e8eaf58295 fix pathes in transifex config for src/ based layout 2019-04-08 22:24:51 +02:00
Thomas Waldmann
a827f338d5 improve manifest / package data management, fixes #373
setuptools-scm manages the MANIFEST automatically considering all
committed files, we only need to define exceptions from that rule.

setup.py: remove package_data, not needed if we use:
- include_package_data=True
- exclude_package_data (if needed)
2019-04-08 22:24:51 +02:00
TW
974af1e72d
Merge pull request #409 from ThomasWaldmann/django-static
use "load static", fixes #403
2019-04-08 21:25:25 +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
TW
9cfd9b8438
Merge pull request #405 from ThomasWaldmann/src-layout
src/ based project layout
2019-04-08 21:12:59 +02:00
TW
363c0fe41b
Merge pull request #408 from ThomasWaldmann/drop-py34
drop support for python 3.4, fixes #406
2019-04-04 21:06:37 +02:00
Thomas Waldmann
84f3c33061 drop support for python 3.4, fixes #406
you currently need either 2.7 or 3.5+.
2019-04-04 20:11:00 +02:00
TW
13d808a712
Merge pull request #407 from ThomasWaldmann/py27-compatible-dnspython
require dnspython < 1.17.0 for py27 support
2019-04-04 19:54:11 +02:00
Thomas Waldmann
3a4d84a527 require dnspython < 1.17.0 for py27 support
1.16.0 supports py27.
2.0.0 will be py3 only.

we expect that bugfix releases (if any) will be versioned 1.16.x
and won't break py27.

if there ever are other 1.x releases, it has to be checked whether
they are py27 compatible.
2019-04-04 19:43:17 +02:00
Thomas Waldmann
c0f763515a adjust to src/ based project layout 2019-04-04 17:32:48 +02:00
Thomas Waldmann
6f5ab5b4c8 git mv nsupdate src/ 2019-04-04 01:04:16 +02:00
TW
282b1786ac
Merge pull request #404 from ThomasWaldmann/basic-auth-exception
catch exception for invalid http basic auth strings, fixes #401
2019-04-04 00:55:44 +02:00
Thomas Waldmann
1a8192b4bc catch exception for invalid http basic auth strings, fixes #401 2019-04-04 00:13:34 +02:00
TW
53cf7ee6dd
Merge pull request #400 from nsupdate-info/setuptools-scm
Use setuptools-scm for git based versions
2019-04-03 23:58:14 +02:00
TW
9a476c6c84
Merge pull request #402 from ThomasWaldmann/django22
test on django 2.2
2019-04-03 23:57:50 +02:00
Thomas Waldmann
4e97f46e91 test on django 2.2 2019-04-03 18:16:14 +02:00
Thomas Waldmann
3036d9a27d pep8 checker: do not recurse into .eggs/
we do not want to test setuptools_scm for pep8 issues.
2019-04-03 18:10:40 +02:00
Fabian Weisshaar
ef7a9ec539 Use setuptools-scm for git based versions 2018-12-28 20:40:34 +01:00