Skip to content

Commit

Permalink
add extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
inventor02 committed Oct 30, 2024
1 parent 367fad4 commit 5389ce8
Show file tree
Hide file tree
Showing 151 changed files with 19,222 additions and 2 deletions.
1 change: 0 additions & 1 deletion extensions/OpenIDConnect
Submodule OpenIDConnect deleted from 6302f7
7 changes: 7 additions & 0 deletions extensions/OpenIDConnect/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"root": true,
"extends": [
"wikimedia/client-es5",
"wikimedia/mediawiki"
]
}
4 changes: 4 additions & 0 deletions extensions/OpenIDConnect/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/node_modules/
/vendor/
/composer.lock
/.eslintcache
6 changes: 6 additions & 0 deletions extensions/OpenIDConnect/.gitreview
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[gerrit]
host=gerrit.wikimedia.org
port=29418
project=mediawiki/extensions/OpenIDConnect.git
track=1
defaultrebase=0
10 changes: 10 additions & 0 deletions extensions/OpenIDConnect/.phpcs.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0"?>
<ruleset>
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationPrivate" />
<exclude name="PSR12.Properties.ConstantVisibility.NotFound" />
</rule>
<file>.</file>
<arg name="extensions" value="php" />
<arg name="encoding" value="UTF-8" />
</ruleset>
1 change: 1 addition & 0 deletions extensions/OpenIDConnect/CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The development of this software is covered by a [Code of Conduct](https://www.mediawiki.org/wiki/Special:MyLanguage/Code_of_Conduct).
19 changes: 19 additions & 0 deletions extensions/OpenIDConnect/COPYING
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Copyright (c) 2015-2018 The MITRE Corporation

Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
24 changes: 24 additions & 0 deletions extensions/OpenIDConnect/Gruntfile.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/* eslint-env node, es6 */
module.exports = function ( grunt ) {
grunt.loadNpmTasks( 'grunt-eslint' );
grunt.loadNpmTasks( 'grunt-banana-checker' );

grunt.initConfig( {
banana: {
all: 'i18n/'
},
eslint: {
options: {
cache: true
},
all: [
'**/*.{js,json}',
'!node_modules/**',
'!vendor/**'
]
}
} );

grunt.registerTask( 'test', [ 'eslint', 'banana' ] );
grunt.registerTask( 'default', 'test' );
};
43 changes: 43 additions & 0 deletions extensions/OpenIDConnect/composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"name": "mediawiki/openidconnect",
"type": "mediawiki-extension",
"description": "Provides authentication using OpenID Connect in conjunction with PluggableAuth",
"license": "MIT",
"authors": [
{
"name": "Cindy Cicalese",
"email": "[email protected]"
}
],
"require": {
"jumbojett/openid-connect-php": "0.9.10",
"composer/installers": "~1.0|~2"
},
"require-dev": {
"mediawiki/mediawiki-codesniffer": "43.0.0",
"mediawiki/minus-x": "1.1.1",
"php-parallel-lint/php-console-highlighter": "1.0.0",
"php-parallel-lint/php-parallel-lint": "1.3.2"
},
"scripts": {
"test": [
"parallel-lint . --exclude vendor --exclude node_modules",
"@phpcs",
"minus-x check ."
],
"fix": [
"minus-x fix .",
"phpcbf"
],
"phpcs": "phpcs -sp --cache"
},
"extra": {
"installer-name": "OpenIDConnect"
},
"config": {
"allow-plugins": {
"composer/installers": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}
87 changes: 87 additions & 0 deletions extensions/OpenIDConnect/extension.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
{
"name": "OpenID Connect",
"version": "8.0.3",
"author": [
"[https://www.mediawiki.org/wiki/User:Cindy.cicalese Cindy Cicalese]"
],
"url": "https://www.mediawiki.org/wiki/Extension:OpenID_Connect",
"descriptionmsg": "openidconnect-desc",
"type": "other",
"license-name": "MIT",
"requires": {
"MediaWiki": ">= 1.36.0",
"extensions": {
"PluggableAuth": ">= 7.0"
}
},
"AutoloadNamespaces": {
"MediaWiki\\Extension\\OpenIDConnect\\": "includes/"
},
"ServiceWiringFiles": [
"includes/ServiceWiring.php"
],
"MessagesDirs": {
"OpenIDConnect": [
"i18n"
]
},
"HookHandlers": {
"schema": {
"class": "MediaWiki\\Extension\\OpenIDConnect\\SchemaHooks"
}
},
"Hooks": {
"LoadExtensionSchemaUpdates": "schema"
},
"config": {
"OpenIDConnect_MigrateUsersByEmail": {
"value": false
},
"OpenIDConnect_MigrateUsersByUserName": {
"value": false
},
"OpenIDConnect_SingleLogout": {
"value": false
},
"OpenIDConnect_ForceReauth": {
"value": false
},
"OpenIDConnect_UseRealNameAsUserName": {
"value": false
},
"OpenIDConnect_UseEmailNameAsUserName": {
"value": false
},
"OpenIDConnect_UseRandomUsernames": {
"value": false
},
"OpenIDConnect_EmailProcessor": {
"value": null
},
"OpenIDConnect_RealNameProcessor": {
"value": null
},
"OpenIDConnect_PreferredUsernameProcessor": {
"value": null
}
},
"attributes": {
"PluggableAuth": {
"OpenIDConnect": {
"class": "MediaWiki\\Extension\\OpenIDConnect\\OpenIDConnect",
"services": [
"MainConfig",
"AuthManager",
"OpenIDConnectClient",
"UserIdentityLookup",
"UserNameUtils",
"OpenIDConnectStore",
"TitleFactory",
"GlobalIdGenerator"
]
}
}
},
"load_composer_autoloader": true,
"manifest_version": 2
}
1 change: 1 addition & 0 deletions extensions/OpenIDConnect/gitinfo.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"head": "83024de3bdd67f0ecff6347aa97d128777d433ff\n", "headSHA1": "83024de3bdd67f0ecff6347aa97d128777d433ff\n", "headCommitDate": "1724828724", "branch": "83024de3bdd67f0ecff6347aa97d128777d433ff\n", "remoteURL": "https://gerrit-replica.wikimedia.org/r/mediawiki/extensions/OpenIDConnect"}
9 changes: 9 additions & 0 deletions extensions/OpenIDConnect/i18n/ar.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"@metadata": {
"authors": [
"ديفيد"
]
},
"openidconnect-desc": "يوفر المصادقة باستخدام OpenID Connect بالاقتران مع PluggableAuth",
"selectopenidconnectissuer": "حدد مصدر المصادقة"
}
9 changes: 9 additions & 0 deletions extensions/OpenIDConnect/i18n/ast.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"@metadata": {
"authors": [
"Xuacu"
]
},
"openidconnect-desc": "Ufre autenticación usando OpenID Connect en conxunto con PluggableAuth",
"selectopenidconnectissuer": "Seleicionar el Fornidor d'Autenticación"
}
9 changes: 9 additions & 0 deletions extensions/OpenIDConnect/i18n/be-tarask.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"@metadata": {
"authors": [
"Red Winged Duck"
]
},
"openidconnect-desc": "Забясьпечвае аўтэнтыфікацыю з дапамогай OpenID Connect у спалучэньні з PluggableAuth",
"selectopenidconnectissuer": "Абярыце крыніцу аўтэнтыфікацыі"
}
9 changes: 9 additions & 0 deletions extensions/OpenIDConnect/i18n/de.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"@metadata": {
"authors": [
"Metalhead64"
]
},
"openidconnect-desc": "Ermöglicht eine Authentifizierung mithilfe OpenID Connect in Verbindung mit PluggableAuth",
"selectopenidconnectissuer": "Authentifizierungsgeber auswählen"
}
9 changes: 9 additions & 0 deletions extensions/OpenIDConnect/i18n/el.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"@metadata": {
"authors": [
"NikosLikomitros",
"Nikosgranturismogt"
]
},
"selectopenidconnectissuer": "Επιλογή εκδότη επαλήθευσης"
}
9 changes: 9 additions & 0 deletions extensions/OpenIDConnect/i18n/en.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"@metadata": {
"authors": [
"Cicalese"
]
},
"openidconnect-desc": "Provides authentication using OpenID Connect in conjunction with PluggableAuth",
"selectopenidconnectissuer": "Select Authentication Issuer"
}
8 changes: 8 additions & 0 deletions extensions/OpenIDConnect/i18n/es.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"@metadata": {
"authors": [
"DiegoAmbrocio"
]
},
"selectopenidconnectissuer": "Seleccione el emisor de la autenticación"
}
10 changes: 10 additions & 0 deletions extensions/OpenIDConnect/i18n/fr.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"@metadata": {
"authors": [
"Verdy p",
"Wladek92"
]
},
"openidconnect-desc": "Fournit une authentification utilisant OpenID Connect conjointement avec PluggableAuth",
"selectopenidconnectissuer": "Sélectionnez l’émetteur de l’authentification"
}
9 changes: 9 additions & 0 deletions extensions/OpenIDConnect/i18n/gl.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"@metadata": {
"authors": [
"Elisardojm"
]
},
"openidconnect-desc": "Proporciona autentificación usando OpenID xunto con PluggableAuth",
"selectopenidconnectissuer": "Seleccionar distribuidor de autenticación"
}
9 changes: 9 additions & 0 deletions extensions/OpenIDConnect/i18n/he.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"@metadata": {
"authors": [
"Amire80"
]
},
"openidconnect-desc": "אספקת אימות באמצעות OpenID Connect בשילוב עם PluggableAuth",
"selectopenidconnectissuer": "בחירת מנפיק אימות"
}
9 changes: 9 additions & 0 deletions extensions/OpenIDConnect/i18n/ia.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"@metadata": {
"authors": [
"McDutchie"
]
},
"openidconnect-desc": "Forni authentication usante OpenID Connect in conjunction con PluggableAuth",
"selectopenidconnectissuer": "Selige emissor de authentication"
}
9 changes: 9 additions & 0 deletions extensions/OpenIDConnect/i18n/ja.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"@metadata": {
"authors": [
"Otokoume"
]
},
"openidconnect-desc": "PluggableAuth と合わせて、OpenID の接続を使用して認証を提供します",
"selectopenidconnectissuer": "認証の発行者を選択"
}
9 changes: 9 additions & 0 deletions extensions/OpenIDConnect/i18n/ko.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"@metadata": {
"authors": [
"Revi"
]
},
"openidconnect-desc": "PluggableAuth와 같이 사용하여 OpenID 연결 지원",
"selectopenidconnectissuer": "인증 제공자 선택"
}
9 changes: 9 additions & 0 deletions extensions/OpenIDConnect/i18n/ksh.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"@metadata": {
"authors": [
"Purodha"
]
},
"openidconnect-desc": "Määd en Aanmäldong övver <i lang=\"en\" xml:lang=\"en\" dir=\"ltr\" title=\"„offe Edäntefekazjuhn“ — en zäntrahle Manihr för ennzelogge\">OpenID</i> zersamme met <i lang=\"en\" xml:lang=\"en\">PluggableAuth</i> müjjelesch.",
"selectopenidconnectissuer": "Donn ußsöhke, wä di Aanmäldong aanbedt"
}
8 changes: 8 additions & 0 deletions extensions/OpenIDConnect/i18n/lt.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"@metadata": {
"authors": [
"Nokeoo"
]
},
"openidconnect-desc": "Autentifikavimas naudojant „OpenID Connect“ kartu su „PluggableAuth“."
}
9 changes: 9 additions & 0 deletions extensions/OpenIDConnect/i18n/mk.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"@metadata": {
"authors": [
"Bjankuloski06"
]
},
"openidconnect-desc": "Овозможува заверка со OpenID Connect која работи заедно со PluggableAuth",
"selectopenidconnectissuer": "Изберете издавач на заверката"
}
9 changes: 9 additions & 0 deletions extensions/OpenIDConnect/i18n/nb.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"@metadata": {
"authors": [
"Jon Harald Søby"
]
},
"openidconnect-desc": "Gir autentisering med OpenID Connect i forbindelse med PluggableAuth",
"selectopenidconnectissuer": "Velg autentiseringsutsteder"
}
9 changes: 9 additions & 0 deletions extensions/OpenIDConnect/i18n/nl.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"@metadata": {
"authors": [
"McDutchie"
]
},
"openidconnect-desc": "Biedt authenticatie met behulp van OpenID Connect in combinatie met PluggableAuth",
"selectopenidconnectissuer": "Selecteer authenticatie-uitgever"
}
Loading

0 comments on commit 5389ce8

Please sign in to comment.