aiwaf 0.1.8.1__tar.gz → 0.1.8.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of aiwaf might be problematic. Click here for more details.

Files changed (28) hide show
  1. {aiwaf-0.1.8.1 → aiwaf-0.1.8.2}/PKG-INFO +1 -1
  2. aiwaf-0.1.8.2/aiwaf/templatetags/aiwaf_tags.py +13 -0
  3. {aiwaf-0.1.8.1 → aiwaf-0.1.8.2}/aiwaf.egg-info/PKG-INFO +1 -1
  4. {aiwaf-0.1.8.1 → aiwaf-0.1.8.2}/pyproject.toml +1 -1
  5. {aiwaf-0.1.8.1 → aiwaf-0.1.8.2}/setup.py +1 -1
  6. aiwaf-0.1.8.1/aiwaf/templatetags/aiwaf_tags.py +0 -14
  7. {aiwaf-0.1.8.1 → aiwaf-0.1.8.2}/LICENSE +0 -0
  8. {aiwaf-0.1.8.1 → aiwaf-0.1.8.2}/README.md +0 -0
  9. {aiwaf-0.1.8.1 → aiwaf-0.1.8.2}/aiwaf/__init__.py +0 -0
  10. {aiwaf-0.1.8.1 → aiwaf-0.1.8.2}/aiwaf/apps.py +0 -0
  11. {aiwaf-0.1.8.1 → aiwaf-0.1.8.2}/aiwaf/blacklist_manager.py +0 -0
  12. {aiwaf-0.1.8.1 → aiwaf-0.1.8.2}/aiwaf/management/__init__.py +0 -0
  13. {aiwaf-0.1.8.1 → aiwaf-0.1.8.2}/aiwaf/management/commands/__init__.py +0 -0
  14. {aiwaf-0.1.8.1 → aiwaf-0.1.8.2}/aiwaf/management/commands/add_ipexemption.py +0 -0
  15. {aiwaf-0.1.8.1 → aiwaf-0.1.8.2}/aiwaf/management/commands/aiwaf_reset.py +0 -0
  16. {aiwaf-0.1.8.1 → aiwaf-0.1.8.2}/aiwaf/management/commands/detect_and_train.py +0 -0
  17. {aiwaf-0.1.8.1 → aiwaf-0.1.8.2}/aiwaf/middleware.py +0 -0
  18. {aiwaf-0.1.8.1 → aiwaf-0.1.8.2}/aiwaf/models.py +0 -0
  19. {aiwaf-0.1.8.1 → aiwaf-0.1.8.2}/aiwaf/resources/model.pkl +0 -0
  20. {aiwaf-0.1.8.1 → aiwaf-0.1.8.2}/aiwaf/storage.py +0 -0
  21. {aiwaf-0.1.8.1 → aiwaf-0.1.8.2}/aiwaf/templatetags/__init__.py +0 -0
  22. {aiwaf-0.1.8.1 → aiwaf-0.1.8.2}/aiwaf/trainer.py +0 -0
  23. {aiwaf-0.1.8.1 → aiwaf-0.1.8.2}/aiwaf/utils.py +0 -0
  24. {aiwaf-0.1.8.1 → aiwaf-0.1.8.2}/aiwaf.egg-info/SOURCES.txt +0 -0
  25. {aiwaf-0.1.8.1 → aiwaf-0.1.8.2}/aiwaf.egg-info/dependency_links.txt +0 -0
  26. {aiwaf-0.1.8.1 → aiwaf-0.1.8.2}/aiwaf.egg-info/requires.txt +0 -0
  27. {aiwaf-0.1.8.1 → aiwaf-0.1.8.2}/aiwaf.egg-info/top_level.txt +0 -0
  28. {aiwaf-0.1.8.1 → aiwaf-0.1.8.2}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: aiwaf
3
- Version: 0.1.8.1
3
+ Version: 0.1.8.2
4
4
  Summary: AI-powered Web Application Firewall
5
5
  Home-page: https://github.com/aayushgauba/aiwaf
6
6
  Author: Aayush Gauba
@@ -0,0 +1,13 @@
1
+ from django import template
2
+ from django.utils.html import format_html
3
+ from django.conf import settings
4
+
5
+ register = template.Library()
6
+
7
+ @register.simple_tag
8
+ def honeypot_field(field_name=None):
9
+ """
10
+ Legacy honeypot field - no longer needed with timing-based honeypot.
11
+ Returns empty string to maintain backward compatibility.
12
+ """
13
+ return ""
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: aiwaf
3
- Version: 0.1.8.1
3
+ Version: 0.1.8.2
4
4
  Summary: AI-powered Web Application Firewall
5
5
  Home-page: https://github.com/aayushgauba/aiwaf
6
6
  Author: Aayush Gauba
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "aiwaf"
3
- version = "0.1.8.1"
3
+ version = "0.1.8.2"
4
4
  description = "AI-powered Web Application Firewall"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.8"
@@ -9,7 +9,7 @@ long_description = (HERE / "README.md").read_text(encoding="utf-8")
9
9
 
10
10
  setup(
11
11
  name="aiwaf",
12
- version="0.1.8.1",
12
+ version="0.1.8.2",
13
13
  description="AI‑driven, self‑learning Web Application Firewall for Django",
14
14
  long_description=long_description,
15
15
  long_description_content_type="text/markdown",
@@ -1,14 +0,0 @@
1
- from django import template
2
- from django.utils.html import format_html
3
- from django.conf import settings
4
-
5
- register = template.Library()
6
-
7
- @register.simple_tag
8
- def honeypot_field(field_name=None):
9
-
10
- name = field_name or getattr(settings, "AIWAF_HONEYPOT_FIELD", "hp_field")
11
- return format_html(
12
- '<input type="text" name="{}" hidden autocomplete="off" tabindex="-1" />',
13
- name
14
- )
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes