cznic/public/: fred-webwhois-2.0.0 metadata and description
Fred-webwhois is a Django application with the Whois service for the FRED registry system.
author | Vlastimil Zíma |
author_email | vlastimil.zima@nic.cz |
classifiers |
|
license | GPLv3+ |
provides_extras | cdnskey |
requires_python | ~=3.8 |
Because this project isn't in the mirror_whitelist
,
no releases from root/pypi are included.
File | Tox results | History |
---|---|---|
fred-webwhois-2.0.0.tar.gz
|
|
|
fred_webwhois-2.0.0-py3-none-any.whl
|
|
The Webwhois is a Django application with the Whois service for the FRED registry system. The application searches domain names, contacts, nameserver sets and key sets.
Dependencies
python >=3.7
Other dependencies are listed in setup.cfg.
A part of the FRED system
The webwhois is a part of the FRED system for managing domain names. The easiest way to use it, is to install it with the fred-manager script. The manager installs the whole FRED server including all accessories.
Installation
Webwhois can be installed and run separately as any other Django application.
Instructions for custom installation:
Install webwhois
python setup.py install
Add webwhois.apps.WebwhoisAppConfig to the INSTALLED_APPS in your settings.py.
Link webwhois URLs into your urls.py:
from django.urls import include, path urlpatterns += [ path('whois/', include('webwhois.urls')), ]
Settings
The following settings can be defined in your settings.py.
WEBWHOIS_CDNSKEY_NETLOC
Network location, i.e. host and port, of the cdnskey processor server. Default value is None, i.e. scan results are not available.
WEBWHOIS_CDNSKEY_SSL_CERT
Path to file with SSL root certificate. Default value is None, which disables the SSL encryption.
WEBWHOIS_CORBA_NETLOC
Network location, i.e. host and port, of the CORBA server. Used to construct Interoperable Object Reference (IOR). Default value is either FRED_WEBWHOIS_NETLOC environment variable or localhost.
Example:
WEBWHOIS_CORBA_NETLOC= 'localhost:12345'
WEBWHOIS_CORBA_CONTEXT
The WEBWHOIS_CORBA_CONTEXT variable contains a name of the CORBA context.
Example:
WEBWHOIS_CORBA_CONTEXT = 'fred'
Default value:
'fred'
WEBWHOIS_LOGGER
A dotted path to the logger client. Default value is grill.DummyLoggerClient.
WEBWHOIS_LOGGER_OPTIONS
A mapping with options for the WEBWHOIS_LOGGER. If the key credentials is present, it will be passed to the make_credentials utility as a mapping. Default value is {}.
WEBWHOIS_REGISTRY_NETLOC
Network location, i.e. host and port, of the registry server. This setting is required.
WEBWHOIS_REGISTRY_SSL_CERT
Path to file with SSL root certificate. Default value is None, which disables the SSL encryption.
WEBWHOIS_SECRETARY_AUTH
Object managing authentication for the django-secretary API. For possible values see https://docs.python-requests.org/en/latest/user/authentication/. Default value is None, i.e. no authentication.
WEBWHOIS_SECRETARY_TIMEOUT
A timeout for connection to django-secretary service. For possible values see documentation of requests library. Default value is 3.05.
WEBWHOIS_SECRETARY_URL
URL of django-secretary service API. This setting is required.
Docker
Webwhois can be deployed using docker.
To build image use:
docker build --tag webwhois --file docker/uwsgi/Dockerfile .
The image provides a uWSGI service at port 16000 and a volume with static files. Running the image requires setting a SECRET_KEY and ALLOWED_HOSTS enviroment variables. Webwhois settings can be provided as enviroment variables as well.
ChangeLog
Unreleased
2.0.0 (2022-05-30)
Drop support for Python 3.6 and 3.7.
Add support for Python 3.10.
Drop support for Django 3.0 and 3.1.
Add managed_zones context processor. Context variable managed_zone_list is now deprecated and replaced by managed_zones provided by the context processor.
Refactored error handling in whois search. Variable server_exception is now a WebwhoisError instance with deprecated backwards compatible dictionary API.
Refactor object loading. Method load_registry_object is not deprecated.
Rename logger services.
Refactor public request logging. Log data are now processed in forms.
Switch logging to FRED logger from pylogger to grill library. This change is backwards incompatible: new library and settings are used. The structure of logs is left intact. LoggerMixin is deleted.
Add logger related constants.
Use statementor library to generate record statements.
A setting WEBWHOIS_LOGGER now supports only grill compatible logger clients.
Add new settings WEBWHOIS_LOGGER_OPTIONS, WEBWHOIS_REGISTRY_NETLOC, WEBWHOIS_REGISTRY_SSL_CERT, WEBWHOIS_SECRETARY_AUTH, WEBWHOIS_SECRETARY_TIMEOUT and WEBWHOIS_SECRETARY_URL.
Drop settings WEBWHOIS_LOGGER_CORBA_NETLOC, WEBWHOIS_LOGGER_CORBA_CONTEXT and WEBWHOIS_LOGGER_CORBA_OBJECT.
Add a default design.
Add utilities for deprecation warnings.
Clean up deprecation warnings.
Update static checks, CI & project setup.
1.20.2 (2022-02-14)
Make requirements for cdnskey scan results optional.
1.20.1 (2021-08-31)
Forbid ‘/’ in whois form input.
1.20.0 (2021-07-07)
Drop support for Python 3.5.
Drop support for Django < 2.2.
Add support for Python 3.9.
Add support for Django 3.1 and 3.2.
Update webwhois.urls to Django 2+. Slight changes occured, e.g. / is no longer matched as part of a handle. These changes shouldn’t affect the usage.
Add cdnskey scan results.
Refactor DNS key algorithms & flags to enums.
Fix wording.
Fix settings description in readme.
Update style check & CI setup.
1.19.0 (2021-05-11)
Add support for Python 3.9.
Add support for Django 3.1.
Add production ready Dockerfile.
1.18.1 (2020-11-24)
Fix tag mistake.
Rename CHANGELOG.rst.
Update CI setup.
1.18 (2020-10-01)
Add support for Python 3.8.
Add support for Django 3.0.
Add WEBWHOIS_LOGGER_CORBA_OBJECT setting.
Drop setting WEBWHOIS_DNSSEC_URL.
Clean deprecated parts of registrar list mixin. * Deprecate is_retail context variable in registrar list mixin.
Fix page titles.
Style fixes on public request pages.
Update style checks, add bumpversion.
Reformat Chnagelog.
1.17 (2020-03-03)
Refactor public requests
Drop support for python 2.7
Drop deprecated PublicRequestBaseForm.CONFIRMATION_METHOD
Drop deprecated usage of pylogger
Update implementation of WEBWHOIS_LOGGER setting
Update development tools settings, add mypy
1.16.1 (2019-11-20)
Update spec file for F31 and Centos/RHEL 8
1.16 (2019-10-23)
Support Django 2.X
Use PEP508 dependencies
1.15 (2019-03-21)
Remove handle_is_domain from DomainDetailMixin
Remove webwhois.views.pages module
Refactor view for list of registrars
Clean up CSS styles in request forms
1.14.1 (2019-02-06)
Temporarily return status codes to HTML data attributes
1.14 (2018-07-27)
Add Python 3 and Django 2.0 support
Improve behaviour of confirmation methods in public requests
Add public response object to context of public response views
Add government confirmation method for public requests
New behavior in case no object was found for a handle
Fix wording of error message in personal info public request
Fix unmanaged zone behaviour
Remove status codes from HTML data attributes
Remove public response backports
Remove links for search engines and domain registration from settings and templates
Remove webwhois_base_template attribute from views. Use base_template instead
Remove CZ.NIC specific webwhois templates
Remove obsolete default_app_config
Fix Fedora builds
1.13 (2018-04-18)
Add personal info public request
Refactor public request responses
Drop support for old IDL structures
Remove CZ.NIC specific code - public request descriptions, dobradomena and registrar links
Clean up code - pyfco deprecation warnings
Support omniidl up to 4.2.2
Use tox for testing
1.12.2 (2018-04-24)
Fix detail of ENUM domains
1.12.1 (2018-04-17)
Fix response for domains in delete candidate status
1.12 (2018-03-08)
Prepare for Python 3 - clean up code and use unicode_literals
Support new ISO date time and buffer structures from IDLs
Handle new OBJECT_DELETE_CANDIDATE exception
Use Babel for package distribution
Remove mojeid contact view
Move whois form to webwhois index
Fix up tests
Fix RPM builds
1.11 (2018-02-12)
Add changelog
Use setuptools for packaging
Drop example webwhois_site
Define constants for statuses
Handle delete candidate objects