MCPcopy Create free account

hub / github.com/YunoHost/yunohost / types & classes

Types & classes170 in github.com/YunoHost/yunohost

↓ 201 callersClassYunohostError
src/utils/error.py:27
↓ 198 callersClassYunohostValidationError
src/utils/error.py:66
↓ 14 callersClassAppResourceManager
src/utils/resources.py:41
↓ 11 callersClassOperationLogger
Instances of this class represents unit operation done on the ynh instance. Each time an action of the yunohost cli/api change the system, o
src/log.py:595
↓ 9 callersClassYunoFirewall
src/firewall.py:55
↓ 9 callersClassYunohostAuthenticationError
src/utils/error.py:73
↓ 4 callersClassAppConfigPanel
src/app.py:2319
↓ 4 callersClassSettingsConfigPanel
src/settings.py:135
↓ 3 callersClassLDAPInterface
src/utils/ldap.py:123
↓ 3 callersClassLogPipe
src/utils/process.py:133
↓ 2 callersClassAppCoreConfigPanel
src/app.py:2477
↓ 2 callersClassBackupRestoreTargetsManager
BackupRestoreTargetsManager manage the targets in BackupManager and RestoreManager
src/backup.py:96
↓ 2 callersClassDomainConfigPanel
src/domain.py:753
↓ 2 callersClassRedactingFormatter
src/log.py:554
↓ 2 callersClassUdisks2Manager
src/utils/udisks2_interfaces.py:110
↓ 2 callersClassYunoUPnP
src/firewall.py:204
↓ 1 callersClassAnyStringWith
tests/test_app_catalog.py:62
↓ 1 callersClassBackupManager
This class collect files to backup in a list and apply one or several backup method on it. The list contains dict with source and dest p
src/backup.py:218
↓ 1 callersClassConfigPanelModel
This is the 'root' level of the config panel toml file #### Examples ```toml version = 1.0 [config] # …refer to Panels doc
src/utils/configpanel.py:255
↓ 1 callersClassDiskResult
src/utils/udisks2_interfaces.py:94
↓ 1 callersClassDummyInterface
tests/conftest.py:107
↓ 1 callersClassLogAptStatusToProgressBar
src/utils/system.py:365
↓ 1 callersClassOptionsModel
src/utils/form.py:1941
↓ 1 callersClassPasswordValidator
src/utils/password.py:85
↓ 1 callersClassRestoreManager
RestoreManager allow to restore a past backup archive Currently it's a tar file, but it could be another kind of archive Public propert
src/backup.py:839
↓ 1 callersClassSSELogStreamingHandler
src/utils/sse.py:123
↓ 1 callersClassServer
tests/test_helpers.py:50
ClassAction
Command line action.
doc/generate_zsh_completion.py:94
ClassAlertOption
Alerts displays a important message with a level of severity. You can use markdown in `ask` but will only be rendered in the web-admin.
src/utils/form.py:492
ClassAppCatalog
src/app_catalog.py:59
ClassAppInfo
src/app.py:106
ClassAppOption
Ask for a user app. Renders as a select in the web-admin and as a regular prompt in CLI with autocompletion of installed apps. #### Exam
src/utils/form.py:1722
ClassAppPermInfos
src/permission.py:64
ClassAppRequirementCheckResult
src/utils/app_utils.py:898
ClassAppResource
src/utils/resources.py:143
ClassAppUpgradeInfos
src/app.py:301
ClassAptDependenciesAppResource
Create a virtual package in apt, depending on the list of specified packages that the app needs. The virtual packages is called `$app-ynh-deps` (
src/utils/resources.py:1167
ClassAtaController
src/utils/udisks2_interfaces.py:457
ClassAtaDisk
src/utils/udisks2_interfaces.py:853
ClassAuthenticator
src/authenticators/ldap_admin.py:64
ClassAuthenticator
src/authenticators/ldap_ynhuser.py:193
ClassAvailableUpdatesInfos
src/tools.py:345
ClassBackupMethod
BackupMethod is an abstract class that represents a way to backup and restore a list of files. Daughters of this class can be used by a
src/backup.py:1487
ClassBaseChoicesOption
src/utils/form.py:1463
ClassBaseInputOption
Rest of the option types available are considered `inputs`. #### Example ```toml [section.my_option_id] type = "string" # …
src/utils/form.py:589
ClassBaseOption
Options are fields declaration that renders as form items, button, alert or text in the web-admin and printed or prompted in CLI. They are us
src/utils/form.py:327
ClassBaseReadonlyOption
src/utils/form.py:448
ClassBaseStringOption
src/utils/form.py:752
ClassBaseTest
tests/test_questions.py:440
ClassBooleanOption
Ask for a boolean. Renders as a switch in the web-admin and a yes/no prompt in CLI. #### Example ```toml [section.my_option_id]
src/utils/form.py:1007
ClassButtonOption
Triggers actions. Available only in config panels. Renders as a `button` in the web-admin and can be called with `yunohost [app|domain|se
src/utils/form.py:530
ClassCase
Details of dynamic argument completion function.
doc/generate_zsh_completion.py:88
ClassCategory
Command line category. Categories have different level: - level 1: main category, e.g. `yunohost user` - level 2: sub-categ
doc/generate_zsh_completion.py:102
ClassColorOption
Ask for a color represented as a hex value (with possibly an alpha channel). Renders as color picker in the web-admin and as a prompt that ac
src/utils/form.py:876
ClassComposerAppResource
Installs a composer version to be used by the app You may then use `ynh_composer_exec` in your script to run composer actions Note that
src/utils/resources.py:1956
ClassConfig
src/utils/configpanel.py:136
ClassConfig
src/utils/configpanel.py:220
ClassConfig
src/utils/configpanel.py:280
ClassConfig
src/utils/form.py:390
ClassConfig
src/utils/form.py:2003
ClassConfigPanel
src/utils/configpanel.py:420
ClassContainerModel
src/utils/configpanel.py:75
ClassCopyBackupMethod
This class just do an uncompress copy of each file in a location, and could be the inverse for restoring
src/backup.py:1784
ClassCustomBackupMethod
This class use a bash script/hook "backup_method" to do the backup/restore operations. A user can add his own hook inside /etc/yunohost/h
src/backup.py:2020
ClassDNSRecord
src/dns.py:106
ClassDatabaseAppResource
Initialize a database, either using MySQL or Postgresql. Relevant DB infos are stored in settings `$db_name`, `$db_user` and `$db_pwd`. NB:
src/utils/resources.py:1478
ClassDatadirAppResource
Creates a directory to be used by the app as the data store directory, typically where the app multimedia or large assets added by users are loca
src/utils/resources.py:1047
ClassDateOption
Ask for a date in the form `"2025-06-14"`. Renders as a date-picker in the web-admin and a regular prompt in CLI. Can also take a timest
src/utils/form.py:1134
ClassDiagnoser
src/diagnosis.py:400
ClassDisk
src/utils/udisks2_interfaces.py:226
ClassDiskState
https://github.com/storaged-project/udisks/issues/1352#issuecomment-2678874537
src/disk.py:27
ClassDisplayTextOption
Display simple multi-line content. #### Example ```toml [section.my_option_id] type = "display_text" ask = "Simple text ren
src/utils/form.py:452
ClassDomainInfo
src/domain.py:202
ClassDomainList
src/domain.py:150
ClassDomainOption
Ask for a user domain. Renders as a select in the web-admin and as a regular prompt in CLI with autocompletion of registered domains. ##
src/utils/form.py:1667
ClassDummyAppResource
tests/test_app_resources.py:40
ClassEmailOption
Ask for an email. Validation made with [python-email-validator](https://github.com/JoshData/python-email-validator) #### Example ```tom
src/utils/form.py:1206
ClassFileOption
r""" Ask for file. Renders a file prompt in the web-admin and ask for a path in CLI. #### Example ```toml [section.my_option_id]
src/utils/form.py:1315
ClassFormModel
Base form on which dynamic forms are built upon Options.
src/utils/form.py:1998
ClassFunction
Details of a helper function.
doc/generate_zsh_completion.py:81
ClassGetDisksMixin
src/utils/udisks2_interfaces.py:68
ClassGoAppResource
Installs a go version to be used by the app, using "goenv" Sourcing the helpers will then automatically tweak the `PATH` variable such that
src/utils/resources.py:1846
ClassGroupOption
Ask for a group. Renders as a select in the web-admin and as a regular prompt in CLI with autocompletion of available groups. #### Examp
src/utils/form.py:1829
ClassHandler
tests/test_helpers.py:44
ClassInnerScenario
tests/test_questions.py:143
ClassInstalldirAppResource
Creates a directory to be used by the app as the installation directory, typically where the app sources and assets are located. The correspondin
src/utils/resources.py:927
ClassMarkdownOption
Display markdown multi-line content. Markdown is currently only rendered in the web-admin #### Example ```toml [section.my_opti
src/utils/form.py:468
ClassMigration
src/tools.py:1105
ClassMyDiagnoser
src/diagnosers/24-mail.py:40
ClassMyDiagnoser
src/diagnosers/30-services.py:27
ClassMyDiagnoser
src/diagnosers/00-basesystem.py:46
ClassMyDiagnoser
src/diagnosers/21-web.py:35
ClassMyDiagnoser
src/diagnosers/80-apps.py:34
ClassMyDiagnoser
src/diagnosers/14-ports.py:30
ClassMyDiagnoser
src/diagnosers/12-dnsrecords.py:49
ClassMyDiagnoser
src/diagnosers/10-ip.py:37
ClassMyDiagnoser
src/diagnosers/70-regenconf.py:30
ClassMyDiagnoser
src/diagnosers/50-systemresources.py:31
ClassMyMigration
src/migrations/0030_rebuild_python_venv_in_bookworm.py:24
ClassMyMigration
Rework the firewall configuration
src/migrations/0032_firewall_config.py:34
next →1–100 of 170, ranked by callers