Skip to content
Snippets Groups Projects
  1. Jul 30, 2023
  2. Jul 19, 2023
  3. Jun 12, 2023
  4. May 12, 2023
    • Tim van Dijen's avatar
      Propagate Symfony responses throughout the code (#1760) · a6458f5b
      Tim van Dijen authored
      * Migrate HTTP::redirect
      
      * Migrate HTTP::redirectTrustedURL
      
      * Migrate HTTP::redirectUntrustedURL
      
      * Migrate HTTP::submitPOSTData
      
      * Temporarily revert to make phpunit work
      
      * Migrate logout handlers
      
      * Remove unnecessary assertion & simplify logics
      
      * Remove unnecessary assertion & add new one to check response type
      
      * Remove unnecessary assertion & rationalize code
      
      * Migrate IdPDisco
      
      * Migrate ProcessingChain
      
      * Fix return-type & drop unnecessary use-statement
      
      * Address review comments
      
      * Do not add caching headers at all
      
      * Fix type-confusions
      
      * Migrate saml2 bindings
      
      * Migrate completeAuth
      
      * Migrate handleLogout
      
      * Migrate some more
      
      * Migrate a whole lot more (messy)
      
      * Migrate logout
      
      * Migrate a whole lot more (also messy)
      
      * Many fixes
      
      * Raise coverage
      
      * Psalm: Ignore exteranl adfs-module
      
      * Replace use of _GET globals
      
      * Migrate bindings (send)
      
      * Migrate bindings (receive)
      
      * Fix psalm-dev
      
      * Fix assertion
      
      * s/subclassOf/isInstanceOf
      
      * Fix type-confusion in logout handlers
      
      * Update container
      
      * Bump saml2 + adfs
      
      * Rename namespace
  5. Feb 28, 2023
  6. Jan 29, 2023
  7. Jan 04, 2023
  8. May 29, 2022
  9. Mar 16, 2022
  10. Feb 19, 2022
  11. Jan 28, 2022
  12. Mar 14, 2021
    • Tim van Dijen's avatar
      Migrate utility-classes to non-static (part 2) (#1441) · 0b861789
      Tim van Dijen authored
      * Migrate email utils to non-static
      
      * Migrate http utils to non-static
      
      * Migrate net utils to non-static
      
      * Migrate random utils to non-static
      
      * Migrate system utils to non-static
      
      * Migrate time utils to non-static
      
      * Migrate xml utils to non-static
      
      * Upgrade notes
      
      * Update test-framework
      
      * Fix tests
  13. Mar 12, 2021
  14. Jan 22, 2021
  15. Sep 15, 2020
  16. Sep 10, 2020
  17. Aug 25, 2020
    • Iwan Luijks's avatar
      rememberme: Set cookie lifetime iso expire fixing the remember me feature and respective errors. · 6a265f60
      Iwan Luijks authored
      Currently the remember me functionality does not work correctly and using it results in severable undefined index errors as the expire cookie parameter is passed along the SessionHandlerPHP which does not accept this one. Using lifetime instead of expire, effectively doing the same thing, this can be fixed in a pretty simple way. Next to that the params given to the session handler are merged with the current ones before given to the session handler instead of after.
      6a265f60
  18. Jun 13, 2020
  19. Apr 30, 2020
  20. Feb 22, 2020
  21. Feb 15, 2020
  22. Feb 14, 2020
  23. Dec 24, 2019
  24. Oct 01, 2019
  25. Sep 24, 2019
  26. Sep 16, 2019
    • Jaime Pérez Crespo's avatar
      Do not attempt to set the session ID for transient sessions · 8b4b2138
      Jaime Pérez Crespo authored
      It just doesn't make any sense. If we managed to get it from an existing cookie, it serves no purpose, as at this point we couldn't load the session anyway, and what we use to track users is the track ID, not the session ID. Additionally, since this is a transient session, we're not going to push the cookie to the browser (we might not even can do that), so it's really pointless to set the session ID.
      
      This, additionally, was causing that the Session class would be unable to initialize and register a transient session if the issue that forced us to use a transient in the first place was an issue with the session handler (e.g. missing PHP extensions or dependencies, or connection failure to the backend, etc). Under such circumstances, the code removed here will not work either, since the session handler will continue to fail to initialize. This would cause the exception handler to jump in, completely losing control of the execution, and making it impossible to display the error to the user (since the transient session creation is never completed, it cannot be used later where it is needed in the SimpleSAML\Error\Error class).
      
      This resolves #914.
    • Jaime Pérez Crespo's avatar
      Remove misleading phpdoc · 2748d2da
      Jaime Pérez Crespo authored
      This comment used to be true, but the behaviour was changed in 3c52b289 in order to purge old data more often.
      2748d2da
  27. Sep 04, 2019
    • Jaime Pérez Crespo's avatar
      Make sure expired data is actually purged · 3c52b289
      Jaime Pérez Crespo authored
      The SimpleSAML\Session::expireData() method did not mark the session as dirty when there was expired data on it, so if nothing else changed, the data was never actually purged. It was done like this by design, but in practice, it seems like sessions aren't modified as often, meaning they end up growing a lot with each state array that's stored on them, and expired data is never removed. We now check for expired data in the save() method (which is run every time a session is destroyed, if not manually) and if there is any, we mark the session as dirty, so that it is actually updated in the backend. Most of the time this will be transparent and have no visible performance hit, as it'll be run after the response is sent, during shutdown.
      
      This closes #1053
  28. Aug 31, 2019
Loading