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
Function
is_subscribing_allowed
Check if the limit of subscribed DynDNS domains has been reached Returns: True if the limit is not reached, False otherwise
src/dyndns.py:47
↓ 2 callers
Method
is_visible
(self, context: Context)
src/utils/form.py:431
↓ 2 callers
Function
issue_matches_criterias
e.g. an issue with: meta: domain: yolo.test category: xmpp matches the criterias {"domain": "yolo.test"}
src/diagnosis.py:357
↓ 2 callers
Method
iter_children
( self, trigger: list[Literal["panel", "section", "option", "action"]] = ["option"], )
src/utils/configpanel.py:359
↓ 2 callers
Function
likeliness
(r)
src/dns.py:827
↓ 2 callers
Function
list_shells
()
src/user.py:153
↓ 2 callers
Function
log_list
List available logs Keyword argument: limit -- Maximum number of logs with_details -- Include details (e.g. if the operation
src/log.py:139
↓ 2 callers
Method
need_mount
Return True if this backup method need to organize path to backup by binding its in the working directory before to backup its.
src/backup.py:1588
↓ 2 callers
Method
options_dict_to_list
( options: dict[str, Any], optional: bool = False )
src/utils/form.py:1946
↓ 2 callers
Method
package_is_installed
(self, package_name)
src/migrations/postgresql.py:91
↓ 2 callers
Function
parse_actions
Parse an Action for it's help text and arguments. Returns ------- tuple[Action, list[Function]] A tuple of the action dict and th
doc/generate_zsh_completion.py:292
↓ 2 callers
Function
parse_argument_action
Parse an argument action.
doc/generate_zsh_completion.py:494
↓ 2 callers
Function
parse_raw_options
( # noqa: E704 raw_options: dict[str, Any], serialize: Literal[True] )
src/utils/form.py:2305
↓ 2 callers
Function
patch_app
(app, base_dir="")
src/migrations/0035_fix_apps_nodejs_version.py:22
↓ 2 callers
Function
patch_file_api
(intake)
tests/test_questions.py:1274
↓ 2 callers
Function
patch_query_string
(file_repr)
tests/test_questions.py:1950
↓ 2 callers
Function
post_callback
(name, priority, path, succeed)
src/hook.py:290
↓ 2 callers
Method
prefetch
(self, source_id, url, expected_sha256)
src/utils/resources.py:507
↓ 2 callers
Function
prompt_or_validate_form
( options: Iterable[AnyOption], form: FormModel, prefilled_answers: dict[str, Any] = {}, conte
src/utils/form.py:2118
↓ 2 callers
Method
read_legacy_permissions
(self)
src/migrations/0033_rework_permission_infos.py:99
↓ 2 callers
Method
refresh
(self, firewall: "YunoFirewall")
src/firewall.py:310
↓ 2 callers
Method
reset
( self, key: str | None = None, operation_logger: Union["OperationLogger", None] = Non
src/settings.py:155
↓ 2 callers
Function
reset_ssowat_conf
()
tests/test_backuprestore.py:204
↓ 2 callers
Function
resolve_domain
(domain, rdtype)
src/dyndns.py:433
↓ 2 callers
Method
run
(self)
tests/test_helpers.py:51
↓ 2 callers
Function
service_remove
Remove a custom service Keyword argument: name -- Service name to remove
src/service.py:130
↓ 2 callers
Function
settings_reset
Set an entry value to its default one Keyword argument: key -- Settings key
src/settings.py:109
↓ 2 callers
Function
shellexists
Check if the provided shell exists and is executable.
src/user.py:161
↓ 2 callers
Function
short_hash
(data: str)
src/authenticators/ldap_admin.py:60
↓ 2 callers
Function
split_domain_path
(url: str)
src/permission.py:1001
↓ 2 callers
Function
stderr_callback
(a)
tests/test_process.py:35
↓ 2 callers
Function
stdout_callback
(a)
tests/test_process.py:32
↓ 2 callers
Function
tmp_backup_directory_is_empty
()
tests/test_backuprestore.py:176
↓ 2 callers
Function
tools_regen_conf
( names: list[str] = [], with_diff: bool = False, force: bool = False, dry_run: bool = False,
src/tools.py:323
↓ 2 callers
Function
tools_rootpw
(new_password: str, check_strength: bool = True)
src/tools.py:65
↓ 2 callers
Function
tools_update
Update apps & system package cache
src/tools.py:359
↓ 2 callers
Method
translate_options
Mutate in place translatable attributes of options to their translations
src/utils/form.py:1977
↓ 2 callers
Function
uninstall_test_apps_if_needed
()
tests/test_backuprestore.py:215
↓ 2 callers
Function
user_info
(username: str)
src/user.py:638
↓ 2 callers
Function
validate_filter_criterias
(filter_)
src/diagnosis.py:272
↓ 2 callers
Function
validate_regex
(regex)
src/permission.py:964
↓ 2 callers
Function
yunopaste
(data: str)
src/utils/yunopaste.py:34
↓ 1 callers
Method
__init__
( self, operation, related_to=None, sse_only=False, flash=False, **kwargs )
src/log.py:607
↓ 1 callers
Method
__init__
BackupMethod constructors Note it is an abstract class. You should use the "create" class method to create instance.
src/backup.py:1549
↓ 1 callers
Method
_app_comment_of_port
(self, port: int)
src/migrations/0032_firewall_config.py:42
↓ 1 callers
Function
_app_quality
app may in fact be an app name, an url, or a path
src/utils/app_utils.py:613
↓ 1 callers
Function
_append_hook
(d, priority, name, path)
src/hook.py:140
↓ 1 callers
Method
_apply
( self, form: "FormModel", config: "ConfigPanelModel", previous_settings: dict
src/settings.py:224
↓ 1 callers
Method
_apply
Save settings in yaml file. If `save_mode` is `"diff"` (which is the default), only values that are different from their defa
src/utils/configpanel.py:907
↓ 1 callers
Method
_as_dynamic_model_field
Return a tuple of a type and a Field instance to be injected in a custom form declaration.
src/utils/form.py:689
↓ 1 callers
Function
_backup_current_cert
(domain)
src/certificate.py:780
↓ 1 callers
Function
_backup_pip_freeze_for_python_app_venvs
Generate a requirements file for all python virtual env located inside /opt/ and /var/www/
src/migrations/0027_migrate_to_bookworm.py:92
↓ 1 callers
Function
_call_for_each_path
Call a callback for each path in csv
src/backup.py:2555
↓ 1 callers
Function
_check_manifest_requirements_with_option_to_bypass
(app_, new_manifest)
src/app.py:858
↓ 1 callers
Function
_check_upgrade_targets
( requested_targets: list[str], )
src/app.py:776
↓ 1 callers
Function
_clear_dummy_app_settings
()
tests/test_permission.py:116
↓ 1 callers
Method
_collect_app_files
List files to backup for the app into the paths_to_backup dict. If the app backup script fails, paths from this app already listed f
src/backup.py:685
↓ 1 callers
Method
_collect_apps_files
Prepare backup for each selected apps
src/backup.py:677
↓ 1 callers
Method
_collect_system_files
List file to backup for each selected system part This corresponds to scripts in data/hooks/backup/ (system hooks) and to th
src/backup.py:596
↓ 1 callers
Method
_compute_backup_size
Compute backup global size and details size for each apps and system parts Update self.size and self.size_details N
src/backup.py:787
↓ 1 callers
Method
_compute_binds
This compute the 'bind' statement for every option In particular to handle __FOOBAR__ syntax and to handle the fa
src/app.py:2404
↓ 1 callers
Method
_compute_needed_space
Compute needed space to be able to restore Return: size -- (int) needed space to backup in bytes margin -- (int) m
src/backup.py:1127
↓ 1 callers
Function
_confirm_app_install
(app: str, force: bool = False)
src/utils/app_utils.py:88
↓ 1 callers
Function
_convert_v1_manifest_to_v2
(manifest: dict[str, Any])
src/utils/app_utils.py:468
↓ 1 callers
Function
_create_archive_dir
Create the YunoHost archives directory if doesn't exist
src/backup.py:2544
↓ 1 callers
Method
_define_backup_name
Define backup name Return: (string) A backup name created from current date 'YYMMDD-HHMMSS'
src/backup.py:337
↓ 1 callers
Method
_dump_options_types_and_binds
(self)
src/app.py:2454
↓ 1 callers
Function
_email_diagnosis_issues
()
src/diagnosis.py:687
↓ 1 callers
Function
_extract_app_from_folder
Unzip / untar / copy application tarball or directory to a tmp work directory Keyword arguments: path -- Path of the tarball or dire
src/utils/app_utils.py:699
↓ 1 callers
Function
_find_previous_log_file
Find the previous log file
src/service.py:839
↓ 1 callers
Function
_garbarge_collect_permissions_for_nonexistent_users
()
src/permission.py:1032
↓ 1 callers
Function
_get_DKIM
(domain)
src/dns.py:317
↓ 1 callers
Function
_get_and_format_service_status
(service, infos)
src/service.py:417
↓ 1 callers
Function
_get_domain_portal_dict
()
src/domain.py:125
↓ 1 callers
Method
_get_field_attrs
Returns attributes to build a `pydantic.Field`. This may contains non `Field` attrs that will end up in `Field.extra`. Those
src/utils/form.py:661
↓ 1 callers
Function
_get_managed_dns_records_hashes
(domain: str)
src/dns.py:1021
↓ 1 callers
Method
_get_partial_raw_config
(self)
src/app.py:2397
↓ 1 callers
Method
_get_partial_raw_config
(self)
src/utils/configpanel.py:738
↓ 1 callers
Method
_get_partial_raw_settings_and_mutate_config
( self, config: ConfigPanelModel )
src/utils/configpanel.py:774
↓ 1 callers
Method
_get_raw_config
(self)
src/utils/configpanel.py:725
↓ 1 callers
Method
_get_raw_settings
(self)
src/utils/configpanel.py:732
↓ 1 callers
Function
_get_ssh_port
Return the SSH port to use Retrieve the SSH port from the sshd_config file or used the default one if it's not defined.
src/firewall.py:619
↓ 1 callers
Function
_give_lock
(action, service, p)
src/service.py:643
↓ 1 callers
Function
_group_packages_per_categories
( packages: list[dict[str, str]], )
src/utils/system.py:257
↓ 1 callers
Function
_hook_exec_bash
(path, args, chdir, env, user, return_format, loggers)
src/hook.py:433
↓ 1 callers
Function
_hook_exec_python
(path, args, env, loggers)
src/hook.py:525
↓ 1 callers
Method
_init_work_dir
Initialize preparation directory Ensure the working directory exists and is empty
src/backup.py:346
↓ 1 callers
Function
_list_subdomains_of
(parent_domain: str)
src/domain.py:254
↓ 1 callers
Function
_load_diagnoser
(diagnoser_name)
src/diagnosis.py:658
↓ 1 callers
Function
_next_instance_number_for_app
(app: str)
src/utils/app_utils.py:1286
↓ 1 callers
Function
_notification_is_dismissed
(name, settings)
src/utils/app_utils.py:1385
↓ 1 callers
Method
_postinstall_if_needed
Post install yunohost if needed
src/backup.py:934
↓ 1 callers
Function
_prepare_certificate_signing_request
(domain, key_file, output_folder)
src/certificate.py:590
↓ 1 callers
Function
_process_regen_conf
Regenerate a given system configuration file Replace a given system configuration file by a new one or delete it if new_conf is None. A backu
src/regenconf.py:656
↓ 1 callers
Method
_read_info_files
Read the info file from inside an archive
src/backup.py:909
↓ 1 callers
Function
_regen_dnsmasq_if_needed
Update the dnsmasq conf if some IPs are not up to date...
src/certificate.py:866
↓ 1 callers
Method
_register_log
Register log with a handler connected on log system
src/log.py:735
↓ 1 callers
Method
_reload_services
(self)
src/utils/configpanel.py:958
↓ 1 callers
Function
_remove_lock
(PID_to_remove)
src/service.py:669
↓ 1 callers
Method
_restore_app
Restore an app Environment variables: YNH_BACKUP_DIR -- The backup working directory (in "/home/yu
src/backup.py:1297
← previous
next →
401–500 of 1,520, ranked by callers