Commit Graph

162 Commits

Author SHA1 Message Date
77ad261670 Add api for pinned resources 2025-08-28 10:38:55 +08:00
0e69d787e3 Add CollectionResource model and update collection handling methods 2025-08-03 13:06:43 +08:00
0c841f2723 Improve collection permission. 2025-08-01 17:30:12 +08:00
63b3a075c8 fix FrontendMiddleware 2025-08-01 17:17:41 +08:00
d35473c905 Add collelction permission. 2025-08-01 17:09:36 +08:00
25720f5e49 Handle RecordNotFound error. 2025-08-01 16:51:44 +08:00
2288926e31 Update collection title. 2025-07-31 16:45:38 +08:00
5ef6b091e8 fix updating collection. 2025-07-31 16:39:25 +08:00
f762e74e4d SEO for collection page. 2025-07-31 16:24:40 +08:00
63ebbebb02 SEO for collection page. 2025-07-31 16:23:55 +08:00
08c70a0b52 feat: add collection 2025-07-31 15:41:15 +08:00
1e5b12f531 fix collection api. 2025-07-31 15:07:05 +08:00
724f96beb8 fix collection api. 2025-07-31 14:50:27 +08:00
fd7c3797ea Add resources_count to collection. 2025-07-31 14:08:38 +08:00
40fb3a93b6 refactor: improve search user collections logic to handle optional keyword 2025-07-31 11:01:49 +08:00
470324221d Add excludedRID param to collection search api. 2025-07-31 10:49:18 +08:00
12237ee0a4 fix creating collection 2025-07-31 09:36:17 +08:00
15db44e956 Add model.Collection to AutoMigrate 2025-07-30 18:00:33 +08:00
ef2c6d630f fix collection api. 2025-07-30 17:53:06 +08:00
a56eb559ba refactor: update user collections handling to use username. 2025-07-30 16:47:28 +08:00
17b40f2214 Add collection api. 2025-07-30 16:28:33 +08:00
def3e8bb0f feat: stop server download task 2025-07-25 16:45:45 +08:00
99c69d3b7d fix: remove unscoped delete in DeleteResource function for proper file deletion 2025-07-21 09:14:29 +08:00
ea8dbb90b9 feat: small file is unrequired to verity to download. 2025-07-16 11:13:54 +08:00
42848a2863 fix: change URL query escaping to path escaping for pre-fetch data 2025-07-14 12:45:11 +08:00
0ef8e14587 Add pre-fetch data handling for resources, users, and comments 2025-07-14 11:47:59 +08:00
6188b88917 Add ordering to retrieve the most recent user activity 2025-07-13 19:21:34 +08:00
e6c02bee05 Add logic to skip duplicate resource update activities within 10 minutes 2025-07-13 19:15:37 +08:00
2014913a0b Fix user file listing to handle URL decoding for usernames 2025-07-13 16:53:38 +08:00
891b3d4a1a Add user files. 2025-07-13 16:41:39 +08:00
e9f6e1968e Add new file activity. 2025-07-13 16:12:03 +08:00
65fe85e6c1 Fix resource deletion to also remove related activity records 2025-07-13 15:35:07 +08:00
157c080d5a Fix updating resource count. 2025-07-12 17:17:29 +08:00
5ae020be7c fix updating file count. 2025-07-11 05:37:20 +02:00
abf25b09cf Improve request limit. 2025-07-11 09:39:47 +08:00
dd5e5193da Allow normal user to upload. 2025-07-10 15:10:56 +08:00
747f76991d Remove redundant check for already uploaded block in UploadBlock function. 2025-07-10 11:11:36 +08:00
9399ade2df fix request limiter. 2025-07-09 17:33:10 +08:00
b1d395eac6 Add user file statistic. 2025-07-09 17:17:54 +08:00
b568b234c4 Move request limiter to middleware. 2025-07-09 17:00:39 +08:00
a169918b93 Show file uploader. 2025-07-05 20:40:48 +08:00
2dfa2e3e02 Improve comments. 2025-07-04 17:21:25 +08:00
549c2d48d6 Fix comment activity api. 2025-07-04 16:07:52 +08:00
6365827748 fix comment preview metadata. 2025-07-04 16:04:54 +08:00
fdf2e21dce Improve comments 2025-07-04 15:57:06 +08:00
54ab93ea7b Support comment reply. 2025-07-04 15:24:23 +08:00
nyne
1f22367cc4 Support commenting with markdown. 2025-07-04 13:23:56 +08:00
nyne
f605485f40 Improve search. 2025-07-01 15:12:06 +08:00
778ade8b6c Add comments count to Resource model and update logic for comment creation and deletion 2025-06-26 21:12:53 +08:00
5d0b201fde Improve Comment model to support multiple comment type. 2025-06-26 20:54:35 +08:00