Commit graph

23 commits

Author SHA1 Message Date
kuldeepkhatke
ba7b72f9d9 Updated expires_at for null, blank False, lte query update, admin expiration logic simplify 2025-07-05 16:19:19 +03:00
kuldeepkhatke
f5951e966c Modified access_attempt as pk 2025-07-05 16:19:19 +03:00
kuldeepkhatke
df8fb35e18 Shifted epired_at filed to new model 2025-07-05 16:19:19 +03:00
kuldeepkhatke
0fd9ccd1d4 Added individual attempt expiry feature 2025-07-05 16:19:19 +03:00
Maksim Zayakin
6202062f91
fix: make 007 migration backwards compatible 2024-06-29 21:21:15 +05:00
Davide
014483c65d
Add session hash to access log 2024-04-30 16:22:50 +02:00
Christian Bundy
eb7b703a70 Avoid running data migration on incorrect databases 2023-10-08 22:33:21 +03:00
Hasan Ramezani
274c4f7010 Fix black formatting in migrations 2023-03-01 10:36:29 +02:00
liampauling
1825f9be4f add missing db alias to migration 0007
closes #932
2022-11-14 18:27:51 +02:00
Aleksi Häkli
621dfa6882 Fix code formatting 2022-05-16 10:41:07 +03:00
Gregory DAVID
da7a9b25ed Add AccessFailureLogclass to models to keep trace of all failed logins 2022-04-08 22:16:19 +03:00
Petr Dlouhý
b5bac68f90 fix duplicated AccessAttempts 2021-09-19 13:26:16 +03:00
Zakatell Kanda
876b6f3dc4 use autofield for now, otherwise we have to bump min version to 3.2 2021-06-09 19:35:29 +03:00
Zakatell Kanda
b4a71de81f use the new django bigautofield, fixes a warning 2021-06-09 19:35:29 +03:00
Aleksi Häkli
93bb73552e
Upgrade CI tooling to use automatic code formatting 2019-09-28 19:28:17 +03:00
Aleksi Häkli
e24f0453bb
Remove reduntant AccessLog.trusted flag
All attempts that are logged are marked as trusted
and no other attempts are created in the code,
so having a flag that also uses a database index
is redundant and unnecessary.

Signed-off-by: Aleksi Häkli <aleksi.hakli@iki.fi>
2019-03-13 16:07:25 +02:00
Aleksi Häkli
030810df79
Drop Python 2.7 and Python 3.4 support
Fixes #395

Signed-off-by: Aleksi Häkli <aleksi.hakli@iki.fi>
2019-02-07 17:28:26 +02:00
Aleksi Häkli
c7e79aeaf2 Remove unused AccessAttempt.trusted flag
Fixes #344
2018-12-25 18:55:15 +01:00
Mark Davidoff
7943def4e5 migration was not generated when verbose names were added for models. 2018-10-24 15:44:08 -07:00
Steve Meinel
8e8bfab789 BUGFIX: Missing migration 2016-05-12 15:14:23 -07:00
Michael van de Waeter
a4ed01c22d Made migrations py3 compatible 2016-03-08 22:41:10 +01:00
Marco Schweighauser
3637a8038d Add db indexes to CommonAccess model 2015-12-17 13:50:29 -08:00
ibaguio
78099e5571 added initial migration files to support django 1.7 &up 2015-11-16 22:02:19 +08:00