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
Function
is_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 callers
Function
is_version_more_recent_than_current_version
(name, current_version)
src/utils/app_utils.py:1409
↓ 1 callers
Method
is_visible
(self, context: dict[str, Any])
src/utils/configpanel.py:174
↓ 1 callers
Method
is_vulnerable_to_meltdown
(self)
src/diagnosers/00-basesystem.py:250
↓ 1 callers
Method
issues
(self, app: AppInfo)
src/diagnosers/80-apps.py:74
↓ 1 callers
Function
js_to_python
(expr: str)
src/utils/form.py:188
↓ 1 callers
Method
list
(self, protocol: str, forwarded: bool = False)
src/firewall.py:102
↓ 1 callers
Method
list_actions
(self)
src/utils/configpanel.py:637
↓ 1 callers
Function
log_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 callers
Function
logout
(session)
tests/test_sso_and_portalapi.py:119
↓ 1 callers
Function
main
()
maintenance/missing_i18n_keys.py:250
↓ 1 callers
Function
main
()
maintenance/autofix_locale_format.py:148
↓ 1 callers
Function
main
Generate the completion file for Zsh.
doc/generate_zsh_completion.py:722
↓ 1 callers
Function
main
()
doc/generate_bash_completion.py:77
↓ 1 callers
Function
main
()
doc/generate_api_doc.py:32
↓ 1 callers
Function
main
()
doc/generate_manpages.py:58
↓ 1 callers
Method
manually_modified_files
(self)
src/diagnosers/70-regenconf.py:83
↓ 1 callers
Function
modifyModlist_finegrained
Prepare an optimized modification list to give to ldap.modify_ext()
src/utils/ldap.py:71
↓ 1 callers
Method
mount
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 callers
Method
mount_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 callers
Method
number_of_recent_auth_failure
(self)
src/diagnosers/00-basesystem.py:234
↓ 1 callers
Method
open_port
(self, protocol: str, port: int | str, comment: str)
src/firewall.py:263
↓ 1 callers
Function
ordered_yaml_load
(stream)
doc/generate_manpages.py:47
↓ 1 callers
Method
parent_logger
(self)
src/log.py:651
↓ 1 callers
Function
parent_symlink_points_to_dev_null
(log)
src/log.py:169
↓ 1 callers
Function
parse_argument_mandatory
Parse a mandatory argument.
doc/generate_zsh_completion.py:362
↓ 1 callers
Function
parse_argument_optional
Parse an optional argument.
doc/generate_zsh_completion.py:423
↓ 1 callers
Function
parse_category
Parse a Category (level 1) for its actions and subcategories. Reminder: yunohost monitor info --cpu --ram ^
doc/generate_zsh_completion.py:164
↓ 1 callers
Function
parse_get_managed_objects
( interfaces, managed_objects_data, on_unknown_interface, on_unknown_member )
src/utils/udisks2_interfaces.py:58
↓ 1 callers
Function
parse_subcategory
Parse a sub-category (level 2) for its actions. Reminder: yunohost user group list --full --short ^
doc/generate_zsh_completion.py:237
↓ 1 callers
Method
patch_apt_sources_list
(self)
src/migrations/0027_migrate_to_bookworm.py:461
↓ 1 callers
Method
patch_yunohost_conflicts
(self)
src/migrations/0027_migrate_to_bookworm.py:513
↓ 1 callers
Function
pre_callback
(name, priority, path, args)
src/hook.py:285
↓ 1 callers
Function
progress
(info="")
src/dns.py:908
↓ 1 callers
Method
purge_expired_session_files
(self)
src/authenticators/ldap_admin.py:229
↓ 1 callers
Method
purge_expired_session_files
(self)
src/authenticators/ldap_ynhuser.py:363
↓ 1 callers
Function
ram_available
()
src/utils/system.py:156
↓ 1 callers
Method
recent_kills_by_oom_reaper
(self)
src/diagnosers/50-systemresources.py:186
↓ 1 callers
Function
redact_emails
(data: str)
src/utils/yunopaste.py:118
↓ 1 callers
Function
remove_extension
(f)
src/backup.py:2310
↓ 1 callers
Function
remove_stale_translated_strings
(reference: Locale, locale: Locale)
maintenance/autofix_locale_format.py:140
↓ 1 callers
Function
render
(actions: dict[str, Any])
doc/generate_bash_completion.py:42
↓ 1 callers
Function
render_zsh
Render the jinja template with the parsed categories and helper functions.
doc/generate_zsh_completion.py:645
↓ 1 callers
Method
restore
Restore the archive Restore system parts and apps after mounting the archive, checking free space and postinstall if needed
src/backup.py:1197
↓ 1 callers
Method
rfkill_wifi
(self)
src/diagnosers/00-basesystem.py:325
↓ 1 callers
Method
run
(self)
src/migrations/0032_firewall_config.py:79
↓ 1 callers
Method
run_action
( self, key: str | None = None, args: str | None = None, args_file: str | None
src/utils/configpanel.py:653
↓ 1 callers
Method
security_issues
(self)
src/diagnosers/00-basesystem.py:332
↓ 1 callers
Method
select_device
(self)
src/firewall.py:235
↓ 1 callers
Function
service_enable
Enable one or more services Keyword argument: names -- Services name to enable
src/service.py:312
↓ 1 callers
Function
service_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 callers
Function
service_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 callers
Method
set_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 callers
Method
set_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 callers
Method
set_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 callers
Method
set_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 callers
Function
settings_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 callers
Function
shell_quote
Return a shell-escaped version of the string *s*.
src/hook.py:598
↓ 1 callers
Function
start_log_broker
()
src/utils/sse.py:46
↓ 1 callers
Function
stdinfo_callback
(a)
tests/test_process.py:84
↓ 1 callers
Method
strength
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 callers
Method
strength_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 callers
Function
strip_boring_dpkg_reading_database
(line: str)
src/utils/system.py:407
↓ 1 callers
Function
suboperations
()
src/log.py:380
↓ 1 callers
Function
system_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 callers
Method
test_http
(self, domains, ipversions)
src/diagnosers/21-web.py:119
↓ 1 callers
Function
tools_migrations_list
List existing migrations
src/tools.py:760
↓ 1 callers
Function
tools_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 callers
Function
tools_postinstall
( operation_logger: OperationLogger, domain: str, username: str, fullname: str, password:
src/tools.py:135
↓ 1 callers
Method
translate
Recursivly mutate translatable attributes to their translation
src/utils/configpanel.py:377
↓ 1 callers
Function
trigger_post_change_hook
(setting_name, old_value, new_value)
src/settings.py:285
↓ 1 callers
Function
unstable_apps
()
src/migrations/0027_migrate_to_bookworm.py:106
↓ 1 callers
Method
update_goenv
(self)
src/utils/resources.py:1894
↓ 1 callers
Method
update_rbenv
(self)
src/utils/resources.py:1773
↓ 1 callers
Function
user_export
Export users into CSV
src/user.py:719
↓ 1 callers
Function
user_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 callers
Function
user_permission_add
( permission: str, names: list[str], protected: bool | None = None, force: bool = False, s
src/user.py:1590
↓ 1 callers
Function
user_permission_info
(permission: str)
src/user.py:1619
↓ 1 callers
Function
user_permission_remove
( permission: str, names: list[str], protected: bool | None = None, force: bool = False, s
src/user.py:1605
↓ 1 callers
Method
validate
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 callers
Method
validation_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 callers
Method
write_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
← previous
next →
601–700 of 1,520, ranked by callers