Commit Graph

33 Commits

Author SHA1 Message Date
tim
8e6126e0ad feat: update test 2025-07-01 10:01:49 +08:00
Tim
14561c6438 fix integration test category creation via admin 2025-06-30 23:15:25 +08:00
Tim
5dd29239c9 Add category module and require post category 2025-06-30 23:07:15 +08:00
Tim
f05e1eba25 Allow anonymous GET for posts and comments 2025-06-30 22:57:24 +08:00
Tim
35cd165621 Merge branch 'main' of github.com:nagisa77/OpenIsle 2025-06-30 21:09:14 +08:00
Tim
b5bdff41aa Fix JWT key generation 2025-06-30 21:08:39 +08:00
Tim
785eb371a0 feat: do my test 2025-06-30 21:02:59 +08:00
Tim
6df67fa91c Add integration tests for nested comments and reactions 2025-06-30 20:59:28 +08:00
Tim
d878f32fdb Merge pull request #15 from nagisa77/codex/fix-postcontrollertest-autowire-issue
Fix PostControllerTest missing mocks
2025-06-30 20:51:21 +08:00
Tim
cec92a7515 test: mock services in PostControllerTest 2025-06-30 20:51:04 +08:00
Tim
99341c0795 Merge pull request #14 from nagisa77/codex/fix-customaccessdeniedhandler-not-invoked
Fix AccessDeniedHandler usage in MVC tests
2025-06-30 20:46:35 +08:00
Tim
62c0adee93 Use real CustomAccessDeniedHandler in MVC tests 2025-06-30 20:46:23 +08:00
Tim
b5e1e8c949 Merge pull request #13 from nagisa77/codex/add-comments-and-reactions-to-post-info
Add comments and reactions to post detail
2025-06-30 20:44:01 +08:00
Tim
eabae2eb5a Expand post details with comments and reactions 2025-06-30 20:43:48 +08:00
Tim
83c1d25493 Add auth failure tests for hello and admin controllers 2025-06-30 20:38:01 +08:00
Tim
06e7e0db9d Add controller unit tests and test dependencies 2025-06-30 20:25:22 +08:00
Tim
7aebde6f6f Merge pull request #10 from nagisa77/codex/return-sc_unauthorized-for-no-admin-permissions
Return 401 when admin role missing
2025-06-30 20:20:47 +08:00
Tim
82d29dc7cd Return 401 for admin access without permission 2025-06-30 20:20:27 +08:00
Tim
8a7b0bde07 feat: do my test 2025-06-30 20:19:28 +08:00
Tim
820d3fac70 docs: add curl examples for comment and reaction controllers 2025-06-30 19:58:52 +08:00
Tim
69e9ef8532 Add reaction module 2025-06-30 19:52:22 +08:00
Tim
ff64500ffd Add comment module 2025-06-30 19:46:57 +08:00
Tim
8e413ae4c1 Add curl test comments to controllers 2025-06-30 19:40:05 +08:00
Tim
8bc53b28ae Merge branch 'main' into codex/add-post-module-with-attributes 2025-06-30 19:01:34 +08:00
Tim
d419b45515 Add Post module 2025-06-30 19:00:43 +08:00
Tim
dce34461d5 Merge pull request #4 from nagisa77/codex/add-user-permission-module
Add role-based authorization
2025-06-30 18:59:33 +08:00
Tim
31b54f6aac Add role-based authorization 2025-06-30 18:59:11 +08:00
Tim
150ef6148e Return 401 when JWT auth fails 2025-06-30 18:54:22 +08:00
Tim
17d4af229d feat: add test case 2025-06-30 18:49:46 +08:00
Tim
0d3eb99fd2 feat: update config 2025-06-30 18:23:25 +08:00
Tim
39179c370e feat: add email verification 2025-06-30 17:53:13 +08:00
Tim
aa6d32e7dd feat: update config 2025-06-30 17:48:11 +08:00
Tim
f53e3635d0 Initialize Spring Boot backend with JWT auth 2025-06-30 17:17:54 +08:00