Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/YunoHost/yunohost
/ functions
Functions
1,520 in github.com/YunoHost/yunohost
⨍
Functions
1,520
◇
Types & classes
170
↳
Endpoints
32
↓ 2 callers
Method
__init__
( self, id: str, name: Translation | None = None, services: list[str] = [],
src/utils/configpanel.py:231
↓ 2 callers
Function
_actual_apps_catalog_api_url
(base_url: str)
src/app_catalog.py:172
↓ 2 callers
Function
_app_upgrade_infos
(app: str, current_version: str | None = None)
src/app.py:316
↓ 2 callers
Function
_apt_log_line_is_relevant
(line: str)
src/utils/system.py:446
↓ 2 callers
Method
_ask
( self, config: ConfigPanelModel, form: "FormModel", prefilled_answers: dict[s
src/utils/configpanel.py:851
↓ 2 callers
Function
_assert_correct_values
(options, form, raw_options)
tests/test_questions.py:1977
↓ 2 callers
Method
_base_value_post_validator
( cls, value: Any, field: "ModelField" )
src/utils/form.py:1375
↓ 2 callers
Function
_certificate_install_letsencrypt
(domains, force=False, no_checks=False)
src/certificate.py:256
↓ 2 callers
Function
_certificate_install_selfsigned
(domain_list, force=False)
src/certificate.py:153
↓ 2 callers
Function
_check_acme_challenge_configuration
(domain)
src/certificate.py:495
↓ 2 callers
Method
_check_is_enough_free_space
Check free space in repository or output directory before to backup
src/backup.py:1642
↓ 2 callers
Function
_diagnosis_ignore
This action is meant for the admin to ignore issues reported by the diagnosis system if they are known and understood by the admin. For
src/diagnosis.py:231
↓ 2 callers
Function
_diagnosis_read_configuration
()
src/diagnosis.py:346
↓ 2 callers
Function
_diagnosis_write_configuration
(conf)
src/diagnosis.py:353
↓ 2 callers
Function
_disk_infos
(name: str, drive: dict, **kwargs)
src/disk.py:51
↓ 2 callers
Function
_dump_sources_list
()
src/utils/system.py:332
↓ 2 callers
Function
_dyndns_available
Checks if a domain is available on dyndns.yunohost.org Keyword arguments: domain -- The full domain that you'd like.. e.g. "foo.noho
src/dyndns.py:57
↓ 2 callers
Function
_email_renewing_failed
(domain, exception_message, stack="")
src/certificate.py:457
↓ 2 callers
Function
_enable_certificate
(domain, new_cert_folder)
src/certificate.py:746
↓ 2 callers
Method
_exposed_to_protos
(self, exposed: str | bool)
src/utils/resources.py:1410
↓ 2 callers
Function
_extract_app_from_gitrepo
( url: str, branch: str | None = None, revision: str = "HEAD", app_info: dict = {} )
src/utils/app_utils.py:847
↓ 2 callers
Function
_extract_inet
Extract IP addresses (v4 and/or v6) from a string limited to one address by protocol Keyword argument: string -- String to searc
src/utils/network.py:129
↓ 2 callers
Function
_fetch_and_enable_new_certificate
(domain, no_checks=False)
src/certificate.py:500
↓ 2 callers
Function
_filter
(lines)
src/log.py:301
↓ 2 callers
Function
_generate_account_key
()
src/certificate.py:725
↓ 2 callers
Function
_generate_key
(destination_path)
src/certificate.py:731
↓ 2 callers
Function
_get_DomainConfigPanel
()
src/domain.py:749
↓ 2 callers
Function
_get_absolute_url
For example transform: (/, domain.tld/) into domain.tld (no trailing /) (/api, domain.tld/nextcloud) i
src/permission.py:913
↓ 2 callers
Function
_get_all_venvs
Returns the list of all python virtual env directories recursively Arguments: dir - the directory to scan in maxlevel - the
src/migrations/0027_migrate_to_bookworm.py:64
↓ 2 callers
Function
_get_conflicting_apps
Return a list of all conflicting apps with a domain/path (it can be empty) Keyword argument: domain -- The domain for the web path (
src/utils/app_utils.py:1117
↓ 2 callers
Function
_get_domain_settings
(domain: str)
src/domain.py:983
↓ 2 callers
Method
_get_env_var
Define environment variables for apps or system backup scripts. Args: app -- (string|None) The instance name of the app we w
src/backup.py:570
↓ 2 callers
Function
_get_files_diff
Compare two files and return the differences Read and compare two files. The differences are returned either as a delta in unified diff forma
src/regenconf.py:503
↓ 2 callers
Function
_get_pending_conf
Get pending configuration for categories Iterate over the pending configuration directory for given categories - or all if empty - and look f
src/regenconf.py:558
↓ 2 callers
Function
_get_system_perms
()
src/permission.py:861
↓ 2 callers
Function
_get_user_infos
( user_attrs: list[str], )
src/portal.py:44
↓ 2 callers
Function
_git_clone_light
( dest_dir: str, url: str, branch: str | None = None, revision: str = "HEAD" )
src/utils/app_utils.py:747
↓ 2 callers
Function
_guess_webapp_path_requirement
(app_folder: str)
src/utils/app_utils.py:1043
↓ 2 callers
Function
_guess_who_started_process
(process: psutil.Process)
src/log.py:1012
↓ 2 callers
Method
_import_to_list_to_backup
Commit collected path from system hooks or app scripts Args: tmp_csv -- (string) Path to a temporary csv file with source an
src/backup.py:430
↓ 2 callers
Function
_import_update
(new_infos, old_infos=False)
src/user.py:923
↓ 2 callers
Function
_list_apps_with_upgrade_infos
( with_pre_upgrade_notifications: bool = True, )
src/tools.py:499
↓ 2 callers
Function
_load_migration
(migration_file: str)
src/tools.py:1011
↓ 2 callers
Function
_load_security_issues_list
()
src/app_catalog.py:370
↓ 2 callers
Method
_organize_files
Mount all csv src in their related path The goal is to organize the files app by app and hook by hook, before custom backup
src/backup.py:1660
↓ 2 callers
Function
_parse_app_doc_and_notifications
( path: Path, )
src/utils/app_utils.py:380
↓ 2 callers
Method
_port_is_used
(self, port)
src/utils/resources.py:1390
↓ 2 callers
Function
_save_regenconf_infos
Save the regen conf informations Keyword argument: categories -- A dict containing the regenconf infos
src/regenconf.py:486
↓ 2 callers
Function
_set_managed_dns_records_hashes
(domain: str, hashes: list)
src/dns.py:1025
↓ 2 callers
Function
_test_file_intake_may_fail
(raw_option, intake, expected_output)
tests/test_questions.py:1281
↓ 2 callers
Function
_update_admins_group_aliases
( old_main_domain: str | None, new_main_domain: str )
src/user.py:1659
↓ 2 callers
Function
_update_conf_hashes
Update the registered conf hashes for a category
src/regenconf.py:617
↓ 2 callers
Function
_validate_webpath_requirement
( args: dict[str, Any], path_requirement: str, ignore_app: str | None = None )
src/utils/app_utils.py:1097
↓ 2 callers
Method
_value_pre_validator
( cls, value: list[str] | str | None, field: "ModelField" )
src/utils/form.py:1632
↓ 2 callers
Function
add_ignore_flag_to_issues
Iterate over issues in a report, and flag them as ignored if they match an ignored filter from the configuration N.B. : for convenience.
src/diagnosis.py:374
↓ 2 callers
Function
anonymize_domain
(data: str, domain: str, redact: str)
src/utils/yunopaste.py:111
↓ 2 callers
Function
app_catalog
Return a dict of apps available to installation from Yunohost's app catalog
src/app_catalog.py:69
↓ 2 callers
Function
app_expected_files
(domain, app)
tests/test_apps.py:126
↓ 2 callers
Method
backup
Apply backup methods
src/backup.py:766
↓ 2 callers
Function
backup_delete
(name, display_success: bool = True)
src/backup.py:2502
↓ 2 callers
Function
build_form
Returns a dynamic pydantic model class that can be used as a form. Parsing/validation occurs at instanciation and assignements. To avoid
src/utils/form.py:2030
↓ 2 callers
Method
cache_file
(id_)
src/diagnosis.py:523
↓ 2 callers
Method
can_ping_outside
(self, protocol: int = 4)
src/diagnosers/10-ip.py:164
↓ 2 callers
Method
check_output_bash_snippet
(self, snippet, env={})
src/utils/resources.py:231
↓ 2 callers
Function
clean
()
tests/test_regenconf.py:49
↓ 2 callers
Function
clean
()
tests/test_app_resources.py:78
↓ 2 callers
Function
clean
()
tests/test_app_config.py:53
↓ 2 callers
Function
clean
()
tests/test_apps.py:54
↓ 2 callers
Function
clean
()
tests/test_service.py:44
↓ 2 callers
Function
clean
()
tests/test_dns.py:40
↓ 2 callers
Function
clean
()
tests/test_domains.py:87
↓ 2 callers
Method
clean
Umount sub directories of working dirextories and delete it if temporary
src/backup.py:1631
↓ 2 callers
Function
clean_tmp_backup_directory
()
tests/test_backuprestore.py:183
↓ 2 callers
Function
clean_user_groups
()
tests/test_user-group.py:46
↓ 2 callers
Function
clean_user_groups_permission
()
tests/test_permission.py:125
↓ 2 callers
Method
create
Factory method to create instance of BackupMethod Args: method -- (string) The method name of an existing BackupMethod. If t
src/backup.py:1533
↓ 2 callers
Function
delete_all_backups
()
tests/test_backuprestore.py:210
↓ 2 callers
Method
delete_legacy_permissions
(self)
src/migrations/0033_rework_permission_infos.py:148
↓ 2 callers
Method
delete_port
(self, protocol: str, port: int | str)
src/firewall.py:169
↓ 2 callers
Method
deprovision
(self, context: Dict = {})
src/utils/resources.py:1461
↓ 2 callers
Function
diagnosis_show
( categories=[], issues=False, full=False, share=False, human_readable=False )
src/diagnosis.py:71
↓ 2 callers
Function
dpkg_is_broken
()
src/utils/system.py:193
↓ 2 callers
Method
extract_app_from_venv_path
(self, venv_path: str)
src/migrations/python.py:64
↓ 2 callers
Method
garbage_collect_unused_versions
(self)
src/utils/resources.py:1699
↓ 2 callers
Method
garbage_collect_unused_versions
(self)
src/utils/resources.py:1828
↓ 2 callers
Method
garbage_collect_unused_versions
(self)
src/utils/resources.py:1926
↓ 2 callers
Function
generate_test_name
(intake, output, raw_option, data)
tests/test_questions.py:231
↓ 2 callers
Method
get_conflict
Check uniqueness of values Keyword arguments: value_dict -- Dictionnary of attributes/values to check Returns:
src/utils/ldap.py:396
↓ 2 callers
Function
get_current_operation
()
src/utils/sse.py:226
↓ 2 callers
Method
get_disks
(self)
src/utils/udisks2_interfaces.py:75
↓ 2 callers
Function
get_pending_mails_nb
Return number of pending mails in queue
src/utils/mail.py:25
↓ 2 callers
Method
get_public_ip
(self, protocol: int = 4)
src/diagnosers/10-ip.py:238
↓ 2 callers
Method
get_raw_option
(cls, raw_option={}, **kwargs)
tests/test_questions.py:461
↓ 2 callers
Method
i18n
(report, force_remove_html_tags=False)
src/diagnosis.py:552
↓ 2 callers
Function
init_i18n
Initialize the i18n locale dir and locale. This should only be called when not willing to go through moulinette.cli or moulinette.api but
src/__init__.py:159
↓ 2 callers
Function
install_changeurl_app
(path)
tests/test_changeurl.py:45
↓ 2 callers
Function
install_full_domain_app
(domain)
tests/test_apps.py:182
↓ 2 callers
Function
is_default_route
(route: str)
src/utils/network.py:73
↓ 2 callers
Function
is_installed
Returns whether YunoHost is installed on the system.
src/__init__.py:39
↓ 2 callers
Method
is_pending
(self)
src/migrations/python.py:98
← previous
next →
301–400 of 1,520, ranked by callers