Felix Kaechele
9b8c85c5c1
Replace onetimepass with pyotp
...
pyotp is more common and better maintained
Signed-off-by: Felix Kaechele <felix@kaechele.ca>
2016-09-17 06:37:20 -07:00
Khanh Ngo
460b4b65fe
Adjust field length in History table
2016-09-13 14:07:48 +07:00
Timo Salola
18ed4b528f
Fix issue with deleting domain
2016-09-12 12:20:42 +00:00
Peter Schiffer
558279e009
Log file doesn't need to exist before logger can log to it
2016-09-01 09:07:33 +02:00
Peter Schiffer
444be2c060
Log to file only if the file exists
...
If LOG_FILE config option contained invalid file, pdns admin wouldn't start.
Also, it wasn't possible to log only to stdout/stderr correctly, because
setting the log file to /dev/stdout would double the logs messages as the pdns
admin is already logging to the stderr.
2016-08-31 23:11:04 +02:00
CMGS
04e068787a
refactor, make model more pythonic
2016-08-25 14:35:48 +08:00
Khanh Ngo
4a8e607ed2
Adjustment to not require PRETTY_IPV6_PTR config key by default.
2016-08-25 10:00:47 +07:00
Khanh Ngo
02bd378391
Merge pull request #118 from jallakim/pretty-ipv6-ptr
...
Pretty IPv6 PTR. Use the actual IPv6 address when editing PTR.
2016-08-25 09:51:10 +07:00
Khanh Ngo
e014767802
Merge pull request #121 from jallakim/pretty-history
...
Pretty history details
2016-08-23 10:31:53 +07:00
CMGS
4a3c4b53cc
set user object id after created
2016-08-23 10:52:35 +08:00
Joachim Tingvold
9348afc26e
Pretty history details.
2016-08-21 14:46:23 +00:00
Joachim Tingvold
8908c7d69b
Cosmetics.
2016-08-19 23:07:36 +00:00
Joachim Tingvold
671a319e93
Pretty IPv6 PTR. Use the actual IPv6 address when editing PTR.
...
Rather than dealing with ip6.arpa-dotted-strings from hell, you can
now edit IPv6 PTR-records using the IPv6 address.
2016-08-19 23:04:20 +00:00
Joachim Tingvold
4f5b2e5c50
Set focus to the first field when adding a new row.
2016-08-19 18:13:34 +00:00
Joachim Tingvold
480a00bb87
Fix issues when adding a record, and sort and/or search is involved.
...
Previously this caused the newly added record to either appear at the
bottom, or not appear at all. Now it will always be added at the top,
and whatever search present is cleared.
2016-08-19 17:56:28 +00:00
Khanh Ngo
d5fd1cc6d6
Merge pull request #107 from elitest/fix-gravatar
...
Fix NoneType error when logging in with AD
2016-08-16 09:37:00 +07:00
Jim Shaver
1b1153c7a6
Fix NoneType error when logging in with AD
2016-08-16 01:47:33 +00:00
Chuyen Vo
4a1d2055de
Fix domain delete action if uwsgi path mount is not /
...
For ex: mount = /pdsn-admin=run.py
2016-08-15 15:06:16 +07:00
timfeirg
683f633d7d
minor code style change
2016-08-13 00:49:53 +08:00
CMGS
186aedcfc7
github oauth login
2016-08-13 00:49:46 +08:00
Tamás Dévai
01dd8fd893
Fix route when the zone name containing slash character.
2016-08-02 10:59:31 +02:00
Joachim Tingvold
28796ed286
Fix issue where records could get deleted when different TTL.
2016-07-27 15:01:23 +00:00
Joachim Tingvold
0d1aa7971b
Use correct TTL in updates.
2016-07-26 18:34:56 +00:00
Khanh Ngo
2cf88739b9
Fix delete button in records table. #91
2016-07-19 17:38:16 +07:00
Khanh Ngo
e7a4fb5e6a
Force loading gravatar over https
2016-07-14 00:05:55 +07:00
Khanh Ngo
ee033f2198
Add Gravatar to display user's avatar
2016-07-13 21:33:21 +07:00
Ivan Filippov
4a0cb0a637
Apply scriptroot_fix to new DynDNS domain setting javascript.
2016-07-05 21:36:54 -06:00
Ivan Filippov
ea79c01aff
Added SCRIPT_ROOT parameter. Fixes #52 .
...
Adds a new javascript parameter that holds the webroot of the app. This
allows the the javascript calls to properly identify that they're
running in a subfolder/different webroot and direct their queries there.
2016-07-05 21:34:21 -06:00
Khanh Ngo
ff842f66e2
Merge pull request #77 from jallakim/default-settings
...
Settings: Default domain table size + LDAP first/selected if both LDAP+Basic
2016-07-06 09:30:56 +07:00
Khanh Ngo
b94ae55960
Merge pull request #73 from jallakim/naturalsort
...
Fix #72 by implementing the Natural Sort plugin for DataTables.
2016-07-06 09:24:22 +07:00
Ivan Filippov
f912968759
Fix create_via_dyndns template setting.
2016-07-05 19:22:57 -06:00
Ivan Filippov
273a63db12
Validate ondemand_creation if the setting does not exist for a domain.
2016-07-05 19:22:57 -06:00
Ivan Filippov
58c19894a1
Convert value returned from UI to string before storing it in DB.
...
This should allow for differences in how database engine store booleans.
2016-07-05 19:22:57 -06:00
Ivan Filippov
856b5ec84f
Records added via DynDNS are now active. Fixes #61 .
2016-07-05 19:22:57 -06:00
Ivan Filippov
d093c1976d
Add per-domain settings. Allows ondemand dyndns A records. Fixes #61 .
...
This commit adds a new table to store per-domain settings, so a database
migrate/upgrade will be required. The first use-case is to allow dyndns
updates to create a record if one doesn't yet exist but only if the
per-domain setting is set.
2016-07-05 19:22:57 -06:00
Joachim Tingvold
9dc3c3ff98
Set LDAP as source if both LDAP and Basic is enabled.
2016-07-05 15:28:02 +00:00
Joachim Tingvold
ea42c78b9a
default_domain_table_size setting.
2016-07-05 15:14:41 +00:00
Joachim Tingvold
e90191bec1
File permissions.
2016-07-04 17:51:49 +00:00
Joachim Tingvold
2411659437
NaturalSort for Datatables.
2016-07-04 17:48:46 +00:00
Joachim Tingvold
db4edb81bf
Use natural sort for domain records.
2016-07-04 19:28:42 +02:00
Khanh Ngo
54954082c5
Change dnssec status button size
2016-07-04 22:40:29 +07:00
Khanh Ngo
6307656e97
Fix dnssec update when reload the domain information.
2016-07-04 22:12:24 +07:00
Ivan Filippov
70b8e76d1d
Fix width of DNSSEC buttons. Make Enabled button green. Fixes #68 .
2016-07-03 13:27:11 -06:00
Khanh Ngo
1b052f7fc0
Merge pull request #60 from CaptainQwark/master
...
fix for pdns 4.0.0-rc2+ apply changes problems
2016-07-02 17:35:58 +07:00
Khanh Ngo
7772c38d7c
Merge pull request #65 from ivanfilippov/history_fix
...
Replace direct 'click' event binding with delegated binding. Fixes #58 .
2016-07-02 10:51:09 +07:00
Ivan Filippov
9794e221aa
Replace direct 'click' event binding with delegated binding. Fixes #58 .
...
Direct binding only works for elements already in the DOM, delegated
binding works for all elements that match a filter even if created after
the DOM is fully loaded.
2016-07-01 16:31:14 -06:00
Ivan Filippov
372dd52977
Fix checkip.html route not working when not behind a proxy. Fixes #62
2016-07-01 16:03:19 -06:00
CaptainQwark
9db71eaef5
fix for updates on pdns 4.0.0-rc2+ and remove flask.ext deprecation warnings
2016-07-01 21:46:13 +02:00
CaptainQwark
e32186409a
fixed order_by syntax on history view
2016-06-30 22:04:59 +02:00
CaptainQwark
7986f56ac6
re-enable search and sort for domain list
2016-06-30 13:37:40 +02:00