Skip to content

Version 2.35.0#649

Merged
frikilax merged 7 commits into
masterfrom
release/2.35.0
Feb 11, 2026
Merged

Version 2.35.0#649
frikilax merged 7 commits into
masterfrom
release/2.35.0

Conversation

@frikilax

@frikilax frikilax commented Feb 6, 2026

Copy link
Copy Markdown
Member

Added

  • [SETTINGS] Allow importing custom and optional modules to the Django project

Removed

  • [API_PARSER] Remove most of the code related to api collectors, now loaded as a separate module

Fixed

  • [SETTINGS] Set and use correct REDIS HOST parameter value

frikilax and others added 7 commits January 20, 2026 17:15
### Added
- [SETTINGS] Allow importing custom and optional modules to the Django project
### Removed
- [API_PARSER] Remove most of the code related to api collectors, now loaded as a separate module
### Fixed
- [SETTINGS] Set and use correct REDIS HOST parameter value

---------

Co-authored-by: Fabien Amelinck <fabien.amelinck@advens.fr>
This avoids having general errors being written in crontab.log instead of api_parser.log
from services.frontend.models import (Frontend, FrontendReputationContext, Listener, COMPRESSION_ALGO_CHOICES,
LISTENING_MODE_CHOICES, LOG_LEVEL_CHOICES, MODE_CHOICES, DARWIN_MODE_CHOICES,
REDIS_MODE_CHOICES, REDIS_STARTID_CHOICES,
FILEBEAT_LISTENING_MODE, FILEBEAT_MODULE_LIST, SENTINEL_ONE_ACCOUNT_TYPE_CHOICES,

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have an unused import here.

Suggested change
FILEBEAT_LISTENING_MODE, FILEBEAT_MODULE_LIST,

from toolkit.api.responses import build_response, build_form_errors
from toolkit.http.headers import HeaderForm, DEFAULT_FRONTEND_HEADERS
from toolkit.api_parser.utils import get_api_parser
from toolkit.network.network import parse_proxy_url

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same heren unused import.

Suggested change
from toolkit.network.network import parse_proxy_url

@frikilax frikilax merged commit ec997d8 into master Feb 11, 2026
3 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants