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
↓ 5 callers
Method
venv_requirements_suffix
(self)
src/migrations/python.py:61
↓ 5 callers
Function
xfail
Return a pytest param for which test should have passed but currently fails.
tests/test_questions.py:383
↓ 4 callers
Function
SESSION_SECRET
()
src/authenticators/ldap_ynhuser.py:54
↓ 4 callers
Function
_append_folder
(d, folder)
src/hook.py:187
↓ 4 callers
Function
_assert_no_conflicting_apps
( domain: str, path: str, ignore_app: str | None = None, full_domain: bool = False )
src/utils/app_utils.py:1158
↓ 4 callers
Function
_check_manifest_requirements
Check if required packages are met from the manifest
src/utils/app_utils.py:904
↓ 4 callers
Function
_display_notifications
(notifications: dict[str, str], force=False)
src/utils/app_utils.py:1428
↓ 4 callers
Method
_encode_and_pub
(self, event: SSEEvent)
src/utils/sse.py:201
↓ 4 callers
Function
_extract_app
src may be an app name, an url, or a path
src/utils/app_utils.py:655
↓ 4 callers
Function
_extract_filename_parts
Extract hook parts from filename
src/hook.py:580
↓ 4 callers
Function
_get_AppConfigPanel
()
src/app.py:2316
↓ 4 callers
Function
_get_raw_domain_settings
Get domain settings directly from file. Be carefull, domain settings are saved in `"diff"` mode (i.e. default settings are not saved) so the f
src/domain.py:690
↓ 4 callers
Function
_get_registar_settings
(domain: str)
src/dns.py:582
↓ 4 callers
Function
_get_registrar_config_section
(domain: str)
src/dns.py:472
↓ 4 callers
Function
_hash_user_password
(password: str)
src/utils/password.py:76
↓ 4 callers
Function
_list_upgradable_apt_packages
()
src/utils/system.py:208
↓ 4 callers
Function
_patch_legacy_helpers
(app_folder: str | Path)
src/utils/legacy.py:41
↓ 4 callers
Function
_read_apps_catalog_list
Read the json corresponding to the list of apps catalogs
src/app_catalog.py:148
↓ 4 callers
Function
_set_system_perms
(system_perm_conf: dict[str, SystemPermInfos])
src/permission.py:899
↓ 4 callers
Function
_tail
Reads a n lines from f with an offset of offset lines. The return value is a tuple in the form ``(lines, has_more)`` where `has_more` is
src/service.py:789
↓ 4 callers
Function
_test_backup_and_restore_app
(app)
tests/test_backuprestore.py:586
↓ 4 callers
Method
_validate_port
(protocol: str, port: int | str)
src/firewall.py:111
↓ 4 callers
Method
_value_post_validator
( cls, value: HttpUrl | None, field: "ModelField" )
src/utils/form.py:1303
↓ 4 callers
Function
_write_migration_state
(migration_id, state)
src/tools.py:955
↓ 4 callers
Function
app_list
List installed apps
src/app.py:130
↓ 4 callers
Function
certificate_status
Print the status of certificate for given domains (all by default) Keyword argument: domains -- Domains to be checked fu
src/certificate.py:70
↓ 4 callers
Function
check_permission_for_apps
()
tests/test_permission.py:326
↓ 4 callers
Method
close
(self, *args: Any, **kwargs: Any)
src/utils/sse.py:218
↓ 4 callers
Function
dyndns_list
Returns all currently subscribed DynDNS domains ( deduced from the key files )
src/dyndns.py:338
↓ 4 callers
Function
firewall_list
List all firewall rules Keyword arguments: raw -- Return the complete YAML dict tcp -- If not raw, list TCP ports ud
src/firewall.py:538
↓ 4 callers
Function
hook_remove
Remove hooks linked to a specific app Keyword argument: app -- Scripts related to app will be removed
src/hook.py:65
↓ 4 callers
Function
init_logging
Initialize logging and logger objects
src/utils/logging.py:46
↓ 4 callers
Function
install_app
(app, path, additionnal_args="")
tests/test_backuprestore.py:221
↓ 4 callers
Method
mount
Mount the archive from RestoreManager instance in the working directory This method should be extended.
src/backup.py:1623
↓ 4 callers
Function
parse_filter_key
(key: str | None = None)
src/utils/configpanel.py:407
↓ 4 callers
Function
parse_prefilled_values
Retrieve form values from yaml file or query string.
src/utils/form.py:2074
↓ 4 callers
Function
patch_users
Data mocking for UserOption: - yunohost.user.user_list - yunohost.user.user_info - yunohost.domain._get_maindomain
tests/test_questions.py:1747
↓ 4 callers
Method
provision_or_update
(self, context: Dict = {})
src/utils/resources.py:1417
↓ 4 callers
Function
round_
(n)
src/diagnosers/50-systemresources.py:228
↓ 4 callers
Function
service_reload_or_restart
Reload one or more services if they support it. If not, restart them instead. If the services are not running yet, they will be started. Key
src/service.py:259
↓ 4 callers
Method
set_wanted
Define and validate targets to be backuped or to be restored (list of system parts, apps..). The wanted targets are compared and filt
src/backup.py:132
↓ 4 callers
Function
short_hash
(data: str)
src/authenticators/ldap_ynhuser.py:189
↓ 4 callers
Method
success
(self)
src/backup.py:903
↓ 4 callers
Method
success
Log 'msg % args' with severity 'SUCCESS'.
src/utils/logging.py:137
↓ 4 callers
Function
tools_migrations_state
Show current migration state
src/tools.py:945
↓ 4 callers
Method
translate
Recursivly mutate translatable attributes to their translation
src/utils/configpanel.py:245
↓ 4 callers
Function
user_group_info
Get user informations Keyword argument: groupname -- Groupname to get informations
src/user.py:1442
↓ 4 callers
Function
user_is_allowed_on_domain
(user: str, domain: str)
src/authenticators/ldap_ynhuser.py:74
↓ 4 callers
Function
ynh_packages_version
Return the version of each YunoHost package
src/utils/system.py:180
↓ 4 callers
Method
yunohost_major_version
(self)
src/migrations/0027_migrate_to_bookworm.py:346
↓ 3 callers
Method
_call_config_script
( self, action: str, env: dict[str, Any] | None = None )
src/app.py:2354
↓ 3 callers
Function
_check_domain_is_ready_for_ACME
(domain)
src/certificate.py:791
↓ 3 callers
Function
_dump_human_readable_reports
(reports)
src/diagnosis.py:141
↓ 3 callers
Function
_get_app_label
(app: str, manifest: AppManifest | None = None)
src/utils/app_utils.py:182
↓ 3 callers
Method
_get_args
Return the arguments to give to the custom script
src/backup.py:2085
↓ 3 callers
Function
_get_datetime_from_name
(name)
src/log.py:979
↓ 3 callers
Function
_get_portal_settings
Returns domain's portal settings which are a combo of domain's portal config panel options and the list of apps availables on this domain com
src/portal.py:56
↓ 3 callers
Function
_get_service_information_from_systemd
this is the equivalent of 'systemctl status $service
src/service.py:390
↓ 3 callers
Function
_get_user_for_ssh
( username: str, attrs: list[str] | None = None )
src/ssh.py:158
↓ 3 callers
Function
_hash_dns_record
(record: DNSRecord)
src/dns.py:1031
↓ 3 callers
Function
_on_failure
(user, exception)
src/user.py:912
↓ 3 callers
Function
_recursive_umount
Recursively umount sub directories of a directory Args: directory -- a directory path
src/backup.py:2565
↓ 3 callers
Function
_remove_special_chars
Remove any character with a special meaning in ZSH. Example of characters to remove: `$`, `{`, `(`, `[`, ... :param str string: The
doc/generate_zsh_completion.py:698
↓ 3 callers
Function
_save_services
Save managed services to files Keyword argument: services -- A dict of managed services with their parameters
src/service.py:752
↓ 3 callers
Function
_set_app_settings
Set settings of an app Keyword arguments: app_id -- The app id (like nextcloud__2) settings -- Dict with app settings
src/utils/app_utils.py:164
↓ 3 callers
Function
_test_intake_may_fail
(raw_option, intake, expected_output)
tests/test_questions.py:431
↓ 3 callers
Function
_update_app_permission_setting
( permission: str, label: str | None = None, show_tile: bool | None = None, protected: bool |
src/permission.py:724
↓ 3 callers
Function
app_manifest
(app: str, with_screenshot: bool = False)
src/app.py:1282
↓ 3 callers
Function
append_to_file
Append a single string or a list of string to a text file. Keyword argument: file_path -- Path to the output file data -- Th
src/utils/file_utils.py:176
↓ 3 callers
Function
check_changeurl_app
(path)
tests/test_changeurl.py:53
↓ 3 callers
Method
close_port
( self, protocol: str, port: int | str, upnp_only: bool = False )
src/firewall.py:147
↓ 3 callers
Method
close_port
(self, protocol: str, port: int | str)
src/firewall.py:292
↓ 3 callers
Method
connect
(self)
src/utils/ldap.py:149
↓ 3 callers
Method
debian_major_version
(self)
src/migrations/0027_migrate_to_bookworm.py:333
↓ 3 callers
Function
domain_url_available
Check availability of a web path Keyword argument: domain -- The domain for the web path (e.g. your.domain.tld) path -- The
src/domain.py:676
↓ 3 callers
Function
download_json
Download json from a url and returns the loaded json object Keyword argument: url -- The url to download the data from timeo
src/utils/file_utils.py:451
↓ 3 callers
Function
dyndns_unsubscribe
Unsubscribe from a DynDNS service Keyword argument: domain -- Full domain to unsubscribe with recovery_password -- Password
src/dyndns.py:218
↓ 3 callers
Function
dyndns_update
Update IP on DynDNS platform Keyword argument: domain -- Full domain to update
src/dyndns.py:357
↓ 3 callers
Function
firewall_close
Disallow connections on a port Keyword arguments: port -- Port or dash-separated range of ports to close protocol -- Protoco
src/firewall.py:434
↓ 3 callers
Function
firewall_open
Allow connections on a port Keyword arguments: port -- Port or dash-separated range of ports to open protocol -- Protocol ty
src/firewall.py:383
↓ 3 callers
Method
get_description
(id_)
src/diagnosis.py:546
↓ 3 callers
Function
get_matching_migration
(target)
src/tools.py:818
↓ 3 callers
Method
get_option
(self, option_id: str)
src/utils/configpanel.py:340
↓ 3 callers
Function
hook_add
Store hook script to filesystem Keyword argument: app -- App to link with file -- Script to add (/path/priority-file)
src/hook.py:42
↓ 3 callers
Function
install_manifestv2_app
(domain, path, public=True)
tests/test_apps.py:172
↓ 3 callers
Method
installed_versions
(self)
src/utils/resources.py:1665
↓ 3 callers
Method
open_port
( self, protocol: str, port: int | str, comment: str, upnp: bool = False )
src/firewall.py:122
↓ 3 callers
Function
patch_domains
Data mocking for DomainOption: - yunohost.domain.domain_list
tests/test_questions.py:1551
↓ 3 callers
Function
patch_file_cli
(intake)
tests/test_questions.py:1263
↓ 3 callers
Function
patch_groups
Data mocking for GroupOption: - yunohost.user.user_group_list
tests/test_questions.py:1824
↓ 3 callers
Function
progress
(info="")
src/user.py:897
↓ 3 callers
Function
regen_mail_app_user_config_for_dovecot_and_postfix
( only: Literal["dovecot", "postfix"] | None = None, )
src/app.py:2659
↓ 3 callers
Method
remote_diagnosis
(uri, data, ipversion, timeout=30)
src/diagnosis.py:599
↓ 3 callers
Method
set
( self, key: str | None = None, value: Any = None, args: str | None = None,
src/utils/configpanel.py:562
↓ 3 callers
Function
space_used_by_directory
(dirpath: str | Path, follow_symlinks: bool = True)
src/utils/system.py:104
↓ 3 callers
Method
test_scenarios
(self, intake, expected_output, raw_option, data)
tests/test_questions.py:1721
↓ 3 callers
Function
to_list
(str_list)
src/user.py:786
↓ 3 callers
Function
tuple_to_DNSRecord
(t: tuple)
src/dns.py:244
↓ 2 callers
Function
SESSION_SECRET
()
src/authenticators/ldap_admin.py:48
↓ 2 callers
Method
__init__
(self, object_path: str, iface: type[Disk], props: dict[str, Any])
src/utils/udisks2_interfaces.py:95
← previous
next →
201–300 of 1,520, ranked by callers