[serendipity-cvs] [s9y/Serendipity] 472ca6: Store cache ttl with cache item

onli via php-blog-cvs <[email protected]> Wed, 15 Oct 2025 02:01:49 -0700
Newsgroups gmane.comp.serendipity.cvs
Message-ID <s9y/Serendipity/push/refs/heads/feature/loginLimits/[email protected]>
  Branch: refs/heads/feature/loginLimits
  Home:   https://github.com/s9y/Serendipity
  Commit: 472ca6da49556c07050ccfaf723027a6d822c54c
      https://github.com/s9y/Serendipity/commit/472ca6da49556c07050ccfaf723027a6d822c54c
  Author: onli <[email protected]>
  Date:   2025-10-15 (Wed, 15 Oct 2025)

  Changed paths:
    M include/functions.inc.php

  Log Message:
  -----------
  Store cache ttl with cache item
This enables us to use the cache on other scenarios than just the entries cache (with its fixed duration). Also disables the redundant check for the cache option, since the code in functions_entries already checks this.


  Commit: a67a59eca6aa33491f07bc3bd111f6d211be77f3
      https://github.com/s9y/Serendipity/commit/a67a59eca6aa33491f07bc3bd111f6d211be77f3
  Author: onli <[email protected]>
  Date:   2025-10-15 (Wed, 15 Oct 2025)

  Changed paths:
    M include/functions_config.inc.php

  Log Message:
  -----------
  Brute force protection for user accounts
Allow 5 login tries a minute, block for a minute


  Commit: ac81e8d8e3a3f352e402e90c070a840e5a18313d
      https://github.com/s9y/Serendipity/commit/ac81e8d8e3a3f352e402e90c070a840e5a18313d
  Author: onli <[email protected]>
  Date:   2025-10-15 (Wed, 15 Oct 2025)

  Changed paths:
    M include/functions_config.inc.php

  Log Message:
  -----------
  Rate limit logins by IP
Prevent a potential attack where futile login attempts make it impossible for the real user to log in.


Compare: https://github.com/s9y/Serendipity/compare/472ca6da4955%5E...ac81e8d8e3a3

To unsubscribe from these emails, change your notification settings at https://github.com/s9y/Serendipity/settings/notifications