Commit Graph

52 Commits

Author SHA1 Message Date
de06939b01 Fix file upload 2025-10-28 18:58:10 +01:00
d0842c515f Change move file endpoint from PUT to POST and add integration tests for file moving and renaming 2025-10-22 21:50:37 +02:00
ec89f95880 Fix get image url 2025-10-11 22:51:08 +02:00
005288b3d8 Add file size validation in UploadFile handler to prevent excessive memory allocation 2025-07-12 15:06:01 +02:00
9f01c64e5e Enhance file upload functionality to support multiple files; update related tests and response structure 2025-07-12 14:58:32 +02:00
ff4d1de2b7 Refactor uploadFile to support multiple file uploads and update related types and handlers 2025-07-12 14:25:03 +02:00
4ea24f07d1 Refactor file routes and update API endpoints for consistency 2025-07-12 12:34:17 +02:00
f4d8a354c4 Add parameters for source and destination paths in moveFile endpoint 2025-07-12 11:58:50 +02:00
3ac657486c Implement MoveFile functionality 2025-07-12 11:52:51 +02:00
5a6895ecdc Enhance integration tests with file upload functionality and support for multipart requests 2025-07-10 22:02:03 +02:00
ae4e9c8db2 Add upload and move file functionalities to API with appropriate routes 2025-07-10 21:07:20 +02:00
48d42a92c9 Refactor API routes to include "_op" prefix for last workspace and file operations 2025-07-08 20:16:46 +02:00
fe2a466a4f Add URL decoding for workspace and file paths in handlers 2025-05-25 15:33:07 +02:00
f55d2644c3 Run integration tests with both dbs 2025-03-06 21:39:56 +01:00
629baa9952 Add test postgres db connection 2025-03-06 19:23:24 +01:00
d3ffcfbb53 Replace interface{} with any 2025-02-24 21:42:39 +01:00
25defa5b65 Fix tests for db type 2025-02-22 22:32:38 +01:00
d47f7d7fb0 Use golang migrate for migrations 2025-02-22 21:53:12 +01:00
28d2c053a8 Rename missed files 2024-12-20 00:05:23 +01:00
b6b4c01f0e Rename app to Lemma 2024-12-19 23:59:27 +01:00
f0b6aa0d6e Setup test logging 2024-12-19 23:42:19 +01:00
b065938211 Remove too many debug messages 2024-12-19 22:00:42 +01:00
7ccd36f0e4 Add logging to handlers 2024-12-17 23:28:01 +01:00
a7a97caa6a Regenerate api docs 2024-12-08 17:46:59 +01:00
8ebbe1e076 Update api docs 2024-12-08 17:43:50 +01:00
ed6ac312ed Fix failing logout tests 2024-12-08 17:22:39 +01:00
69af630332 Update tests to use test user struct 2024-12-08 15:03:39 +01:00
2e1ccb45d6 Remove extra argument 2024-12-07 23:16:12 +01:00
5633406f5c Update handler integration tests 2024-12-07 23:09:57 +01:00
8a4508e29f Update session and cookie managers 2024-12-07 21:19:02 +01:00
de9e9102db Migrate backend auth to cookies 2024-12-05 21:56:35 +01:00
dc8fc6c225 Working swagger api docs 2024-12-03 22:06:57 +01:00
e413e955c5 Update api docs 2024-12-03 21:50:16 +01:00
c400d81c87 Add initial api doc comments 2024-12-02 22:28:12 +01:00
08e76671d0 Rework app setup 2024-12-02 21:23:47 +01:00
31d00681a1 Update handlers and db 2024-11-30 16:12:51 +01:00
ae48761d34 Implement workspace handlers integration tests 2024-11-30 11:44:17 +01:00
8bed3614ee Fix user deletion handler 2024-11-30 00:12:14 +01:00
2a53be5a6e Fix user update tests 2024-11-30 00:09:01 +01:00
af9ab42969 Add integration tests for use handlers 2024-11-29 23:57:17 +01:00
1ddf93a8be Implement git handlers integration test 2024-11-29 23:14:36 +01:00
51ed9e53a4 Implement static handler tests 2024-11-28 21:33:28 +01:00
3fb40a8817 Implement file handlers integration tests 2024-11-28 21:18:47 +01:00
91489ca633 Update path validation error handling 2024-11-28 21:18:30 +01:00
fbb8fa3a60 Implement admin handlers integration test 2024-11-27 21:28:59 +01:00
4ddf1f570f Implement auth handler integration test 2024-11-26 22:50:43 +01:00
ebdd7bd741 Implement auth package tests 2024-11-23 00:29:26 +01:00
807e96a76c Rework db package to make it testable 2024-11-21 22:36:12 +01:00
e4510298ed Rename filesystem interfaces and structs 2024-11-14 21:13:45 +01:00
6a9461d928 Rename fs variable 2024-11-13 22:32:43 +01:00