whatdidyoudo 0.1.11__tar.gz → 0.1.13__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 whatdidyoudo might be problematic. Click here for more details.
- {whatdidyoudo-0.1.11 → whatdidyoudo-0.1.13}/.gitignore +1 -0
- {whatdidyoudo-0.1.11 → whatdidyoudo-0.1.13}/PKG-INFO +1 -1
- {whatdidyoudo-0.1.11 → whatdidyoudo-0.1.13}/whatdidyoudo/app.py +1 -1
- whatdidyoudo-0.1.13/whatdidyoudo/static/favicon.svg +5 -0
- {whatdidyoudo-0.1.11 → whatdidyoudo-0.1.13}/whatdidyoudo/templates/form.html +15 -5
- {whatdidyoudo-0.1.11 → whatdidyoudo-0.1.13}/README.md +0 -0
- {whatdidyoudo-0.1.11 → whatdidyoudo-0.1.13}/pyproject.toml +0 -0
- {whatdidyoudo-0.1.11 → whatdidyoudo-0.1.13}/whatdidyoudo/__init__.py +0 -0
- {whatdidyoudo-0.1.11 → whatdidyoudo-0.1.13}/whatdidyoudo/static/style.css +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: whatdidyoudo
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.13
|
|
4
4
|
Summary: A minimal Flask app that shows the amount of OpenStreetMap changes made by a user on a day.
|
|
5
5
|
Project-URL: Homepage, https://github.com/rompe/whatdidyoudo
|
|
6
6
|
Project-URL: Issues, https://github.com/rompe/whatdidyoudo/issues
|
|
@@ -10,7 +10,7 @@ from flask_caching import Cache
|
|
|
10
10
|
from flask_limiter import Limiter
|
|
11
11
|
from flask_limiter.util import get_remote_address
|
|
12
12
|
|
|
13
|
-
__version__ = "0.1.
|
|
13
|
+
__version__ = "0.1.13"
|
|
14
14
|
|
|
15
15
|
app = Flask(__name__)
|
|
16
16
|
cache = Cache(app, config={"CACHE_TYPE": "SimpleCache",
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64">
|
|
2
|
+
<rect width="64" height="64" rx="12" fill="#232526"/>
|
|
3
|
+
<text x="50%" y="44%" text-anchor="middle" font-family="Segoe UI, Arial, sans-serif" font-size="20" font-weight="bold" fill="#4f8cff">WD</text>
|
|
4
|
+
<text x="50%" y="72%" text-anchor="middle" font-family="Segoe UI, Arial, sans-serif" font-size="20" font-weight="bold" fill="#4f8cff">YD</text>
|
|
5
|
+
</svg>
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
<meta charset="UTF-8">
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
6
6
|
<title>What Did You Do?</title>
|
|
7
|
+
<link rel="icon" type="image/svg+xml" href="{{ url_for('static', filename='favicon.svg') }}">
|
|
7
8
|
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
|
|
8
9
|
<script>
|
|
9
10
|
window.onload = function() {
|
|
@@ -63,19 +64,28 @@
|
|
|
63
64
|
<h4>Tips</h4>
|
|
64
65
|
<ul>
|
|
65
66
|
<li>Do you want to have a bookmark that always shows your numbers for the current day?
|
|
66
|
-
Just use <code>/YOUR_USERNAME</code> as URL and omit the date
|
|
67
|
+
Just use <code>/YOUR_USERNAME</code> as URL and omit the date!
|
|
68
|
+
</li>
|
|
67
69
|
<li>You can enter multiple usernames separated by commas to see their contributions at once.
|
|
68
|
-
Try this after a mapwalk with friends
|
|
70
|
+
Try this after a mapwalk with friends!
|
|
71
|
+
</li>
|
|
69
72
|
</ul>
|
|
70
73
|
</div>
|
|
71
74
|
<div class="disclaimer">
|
|
72
75
|
<h4>Disclaimers</h4>
|
|
73
76
|
<ul>
|
|
74
|
-
<li>This is a very simple service. It does exactly one job and tries to do it good.</li>
|
|
75
77
|
<li>Quality beats quantity. While it's nice to see big numbers here, please remember
|
|
76
|
-
that just one high-effort change will help more that any amount of mediocre changes
|
|
78
|
+
that just one high-effort change will help more that any amount of mediocre changes.
|
|
79
|
+
</li>
|
|
77
80
|
<li>This service is rate-limited to 10 OSM API requests per minute and caches results
|
|
78
|
-
|
|
81
|
+
for 1 hour (except for the current day) to reduce load on the API.
|
|
82
|
+
Too restrictive? Tell me!
|
|
83
|
+
</li>
|
|
84
|
+
<li>This is a very simple service. It does exactly one job and tries to do it good.
|
|
85
|
+
The data displayed here is shown by many other services, but I didn't find one
|
|
86
|
+
that answers my question in this way with just a simple bookmark.
|
|
87
|
+
Suggestions are welcome! Get in touch via the issue tracker on the project page.
|
|
88
|
+
</li>
|
|
79
89
|
</ul>
|
|
80
90
|
</div>
|
|
81
91
|
{% endif %}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|