|
|
ee4f3c64d9
|
Switch test_user user fixture to proper hasher
|
2024-11-09 22:44:57 -06:00 |
|
|
|
a4c8336c1a
|
Add limits package, RateLimiter dependency, test_depends, begin /api/login route
|
2024-11-09 22:43:53 -06:00 |
|
|
|
47dc26f842
|
add email-validator package
|
2024-11-09 21:31:13 -06:00 |
|
|
|
15ce80bb66
|
migration: User.password_hash length to 97, Session.token index
off by one hell fml
also why's the index only applying now? what'd I do lol
|
2024-11-09 21:30:46 -06:00 |
|
|
|
126d6b4757
|
move migration squashing suggestion limit to 15
|
2024-11-09 21:30:09 -06:00 |
|
|
|
8c111cf14e
|
Minor formatting concerns, remove dangling IPAddress usage
|
2024-11-09 20:39:27 -06:00 |
|
|
|
be4942c1d8
|
Add misc router for health/migration routes, rename 'authentication' router to 'auth'
|
2024-11-09 20:22:18 -06:00 |
|
|
|
f9b12b8d0a
|
Add validate_session() with constraint tests
|
2024-11-09 20:13:49 -06:00 |
|
|
|
d996d30d81
|
Add missing save() call, add TODOs, explicit default last_used to None
Doesn't seem like explicitly setting the default to None does much here;
automatic migration didn't trigger.
|
2024-11-09 20:12:48 -06:00 |
|
|
|
40e4e4f4b8
|
correctly add names to table constraints, fix inverted constraint for session_last_used_created
|
2024-11-09 20:08:10 -06:00 |
|
|
|
4467195cb8
|
Custom session constraints migration
The automatic migrator wouldn't do this on it's own, I manually made
this migration
|
2024-11-09 17:49:49 -06:00 |
|
|
|
591635fa70
|
Fix literal arg for migrate
|
2024-11-09 17:41:10 -06:00 |
|
|
|
ced662a7e8
|
Disable captured log, use pretty stderr output
|
2024-11-09 17:30:46 -06:00 |
|
|
|
afd29806dc
|
test utc_now, hacky fix for TZ Aware/Naive comparison when fetching datetimes
|
2024-11-09 17:30:28 -06:00 |
|
|
|
d725d1b863
|
Add test_session, add randomizers, move test_app, user/session fixtures
|
2024-11-09 17:00:45 -06:00 |
|
|
|
35d967360d
|
Integrate pytest into run.sh cleanly, use $@ args directly in COMMAND def
|
2024-11-09 16:39:36 -06:00 |
|
|
|
6920098487
|
Add pytest-xdist for parallel testing
|
2024-11-09 16:39:09 -06:00 |
|
|
|
e5e718d3e4
|
migration: Session model, User.flags field
|
2024-11-09 16:29:46 -06:00 |
|
|
|
07c9a724a2
|
Add user soft delete ability via BitField flags, explicit on_delete CASCADE, Session.is_expired(), Session.use()
|
2024-11-09 16:07:49 -06:00 |
|
|
|
53a0ac0624
|
Add token permissions for coverage-comment, fully qualify & use development environment in run.sh DB URL
|
2024-11-09 15:31:38 -06:00 |
|
|
|
26c8310942
|
Add pytest-cov for coverage abilities
|
2024-11-09 14:20:54 -06:00 |
|
|
|
290c1fc85c
|
Add __init__ module hints, TODO, rm unused import, fix router import, authentication router stub
|
2024-11-09 14:01:54 -06:00 |
|
|
|
818c3cb7bc
|
Add pytest with GitHub Action workflow
|
2024-11-09 13:21:50 -06:00 |
|
|
|
ca9ea5ec30
|
Updated CHANGELOG.md, updated versions to 0.3.0
|
2024-11-09 12:36:28 -06:00 |
|
|
|
d612625de8
|
Add session model, use utc_now utility
|
2024-11-07 11:32:24 -06:00 |
|
|
|
95b05e077a
|
delete all old IPAddress related model code
|
2024-11-07 11:31:03 -06:00 |
|
|
|
bc1a6f927f
|
Add utc_now for deprecated datetime.datetime.utcnow
|
2024-11-07 11:30:34 -06:00 |
|
|
|
361fc13741
|
Remove IPAddress model, add User model
|
2024-11-07 11:03:21 -06:00 |
|
|
|
04ed915f28
|
backend run.sh defaults to pretty logs on debug level
|
2024-11-07 11:03:06 -06:00 |
|
|
|
b4da253583
|
add pwdlib[argon2] packages for hashing
|
2024-11-07 11:02:50 -06:00 |
|
|
|
8515879448
|
Revert "temp: try uvicorn command in railway.json"
This reverts commit 45ec5c396c.
|
2024-11-01 20:48:18 -05:00 |
|
|
|
45ec5c396c
|
temp: try uvicorn command in railway.json
|
2024-11-01 20:44:40 -05:00 |
|
|
|
1003fd3eed
|
hotfix: re-add hypercorn with railway start cmd/logging.toml, restore internal uvicorn bindings to conditional ip-v4/v6
|
2024-11-01 20:21:56 -05:00 |
|
|
|
e2a47c1868
|
hotfix: listen on 0.0.0.0 IPv4 interface binding
I don't know sometimes.
|
2024-11-01 19:34:11 -05:00 |
|
|
|
f8d1edcf3b
|
Bump project version to 0.2.2
|
2024-11-01 19:18:36 -05:00 |
|
|
|
43bf96e5c1
|
Add orjson JSON serializer for FastAPI & structlog performance
|
2024-11-01 19:17:57 -05:00 |
|
|
|
b561ec6998
|
Improve migrate, responses docs, require min length 9 migration name (validator)
|
2024-11-01 18:42:57 -05:00 |
|
|
|
75e875e61d
|
Switch migrate.py to structlog, remove unused old testing code
|
2024-11-01 18:37:10 -05:00 |
|
|
|
3b3f3ba784
|
Fix unspecified IPv6 addresses from being malformed by hide_ip, fix double private get_database_url breaking
|
2024-11-01 18:24:06 -05:00 |
|
|
|
204be26201
|
Improve migrate.py docs, variable names
|
2024-11-01 18:17:38 -05:00 |
|
|
|
b7d9b256d9
|
Minor documentation improvement in utilities.py
|
2024-11-01 18:12:34 -05:00 |
|
|
|
01f6d348cd
|
Improve models.py documentation, small DATABASE_URL check
|
2024-11-01 18:10:49 -05:00 |
|
|
|
cf7536a39b
|
Add get_db utility function
- Minor changes in flush_ips log messages
|
2024-11-01 18:03:32 -05:00 |
|
|
|
85a2d82832
|
Remove deprecated utcnow() usage, pass UTC TzInfo instead
|
2024-11-01 17:54:36 -05:00 |
|
|
|
1ecab265ac
|
Raise level for apscheduler.scheduler logger, add TODO for easier log configuration
|
2024-11-01 17:53:28 -05:00 |
|
|
|
b67272392a
|
Improve logging.py documentation
|
2024-11-01 17:51:22 -05:00 |
|
|
|
52df0c571f
|
Fix IPv4 interface bind in production, fix reloader enabled in production
|
2024-11-01 17:45:37 -05:00 |
|
|
|
65701b7178
|
Improve entrypoint documentation & debug logs
|
2024-11-01 17:45:07 -05:00 |
|
|
|
e61b2a7f60
|
Bump project version to 0.2.1
|
2024-11-01 17:11:01 -05:00 |
|
|
|
7a27175423
|
Remove development mode check for ip_pool generation
I just wanna see it run on the production serve once, I'll remove all of
this later.
|
2024-11-01 16:57:37 -05:00 |
|