Commit Graph

111 Commits

Author SHA1 Message Date
ea29064573 Improve image api. 2025-06-26 18:56:16 +08:00
8f57365975 Fix image resizing calculation to use square root for scaling factor 2025-06-25 19:32:05 +08:00
c44d71b0da Add link support to resource creation and editing, including validation 2025-06-24 20:19:29 +08:00
b60b72668d Fix query to filter unused images by creation date 2025-06-24 12:46:14 +08:00
3694e24aad Implement comment length and IP rate limiting in comment creation 2025-06-24 12:39:51 +08:00
953b1cf86a Enhance comment functionality with image support and validation. 2025-06-24 12:00:48 +08:00
be067cc21a Add resampled image retrieval functionality and update image URLs 2025-06-23 21:19:42 +08:00
dcd23054b2 Add delete comment functionality with confirmation dialog. 2025-06-23 19:55:43 +08:00
46186e95df Add comment update functionality with UI integration 2025-06-20 13:49:36 +08:00
3416cfd280 Fix ClearUnusedTags 2025-06-14 17:44:21 +08:00
45a48470df Log removal of unused tags during cleanup process 2025-06-14 17:39:15 +08:00
a2b9e52f88 Fix ClearUnusedTags 2025-06-14 17:38:17 +08:00
389168ef29 Implement hard delete for unused resource tags in tag cleanup process 2025-06-14 17:25:13 +08:00
ff03d9a21f Implement automatic cleanup of unused tags with hourly scheduled deletion 2025-06-14 17:09:57 +08:00
1f238c56f3 Add activities page. 2025-06-13 19:32:25 +08:00
0b3b54a0c4 Improve username validation logic. 2025-06-12 15:06:42 +08:00
41c40fa6d0 Improve username validation logic. 2025-06-12 15:04:37 +08:00
c842af3855 Restrict usernames from containing spaces 2025-06-12 10:49:02 +08:00
8e134a6b38 Validate username length using rune count for accurate character measurement 2025-06-10 18:24:11 +08:00
ec72beb851 Enhance resource retrieval by supporting tag queries with spaces 2025-06-10 10:20:03 +08:00
3aac8faad7 Add tag alias management functionality 2025-06-09 19:47:46 +08:00
cada7ec635 fix random resource. 2025-06-08 17:56:04 +08:00
99a2d328f1 Add Random resource retrieval and navigation. 2025-06-08 17:49:49 +08:00
486db58e46 Improve search 2025-06-01 22:12:25 +08:00
d274735b2d Fix invalid resource updating. 2025-05-31 18:08:12 +08:00
d597d62c1c Add Quick Add Tag functionality and improve tag management in Edit and Publish pages 2025-05-31 12:43:08 +08:00
16c1dcd64b Enhance GetResourceByID to resolve tag aliases 2025-05-31 09:26:01 +08:00
78ff27ae82 Use crypto/rand for secure key generation in JWT 2025-05-30 20:20:39 +08:00
1063f3240d Fix invalid jwt 2025-05-30 20:15:21 +08:00
1d3aee3b70 Prevent a tag from being an alias of itself in tag creation 2025-05-30 20:09:05 +08:00
5fca51f852 Prevent adding tags with zero count to the cached tag list 2025-05-30 20:02:22 +08:00
4f99bff2f5 Add tags page. 2025-05-30 17:39:57 +08:00
d4bfb52ef9 Fix searching resources. 2025-05-30 16:24:38 +08:00
62daa692c8 Improve tag alias. 2025-05-30 16:18:38 +08:00
5ef2816f98 Add tag type and tag alias. 2025-05-30 16:08:58 +08:00
5e6d202acd Improve statistic 2025-05-30 12:04:54 +08:00
a136dafc3a Add function to remove links from article descriptions 2025-05-29 16:51:09 +08:00
7bcae71495 Add Cache-Control header for static file serving 2025-05-27 17:37:54 +08:00
2daa30d480 Fix downloading file. 2025-05-26 22:14:38 +08:00
6a1bcad651 Implement file download function with retry logic and cleanup for existing files 2025-05-26 22:01:51 +08:00
e6fb0ceda3 Remove timeout setting from HTTP client in file upload process 2025-05-26 21:11:25 +08:00
f3eb79b3fa Remove file deletion logic for rejected uploads 2025-05-26 21:00:06 +08:00
b61027defd Reorder file creation logic to ensure size limit check occurs before database insertion 2025-05-26 20:57:10 +08:00
710c83a16e Reject file uploads exceeding maximum size limit and delete rejected files 2025-05-26 20:56:45 +08:00
7e612b3dd4 Add server download task creation and related UI components 2025-05-26 20:51:02 +08:00
764ec5f38c Add temporary token generation for secure file downloads 2025-05-26 19:36:37 +08:00
532b3ff8df Implement S3 delete logic in Delete method 2025-05-26 16:31:07 +08:00
400b8d62d7 Implement caching for resource view and download counts 2025-05-25 15:24:49 +08:00
681727d63a Implement login attempt tracking and user lockout mechanism 2025-05-25 14:48:35 +08:00
b12ca4ce91 Fix UpdateResource function to correctly handle image and tag associations 2025-05-25 11:47:47 +08:00