phanterpwa 14.1.4__py3-none-any.whl → 14.2.0__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 +1 -1
- phanterpwa/backend/decorators.py +0 -6
- {phanterpwa-14.1.4.dist-info → phanterpwa-14.2.0.dist-info}/METADATA +1 -1
- {phanterpwa-14.1.4.dist-info → phanterpwa-14.2.0.dist-info}/RECORD +9 -9
- {phanterpwa-14.1.4.dist-info → phanterpwa-14.2.0.dist-info}/LICENSE +0 -0
- {phanterpwa-14.1.4.dist-info → phanterpwa-14.2.0.dist-info}/WHEEL +0 -0
- {phanterpwa-14.1.4.dist-info → phanterpwa-14.2.0.dist-info}/dependency_links.txt +0 -0
- {phanterpwa-14.1.4.dist-info → phanterpwa-14.2.0.dist-info}/entry_points.txt +0 -0
- {phanterpwa-14.1.4.dist-info → phanterpwa-14.2.0.dist-info}/top_level.txt +0 -0
phanterpwa/__init__.py
CHANGED
phanterpwa/backend/decorators.py
CHANGED
@@ -167,7 +167,6 @@ def check_client_token(ignore_locked=True):
|
|
167
167
|
self.projectConfig['BACKEND'][self.app_name]['secret_key'],
|
168
168
|
self.projectConfig['BACKEND'][self.app_name]['default_time_client_token_expire']
|
169
169
|
)
|
170
|
-
self.DALDatabase._adapter.reconnect()
|
171
170
|
q = self.DALDatabase(self.DALDatabase.client.token == self.phanterpwa_client_token).select().first()
|
172
171
|
if q:
|
173
172
|
token_content = None
|
@@ -316,7 +315,6 @@ def check_cas_token(ignore_locked=True):
|
|
316
315
|
self.projectConfig['BACKEND'][self.app_name]['secret_key'],
|
317
316
|
self.projectConfig['BACKEND'][self.app_name]['default_time_cas_token_expire']
|
318
317
|
)
|
319
|
-
self.DALDatabase._adapter.reconnect()
|
320
318
|
q = self.DALDatabase(self.DALDatabase.apps_authorization.authorization == self.phanterpwa_cas_authorization).select().first()
|
321
319
|
if q:
|
322
320
|
token_content = None
|
@@ -415,7 +413,6 @@ def check_url_token(ignore_user_agent=False):
|
|
415
413
|
self.projectConfig['BACKEND'][self.app_name]['secret_key'],
|
416
414
|
salt="url_secret_key"
|
417
415
|
)
|
418
|
-
self.DALDatabase._adapter.reconnect()
|
419
416
|
token_content = None
|
420
417
|
try:
|
421
418
|
token_content = t.loads(self.phanterpwa_url_token)
|
@@ -523,7 +520,6 @@ def check_public_csrf_token(form_identify=None, ignore_locked=True):
|
|
523
520
|
token_content = None
|
524
521
|
if token_content:
|
525
522
|
if 'id' in token_content:
|
526
|
-
self.DALDatabase._adapter.reconnect()
|
527
523
|
q = self.DALDatabase(self.DALDatabase.csrf.id == token_content["id"]).select().first()
|
528
524
|
if q:
|
529
525
|
if (q.token == self.phanterpwa_csrf_token) and\
|
@@ -783,7 +779,6 @@ def check_user_token(ignore_activation=False):
|
|
783
779
|
id_user = token_content['id']
|
784
780
|
self.phanterpwa_user_token_checked = token_content
|
785
781
|
if id_user:
|
786
|
-
self.DALDatabase._adapter.reconnect()
|
787
782
|
q_user = self.DALDatabase(self.DALDatabase.auth_user.id == id_user).select().first()
|
788
783
|
self.phanterpwa_current_user = q_user
|
789
784
|
q_user_groups = self.DALDatabase(
|
@@ -1056,7 +1051,6 @@ def requires_no_authentication(ids=None, ignore_locked=True):
|
|
1056
1051
|
id_user = token_content['id']
|
1057
1052
|
self.phanterpwa_user_token_checked = token_content
|
1058
1053
|
if id_user:
|
1059
|
-
self.DALDatabase._adapter.reconnect()
|
1060
1054
|
q_user = self.DALDatabase(self.DALDatabase.auth_user.id == id_user).select().first()
|
1061
1055
|
self.phanterpwa_current_user = q_user
|
1062
1056
|
q_client = self.DALDatabase(
|
@@ -1,4 +1,4 @@
|
|
1
|
-
phanterpwa/__init__.py,sha256=
|
1
|
+
phanterpwa/__init__.py,sha256=HWxbVr_OHyhqqexaABMjm9vQhDlqW76vL1MiJTossTI,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
|
@@ -11,7 +11,7 @@ phanterpwa/tools.py,sha256=X_R_pWIegts8rNmDwVI_MmJ9PyXr5H64IrB2jXX9twc,46596
|
|
11
11
|
phanterpwa/xmlconstructor.py,sha256=DMtc9BXI2NMGGmLszZXh2A63Iv0D1qgoWtn0aKyrmoo,162695
|
12
12
|
phanterpwa/backend/__init__.py,sha256=zB8rm2I9O3f448YsuaupgBlAoqZAiVM5vEoWnOOGvdw,68
|
13
13
|
phanterpwa/backend/dataforms.py,sha256=Silp0p-QaZkSz69oq2NZdlM7beH4v-JIsOW5RKEn1xg,64951
|
14
|
-
phanterpwa/backend/decorators.py,sha256=
|
14
|
+
phanterpwa/backend/decorators.py,sha256=dvY6YkFm8gz8pWoShO6XYIssq9GLNrgaorFIYUstxxw,55764
|
15
15
|
phanterpwa/backend/security.py,sha256=USPky7nqTKASAN60yYs7-NnoR82LMZlf9aGlfz1QbXM,1300
|
16
16
|
phanterpwa/backend/pydal/__init__.py,sha256=lpPDHcS9anJ5ceRSW9fBVuAgKK5qtjSoMsVjp3_nCdw,55
|
17
17
|
phanterpwa/backend/pydal/auth.py,sha256=fvRI4vyjjl0ZBuCGjcinp4mVd8sU4Wd1skLoHX_ter8,8606
|
@@ -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.
|
439
|
-
phanterpwa-14.
|
440
|
-
phanterpwa-14.
|
441
|
-
phanterpwa-14.
|
442
|
-
phanterpwa-14.
|
443
|
-
phanterpwa-14.
|
444
|
-
phanterpwa-14.
|
438
|
+
phanterpwa-14.2.0.dist-info/LICENSE,sha256=lGEW1PRSZOkug2-d0IJgryCjqt6zhxN5x9pFgy3lx2E,1087
|
439
|
+
phanterpwa-14.2.0.dist-info/METADATA,sha256=DB8y1lGnHFN1bqpxtqpZuGzS0ht2WQGIfJRytYgg0CQ,1938
|
440
|
+
phanterpwa-14.2.0.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
|
441
|
+
phanterpwa-14.2.0.dist-info/dependency_links.txt,sha256=Pslekmz-4l1SpBO0x2aYkYZPCScmbrB9HUq1YvXYUzM,40
|
442
|
+
phanterpwa-14.2.0.dist-info/entry_points.txt,sha256=siJH2lFXIdsUBDRgcXV4blOb2_iku1vcbqxJ-trIQrw,56
|
443
|
+
phanterpwa-14.2.0.dist-info/top_level.txt,sha256=nF1WJ8AByxBv3bLKp3xySR2l2Twrj5n5n7C404lULSk,5319
|
444
|
+
phanterpwa-14.2.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|