• Joined on 2025-01-06
squid pushed to main at squid/blog 2025-08-01 18:26:41 +08:00
197d7773ef BLOG-86 Checking authentication before uploading image (#101)
squid deleted branch BLOG-86_image_can_only_be_uploaded_by_logged_in_user from squid/blog 2025-08-01 18:26:41 +08:00
squid closed issue squid/blog#86 2025-08-01 18:26:39 +08:00
Image can only be uploaded by logged in user
squid merged pull request squid/blog#101 2025-08-01 18:26:39 +08:00
BLOG-86 Checking authentication before uploading image
squid commented on pull request squid/blog#101 2025-08-01 18:24:50 +08:00
BLOG-86 Checking authentication before uploading image

**The auth_middleware currently allows requests to proceed if session.get returns an
error or if the user_id is not found in the session. This bypasses…

04c9d4dcf0 BLOG-86 refactor: simplify auth middleware by removing unnecessary error handling and integrating user ID retrieval
squid created pull request squid/blog#101 2025-08-01 18:11:22 +08:00
BLOG-86 Checking authentication before uploading image
eb7a3cf985 BLOG-86 refactor: update UserId struct to encapsulate user ID and improve access method
a72a567d6a BLOG-86 feat: add auth dependency and integrate UserId in image upload handler
0e8eb809a5 BLOG-86 feat: implement authentication middleware and update routes for user session management
87982fd480 BLOG-86 fix: redis URL in session configuration to use correct localhost address
Compare 4 commits »
squid opened issue squid/blog#100 2025-08-01 17:43:31 +08:00
Get current logged in user data
0d6810f3d5 NO-ISSUE Remove .sqlx from gitignore (#99)
c6661f3222 BLOG-95 Seperate SQL migration files (#98)
9c88b4bb55 BLOG-94 Create user in DB when first login through OIDC (#96)
Compare 3 commits »
squid deleted branch NO-ISSUE_remove_dot_sqlx_from_gitignore from squid/blog 2025-08-01 15:17:43 +08:00
squid pushed to main at squid/blog 2025-08-01 15:17:43 +08:00
0d6810f3d5 NO-ISSUE Remove .sqlx from gitignore (#99)
squid merged pull request squid/blog#99 2025-08-01 15:17:42 +08:00
NO-ISSUE Remove .sqlx from gitignore
squid created pull request squid/blog#99 2025-08-01 15:16:56 +08:00
NO-ISSUE Remove .sqlx from gitignore
squid created branch NO-ISSUE_remove_dot_sqlx_from_gitignore in squid/blog 2025-08-01 15:12:54 +08:00
squid pushed to NO-ISSUE_remove_dot_sqlx_from_gitignore at squid/blog 2025-08-01 15:12:54 +08:00
c7d07b459f NO-ISSUE build: run cargo sqlx prepare --workspace
1a2a43758f NO-ISSUE build: remove dot sqlx from gitignore
Compare 2 commits »
squid closed issue squid/blog#95 2025-08-01 15:02:30 +08:00
Rename SQL migration file name
squid deleted branch BLOG-95_rename_sql_migration_file from squid/blog 2025-08-01 15:02:30 +08:00
squid pushed to main at squid/blog 2025-08-01 15:02:30 +08:00
c6661f3222 BLOG-95 Seperate SQL migration files (#98)
squid merged pull request squid/blog#98 2025-08-01 15:02:30 +08:00
BLOG-95 Seperate SQL migration files