提交图

297 次代码提交

作者 SHA1 备注 提交日期
libraryupgrader
86d24eea4b build: Updating grunt-banana-checker to 0.13.0
Change-Id: I45cf782633b9403d81730a571b6f778f89221ccc
2024-05-18 22:14:21 +00:00
libraryupgrader
e8aceb144c build: Updating grunt-banana-checker to 0.12.0
Change-Id: Ic87e009bdf572fdeb879a6c8c4579f2a36839272
2024-05-10 20:39:19 +00:00
libraryupgrader
cc2825d5dd build: Updating composer dependencies
* mediawiki/minus-x: 1.1.1 → 1.1.3
* php-parallel-lint/php-parallel-lint: 1.3.2 → 1.4.0

Change-Id: I20273bfd0ead841f7febfe10cc13ad62d322b84f
2024-05-06 00:44:07 +00:00
libraryupgrader
f6d5be908d build: Updating eslint-config-wikimedia to 0.27.0
Change-Id: I11ed6926d15ef2c07fdfb4406f75cdfea72abf29
2024-04-18 02:12:28 +00:00
Cicalese
c321675477 Remove wonky test that fails in PHP 8.2
The test somehow indirectly triggers addition of a dynamic
property in auth/AuthenticationRequest:loadFromSubmission().
The test is quite brittle and relies on implementation knowledge,
so it should be reworked regardless. Removing it for now so it
doesn't block other extension work.

Change-Id: I38b1fd427021019e9f6f8004a04d61d91f01115d
2024-04-04 19:27:15 +00:00
libraryupgrader
6fa78abcdd build: Updating mediawiki/mediawiki-codesniffer to 43.0.0
Change-Id: I764b99ea5ace84052f0a2bd83a6974210932f38b
2024-03-17 23:26:26 +00:00
Translation updater bot
596987fff7 Localisation updates from https://translatewiki.net.
Change-Id: Ie48cb458425e68f8447bb78fa0e9bcc62873cbef
2024-02-26 08:36:51 +01:00
Cindy Cicalese
0d1185da8a Keep extra login fields with associated PluggableAuth login button and add weight to allow fields to be moved.
Change-Id: Idd44d8cdc99ecb3dffc0251351d23437d5d22a50
2024-02-23 10:32:32 -05:00
libraryupgrader
af60bbe70c build: Updating grunt-banana-checker to 0.11.1
Change-Id: If7995b6a39db77822121716f7694d5556560a07c
2024-02-10 21:58:35 +00:00
libraryupgrader
7cb69f226d build: Updating npm dependencies
* eslint-config-wikimedia: 0.25.0 → 0.26.0
* grunt-eslint: 24.0.1 → 24.3.0

Change-Id: Ifca318f9fb4da5fc9ca5c95b60f1f33f5890d72b
2024-02-09 10:16:53 +00:00
Cindy Cicalese
911ba728eb Fix test (database access)
Change-Id: I59a7763c65a216d62293a3f41408bff772fa095a
2024-02-07 22:10:12 -05:00
Translation updater bot
a7296e9ed6 Localisation updates from https://translatewiki.net.
Change-Id: I16383ada6ef1a0452d1e11110f8504c13de67eb5
2024-02-05 08:50:19 +01:00
libraryupgrader
935c6b9a17 build: Updating npm dependencies
* eslint-plugin-compat: 4.0.2 → 4.2.0
  * https://github.com/advisories/GHSA-c2qf-rxjj-qqgw
  * https://github.com/advisories/GHSA-c2qf-rxjj-qqgw
  * https://github.com/advisories/GHSA-c2qf-rxjj-qqgw
* semver: 7.3.5 → 7.5.4
  * https://github.com/advisories/GHSA-c2qf-rxjj-qqgw
  * https://github.com/advisories/GHSA-c2qf-rxjj-qqgw
  * https://github.com/advisories/GHSA-c2qf-rxjj-qqgw
* word-wrap: 1.2.3 → 1.2.5
  * https://github.com/advisories/GHSA-j8xg-fqg3-53r7

