-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #98 from certego/develop
1.2.10
- Loading branch information
Showing
13 changed files
with
98 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
61 changes: 61 additions & 0 deletions
61
...ossible_travel/migrations/0010_config_alert_max_days_config_distance_accepted_and_more.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
# Generated by Django 4.1.4 on 2024-01-22 11:38 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("impossible_travel", "0009_config_ignored_ips_config_ignored_users_and_more"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="config", | ||
name="alert_max_days", | ||
field=models.PositiveIntegerField( | ||
default=30, | ||
help_text="Days after which the alerts will be removed from the db", | ||
), | ||
), | ||
migrations.AddField( | ||
model_name="config", | ||
name="distance_accepted", | ||
field=models.PositiveIntegerField( | ||
default=100, | ||
help_text="Minimum distance (in Km) between two logins after which the impossible travel detection starts", | ||
), | ||
), | ||
migrations.AddField( | ||
model_name="config", | ||
name="ip_max_days", | ||
field=models.PositiveIntegerField( | ||
default=30, | ||
help_text="Days after which the IPs will be removed from the db", | ||
), | ||
), | ||
migrations.AddField( | ||
model_name="config", | ||
name="login_max_days", | ||
field=models.PositiveIntegerField( | ||
default=30, | ||
help_text="Days after which the logins will be removed from the db", | ||
), | ||
), | ||
migrations.AddField( | ||
model_name="config", | ||
name="user_max_days", | ||
field=models.PositiveIntegerField( | ||
default=60, | ||
help_text="Days after which the users will be removed from the db", | ||
), | ||
), | ||
migrations.AddField( | ||
model_name="config", | ||
name="vel_accepted", | ||
field=models.PositiveIntegerField( | ||
default=300, | ||
help_text="Minimum velocity (in Km/h) between two logins after which the impossible travel detection starts", | ||
), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters