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
↓ 1 callers
Method
_restore_apps
Restore all apps targeted
src/backup.py:1289
↓ 1 callers
Method
_restore_system
Restore user and system parts
src/backup.py:1218
↓ 1 callers
Method
_run_action
(self, form: "FormModel", action_id: str)
src/utils/configpanel.py:955
↓ 1 callers
Function
_set_default_ask_questions
(questions: dict[str, Any], script_name: str = "install")
src/utils/app_utils.py:548
↓ 1 callers
Function
_set_domain_settings
(domain: str, settings: dict)
src/domain.py:992
↓ 1 callers
Function
_set_hostname
Change the machine hostname using hostnamectl
src/tools.py:103
↓ 1 callers
Function
_skip_all_migrations
Skip all pending migrations. This is meant to be used during postinstall to initialize the migration system.
src/tools.py:1032
↓ 1 callers
Function
_tail
(n, file_path)
src/certificate.py:917
↓ 1 callers
Function
_test_intake
(raw_option, intake, expected_output)
tests/test_questions.py:425
↓ 1 callers
Function
_test_value_is_expected_output
Properly compares bools and None
tests/test_questions.py:415
↓ 1 callers
Function
_tools_migrations_run_after_system_restore
(backup_version: str)
src/tools.py:1045
↓ 1 callers
Function
_tools_migrations_run_before_app_restore
( backup_version, app_id, app_backup_in_archive )
src/tools.py:1074
↓ 1 callers
Function
_update_log_cache_symlinks
(since_days_ago=365)
src/log.py:85
↓ 1 callers
Function
_upgrade_single_app
( app_, current_manifest, new_manifest, workdir, no_safety_backup )
src/app.py:878
↓ 1 callers
Method
_write_csv
Write the backup list into a CSV The goal of this csv is to list all directories and files which need to be backup in this a
src/backup.py:470
↓ 1 callers
Function
add_archive_system_from_11p2
()
tests/test_backuprestore.py:239
↓ 1 callers
Function
add_archive_wordpress_from_11p2
()
tests/test_backuprestore.py:229
↓ 1 callers
Function
anonymize
(data: str)
src/utils/yunopaste.py:110
↓ 1 callers
Method
assert_enough_free_space
Check available disk space
src/backup.py:1167
↓ 1 callers
Function
autofix_i18n_placeholders
This tries for magically fix mismatch between en.json format and other.json format e.g. an i18n string with: source: "Lorem ipsum {
maintenance/autofix_locale_format.py:31
↓ 1 callers
Function
autofix_orthotypography_and_standardized_words
( locale: Locale, filename: str )
maintenance/autofix_locale_format.py:84
↓ 1 callers
Method
backports_in_sources_list
(self)
src/diagnosers/00-basesystem.py:230
↓ 1 callers
Function
backup_test_dependencies_are_met
()
tests/test_backuprestore.py:163
↓ 1 callers
Method
bad_sury_packages
(self)
src/diagnosers/00-basesystem.py:215
↓ 1 callers
Method
cached_time_ago
(self)
src/diagnosis.py:405
↓ 1 callers
Method
can_resolve_dns
(self)
src/diagnosers/10-ip.py:222
↓ 1 callers
Function
certificate_install
Install a Let's Encrypt certificate for given domains (all by default) Keyword argument: domain_list -- Domains on which to install
src/certificate.py:130
↓ 1 callers
Function
certificate_renew
Renew Let's Encrypt certificate for given domains (all by default) Keyword argument: domains -- Domains for which to renew the ce
src/certificate.py:325
↓ 1 callers
Method
check_assertions
(self)
src/migrations/0037_upgrade_dkim_keys.py:70
↓ 1 callers
Method
check_assertions
(self)
src/migrations/0027_migrate_to_bookworm.py:349
↓ 1 callers
Function
check_command_is_valid_before_postinstall
Asserts if the given command is valid before running postinstall, or exits 1
src/__init__.py:123
↓ 1 callers
Method
check_domain
( self, domain: str, is_main_domain: bool )
src/diagnosers/12-dnsrecords.py:83
↓ 1 callers
Method
check_expiration_date
Alert if expiration date of a domain is soon
src/diagnosers/12-dnsrecords.py:252
↓ 1 callers
Method
clean
End a restore operations by cleaning the working directory and regenerate ssowat conf (if some apps were restored)
src/backup.py:967
↓ 1 callers
Method
clear
(self)
src/firewall.py:200
↓ 1 callers
Method
close_ports
(self)
src/firewall.py:339
↓ 1 callers
Method
collect_files
Collect all files to backup, write its into a CSV and create a info.json file Files to backup are listed by system parts bac
src/backup.py:516
↓ 1 callers
Method
compute_todos
(self)
src/utils/resources.py:125
↓ 1 callers
Function
convert_categories
(categories, parent_category="")
doc/generate_api_doc.py:120
↓ 1 callers
Method
current_record_match_expected
(self, r: DNSRecord)
src/diagnosers/12-dnsrecords.py:199
↓ 1 callers
Method
db_exists
(self, db_name)
src/utils/resources.py:1543
↓ 1 callers
Function
debian_version_id
()
src/utils/system.py:55
↓ 1 callers
Function
decrypt
(data_enc_and_iv_b64: str)
src/authenticators/ldap_ynhuser.py:176
↓ 1 callers
Method
diagnose
(self, force=False)
src/diagnosis.py:415
↓ 1 callers
Function
diagnosis_ignore
(filter, list=False)
src/diagnosis.py:222
↓ 1 callers
Function
diagnosis_unignore
(filter)
src/diagnosis.py:227
↓ 1 callers
Method
disable
(self)
src/firewall.py:360
↓ 1 callers
Function
disk_info
(name, **kwargs)
src/disk.py:102
↓ 1 callers
Function
disk_list
(**kwargs)
src/disk.py:88
↓ 1 callers
Function
display_default
(values: list[str], _: dict[str, list[str]])
src/user.py:97
↓ 1 callers
Function
domain_dyndns_set_recovery_password
Set a recovery password for an already registered dyndns domain
src/domain.py:618
↓ 1 callers
Function
domain_dyndns_subscribe
Subscribe to a DynDNS domain
src/domain.py:582
↓ 1 callers
Function
domain_dyndns_unsubscribe
Unsubscribe from a DynDNS domain
src/domain.py:591
↓ 1 callers
Function
dpkg_compare_version
Return 1 (or positive value?) if a > b or -1 (or negative value?) if a < b or 0 if a == b
src/utils/system.py:77
↓ 1 callers
Function
dpkg_list_installed_packages
()
src/utils/system.py:66
↓ 1 callers
Function
dpkg_lock_available
()
src/utils/system.py:204
↓ 1 callers
Function
dpkg_package_version
(package)
src/utils/system.py:71
↓ 1 callers
Method
dump_script_log_extract_for_debugging
(self)
src/log.py:938
↓ 1 callers
Function
dyndns_set_recovery_password
(domain, recovery_password)
src/dyndns.py:292
↓ 1 callers
Function
dyndns_subscribe
Subscribe to a DynDNS service Keyword argument: domain -- Full domain to subscribe with recovery_password -- Password that w
src/dyndns.py:92
↓ 1 callers
Method
emit
(self, record: logging.LogRecord)
src/utils/sse.py:165
↓ 1 callers
Method
emit_error_toast
(self, error: str)
src/utils/sse.py:174
↓ 1 callers
Method
emit_operation_end
(self, time: datetime, success: bool, errormsg: str)
src/utils/sse.py:192
↓ 1 callers
Method
emit_operation_start
(self, time: datetime, title: str, started_by: str)
src/utils/sse.py:183
↓ 1 callers
Method
enable
(self)
src/firewall.py:328
↓ 1 callers
Function
encrypt
(data: str)
src/authenticators/ldap_ynhuser.py:163
↓ 1 callers
Function
ensure_rundir
()
src/utils/sse.py:37
↓ 1 callers
Function
evaluate_simple_ast
( node: ast.Expression | ast.expr, context: dict[str, Any] | None = None )
src/utils/form.py:82
↓ 1 callers
Function
external_resolvers
()
src/utils/dns.py:47
↓ 1 callers
Function
find_expected_string_keys
(project: Path)
maintenance/missing_i18n_keys.py:36
↓ 1 callers
Function
firewall_delete
Delete a port from YunoHost's config Keyword arguments: protocol -- Protocol type to disallow (tcp/udp) port -- Port or dash
src/firewall.py:508
↓ 1 callers
Method
firewall_file_migrate
(self)
src/migrations/0032_firewall_config.py:58
↓ 1 callers
Function
firewall_reload
Reload all firewall rules Keyword arguments: skip_upnp -- Do not refresh port forwarding using UPnP
src/firewall.py:558
↓ 1 callers
Method
get
( self, key: str | None = None, mode: "ConfigPanelGetMode" = "classic" )
src/utils/configpanel.py:491
↓ 1 callers
Function
get_action_map
Load the actionmap from a YAML file.
doc/generate_zsh_completion.py:716
↓ 1 callers
Function
get_actions
()
doc/generate_bash_completion.py:55
↓ 1 callers
Function
get_actions_zsh
Parse categories, subcategories and actions from an actionsmap yml file. Parameters ---------- ynh_map: dict[str, dict[str, Any]]
doc/generate_zsh_completion.py:128
↓ 1 callers
Method
get_apps_equivs_packages
(self)
src/migrations/0027_migrate_to_bookworm.py:489
↓ 1 callers
Method
get_current_record
(self, fqdn: str, type_: str)
src/diagnosers/12-dnsrecords.py:187
↓ 1 callers
Method
get_domain_expiration
Return the expiration datetime of a domain or None
src/diagnosers/12-dnsrecords.py:323
↓ 1 callers
Function
get_hydrated_scenarios
Normalize and hydrate a mixed list of scenarios to proper tuple/pytest.param flattened list values. Example:: scenarios = [
tests/test_questions.py:154
↓ 1 callers
Function
get_installed_nodejs_versions
()
src/migrations/0035_fix_apps_nodejs_version.py:12
↓ 1 callers
Method
get_ips_checked
(self)
src/diagnosers/24-mail.py:298
↓ 1 callers
Function
get_network_interfaces
()
src/utils/network.py:99
↓ 1 callers
Function
get_parent_dict
(tree: DomainDict, child: str)
src/domain.py:187
↓ 1 callers
Method
get_php_packages
(self)
src/migrations/0027_migrate_to_bookworm.py:501
↓ 1 callers
Function
get_public_ip_from_remote_server
Retrieve the public IP address from ipv4/6.yunohost.org
src/utils/network.py:59
↓ 1 callers
Method
get_section
(self, section_id: str)
src/utils/configpanel.py:334
↓ 1 callers
Method
get_session_cookie
(self, decrypt_pwd: bool = False)
src/authenticators/ldap_ynhuser.py:295
↓ 1 callers
Function
get_upgradable_domains
Find domains with a 1024 bits DKIM to upgrade
src/migrations/0037_upgrade_dkim_keys.py:19
↓ 1 callers
Method
good_resolvconf
(self)
src/diagnosers/10-ip.py:225
↓ 1 callers
Function
hook_info
Get information about a given hook Keyword argument: action -- Action name name -- Hook name
src/hook.py:82
↓ 1 callers
Function
human_readable_record
(action, record)
src/dns.py:851
↓ 1 callers
Method
humanize
(value: Any, option: Union["BaseOption", dict[Any, Any]] = {})
src/utils/form.py:635
↓ 1 callers
Method
identify_data_to_redact
(self, record)
src/log.py:572
↓ 1 callers
Method
installed_versions
(self)
src/utils/resources.py:1763
↓ 1 callers
Method
is_enabled
(self, context: Context)
src/utils/form.py:577
↓ 1 callers
Method
is_in_most_used_list
(self, password: str)
src/utils/password.py:208
↓ 1 callers
Function
is_legit_warning
(m: str)
src/tools.py:391
↓ 1 callers
Function
is_relevant_warning
(msg)
src/hook.py:345
← previous
next →
501–600 of 1,520, ranked by callers