Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.3.1 #111

Merged
merged 11 commits into from
Dec 23, 2024
Merged

1.3.1 #111

merged 11 commits into from
Dec 23, 2024

Conversation

Lorygold
Copy link
Collaborator

Changes

  • Forced the existence of only 1 Config object with id=1
  • Added Config.ignored_ISPs field for filtering known ISPs IPs
  • Added forms: UserAdminForm, AlertAdminForm and ConfigAdminForm
  • Added ShortLabelChoiceField to customize ChoiceField in order to show the short_value as label on DjangoValue
  • Added MultiChoiceArrayField to customize ArrayField in order to support multiple choices
  • Created MultiChoiceArrayWidget widget for user-friendly interface for ArrayField with multiple choices on Django Admin
  • Updated some Python dependencies

Bugfix

  • Fixed alert.name representation enums

Lorygold and others added 11 commits March 21, 2024 16:07
* Cleaned venv from useless packages

* Added pytz required in celery_beat

* fix

* Updated CHANGELOG.md

* Registered UserAdmin for authentication app in admin.py
* [refactor] Added enums in new costants.py file for "choices" fields in the models

* [refactor] Added default config values in the django settings (certego.py file)

* Added default configs in settings

* Updated CHANGELOG.md

* [test-view] Ignore alerts order for views return API

* Fixed linters paths

* Changed "null=True" to "blank=True" for Charfields

* changes for flake8 linter

* Revoed E231 flake8 rule for certego.py file

* removed comment

* Updated CHANGELOG.md

* [CI] Updated to compose v2

* fix
* Added method to get the alert name label, for tagging

* Added ipython for develop

* Added new fields in login_raw_data for more info about previous login

* Updated CHANGELOG.md
* Forced only 1 Config object presence

* Set always Config.id=1

* Updated CHANGELOG.md
* Fixed alert.name representation enums

* Cleaned enum

* Set short_name to choose

* Added forms for multiple choices array

* fix

* Added style in order to show the choices selected in django-admin multiple choices field Config.filtered_alerts_types

* Added forms to handle multiple choice fields

* Added constraints for multiple choices fields check

* Fixed risk_score admin display

* Added user.risk_Score choice constraint

* Added timestamp representations for seconds

* Fixed enums

* Added test migration in order to convert data in Alert with the new Alert.name "shorter version"

* Fix

* Included again E231 flake8 rule, but removed in some code lines with: # noqa: E231

* Fixes

* Added config.ignored_ISPs list field

* Fixed Rabbit url

* Added null=True for Config list fields

* Completed test
* Updated some Python dapendencies

* fix
@Lorygold Lorygold merged commit ffff049 into main Dec 23, 2024
3 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