cznic/public/: fred-webwhois-3.2.4 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_dist |
|
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-3.2.4-py3-none-any.whl
|
|
|
fred_webwhois-3.2.4.tar.gz
|
|
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_FILEMAN_NETLOC
Network location, i.e. host and port, of the fileman server. This setting is required.
WEBWHOIS_FILEMAN_SSL_CERT
Path to file with SSL root certificate. Default value is None, which disables the SSL encryption.
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.
WEBWHOIS_STATE_FLAGS_DESCRIPTIONS
A mapping of the state flags to their human readable descriptions. Provided setting is merged to the default descriptions. For default value see webwhois.settings.DEFAULT_STATE_FLAGS_DESCRIPTIONS.
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
3.2.4 (2025-03-18)
- Fix typo.
3.2.3 (2025-01-20)
- Fix styles of scan results (#64, #65).
- Fix annotations.
3.2.2 (2024-11-28)
- Fix javascript import (#60).
3.2.1 (2024-11-27)
- Design table for scanned results (#60).
- Fix quality.
3.2.0 (2024-09-30)
- Add support for Python 3.12 (#58).
- Add support for Django 5.1.
- Drop support for Django 3.2, 4.0 and 4.1.
- Replace frgal with fred-frgal.
- Use pydantic v2 dependencies (#59).
- Fix typing in tests.
- Use ruff.
- Update project setup.
3.1.3 (2024-09-10)
- Use backports.strenum for enums (#57).
- Update omniorb version dependency.
- Fix CI.
3.1.2 (2024-06-26)
- Fix license.
3.1.1 (2024-06-25)
- Fix tests for fred-regal 1.6.X.
- Update fred-grill to 2.0.
- Sync gitlab issue templates.
3.1.0 (2023-11-28)
- Remove excessive brackets from URLs (#56).
- Handle blacklisted domains (#55).
3.0.1 (2023-11-14)
- Support USE_TZ=False (#51).
- Add parse_date template tag (#52).
- Update SSN type labels (#53).
- Exclude internal states from object details (#54).
3.0.0 (2023-11-01)
- Refactor webwhois to use registry backend instead of CORBA (#28, #29, #30, #31, #32, #33, #34, #35, #36, #37, #40, #47, #49).
- Other refactoring: * Static resolve view template (#19). * Refactor 404 errors (#18). * Add handle to WebwhoisError (#45). * Drop dictionary interface on WebwhoisError (#17). * Drop view mixins (#22, #39). * Drop deprecated public request views (#43). * Drop deprecated load_registry_object method (#3). * Drop _get_registry_objects method (#12). * Drop deprecated _registrar_row (#15). * Drop managed_zones context processor (#23).
- Changes in templates and context: * Rename base template (#38). * Rename included templates (#38). * Drop registry_objects context layer (#20). * Drop managed_zone_list context variable (#13). * Drop deprecated registrar context variable (#14). * Drop is_linked context variable (#25). * Drop status_descriptions context variables (#25). * Drop HTML from error messages (#11). * Drop label context variable (#26). * Drop verification status icons (#27).
- Handle domains in auctions (#46).
- Add state_flag_description template tag (#25, #50).
- Drop deprecated_context utility (#16).
- Drop reason property from logger (#42).
- Use registry object type enum (#44).
- Add log references (#21).
- Fix enums for python 3.11.
- Fix deprecation warnings.
- Clean up translations (#24).
- Add docs for logger (#41).
- Enforce annotations.
- Set up bandit and pydocstyle.
- Update project setup.
- Update demo deploy files.
2.2.0 (2023-04-17)
- Add support for Python 3.11.
- Add support for Django 4.1 and 4.2.
- Deprecate stars context variable (#5).
- Upgrade regal and statementor versions (#9).
- Add demo deploy files (#8).
- Fix typing annotations.
- Update project setup.
2.1.0 (2022-09-01)
- Drop support for Django 2.2.
- Update supported IDL versions.
- Add PublicResponseView and PublicResponsePdfView and use them by default (#2).
- Separate PublicResponseMixin (#2).
- Update .dockerignore.
- Fix JavaScript for scan results
- Add JavaScript tests
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