Commit Graph

54 Commits

Author SHA1 Message Date
Tim
d9e61ac756 Add post listing filters and pagination 2025-07-01 16:03:07 +08:00
Tim
9b1a295324 Merge pull request #33 from nagisa77/codex/implement-captcha-service-for-registration-and-posting
Implement captcha config endpoint
2025-07-01 15:13:39 +08:00
Tim
10fa61d3ed Add configurable captcha endpoints 2025-07-01 14:36:29 +08:00
Tim
be1afe198e fix tests for password length 2025-07-01 14:09:13 +08:00
Tim
369fcde28a Require 6 char min for low strength passwords and add validator tests 2025-07-01 14:04:36 +08:00
Tim
6df855a816 Add configurable password strength policy 2025-07-01 13:45:35 +08:00
Tim
0392c04b36 Merge branch 'main' into codex/update-usercontroller-for-user-data-retrieval 2025-07-01 13:24:28 +08:00
Tim
0031b825e2 Add user content endpoints 2025-07-01 13:23:04 +08:00
Tim
090425feb3 Merge pull request #26 from nagisa77/codex/fix-json-deserialization-error-in-test
Fix admin post integration test auth
2025-07-01 13:20:32 +08:00
Tim
83c7659b88 fix integration test to include auth for admin endpoint 2025-07-01 13:20:15 +08:00
Tim
0cebcdcfa5 Merge branch 'main' of github.com:nagisa77/OpenIsle 2025-07-01 13:19:17 +08:00
Tim
002a2aa716 Merge branch 'main' of github.com:nagisa77/OpenIsle 2025-07-01 13:18:58 +08:00
Tim
371fccfa53 Fix CosImageUploader test to allow random filenames 2025-07-01 13:16:30 +08:00
Tim
af1f3a9230 feat: add post publish mode with review 2025-07-01 13:09:47 +08:00
Tim
d69f7251e0 Add image upload validations and random naming 2025-07-01 13:00:47 +08:00
Tim
fb616b724c feat: update config 2025-07-01 11:57:25 +08:00
Tim
a37f046898 feat: add internalServerError 2025-07-01 10:25:35 +08:00
Tim
664d7de105 feat: delete curl 2025-07-01 10:22:43 +08:00
Tim
87b9e9acd3 Implement real async COS image upload 2025-07-01 10:18:53 +08:00
tim
48abc381db Merge branch 'main' of github.com:nagisa77/OpenIsle 2025-07-01 10:02:29 +08:00
tim
8e6126e0ad feat: update test 2025-07-01 10:01:49 +08:00
Tim
aa64ef5ee1 Introduce pluggable email and image upload 2025-07-01 09:58:40 +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