1172 Commits

Author SHA1 Message Date
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
Fabian Weisshaar
80033041e9 Add A Well-Known URL for Changing Passwords
based on https://wicg.github.io/change-password-url/index.html
2018-12-28 20:36:45 +01:00
Fabian Weisshaar
8214842dc9 Add rel="noopener" to target="_blank" links 2018-12-28 20:36:45 +01:00
TW
d1692e305c
Merge pull request #396 from ThomasWaldmann/rel012
release 0.12
2018-11-18 23:57:38 +01:00
Thomas Waldmann
a61553afc1 setup.cfg: remove minversion, version comparison broken
ERROR: /home/travis/build/nsupdate-info/nsupdate.info/setup.cfg:28: requires pytest-3.6, actual pytest-3.10.0'
2018-11-18 23:27:26 +01:00
Thomas Waldmann
e43ffd917f update setup.cfg about pytest >= 3.6
see requirements.d/dev.txt
2018-11-18 22:53:28 +01:00
Thomas Waldmann
c6983124b5 add release dates for 0.10/11/12 2018-11-18 22:35:44 +01:00
Thomas Waldmann
067bf17f2f use raw string for MAILDOMAIN_BLACKLIST (regexes) 2018-11-18 22:20:52 +01:00
Thomas Waldmann
a34be2039c update (c) year 2018-11-18 22:10:56 +01:00
Thomas Waldmann
b42d472a06 update CHANGES 2018-11-18 22:02:51 +01:00
TW
14d7a4e800
Merge pull request #395 from ThomasWaldmann/fix-394
avoid invalid IP address crash, fixes #394
2018-11-18 21:02:11 +01:00
Thomas Waldmann
b8a3e3a2c7 avoid invalid IP address crash, fixes #394 2018-11-18 20:48:26 +01:00
TW
0064f1491d
Merge pull request #393 from elnappo/368
Migrate to font-awesome v5, fix #368
2018-11-13 15:52:12 +01:00
Fabian Weisshaar
66fdff9f40 Migrate to font-awesome v5, fix #368 2018-11-13 15:37:18 +01:00
TW
0ef3082a61
Merge pull request #392 from ThomasWaldmann/fix-urls
fixing login.urls
2018-11-05 02:12:12 +01:00
Thomas Waldmann
05d5a75c40 fixing login.urls 2018-11-05 02:01:57 +01:00
TW
a8128fe9e3
Merge pull request #364 from ThomasWaldmann/py37
py37 and django2 fixes
2018-11-04 21:14:15 +01:00
TW
5bb265ab3b
Merge pull request #389 from ThomasWaldmann/suffix-hint
zone creation: add hint about public suffix list
2018-11-04 21:13:07 +01:00
Thomas Waldmann
7b408c3190 zone creation: add hint about public suffix list 2018-11-04 20:47:13 +01:00
TW
2d738e3e13
Merge pull request #385 from ThomasWaldmann/config-help
Config help
2018-10-21 17:07:24 +02:00
Thomas Waldmann
6ecee32398 use new MIDDLEWARE setting (since Django 1.10)
MIDDLEWARE_CLASSES was removed in Django 2.0.
2018-10-19 23:37:29 +02:00
Thomas Waldmann
9a6772b74a django 2.0 does not have these view functions any more, use classes 2018-10-19 22:58:41 +02:00
Thomas Waldmann
896531276f django 2.0 does not allow giving a 3-tuple to include() 2018-10-19 22:29:18 +02:00
Thomas Waldmann
d8bb177301 django 2.0 requires on_delete arg for ForeignKey/OneToOneField
the default in django 1.11 is models.CASCADE.

note: updated migrations, the models already had the required change.
2018-10-19 22:05:35 +02:00