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
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
24a3ae5f24
Merge pull request #9 from Xevion/0.2.2
...
### Added
- Added the `orjson` serializer for faster JSON serialization
- Used in `structlog`'s `JSONRenderer` for production logging
- Used in `fastapi`'s `Response` for faster response serialization
- Improved documentation in multiple files
- `__main__.py`
- `logging.py`
- `models.py`
- `utilities.py`
- `migrate.py`
- `responses.py`
- A `get_db` utility function to retrieve a reference to the database (with type hinting)
- Minor `DATABASE_URL` check in `models.py` to prevent cryptic connection issues
## Changed
- Migration script now uses `structlog` instead of `print`
- Migration script output is tuned to structlog as well.
- Migration names must be at least 9 characters long
- Unspecified IPv6 addresses are returned without hiding in `utilities.hide_ip`
- Applied `get_db` utility function in all applicable areas.
### Fixed
- Raised level for `apscheduler.scheduler` logger to `WARNING` to prevent excessive logging
- IPv4 interface bind in production, preventing Railway's Private Networking from functioning
- Reloader mode enabled in production
v0.2.2
2024-11-01 19:20:23 -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
0407dba4d1
Updated CHANGELOG.md
2024-11-01 17:46:56 -05:00