Matt Scott
c4d9bf3a9c
Started first-round of updates on the activity feature AKA history, but it's a very broken implementation that will require a complete re-build. Saving that for later.
2023-02-19 20:41:26 -05:00
Matt Scott
e960326a58
Working on first-round changes for the global search feature.
2023-02-19 16:02:34 -05:00
Matt Scott
f48a6b8209
Working on first-round changes for the global search feature.
2023-02-19 15:54:54 -05:00
Matt Scott
14e534468a
Working on first-round changes for the global search feature.
2023-02-19 15:54:11 -05:00
Matt Scott
67040ad9c2
Completed first-round of updates for the server statistics and configuration features.
2023-02-19 15:16:50 -05:00
Matt Scott
62018686f5
Updated global styles for record lists as well as general card styling.
2023-02-19 15:12:34 -05:00
Matt Scott
65bfc53acb
Split the server statistics and configuration feature into separate pages.
2023-02-19 15:04:30 -05:00
Matt Scott
55e4f5f829
Working on the first-round updates for the domain settings management view.
...
Tweaked sidebar navigation to reflect the latest terminology use in associated views.
2023-02-19 13:19:26 -05:00
Matt Scott
fd1bc4afa5
Working on the first-round updates for the domain settings management view.
2023-02-19 12:46:11 -05:00
Matt Scott
6e10f97e9d
Completed first-found updates of the zone remove view.
...
Tweaked cancel button style and help text on the zone add view.
2023-02-19 12:13:13 -05:00
Matt Scott
75e262e7e9
Completed first-found updates of the zone add view.
2023-02-19 12:06:39 -05:00
Matt Scott
9548cbce1c
Removed legacy style tag attribute.
2023-02-19 11:42:39 -05:00
Matt Scott
ec28e76ff5
Moved global styles to base view template until permanently merged into global CSS file.
2023-02-19 11:39:56 -05:00
Matt Scott
b52b7d7e4f
Wrapping up first-round changes to the dashboard view.
2023-02-19 11:38:19 -05:00
Matt Scott
b4a354b0f8
Updated icons for sidebar navigation as well as some labels.
...
Tweaked zone record list on dashboard to always include the account column, regardless of user role.
2023-02-19 11:31:24 -05:00
Matt Scott
c0799b95f8
Updated sidebar navigation to use updated terminology of zone instead of domain.
2023-02-19 11:04:45 -05:00
Matt Scott
abf1f4eca3
Moved user profile edit and user logout navigation items into sidebar info block for a more condensed UI.
2023-02-19 11:03:33 -05:00
Matt Scott
1cd5ce9ccc
Working on dashboard zone list action controls and styling.
2023-02-19 10:45:19 -05:00
Matt Scott
4a5db674f4
Working on condensing the zones list on the dashboard.
...
Changed the terminology for zones on the dashboard from domains to zones.
2023-02-19 10:19:13 -05:00
Matt Scott
49bc8e948d
Continuing work on re-design and clean-up of dashboard view.
2023-02-19 09:54:15 -05:00
Matt Scott
4f83879e95
Added Jinja filter for handle formatting of zone type labels to enforce modern social standards.
...
Removed text label of dashboard domain list action menu to reduce size.
Continuing work on re-design and clean-up of dashboard view.
2023-02-19 09:48:43 -05:00
Matt Scott
d70ded18c2
Added head_styles Jinja block to base view template head section to allow for page specific style injections.
...
Continuing work on the re-design and clean-up of the dashboard view.
2023-02-19 09:11:44 -05:00
Matt Scott
58aabacd91
Re-formatted base view template to be more in-line with PEP8 standards.
...
Working on dashboard clean-up and redesign.
Added custom Jinja date/time formatting function to utils.py.
2023-02-19 08:52:00 -05:00
Tyler Todd
7a61c56c49
Fix reqs and Flask Migrate Order
2023-02-18 17:38:43 +00:00
Matt Scott
516bc52c2f
Revert "Revert "Merge pull request #1371 from AgentTNT/AdminLTE-Upgrade""
...
This reverts commit e2ad3e2001
.
2023-02-18 11:04:14 -05:00
Matt Scott
839c1ecf17
Revert "Revert "Error pages updated for Font Awesome v6 - fa-solid""
...
This reverts commit 35493fc218
.
2023-02-18 11:02:47 -05:00
Matt Scott
e2ad3e2001
Revert "Merge pull request #1371 from AgentTNT/AdminLTE-Upgrade"
...
This reverts commit 929cb6302d
, reversing
changes made to 0418edddd9
.
2023-02-18 09:04:37 -05:00
Matt Scott
35493fc218
Revert "Error pages updated for Font Awesome v6 - fa-solid"
...
This reverts commit e1bbe10fc3
.
2023-02-18 08:53:46 -05:00
Matt Scott
d2f135cc6e
Removed temporary style from login form that was used for recent development.
2023-02-17 19:07:05 -05:00
Tyler Todd
9a7bd27fe3
Formatting changes
2023-02-17 23:07:36 +00:00
Tyler Todd
9b696a42a4
PR Conflict resolution
2023-02-17 22:53:08 +00:00
Tyler Todd
62d95e874a
Final page edits for bootstrap v4 and Admin LTE v3.2
2023-02-17 22:25:11 +00:00
Tyler Todd
e1bbe10fc3
Error pages updated for Font Awesome v6 - fa-solid
2023-02-17 21:52:55 +00:00
Tyler Todd
f888bd79f8
domain -> Changed pull-* to float-*
2023-02-14 18:25:06 +00:00
Tyler Todd
e0f939813e
Tabs on dashboard.html now fade effect when switching between
...
First pass at HTML conversion from Master/Slave to Primary/Secondary (TODO: Backend)
Start work on migrating admin_auth_settings to Bootstrap v4
admin_setting_basic -> Change plain text for On/Off to toggles in current state, and changed "Action" column to the opposite toggle of current setting
dashboard_domain -> Reduce deuplicate code for the new dropdown-menu for Actions
register -> Add exclamation icon in front of error text
template_add -> changed box-body to card-body
user_profile -> Fixed tab naviation for Bootstrap v4. Tabs also fade between changes
2023-02-14 02:11:13 +00:00
Tyler Todd
16d7a4f71e
Add shadow element to some cards
2023-02-13 04:43:06 +00:00
Tyler Todd
d6605790bd
More navigation Header Changes
...
"container-fluid" aditions
More button changes from flat to round and icon placement changes
2023-02-13 04:38:54 +00:00
Tyler Todd
c00ddea2fc
More page formatting
...
Added server-side logic for register.html validation
Keep form firelds on register.html in the event of wrong input fields to save users from retyping info
More button rounding
2023-02-13 03:57:21 +00:00
Tyler Todd
ac786f45be
Remove btn-flat to convert to round buttons (first pass)
...
Convert col-xs-* to just col-* as part of bootstrap v3 -> v4
Convert box-* -> card-* as part of bootstrap v3 -> v4
Moved domain actions on main dashboard to a dropdown menu to avoid clutter
Added "Log Out" to top header left
Hid OTP on admin edit user to only show the disable card & options if the user account has OTP enabled
2023-02-06 15:45:13 +00:00
Tyler Todd
7f25e3b555
Initial go at upgrading from Bootstap v3 to v4 and to AdminLTE v3.2.0
2023-02-02 21:19:15 +00:00
Tyler Todd
e411bc9f19
Enable CAPTCHA
2023-01-30 22:46:59 +00:00
Sshafi
91c1907486
Update login.html
...
Use SITE_NAME for login box title on login page (with default value).
This can be useful when using multiple powerdns admin in an organization.
2023-01-26 00:02:08 +01:00
Sshafi
b607c1b7ff
Update base.html
...
Use SITE_NAME for upper left title on base page.
This can be useful when using multiple powerdns admin in an organization.
2023-01-25 23:59:35 +01:00
Matt Scott
51249aecd3
Merge pull request #1212 from corubba/feature/privacy-first
...
Privacy first
2023-01-24 05:34:30 -05:00
Robert Walter
246ad7f7d2
Fixing Wrapping in History Details Modal in Dashboard
...
resolves #1358
2023-01-13 10:05:20 +01:00
Matt Scott
30ed68471e
Merge pull request #1322 from Metrax/master
...
Fixing Validation problem on LDAP form
2022-12-13 20:59:22 -05:00
Sshafi
d0290ac469
Update login.html
...
Use SITE_NAME for login box title on login page.
This can be useful when using multiple powerdns admin in an organization.
2022-12-13 09:10:21 +01:00
Robert Walter
23e0fdbedf
Fixing Validation Problem at LDAP Form
2022-12-12 12:32:32 +01:00
Pascal de Bruijn
9bf74a6baf
admin_edit_key: default to User role for new api keys
...
hopefully this will prevent accidental administator api keys from being created
2022-09-06 15:25:28 +02:00
corubba
9890ddfa64
Fix rrset changelog for names with hyphen
...
When clicking the changelog button for a record with the name
`foo-bar.example.org`, the url you get redirected to is
`/domain/example.org/changelog/foo-bar.example.org.-A`. Because of the
non-greedy behaviour of the path converter, the last part gets split at
the *first* hyphen, so the example above gets wrongly dissected into
`record_name=foo` and `record_type=bar.example.org.-A`. This results
for obvious reasons in an empty changelog.
As described in rfc5395 [0], types have to be alphanumerical, so its
converter is changed from path to string.
The hyphen is one of the few characters recommended by rfc1035 [1],
so it is a bad choice as separator. The separator is instead changed to
a slash.
Granted, this does not entirely solve the issue but at least makes it a
lot less likely to happen. Plus, a lot more and other things break in
pda with slashes in names.
[0] https://datatracker.ietf.org/doc/html/rfc5395#section-3.1
[1] https://datatracker.ietf.org/doc/html/rfc1035#section-2.3.1
2022-06-19 12:16:40 +02:00
corubba
607caa1a2d
Rework user image handling
...
Moved all the logic out of the template into a separate endpoint. This
makes it easy to extend to also support images from different sources
like LDAP/SAML/OIDC. Session-based caching is hard to do, so to allow
time-based caching in the browser, the url needs to be unique for every
user by using a query parameter.
Replaced the default/fallback user image with a new one. It is based on
the old one, but does not need css to be visible. And removed said css.
Gravatar has now its own setting named `gravatar_enabled`, which is
disabled by default.
2022-06-18 19:11:13 +02:00
corubba
b795f1eadf
Use the doc search directly
2022-06-18 19:07:23 +02:00
corubba
fee26b84ba
Remove IE8 polyfills
...
These old browsers are EOL since 2016 [0], let them finally rest in
peace.
This effectively reverts/replaces commit b8dee5d17056788c2dc9940d14308648e32186d8.
[0] https://web.archive.org/web/20160115070611/https://www.microsoft.com/en-us/WindowsForBusiness/End-of-IE-support
2022-06-18 19:07:23 +02:00
corubba
54b2c5918f
Serve the IE8 polyfills from local
2022-06-18 19:07:23 +02:00
corubba
674704609b
Always use local fonts
2022-06-18 19:07:23 +02:00
Jérôme BECOT
eb13b37e09
feat: Add the extra chars as an option
2022-06-18 14:30:56 +02:00
Jérôme BECOT
a3c50828a6
feat: Allow underscores and hyphens in account name
2022-06-18 14:28:32 +02:00
TomSebty
1926b862b8
feat: Option to forbid the creation of domain if it exists as a record ( #1127 )
...
When enabled, forbids the creation of a domain if it exists as a record in one of its parent domains (administrators and operators are not limited though).
2022-06-17 17:50:51 +02:00
Vasileios Markopoulos
41343fd598
Merge pull request #1199 from corubba/bugfix/rrest-typo
...
Fix rrest typo in history detail
2022-05-25 10:45:50 +03:00
jbe-dw
259bd0a906
Merge pull request #1200 from corubba/feature/modal-consolidation
...
enh: Consolidate generic modal code
2022-05-23 22:50:48 +02:00
corubba
0dfcdb6c3e
Fix rrest typo in history detail
...
There is a misspelling of rrset throughout the history logic, which also
effects the json payload in the database. Code-wise this is a simple
search-and-replace, and the migration will fix the payloads.
2022-05-19 00:53:35 +02:00
corubba
70450315ba
Add general modal functions
...
The two generic modals are defined in the base template, and are used
in various templates. So provide functions and remove duplicate code.
2022-05-19 00:53:20 +02:00
corubba
fec649b747
Header for fixed order column
...
Semantically and syntactically it is better to have the same number of
`<th>` as `<td>`. Not that anyone will ever see that new header, since
that column is always invisible (except if the user disables javascript).
Plus remove a unmatched closing html element.
2022-05-07 21:14:57 +02:00
ManosKoukoularis
9e90dde144
Merge pull request #1158 from AdvanticGmbH/domain_xss
...
Render domain data table fields only as text
2022-04-11 13:05:43 +03:00
vmarkop
9c62208c2e
Updated repository URL
2022-04-11 12:21:34 +03:00
AdvanticGmbH
e596de37f4
Render Name, Type, Status, TTL, Data and Edit as text
2022-04-04 14:16:40 +02:00
AdvanticGmbH
930932d131
Render domain data table fields only as text
2022-04-04 14:06:31 +02:00
ManosKoukoularis
fcb8287f14
Update login.html
2022-02-25 12:59:23 +02:00
kkmanos
10603fbb36
fixed csrf expiration for login page
2022-02-17 18:10:06 +02:00
kkmanos
b9cf7245a5
fixed csrf expiration for login page
2022-02-17 17:02:11 +02:00
zoeller-freinet
0b2ad520b7
History table: relocate HTML for modal window ( #1090 )
...
- Store HTML for modal window inside an invisible <div> element instead
of inside the <button> element's value attribute
- Mark history.detailed_msg as safe as it is already manually run
through the template engine beforehand and would be broken if escaped
a second time
2022-01-01 21:20:01 +01:00
Christian
302e793665
Add button for admin page in single Domain view ( #1076 )
...
* Added button for admin page in domain overview
2021-12-31 00:55:59 +01:00
zoeller-freinet
7808febad8
login.html: don't suggest previous OTP tokens
...
This change has been tested to work with:
- Chromium 96.0.4664.93
- Firefox 95.0
- Edge 96.0.1054.57
2021-12-17 12:48:11 +01:00
Vasileios Markopoulos
94a923a965
Add 'otp_force' basic setting ( #1051 )
...
If the 'otp_force' and 'otp_field_enabled' basic settings are both enabled, automatically enable 2FA for the user after login or signup, if needed, by setting a new OTP secret. Redirect the user to a welcome page for scanning the QR code.
Also show the secret key in ASCII form on the user profile page for easier copying into other applications.
2021-12-17 11:41:51 +01:00
root
caa48b7fe5
Merge branch 'quotes-fix'
...
Conflicts:
powerdnsadmin/routes/admin.py
2021-12-03 14:17:39 +00:00
root
940551e99e
feat: Associate an API Key with accounts ( #1044 )
2021-12-03 14:12:11 +00:00
ManosKoukoularis
6c1dfd2408
Datepicker replace ( #1059 )
...
* replaced jquery-ui-datepicker with bootstrap-datepicker
* removed obsolete static files
2021-12-02 11:59:36 +01:00
ManosKoukoularis
1332c8d29d
History Tab Overhaul & Domain Record Modifications Changelog ( #1042 )
...
Co-authored-by: Konstantinos Kouris <85997752+konkourgr@users.noreply.github.com>
Co-authored-by: vmarkop <billy.mark.b.m.10@gmail.com>
Co-authored-by: KostasMparmparousis <mparmparousis.kostas@gmail.com>
Co-authored-by: dimpapac <demispapa@gmail.com>
2021-11-30 11:02:37 +02:00
Daniel Molkentin
c7b4aa3434
fix: actually store OIDC logout URL ( #988 )
2021-11-05 17:28:21 +02:00
zoeller-freinet
0e655c1357
user_profile tpl: set email input type attr to "email" ( #1020 )
...
It is then consistent with the email address input elements declared in
admin_edit_account.html, admin_edit_user.html and register.html.
2021-10-30 21:30:26 +02:00
steschuser
bf83662108
allow users to remove domain ( #952 )
2021-10-30 21:21:45 +02:00
steschuser
1f34dbf810
fix for api key ( #950 )
2021-10-30 21:19:49 +02:00
Khanh Ngo
b7197948c1
Reslove conflicts
...
Signed-off-by: Khanh Ngo <khanh.ngo@taxfix.de>
2021-10-30 21:19:01 +02:00
Khanh Ngo
ddf2d4788b
Reslove conflicts
...
Signed-off-by: Khanh Ngo <khanh.ngo@taxfix.de>
2021-10-30 21:15:04 +02:00
steschuser
1ec6b76f89
Remove otp field ( #942 )
2021-10-30 21:09:04 +02:00
Kostas Mparmparousis
6e04d0419b
Provision PDA user privileges based On LDAP Attributes ( #980 )
2021-08-05 19:37:48 +02:00
Carsten Rosenberg
d6e64dce8e
fix some jinja typos
2021-06-04 15:24:49 +02:00
Steffen Schwebel
b069cea8d1
add css to base as well
2021-06-02 09:44:15 +02:00
Steffen Schwebel
fd933f8dbc
remove unrelated files and changes as best as possible
2021-06-02 09:41:08 +02:00
Steffen Schwebel
083a023e57
fix include
2021-06-01 16:41:26 +02:00
Steffen Schwebel
c13dd2d835
add 'custom_css' setting to model; check for 'custom_css' in template; create custom css dir in dockerfile
2021-06-01 16:15:31 +02:00
Steffen Schwebel
43a6e46e66
add setting to hide otp_token field on login page
2021-05-27 22:51:07 +02:00
root
bbbcf271fe
remove otp token from login page, depending on Setting
2021-05-20 15:21:56 +02:00
jodygilbert
98db953820
Allow user role to view history ( #890 )
2021-03-27 19:33:11 +01:00
R. Daneel Olivaw
46993e08c0
Add punycode (IDN) support ( #879 )
2021-03-16 19:37:05 +01:00
Andrew Nimmo
680e4cf431
Avoid Safari telephone number detection
...
Using PowerDNS-Admin on an iPad with Safari can cause incorrect identification of some record data as a telephone number. When submitted, the record with the incorrectly identified data causes an error because of the additional markup present on the submitted data. This was noted in particular with the SOA record.
The proposed change is to add the Safari meta tag to disable format detection:
https://developer.apple.com/library/archive/documentation/AppleApplications/Reference/SafariHTMLRef/Articles/MetaTags.html#//apple_ref/doc/uid/TP40008193-SW5
2020-10-14 17:21:59 +02:00
Khanh Ngo
3034630bc0
Merge pull request #761 from ngoduykhanh/record_rollback
...
Fix #752 - Rollback the removed record if apply operation failed
2020-10-11 13:01:26 +02:00
Khanh Ngo
55ad73d92e
Merge pull request #800 from cyso/pr/oidc-account
...
OIDC User and Account management during login
2020-10-10 14:32:14 +02:00
Khanh Ngo
a679073928
Merge pull request #773 from terbolous/azure-oauth
...
Add Account creation/permission handling based on Azure oAuth group membership
2020-10-10 14:20:26 +02:00
Khanh Ngo
f3bcf1b834
Merge pull request #763 from RoeiGanor/fix_gravatar
...
Fix gravatar offline mode
2020-10-10 14:16:57 +02:00