No description
Find a file
Yisroel Baum bb6bd7cbb3
use FakePasswordHasher in tests to eliminate bcrypt cost
Add a trivial prefix-based PasswordHasher fake and inject it into the
three test files that exercise CreateUser or AuthenticateUser. Drops
the full phpunit suite from ~7.4s to ~30ms (about 224x) without
losing coverage: the round-trip through hash/verify still validates
that CreateUser stores something other than the plaintext and that
AuthenticateUser only succeeds on a matching hash.

CreateUserTest is also refactored to use a setUp method, matching
the pattern already used in AuthenticateUserTest and AuthControllerTest.
2026-04-26 09:06:26 +03:00
ai add frontend ai prompt template 2026-04-23 09:54:10 +03:00
app inject PasswordHasher into CreateUser and AuthenticateUser 2026-04-26 09:06:21 +03:00
bootstrap add PasswordHasher interface with bcrypt implementation 2026-04-26 09:06:17 +03:00
cypress test auth flows in cypress 2026-04-24 16:08:32 +03:00
data seed regular user for cypress 2026-04-24 16:06:59 +03:00
public include credentials on fetch calls 2026-04-24 13:30:54 +03:00
tests use FakePasswordHasher in tests to eliminate bcrypt cost 2026-04-26 09:06:26 +03:00
views/templates add logout button to admin 2026-04-24 13:30:14 +03:00
.envrc add direnv to use flake 2026-04-12 22:50:49 +03:00
.gitignore only ignore json files in data dir, tracking seed and wipe scripts 2026-04-15 21:10:07 +03:00
.php-cs-fixer.dist.php add php cs fixer 2026-04-19 23:03:20 +03:00
composer.json specify php version in composer 2026-04-19 23:03:28 +03:00
composer.lock remove all twig related code 2026-04-11 22:41:30 +03:00
cypress.config.js remove boilerplate config and set baseUrl 2026-03-22 10:03:29 +02:00
DailyGoals.drawio add session entity 2026-04-25 22:08:25 +03:00
flake.lock init flake with dev shell for node and cypress 2026-04-11 22:55:27 +03:00
flake.nix add php cs fixer 2026-04-19 23:03:20 +03:00
package-lock.json install cypress, first package of npm 2026-03-21 20:16:07 +02:00
package.json add seed and wipe commands for e2e tests 2026-04-15 21:08:54 +03:00
README.md update readme todos 2026-04-12 22:52:48 +03:00

Set a goal for finishing a book by a specific date and have your daily goals automatically calculated

TODO

- Test Email Address Value Object
- Move create text out of view controller into text controller