- Issue created by @batigolix
- π¦πΊAustralia elc
It would make more sense to keep the solution and the background together over in β¨ Support external Flood Postponed: needs info , marking this as a duplicate. The code to add Redis (or whatever replaces it) is mostly complete in that issue, it just needs to be merged into the new layout. The code in the patches for FloodUnblockManagerBase in β¨ Make FloodUnblockManager generic Active seem to be based off the original issue. There are a pile of people who deserve credit for getting it to this point, plus more people who would be notified of the updates and changes in plan. I only ran into this due to the posts by Anybody and catch on that issue.
- Status changed to Needs work
8 months ago 9:11am 26 April 2024 - π³π±Netherlands batigolix Utrecht
I announced splitting this issue in this comment:
https://www.drupal.org/project/flood_control/issues/2928007#comment-1553... β¨ Support external Flood Postponed: needs infoI would prefer to keep this in a separate issue, to keep the conversation focused on a smaller topic and make it easier to review.
I ll try to ensure that people are being credited and notified.
- First commit to issue fork.
- Assigned to batigolix
- Status changed to Active
7 months ago 11:39am 3 June 2024 - π³π±Netherlands batigolix Utrecht
batigolix β changed the visibility of the branch 2.3.x to hidden.
- Status changed to Needs review
6 months ago 10:32am 28 June 2024 - Issue was unassigned.
- πΊπΈUnited States fskreuz
Did a quick test of this MR with the changes from 3437860. Works for me (Drupal 10.3.1, Flood Control 2.3.4, 3437860's MR, 3437875's MR).
I did see the note about the timestamp and expiration in the MR. But out of curiosity, I checked the entries in Redis. They do seem to have a couple of values that resemble timestamps, and appear to be about 6 hours apart (one's an integer, the other has 4 decimal places). Haven't looked any deeper yet, but at least I can unblock now.
- First commit to issue fork.
- Status changed to Needs work
4 months ago 12:50pm 27 August 2024 - Status changed to Needs review
7 days ago 12:55pm 12 December 2024 - π¬π§United Kingdom james.williams
It's only the test against the previous major PHP version which fails for MR !52 (the one for 2.x), which also fails for the current 2.x HEAD. So I think this is good for review again? The tests in MR !53 (targeting 3.x) are passing fine.
- π¦πΊAustralia elc
Tests need to be expanded to install redis and configure the tests to selectively use it in redis only tests. The code currently only tests the database storage of flood data.
The drupa/redis module has a modified .gitlab.yml file which would provide insight into getting redis installed and adding additional builds to test with a without it.