/opt/imunify360/venv/lib/python3.11/site-packages/clcommon/__pycache__
NameSizeModeActions
clcagefs.cpython-311.pyc172630644editdlrm
clcaptain.cpython-311.pyc44100644editdlrm
clconfig.cpython-311.pyc32630644editdlrm
clconfpars.cpython-311.pyc191050644editdlrm
clcustomscript.cpython-311.pyc18970644editdlrm
cldebug.cpython-311.pyc13250644editdlrm
clemail.cpython-311.pyc24730644editdlrm
clexception.cpython-311.pyc17360644editdlrm
clfunc.cpython-311.pyc122330644editdlrm
clhook.cpython-311.pyc112290644editdlrm
cllog.cpython-311.pyc28500644editdlrm
cloutput.cpython-311.pyc8460644editdlrm
clproc.cpython-311.pyc91410644editdlrm
clpwd.cpython-311.pyc122610644editdlrm
clquota.cpython-311.pyc18290644editdlrm
clsec.cpython-311.pyc15890644editdlrm
clwpos_lib.cpython-311.pyc236420644editdlrm
const.cpython-311.pyc2930644editdlrm
evr_utils.cpython-311.pyc51310644editdlrm
features.cpython-311.pyc62330644editdlrm
group_info_reader.cpython-311.pyc66150644editdlrm
lock.cpython-311.pyc20190644editdlrm
mail_helper.cpython-311.pyc73770644editdlrm
mysql_lib.cpython-311.pyc102460644editdlrm
php_conf_reader.cpython-311.pyc115570644editdlrm
sysctl.cpython-311.pyc106710644editdlrm
ui_config.cpython-311.pyc47990644editdlrm
utils.cpython-311.pyc464610644editdlrm
utils_cmd.cpython-311.pyc42920644editdlrm
__init__.cpython-311.pyc15720644editdlrm
Edit: /opt/imunify360/venv/lib/python3.11/site-packages/clcommon/__pycache__/features.cpython-311.pyc (6233B)
§ YV£/! Ô¾ãó$—UddlZddlmZddlmZmZmZmZddlm Z Gd„de¦«Z e e ¦«Z e e e d<e je je jgZde e fd „Ze je je je jgZe je jgZe je je jgZgZe e e d <de e fd „Ze je je je jgZde e fd „Zde e fd „Z de!e e"ffd„Z#de e fd„Z$dZ%dZ&de'dzfd„Z(dS)éN)ÚStrEnum)Úis_cl_admin_editionÚis_cl_shared_pro_edition_safelyÚis_cl_solo_editionÚ is_container)Ú is_ubuntucóF—eZdZdZdZdZdZdZdZdZ dZ d Z d Z d Z d Zd ZdZdS)ÚFeaturezS Enum of available CloudLinux features that vendors can disable or enable. Ú php_selectorÚ ruby_selectorÚpython_selectorÚnodejs_selectorÚ mod_lsapiÚmysql_governorÚlveÚwizardÚcagefsÚreseller_limitsÚxrayÚ accelerate_wpÚ autotracingN)Ú__name__Ú __module__Ú __qualname__Ú__doc__Ú PHP_SELECTORÚ RUBY_SELECTORÚPYTHON_SELECTORÚNODEJS_SELECTORÚLSAPIÚGOVERNORÚLVEÚWIZARDÚCAGEFSÚRESELLER_LIMITSÚXRAYÚWPOSÚ AUTOTRACING©óúq/builddir/build/BUILD/imunify360-venv-2.6.3/opt/imunify360/venv/lib/python3.11/site-packages/clcommon/features.pyr r s[€€€€€ððð"€LØ#€MØ'€OØ'€OØ €EØ€HØ €CØ €FØ €FØ'€OØ €DØ €DØ€K€K€Kr*r ÚALL_CL_FEATURESÚreturncó0—t¦«rtSgS)z¸ Return overrides that are applied to the list of features depending on the current system base os. Right now we support two backends: rhel-like almalinux and ubuntu. )rÚ!UBUNTU_BASED_CL_FEATURES_DISABLEDr)r*r+Ú%_get_features_disabled_by_system_typer0.s€õ�{„{ð1Ý0Ð0Ø €Ir*ÚSHARED_PRO_CL_FEATURES_DISABLEDcó–—td¬¦«rtStd¬¦«rtSt ¦«rt St S)NT©Úskip_jwt_check)rÚSOLO_CL_FEATURES_DISABLEDrÚADMIN_CL_FEATURES_DISABLEDrr1ÚSHARED_CL_FEATURES_DISABLEDr)r*r+Ú!_get_features_disabled_by_licenser8OsN€Ý¨Ð.Ñ.Ô.ð+Ý(Ð(Ý ¨DÐ 1Ñ 1Ô 1ð+Ý)Ð)Ý (Ñ *Ô *ð+Ý.Ð.å*Ð*r*có0—t¦«rtSgS)zâ Return overrides that are applied to the list of features depending on the current system environment. Right now we support two envs: - bare metal or virtualized servers - virtuoso containers )rÚCONTAINER_CL_FEATURES_DISABLEDr)r*r+Ú%_get_features_disabled_by_environmentr;bs€õ�~„~ð.Ý-Ð-Ø €Ir*có6—ddlm}| ¦«S)Nr©Úcpapi)Úclcommonr>Úget_unsupported_featuresr=s r+Ú#get_control_panel_disabled_featuresrAps&€àÐÐÐÐÐà × )Ò )Ñ +Ô +Ð+r*có⇗t¦«}t¦«}t¦«}t¦«}t t j||||¦«¦«Šˆfd„tD¦«S)az Return dict of CloudLinux features that can be used on current system. The key is the feature name and the value is True if feature is allowed to be used and False otherwise. By default, all features are assumed to be supported later we check different conditions and turn off features that are not supported on current CloudLinux intallation. có•—i|]}||‰v“ŒSr)r))Ú.0ÚfeatureÚunsuppored_featuress €r+ú z-get_cl_feature_status_map..•s1ø€ð ð ð à ð �Ð 3Ð3ð ð ð r*)rAr0r8r;ÚsetÚ itertoolsÚchainr,)Úpanel_supported_featuresÚ features_disabled_by_system_typeÚfeatures_disabled_by_licenseÚ features_disabled_by_environmentrFs @r+Úget_cl_feature_status_maprOwsŒø€õ CÑDÔDÐÝ'LÑ'NÔ'NÐ$Ý#DÑ#FÔ#FÐ Ý'LÑ'NÔ'NÐ$åÝŒØ ,Ø (Ø ,Ø $ñ  ô ñôÐð ð ð ð å&ð ñ ô ðr*cóV—d„t¦« ¦«D¦«S)z, Return a list of enabled features. có—g|] \}}|¯|‘Œ Sr)r))rDrEÚis_feature_enableds r+ú z+get_cl_enabled_features..Ÿs3€ð ð ð á 'ˆGÐ'Ø ð Øð ð ð r*)rOÚitemsr)r*r+Úget_cl_enabled_featuresrU›s5€ð ð å+DÑ+FÔ+F×+LÒ+LÑ+NÔ+Nð ñ ô ðr*éécób—td¬¦«rtStd¬¦«rtSdS)zm Return the maximum number of hosting accounts that are currently allowed by CloudLinux license. Tr3N)rÚ!MAX_HOSTING_ACCOUNTS_SOLO_EDITIONrÚ"MAX_HOSTING_ACCOUNTS_ADMIN_EDITIONr)r*r+Úget_hosting_accounts_limitr[ªs;€õ ¨Ð.Ñ.Ô.ð2Ý0Ð0Ý ¨DÐ 1Ñ 1Ô 1ð2Ý1Ð1Ø ˆ4r*))rIÚenumrÚclcommon.lib.cleditionrrrrÚclcommon.utilsrr Úlistr,Ú__annotations__rrrr/r0r!r"r%r5r6r&r'r(r7r1r8r:r;rAÚdictÚboolrOrUrYrZÚintr[r)r*r+úrds\ðð ÐÐÐÐØÐÐÐÐÐððððððððððððð %Ð$Ð$Ð$Ð$Ð$ð ð ð ð ð ˆgñ ô ð ð("&  g¡¤€��g”Ð.Ð.Ñ.ð ÔØ ÔØ Ôð%Ð!ð ¨t°G¬}ð ð ð ð ð ÔØ ÔØ „KØ Ôð Ðð ÔØ ÔðÐð  „LØ „LØ ÔðÐð 24Р g¤Ð3Ð3Ñ3ð+¨4°¬=ð+ð+ð+ð+ð ÔØ ÔØ „KØ Ôð "Ðð ¨t°G¬}ð ð ð ð ð,¨T°'¬]ð,ð,ð,ð,ð! 4¨°¨ Ô#6ð!ð!ð!ð!ðH  g¤ððððð%&Ð!Ø%&Ð"ð  C¨$¡Jð ð ð ð ð ð r*