Change-Id: Ic46e21b187a5d1fa631f930dc774318b9ab32de2
2024-02-04 08:32:11 +00:00
Translation updater bot
3f9891e05c Localisation updates from https://translatewiki.net.
Change-Id: I7edeb8d38ed8eca2bcecfb9c13eb2ef0522c5695
2024-01-18 09:26:56 +01:00
Translation updater bot
5d1e36956d Localisation updates from https://translatewiki.net.
Change-Id: Iccadb85b8732cfd8b973dd7948271282840594a9
2024-01-05 09:13:15 +01:00
Translation updater bot
9c238b553a Localisation updates from https://translatewiki.net.
Change-Id: I84f70ac5bf3fe24e1ce9e9b57b68f4487ab50d6b
2023-12-22 17:46:40 +01:00
Translation updater bot
64d4be5866 Localisation updates from https://translatewiki.net.
Change-Id: I0caaaab22d53c5c8429be39b52f62599df411bd7
2023-12-04 09:05:27 +01:00
Translation updater bot
ea4ab95190 Localisation updates from https://translatewiki.net.
Change-Id: Id2a43fe8cb0f02242fcebc918d5253af6869cf23
2023-11-20 08:52:00 +01:00
Zoltan Vajda
02e9d5aa15 Add some unit test classes to Database group
Some PluggableAuth extension unit tests fail because tests change database
content, but the test classes are not in the Database group. Becuase no
database prefix is set for such tests, the tests fail with an assertion
(error message: "RuntimeException: Can't create user on real database").

Bug: T348927
Change-Id: Iaa87b08d11de0d11b564ebc9edf8d376ab8d052d
2023-10-15 18:03:06 +02:00
Translation updater bot
6d7e615ccc Localisation updates from https://translatewiki.net.
Change-Id: Ib39cdf89c116732527b5341db6b669ade626de06
2023-10-09 08:56:44 +02:00
Translation updater bot
ec02162c16 Localisation updates from https://translatewiki.net.
Change-Id: Iac706726a3c02c2da884ce633973bc9b2916c1a1
2023-10-05 09:12:11 +02:00
Translation updater bot
3c1fc627ab Localisation updates from https://translatewiki.net.
Change-Id: I956fe8a29dd79da948ee099104cc0677a6d636b0
2023-10-02 10:58:04 +02:00
Translation updater bot
f4520a42ef Localisation updates from https://translatewiki.net.
Change-Id: I402a7bddba18b2f04216fe3f1d1e5963b60608e6
2023-08-23 08:40:06 +02:00
Translation updater bot
6e2b231500 Localisation updates from https://translatewiki.net.
Change-Id: Ic510c3872d412d432d14430589883b34e21048d4
2023-08-11 09:01:28 +02:00
Translation updater bot
dd115ab28a Localisation updates from https://translatewiki.net.
Change-Id: Iac9de299ed4351697613129242c77b1e0935a9a8
2023-07-31 09:00:13 +02:00
Translation updater bot
e269a87928 Localisation updates from https://translatewiki.net.
Change-Id: I5a0cea8a3e1248f003a5466fddb0351b90c3e0e6
2023-06-19 11:07:47 +02:00
jenkins-bot
3329902406 Merge "Revert "Make logger available to subclasses"" 2023-06-14 18:07:19 +00:00
Cicalese
416f81dbc1 Revert "Make logger available to subclasses"
This reverts commit e24ab1c337.

Reason for revert: there are getLogger()/setLogger() functions to facilitate more disciplined interaction with the logger instance

Change-Id: Id0a3e06229dfe415344b3bd982631084d5645946
2023-06-14 16:22:33 +00:00
jenkins-bot
4203ee8298 Merge "Make logger available to subclasses" 2023-06-14 15:31:33 +00:00
Translation updater bot
28a58445f0 Localisation updates from https://translatewiki.net.
Change-Id: Icb77f038b8a66b2251a430a1400381d29c561408
2023-06-14 13:07:44 +02:00
rvogel
e24ab1c337 Make logger available to subclasses
As `MediaWiki\Extension\PluggableAuth\PluggableAuth` is meant to be base
class, we should allow subclasses to access the logger object in order
to emit custom messages to the log.

