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
295a499c92
Remove coverageHtml echo line
2024-11-09 15:47:56 -06:00
43c00056b7
Remove accidentally added if check from coverageComment step
2024-11-09 15:42:52 -06:00
e76b321469
Use poetry version in env, use for cache key
2024-11-09 15:41:26 -06:00
2c4e7ddfcd
use .venv for proper Poetry cache
2024-11-09 15:41:01 -06:00
5508b8e6f4
use relative path
2024-11-09 15:36:55 -06:00
fcfa213eed
limit checklist invocation to CHANGELOG path
2024-11-09 15:36:08 -06:00
d38362819e
Add contents read permission, required for checkout
2024-11-09 15:33:47 -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
f1be6676d1
Add pytest/coverage file check since pytest-coverage-comment does not error
2024-11-09 15:28:11 -06:00
78a82311a2
Fix coverage/junit generated paths (backend)
2024-11-09 15:25:33 -06:00
94cb0f9f5b
Fix railway confirmation blocker, disable JSON logging in test workflow, disable Install library step
2024-11-09 15:23:39 -06:00
0e7fc7e25e
use add-mask for database url
2024-11-09 15:09:07 -06:00
555cbc762f
Fix jq output (-cMr), use SERVICE_ID, ENVIRONMENT_ID properly
2024-11-09 15:04:43 -06:00
1b82cc7621
Acquire database URL from Railway, envvar injection
2024-11-09 15:00:56 -06:00
8145f74687
Fix core.error parameter format, update CHANGELOG.md
...
This is really annoying, the docs state nothing about the parameter
format; maybe it should be implied, but there are zero examples showing
the combined message/AnnotationProperty interface with 2 parameters.
2024-11-09 14:45:59 -06:00
0b69aa52dd
Remove core import (already available)
2024-11-09 14:40:21 -06:00
37f92e1eb3
fix module target for coverage, add junit XML output, set pipefail to prevent exit code hiding
2024-11-09 14:39:15 -06:00
26c8310942
Add pytest-cov for coverage abilities
2024-11-09 14:20:54 -06:00
1605a79320
Add pytest-coverage-comment, use color
2024-11-09 14:18:58 -06:00
420c448417
Use @actions/core for error annotations, try/catch wrapper for checklist
2024-11-09 14:18:43 -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
f35658e969
Update draft to use error command format
2024-11-09 13:55:03 -06:00
824a08e37d
use error command, functional processing, fix unreleased case sensitivity, global process
2024-11-09 13:53:44 -06:00
4bc0421b74
remove erroneous negation operator from pattern
2024-11-09 13:46:58 -06:00
be3c94b1a9
Reduce pull_request event listens for checklist workflow
2024-11-09 13:45:03 -06:00
f3c5f558b0
Add checklist workflow for draft label & changelog checker
2024-11-09 13:43:30 -06:00
f08ab043e8
Fix test workflow pytest invocation
2024-11-09 13:43:13 -06:00
818c3cb7bc
Add pytest with GitHub Action workflow
2024-11-09 13:21:50 -06:00
db260ecfa3
Add RELEASE_CHECKLIST.md
2024-11-09 12:47:07 -06:00
ca9ea5ec30
Updated CHANGELOG.md, updated versions to 0.3.0
2024-11-09 12:36:28 -06:00
2390b62864
pnpm: Added clsx, removed @nkzw/eslint-config, updated @types/node to 22.9, @eslint 9.x
2024-11-09 12:29:08 -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