yeref 0.29.56__tar.gz → 0.29.59__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: yeref
3
- Version: 0.29.56
3
+ Version: 0.29.59
4
4
  Summary: desc-f
5
5
  Author: john smith
6
6
  Dynamic: author
@@ -2,7 +2,7 @@ from setuptools import setup
2
2
 
3
3
  setup(
4
4
  name='yeref',
5
- version='0.29.56',
5
+ version='0.29.59',
6
6
  description='desc-f',
7
7
  author='john smith',
8
8
  packages=['yeref'],
@@ -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} [UTC: {1}]",
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}]",
@@ -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"{'tid'}-{chat_id}".encode('utf-8'), digest_size=4).hexdigest()
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"{'tid'}-{chat_id}".encode('utf-8'), digest_size=4).hexdigest()
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')]))
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: yeref
3
- Version: 0.29.56
3
+ Version: 0.29.59
4
4
  Summary: desc-f
5
5
  Author: john smith
6
6
  Dynamic: author
File without changes
File without changes
File without changes
File without changes