Change-Id: Ie79d1119def44be492235d2452ccefec10533ec1
2023-06-14 12:43:17 +02:00
cicalese
548242e89a Bump version number to release version 7.0.0
Change-Id: Ife5d7f7763624cc695f24dcc327dc8bfd768ac34
2023-06-12 11:44:41 -04:00
Translation updater bot
1a9cb88813 Localisation updates from https://translatewiki.net.
Change-Id: I3d0fd448fa69bdb762e4eec17757e53e547a1377
2023-06-12 13:08:00 +02:00
Translation updater bot
77689491de Localisation updates from https://translatewiki.net.
Change-Id: I19c6ddbf9b619e06cc8265d4fa78f7517fc09ce8
2023-06-09 09:14:35 +02:00
Translation updater bot
c519434bd4 Localisation updates from https://translatewiki.net.
Change-Id: I7cbafebb3e9807a886ed75c7c8c43d2d13e39003
2023-06-08 10:40:36 +02:00
Translation updater bot
1e558c252d Localisation updates from https://translatewiki.net.
Change-Id: Ibd3e67a4db04fb70d923604a0aa583a059a502b3
2023-06-06 08:11:39 +02:00
Translation updater bot
3ae6f55bd5 Localisation updates from https://translatewiki.net.
Change-Id: I6297f911cb61543103554dc068d197b6a4f051ec
2023-06-05 08:41:21 +02:00
cicalese
8e4effc006 Fix typos and remove unused config attributes
Change-Id: I84ed13dcb3946e4165db41976db16e59781fd0e2
2023-06-04 17:25:33 -04:00
cicalese
225398d0b9 Add title for logout special page
Change-Id: I9969fe3adf31ab9fbdf1f2dc746f02ad63ec76ea
2023-06-03 13:59:15 -04:00
cicalese
dc3e0b7137 Don't store return to URL as an auth/session secret
Also remove unused query data

Bug: T322828
Change-Id: Ie102753215ff04e4c86db7b3802ef9c21be4ca56
2023-06-03 15:51:13 +00:00
rvogel
bae9a012c0 Add special "logout" page to avoid API logout issues
Newer MediaWiki versions will use a XHR call to the "logout" Action API.
This is not compatible with some authentication plugins that require
regular HTTP redirects to happen on logout (e.g. SimpleSAMLphp and
OpenIDConnect).
Also, logging out using the classic Special:Userlogout requires an
additional button click, which may not be desired.
Therefore we add an optional dedicated "silent" logout special page.

Bug: T305031
Change-Id: I182d96df730119e390af8b5b033de0ab6b171680
2023-06-03 01:51:22 +00:00
cicalese
b3fa4d559f Move 'groupsyncs' out of 'data' config element
Made some members private and added accessors

Change-Id: I0c5191e6b31ff5782498ffa5448065d037d530e7
2023-06-02 21:43:45 -04:00
Translation updater bot
1bf03e89bd Localisation updates from https://translatewiki.net.
Change-Id: I3f51900c35b8819d64e1bd67715877aee268f775
2023-06-02 09:24:36 +02:00
libraryupgrader
d039418b6c build: Updating grunt-banana-checker to 0.11.0
Change-Id: If87bc4e7e39225902380957fb06b0787faedd7d7
2023-06-02 00:27:31 +00:00
cicalese
9465e3f273 Add group population framework
Changes:
- Add new `IGroupProcessor` that allows for a unified way of syncing
groups
- Add concrete implementations `SyncAll` and `Mapped` based on the
functionality of Extension:SimpleSAMLphp, Extension:OpenIDConnect and  Extension:LDAPGroups
- Add `PluggableAuthPlugin::getAttributes`
- Remove `PluggableAuthPlugin::populateGroups` (Breaking change!)

Change-Id: I9f89a511b1bad0d6a5884806cebf1636bae0250b
2023-05-30 01:24:02 +00:00
Mark A. Hershberger
243e075cf8
Require installers for correct installation
Change-Id: Id89c455955cea4dab6ee06516e4a23edc1710040
2023-05-24 13:21:29 -04:00
cicalese
8fa66710b5 Convert group population from a hook to a function on PluggableAuthPlugin
Change-Id: I222a1a00cd4ceca0f2ca21a529a156036cba666e
2023-05-14 21:55:39 +00:00
cicalese
a5d76f16e2 Make config case insensitive
Change-Id: I59bafa1380e9a50a35fde781aee040a7d073fa6e
2023-05-14 21:55:31 +00:00
akulbii
c62333672a Fix missing username in "onPluggableAuthUserAuthorization" hook
Bug: T334950
Change-Id: I29a02d5cd98f0a4da313ef7d6dd50bcd52660724
(cherry picked from commit b3c095b4cc)
2023-05-14 21:38:50 +00:00
jenkins-bot
f5afe821c4 Merge "Add getter for all plugin instances" 2023-05-14 21:36:53 +00:00