OctoPrint-Wrapped 1.1.0__py3-none-any.whl → 1.1.1__py3-none-any.whl

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.
@@ -65,9 +65,6 @@ class WrappedPlugin(
65
65
  def is_blueprint_csrf_protected(self):
66
66
  return True
67
67
 
68
- def is_protected(self):
69
- return True
70
-
71
68
  @octoprint.plugin.BlueprintPlugin.route("/<int:year>.svg", methods=["GET"])
72
69
  def get_svg(self, year):
73
70
  if (
@@ -1,3 +1,14 @@
1
+ #snow {
2
+ position: absolute;
3
+ top: 0;
4
+ left: 0;
5
+ width: 100%;
6
+ height: 100%;
7
+ overflow: hidden;
8
+ pointer-events: none;
9
+ z-index: 32767;
10
+ }
11
+
1
12
  .snowflake {
2
13
  z-index: 32768;
3
14
  position: absolute;
@@ -88,6 +88,8 @@ function getRandomArbitrary(min, max) {
88
88
 
89
89
  // Create style for snowflake
90
90
  function generateSnowCSS(snowDensity = 200) {
91
+ document.getElementById("snow").style.height = `${pageHeightVh}vh`;
92
+
91
93
  let snowflakeName = "snowflake";
92
94
  let rule = baseCSS;
93
95
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: OctoPrint-Wrapped
3
- Version: 1.1.0
3
+ Version: 1.1.1
4
4
  Summary: Get your yearly OctoPrint stats and let it snow! Depends on the Achievements plugin.
5
5
  Author-email: Gina Häußge <gina@octoprint.org>
6
6
  License: AGPL-3.0-or-later
@@ -14,20 +14,22 @@ Dynamic: license
14
14
 
15
15
  # OctoPrint Wrapped! 🎁
16
16
 
17
- Get your yearly OctoPrint stats a shareable "wrapped" picture - and let it snow! ❄️
17
+ Get your yearly OctoPrint stats as a shareable **#OctoPrintWrapped** picture - and let it snow!
18
18
 
19
19
  <img src="https://raw.githubusercontent.com/OctoPrint/OctoPrint-Wrapped/main/extras/wrapped-demo.png" width="400" height="400" alt="Demo OctoPrint Wrapped share picture" />
20
20
 
21
21
  ![Demo of snow effect](https://raw.githubusercontent.com/OctoPrint/OctoPrint-Wrapped/main/extras/snowfall-demo.gif)
22
22
 
23
- The stats picture depends on the Achievements plugin being enabled (as it takes care of
24
- the stats collection during the year) and can be opened via the little gift package icon
23
+ The Wrapped picture depends on the Achievements plugin being enabled (as it takes care of
24
+ the stats collection during the year) and can be opened via the little gift package icon 🎁
25
25
  in the navbar.
26
26
 
27
- The snow effect can always be toggled during the season using the little snowflake icon
27
+ The snow effect can always be toggled during the season using the little snowflake icon ❄️
28
28
  in the navbar, and its setting persists through the browser's local storage.
29
29
 
30
- Both wrapped and snowfall are only available from December 1st until January 10th.
30
+ Both Wrapped and snowfall are only available from December 1st until January 10th.
31
+
32
+ **If you post your Wrapped on social media, make sure to use the hashtag `#OctoPrintWrapped`! 😊**
31
33
 
32
34
  ## Setup
33
35
 
@@ -1,18 +1,18 @@
1
- octoprint_wrapped/__init__.py,sha256=dTzSDLltkpGyl6ebrJlcAwd6sO_U9rgAWKJOg3ED2qo,8816
1
+ octoprint_wrapped/__init__.py,sha256=KM5gPG31JoeTDN3I0lCiHeQGmHHmQjQrqZrvQHrIocQ,8767
2
2
  octoprint_wrapped/static/clientjs/wrapped.js,sha256=yoEmqSkmLrwBB7K6iZjicpUuQEBdOf_uwL3ikCXTut0,836
3
3
  octoprint_wrapped/static/fonts/LICENSE,sha256=f5BiM895nR-rA7OfeuvzJeV0ekRUf6OnGCc6Gp-K_W0,4328
4
4
  octoprint_wrapped/static/fonts/open-sans-v15-latin-700.woff,sha256=XgPgx2aCZkhsq5UpcCAZ11whn87CsegqfBF5e6m3hQY,18476
5
5
  octoprint_wrapped/static/js/ko.src.svgtopng.js,sha256=ubZUiCymWWNR43LsFx7J85PJmD2vB8QOjksFy0ppffU,1183
6
6
  octoprint_wrapped/static/js/wrapped.js,sha256=G1eFi6dVBr5dgh_6OO9gD3ne7XQ97TjHr-Pe3-7omgM,5941
7
7
  octoprint_wrapped/static/pure-snow/LICENSE,sha256=nDNbOMh1fRHtkKdPc97ofGj9M2u1ys5AgQ2CtE8d0RY,1111
8
- octoprint_wrapped/static/pure-snow/pure-snow.css,sha256=oE88bnqnS179JHfN7a3eaQl9cIoQOLWNw9-zi_4-ZIg,268
9
- octoprint_wrapped/static/pure-snow/pure-snow.js,sha256=J0odzRHNHDp1FJ7KVRRLvfajv1jcV4oeme141Ll3Lrk,4425
8
+ octoprint_wrapped/static/pure-snow/pure-snow.css,sha256=qGV-V91mFKVyS8PASBZWb2PJuZlvj7KZMzcn8mR9DhE,431
9
+ octoprint_wrapped/static/pure-snow/pure-snow.js,sha256=ft0wCYZ7BpZSwmtAPmGY3osAYv7m4x1ZVj53rselqa4,4498
10
10
  octoprint_wrapped/templates/wrapped.svg.jinja2,sha256=YKbvwlko4tLOodmEwTv7JfEkoGmLXpQh2vkW8Ism1ns,173369
11
11
  octoprint_wrapped/templates/wrapped_about.jinja2,sha256=akXy51C_YB2z7DaIB4jCv_EkTCKTQ44a3-y1N3xOXAM,925
12
12
  octoprint_wrapped/templates/wrapped_navbar_snowfall.jinja2,sha256=ln8wqiYJUMWJo6SyblBnlmm3BOxVbxr6iO8yLtmFZtk,275
13
13
  octoprint_wrapped/templates/wrapped_navbar_wrapped.jinja2,sha256=F8qqcr4__cV3MFK2aJE6MeNvvyzAYsRki4HHaPVoswU,279
14
- octoprint_wrapped-1.1.0.dist-info/METADATA,sha256=RftaIX3HPKN_RqO6LXsVw4phA_zA2EFbrL3FnQVLZuw,2098
15
- octoprint_wrapped-1.1.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
16
- octoprint_wrapped-1.1.0.dist-info/entry_points.txt,sha256=xQ62aUD0yPRRLufT5CfMKvXl-VDGQag1s6ooOXI6psc,47
17
- octoprint_wrapped-1.1.0.dist-info/top_level.txt,sha256=d6Rw7m_ZQ3UXfvhgx6Czeb-0xY50nPbvd4so-WrGJGo,18
18
- octoprint_wrapped-1.1.0.dist-info/RECORD,,
14
+ octoprint_wrapped-1.1.1.dist-info/METADATA,sha256=pcZF1L3VPMMgUzWs-yCq9mp5pl-TUUudwxbpljc3ke0,2222
15
+ octoprint_wrapped-1.1.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
16
+ octoprint_wrapped-1.1.1.dist-info/entry_points.txt,sha256=xQ62aUD0yPRRLufT5CfMKvXl-VDGQag1s6ooOXI6psc,47
17
+ octoprint_wrapped-1.1.1.dist-info/top_level.txt,sha256=d6Rw7m_ZQ3UXfvhgx6Czeb-0xY50nPbvd4so-WrGJGo,18
18
+ octoprint_wrapped-1.1.1.dist-info/RECORD,,