-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
367fad4
commit 5389ce8
Showing
151 changed files
with
19,222 additions
and
2 deletions.
There are no files selected for viewing
Submodule OpenIDConnect
deleted from
6302f7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"root": true, | ||
"extends": [ | ||
"wikimedia/client-es5", | ||
"wikimedia/mediawiki" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
/node_modules/ | ||
/vendor/ | ||
/composer.lock | ||
/.eslintcache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' ); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"@metadata": { | ||
"authors": [ | ||
"ديفيد" | ||
] | ||
}, | ||
"openidconnect-desc": "يوفر المصادقة باستخدام OpenID Connect بالاقتران مع PluggableAuth", | ||
"selectopenidconnectissuer": "حدد مصدر المصادقة" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": "Абярыце крыніцу аўтэнтыфікацыі" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"@metadata": { | ||
"authors": [ | ||
"NikosLikomitros", | ||
"Nikosgranturismogt" | ||
] | ||
}, | ||
"selectopenidconnectissuer": "Επιλογή εκδότη επαλήθευσης" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"@metadata": { | ||
"authors": [ | ||
"Amire80" | ||
] | ||
}, | ||
"openidconnect-desc": "אספקת אימות באמצעות OpenID Connect בשילוב עם PluggableAuth", | ||
"selectopenidconnectissuer": "בחירת מנפיק אימות" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"@metadata": { | ||
"authors": [ | ||
"Otokoume" | ||
] | ||
}, | ||
"openidconnect-desc": "PluggableAuth と合わせて、OpenID の接続を使用して認証を提供します", | ||
"selectopenidconnectissuer": "認証の発行者を選択" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"@metadata": { | ||
"authors": [ | ||
"Revi" | ||
] | ||
}, | ||
"openidconnect-desc": "PluggableAuth와 같이 사용하여 OpenID 연결 지원", | ||
"selectopenidconnectissuer": "인증 제공자 선택" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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“." | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"@metadata": { | ||
"authors": [ | ||
"Bjankuloski06" | ||
] | ||
}, | ||
"openidconnect-desc": "Овозможува заверка со OpenID Connect која работи заедно со PluggableAuth", | ||
"selectopenidconnectissuer": "Изберете издавач на заверката" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} |
Oops, something went wrong.