yeref 0.29.56__py3-none-any.whl → 0.29.59__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.
- yeref/l_.py +1 -1
- yeref/yeref.py +4 -2
- {yeref-0.29.56.dist-info → yeref-0.29.59.dist-info}/METADATA +1 -1
- yeref-0.29.59.dist-info/RECORD +8 -0
- yeref-0.29.56.dist-info/RECORD +0 -8
- {yeref-0.29.56.dist-info → yeref-0.29.59.dist-info}/WHEEL +0 -0
- {yeref-0.29.56.dist-info → yeref-0.29.59.dist-info}/top_level.txt +0 -0
yeref/l_.py
CHANGED
@@ -5798,7 +5798,7 @@ l_work_finish = {
|
|
5798
5798
|
'ar': "👩🏽💻 <b>الحالية</b> /قيمة العمل: {0}\n\n<code>/العمل 09:00 21:00</code> ساعات العمل\n<code>/العمل 0< /code> خيار التعطيل\n\n⚙️ الأوامر /cmd",
|
5799
5799
|
}
|
5800
5800
|
l_work_msg = {
|
5801
|
-
'ru': "👩🏽💻 <b>Часы</b> работы группы: {0}
|
5801
|
+
'ru': "👩🏽💻 <b>Часы</b> работы группы: {0}-{1}",
|
5802
5802
|
'en': "👩🏽💻 <b>Hours</b> of the group: {0} [UTC: {1}]",
|
5803
5803
|
'es': "👩🏽💻 <b>Horario</b> del grupo: {0} [UTC: {1}]",
|
5804
5804
|
'fr': "👩🏽💻 <b>Heures</b> du groupe : {0} [UTC : {1}]",
|
yeref/yeref.py
CHANGED
@@ -2586,6 +2586,7 @@ async def db_select_pg(sql, param=None, db_pool=None, db_config=None):
|
|
2586
2586
|
elif "SELECT NOTICE_ID, NOTICE_TYPE, NOTICE_TXT" in sql: pass
|
2587
2587
|
elif "<= NOW()" in sql: pass
|
2588
2588
|
elif "_LZ FROM" in sql: pass
|
2589
|
+
elif "GROUPP_CWORKPERMISSIONS FROM" in sql: pass
|
2589
2590
|
else:
|
2590
2591
|
logger.info(log_ % f"SQL: {sql}, PARAM: {param}")
|
2591
2592
|
else:
|
@@ -7799,7 +7800,7 @@ async def upd_user_data_main(data, web_app_init_data, BASE_P, BOT_TOKEN_E18B, re
|
|
7799
7800
|
if not USER_DT:
|
7800
7801
|
USER_DT = now_
|
7801
7802
|
USER_VARS['USER_DT'] = USER_DT.strftime("%d-%m-%Y_%H-%M-%S")
|
7802
|
-
USER_HID = hashlib.blake2b(f"{
|
7803
|
+
USER_HID = hashlib.blake2b(f"{chat_id}-{chat_id}".encode('utf-8'), digest_size=4).hexdigest()
|
7803
7804
|
if utm: USER_VARS['USER_UTM'] = utm
|
7804
7805
|
|
7805
7806
|
USER_LSTS["USER_DAU"] = list(set(USER_LSTS.get("USER_DAU", []) + [now_.strftime('%Y-%m-%d')]))
|
@@ -7958,9 +7959,10 @@ async def upd_user_data(ENT_TID, data, web_app_init_data, PROJECT_USERNAME, BASE
|
|
7958
7959
|
if not USER_DT:
|
7959
7960
|
USER_DT = now_
|
7960
7961
|
USER_VARS['USER_DT'] = USER_DT.strftime("%d-%m-%Y_%H-%M-%S")
|
7961
|
-
USER_HID = hashlib.blake2b(f"{
|
7962
|
+
USER_HID = hashlib.blake2b(f"{tid}-{chat_id}".encode('utf-8'), digest_size=4).hexdigest()
|
7962
7963
|
if req_url: USER_VARS['USER_UTM'] = req_url
|
7963
7964
|
if not USER_HID: USER_HID = hashlib.blake2b(f"{tid}-{chat_id}".encode('utf-8'), digest_size=4).hexdigest()
|
7965
|
+
USER_HID = hashlib.blake2b(f"{tid}-{chat_id}".encode('utf-8'), digest_size=4).hexdigest()
|
7964
7966
|
|
7965
7967
|
print(f"out {USER_VARS=}")
|
7966
7968
|
USER_LSTS["USER_DAU"] = list(set(USER_LSTS.get("USER_DAU", []) + [now_.strftime('%Y-%m-%d')]))
|
@@ -0,0 +1,8 @@
|
|
1
|
+
yeref/__init__.py,sha256=Qpv3o6Xa78VdLcsSRmctGtpnYE9btpAkCekgGhgJyXM,49
|
2
|
+
yeref/l_.py,sha256=N72kYwTRrrbvPlatVurBJCoD70q-Gx4Fnol45qkC7NY,659938
|
3
|
+
yeref/tonweb.js,sha256=Jf6aFOQ1OIY4q7fINYz-m5LsI3seMus124M5SYYZmtE,443659
|
4
|
+
yeref/yeref.py,sha256=4VCnq_8fwD9Q9fsI7cVmJcgVkcInR_KKjun4bXDuQ9g,1048163
|
5
|
+
yeref-0.29.59.dist-info/METADATA,sha256=3bUzX8AaLTmlflOmuHptUhcYWCathm--lG9ty6XoDB0,119
|
6
|
+
yeref-0.29.59.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
7
|
+
yeref-0.29.59.dist-info/top_level.txt,sha256=yCQKchWHbfV-3OuQPYRdi2loypD-nmbDJbtt3OuKKkY,6
|
8
|
+
yeref-0.29.59.dist-info/RECORD,,
|
yeref-0.29.56.dist-info/RECORD
DELETED
@@ -1,8 +0,0 @@
|
|
1
|
-
yeref/__init__.py,sha256=Qpv3o6Xa78VdLcsSRmctGtpnYE9btpAkCekgGhgJyXM,49
|
2
|
-
yeref/l_.py,sha256=JWdCUJfcEE_j3waUZqscrzXHS1ydaP2DyYsy_nxd8q8,659945
|
3
|
-
yeref/tonweb.js,sha256=Jf6aFOQ1OIY4q7fINYz-m5LsI3seMus124M5SYYZmtE,443659
|
4
|
-
yeref/yeref.py,sha256=7NICMe9GXl778w52FZnkzi4tqGPkW1ZLDRs0rHEgJsY,1047996
|
5
|
-
yeref-0.29.56.dist-info/METADATA,sha256=MvpYfRYagol4AGSSu7XIQlwdgyDNDG3zPSLxEVCu3XU,119
|
6
|
-
yeref-0.29.56.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
7
|
-
yeref-0.29.56.dist-info/top_level.txt,sha256=yCQKchWHbfV-3OuQPYRdi2loypD-nmbDJbtt3OuKKkY,6
|
8
|
-
yeref-0.29.56.dist-info/RECORD,,
|
File without changes
|
File without changes
|