1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mediawiki_ynh.git synced 2024-09-03 19:46:05 +02:00
mediawiki_ynh/manifest.toml
Félix Piédallu 22f0b46bde Revamp LDAP :
* Move ldap config to json file
* enable all extensions
* rename options
2023-12-01 10:21:50 +01:00

154 lines
5.2 KiB
TOML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#:schema https://raw.githubusercontent.com/YunoHost/apps/master/schemas/manifest.v2.schema.json
packaging_format = 2
id = "mediawiki"
name = "MediaWiki"
description.en = "Wiki package originally for use on Wikipedia"
description.fr = "Wiki développé à lorigine pour Wikipédia"
version = "1.40.1~ynh1"
maintainers = ["Salamandar"]
[upstream]
license = "GPL-2.0-or-later"
website = "https://www.mediawiki.org"
demo = "https://www.wikipedia.org"
admindoc = "https://www.mediawiki.org/wiki/Documentation"
userdoc = "https://www.mediawiki.org/wiki/Project:Help"
code = "https://github.com/wikimedia/mediawiki"
[integration]
yunohost = ">= 11.1.17"
architectures = "all"
multi_instance = true
ldap = true
sso = false
disk = "50M"
ram.build = "50M"
ram.runtime = "50M"
[install]
[install.domain]
type = "domain"
[install.path]
type = "path"
default = "/wiki"
[install.init_main_permission]
help.en = "Visibility of the wiki (handled by Yunohost)"
help.fr = "La visibilité du wiki (gérée par Yunohost)"
type = "group"
default = "visitors"
[install.language]
ask.en = "Choose the application language"
ask.fr = "Choisissez la langue de l'application"
type = "select"
choices = ["en", "fr"]
default = "en"
[install.admin]
type = "user"
[install.password]
help.en = "The password for the wiki administrator. It needs to be solid or the installation process will fail."
help.fr = "Le mot de passe de l'administrateur du wiki. Il doit être solide, sinon l'installation échouera."
type = "password"
[install.wiki_name]
ask.en = "Choose the application name"
ask.fr = "Choisissez le nom de l'application"
type = "string"
default = "YunoWiki"
[install.public_wiki]
ask.en = "Is this Wiki public ?"
ask.fr = "Ce Wiki est-il public ?"
help.en = "This visibility is handled by Mediawiki, not Yunohost"
help.fr = "Cette visibilité est gérée par Mediawiki, pas Yunohost"
type = "boolean"
default = true
[install.local_accounts]
ask.en = "Allow local accounts (non-Yunohost login) ?"
ask.fr = "Autoriser les comptes locaux (non connectés à Yunohost) ?"
help.en = "If this is enabled, people without a Yunohost account can create an account, local to the wiki."
help.fr = "Si activé, les personnes sans compte Yunohost pourront créer un compte local au wiki."
type = "boolean"
default = false
[install.yunohost_accounts]
ask.en = "Link with Yunohost accounts"
ask.fr = "Lier aux comptes Yunohost"
help.en = "If this is enabled, Yunohost users will be able to login."
help.fr = "Si activé, les utilisateurs Yunohost pourront s'authentifier."
type = "boolean"
default = true
[resources]
[resources.sources]
[resources.sources.main]
url = "https://releases.wikimedia.org/mediawiki/1.40/mediawiki-1.40.1.tar.gz"
sha256 = "e05d419de40c6ad03145aca07e08cf995d1ca1667d97793bb73970e2c11b0a04"
[resources.sources.auth_remoteuser]
url = "https://github.com/wikimedia/mediawiki-extensions-Auth_remoteuser/archive/1a72290f4b3f35694a9a0a71d7c17258badca429.tar.gz"
sha256 = "4864edde068209a8a72a97238041220d47b3d4cd4c353637dd0857f488b67904"
in_subdir = true
[resources.sources.ldap_groups]
url = "https://github.com/wikimedia/mediawiki-extensions-LDAPGroups/archive/6babc982f16ea9b6a6a64d45e55413c663bc6b6f.tar.gz"
sha256 = "88ce087760726ea61c002c8d4b169b1d3a5421d76d8e4afa916ba55051a9130a"
in_subdir = true
[resources.sources.ldap_authorization]
url = "https://github.com/wikimedia/mediawiki-extensions-LDAPAuthorization/archive/ddf0de6ed25b0eaf69605b83ffb707369ccabaa4.tar.gz"
sha256 = "d5119a25d1f2885fa947c401570074dd5ff5bb82684df748ed60388ab16ca427"
in_subdir = true
[resources.sources.pluggable_auth]
url = "https://github.com/wikimedia/mediawiki-extensions-PluggableAuth/archive/ad994fcc97f2f11d4819a091dbfdd52fac2460d5.tar.gz"
sha256 = "1d9112b5ec163ce0c96f423eb304b7401d4fb8d81af8ecdb1785e62ca7049d6c"
in_subdir = true
[resources.sources.ldap_authentication2]
url = "https://github.com/wikimedia/mediawiki-extensions-LDAPAuthentication2/archive/f303c5544c1fd4bc4332ffbd3395765f9e67316b.tar.gz"
sha256 = "fa1f62540d22606105914033dd21ced4fbf2bb56c28f84ea1f02c0e244890a4d"
in_subdir = true
[resources.sources.ldap_userinfo]
url = "https://github.com/wikimedia/mediawiki-extensions-LDAPUserInfo/archive/40e886feb9f2e49dbd37888b541919395b1cb059.tar.gz"
sha256 = "ced9cd10fac674999c70a23bfab43a08e8ebcd112de9a040da6af5c11f86de8f"
in_subdir = true
[resources.sources.ldap_provider]
url = "https://github.com/wikimedia/mediawiki-extensions-LDAPProvider/archive/d12e1b453e79b2776c1b2533873e9034b40390bc.tar.gz"
sha256 = "e98aa5bfdabd80f97bc4a7d94356bcfca3c128f1e49ac6cc68d63e71fed8f927"
in_subdir = true
[resources.system_user]
[resources.install_dir]
[resources.permissions]
main.url = "/"
[resources.apt]
packages = [
"php8.1-fpm",
"php8.1-mysql",
"php8.1-mbstring",
"php8.1-xml",
"php8.1-intl",
"mariadb-server",
"diffutils",
"imagemagick",
"acl",
]
[resources.database]
type = "mysql"