56 Commits

Author SHA1 Message Date
TW
ed673c68d0
Merge pull request #443 from elnappo/updates
[WIP] 36c3
2019-12-27 20:28:35 +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
1732ace5a0 Add Referrer-Policy HTTP Header, #281 2019-05-16 11:30:34 +02:00
Thomas Waldmann
9a416fc6aa fix setuptools_scm usage related crash, fixes #423 2019-04-09 22:26:07 +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
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
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
Fabian Weisshaar
ef7a9ec539 Use setuptools-scm for git based versions 2018-12-28 20:40:34 +01:00
Thomas Waldmann
fb0967c0ec setup.py: don't require a specific Django version, so 1.1 and 2.x works
also add py37 to pypi metadata.
2018-10-19 22:05:35 +02:00
Fabian Weisshaar
6b3d2ffbd8 Minor changes and fixes, v0.12 milestone 2018-01-30 12:37:12 +01:00
Fabian Weisshaar
55f47ff52d Update to Django 1.11 LTS, fixes #293 2018-01-30 12:37:12 +01:00
Thomas Waldmann
ce4a6b9ffd py 3.6 testing fixed via recent defusedxml release, fixes #298
defusedxml 0.5 fixes the py 3.6 issues.
2017-02-10 15:35:09 +01:00
Thomas Waldmann
81df8cc1ea update setup.py according to requirements.d/all.txt 2017-01-21 02:03:51 +01:00
Thomas Waldmann
557779051e travis: drop py33, pip: remove --use-mirrors 2016-08-13 20:01:31 +02:00
Thomas Waldmann
4c6b7b56a0 downgrade django-registration-redux, fixes #250
seems like our code is not compatible with d-r-r 1.2 as using it breaks at least the password reset.
2016-01-08 02:12:54 +01:00
Henning dickten
96fec52cf3 update django 1.7 to >=1.8.1 LTS 2015-12-28 17:09:01 +01:00
Thomas Waldmann
46cdbd4e53 fix django requirements: >= 1.7.1 and <1.8
1.7.0 had some bugs in migrations, avoid. 1.8 is not tested.
2014-11-17 20:58:51 +01:00
Thomas Waldmann
39eb5e992e support and require django 1.7 (and related changes)
drop python 2.6 (not supported by django any more)
switch from django-registration (dead and broken) to django-registration-redux, fix issue #116
remove south dependency (and south migrations)
create new initial migration with django's builtin migrations
update docs
2014-10-21 05:06:44 +02:00
Thomas Waldmann
f47af7998f requests 2.4.1 is released fixing the bug we worked around by requiring <2.4.0 2014-09-26 02:39:39 +02:00
Thomas Waldmann
63c1cdbe6b remove support for django 1.5.x, stuff not needed any more when requiring >= 1.6 2014-09-26 02:25:08 +02:00
Thomas Waldmann
fa640706f5 add related hosts functionality, to update host records based on main host network address + interface id
this is esp. useful for v6 hosts, where your provider might give you a changing prefix (we assume /64), but your interface ids stay the same.

but same mechanism also principally works for v4 (we assume /29), except that you usually do not get a v4 network where the network address is changing.
and when it comes to dynamic addresses, many people only get 1 ipv4 address anyway. the related host could then be used for aliaseses with ifid == 0 for all aliases.
2014-09-23 00:48:54 +02:00
Thomas Waldmann
d8b1e93730 requests 2.4.0 has a bug, for now require requests<2.4.0 2014-08-30 21:30:31 +02:00
Thomas Waldmann
6800ecadeb setup.py / MANIFEST.in: add translations and login templates 2014-08-28 00:11:07 +02:00
Thomas Waldmann
7bbb9b6c7d remove stuff that is only needed for development from setup.py
when doing development, just use requirements/dev.txt
2014-08-27 18:01:08 +02:00
Thomas Waldmann
4db5e47cc6 pypi metadata: add python 3.4 2014-08-27 17:57:33 +02:00
Thomas Waldmann
d3e2bcd482 change development status to production/stable 2014-07-17 15:15:45 +02:00
Thomas Waldmann
63774d0757 require django 1.6.x, fixes #141 2014-07-17 15:13:41 +02:00
Thomas Waldmann
7de76a142a fix pep8 2013-12-25 00:42:51 +01:00
Thomas Waldmann
711aba237f python 3.3 port
not much tested yet, be careful
2013-12-14 00:35:29 +01:00
Thomas Waldmann
cc4cd1c805 travis: build on django 1.5 and 1.6 2013-12-13 02:40:39 +01:00
Thomas Waldmann
b9c48e5af7 backport to python 2.6, add it travis platforms and to pypi metadata 2013-12-12 01:27:36 +01:00
Thomas Waldmann
912d6c42db setup.py: fix django minimum requirement (it is 1.5.3), add note about 1.6 2013-12-01 14:39:20 +01:00
Thomas Waldmann
7566e6a5e3 implement a dyndns2 updater + tests 2013-11-26 03:03:51 +01:00
Thomas Waldmann
f13f4f474f bump version to 0.2.0b0, add Version code, read version number from package init for use in setup.py and sphinx docs 2013-11-09 21:45:30 +01:00
Thomas Waldmann
06b2f94206 fix setup.py
add missing stuff

fix problematic package_data patterns: static/* also matched the "static/css" directory and
then it falls over that at install time, because it wants to copy that like a file. :-(
2013-11-09 20:00:57 +01:00
Thomas Waldmann
2eb13ee3b8 remove the screenshots view, it is prone to be outdated and boring work to keep it uptodate
it is replaced by a hint to use a test account, so you can see it all "live" - without needing to register first.
2013-11-08 05:35:10 +01:00
Thomas Waldmann
c144e600ec development status -> beta
currently no open bugs in issue tracker (which doesn't necessarily mean there are none)
2013-11-08 02:55:59 +01:00
Thomas Waldmann
0d2184037a docs enhancements 2013-11-08 01:52:52 +01:00
Thomas Waldmann
7a99935597 use json serializer for sessions, change timestamps' data type, more security docs
json serializer can't serialize datetime (but integers), but is more safe than the pickle serializer.
2013-11-03 09:52:11 +01:00
Thomas Waldmann
f357997f07 add python-social-auth for twitter, github, google
still incomplete, only login view
2013-11-02 05:15:06 +01:00
Thomas Waldmann
49693121ea use zones/nameserver IPs/update keys from DB, logging (thanks to asmaps)
remove unneeded stuff from settings
(we still need some in conftest.py for the tests, though)
init DB for tests via conftest.py
more update algorithm choices
give origin zone (if we already know it) to dnstools functions
new views: DomainOverview, DeleteDomain
unify deletion templates using delete_object.html
add django-extensions
2013-10-18 15:30:17 -07:00
Bastian Blank
09e31209f1 Create 204 response in detect ip view 2013-10-18 00:19:05 +02:00
Bastian Blank
570dc4f94a Properly specify package data 2013-10-18 00:03:04 +02:00
Bastian Blank
d2eab62ac4 Move all stuff into own top-level package 2013-10-17 23:59:07 +02:00
Thomas Waldmann
8d4a3fdf84 move to new github organization, use nsupdate.info (without www.) 2013-10-03 00:43:33 +02:00