Commit graph

47 commits

Author SHA1 Message Date
adam
085023cc3a pytest from versioned depends 2020-05-16 18:00:31 +00:00
adam
7116ac7823 py-lexicon: updated to 3.3.22
v3.3.22
Additional security to prevent unexpected DNS change
prevent merge issues
make the pylint happy
some more pylint fixes
Fix lint
Finish the new implementation
Fix lint

v3.3.21
With apologies to the linter
Update and fix tests
Fix lint

v3.3.20
Fix lint error
Adding a new hetzner provider compatible with dns.hetzner.com
2020-05-07 10:51:42 +00:00
adam
04c56c59c1 py-lexicon: updated to 3.3.19
v3.3.19
Fix linting complaints for snakecase
Correct indentation
Fix error handling for "zone not found"
line length
Add new ZoneNotFoundError exception
Correct path to vcrpy recordings in docs
Update zone used in tests, and vcrpy recordings
Update nameserver domais and API token URL
Delete records in the wrong path
2020-04-06 10:50:19 +00:00
adam
96e9fd3b91 py-lexicon: updated to 3.3.18
v3.3.18:
Changes to robst parser 'html5lib' for Hetzner The parser BeautifulSoup(dom, 'html.parser') had problems by with malformed HTML code, i.e. a second closing tag.
2020-03-22 11:15:14 +00:00
adam
692b040373 py-lexicon: updated to 3.3.17
v3.3.17:
Decode also private domains. The tldextract library ignores private domains, so domain test.us.com is wrongly extracted as subdomain=test, domain=us and suffix=com. When allowing private domains, the extraction of test.us.com looks like subdomain=, domain=test and suffix=us.com.
2020-02-13 08:36:51 +00:00
adam
3c1e5b6e49 py-lexicon: updated to 3.3.16
3.3.16
Introduce Gransy provider.
Fix Subreg.cz nameserver name.

3.3.15
Update godaddy.py

3.3.14
Adds subaction as query parameter instead of using url argument.
Addresses code style.
Removes unnecessary print statement.
Adds code author info and link to API docs.
Adds test recordings for EUserv provider.
Fixes case when identifier is None. Attempts to find the identifier with the given arguments.Adds test class for EUserv with filtering.
Adds macOS specific .DS_Store file.
Fixes determining subdomain parameter. This provider automatically appends the domain name to the subdomain. Therefore, it needs to be removed from the parameter in case the name argument contains it.
Adds support for deleting records.
Adds support for updating records.
Moves TTL and priority parameter processing to helper functions.
Adds support for creating records.
Adds logger calls and small fixes.
Adds support for listing records.
Adds retrieval of actual domain ID.
Initial version of EUserv provider with working authentication.

3.3.13
Fix auto provider handling of parameters.

3.3.12
Change uri check after login for easyname.
2020-01-11 16:17:39 +00:00
adam
eb149c28a2 py-lexicon: upadted to 3.3.11
v3.3.11:
- fixed loglevel of debug message
- add "Accept" header to request
- Rename capsule.yml to packagr.yml
- Updated linode4 provider to enforce case insensitivity
- Updated linode provider to enforce case insensitivity
2019-12-15 09:19:56 +00:00
adam
5e911d62b0 py-lexicon: updated to 3.3.10
v3.3.10:
Add support for Python 3.8

v3.3.9:
Added example for lexicon usage as a python library
2019-11-25 11:56:57 +00:00
adam
73e896c76b py-lexicon: updated to 3.3.8
v3.3.8:
Fix lint
Move test_hostingde provider in the correct place

