Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
1ad0c5e
chore: ignore vendor, phpunit cache, composer.phar
dokun1 Apr 11, 2026
42e998e
test: add phpunit 11 to dev dependencies
dokun1 Apr 11, 2026
fa75ed4
test: add config round-trip characterization tests
dokun1 Apr 11, 2026
afca375
test: pin github vs enterprise token isolation
dokun1 Apr 11, 2026
5a240bf
test: pin sqlite schema created by Workflow::init
dokun1 Apr 11, 2026
857044f
test: pin enterprise URL derivation and API path building
dokun1 Apr 11, 2026
08bb6c9
test: pin CurlRequest per-request token carrier
dokun1 Apr 11, 2026
df76e5f
test: pin Item::toXml rendering, escaping, and prefix rules
dokun1 Apr 11, 2026
e89aca5
ci: run phpunit on php 8.2-8.4 matrix
dokun1 Apr 11, 2026
25d6859
chore: add phpunit config and test bootstrap
dokun1 Apr 11, 2026
cafb0df
style: apply php-cs-fixer to tests
dokun1 Apr 11, 2026
9c93e1f
feat: add accounts table schema
dokun1 Apr 11, 2026
8b5a395
test: pin NOT NULL constraints on accounts columns
dokun1 Apr 11, 2026
e633edc
feat: migrate legacy access_token to default account
dokun1 Apr 11, 2026
6a0a6bb
fix: create accounts table on pre-existing databases
dokun1 Apr 11, 2026
5139b9d
feat: partition request_cache by account_id
dokun1 Apr 11, 2026
73d3777
fix: enterprise-aware cache account resolution and migration robustness
dokun1 Apr 11, 2026
22d252c
feat: add account CRUD (add/list/get/setActive)
dokun1 Apr 11, 2026
9010958
feat: rewrite token accessors to use accounts table
dokun1 Apr 11, 2026
3b1a124
fix: transactional removeAccount and default account recovery
dokun1 Apr 11, 2026
fb92482
refactor: deleteDatabase preserves accounts, wipes cache and config
dokun1 Apr 11, 2026
eddd3d1
test: pin cached statement reset in deleteDatabase
dokun1 Apr 11, 2026
6423f86
refactor: extract Action::dispatch for testability
dokun1 Apr 11, 2026
3ef532a
refactor: tighten action.php script guard to direct invocation
dokun1 Apr 11, 2026
e74d40b
fix: remove tests that spawn real servers and open browsers
dokun1 Apr 12, 2026
99c1c54
feat: add gh user add/switch/update/delete commands
dokun1 Apr 12, 2026
817462e
feat: OAuth state carries pending account label
dokun1 Apr 12, 2026
e579b6e
test: pin legacy login/logout backwards compatibility
dokun1 Apr 12, 2026
11a0123
feat: header shows active account label and user switcher UI
dokun1 Apr 12, 2026
98425c3
fix: render actionable items for gh user subcommands with labels
dokun1 Apr 12, 2026
230ed2b
fix: restore action.php script guard to work with Alfred require
dokun1 Apr 12, 2026
78c649b
feat: replace OAuth flow with PAT-based account login
dokun1 Apr 12, 2026
c7df216
fix: account lists for switch/delete/update, add shows login hint
dokun1 Apr 12, 2026
7a9fa75
fix: restore OAuth flow for user add/update, fix server.php require_once
dokun1 Apr 12, 2026
81f175b
fix: use local config for pending label instead of OAuth state parameter
dokun1 Apr 12, 2026
3228087
feat: open GitHub account switcher in browser on user switch
dokun1 Apr 12, 2026
f95fe90
fix: open github.com instead of nonexistent account switcher URL
dokun1 Apr 12, 2026
ad6c0cd
feat: OAuth login hint and account picker for add/update, remove brow…
dokun1 Apr 12, 2026
525779f
feat: show macOS alert dialog with Open GitHub button on account switch
dokun1 Apr 12, 2026
6e196fb
fix: resolve GitHub username for account label on OAuth callback
dokun1 Apr 12, 2026
b78c9c3
fix: alert UX improvements from QA round 2
dokun1 Apr 12, 2026
c735070
fix: address expert review findings — remove dead OAuthState, add mis…
dokun1 Apr 12, 2026
11b12eb
fix: remove token from listAccounts, add delete confirmation dialog
dokun1 Apr 12, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: tests

on:
push:
branches:
- main
pull_request:

jobs:
phpunit:
name: PHPUnit (PHP ${{ matrix.php }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php: ['8.2', '8.3', '8.4']
steps:
- uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: pdo, pdo_sqlite, sqlite3, curl, simplexml
coverage: none
tools: composer:v2

- name: Install dependencies
run: composer install --no-interaction --no-progress --prefer-dist

- name: Run PHPUnit
run: vendor/bin/phpunit
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
/.php-cs-fixer.cache

/composer.lock
/composer.phar
/vendor/

/.phpunit.cache/
/tests/tmp/

/yarn.lock
/node_modules/
Loading
Loading