Niklas Engvall
4de7bbe354
Use alpine 3.17 as base + pip fix to remove warnings
2023-01-06 16:43:48 +01:00
Niklas Engvall
7e973c7219
bump alpine to 3.15
2022-12-23 12:18:00 +01:00
Bernward Sanchez
c7eaec27d8
Update utils.py
2022-12-23 08:23:14 +08:00
Ymage
1d885278d4
Cosmetic
2022-12-22 22:55:05 +01:00
Ymage
7d153932b3
Fix back_populate relationships
2022-12-22 22:50:01 +01:00
Ymage
8dd03a4d85
Update tests fix
...
Fix migration init_db 'id'
Handle app context when needed
Fix conftest fixtures
Rearrange test Dockerfiles
Hide DeprecationWarning during pytest execution
Upgrade all python packages
2022-12-22 22:47:02 +01:00
Matt Scott
33ec2acd3f
Added a GitHub labels configuration file.
2022-12-22 07:20:02 -05:00
Matt Scott
eb16353476
Testing new GitHub Dependabot configuration.
2022-12-22 06:20:12 -05:00
Matt Scott
32e19777cc
Updating GitHub stale automation configuration to match new label schema.
2022-12-22 06:00:06 -05:00
corubba
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
corubba
e920bf5009
Fix broken code
...
PR #1089 is the culprit, as was already predicted in the review.
2022-12-19 09:37:01 +01:00
corubba
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
corubba
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
Matt Scott
0404748e6e
Merge pull request #1333 from pneb/master
...
enhancement: Added 2 new files (auto-setup)
2022-12-15 06:40:32 -05:00
Bernward Sanchez
3aa6d1f258
Create setup_win.bat
2022-12-15 12:54:31 +08:00
Bernward Sanchez
644be65495
Create setup_linux.sh
2022-12-15 12:53:53 +08:00
Matt Scott
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
Matt Scott
89f3d4d01a
Revert "enhancement(routes/index.py): OIDC supports HTTP Scheme now"
2022-12-14 20:37:30 -05:00
Matt Scott
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
Bernward Sanchez
f6c49c379d
Update index.py
2022-12-15 06:13:27 +08: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
Matt Scott
8373363c4d
Merge pull request #1323 from jbe-dw/fixLDAPDeprecatedOpt
...
Draft: Fix pyhton-ldap upgrade
2022-12-13 20:56:03 -05:00
Matt Scott
1a05518018
Merge pull request #1330 from caraar12345/aaroncarson/fix/1329
...
Fix #1329
2022-12-13 20:54:26 -05:00
Aaron Carson
ff671ebabe
Fix 1329
2022-12-14 00:34:12 +00:00
Matt Scott
9a38e1758f
Merge pull request #1328 from Ssshafi/patch-1
...
Update login.html
2022-12-13 09:04:40 -05:00
Matt Scott
c03f799c4a
Merge pull request #1327 from dmcken/docs-updates
...
Docs updates
2022-12-13 08:20:27 -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
David Mc Ken
4d529ec1d6
Linted the main menu.
2022-12-13 02:29:05 -04:00
David Mc Ken
b0159beaec
Add SQLite as a supported database.
2022-12-12 23:12:03 -04:00
David Mc Ken
dcbc4c3f7e
Add PostgreSQL install documentation.
2022-12-12 22:50:26 -04:00
David Mc Ken
94ce26eaad
Minor cleanup of MySQL docs.
2022-12-12 22:49:51 -04:00
David Mc Ken
cc63d069f6
Fill in MySQL server installation directions.
2022-12-12 22:41:41 -04:00
David Mc Ken
6f450457ef
Update env docs from legal_envvars
2022-12-12 22:06:44 -04:00
David Mc Ken
89d0ab12f5
Add general arch doc.
2022-12-12 22:06:10 -04:00
David Mc Ken
23274301f8
Merge branch 'PowerDNS-Admin:master' into docs-updates
2022-12-12 17:17:23 -04:00
Matt Scott
10fd8b1563
Merge pull request #1324 from domXmob/master
...
fix of issue #1261 & #1321
2022-12-12 14:21:55 -05:00
Dominik Fahr
650ea7660b
updated image docker-compose.yml & deployment.yml
...
Docker Hub Repository Moved! #1317
2022-12-12 19:24:46 +01:00
David Mc Ken
12892d70a5
Merge branch 'PowerDNS-Admin:master' into docs-updates
2022-12-12 13:51:59 -04:00
Dominik Fahr
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
Dominik Fahr
52169f698c
undo of commit a7f55de
...
did not fix issue #1261
leaded into issue #1321
2022-12-12 17:30:42 +01:00
Jérôme BECOT
8d5b92402d
fix: Remove deprecated option OPT_X_TLS
2022-12-12 15:57:11 +01:00
Robert Walter
23e0fdbedf
Fixing Validation Problem at LDAP Form
2022-12-12 12:32:32 +01:00
Matt Scott
ce4447bb12
Merge branch 'master' of github.com:PowerDNS-Admin/PowerDNS-Admin
2022-12-11 17:43:50 -05:00
Matt Scott
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
Matt Scott
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
Bernward Sanchez
dfdb0dca17
Update domain.py
2022-12-10 10:37:06 +08:00
Matt Scott
48c303dd84
Corrected typo / instructions related to Docker in the project README file.
2022-12-09 17:03:46 -05:00
Matt Scott
dec457e2ea
Tweaked job name of the Docker Image workflow.
2022-12-09 17:02:36 -05:00
Matt Scott
4940e280bb
Tweaked name of Docker image build workflow for Docker image status updates.
2022-12-09 16:58:40 -05:00
Matt Scott
81020fe2b5
Tweaked Docker status badge text in project README.
2022-12-09 16:57:13 -05:00