Commit graph

52 commits

Author SHA1 Message Date
f3f500d491
add element icons 2026-05-27 21:14:24 +03:00
ac7af2463d
test element icons 2026-05-27 21:10:52 +03:00
ff58f23bb7
add element youtube url 2026-05-27 20:37:45 +03:00
f9c4d72e60
test element youtube url 2026-05-27 20:36:34 +03:00
cc1735ee7b
add element pdf path 2026-05-27 20:19:11 +03:00
6c6b3ad257
test element pdf path 2026-05-27 20:15:51 +03:00
827abde41b
test element rich text 2026-05-27 19:57:12 +03:00
72e4720787
add element descriptions 2026-05-26 21:12:28 +03:00
f2dc1483dd
test element descriptions 2026-05-26 21:10:42 +03:00
7350d747f3
add element child list 2026-05-26 20:16:22 +03:00
aa746fe3f0
test element child list 2026-05-26 20:12:14 +03:00
aa77ccad81
test element controller mapping 2026-05-26 19:59:55 +03:00
ca4d2dad3b
test get element use case 2026-05-26 19:58:19 +03:00
1b05d4f1f5
test missing element 2026-05-26 19:47:38 +03:00
f9c92f3206
test element endpoint 2026-05-26 19:46:44 +03:00
7736b88802
add set root ids 2026-05-25 21:42:38 +03:00
a87c98a729
test set root ids 2026-05-25 21:41:48 +03:00
36f6a76d39
update media card style 2026-05-25 21:21:49 +03:00
fa8efd765f
add set media fields 2026-05-25 20:46:00 +03:00
1ce7688d33
test set media fields 2026-05-25 20:42:59 +03:00
67dd376a2f
format backend code 2026-05-25 20:24:59 +03:00
a74bb853d4
test sets endpoint 2026-05-25 19:58:32 +03:00
4897cc2e20
test set creation repo 2026-05-25 08:36:16 +03:00
f62b05bc37
test seeded sets 2026-05-25 08:24:31 +03:00
aaa494afe4
test find elements by set 2026-05-25 08:11:25 +03:00
db35a97910
test set elements 2026-05-24 22:28:44 +03:00
eff7c5c281
wire auth api 2026-05-23 23:21:07 +03:00
9e70fae38d
test auth controller login, logout, and me methods 2026-05-20 10:22:52 +03:00
56b528999e
update fake token generator to take a preset number of tokens 2026-05-20 10:22:10 +03:00
c78ccfcfa2
change test case import 2026-05-19 19:59:14 +03:00
51537bbf24
change testcase import, add datetime to fake clock, style lines 2026-05-19 19:57:57 +03:00
453e8284b4
streamline find by token in session repo 2026-05-19 19:56:56 +03:00
3ebb2c14b3
change up logout test style 2026-05-19 19:55:49 +03:00
218f885251
name params, style 2026-05-19 19:55:07 +03:00
f143562a40
give fake clock a constructor 2026-05-19 19:54:12 +03:00
a859c87455
add auth middleware test 2026-05-19 19:53:54 +03:00
f9f253d04f
test production cors preflight 2026-05-18 22:18:54 +03:00
383a8a0fbd
add idempotent logout for missing token test 2026-05-18 22:06:46 +03:00
7c996ade74
add timestamp and persistence assertions for create session 2026-05-18 22:06:38 +03:00
1c5d09f09c
add empty string tests for authenticate 2026-05-18 22:06:26 +03:00
64acbfad60
extract auth test fakes 2026-05-18 22:01:45 +03:00
410b752183
add unit tests for user and auth 2026-05-18 21:36:10 +03:00
9d5bfc33a6
laravel init 2026-05-18 21:24:18 +03:00
f6a33cf620
delete backend, starting over 2026-05-18 21:18:20 +03:00
f2bc33592d
test: add null and empty token cases to logout test
Red phase: Logout should handle null and empty string tokens gracefully without throwing. Currently null causes TypeError.
2026-05-17 10:09:20 +03:00
a681d93f5d
fix: use stub instead of mock for unused handler
PHPUnit 13 warns about mock objects with no expectations. createStub() avoids the notice since the handler is never called in the expired-session test.
2026-05-17 10:06:35 +03:00
56ddba707d
format: fix psr12 style issues
phpcbf auto-fixes: string concatenation spacing, single-line class braces, closing brace placement.
2026-05-17 09:45:26 +03:00
21dca993cd
test: add failing auth controller test
Red phase: AuthControllerTest covers login with valid credentials (returns user+cookie), missing email (400), invalid credentials (401), logout (clears cookie, 204), and me (returns user from attribute).
2026-05-17 09:45:25 +03:00
db01bfdc2e
test: add failing auth middleware test
Red phase: AuthMiddlewareTest covers valid cookie, missing cookie, empty cookie, unknown token, expired session, and expired session deletion.
2026-05-17 09:45:24 +03:00
ceb392fc8d
test: add failing logout test
Red phase: LogoutTest covers deleting existing session and no-op for unknown token.
2026-05-17 09:45:24 +03:00