Commit Graph

  • 4dfcc7547f wrote migrations for 001_initial.py dev-alwin alwin 2024-12-04 16:14:35 -06:00
  • 5414ae80a8 Add additional README badges, add /api/version route with TOML loading, toml + types-toml master Xevion 2024-11-12 15:36:44 -06:00
  • 2f7aea9d25 Disable TanStackRouterDevtools in production, add Wakatime repository badge Xevion 2024-11-12 15:13:48 -06:00
  • 5d8621feb5 remove now broken/unnecessary TARGET route prefix Xevion 2024-11-10 23:55:00 -06:00
  • f11d5af7cd Merge pull request #15 from Xevion/0.3.0 Xevion 2024-11-10 23:49:49 -06:00
  • 0289d4386d Add missing TODO details 0.3.0 Xevion 2024-11-10 23:49:17 -06:00
  • 080f910c5f Fix test failing due to missing env ENVIRONMENT variable Xevion 2024-11-10 23:46:40 -06:00
  • 2d99d35c98 Updated CHANGELOG for 0.3.0 release Xevion 2024-11-10 23:43:29 -06:00
  • 7e7671c977 Final fix for build worthiness Xevion 2024-11-10 23:41:26 -06:00
  • 7e4d233468 Minor unnecessary Xevion 2024-11-10 23:40:09 -06:00
  • f14285b252 Fixup hacky login session system, add separate development Caddyfile for CORS cookie issue Xevion 2024-11-10 23:40:00 -06:00
  • 9990bcab02 Add /api/login usage Xevion 2024-11-10 23:07:15 -06:00
  • d9d2e04d94 Add /register route, split up authentication page Xevion 2024-11-10 22:51:54 -06:00
  • f18adf0f41 Add zustand, true-myth, primitive authentication state, startup getSession() Xevion 2024-11-10 20:41:58 -06:00
  • af5e42abe7 Log detail CORSMiddleware setup Xevion 2024-11-10 20:40:58 -06:00
  • 00620539d8 Re-add root .gitignore, add missing src/lib/utils.ts shadcn helper Xevion 2024-11-10 19:51:44 -06:00
  • df36b816cc Move python-based .gitignore at root into /backend Xevion 2024-11-10 19:50:55 -06:00
  • c463546e8f Fix delete_cookie() usage, basic /api/session route, remove unused SessionModel dataclass Xevion 2024-11-10 19:47:57 -06:00
  • fa8434b418 Enable zstd encoding, use gzip level 3 Xevion 2024-11-10 19:37:05 -06:00
  • 8ad52a9e83 Update cSpell words/paths Xevion 2024-11-10 19:03:37 -06:00
  • 3e435581d4 Remove outdated CHANGELOG entries, simplify imports, remove Next.js specifier Xevion 2024-11-10 19:02:30 -06:00
  • fb0193bc76 Disable quotes, fix padding & rendering, update CHANGELOG.md Xevion 2024-11-10 16:06:50 -06:00
  • 558c079602 Reformat frontend with prettier Xevion 2024-11-10 15:09:29 -06:00
  • 6c39716dd6 Add proper SVG icon placeholder Xevion 2024-11-10 14:59:21 -06:00
  • 3d00970003 Setup React @tanstack/router, copy shadcn Authentication page Xevion 2024-11-10 14:34:55 -06:00
  • 69c83edd3a completely re-initialize Vite/React configuration to dummy Xevion 2024-11-10 14:02:47 -06:00
  • 01081ee834 begin adding shadcn components for frontend Xevion 2024-11-10 13:50:07 -06:00
  • 30bca75a91 nit, format, varname nit Xevion 2024-11-10 13:49:46 -06:00
  • d6d6e35e53 Fix Set-Cookie header not propagating into HTTPException, use delete_cookie helper Xevion 2024-11-10 13:24:55 -06:00
  • 1c979ed18a Fix mypy union-attr warning Xevion 2024-11-10 13:17:18 -06:00
  • 066b3e82ff reformat, organize imports Xevion 2024-11-10 13:15:28 -06:00
  • 16b70bb0de Update CHANGELOG.md Xevion 2024-11-10 13:08:28 -06:00
  • 1ea3bc20db Add additional logs, finish test_auth_logout_expired Xevion 2024-11-10 13:02:02 -06:00
  • 4d6c46a309 Fix broken expired_session fixture, add test for future Xevion 2024-11-10 13:00:37 -06:00
  • d8659c903f Fix test_session not using proper generate_token(), fix session_constraint_expiry Xevion 2024-11-10 12:55:53 -06:00
  • 20a243ddfc logout route test Xevion 2024-11-10 12:48:11 -06:00
  • 6ffc84fce3 Logout route, SessionDependency DI model Xevion 2024-11-10 12:48:04 -06:00
  • 00a3643079 Add proper cookie expiry time to Login route Xevion 2024-11-10 12:13:56 -06:00
  • 32645a588a Update CHANGELOG.md Xevion 2024-11-10 00:38:34 -06:00
  • 55eb864f77 fixup test_auth_login, add expiry assertions Xevion 2024-11-10 00:31:52 -06:00
  • cb8dd80f33 finish login function, true hash of user fixture Xevion 2024-11-10 00:16:37 -06:00
  • 10919d0333 Switch limits to asynchronous storage/strategy Xevion 2024-11-09 23:27:27 -06:00
  • fd90873f7b Add test_auth_login Xevion 2024-11-09 23:24:30 -06:00
  • 4c2c4bc2ad Add hacky fix for rate-limiter segregation between pytests Xevion 2024-11-09 23:23:55 -06:00
  • cd900288ff Extend black line-length to 110 Xevion 2024-11-09 23:23:21 -06:00
  • 058be9602a Use nproc to specify xdist workers Xevion 2024-11-09 22:52:25 -06:00
  • fa80bd0649 Use xdist auto in pytest workflow Xevion 2024-11-09 22:47:17 -06:00
  • ee4f3c64d9 Switch test_user user fixture to proper hasher Xevion 2024-11-09 22:44:57 -06:00
  • a4c8336c1a Add limits package, RateLimiter dependency, test_depends, begin /api/login route Xevion 2024-11-09 22:29:55 -06:00
  • 47dc26f842 add email-validator package Xevion 2024-11-09 21:31:13 -06:00
  • 15ce80bb66 migration: User.password_hash length to 97, Session.token index Xevion 2024-11-09 21:30:46 -06:00
  • 126d6b4757 move migration squashing suggestion limit to 15 Xevion 2024-11-09 21:30:09 -06:00
  • 93a6dd5972 workspace diagnostic mode, cSpell ignorePaths Xevion 2024-11-09 20:46:29 -06:00
  • 8c111cf14e Minor formatting concerns, remove dangling IPAddress usage Xevion 2024-11-09 20:39:27 -06:00
  • be4942c1d8 Add misc router for health/migration routes, rename 'authentication' router to 'auth' Xevion 2024-11-09 20:22:18 -06:00
  • 1075d05a43 Remove problematic final coverage step Xevion 2024-11-09 20:16:13 -06:00
  • f9b12b8d0a Add validate_session() with constraint tests Xevion 2024-11-09 20:13:34 -06:00
  • d996d30d81 Add missing save() call, add TODOs, explicit default last_used to None Xevion 2024-11-09 20:12:18 -06:00
  • 40e4e4f4b8 correctly add names to table constraints, fix inverted constraint for session_last_used_created Xevion 2024-11-09 20:08:10 -06:00
  • 4467195cb8 Custom session constraints migration Xevion 2024-11-09 17:49:49 -06:00
  • 591635fa70 Fix literal arg for migrate Xevion 2024-11-09 17:41:10 -06:00
  • ced662a7e8 Disable captured log, use pretty stderr output Xevion 2024-11-09 17:30:46 -06:00
  • afd29806dc test utc_now, hacky fix for TZ Aware/Naive comparison when fetching datetimes Xevion 2024-11-09 17:30:28 -06:00
  • d725d1b863 Add test_session, add randomizers, move test_app, user/session fixtures Xevion 2024-11-09 17:00:45 -06:00
  • 35d967360d Integrate pytest into run.sh cleanly, use $@ args directly in COMMAND def Xevion 2024-11-09 16:39:36 -06:00
  • 6920098487 Add pytest-xdist for parallel testing Xevion 2024-11-09 16:39:09 -06:00
  • e5e718d3e4 migration: Session model, User.flags field Xevion 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() Xevion 2024-11-09 16:07:49 -06:00
  • 295a499c92 Remove coverageHtml echo line Xevion 2024-11-09 15:47:56 -06:00
  • 43c00056b7 Remove accidentally added if check from coverageComment step Xevion 2024-11-09 15:42:52 -06:00
  • e76b321469 Use poetry version in env, use for cache key Xevion 2024-11-09 15:41:26 -06:00
  • 2c4e7ddfcd use .venv for proper Poetry cache Xevion 2024-11-09 15:41:01 -06:00
  • 5508b8e6f4 use relative path Xevion 2024-11-09 15:36:55 -06:00
  • fcfa213eed limit checklist invocation to CHANGELOG path Xevion 2024-11-09 15:36:08 -06:00
  • d38362819e Add contents read permission, required for checkout Xevion 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 Xevion 2024-11-09 15:31:38 -06:00
  • f1be6676d1 Add pytest/coverage file check since pytest-coverage-comment does not error Xevion 2024-11-09 15:28:11 -06:00
  • 78a82311a2 Fix coverage/junit generated paths (backend) Xevion 2024-11-09 15:25:33 -06:00
  • 94cb0f9f5b Fix railway confirmation blocker, disable JSON logging in test workflow, disable Install library step Xevion 2024-11-09 15:23:39 -06:00
  • 0e7fc7e25e use add-mask for database url Xevion 2024-11-09 15:09:07 -06:00
  • 555cbc762f Fix jq output (-cMr), use SERVICE_ID, ENVIRONMENT_ID properly Xevion 2024-11-09 15:04:43 -06:00
  • 1b82cc7621 Acquire database URL from Railway, envvar injection Xevion 2024-11-09 15:00:56 -06:00
  • 8145f74687 Fix core.error parameter format, update CHANGELOG.md Xevion 2024-11-09 14:45:42 -06:00
  • 0b69aa52dd Remove core import (already available) Xevion 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 Xevion 2024-11-09 14:37:49 -06:00
  • 26c8310942 Add pytest-cov for coverage abilities Xevion 2024-11-09 14:20:54 -06:00
  • 1605a79320 Add pytest-coverage-comment, use color Xevion 2024-11-09 14:18:58 -06:00
  • 420c448417 Use @actions/core for error annotations, try/catch wrapper for checklist Xevion 2024-11-09 14:18:43 -06:00
  • 290c1fc85c Add __init__ module hints, TODO, rm unused import, fix router import, authentication router stub Xevion 2024-11-09 14:01:54 -06:00
  • f35658e969 Update draft to use error command format Xevion 2024-11-09 13:55:03 -06:00
  • 824a08e37d use error command, functional processing, fix unreleased case sensitivity, global process Xevion 2024-11-09 13:53:44 -06:00
  • 4bc0421b74 remove erroneous negation operator from pattern Xevion 2024-11-09 13:46:58 -06:00
  • be3c94b1a9 Reduce pull_request event listens for checklist workflow Xevion 2024-11-09 13:45:03 -06:00
  • f3c5f558b0 Add checklist workflow for draft label & changelog checker Xevion 2024-11-09 13:43:30 -06:00
  • f08ab043e8 Fix test workflow pytest invocation Xevion 2024-11-09 13:43:13 -06:00
  • 818c3cb7bc Add pytest with GitHub Action workflow Xevion 2024-11-09 13:21:50 -06:00
  • db260ecfa3 Add RELEASE_CHECKLIST.md Xevion 2024-11-09 12:47:07 -06:00
  • ca9ea5ec30 Updated CHANGELOG.md, updated versions to 0.3.0 Xevion 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 Xevion 2024-11-09 12:29:08 -06:00
  • 9a028f1bcd Update .tool-versions Manny wreckitmanny 2024-11-07 12:19:21 -06:00