Commit Graph

87 Commits

Author SHA1 Message Date
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
6e78707d9e Add AboutPage component and integrate sorting options in resource retrieval 2025-05-25 11:27:24 +08:00
b610a5db9d Fix UpdateResource 2025-05-25 10:35:47 +08:00
65eead5193 Unescape and trim whitespace from tag name in URL handling 2025-05-24 20:45:43 +08:00
c55dc709e0 Add tag description. 2025-05-24 20:38:05 +08:00
e45afd75ad Fix GetResourceByTag 2025-05-24 18:51:47 +08:00
e9b0a43718 Trim whitespace from tag and keyword inputs in tag creation 2025-05-24 15:07:33 +08:00
nyne
8a7af82b6c Render internal links to card. 2025-05-23 19:30:46 +08:00
nyne
0bc97b1db5 Add related resources parsing 2025-05-23 16:21:58 +08:00
nyne
926391dc85 Increase presigned URL expiration time from 10 to 20 seconds in S3 download method 2025-05-23 15:32:02 +08:00
nyne
22c17e5d9a fix s3 download 2025-05-23 15:13:26 +08:00
0fae66c7dd Add username validation and URL decoding in comment retrieval 2025-05-21 12:44:29 +08:00
3283aabf9f Add URL decoding for username in user retrieval 2025-05-21 12:36:06 +08:00
8668f3a947 Add RSS/Sitemap handling. 2025-05-18 20:37:58 +08:00
7bca25bd2c Add support for BMP image format in content type validation 2025-05-18 17:32:24 +08:00
db34b32d63 Increase maximum image data size limit to 8MB and add error handling for oversized images after conversion 2025-05-18 17:31:59 +08:00
ca6369e40d Increase character limit for plain text extraction to 200 2025-05-18 16:29:45 +08:00
15c297c22d Improve resource descriptions 2025-05-18 16:25:38 +08:00
562f5097d5 Fix image meta 2025-05-18 16:17:03 +08:00
be09b55765 Add site information management with Markdown support 2025-05-18 11:04:59 +08:00
1b5eb23a65 Add user information retrieval endpoint and update token management 2025-05-18 10:29:08 +08:00
1396f6939b Add file size and redirect status to file model 2025-05-17 22:47:46 +08:00
38999d844d Add bio management feature with UI and backend support 2025-05-17 21:34:16 +08:00
e37c543440 Add URL unescaping for tag parameter. 2025-05-17 12:23:01 +08:00
f62a92a648 Enhance user deletion logic to handle non-existent users and mark deleted usernames 2025-05-17 10:36:54 +08:00