980 Commits

Author SHA1 Message Date
Thomas Waldmann
dd11a45108 improve error pages, add 403 2015-02-08 19:25:10 +01:00
Thomas Waldmann
b87babb9ac move http error page templates to where they are expected (and work) 2015-02-08 19:18:40 +01:00
Thomas Waldmann
5853e27e4e update CHANGES 2015-01-26 22:46:43 +01:00
Thomas Waldmann
50f8d72408 adjust timeout / retry timing
resolver timeout 5 -> 10s (so it has more chances to query both nameservers alternatingly)

unavailable retry 300 -> 120s (so in case of a temporary problem, the outage is shorter)
2015-01-26 22:18:01 +01:00
Thomas Waldmann
b562c0fd7e add the option to prefer the primary nameserver in query_ns, use it for domain checker, 2015-01-26 22:04:06 +01:00
Thomas Waldmann
a0dee62a5f revert 8994be6ca1c44f5c9cee5ac5a2c24d8e1ac822c9ee5ac5a2c24d8e1ac822c9, fixes #198
list_display_links just links the given column to the record represented by the whole line,
NOT to the record (foreign key) represented by that individual column.
2015-01-26 20:56:40 +01:00
Thomas Waldmann
0c95fbacaf catch EOFError exception, add note about readable exception messages PR, fixes #197 2015-01-26 18:07:43 +01:00
Thomas Waldmann
f6f98e7971 using + for lazy translated strings doesn't work, with a unicode(!) template string % works as expected
note: with str template string, it doesn't work!
2015-01-16 13:53:56 +01:00
Thomas Waldmann
0d8f6cc82e catch socket.error (e.g. "connection refused"), fixes #195 2015-01-09 21:46:30 +01:00
Thomas Waldmann
795170e2b9 fix pep8 issue 2015-01-02 21:24:41 +01:00
Thomas Waldmann
01f426deb9 fix code to succeed with tests for related host views 2015-01-02 21:21:37 +01:00
ThomasWaldmann
8e55167d03 Merge pull request #194 from elnappo/master
add some tests
2015-01-02 20:43:26 +01:00
elnappo
a0c0ba467c fixed missing url parm for related_host_overview 2015-01-02 14:25:06 +01:00
elnappo
2963e60aa2 add more test for main views (mostly 404) 2015-01-02 14:18:49 +01:00
elnappo
a5f0a00e79 add some tests 2015-01-02 13:19:51 +01:00
elnappo
d6949e5178 Merge branch 'master' of github.com:nsupdate-info/nsupdate.info 2014-12-29 17:28:28 +01:00
elnappo
e69fe96904 New layout for user area (change password, delete acc, change profil) 2014-12-29 17:27:45 +01:00
Thomas Waldmann
4906a28f31 catch IndexError when computing IP of related hosts, fixes #190 2014-12-28 18:33:11 +01:00
elnappo
8994be6ca1 minor admin interface improvments 2014-12-28 15:53:22 +01:00
ThomasWaldmann
e51d453494 Merge pull request #191 from elnappo/master
add python 3 compatibility and some minor stuff
2014-12-28 15:29:40 +01:00
Thomas Waldmann
c36dc8801f Merge remote-tracking branch 'origin/master' 2014-12-28 15:15:38 +01:00
Thomas Waldmann
50e9ada058 remove transifex-client from dev requirements file as it does not work on python 3.4
add a note to docs about transifex-client installation and python version issues.
2014-12-28 15:15:11 +01:00
elnappo
419704618d replace __unicode__() with text_type for python3 2014-12-28 14:52:17 +01:00
elnappo
bc8041fd26 remove unicode_literals from account models 2014-12-28 14:24:05 +01:00
elnappo
37bb496e3b dont use unicode_literals 2014-12-28 14:19:24 +01:00
elnappo
1897c9a913 replace PermissionDenied with Http404 2014-12-28 14:07:06 +01:00
elnappo
cbc181024f
python3 compatibility for account models 2014-12-06 12:43:35 +01:00
elnappo
ca34ca3e0d
remove all __unicode__() for python3 compatibility 2014-12-06 12:35:20 +01:00
elnappo
75fc8627d7
add python_2_unicode_compatible in models.py #189 2014-12-05 20:33:15 +01:00
elnappo
cbab1a5d17
only show "(unkown)" in overview when hosts has this record, add some trans tags 2014-12-05 19:38:26 +01:00
ThomasWaldmann
1d262b4f1e Merge pull request #186 from jluebbe/master
add registration_closed template
2014-11-28 19:57:52 +01:00
Jan Luebbe
c48e7dc5fc add registration_closed template 2014-11-28 16:48:30 +01:00
Thomas Waldmann
58aae90b0a management commands sending emails: translate texts for the email recipient 2014-11-28 00:31:22 +01:00
Thomas Waldmann
ae61712fbc management commands sending emails: mark strings as translatable 2014-11-27 22:55:10 +01:00
Thomas Waldmann
0db2e60263 fix resolving to not add the service server's domain, but just "." 2014-11-27 20:03:34 +01:00
Thomas Waldmann
6261b64b72 catch more query_ns exceptions. try update/delete even if query_ns failed.
it could be maybe the secondary DNS that failed for query_ns, so we can still try talking to the primary.
2014-11-27 10:47:34 +01:00
ThomasWaldmann
b0103fe5d1 Merge pull request #185 from elnappo/master
fix #183, minor template change and email backend in dev settings
2014-11-26 14:26:28 +01:00
elnappo
e2db28a9fb fix #183 2014-11-26 10:50:54 +01:00
elnappo
e51792f344 add console.EmailBackend to dev settings 2014-11-26 10:49:25 +01:00
elnappo
1de8a9aaf6 Merge branch 'master' of github.com:nsupdate-info/nsupdate.info 2014-11-26 10:39:26 +01:00
Thomas Waldmann
202d3bc2dd fix migration, only works like that
previous code gave:

ValueError: Cannot assign "<User: joedoe>": "UserProfile.user" must be a "User" instance.
2014-11-26 00:23:52 +01:00
Thomas Waldmann
dbfded9e86 add a migration that creates UserProfile records for all User records 2014-11-25 23:44:20 +01:00
Thomas Waldmann
032dd502e6 fix misleading exception handler for query_ns 2014-11-25 22:04:34 +01:00
elnappo
f35d16c406
edit form is now a horizontal form 2014-11-25 21:30:13 +01:00
Thomas Waldmann
aa425c3402 add UserProfiles with additional metadata (for now: language)
as the migrations depend on settings.LANGUAGES, I put a complete list there with what we have .po files for.
2014-11-25 14:08:48 +01:00
Thomas Waldmann
141069532d check staleness: remove safety code after testing 2014-11-21 11:44:35 +01:00
Thomas Waldmann
5f8f17b3fe check staleness: use a different mail text for mail after deletion 2014-11-21 11:40:49 +01:00
Thomas Waldmann
a320efab64 check staleness: some tz / default fixes 2014-11-21 11:27:33 +01:00
Thomas Waldmann
13cf70baf6 implement host staleness level, management script to check whether host IP is being updated 2014-11-21 11:00:59 +01:00
Thomas Waldmann
223710c4c7 add missing migration (nameserver2_ip, tls_update_ipv6 help text changes) 2014-11-21 10:56:23 +01:00