MCPcopy Create free account

hub / github.com/YunoHost/yunohost / functions

Functions1,520 in github.com/YunoHost/yunohost

↓ 2 callersFunctionis_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 callersMethodis_visible
(self, context: Context)
src/utils/form.py:431
↓ 2 callersFunctionissue_matches_criterias
e.g. an issue with: meta: domain: yolo.test category: xmpp matches the criterias {"domain": "yolo.test"}
src/diagnosis.py:357
↓ 2 callersMethoditer_children
( self, trigger: list[Literal["panel", "section", "option", "action"]] = ["option"], )
src/utils/configpanel.py:359
↓ 2 callersFunctionlikeliness
(r)
src/dns.py:827
↓ 2 callersFunctionlist_shells
()
src/user.py:153
↓ 2 callersFunctionlog_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 callersMethodneed_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 callersMethodoptions_dict_to_list
( options: dict[str, Any], optional: bool = False )
src/utils/form.py:1946
↓ 2 callersMethodpackage_is_installed
(self, package_name)
src/migrations/postgresql.py:91
↓ 2 callersFunctionparse_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 callersFunctionparse_argument_action
Parse an argument action.
doc/generate_zsh_completion.py:494
↓ 2 callersFunctionparse_raw_options
( # noqa: E704 raw_options: dict[str, Any], serialize: Literal[True] )
src/utils/form.py:2305
↓ 2 callersFunctionpatch_app
(app, base_dir="")
src/migrations/0035_fix_apps_nodejs_version.py:22
↓ 2 callersFunctionpatch_file_api
(intake)
tests/test_questions.py:1274
↓ 2 callersFunctionpatch_query_string
(file_repr)
tests/test_questions.py:1950
↓ 2 callersFunctionpost_callback
(name, priority, path, succeed)
src/hook.py:290
↓ 2 callersMethodprefetch
(self, source_id, url, expected_sha256)
src/utils/resources.py:507
↓ 2 callersFunctionprompt_or_validate_form
( options: Iterable[AnyOption], form: FormModel, prefilled_answers: dict[str, Any] = {}, conte
src/utils/form.py:2118
↓ 2 callersMethodread_legacy_permissions
(self)
src/migrations/0033_rework_permission_infos.py:99
↓ 2 callersMethodrefresh
(self, firewall: "YunoFirewall")
src/firewall.py:310
↓ 2 callersMethodreset
( self, key: str | None = None, operation_logger: Union["OperationLogger", None] = Non
src/settings.py:155
↓ 2 callersFunctionreset_ssowat_conf
()
tests/test_backuprestore.py:204
↓ 2 callersFunctionresolve_domain
(domain, rdtype)
src/dyndns.py:433
↓ 2 callersMethodrun
(self)
tests/test_helpers.py:51
↓ 2 callersFunctionservice_remove
Remove a custom service Keyword argument: name -- Service name to remove
src/service.py:130
↓ 2 callersFunctionsettings_reset
Set an entry value to its default one Keyword argument: key -- Settings key
src/settings.py:109
↓ 2 callersFunctionshellexists
Check if the provided shell exists and is executable.
src/user.py:161
↓ 2 callersFunctionshort_hash
(data: str)
src/authenticators/ldap_admin.py:60
↓ 2 callersFunctionsplit_domain_path
(url: str)
src/permission.py:1001
↓ 2 callersFunctionstderr_callback
(a)
tests/test_process.py:35
↓ 2 callersFunctionstdout_callback
(a)
tests/test_process.py:32
↓ 2 callersFunctiontmp_backup_directory_is_empty
()
tests/test_backuprestore.py:176
↓ 2 callersFunctiontools_regen_conf
( names: list[str] = [], with_diff: bool = False, force: bool = False, dry_run: bool = False,
src/tools.py:323
↓ 2 callersFunctiontools_rootpw
(new_password: str, check_strength: bool = True)
src/tools.py:65
↓ 2 callersFunctiontools_update
Update apps & system package cache
src/tools.py:359
↓ 2 callersMethodtranslate_options
Mutate in place translatable attributes of options to their translations
src/utils/form.py:1977
↓ 2 callersFunctionuninstall_test_apps_if_needed
()
tests/test_backuprestore.py:215
↓ 2 callersFunctionuser_info
(username: str)
src/user.py:638
↓ 2 callersFunctionvalidate_filter_criterias
(filter_)
src/diagnosis.py:272
↓ 2 callersFunctionvalidate_regex
(regex)
src/permission.py:964
↓ 2 callersFunctionyunopaste
(data: str)
src/utils/yunopaste.py:34
↓ 1 callersMethod__init__
( self, operation, related_to=None, sse_only=False, flash=False, **kwargs )
src/log.py:607
↓ 1 callersMethod__init__
BackupMethod constructors Note it is an abstract class. You should use the "create" class method to create instance.
src/backup.py:1549
↓ 1 callersMethod_app_comment_of_port
(self, port: int)
src/migrations/0032_firewall_config.py:42
↓ 1 callersFunction_app_quality
app may in fact be an app name, an url, or a path
src/utils/app_utils.py:613
↓ 1 callersFunction_append_hook
(d, priority, name, path)
src/hook.py:140
↓ 1 callersMethod_apply
( self, form: "FormModel", config: "ConfigPanelModel", previous_settings: dict
src/settings.py:224
↓ 1 callersMethod_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 callersMethod_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 callersFunction_backup_current_cert
(domain)
src/certificate.py:780
↓ 1 callersFunction_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 callersFunction_call_for_each_path
Call a callback for each path in csv
src/backup.py:2555
↓ 1 callersFunction_check_manifest_requirements_with_option_to_bypass
(app_, new_manifest)
src/app.py:858
↓ 1 callersFunction_check_upgrade_targets
( requested_targets: list[str], )
src/app.py:776
↓ 1 callersFunction_clear_dummy_app_settings
()
tests/test_permission.py:116
↓ 1 callersMethod_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 callersMethod_collect_apps_files
Prepare backup for each selected apps
src/backup.py:677
↓ 1 callersMethod_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 callersMethod_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 callersMethod_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 callersMethod_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 callersFunction_confirm_app_install
(app: str, force: bool = False)
src/utils/app_utils.py:88
↓ 1 callersFunction_convert_v1_manifest_to_v2
(manifest: dict[str, Any])
src/utils/app_utils.py:468
↓ 1 callersFunction_create_archive_dir
Create the YunoHost archives directory if doesn't exist
src/backup.py:2544
↓ 1 callersMethod_define_backup_name
Define backup name Return: (string) A backup name created from current date 'YYMMDD-HHMMSS'
src/backup.py:337
↓ 1 callersMethod_dump_options_types_and_binds
(self)
src/app.py:2454
↓ 1 callersFunction_email_diagnosis_issues
()
src/diagnosis.py:687
↓ 1 callersFunction_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 callersFunction_find_previous_log_file
Find the previous log file
src/service.py:839
↓ 1 callersFunction_garbarge_collect_permissions_for_nonexistent_users
()
src/permission.py:1032
↓ 1 callersFunction_get_DKIM
(domain)
src/dns.py:317
↓ 1 callersFunction_get_and_format_service_status
(service, infos)
src/service.py:417
↓ 1 callersFunction_get_domain_portal_dict
()
src/domain.py:125
↓ 1 callersMethod_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 callersFunction_get_managed_dns_records_hashes
(domain: str)
src/dns.py:1021
↓ 1 callersMethod_get_partial_raw_config
(self)
src/app.py:2397
↓ 1 callersMethod_get_partial_raw_config
(self)
src/utils/configpanel.py:738
↓ 1 callersMethod_get_partial_raw_settings_and_mutate_config
( self, config: ConfigPanelModel )
src/utils/configpanel.py:774
↓ 1 callersMethod_get_raw_config
(self)
src/utils/configpanel.py:725
↓ 1 callersMethod_get_raw_settings
(self)
src/utils/configpanel.py:732
↓ 1 callersFunction_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 callersFunction_give_lock
(action, service, p)
src/service.py:643
↓ 1 callersFunction_group_packages_per_categories
( packages: list[dict[str, str]], )
src/utils/system.py:257
↓ 1 callersFunction_hook_exec_bash
(path, args, chdir, env, user, return_format, loggers)
src/hook.py:433
↓ 1 callersFunction_hook_exec_python
(path, args, env, loggers)
src/hook.py:525
↓ 1 callersMethod_init_work_dir
Initialize preparation directory Ensure the working directory exists and is empty
src/backup.py:346
↓ 1 callersFunction_list_subdomains_of
(parent_domain: str)
src/domain.py:254
↓ 1 callersFunction_load_diagnoser
(diagnoser_name)
src/diagnosis.py:658
↓ 1 callersFunction_next_instance_number_for_app
(app: str)
src/utils/app_utils.py:1286
↓ 1 callersFunction_notification_is_dismissed
(name, settings)
src/utils/app_utils.py:1385
↓ 1 callersMethod_postinstall_if_needed
Post install yunohost if needed
src/backup.py:934
↓ 1 callersFunction_prepare_certificate_signing_request
(domain, key_file, output_folder)
src/certificate.py:590
↓ 1 callersFunction_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 callersMethod_read_info_files
Read the info file from inside an archive
src/backup.py:909
↓ 1 callersFunction_regen_dnsmasq_if_needed
Update the dnsmasq conf if some IPs are not up to date...
src/certificate.py:866
↓ 1 callersMethod_register_log
Register log with a handler connected on log system
src/log.py:735
↓ 1 callersMethod_reload_services
(self)
src/utils/configpanel.py:958
↓ 1 callersFunction_remove_lock
(PID_to_remove)
src/service.py:669
↓ 1 callersMethod_restore_app
Restore an app Environment variables: YNH_BACKUP_DIR -- The backup working directory (in "/home/yu
src/backup.py:1297
← previousnext →401–500 of 1,520, ranked by callers