Commit Graph

33 Commits

Author SHA1 Message Date
Khanh Ngo
9506315a46 manage records_allow_to_edit setting in DB 2018-08-22 08:36:53 +07:00
Khanh Ngo
ada6f844ff
Read LDAP config from DB instead of file. Adjustment in site titles 2018-08-18 22:42:18 +07:00
Khanh Ngo
4b9349c83e
Create DB config for pdns and authentication setting 2018-08-18 18:41:59 +07:00
Khanh Ngo
c2df132040 Merge remote-tracking branch 'kaechele/use-webassets' 2018-06-13 09:58:15 +07:00
Felix Kaechele
1bf869f508 Add webassets support
Also updates AdminLTE to latest stable version.

Signed-off-by: Felix Kaechele <felix@kaechele.ca>
2018-06-11 21:16:28 +02:00
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
d466a5dd3e
Load moment.js in base.html 2018-04-17 13:26:18 +07:00
Khanh Ngo
ca1290d1ac Change license information 2018-04-02 14:01:35 +07:00
Khanh Ngo
17a892b18d Resolve the conflicts for #228 2018-04-02 13:38:53 +07:00
Jeroen Boonstra
d5d0948ab8 Export PDNS version to frontend 2018-02-28 13:39:05 +01:00
Vadim Aleksandrov
52a5789c85 Add first working draft of domain templating functionality 2018-02-07 22:30:29 +03:00
Khanh Ngo
ee033f2198 Add Gravatar to display user's avatar 2016-07-13 21:33:21 +07: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
2411659437 NaturalSort for Datatables. 2016-07-04 17:48:46 +00:00
Khanh Ngo
d837e878e4 Convert tabs to spaces in HTML template files. 2016-06-18 11:41:01 +07:00
Ivan Filippov
3a79fe66c8 Re-organized error templates. Enabled default error handling. 2016-05-15 16:01:57 -06:00
Ivan Filippov
2b80339753 Standardize on btn-flat button style. 2016-05-10 18:11:17 -06:00
Ivan Filippov
dc41a55da7 Change profile template to use adminlte2 templating. 2016-05-10 18:05:27 -06:00
Ivan Filippov
7d390104c1 Change icons in menu to better match their links. 2016-04-29 15:39:51 -06:00
Ivan Filippov
98ddd7302b Add initial support for PDNS-Admin settings management. 2016-04-29 15:36:37 -06:00
Khanh Ngo
d3d107c9cf Remove unnecessary js plugin from base template. Adjustment in ui 2016-04-28 11:05:41 +07:00
Khanh Ngo
76f2ffdee5 Small text/menu adjustment in templates 2016-04-28 10:24:18 +07:00
Ivan Filippov
d2debe12ea Add dropdown component jQuery plugin. 2016-04-27 18:45:23 -06:00
Ivan Filippov
6719fa8afb Move "New Domain" menu item behind Admin protection. 2016-04-27 18:45:22 -06:00
Ivan Filippov
fb4d5b3f56 Add a success and error default modal. 2016-04-27 18:45:21 -06:00
Ivan Filippov
78500ef7c0 Add logout functionality to base template. 2016-04-27 18:45:02 -06:00
Ivan Filippov
0e710c96e4 Converted 'admin_history.html' to new template. 2016-04-27 18:45:02 -06:00
Ivan Filippov
6db41d42c4 Initial commit for AdminLTE2. 2016-04-27 18:45:01 -06:00
Khanh Ngo
bca300587d Fix url for google font links. Issue #35 2016-04-21 22:20:09 +07:00
Ivan Filippov
41d01dd207 Change record manage table to use monospaced font. 2016-04-20 14:38:14 -06:00
Khanh Ngo
5d06195795 Adjustment in user_profile template. Add avatar uploading support 2015-12-17 00:50:28 +07:00
Khanh Ngo
28882b57b1 Add UserProfile page 2015-12-16 14:21:30 +07:00
Khanh Ngo
2dac8205f6 Initial commit 2015-12-13 16:34:12 +07:00