8d849ee2a1
Cleanup
...
The `unit/apikey` directory is removed because it does not contain any
tests. Same for `unit/test_decorators.py`.
The `fixture` module is renamed to the special-name `conftest` [0] so
they are available in all tests without the need to import them. With
that in place, I removed all now unneeded or previously already unused
imports from the tests.
Also removed that wierd `sys.path` bit from `unit/zone/test_admin_apikey.py`,
no idea what that was originally intended for.
[0] https://docs.pytest.org/en/6.2.x/fixture.html#conftest-py-sharing-fixtures-across-multiple-files
2022-12-19 09:37:01 +01:00
e920bf5009
Fix broken code
...
PR #1089 is the culprit, as was already predicted in the review.
2022-12-19 09:37:01 +01:00
b9eb593acd
Fix tests
...
Increased the version of pytest to make it work with py 3.10 [0].
The GET calls no longer return list but the object itself, fixed the
tests and assertions to account for that. The tests did not account for
the later added `allow_user_remove_domain` setting. And there were
issues with missing and non-stopped patchers/mocks.
Now all tests are at least passing.
[0] https://github.com/pytest-dev/pytest/pull/8540
2022-12-19 09:37:01 +01:00
44cf98a159
Fix test docker
...
The Dockerfile did not work as is, because the dependencies in
requirements.txt are newer than the stretch-image with its python v3.5
can support/run. Use stable debian with the lts nodejs instead, plus
had to add some libs to make the wheel build succeed.
jsonschema v4 breaks things, so its version needs to be pinned until
bravado is fixed [0].
[0] https://github.com/Yelp/bravado-core/pull/385/files#r731674447
2022-12-19 09:37:01 +01:00
0404748e6e
Merge pull request #1333 from pneb/master
...
enhancement: Added 2 new files (auto-setup)
2022-12-15 06:40:32 -05:00
3aa6d1f258
Create setup_win.bat
2022-12-15 12:54:31 +08:00
644be65495
Create setup_linux.sh
2022-12-15 12:53:53 +08:00
3a6d173d05
Merge pull request #1332 from PowerDNS-Admin/revert-1331-patch-4
...
Revert "enhancement(routes/index.py): OIDC supports HTTP Scheme now"
2022-12-14 20:38:15 -05:00
89f3d4d01a
Revert "enhancement(routes/index.py): OIDC supports HTTP Scheme now"
2022-12-14 20:37:30 -05:00
96a88d918c
Merge pull request #1331 from pneb/patch-4
...
enhancement(routes/index.py): OIDC supports HTTP Scheme now
2022-12-14 19:01:27 -05:00
f6c49c379d
Update index.py
2022-12-15 06:13:27 +08:00
30ed68471e
Merge pull request #1322 from Metrax/master
...
Fixing Validation problem on LDAP form
2022-12-13 20:59:22 -05:00
8373363c4d
Merge pull request #1323 from jbe-dw/fixLDAPDeprecatedOpt
...
Draft: Fix pyhton-ldap upgrade
2022-12-13 20:56:03 -05:00
1a05518018
Merge pull request #1330 from caraar12345/aaroncarson/fix/1329
...
Fix #1329
2022-12-13 20:54:26 -05:00
ff671ebabe
Fix 1329
2022-12-14 00:34:12 +00:00
9a38e1758f
Merge pull request #1328 from Ssshafi/patch-1
...
Update login.html
2022-12-13 09:04:40 -05:00
c03f799c4a
Merge pull request #1327 from dmcken/docs-updates
...
Docs updates
2022-12-13 08:20:27 -05:00
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
4d529ec1d6
Linted the main menu.
2022-12-13 02:29:05 -04:00
b0159beaec
Add SQLite as a supported database.
2022-12-12 23:12:03 -04:00
dcbc4c3f7e
Add PostgreSQL install documentation.
2022-12-12 22:50:26 -04:00
94ce26eaad
Minor cleanup of MySQL docs.
2022-12-12 22:49:51 -04:00
cc63d069f6
Fill in MySQL server installation directions.
2022-12-12 22:41:41 -04:00
6f450457ef
Update env docs from legal_envvars
2022-12-12 22:06:44 -04:00
89d0ab12f5
Add general arch doc.
2022-12-12 22:06:10 -04:00
23274301f8
Merge branch 'PowerDNS-Admin:master' into docs-updates
2022-12-12 17:17:23 -04:00
10fd8b1563
Merge pull request #1324 from domXmob/master
...
fix of issue #1261 & #1321
2022-12-12 14:21:55 -05:00
650ea7660b
updated image docker-compose.yml & deployment.yml
...
Docker Hub Repository Moved! #1317
2022-12-12 19:24:46 +01:00
12892d70a5
Merge branch 'PowerDNS-Admin:master' into docs-updates
2022-12-12 13:51:59 -04:00
97a79645b0
fix of issue #1261
...
split record by "."
idna.encode leads into full stop if the string starts with "_" or "-"
2022-12-12 17:31:32 +01:00
52169f698c
undo of commit a7f55de
...
did not fix issue #1261
leaded into issue #1321
2022-12-12 17:30:42 +01:00
8d5b92402d
fix: Remove deprecated option OPT_X_TLS
2022-12-12 15:57:11 +01:00
23e0fdbedf
Fixing Validation Problem at LDAP Form
2022-12-12 12:32:32 +01:00
ce4447bb12
Merge branch 'master' of github.com:PowerDNS-Admin/PowerDNS-Admin
2022-12-11 17:43:50 -05:00
4e2ea4bc5e
Revert "Removed mysqlclient requirement based on issue 1305. Wiki documentation has already been updated to reflect this change."
...
This reverts commit 542af959e1
.
2022-12-11 17:43:02 -05:00
2565e4faff
Merge pull request #1319 from pneb/patch-3
...
feature: Added IDN Domain Search function as requested
2022-12-10 00:07:25 -05:00
dfdb0dca17
Update domain.py
2022-12-10 10:37:06 +08:00
48c303dd84
Corrected typo / instructions related to Docker in the project README file.
2022-12-09 17:03:46 -05:00
dec457e2ea
Tweaked job name of the Docker Image workflow.
2022-12-09 17:02:36 -05:00
4940e280bb
Tweaked name of Docker image build workflow for Docker image status updates.
2022-12-09 16:58:40 -05:00
81020fe2b5
Tweaked Docker status badge text in project README.
2022-12-09 16:57:13 -05:00
56ee0d674e
Added very basic Docker Compose / Portainer template for the current project.
2022-12-09 16:56:03 -05:00
02e4fcc20a
Updating project README to include updated status badges since LGTM is shutting down soon.
2022-12-09 16:42:53 -05:00
45071c3a9f
Updated CodeQL workflow to support manual dispatch.
2022-12-09 16:40:39 -05:00
e810dc21e0
Merge branch 'master' of github.com:PowerDNS-Admin/PowerDNS-Admin
2022-12-09 15:59:28 -05:00
c90592e039
Updated build/deploy workflow to include updated naming.
2022-12-09 15:58:55 -05:00
cbcb4dfb5c
Merge pull request #1316 from PowerDNS-Admin/1313-docker-image-reference-update
...
Docker Image Repository References Updated
2022-12-09 12:56:49 -05:00
3889ceaf4c
Updated documentation to reflect the new Docker Hub home of the project's Docker images.
2022-12-09 12:55:45 -05:00
ceedf895d8
Merge pull request #1315 from PowerDNS-Admin/1314-docker-image-build-workflow
...
Updated Docker Image Publishing Workflow
2022-12-09 12:31:36 -05:00
58d0d6b71d
Updated Docker image publish workflow to enable manual dispatch of the workflow.
2022-12-09 12:30:18 -05:00