Commit Graph

  • 1d92cad560 Add file_clean tool for managing S3 files and database references; implement file key extraction and reporting master cialloo 2025-11-01 08:39:58 +08:00
  • cef65deb23 Refactor file key extraction in CreatePost and EditPost logic to handle multiple file types; enhance error logging and simplify utility functions cialloo 2025-10-29 08:13:08 +08:00
  • 797638e67a Remove document file type categorization from getFileType function cialloo 2025-10-29 08:03:45 +08:00
  • 7de60ad0c0 Add archive file key extraction to CreatePost and EditPost logic; enhance file migration handling cialloo 2025-10-27 21:41:23 +08:00
  • ecd7926452 Refactor UploadPresignedURL logic to categorize file types based on extensions and generate file keys accordingly cialloo 2025-10-26 21:35:48 +08:00
  • 0ae4d1705b Refactor GetPost and ListPosts logic to use time.Time for timestamps; convert to Unix milliseconds and improve error handling cialloo 2025-10-26 17:44:49 +08:00
  • 116adb7922 Refactor ListPosts logic to use time.Time for createdAt and updatedAt; convert timestamps to Unix milliseconds cialloo 2025-10-26 17:22:40 +08:00
  • df712e8715 Add tag filtering to ListPosts and enhance ListTags with post count cialloo 2025-10-26 16:00:30 +08:00
  • a8b2457762 Add hashtag extraction and management in CreatePost and EditPost logic; improve error handling cialloo 2025-10-26 14:31:48 +08:00
  • 57d8286607 Refactor file migration logic in CreatePost and EditPost to remove S3 verification; improve error handling for tmpfiles cialloo 2025-10-26 14:11:10 +08:00
  • 80e9b961b5 Refactor CreatePost and EditPost logic to migrate images from tmpfiles to files; add utility function to extract image keys from content cialloo 2025-10-26 09:38:54 +08:00
  • 183c6e9ece Remove public read access bucket policy setup from S3 client initialization; improve error handling by logging warnings instead of panicking cialloo 2025-10-26 09:24:18 +08:00
  • 28fb0ca1c8 Refactor S3 client initialization to streamline configuration and add public read policy setup; improve error handling for bucket policy application cialloo 2025-10-26 07:03:35 +08:00
  • efc20ac1ab Refactor CreatePost and EditPost logic to handle cover images with transactions; improve error handling and logging cialloo 2025-10-25 21:54:52 +08:00
  • 0e4a7e29a3 Add comments to configuration parameters in blog.yaml for clarity cialloo 2025-10-25 21:41:37 +08:00
  • 3d7a81d70e Update super admin check to use correct SteamID for authorization cialloo 2025-10-25 20:27:02 +08:00
  • 7c994e6fba Refactor pagination logic in ListPosts to enhance readability and maintainability cialloo 2025-10-25 14:04:14 +08:00
  • aaa89bf8b7 Refactor blog post logic to standardize field names and improve error handling; implement pagination for post listing and add tag retrieval functionality. cialloo 2025-10-25 12:21:17 +08:00
  • e21f9e6d1a update cialloo 2025-10-25 12:17:08 +08:00
  • 85794f13a4 update cialloo 2025-10-25 12:09:12 +08:00
  • b05f797eb1 Implement CRUD operations for blog posts with Create, Edit, and Delete handlers cialloo 2025-10-25 11:34:59 +08:00
  • 166382ffa8 update cialloo 2025-10-25 09:36:58 +08:00
  • 512db143fc Fix YAML syntax by removing quotes from numeric values in JWT and S3 configuration cialloo 2025-10-25 09:30:31 +08:00
  • f63a14031c update cialloo 2025-10-25 08:54:42 +08:00
  • d207146423 update cialloo 2025-10-25 08:43:42 +08:00
  • e5cd2700aa update cialloo 2025-10-25 08:23:36 +08:00
  • 6b0a88ed4c update cialloo 2025-10-25 08:18:18 +08:00
  • ec80aa92fa Add S3 configuration and presigned URL logic for file upload and download cialloo 2025-10-24 22:32:36 +08:00
  • 289812aac3 update cialloo 2025-10-24 21:44:15 +08:00
  • 2f56813874 update cialloo 2025-10-24 21:06:39 +08:00
  • 45fb8dfeb8 update cialloo 2025-10-23 08:49:33 +08:00