|
|
65701b7178
|
Improve entrypoint documentation & debug logs
|
2024-11-01 17:45:07 -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 |
|
|
|
e1bbeedaf2
|
Remove 'ms' suffix from 'duration' log key, re-enable X-Process-Time header in development mode
|
2024-11-01 16:38:20 -05:00 |
|
|
|
441ab00da3
|
Move is_development into utilities.py
|
2024-11-01 16:37:39 -05:00 |
|
|
|
40669b8f08
|
Fix human_readable not handling UTC dates properly, add types-pytz
|
2024-11-01 16:36:47 -05:00 |
|
|
|
10b93d41d6
|
Reformat all python files, remove unused imports
|
2024-11-01 16:13:01 -05:00 |
|
|
|
57aa841871
|
Use datetime.utcnow instead, eliminate timezone consideration
|
2024-11-01 16:12:16 -05:00 |
|
|
|
796c28d72d
|
Switch railway.json startCommand to module serve, use PORT variable
|
2024-11-01 16:02:40 -05:00 |
|
|
|
6fe1a8b60f
|
Use logger not logging, use keyword arguments for structured logging
|
2024-11-01 15:47:28 -05:00 |
|
|
|
9336fb5506
|
Set access logs to debug, millisecond process time, pluralize word option
I'm unsure if it's good to use string notation in the duration, maybe duration_ms to imply the unit would be better?
|
2024-11-01 15:47:28 -05:00 |
|
|
|
bcb1441251
|
Switch main app loggers to structlog, fix improper structlogs
|
2024-11-01 15:47:28 -05:00 |
|
|
|
f93df47b67
|
Disable X-Process-Time response header
|
2024-11-01 15:47:28 -05:00 |
|
|
|
a873c4785d
|
Access environment variables directly in setup_logging
|
2024-11-01 15:47:28 -05:00 |
|
|
|
1741739310
|
Disable handlers, setup propagation with uvicorn log_config
Apparently this was what I have been chasing for the last few hours.
|
2024-11-01 15:47:28 -05:00 |
|
|
|
3a2ef75086
|
Add ASGI Request-Id correlation, add structlog LoggingMiddleware, overhaul all logging
- minor formatting details, type fixes.
|
2024-11-01 15:47:28 -05:00 |
|
|
|
a96631e81e
|
Setup structlog, delete randomized IPs on startup
- minor formatting, type fixes
|
2024-11-01 15:47:28 -05:00 |
|
|
|
0816ddcdca
|
Switch from hypercorn to uvicorn, structlog testing
|
2024-11-01 15:47:28 -05:00 |
|
|
|
91cc8e24b6
|
Remove deprecated startup/shutdown events into proper applicaiton Lifespan definition
|
2024-11-01 15:47:28 -05:00 |
|
|
|
5a288cf87c
|
Only import CORSMiddleware in development mode
|
2024-11-01 15:47:28 -05:00 |
|
|
|
1380ae5497
|
only hide ip if it's not the same as user_ip
|
2024-10-24 04:38:37 -05:00 |
|
|
|
bc0ef7728f
|
reformat, add docs
|
2024-10-24 04:23:35 -05:00 |
|
|
|
4267d40611
|
development mode checks
|
2024-10-24 04:18:08 -05:00 |
|
|
|
c0d135d8a8
|
revamp ip address demo, buffered background IP submit with upsert, parameterized SQL with psycopg2 cursor & execute_values
|
2024-10-24 04:04:09 -05:00 |
|
|
|
25177a3346
|
get_ip helper method, hide_ip helper, docs
|
2024-10-24 04:03:28 -05:00 |
|
|
|
d364239523
|
responses.py (pydantic models)
|
2024-10-24 04:02:30 -05:00 |
|
|
|
2ae2b6af52
|
reformat: migrate.py
|
2024-10-24 04:02:18 -05:00 |
|
|
|
98ef2d2aa6
|
Enable reloader for hypercorn (does nothing?), add repl command with bpython
|
2024-10-24 04:01:39 -05:00 |
|
|
|
a3d5bb4592
|
Fix improper column name scheme
|
2024-10-24 04:01:18 -05:00 |
|
|
|
cd959ffa48
|
migration: ipaddress_count
|
2024-10-23 18:34:35 -05:00 |
|
|
|
110626048b
|
Improve migration script with prompts, warnings, finish TODOs
|
2024-10-23 18:34:24 -05:00 |
|
|
|
9d116442a4
|
Update initial migration to proper
|
2024-10-23 17:56:34 -05:00 |
|
|
|
93b56cc7cf
|
Improve migration handling, base model exclusion, initial migration creation/application
|
2024-10-23 17:56:19 -05:00 |
|
|
|
7b7ac7c29e
|
Add first migration, initial
|
2024-10-23 17:28:41 -05:00 |
|
|
|
d32b11987d
|
Setup models, setup customized migration flow concept
|
2024-10-23 17:28:36 -05:00 |
|
|
|
e1f414f2e9
|
Setup module entrypoint, main.py becomes app.py, add FastAPI Cache with InMemory backend, /api/migration route
|
2024-10-23 17:27:03 -05:00 |
|
|
|
e637d47efa
|
Add health check path for backend
|
2024-10-16 01:29:47 -05:00 |
|
|
|
862a4fbc45
|
Reformat source files
|
2024-10-16 01:01:57 -05:00 |
|
|
|
3b4dc2a7c2
|
Configure nixpacks to use Caddy
|
2024-10-16 00:31:35 -05:00 |
|
|
|
d7aa949cad
|
add CORS, return message, fallback IP to request.client.host
|
2024-10-15 23:52:16 -05:00 |
|
|
|
5b28c69163
|
Separate into /backend and /frontend folders
|
2024-10-15 23:27:31 -05:00 |
|