1. 26 May, 2022 2 commits
  2. 21 May, 2022 1 commit
    • libraryupgrader's avatar
      build: Updating dependencies · 60089a6b
      libraryupgrader authored
      composer:
      * mediawiki/mediawiki-codesniffer: 38.0.0 → 39.0.0
      * php-parallel-lint/php-console-highlighter: 0.5.0 → 1.0.0
      * php-parallel-lint/php-parallel-lint: 1.3.1 → 1.3.2
      
      npm:
      * eslint-config-wikimedia: 0.20.0 → 0.22.1
      * grunt: 1.4.0 → 1.5.2
      * grunt-eslint: 23.0.0 → 24.0.0
      * async: 3.2.0 → 3.2.3
        * https://github.com/advisories/GHSA-fwr7-v2mv-hh25
      
      Additional changes:
      * Set `name` in package.json.
      
      Change-Id: Iee8e5be8ef273b2d584e9f06354259cb20dfc04a
      60089a6b
  3. 16 May, 2022 1 commit
  4. 19 Apr, 2022 1 commit
  5. 04 Apr, 2022 1 commit
  6. 03 Apr, 2022 2 commits
  7. 01 Apr, 2022 1 commit
  8. 28 Mar, 2022 1 commit
  9. 27 Mar, 2022 2 commits
  10. 26 Mar, 2022 1 commit
  11. 25 Mar, 2022 2 commits
  12. 24 Mar, 2022 7 commits
  13. 23 Mar, 2022 3 commits
  14. 21 Mar, 2022 4 commits
    • rvogel's avatar
      Extract PluggableAuthPlugin interface · 6d967702
      rvogel authored
      Change-Id: I755ddfba37d49deb842c58153e7879887077a920
      6d967702
    • rvogel's avatar
      Drop support of `ExtraLoginFields` · cf4e059e
      rvogel authored
      This functionality is basically never used in the ecosystem.
      
      Checked
      - "Extension:Email_Authorization"
      - "Extension:NaylorAMS"
      - "Extension:OpenID_Connect"
      - "Extension:Shibboleth"
      - "Extension:SimpleSAMLphp"
      - "Extension:WSOAuth"
      - "Extension:SteamAuth"
      
      The "Extension:LDAPAuthentication2" is the only extension that acutally
      adds additional fields, but it is using a different mechanism.
      
      Change-Id: I8fe8bfe29e4605c1beffcc0a648ecb287fc4700a
      cf4e059e
    • rvogel's avatar
      Isolate ObjectFactory spec · c9d7601e
      rvogel authored
      This makes it more clear what part of the "config" is for creating the `PluggableAuth` object, and
      what is used to configure it.
      
      Change-Id: Id66f4805456c2bbfa932c4304d84f84a0521b0f3
      c9d7601e
    • rvogel's avatar
      Use generic ObjectFactory and LoggerAwareInterface · a998a013
      rvogel authored
      This way consuming code can make full use of `ObjectFactory`
      capabilities.
      
      Change-Id: Ie117ff5e4689e4258ef1f143384bc433f0ca8630
      a998a013
  15. 15 Mar, 2022 1 commit
  16. 25 Jan, 2022 1 commit
  17. 24 Jan, 2022 1 commit
  18. 21 Jan, 2022 1 commit
    • cicalese's avatar
      Allow PluggableAuth to work with multiple authentication plugin instances · bdb42165
      cicalese authored
      This allows PluggableAuth to be configured with more than one
      authentication plugin or with more than one instance of the same
      authentication plugin (i.e. different identity providers
      with the same authentication plugin) simultaneously.
      
      Configuration is provided through the $wgPluggableAuth_Config
      configuration variable or, if that is not set, from the legacy
      configuration variables for backward compatibility
      ($wgPluggableAuth_Class, $wgPluggableAuth_ButtonLabelMessage,
      $wgPluggableAuth_ButtonLabel, and $wgPluggableAuth_ExtraLoginFields).
      If $wgPluggableAuth_Config is set, it must be an array of arrays
      that must contain array fields as follows:
      
      - class (required): the name of a PluggableAuth subclass that will be
      used to instantiate the authentication plugin
      - data (optional): will be passed to the constructor of the
      authentication plugin, if set; if no 'data' field is provided, no
      arguments will be passed to the constructor
      - buttonLabelMessage (optional): a Message that will be used for the
      login button label
      - buttonLabel (optional): a text string that will be used for the
      login button label if buttonLabelMessage is not set
      - extraLoginFields (optional): an array of fields to be added to the
      login form (see documentation at AuthenticationRequest::getFieldInfo()
      for the format). If not set, the value will come from the static
      getExtraLoginFields() function on the authentication plugin. That
      function defaults to an empty array (no extra login fields) in the
      PluggableAuth abstract superclass.
      
      Bug: T258726
      Change-Id: Id11008cd280ba2bcac68a8c1ecf00b86b1c49b77
      bdb42165
  19. 18 Jan, 2022 1 commit
  20. 17 Jan, 2022 6 commits