Files
project_v19/custom_subscriptions/controllers/__pycache__/main.cpython-312.pyc
T

16 lines
1.8 KiB
Plaintext
Raw Normal View History

2026-07-01 14:41:49 +07:00
Ë
ÿúãóFddlmZddlmZGddej«Zy)é)Úhttp)ÚrequestcóFeZdZejddddg¬«d«Zy)ÚAppSelectorControllerz(/custom_subscriptions/get_available_appsÚjsonÚuserÚPOST)ÚtypeÚauthÚmethodsc óˆtjdj«jddddgd¢fgd¬«}i}|D]€}|jj
xsd}||vrg||<||j
|j|j
|jxsd |jxrd
|jd xsd d
œ«Œ‚|S)z
Securely fetches uninstalled apps for the selector.
auth='user' ensures only logged-in users can access.
zir.module.module)Ústateú uninstalled)Ú applicationrnameznot in)ÚwebÚbaseÚcustom_subscriptionsÚmail)ÚorderÚOtherÚz/web/image/ir.module.module/z /icon_imagez/web/static/img/placeholder.png)ÚidrÚ shortdescÚicon)
rÚenvÚsudoÚsearchÚ category_idrÚappendrrÚ
icon_image)ÚselfÚmodulesÚ
categoriesÚmodÚcats ú:/mnt/extra-addons/custom_subscriptions/controllers/main.pyÚget_available_appsz(AppSelectorController.get_available_appsô—+‘+Ð8×
 A
ðð @óˆð ˆ
Øò ˆ—//×1¨'ˆ˜$Ø"$