v3.3.7:
add RcodeZero (https://www.rcodezero.at) provider

v3.3.6:
Bug fixed: failure if "Forward" Record

v3.3.5:
Updated Link For Constellix API and Added Link for v2 of DNSSimple API

v3.3.4:
Update code
Fix lint
Keep a python 2 compatible pytest version
Disable false positive
reuse _clean_TXT_record , remove uneeded overwrite
lint: Trailing whitespace removed
2019-11-14 18:01:56 +00:00
adam
d9658eaf12 py-lexicon: updated to 3.3.3
v3.3.3:
Add endpoint argument to specify DirectAdmin endpoint

Implement _authenticate to verify DirectAdmin credentials

Add logger for DirectAdmin provider

Implement _list_records for DirectAdmin provider

Implement _create_record for DirectAdmin provider

Implement _delete_record for DirectAdmin provider

Implement _update_record for DirectAdmin provider

Allow arbitrary non-JSON endpoints to be queried

Verify validity/ownership of domain during _authenticate

Add empty module levelNAMESERVER_DOMAINS to pass tests

As DirectAdmin is not tied to a specific host, it's impossible to
provide a more specific value.

Return FQDN from _list_records

Add default TTL value in _list_records response

Always use FQDN as name filter in _list_records

Return id in parsed record response from _list_records

This id is a combination of the record's name and value used in the
deletion process by DirectAdmin.

Implement identifier-based deletion and updates

Failure success keys should be strings for return value calculation

Handle unknown rtypes in _delete_record

Use warnings module to provide feedback in _list_records

Check for existing records in _create_record

Warn if record cannot be found in _update_record

Add integration tests

Add CODEOWNERS entry for DirectAdmin Provider

Move DirectAdmin to supported providers in README

Fix whitespace linting errors

Remove unused json import

Add module level docstring for DirectAdmin integration tests

Fix module import linting warnings

Fix dangerous default value linting warnings

Get rid of unnecessary else statement after an if, return combination

Remove shadowing variable name in _delete_record

Stop using len to determine whether a list is empty

Decrease help line length to satisfy linter

Strop trying to scrub responses from within the test suite

This breaks the vcrpy recordings. It's easier to process the recordings
after the fact removing any sensitive data.

Determine response body parsing based on Content-Type header

Fix incorrect predicate for checking existing records on _create_record

Record integration test recordings using Python 3

This makes the tests pass on both Python 2 and 3 instead of only on 3.
2019-10-02 15:33:43 +00:00
adam
70e984ed0e py-lexicon: updated to 3.3.1
v3.3.1
Added provider logic & test recordings. Integration tests passed.
Added myself to codeowners file
Fixed the lint. Removed rtype filter in _update & _delete methods. Added _identifier helper
Update integration test recordings. Add provider to readme

v3.2.9
1. api_key should be key. 2. refactor with better _identifier. 3. better _delete_record
have time.sleep in the for-loop in _delete_record instead of in _request

v3.2.8
Various updates during initial implementation. Still not complete 1st draft
Further updates to new provider. Almost finished
New provider tests override file added
Numerous updates and tweaks based off provider tests
Clean-up ready to add to main repo
Add miff2000 to CODEOWNERS for SafeDNS provider
Add in vcrpy recordings for SafeDNS
Add SafeDNS to the providers list
Update comment to docstring
Move _patch() method to base provider
Use _clean_TXT_record() from base provider
Updated casettes for SafeDNS provider
Attempt to find a record even if an identifier
....hasn't been provided.
Check to ensure we don't add duplicate records
Lint cleanup. Fix mistyped %s
Add updated cassettes covering newly added tests
Switch to log only when duplicate records found
Don't raise exception if _update_record causes dupes

v3.2.7
pass test
fix file place
change test file path
refactor to api, enable recording by vcrpy
add test recordings
compatiblity for python3
update test results
remove recordings
fix lint and query_prarameter filters
remove wrong added env files
add back correct test records
fix last two lint bugs
resolve adferrand's comments
sorry for the missed one
2019-08-23 09:40:44 +00:00
adam
628251ef1c py-lexicon: updated to 3.2.6
3.2.6:
Added provider specific dependency to setup.py
Futher pylint and python3 import
Pylint
Add gratisdns provider

3.2.5:
Update appveyor.yml
Update test_route53.py
Update CONTRIBUTING.md
Fix configuration of route53 tests
Update test running instructions to include top-level directory
Fix line too long
Use the logger.warning instead of the logger.warn shortcut
Skip dnsimple accounts without a plan
2019-06-06 21:16:37 +00:00
adam
a222c5c05a py-lexicon: updated to 3.2.4
v3.2.4:
Update cloudns.py
update README.md link to LinodeAPIv4 Domain docs

v3.2.3:
Add netcup provider

v3.2.2:
Remove test.py in root folder
1) Fix delete record function to handle same name records properly. 2) Enable the extended test suite to validate wildcards and check record sets.
Fix new pylint errors
Fix pylint errors
Fix slave notification argument name
Remove unused import
Added explicit slave notifcation function when domain is master
Fixed PowerDNS provider to allow duplicate record names
Second attempt to add, not replace same name TXT.
Allow duplicate names for TXT records. Lets Encrypt uses the same TXT record name with a different challenge token (content) to verify the primary and wildcard domains.

v3.2.1:
Fix resolution of dependencies in a regular install of lexicon distribution

