prune_captcha 1.16.0__tar.gz → 1.17.0__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: prune_captcha
3
- Version: 1.16.0
3
+ Version: 1.17.0
4
4
  Summary: A tool to protect formulaire from spam.
5
5
  Author-email: Arnout <bastien@prune.sh>
6
6
  Project-URL: Made_by, https://prune.sh/
@@ -116,6 +116,8 @@ Important: You must import the static files (css, js) present in "prune_captcha/
116
116
 
117
117
  | Version | Date | Notes |
118
118
  | ------- | ---------- | ---------------------------------- |
119
+ | 1.17.0 | 2025-05-21 | fix pos_answer |
120
+ | 1.16.1 | 2025-05-21 | fix static |
119
121
  | 1.16.0 | 2025-05-21 | fix static |
120
122
  | 1.15.2 | 2025-05-21 | fix manifest |
121
123
  | 1.15.1 | 2025-05-21 | fix manifest |
@@ -98,6 +98,8 @@ Important: You must import the static files (css, js) present in "prune_captcha/
98
98
 
99
99
  | Version | Date | Notes |
100
100
  | ------- | ---------- | ---------------------------------- |
101
+ | 1.17.0 | 2025-05-21 | fix pos_answer |
102
+ | 1.16.1 | 2025-05-21 | fix static |
101
103
  | 1.16.0 | 2025-05-21 | fix static |
102
104
  | 1.15.2 | 2025-05-21 | fix manifest |
103
105
  | 1.15.1 | 2025-05-21 | fix manifest |
@@ -36,8 +36,8 @@ def create_and_get_captcha(
36
36
 
37
37
 
38
38
  def verify_captcha(request: HttpRequest) -> bool:
39
- pos_x_answer = request.POST.get("pos_x_answer")
40
- pos_y_answer = request.POST.get("pos_Y_answer")
39
+ pos_x_answer = int(request.POST.get("pos_x_answer"))
40
+ pos_y_answer = int(request.POST.get("pos_y_answer"))
41
41
  if pos_x_answer is None or pos_y_answer is None:
42
42
  return False
43
43
  pos_x_solution = request.session.get("pos_x_solution")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: prune_captcha
3
- Version: 1.16.0
3
+ Version: 1.17.0
4
4
  Summary: A tool to protect formulaire from spam.
5
5
  Author-email: Arnout <bastien@prune.sh>
6
6
  Project-URL: Made_by, https://prune.sh/
@@ -116,6 +116,8 @@ Important: You must import the static files (css, js) present in "prune_captcha/
116
116
 
117
117
  | Version | Date | Notes |
118
118
  | ------- | ---------- | ---------------------------------- |
119
+ | 1.17.0 | 2025-05-21 | fix pos_answer |
120
+ | 1.16.1 | 2025-05-21 | fix static |
119
121
  | 1.16.0 | 2025-05-21 | fix static |
120
122
  | 1.15.2 | 2025-05-21 | fix manifest |
121
123
  | 1.15.1 | 2025-05-21 | fix manifest |
@@ -9,6 +9,6 @@ prune_captcha.egg-info/SOURCES.txt
9
9
  prune_captcha.egg-info/dependency_links.txt
10
10
  prune_captcha.egg-info/requires.txt
11
11
  prune_captcha.egg-info/top_level.txt
12
- prune_captcha/static/prune_captcha/css/captcha_prune.css
13
- prune_captcha/static/prune_captcha/js/captcha_prune.js
12
+ prune_captcha/static/prune_captcha/css/captcha.css
13
+ prune_captcha/static/prune_captcha/js/captcha.js
14
14
  prune_captcha/templates/prune_captcha/captcha.html
@@ -26,7 +26,7 @@ classifiers = [
26
26
  keywords = ["captcha", "django", "code-quality"]
27
27
  urls = {Made_by = "https://prune.sh/"}
28
28
  name = "prune_captcha"
29
- version = "1.16.0"
29
+ version = "1.17.0"
30
30
  description = "A tool to protect formulaire from spam."
31
31
  readme = "README.md"
32
32
  dependencies = [
File without changes