Commit Graph
28 Commits
Author SHA1 Message Date
kamask edb538c44e chore: configure GigaCode — add MCP servers, skills, and update gitignore 2026-11-10 16:04:34 +03:00
kamask ad493f6f52 refactor(proxy): export ProxyRules type from proxy.conf.mjs 2026-11-10 16:04:29 +03:00
kamaskandClaude Sonnet 5.5 0d2c25a8f7 docs(testing): move test harness descriptions to guide/tests
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 11:17:17 +03:00
kamaskandClaude Opus 5.5 74d3c660f9 test(auth): add failing tests for auth service and pb_auth cookie
Tests first for task 2.2; the implementation comes separately.

- AuthService contract (auth/testing/auth-service.contract.ts), run on
  the in-memory fake (unit) and on PocketBaseAuthService against a test
  PocketBase (integration)
- integration: register persists the user, login maps id/email/name,
  restore with a valid, broken or missing token, signals follow the auth
  store, two users in separate injectors, NetworkError and kept session
  when PocketBase is unreachable
- unit (jsdom): pb_auth cookie is written on sign-in and removed on
  sign-out with Path=/ and SameSite=Lax, loaded into the auth store
  before restore() at startup, untouched on the server platform
- contract stubs that throw "Not implemented": User, AuthService,
  PocketBaseAuthService, provideAuth, InMemoryAuthService (signInAs,
  failNextWith)
- docs/testing.md: note on the AuthService contract

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 22:41:32 +03:00
kamaskandClaude Sonnet 5.5 115b5fb036 feat(users): configure users collection and validate email format
Migration sets access rules, password min 8, name max 100, password-only
auth, and a case-insensitive unique email index. A hook rejects non-ASCII
and malformed emails on every save. API tests cover registration, login,
and isolation between two users and a guest.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-05 18:24:33 +03:00
kamaskandClaude Sonnet 5.5 eb4c1c6604 chore: ignore personal NOTES.md
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-05 18:24:33 +03:00
kamaskandClaude Opus 5.5 82e097f876 test(e2e): add playwright e2e stand with test pocketbase and axe checks
- playwright.config.ts: test PocketBase (port 8190) and ng serve (port 4300)
  as webServers, SIGTERM shutdown so the stand removes its temp dir
- fixtures: user via open registration, api SDK client, signedInPage with pb_auth cookie
- expectNoA11yViolations runs all axe rules (WCAG and best-practice)
- render home route on the server; main and h1 placeholder in app shell
- config tests for playwright.config.ts in test:lint; docs updated

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 22:12:04 +03:00
kamaskandClaude Sonnet 5.5 bf72af9ef4 feat(dev): proxy /pb to PocketBase in ng serve
Add proxy.conf.mjs mirroring `location /pb/` from nginx: the prefix is
stripped, target comes from PB_URL (empty value falls back to the default,
same as the SSR provider). Cover the config with tests in tests/lint and
update docs.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-31 20:24:13 +03:00
kamaskandClaude Sonnet 5.5 2852610488 chore: add playwright mcp, ignore its output, fix frontend-design skill name
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-31 17:23:43 +03:00
kamaskandClaude Sonnet 5.5 bec31ff02e feat(shared): add pocketbase di client and domain errors
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014hvR7iG75jK5byaBBHdDLT
2026-10-28 22:27:20 +03:00
kamaskandClaude Opus 5.5 fc55456286 test(integration): add integration test harness on angular unit-test builder
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EvmtStx737hu8gXe15e55W
2026-10-26 21:17:45 +03:00
kamaskandClaude Sonnet 5.5 1109f68e11 test(api): type-check harness and cover automigrate and auth isolation
- add tsconfig.tests.json and run tsc in test:api
- move vitest ProvidedContext types to provided-context.d.ts
- rename vitest.api.config.ts to .mts
- kill signal-test fixture with SIGTERM first so cleanup still runs
- add tests: no files in pb_migrations, independent user/guest clients
- docs: drop superuser env vars from tests in README, note tsc in testing.md

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EvmtStx737hu8gXe15e55W
2026-10-26 19:46:45 +03:00
kamaskandClaude Opus 5.5 248a2e1e90 chore: stop tracking vscode settings
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EvmtStx737hu8gXe15e55W
2026-10-26 17:43:09 +03:00
kamaskandClaude Opus 5.5 5d5b2af318 test(api): add temporary pocketbase harness for api tests
`pnpm test:api` starts an isolated PocketBase with project migrations and
hooks in a temp dir, provides SDK client helpers and cleans up after the run,
on failure and on SIGINT/SIGTERM. The superuser is generated per instance.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EvmtStx737hu8gXe15e55W
2026-10-26 17:40:36 +03:00
kamaskandClaude Sonnet 5.5 b7b32a0457 chore: switch selector prefix to ksk and remove angular demo content
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-25 14:17:33 +03:00
kamaskandClaude Sonnet 5.5 38b38de929 docs: rewrite claude.md and readme in russian, add architecture docs
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-25 12:35:01 +03:00
kamaskandClaude Sonnet 5.5 0f69a2f8a5 chore: add ui-ux-pro-max skill
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-25 10:10:20 +03:00
kamaskandClaude Sonnet 5.5 fc4ccca241 docs: require ui-ux-pro-max and frontend-design skills for ui work
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01St9chREsDSRhiWRzyUBjar
2026-10-23 14:52:22 +03:00
kamaskandClaude Opus 5.5 68d75ca119 chore(routing): default all routes to lazy client-side spa
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01S47a8QARNgW1qNjVQ6bX8H
2026-10-22 20:59:17 +03:00
kamaskandClaude Sonnet 5.5 1dcf03cfa6 chore: track claude project settings and lint hook
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QwNRDG9WaKM3Bb9WJddFzx
2026-10-22 13:07:47 +03:00
kamaskandClaude Sonnet 5.5 b0a024754a docs: do not create a branch per task, only for large features
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QwNRDG9WaKM3Bb9WJddFzx
2026-10-22 12:46:30 +03:00
kamaskandClaude Sonnet 5.5 5ab3d5faeb build: add eslint with angular-eslint and typescript-eslint
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QwNRDG9WaKM3Bb9WJddFzx
2026-10-22 12:46:30 +03:00
kamaskandClaude Sonnet 5.5 b0bcd7ca2d style: apply prettier formatting
Routine formatting only, no functional changes.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016GHq7GcQtB91bnq3832H76
2026-10-21 21:01:44 +03:00
kamaskandClaude Sonnet 5.5 8cc6ef4dcc chore: remove AGENTS.md
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016GHq7GcQtB91bnq3832H76
2026-10-21 21:01:44 +03:00
kamaskandClaude Sonnet 5.5 a65b1d051f chore: replace biome with prettier
Remove @biomejs/biome, set indent size to 4 and add VS Code format-on-save with the Prettier extension.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016GHq7GcQtB91bnq3832H76
2026-10-21 21:01:44 +03:00
kamaskandClaude Sonnet 5.5 5b9c6358ce docs: describe project domain, stack and delivery plan
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XJAY6Rgre8viuBjhA6djfW
2026-10-21 15:54:58 +03:00
kamaskandClaude Sonnet 5.5 f61ba84228 feat(pocketbase): add pocketbase dev setup and superuser script
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XJAY6Rgre8viuBjhA6djfW
2026-10-21 14:58:22 +03:00
kamaskandClaude Opus 5.5 a0ae3f1254 chore: initial angular project
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XJAY6Rgre8viuBjhA6djfW
2026-10-21 12:21:56 +03:00