Commit Graph

1434 Commits

Author SHA1 Message Date
David Mc Ken
e06fcd75ce Moved database specific packages to the setup MySQL directions. 2022-12-09 07:02:26 -04:00
David Mc Ken
92ef3d8610
Merge branch 'PowerDNS-Admin:master' into setup-new-wiki-docs-2 2022-12-09 06:49:18 -04:00
David Mc Ken
a5fdd8ffc4 Change notes to headers and move setup of first user to getting started. 2022-12-09 06:46:40 -04:00
David Mc Ken
496222e6b7 Remove TODO and add setup of first user. 2022-12-09 06:46:02 -04:00
Matt Scott
9a3fdfc986
Merge pull request #1242 from rootwyrm/alpine_python-openldap
Update to python-ldap 3.4.2
2022-12-08 22:14:54 -05:00
Matt Scott
3c0b0a1b2d
Merge pull request #1246 from unilogicbv/admin_edit_key_user_role_default
admin_edit_key: default to User role for new api keys
2022-12-08 22:13:23 -05:00
David Mc Ken
4864bff51d
Merge branch 'PowerDNS-Admin:master' into setup-new-wiki-docs-2 2022-12-08 23:11:29 -04:00
David Mc Ken
5f643ccb78 Explain where the config.py is. 2022-12-08 23:11:04 -04:00
Matt Scott
2cd8f60f8d
Merge pull request #1247 from unilogicbv/models_user_plain_text_password_guard
models/user.py: properly guard plain_text_password property
2022-12-08 22:10:21 -05:00
Matt Scott
7873e5f3f8
Merge pull request #1249 from unilogicbv/models_user_totp_valid_window
models/user.py: add non-zero valid_window to totp.verify
2022-12-08 22:05:34 -05:00
David Mc Ken
099579de11 Add db setup considerations for MySQL. 2022-12-08 23:04:23 -04:00
Matt Scott
e823f079b7
Merge pull request #1266 from WhatshallIbreaktoday/master
allow null/None JSON data (Used for pdns notifies via api and by LEGO-ACME v 4.9.0)
2022-12-08 21:57:18 -05:00
David Mc Ken
09b661a8a3 Fix spelling mistake 2022-12-08 22:53:23 -04:00
David Mc Ken
117659dd31 Moved database setup to database-setup. 2022-12-08 22:51:59 -04:00
Matt Scott
d2cb80f747
Merge pull request #1279 from wrouesnel/wrouesnel/fix_env_migrations
Fix handling of passwords with % in the SQLALCHEMY_DATABASE_URI
2022-12-08 21:51:38 -05:00
David Mc Ken
fa6c58978b Cleaned up mysql setup process. 2022-12-08 22:50:25 -04:00
David Mc Ken
be933db09a Add documentation on how to allow remote connection on postgres. 2022-12-08 22:37:29 -04:00
Matt Scott
a1619cfde9
Merge pull request #1301 from pneb/patch-2
enhancement: Small fix
2022-12-08 21:35:09 -05:00
David Mc Ken
9f8c416432 Make db list a list. 2022-12-08 22:06:24 -04:00
David Mc Ken
6c65265d1c Merge branch 'setup-new-wiki-docs-2' of github.com:dmcken/PowerDNS-Admin into setup-new-wiki-docs-2 2022-12-08 22:04:26 -04:00
David Mc Ken
3c5b883405 Add DB setup README.md 2022-12-08 22:02:51 -04:00
David Mc Ken
d6838cf802 Add mysql DB URI 2022-12-08 22:02:37 -04:00
David Mc Ken
83e2d3f655
Merge branch 'PowerDNS-Admin:master' into setup-new-wiki-docs-2 2022-12-08 21:56:50 -04:00
David Mc Ken
1cd14210b9 Change header 2022-12-08 21:56:16 -04:00
David Mc Ken
2129c050e8 Minor re-formatting. 2022-12-08 21:54:18 -04:00
David Mc Ken
4952f2de06 Add postgres dependencies for postgres. 2022-12-08 21:48:29 -04:00
David Mc Ken
b5661b61a0 Add postgres URI to getting-started. 2022-12-08 21:47:28 -04:00
David Mc Ken
55537e5bce Update links to database setup. 2022-12-08 21:46:49 -04:00
David Mc Ken
dc495ce426 Move preparation to database-setup. 2022-12-08 21:44:52 -04:00
Bernward Sanchez
2656242b45
Update api_key.py
I added the parentheses to the `db.session.rollback` line to call the method, which will now properly roll back any changes made to the database if an error occurs.
2022-12-09 09:33:17 +08:00
David Mc Ken
2dec2ad204 Fix default values. 2022-12-08 21:23:28 -04:00
David Mc Ken
19e5750974 Dropped documentation to 1.1.x since that is the version being used. 2022-12-08 21:22:13 -04:00
David Mc Ken
7a2f83a888 Update environment var required. 2022-12-08 21:19:55 -04:00
David Mc Ken
d2c0c94e61 Flesh out docker setup. 2022-12-08 21:19:18 -04:00
David Mc Ken
76315aac6d Add required column to table. 2022-12-08 21:16:26 -04:00
David Mc Ken
fb387eb570 Minor formatting change. 2022-12-08 21:13:26 -04:00
David Mc Ken
e0970541b4 Update links to be more readable. 2022-12-08 21:10:45 -04:00
David Mc Ken
2c34307365 Move environment vars to configuration 2022-12-08 20:59:35 -04:00
David Mc Ken
57b0927718 Minor formatting changes to README. 2022-12-08 20:56:40 -04:00
David Mc Ken
5a58e70e8c Add link to environment variables docs. 2022-12-08 20:53:30 -04:00
David Mc Ken
16fbf412d8 Fill in DB URI and secret key. 2022-12-08 20:53:14 -04:00
Matt Scott
a7f55dec17
Merge pull request #1300 from pneb/patch-1
patch: Fixes #1261
2022-12-08 19:52:58 -05:00
David Mc Ken
59ab3dcecd Add link to getting started. 2022-12-08 20:44:10 -04:00
David Mc Ken
254c00ae92 Add placeholder for getting started. 2022-12-08 20:43:54 -04:00
David Mc Ken
3bcda68df9 Add placeholders for environment variables and Docker. 2022-12-08 20:43:10 -04:00
David Mc Ken
1ced360e5f Fixed links to gunicorn docs. 2022-12-08 20:39:25 -04:00
David Mc Ken
c5524dc909 Fix link to gunicorn and nginx setup. 2022-12-08 20:36:55 -04:00
David Mc Ken
fc01be4cad Move systemd service to install folder. 2022-12-08 20:34:29 -04:00
David Mc Ken
9a4acf5305 Move configure Active directory auth to config folder. 2022-12-08 20:33:57 -04:00
Bernward Sanchez
3e68044420
Update utils.py
This should fix the error you were experiencing, as it will now only attempt to process the `data` argument if it is a tuple containing two elements. If the `data` argument is not in the expected format, the function will simply return an empty string instead of raising an exception.
2022-12-09 08:15:13 +08:00