prune_captcha 1.18.5__tar.gz → 1.18.6__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.
- {prune_captcha-1.18.5 → prune_captcha-1.18.6}/PKG-INFO +2 -1
- {prune_captcha-1.18.5 → prune_captcha-1.18.6}/README.md +1 -0
- {prune_captcha-1.18.5 → prune_captcha-1.18.6}/prune_captcha/apps.py +4 -0
- {prune_captcha-1.18.5 → prune_captcha-1.18.6}/prune_captcha/templates/prune_captcha/captcha.html +1 -1
- {prune_captcha-1.18.5 → prune_captcha-1.18.6}/prune_captcha/utils.py +1 -0
- {prune_captcha-1.18.5 → prune_captcha-1.18.6}/prune_captcha.egg-info/PKG-INFO +2 -1
- {prune_captcha-1.18.5 → prune_captcha-1.18.6}/pyproject.toml +1 -1
- {prune_captcha-1.18.5 → prune_captcha-1.18.6}/MANIFEST.in +0 -0
- {prune_captcha-1.18.5 → prune_captcha-1.18.6}/prune_captcha/__init__.py +0 -0
- {prune_captcha-1.18.5 → prune_captcha-1.18.6}/prune_captcha/static/prune_captcha/css/captcha.css +0 -0
- {prune_captcha-1.18.5 → prune_captcha-1.18.6}/prune_captcha/static/prune_captcha/js/captcha.js +0 -0
- {prune_captcha-1.18.5 → prune_captcha-1.18.6}/prune_captcha.egg-info/SOURCES.txt +0 -0
- {prune_captcha-1.18.5 → prune_captcha-1.18.6}/prune_captcha.egg-info/dependency_links.txt +0 -0
- {prune_captcha-1.18.5 → prune_captcha-1.18.6}/prune_captcha.egg-info/requires.txt +0 -0
- {prune_captcha-1.18.5 → prune_captcha-1.18.6}/prune_captcha.egg-info/top_level.txt +0 -0
- {prune_captcha-1.18.5 → prune_captcha-1.18.6}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: prune_captcha
|
3
|
-
Version: 1.18.
|
3
|
+
Version: 1.18.6
|
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/
|
@@ -126,6 +126,7 @@ Important: You must import the static files (css, js) present in "prune_captcha/
|
|
126
126
|
|
127
127
|
| Version | Date | Notes |
|
128
128
|
| ------- | ---------- | ---------------------------------- |
|
129
|
+
| 1.18.6 | 2025-05-28 | added PUZZLE_HINT_TEXT |
|
129
130
|
| 1.18.5 | 2025-05-23 | ValueError fixed |
|
130
131
|
| 1.18.4 | 2025-05-23 | deleted var |
|
131
132
|
| 1.18.3 | 2025-05-22 | add puzzle info |
|
@@ -108,6 +108,7 @@ Important: You must import the static files (css, js) present in "prune_captcha/
|
|
108
108
|
|
109
109
|
| Version | Date | Notes |
|
110
110
|
| ------- | ---------- | ---------------------------------- |
|
111
|
+
| 1.18.6 | 2025-05-28 | added PUZZLE_HINT_TEXT |
|
111
112
|
| 1.18.5 | 2025-05-23 | ValueError fixed |
|
112
113
|
| 1.18.4 | 2025-05-23 | deleted var |
|
113
114
|
| 1.18.3 | 2025-05-22 | add puzzle info |
|
@@ -11,3 +11,7 @@ class DjangoPuzzleConfig(AppConfig):
|
|
11
11
|
raise ImproperlyConfigured(
|
12
12
|
"prune_captcha: vous devez définir PUZZLE_IMAGE_STATIC_PATH dans settings.py"
|
13
13
|
)
|
14
|
+
if not hasattr(settings, "PUZZLE_HINT_TEXT "):
|
15
|
+
raise ImproperlyConfigured(
|
16
|
+
"prune_captcha: vous devez définir PUZZLE_HINT_TEXT dans settings.py"
|
17
|
+
)
|
{prune_captcha-1.18.5 → prune_captcha-1.18.6}/prune_captcha/templates/prune_captcha/captcha.html
RENAMED
@@ -1,7 +1,7 @@
|
|
1
1
|
{% load static %}
|
2
2
|
|
3
3
|
<div class="prune-captcha">
|
4
|
-
<p class="puzzle-info">
|
4
|
+
<p class="puzzle-info">{{ puzzle.hint_text }}</p>
|
5
5
|
<div class="puzzle-container" style="width: {{ puzzle.width }}px; height: {{ puzzle.height }}px; background-image: url('{% static puzzle.image %}'); background-size: {{ puzzle.width }}px {{ puzzle.height }}px;">
|
6
6
|
<div class="puzzle-background" style="background-image: url('{% static puzzle.image %}'); background-size: {{ puzzle.width }}px {{ puzzle.height }}px;"></div>
|
7
7
|
<div class="puzzle-mask" style="top: {{ puzzle.pos_y_solution }}px; left: {{ puzzle.pos_x_solution }}px; width: {{ puzzle.piece_width }}px; height: {{ puzzle.piece_height }}px;"></div>
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: prune_captcha
|
3
|
-
Version: 1.18.
|
3
|
+
Version: 1.18.6
|
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/
|
@@ -126,6 +126,7 @@ Important: You must import the static files (css, js) present in "prune_captcha/
|
|
126
126
|
|
127
127
|
| Version | Date | Notes |
|
128
128
|
| ------- | ---------- | ---------------------------------- |
|
129
|
+
| 1.18.6 | 2025-05-28 | added PUZZLE_HINT_TEXT |
|
129
130
|
| 1.18.5 | 2025-05-23 | ValueError fixed |
|
130
131
|
| 1.18.4 | 2025-05-23 | deleted var |
|
131
132
|
| 1.18.3 | 2025-05-22 | add puzzle info |
|
@@ -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.18.
|
29
|
+
version = "1.18.6"
|
30
30
|
description = "A tool to protect formulaire from spam."
|
31
31
|
readme = "README.md"
|
32
32
|
dependencies = [
|
File without changes
|
File without changes
|
{prune_captcha-1.18.5 → prune_captcha-1.18.6}/prune_captcha/static/prune_captcha/css/captcha.css
RENAMED
File without changes
|
{prune_captcha-1.18.5 → prune_captcha-1.18.6}/prune_captcha/static/prune_captcha/js/captcha.js
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|