phanterpwa 14.1.3__py3-none-any.whl → 14.1.4__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.
phanterpwa/__init__.py CHANGED
@@ -3,7 +3,7 @@
3
3
  # license: MIT
4
4
 
5
5
  __author__ = "PhanterJR<junior.conex@gmail.com>"
6
- __version__ = "14.1.3"
6
+ __version__ = "14.1.4"
7
7
  __install_requeriments__ = [
8
8
  "psutil",
9
9
  "tornado",
@@ -431,7 +431,7 @@ class Redirect(web.RequestHandler):
431
431
  self.DALDatabase.commit()
432
432
  self.set_status(200)
433
433
  return self.write(
434
- str(HTML(HEAD(), BODY(SCRIPT("setTimeout(function(){window.location = '{0}';}, 10)".format(redirect))))))
434
+ str(HTML(HEAD(), BODY(SCRIPT(f"setTimeout(function(){{window.location = '{redirect}';}}, 10)")))))
435
435
  else:
436
436
  self.logger_api.warning(
437
437
  'CREATING ACCOUNT AND LOGIN BY OAUTH METHOD\n\tsocial_login: {0}\n\tname: {1}\n\temail: {2}\n\temail_verified: {3}\n\tlocale: {4}'.format(
@@ -552,7 +552,7 @@ class Redirect(web.RequestHandler):
552
552
  }))
553
553
  self.DALDatabase.commit()
554
554
  return self.write(
555
- str(HTML(HEAD(), BODY(SCRIPT("setTimeout(function(){window.location = '{0}';}, 10)".format(redirect))))))
555
+ str(HTML(HEAD(), BODY(SCRIPT(f"setTimeout(function(){{window.location = '{redirect}';}}, 10)")))))
556
556
  elif social_name == "facebook":
557
557
  state = dict_arguments.get("state")
558
558
  q_state = self.DALDatabase(
@@ -709,7 +709,7 @@ class Redirect(web.RequestHandler):
709
709
  self.DALDatabase.commit()
710
710
  self.set_status(200)
711
711
  return self.write(
712
- str(HTML(HEAD(), BODY(SCRIPT("setTimeout(function(){window.location = '{0}';}, 10)".format(redirect))))))
712
+ str(HTML(HEAD(), BODY(SCRIPT(f"setTimeout(function(){{window.location = '{redirect}';}}, 10)")))))
713
713
  else:
714
714
  new_password = os.urandom(3).hex()
715
715
  password_hash = pbkdf2_sha512.hash("password{0}{1}".format(
@@ -819,7 +819,7 @@ class Redirect(web.RequestHandler):
819
819
  }))
820
820
  self.DALDatabase.commit()
821
821
  return self.write(
822
- str(HTML(HEAD(), BODY(SCRIPT("setTimeout(function(){window.location = '{0}';}, 10)".format(redirect))))))
822
+ str(HTML(HEAD(), BODY(SCRIPT(f"setTimeout(function(){{window.location = '{redirect}';}}, 10)")))))
823
823
 
824
824
 
825
825
  message = "An error occurred while trying to authenticate."
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: phanterpwa
3
- Version: 14.1.3
3
+ Version: 14.1.4
4
4
  Summary: Tools for the phanterpwadeveloper framework
5
5
  Home-page: https://github.com/PhanterJR/phanterpwa
6
6
  Author: PhanterJR
@@ -1,4 +1,4 @@
1
- phanterpwa/__init__.py,sha256=d3PRiPTYif9evc4T7_7qftzq86q1plB_ofHKx9koLvc,396
1
+ phanterpwa/__init__.py,sha256=y15BJWccg56lPfMwUUappYy27o4dVEYIWQAWf5hdtiE,396
2
2
  phanterpwa/__main__.py,sha256=1vSHtv6-sgAgpZiklf9bwarXX1b-fmKx1rjwJw4h78o,4017
3
3
  phanterpwa/compiler.py,sha256=Je3qtVO_cZ69_PPWcXKyBgnRfQ-Ev-zkZ3UTN-ddOTQ,47478
4
4
  phanterpwa/configer.py,sha256=PFO_nVy9r6yt5iDso1amDIR0Ge2UYYK3h-ae9M0Ezyk,26359
