Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
with:
fetch-depth: 0
- name: Check that the CHANGELOG has been modified in the current branch
run: git whatchanged --name-only --pretty="" origin/${{ github.event.pull_request.base.ref }}..HEAD | grep CHANGELOG
run: git log --name-only --pretty="" origin/${{ github.event.pull_request.base.ref }}..HEAD | grep CHANGELOG

lint-changelog:
runs-on: ubuntu-latest
Expand Down
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ and this project adheres to

## [Unreleased]

## [0.0.13] - 2025-08-28

### Fixed

- 🗃️(malware_detection) use dict callable for MalwareDetection
defaut parameters #26

## [0.0.12] - 2025-07-22

### Added
Expand Down Expand Up @@ -100,7 +107,8 @@ and this project adheres to
- ✨(oidc) add the authentication backends #2
- ✨(oidc) add refresh token tools #3

[unreleased]: https://github.com/suitenumerique/django-lasuite/compare/v0.0.12...main
[unreleased]: https://github.com/suitenumerique/django-lasuite/compare/v0.0.13...main
[0.0.13]: https://github.com/suitenumerique/django-lasuite/releases/v0.0.13
[0.0.12]: https://github.com/suitenumerique/django-lasuite/releases/v0.0.12
[0.0.11]: https://github.com/suitenumerique/django-lasuite/releases/v0.0.11
[0.0.10]: https://github.com/suitenumerique/django-lasuite/releases/v0.0.10
Expand Down
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,10 @@ migrate: ## Run the test project migrations
@cd tests && $(UV) run python -m test_project.manage migrate
.PHONY: migrate

makemigrations: ## Run the test project migrations
@cd tests && $(UV) run python -m test_project.manage makemigrations
.PHONY: makemigrations

runserver: ## Run the test project server
@cd tests && $(UV) run python -m test_project.manage runserver
.PHONY: runserver
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Generated by Django 5.2.3 on 2025-08-28 13:56

import lasuite.malware_detection.models
from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('malware_detection', '0001_initial'),
]

operations = [
migrations.AlterField(
model_name='malwaredetection',
name='parameters',
field=models.JSONField(blank=True, default=dict, encoder=lasuite.malware_detection.models.JsonUUIDEncoder, help_text='parameters for the detection', null=True),
),
]
2 changes: 1 addition & 1 deletion src/lasuite/malware_detection/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class MalwareDetection(models.Model):
)
parameters = models.JSONField(
help_text="parameters for the detection",
default=dict(), # noqa: C408
default=dict,
null=True,
blank=True,
encoder=JsonUUIDEncoder,
Expand Down
Loading