Commit Graph

34 Commits

Author SHA1 Message Date
Thomas M Steenholdt
a3a58f16a5 Initial support for Accounts
This adds initial support for accounts a concept meant to signify a customer, a department or any other entity that somehow owns or manages one or more domains.

The purpose is to be able to assign an account to any number of domains, making it easy to track who owns or manages a domain, significantly improving manageability in setups with a large number of domains.

An account consists of a mandatory, unique `name` and optional `description`, `contact` name and `mail` address. The account `name` is stripped of spaces and symbols, and lower cased before getting stored in the database and in PowerDNS, to help ensure some type of predictability and uniqueness in the database.

The term *account* is actually taken from the PowerDNS database, where the `domains.account` column is used to store the account relationship, in in the form of the account `name`.

The link to a domain in PowerDNS-Admin is done through the `domain.account_id` FOREIGN KEY, that is linked to the `account.id` PRIMARY KEY.

(cherry picked from commits 4e95f33dfb0676d1c401a033c28bca3be7d6ec26, da0d596bd019a339549e2c59630a8fdee65d0e22, 7f06e6aaf4fd8011c784f24b7bbbba5f52aef319, 1c624dad8749024033d1d15dd6242ca52b39f135)
2018-06-04 13:10:02 -02:00
chinkung
34d8e7392c
Display history date/time using local timezone 2018-04-17 13:28:54 +07:00
Khanh Ngo
17a892b18d Resolve the conflicts for #228 2018-04-02 13:38:53 +07:00
Khanh Ngo
6fa8ae37f0 Fix #180. Adjustment in table style. 2018-04-01 15:48:08 +07:00
Khanh Ngo
f172a64ddd Remove DNSSEC modal. Adjustment in domain table css 2018-04-01 14:45:13 +07:00
Khanh Ngo
29d1cf4117 Adjustment in domain template feature to work with python3 2018-03-31 08:21:02 +07:00
Jeroen Boonstra
197f555dfc Add disable dnssec function 2018-03-05 14:59:32 +01:00
Jeroen Boonstra
8c6a9346c0 Add domain to request 2018-03-05 14:50:33 +01:00
Jeroen Boonstra
747de090f9 enable dnssec ui functions 2018-03-05 11:18:29 +01:00
Jeroen Boonstra
d5d0948ab8 Export PDNS version to frontend 2018-02-28 13:39:05 +01:00
Vadim Aleksandrov
12cfc4dbc1 Added the ability to create a template based on the zone records 2018-02-07 22:44:46 +03:00
Paul Hooijenga
bcb2b06124 Do filtering and pagination of domains server-side. 2017-06-30 18:18:06 +02:00
SIPOS, Peter
4ec70f4143 Change serial displaying in dashboard
When pdns not give us serial just notified serial, we need
to display that.
2016-11-21 14:51:36 +01:00
Joachim Tingvold
9348afc26e Pretty history details. 2016-08-21 14:46:23 +00: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
Joachim Tingvold
ea42c78b9a default_domain_table_size setting. 2016-07-05 15:14:41 +00:00
Khanh Ngo
54954082c5 Change dnssec status button size 2016-07-04 22:40:29 +07:00
Ivan Filippov
70b8e76d1d Fix width of DNSSEC buttons. Make Enabled button green. Fixes #68. 2016-07-03 13:27:11 -06: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
CaptainQwark
7986f56ac6 re-enable search and sort for domain list 2016-06-30 13:37:40 +02:00
Khanh Ngo
d837e878e4 Convert tabs to spaces in HTML template files. 2016-06-18 11:41:01 +07:00
Ivan Filippov
2b80339753 Standardize on btn-flat button style. 2016-05-10 18:11:17 -06:00
Ivan Filippov
b4e96ceda8 Fixed action buttons on dashboard not fitting in boxed layout. 2016-04-29 15:44:35 -06:00
Ivan Filippov
ecebfb0951 Linked statistics on dashboard to their pages. 2016-04-29 11:22:36 -06:00
Ivan Filippov
3ed4f2ab9f Fixed dashboard statistics display breaking when window is resized. 2016-04-29 11:12:43 -06:00
Ivan Filippov
31bf6e10ef Fixed all domains being visible to all users on dashboard. 2016-04-29 10:29:08 -06:00
Ivan Filippov
64a297d5fb Fix DNSSEC popup on dashboard template. 2016-04-29 10:23:05 -06:00
Ivan Filippov
a313eb2203 Add recent history functionality to dashboard template. 2016-04-27 18:45:24 -06:00
Ivan Filippov
d9bf21eaed Enable stats display on dashboard. 2016-04-27 18:45:24 -06:00
Ivan Filippov
318993e0e0 Change domains icon in dashboard to book. 2016-04-27 18:45:22 -06:00
Ivan Filippov
6db41d42c4 Initial commit for AdminLTE2. 2016-04-27 18:45:01 -06:00
Ivan Filippov
7f01511d10 Fix 'Home' breadcrumb when running in a subdirectory. 2016-04-19 17:53:18 -06:00
Khanh Ngo
990bbe5260 Add DNSSEC information into domain list. Adjustemnt in domain list table 2016-03-24 20:01:08 +07:00
Khanh Ngo
2dac8205f6 Initial commit 2015-12-13 16:34:12 +07:00