v3.2.0:
Ensure python3 for lint
Update environments for the release
Fix create record on dnsimple
Update client.py
Fix tox env name
Optimize AppVeyor
Fix import
Clean lint errors
Fix pytest flag
Also mock for client
Mock correctly the fakeprovider
Rename skip => xfail
Xfail tests for which provider dependencies are not fulfilled
Handle smartly providers with missing dependencies
Fix lint errors
Fix lint and workflow
Try with overriden environments
Standard execution
Functional new test suite
Enable mechanism to skip providers with optional deps
Leverage import of the provider module in integration tests class setup
2019-05-07 08:00:03 +00:00
triaxx
3f8e4318a3 py-lexicon: revert ALTERNATIVES change from an outdated pkglint 2019-01-15 13:06:15 +00:00
triaxx
bbed2b595a py-lexicon: update to 3.0.8 2019-01-15 11:30:03 +00:00
fhajny
a0e36d1dc6 net/py-lexicon: Update to 2.7.9.
2.7.9
- Minor fixes

2.7.8
- Adding henet to supported providers

2.7.7
- Fix for cloudns

2.7.6
- Tests fixes

2.7.5
- Add support for inwx provider

2.7.4
- Add support for Plesk API
2018-10-01 21:08:40 +00:00
fhajny
835f7fad8e net/py-lexicon: Update to 2.7.3.
- Correct mocking in ovh test units during authentication phase.
- Re-add requirements.txt.
2018-09-17 11:14:52 +00:00
fhajny
8236e7a779 net/py-lexicon: Update to 2.7.2.
2.7.2
- Update online cassette
- online api change: domain_id became simply domain name

2.7.1
- Remove route53 tests, boto recordings no longer work.
- Create a library unit test suite
- [Gehirn Web Service] fix 400 response on GET request
- Update setup.py adding cryptography to the setup.py file
- Use ImportError instead of subclass ModuleNotFoundError, which is
  supported only by python 3.6
2018-09-10 12:15:14 +00:00
fhajny
61d31ccc2e net/py-lexicon: Update to 2.7.0.
2.7.0.
- Subreg.cz: Use Zeep instead of PySimpleSOAP library

2.6.0
- Improvements to argument handling

2.5.0
- Add Google Cloud DNS provider

2.4.7
- Add Zeit provider

2.4.6
- Fixes to dnsimple

2.4.5
- Add support for Exoscale

2.4.4
- Add support for online.net

2.4.3
- Test fixes

2.4.2
- Minor fixes to OVH provider

2.4.1
- add support for Gandi LiveDNS API
2018-07-17 16:14:46 +00:00
fhajny
a126227781 net/py-lexicon: Upddate to 2.4.0.
- Handle namespace variations of DnsEntry in transip provider
- Allow to toggle live tests using LEXICON_LIVE_TESTS env variable.
  Tests are offline by default.
- GoDaddy provider improvements
2018-06-12 08:42:50 +00:00
fhajny
b7099d67bd net/py-lexicon: Update to 2.3.0.
- Multiple updates for Namecheap client
- Rackspace handle duplicate record on create
- Fixes and recordings for cloudns
- TransIP: Record set support
2018-05-28 13:46:12 +00:00
fhajny
43f3e274bd net/py-lexicon: Update to 2.2.3.
2.2.3
- Added support for Linode v4 API

2.2.2
- Added support for Constellix
2018-05-14 11:31:18 +00:00
fhajny
1d7589a330 net/py-lexicon: Update to 2.2.1.
2.2.1
- Add OnApp provider

2.2.0
- Bug fixes
- Code cleanup
- Extend provider tests
2018-03-26 10:52:42 +00:00
fhajny
ad68514782 net/py-lexicon: Update to 2.1.24
- Add testenv that ensures lexicon still works even if an optional
  library is missing.
- Add Sakura Cloud DNS provider
- Add Gehirn Infrastructure Service DNS provider
2018-03-13 09:35:09 +00:00
fhajny
ed909b2e61 net/py-lexicon: Update to 2.1.20.
- Add support for AuroraDNS.
- Add certbot hook reference script.
2018-02-27 10:45:21 +00:00
fhajny
c6197fa009 net/py-lexicon: Update to 2.1.19.
2.1.19
- Rackspace CloudDNS provider

2.1.18
- Make namecheap provider (and dependency) optional
2018-02-02 15:40:54 +00:00
fhajny
d1162853da Update net/py-lexicon to 2.1.17.
- Add support for Namecheap.
2018-01-23 10:54:20 +00:00
fhajny
7634b974f6 Update net/py-lexicon to 2.1.16.
2.1.16
- Fix python 3 syntax error when running tests.
- [nsone] support linked records-

