MCPcopy Create free account

hub / github.com/YunoHost/yunohost / functions

Functions1,520 in github.com/YunoHost/yunohost

↓ 1 callersFunctionis_unit_operation
Configure quickly a unit operation This decorator help you to configure the record of a unit operations. Argument: entities A lis
src/log.py:444
↓ 1 callersFunctionis_version_more_recent_than_current_version
(name, current_version)
src/utils/app_utils.py:1409
↓ 1 callersMethodis_visible
(self, context: dict[str, Any])
src/utils/configpanel.py:174
↓ 1 callersMethodis_vulnerable_to_meltdown
(self)
src/diagnosers/00-basesystem.py:250
↓ 1 callersMethodissues
(self, app: AppInfo)
src/diagnosers/80-apps.py:74
↓ 1 callersFunctionjs_to_python
(expr: str)
src/utils/form.py:188
↓ 1 callersMethodlist
(self, protocol: str, forwarded: bool = False)
src/firewall.py:102
↓ 1 callersMethodlist_actions
(self)
src/utils/configpanel.py:637
↓ 1 callersFunctionlog_show
Display a log file enriched with metadata if any. If the file_name is not an absolute path, it will try to search the file in the unit o
src/log.py:267
↓ 1 callersFunctionlogout
(session)
tests/test_sso_and_portalapi.py:119
↓ 1 callersFunctionmain
()
maintenance/missing_i18n_keys.py:250
↓ 1 callersFunctionmain
()
maintenance/autofix_locale_format.py:148
↓ 1 callersFunctionmain
Generate the completion file for Zsh.
doc/generate_zsh_completion.py:722
↓ 1 callersFunctionmain
()
doc/generate_bash_completion.py:77
↓ 1 callersFunctionmain
()
doc/generate_api_doc.py:32
↓ 1 callersFunctionmain
()
doc/generate_manpages.py:58
↓ 1 callersMethodmanually_modified_files
(self)
src/diagnosers/70-regenconf.py:83
↓ 1 callersFunctionmodifyModlist_finegrained
Prepare an optimized modification list to give to ldap.modify_ext()
src/utils/ldap.py:71
↓ 1 callersMethodmount
Mount the archive. We avoid copy to be able to restore on system without too many space. Use the mount method from the Backu
src/backup.py:1088
↓ 1 callersMethodmount_and_backup
Run the backup on files listed by the BackupManager instance This method shouldn't be overrided, prefer overriding self.backup() an
src/backup.py:1608
↓ 1 callersMethodnumber_of_recent_auth_failure
(self)
src/diagnosers/00-basesystem.py:234
↓ 1 callersMethodopen_port
(self, protocol: str, port: int | str, comment: str)
src/firewall.py:263
↓ 1 callersFunctionordered_yaml_load
(stream)
doc/generate_manpages.py:47
↓ 1 callersMethodparent_logger
(self)
src/log.py:651
↓ 1 callersFunctionparent_symlink_points_to_dev_null
(log)
src/log.py:169
↓ 1 callersFunctionparse_argument_mandatory
Parse a mandatory argument.
doc/generate_zsh_completion.py:362
↓ 1 callersFunctionparse_argument_optional
Parse an optional argument.
doc/generate_zsh_completion.py:423
↓ 1 callersFunctionparse_category
Parse a Category (level 1) for its actions and subcategories. Reminder: yunohost monitor info --cpu --ram ^
doc/generate_zsh_completion.py:164
↓ 1 callersFunctionparse_get_managed_objects
( interfaces, managed_objects_data, on_unknown_interface, on_unknown_member )
src/utils/udisks2_interfaces.py:58
↓ 1 callersFunctionparse_subcategory
Parse a sub-category (level 2) for its actions. Reminder: yunohost user group list --full --short ^
doc/generate_zsh_completion.py:237
↓ 1 callersMethodpatch_apt_sources_list
(self)
src/migrations/0027_migrate_to_bookworm.py:461
↓ 1 callersMethodpatch_yunohost_conflicts
(self)
src/migrations/0027_migrate_to_bookworm.py:513
↓ 1 callersFunctionpre_callback
(name, priority, path, args)
src/hook.py:285
↓ 1 callersFunctionprogress
(info="")
src/dns.py:908
↓ 1 callersMethodpurge_expired_session_files
(self)
src/authenticators/ldap_admin.py:229
↓ 1 callersMethodpurge_expired_session_files
(self)
src/authenticators/ldap_ynhuser.py:363
↓ 1 callersFunctionram_available
()
src/utils/system.py:156
↓ 1 callersMethodrecent_kills_by_oom_reaper
(self)
src/diagnosers/50-systemresources.py:186
↓ 1 callersFunctionredact_emails
(data: str)
src/utils/yunopaste.py:118
↓ 1 callersFunctionremove_extension
(f)
src/backup.py:2310
↓ 1 callersFunctionremove_stale_translated_strings
(reference: Locale, locale: Locale)
maintenance/autofix_locale_format.py:140
↓ 1 callersFunctionrender
(actions: dict[str, Any])
doc/generate_bash_completion.py:42
↓ 1 callersFunctionrender_zsh
Render the jinja template with the parsed categories and helper functions.
doc/generate_zsh_completion.py:645
↓ 1 callersMethodrestore
Restore the archive Restore system parts and apps after mounting the archive, checking free space and postinstall if needed
src/backup.py:1197
↓ 1 callersMethodrfkill_wifi
(self)
src/diagnosers/00-basesystem.py:325
↓ 1 callersMethodrun
(self)
src/migrations/0032_firewall_config.py:79
↓ 1 callersMethodrun_action
( self, key: str | None = None, args: str | None = None, args_file: str | None
src/utils/configpanel.py:653
↓ 1 callersMethodsecurity_issues
(self)
src/diagnosers/00-basesystem.py:332
↓ 1 callersMethodselect_device
(self)
src/firewall.py:235
↓ 1 callersFunctionservice_enable
Enable one or more services Keyword argument: names -- Services name to enable
src/service.py:312
↓ 1 callersFunctionservice_log
Log every log files of a service Keyword argument: name -- Service name to log number -- Number of lines to display
src/service.py:514
↓ 1 callersFunctionservice_restart
Restart one or more services. If the services are not running yet, they will be started. Keyword argument: name -- Services name to
src/service.py:234
↓ 1 callersMethodset_apps_targets
Define and validate targetted apps to be backuped Args: apps -- (list) list of apps which should be backuped. If given an em
src/backup.py:393
↓ 1 callersMethodset_apps_targets
Define and validate targetted apps to be restored Args: apps -- (list) list of apps which should be restored. If [] is given
src/backup.py:1050
↓ 1 callersMethodset_system_targets
Define and validate targetted apps to be backuped Args: system_parts -- (list) list of system parts which should be back
src/backup.py:376
↓ 1 callersMethodset_system_targets
Define system parts that will be restored Args: system_parts -- (list) list of system parts which should be restored.
src/backup.py:988
↓ 1 callersFunctionsettings_reset_all
Reset all settings to their default value Keyword argument: yes -- Yes I'm sure I want to do that
src/settings.py:123
↓ 1 callersFunctionshell_quote
Return a shell-escaped version of the string *s*.
src/hook.py:598
↓ 1 callersFunctionstart_log_broker
()
src/utils/sse.py:46
↓ 1 callersFunctionstdinfo_callback
(a)
tests/test_process.py:84
↓ 1 callersMethodstrength
Returns the strength of a password, defined as a tuple containing the length of the password, the number of digits, lowercase
src/utils/password.py:156
↓ 1 callersMethodstrength_level
Computes the strength of a password and compares it to the STRENGTH_LEVELS. Returns an int corresponding to the highest STRE
src/utils/password.py:183
↓ 1 callersFunctionstrip_boring_dpkg_reading_database
(line: str)
src/utils/system.py:407
↓ 1 callersFunctionsuboperations
()
src/log.py:380
↓ 1 callersFunctionsystem_virt
Returns the output of systemd-detect-virt (so e.g. 'none' or 'lxc' or ...) You can check the man of the command to have a list of possible ou
src/utils/system.py:87
↓ 1 callersMethodtest_http
(self, domains, ipversions)
src/diagnosers/21-web.py:119
↓ 1 callersFunctiontools_migrations_list
List existing migrations
src/tools.py:760
↓ 1 callersFunctiontools_migrations_run
Perform migrations targets A list migrations to run (all pendings by default) --skip Skip specified migrations (to be use
src/tools.py:798
↓ 1 callersFunctiontools_postinstall
( operation_logger: OperationLogger, domain: str, username: str, fullname: str, password:
src/tools.py:135
↓ 1 callersMethodtranslate
Recursivly mutate translatable attributes to their translation
src/utils/configpanel.py:377
↓ 1 callersFunctiontrigger_post_change_hook
(setting_name, old_value, new_value)
src/settings.py:285
↓ 1 callersFunctionunstable_apps
()
src/migrations/0027_migrate_to_bookworm.py:106
↓ 1 callersMethodupdate_goenv
(self)
src/utils/resources.py:1894
↓ 1 callersMethodupdate_rbenv
(self)
src/utils/resources.py:1773
↓ 1 callersFunctionuser_export
Export users into CSV
src/user.py:719
↓ 1 callersFunctionuser_import
Import users from CSV Keyword argument: csvfile -- CSV file with columns username;firstname;lastname;password;mailbox_quota;mail;ali
src/user.py:757
↓ 1 callersFunctionuser_permission_add
( permission: str, names: list[str], protected: bool | None = None, force: bool = False, s
src/user.py:1590
↓ 1 callersFunctionuser_permission_info
(permission: str)
src/user.py:1619
↓ 1 callersFunctionuser_permission_remove
( permission: str, names: list[str], protected: bool | None = None, force: bool = False, s
src/user.py:1605
↓ 1 callersMethodvalidate
Check the validation_summary and trigger an exception if the password does not pass tests. This method is meant to be used f
src/utils/password.py:108
↓ 1 callersMethodvalidation_summary
Check if a password is listed in the list of most used password and if the overall strength is good enough compared to the va
src/utils/password.py:130
↓ 1 callersMethodwrite_cache
(self, report)
src/diagnosis.py:410
Method__call__
(self, data: str)
src/utils/system.py:370
Method__del__
Try to close the unit operation, if it's missing. The missing of the message below could help to see an electrical shortage.
src/log.py:927
Method__del__
Disconnect and free ressources
src/utils/ldap.py:184
Method__eq__
(self, other)
tests/test_app_catalog.py:63
Method__getitem__
(self, name: str)
src/utils/form.py:2007
Method__init__
(self, format_string, data_to_redact)
src/log.py:555
Method__init__
(self)
src/firewall.py:58
Method__init__
(self, firewall: "YunoFirewall")
src/firewall.py:207
Method__init__
(self)
src/diagnosis.py:401
Method__init__
(self, id_: str)
src/tools.py:1125
Method__init__
(self, entity)
src/app.py:2480
Method__init__
(self, config_path=None, save_path=None, creation=False)
src/settings.py:141
Method__init__
(self)
src/backup.py:102
Method__init__
BackupManager constructor Args: name -- (string) The name of this backup (without spaces). If
src/backup.py:273
Method__init__
RestoreManager constructor Args: name -- (string) Archive name method -- (string) Method name to use to mount the ar
src/backup.py:869
Method__init__
(self, manager, repo=None, method=None, **kwargs)
src/backup.py:2029
Method__init__
(self, app: str, current: Dict, wanted: Dict, workdir=None)
src/utils/resources.py:42
Method__init__
(self, properties: Dict[str, Any], *args, **kwargs)
src/utils/resources.py:465
← previousnext →601–700 of 1,520, ranked by callers