Commit Graph

144 Commits

Author SHA1 Message Date
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