2.1.15
- Added Linode provider.
2017-12-09 18:06:45 +00:00
fhajny
99efd2740e Update net/py-lexicon to 2.1.14.
2.1.14
- make Zonomi a supported provider

2.1.13
- dnsmadeeasy: Deprecate Babel in favor of std lib
2017-12-04 14:42:06 +00:00
fhajny
32172c71f9 Update net/py-lexicon to 2.1.12.
- Add support for Private Zones to the Route 53 provider.
2017-11-29 12:38:55 +00:00
fhajny
addcaf9eeb Update net/py-lexicon to 2.11.1
- Add implementation for ClouDNS provider
- Minor fixes
2017-11-08 12:04:37 +00:00
fhajny
173135ce28 Update net/py-lexicon to 2.1.10.
Changes since 2.1.8:
- Add SoftLayer provider.
- Bug fixes.
2017-08-02 14:32:17 +00:00
fhajny
3503d4b477 Update net/py-lexicon to 2.1.8.
- Implement GoDaddy provider.
2017-06-21 13:42:18 +00:00
fhajny
8538ed6300 Update net/py-lexicon to 2.1.7
2.1.7
- Functional ovh provider

2.1.6
- Reinstate gandi provider, by handling import of
  xmlrpc.client/xmlrpclib depending of Python version
2017-06-15 18:04:37 +00:00
fhajny
c9877b7932 Update net/py-lexicon to 2.1.5.
- Fix logging TypeError
2017-05-31 10:35:24 +00:00
fhajny
2d4718d71b Update net/py-lexicon to 2.1.4.
2.1.4
- Improve error handling in dnsmadeeasy provider

2.1.3
- Switch print to logging
- Organize imports as documented in PEP-8
2017-05-15 10:28:06 +00:00
fhajny
c2a7194079 Update net/py-lexicon to 2.1.2.
2.1.2
- Initial implementation of a provider for PowerDNS

2.1.1
- Changes to testing framework
2017-04-27 12:12:19 +00:00
fhajny
35bbcd629d Update net/py-lexicon to 2.1.0.
Minor bugfix commits, no changelog released.
2017-04-22 17:44:04 +00:00
fhajny
5106a62a43 Update net/py-lexicon to 2.0.7.
- Minor bugfixes.
2017-04-18 15:35:15 +00:00
fhajny
52e08cd41d Update net/py-lexicon to 2.0.6.
- Removed unnecessary import of pprint
2017-04-06 15:01:06 +00:00
fhajny
d2284739f7 Update net/py-lexicon to 2.0.5.
Changes since 2.0.0:
- Added support for provider Glesys.
- Added provider for Memset DNS API.
- Update Namesilo provider with correct query param fixes.
- Use transip-api library from pypi.
2017-04-03 12:23:11 +00:00
fhajny
3c5c92d133 Update net/py-lexicon to 2.0.0.
- Add OTP to test filters
- Remove unnecessary filter from test
- Update DNSimple provider to v2
- Add username/password authentication (with optional 2fa) to
  dnsimplev
2017-03-17 14:33:05 +00:00
fhajny
944a665a61 Update net/py-lexicon to 1.2.4.
lexicon 1.2.4
- Partially revert removing gandi and transip support.

lexicon 1.2.3
- Add functionality for handling delegated subdomains
2017-02-14 10:23:39 +00:00
fhajny
10f948e40e Update net/py-lexicon to 1.2.2.
- Add Yandex PDD as a DNS provider
2017-01-24 13:08:36 +00:00
fhajny
ca83c8f041 Update net/py-lexicon to 1.2.1.
No changelog published. From the commitlog:

lexicon 1.2.1
- Fix ttl handling.

lexicon 1.2.0
- Python 3 compatibility, removed support for Python 2.6.
- Fix route53 compat errors.
- Remove gandi and transip support. Transip library is no longer
  maintained and is incompatible with python3.
2017-01-17 17:16:54 +00:00
fhajny
1a4dadc02a Update net/py-lexicon to 1.1.20.
Changes since 1.1.18.
- Improvements to the Gandi handler.
2016-11-30 21:33:48 +00:00
fhajny
60220a64fc Import net/py-lexicon 1.1.18.
Lexicon provides a way to manipulate DNS records on multiple DNS
providers in a standardized way. Lexicon has a CLI but it can
also be used as a python library.
2016-11-21 11:56:28 +00:00