issue commentjazzband/django-defender
Implement Jazzband guidelines for django-defender
OK, let me know if you need anything else from me, or if you have any questions. Thanks again!
comment created time in 5 days
issue commentjazzband/django-defender
Implement Jazzband guidelines for django-defender
@aleksihakli thanks for all of the help. Is there any outstanding task that are waiting for me or that I need to do at this point?
comment created time in 5 days
startedTwilioDevEd/automated-survey-django
started time in 11 days
push eventjazzband/django-defender
commit sha eb4f2ef94b0ba1c02f2dae714b86ccebe9b7cb2a
Initial documentation shims
push time in 11 days
PR merged jazzband/django-defender
This adds the initial Sphinx shims so that Read the Docs can generate a documentation site.
Further setup is required for the actual content, this PR only aims to setup correct infrastructure for building the docs.
Fixes #139 Relates #138
pr closed time in 11 days
issue closedjazzband/django-defender
As indicated in #121 and #138 a Read the Docs page and integration would be nice for the repository. Initial integration can be done with sphinx-quickstart.
@kencochrane is probably the best person for creating the initial Read the Docs page as the maintainer, and adding the Jazzband bot into the project, and after that we can set up the documentation pipeline and webhooks.
The project can be imported into RTD here (manual import probably works best):
https://readthedocs.org/dashboard/import/
The docs need a version tag that is tied to the repository as well as a Python version set up. It would probably be nice to set the documentation target up as Python 3, as the official Python 2.7 deprecation is coming up in just a month?
closed time in 11 days
aleksihaklipush eventjazzband/django-defender
commit sha d27bd9511925d7c8555824177aec085ace40bc6e
Remove .landscape.yaml as service is defunct
push time in 11 days
push eventjazzband/django-defender
commit sha ef3673cd4fce4d6da1adb4d081d35a4019ee8d12
Add Python 3.7, 3.8 and PyPy3 to test version matrix
commit sha 01dd2bc3548af086189f9927e00795888c896127
Wrap Celery version specifier in quotes
push time in 11 days
issue commentjazzband/django-defender
Implement Jazzband guidelines for django-defender
@aleksihakli yeah that sounds good, automating deployments would be great.
comment created time in 11 days
pull request commentjazzband/django-defender
merging since the checks that failed are unrelated to the README file changes.
comment created time in 13 days
push eventjazzband/django-defender
commit sha d6e905706b8ef77e5cff9998e5045221a02c52d3
Update README - Remove non-functional Landscape.io badge (site is unreachable) - Add Jazzband badge - Update title styling - Update code examples for Django version compatibility
commit sha cafa92860e6134a5f24db555a70cd4a0a503d89d
Remove deprecated empty first URL
push time in 13 days
PR merged jazzband/django-defender
- Remove non-functional Landscape.io badge (site is unreachable)
- Add Jazzband badge
- Update title styling
- Update code examples for Django version compatibility
pr closed time in 13 days
issue commentjazzband/django-defender
Thank you @aleksihakli and @jezdez
comment created time in 13 days
push eventjazzband/django-defender
commit sha f439b7b647339aef55ad5869450a29a721e01d60
Create CONTRIBUTING guidelines
push time in 14 days
push eventjazzband/django-defender
commit sha da7aa9d41b5f1b10f75745d36b7da8a86403d9a0
Update README links
push time in 14 days
push eventjazzband/django-defender
commit sha e7f7cba6c53381962640c7de116fccb5e1e2726c
Create .fussyfox.yml Added the `.fussyfox.yml` file
push time in 14 days
issue closedjazzband-roadies/help
Hello, @aleksihakli has suggested that I move https://github.com/kencochrane/django-defender/ over to Jazzband, and this issue is to discuss if you are interested in accepting the project.
This discussion originated here: https://github.com/kencochrane/django-defender/issues/121
I looked over the guidelines and they look good, and the project has most of the requirements already and only needs a few changes before it can be moved over.
- Move docs from README to sphinx docs and setup ReadTheDocs integration
- Add a contributors file to the repo.
If you decide to accept django-defender then we can look at making the required changes.
Let me know if you have any questions.
closed time in 14 days
kencochraneissue commentjazzband-roadies/help
I transferred over the repo, I'll close this issue since it is complete, and we can work off the new issue that was auto-created in the defender repo.
comment created time in 14 days
issue commentjazzband/django-defender
Duplicate project functionality between django-axes and django-defender
@jezdez Thank you, and I understand about being super busy, so no worries there. I just transferred the repo over to jazzband, so step 1 is done. a few more to go :)
comment created time in 14 days
issue commentkencochrane/django-defender
Duplicate project functionality between django-axes and django-defender
@aleksihakli I haven't seen any progress on the issue I created on the jazzband-roadies repo. Is it normal that no news is good news, or should there be a formal acceptance before I move forward?
It looks like a few things that we need to do before we can move are create some sphinx docs, setup read the docs integration and then add a contributors file. If you can help with any of those, that would be great.
comment created time in 14 days
issue commentkencochrane/django-defender
Duplicate project functionality between django-axes and django-defender
@aleksihakli thanks, I submitted the issue, let's see what they say.
comment created time in 24 days
issue openedjazzband-roadies/help
Hello, @aleksihakli has suggested that I move https://github.com/kencochrane/django-defender/ over to Jazzband, and this issue is to discuss if you are interested in accepting the project.
This discussion originated here: https://github.com/kencochrane/django-defender/issues/121
I looked over the guidelines and they look good, and the project has most of the requirements already and only needs a few changes before it can be moved over.
- Move docs from README to sphinx docs and setup ReadTheDocs integration
- Add a contributors file to the repo.
If you decide to accept django-defender then we can look at making the required changes.
Let me know if you have any questions.
created time in 24 days
issue commentkencochrane/django-defender
Duplicate project functionality between django-axes and django-defender
@aleksihakli sounds good, do you want to create the ticket on the jazzband help, or should I?
comment created time in 25 days
issue commentkencochrane/django-defender
Duplicate project functionality between django-axes and django-defender
@aleksihakli and @jezdez Thanks for the info, I reviewed the guidelines and I think we are a good fit. The only thing that we don't have right now is a CONTRIBUTING.md file which we will have to create and add. Our docs right now are just a big README file, if we need to make that more formal, that would require a little bit of work. The release process seems fine as well.
At this point would I need to fix the outstanding issues now before we transfer, or after the transfer is complete? Should we create a ticket to discuss this before we move forward with a transfer?
comment created time in 25 days
issue commentkencochrane/django-defender
Duplicate project functionality between django-axes and django-defender
OK, I have joined the jazzband github org, should I transfer the project now, or wait?
comment created time in a month
issue commentkencochrane/django-defender
Duplicate project functionality between django-axes and django-defender
Sorry for the delay, work has been busy. I'm OK with moving it over to jazzband. I guess we just need to go over what we need to do. I'm guessing step one would be to move the project in github, and then we can go from there?
comment created time in a month
startednicolaka/netshoot
started time in a month
issue commentkencochrane/django-defender
Duplicate project functionality between django-axes and django-defender
To be honest I'm not sure. What do others think? Would that mean we shut down defender and tell people to move to axes?
comment created time in a month
issue commentkencochrane/django-defender
get remaining time for back to login page in DEFENDER_LOCKOUT_TEMPLATE ???
You would need to use the TTL command on Redis to get the Time left for the block for the given Redis key. Either IP or username.
Then you need to add the value to the template context here: https://github.com/kencochrane/django-defender/blob/ce95906488676a44cebd34262426a21303d5dead/defender/utils.py#L293
Which is called in this method here: https://github.com/kencochrane/django-defender/blob/2251c298a9904ad13d69b711ef939dd6b54f84b1/defender/decorators.py#L22 and here https://github.com/kencochrane/django-defender/blob/2251c298a9904ad13d69b711ef939dd6b54f84b1/defender/decorators.py#L52
currently utils.lockout_response doesn't take that parameter so you would need an update so that it passes in the time left parameter
To keep things simple you could change is_already_locked to return if it is already locked and if so the TTL for the item.
One thing to consider is that someone can be blocked by the IP or the username, so you would need to return the one that has the highest value because they won't be allowed through until both of them are no longer blocking.
comment created time in 2 months
delete branch kencochrane/django-defender
delete branch : remove_admin_filter
delete time in 2 months
delete branch kencochrane/django-defender
delete branch : update_travis_settings
delete time in 2 months
delete branch kencochrane/django-defender
delete branch : add_ip_blocking_feature
delete time in 2 months
delete branch kencochrane/django-defender
delete branch : add_management_command
delete time in 2 months
delete branch kencochrane/django-defender
delete branch : empty_username_fix
delete time in 2 months
issue closedkencochrane/django-defender
username_block_signal send multiple times
When blocking a user a signal is send in defender/utils.py:block_username
https://github.com/kencochrane/django-defender/blob/master/defender/utils.py#L197
However, this happens on every call of defender/utils.py:record_failed_attemp in
https://github.com/kencochrane/django-defender/blob/master/defender/utils.py#L218
even though the user was already blocked before.
For instance, I want to send an email informing the user (if present) that she was blocked and this results into an email for each blocked login.
Is this on purpose?
closed time in 2 months
horidaissue commentkencochrane/django-defender
username_block_signal send multiple times
completed with #137 thanks @horida and @williamboman
comment created time in 2 months
push eventkencochrane/django-defender
commit sha ce95906488676a44cebd34262426a21303d5dead
send user/ip blocked signal only once
push time in 2 months
PR merged kencochrane/django-defender
Only send the username/IP blocked signal if the user/IP is actually blocked.
Like this multiple sending of the signal is avoid. The block is set even though to avoid race conditions. There is still a slight chance the signal is send twice, but that should be OK.
pr closed time in 2 months
push eventkencochrane/biddefordpainting.com
commit sha 0be09efbb69af4668cd5bd0bd1610ec2c3355ad4
Added Birdeye embed Added birdeye embed snippet to the home page.
push time in 2 months
issue commentkencochrane/django-defender
get remaining time for back to login page in DEFENDER_LOCKOUT_TEMPLATE ???
Are you asking how to get the value, or if it is available? I don't think it is currently available, there would need to be a code change to expose that.
comment created time in 2 months
push eventkencochrane/django-defender
commit sha fcfa88d67905a9534a143f5ebeab35148593e534
Add unblock signals
push time in 2 months
PR merged kencochrane/django-defender
Add signals send when a username or an ip is unblocked.
pr closed time in 2 months
issue commentkencochrane/django-defender
username_block_signal send multiple times
@horida good question, I would suspect that we only need it the first time, but I'm not sure if there is a use case where someone wants to know every time.
@williamboman wrote that functionality, so let's ask them. @williamboman do you see any issue if we only send the blocking signal when it is blocked and not after every invalid login?
Maybe we need to have a different signal for invalid login that happens every time, and then only trigger the blocked username/ip when it is blocked.
Open to ideas/suggestions.
comment created time in 2 months
pull request commentkencochrane/django-defender
LGTM, thank you.
comment created time in 2 months