@@ -28,7 +28,7 @@ phanterpwa/backend/request_handlers/credentials.py,sha256=Gs6Rje80A8PaPqYpB39dMl
28
28
  phanterpwa/backend/request_handlers/errors.py,sha256=x3SMdpkO4mxaSRZZQQxtH1zUFh47C06kssfI4CoPokc,4472
29
29
  phanterpwa/backend/request_handlers/i18n_server.py,sha256=p3LQxOdcLHIjgaFs4wO1V2_7gKpfcDT7pDPa7m0-UbQ,3205
30
30
  phanterpwa/backend/request_handlers/internal_messages.py,sha256=w_u3NYw0KZfuCIS8tHJhV12tj_UA0_aBekk22nR3oCc,17382
31
- phanterpwa/backend/request_handlers/oauth.py,sha256=NVlwaGlXsWdh4KOZ9hEpiA8qn7qNtw1hk0T_1uWtDwc,46101
31
+ phanterpwa/backend/request_handlers/oauth.py,sha256=zz74r9iwzdMJNDGjT6IJOA6EWxec1ATCjW4HJWs0tVI,46073
32
32
  phanterpwa/backend/request_handlers/websocket.py,sha256=KgS9RCsMlTmvFWG8kaLrsL3sv2O3rS4yn63FbNtr0tg,5716
33
33
  phanterpwa/backend/request_handlers/welcome.py,sha256=w_h7UccR9g1-Dfy7AVqc74FLQzrgBjbY5rDhgAMUHno,723
34
34
  phanterpwa/captchasvg/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -435,10 +435,10 @@ phanterpwa/usual_sass/preloaders/indefined_text.sass,sha256=z4JuUtBrzoqH3HuNFXvN
435
435
  phanterpwa/usual_sass/preloaders/run_points.sass,sha256=EYl93ljfgAc-ZLJ0VScrCoIlHP7Nr6NLdxj1zk2wm_E,3367
436
436
  phanterpwa/usual_sass/preloaders/square.sass,sha256=TOsh9muP4zkYLUJcw4i1LeRs60NrtgRWBk_1oMt2_58,1348
437
437
  phanterpwa/usual_sass/preloaders/squares.sass,sha256=kH1I89qEfmbvYxCtKFVNcxP5bWIjnqbheXVnyGF0VNo,3862
438
- phanterpwa-14.1.3.dist-info/LICENSE,sha256=lGEW1PRSZOkug2-d0IJgryCjqt6zhxN5x9pFgy3lx2E,1087
439
- phanterpwa-14.1.3.dist-info/METADATA,sha256=KoDGePAKbm-zWu2wefpXz9zqdIDH01R5togATZoFr-I,1938
440
- phanterpwa-14.1.3.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
441
- phanterpwa-14.1.3.dist-info/dependency_links.txt,sha256=Pslekmz-4l1SpBO0x2aYkYZPCScmbrB9HUq1YvXYUzM,40
442
- phanterpwa-14.1.3.dist-info/entry_points.txt,sha256=siJH2lFXIdsUBDRgcXV4blOb2_iku1vcbqxJ-trIQrw,56
443
- phanterpwa-14.1.3.dist-info/top_level.txt,sha256=nF1WJ8AByxBv3bLKp3xySR2l2Twrj5n5n7C404lULSk,5319
444
- phanterpwa-14.1.3.dist-info/RECORD,,
438
+ phanterpwa-14.1.4.dist-info/LICENSE,sha256=lGEW1PRSZOkug2-d0IJgryCjqt6zhxN5x9pFgy3lx2E,1087
439
+ phanterpwa-14.1.4.dist-info/METADATA,sha256=e7YQXGCKRMhtMx_ZpWZFK8BLaTWqASRnSRCB1wmsITU,1938
440
+ phanterpwa-14.1.4.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
441
+ phanterpwa-14.1.4.dist-info/dependency_links.txt,sha256=Pslekmz-4l1SpBO0x2aYkYZPCScmbrB9HUq1YvXYUzM,40
442
+ phanterpwa-14.1.4.dist-info/entry_points.txt,sha256=siJH2lFXIdsUBDRgcXV4blOb2_iku1vcbqxJ-trIQrw,56
443
+ phanterpwa-14.1.4.dist-info/top_level.txt,sha256=nF1WJ8AByxBv3bLKp3xySR2l2Twrj5n5n7C404lULSk,5319
444
+ phanterpwa-14.1.4.dist-info/RECORD,,