phanterpwa 14.1.4__py3-none-any.whl → 14.3.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/frontend/components/widgets.py +1 -0
- {phanterpwa-14.1.4.dist-info → phanterpwa-14.3.0.dist-info}/METADATA +1 -1
- {phanterpwa-14.1.4.dist-info → phanterpwa-14.3.0.dist-info}/RECORD +10 -10
- {phanterpwa-14.1.4.dist-info → phanterpwa-14.3.0.dist-info}/LICENSE +0 -0
- {phanterpwa-14.1.4.dist-info → phanterpwa-14.3.0.dist-info}/WHEEL +0 -0
- {phanterpwa-14.1.4.dist-info → phanterpwa-14.3.0.dist-info}/dependency_links.txt +0 -0
- {phanterpwa-14.1.4.dist-info → phanterpwa-14.3.0.dist-info}/entry_points.txt +0 -0
- {phanterpwa-14.1.4.dist-info → phanterpwa-14.3.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(
|
@@ -4458,6 +4458,7 @@ class TableHead(Widget):
|
|
4458
4458
|
|
4459
4459
|
if class_base not in x.attributes['_class']:
|
4460
4460
|
x.attributes['_class'] = "{0} {1}".format(x.attributes['_class'], class_base)
|
4461
|
+
self.__child_html.append(x)
|
4461
4462
|
else:
|
4462
4463
|
x.attributes['_class'] = class_base
|
4463
4464
|
self.__child_html.append(x)
|
@@ -1,4 +1,4 @@
|
|
1
|
-
phanterpwa/__init__.py,sha256=
|
1
|
+
phanterpwa/__init__.py,sha256=Q5dBdSRCcyKlTmc0zur2h74vCPjwMIfTBt_b2D99OsQ,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
|
@@ -109,7 +109,7 @@ phanterpwa/frontend/components/modal.py,sha256=q4v2z3HUS58lJ49E6ZWCEkSRVXy7kMiy5
|
|
109
109
|
phanterpwa/frontend/components/pagination.py,sha256=IJIyReYbKRj4OTVsZbNiCMfSOIq7qSLpFTF9qQdPbFM,791
|
110
110
|
phanterpwa/frontend/components/snippets.py,sha256=fm-QPIJ_Mv8fSHsS3UK8Bq8Iw_ziaECwEr-VjcaiPQw,4060
|
111
111
|
phanterpwa/frontend/components/top_slide.py,sha256=ReB0z63I9HjT8iq6ZfNB56KoZLzBxdfcFCIw7QjRQvU,3175
|
112
|
-
phanterpwa/frontend/components/widgets.py,sha256=
|
112
|
+
phanterpwa/frontend/components/widgets.py,sha256=64XqTV6gBYQLqdXWqlvFgSHvClWfIrvJe-uKU1-Oo7s,264285
|
113
113
|
phanterpwa/frontend/plugins/client.py,sha256=0x1HmGq6-WAap9RGl2szQj1GXClyGVtnznuYMwpUdb8,27481
|
114
114
|
phanterpwa/gallery/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
115
115
|
phanterpwa/gallery/cutter.py,sha256=0-VnFa3aQ5XgNmA4P3BsL-_04IwkjrgHImKIrL3qViM,7789
|
@@ -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.3.0.dist-info/LICENSE,sha256=lGEW1PRSZOkug2-d0IJgryCjqt6zhxN5x9pFgy3lx2E,1087
|
439
|
+
phanterpwa-14.3.0.dist-info/METADATA,sha256=L_I65NBMzsbnWAxgGIsC_1SSShFs3qbVyF8ZPe_JEfc,1938
|
440
|
+
phanterpwa-14.3.0.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
|
441
|
+
phanterpwa-14.3.0.dist-info/dependency_links.txt,sha256=Pslekmz-4l1SpBO0x2aYkYZPCScmbrB9HUq1YvXYUzM,40
|
442
|
+
phanterpwa-14.3.0.dist-info/entry_points.txt,sha256=siJH2lFXIdsUBDRgcXV4blOb2_iku1vcbqxJ-trIQrw,56
|
443
|
+
phanterpwa-14.3.0.dist-info/top_level.txt,sha256=nF1WJ8AByxBv3bLKp3xySR2l2Twrj5n5n7C404lULSk,5319
|
444
|
+
phanterpwa-14.3.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|