Commit Graph

40 Commits

Author SHA1 Message Date
Shane Kilkelly 1848befcb7 Merge branch 'sk-flush-when-refreshing-linked-file' 2018-08-29 09:27:05 +01:00
Nate Stemen 465b9aefc5 use match in one case and remove and operator 2018-08-27 16:48:44 -04:00
Nate Stemen ebea8a8633 use regex test instead of match when only bool needed 2018-08-27 14:25:01 -04:00
Shane Kilkelly 034586b296 Flush source project to mongo before linked-file create/refresh 2018-08-20 12:19:59 +01:00
Shane Kilkelly f125a755bf Add a new error type to LinkedFiles: FileCannotRefreshError 2018-07-05 12:13:07 +01:00
Shane Kilkelly 0777e44abf Merge branch 'sk-linked-files-mendeley' 2018-07-04 12:16:39 +01:00
Shane Kilkelly b32c9be8ca Linked files from Mendeley. 2018-07-04 10:05:03 +01:00
Shane Kilkelly 04be842b30 Fix validation of project-output-file, no build_id for imported v1 projects 2018-06-25 12:27:56 +01:00
Shane Kilkelly 096d3f28a1 Move the handleError function into the LinkedFilesController 2018-06-22 13:09:18 +01:00
Shane Kilkelly ebe828aa62 Refactor, and remove the source_project_display_name prop from linkedFileData 2018-06-22 13:09:18 +01:00
Shane Kilkelly dfb4898be5 Move getFileById to the LinkedFilesHandler module 2018-06-22 13:09:18 +01:00
Shane Kilkelly c8012f2968 Cleaner import of errors 2018-06-22 13:09:18 +01:00
Shane Kilkelly 6058f3ef9b Refactor the LinkedFiles/Agent system, and track build_id for output files 2018-06-22 13:09:18 +01:00
Shane Kilkelly d93eb448e3 Move Clsi logic to ClsiManager 2018-06-22 13:09:18 +01:00
Shane Kilkelly 708e809df6 Use errors from ProjectFileAgent 2018-06-22 13:09:18 +01:00
Shane Kilkelly 2ade78783b Add acceptance test for refreshing output file from v1 project 2018-06-22 13:09:18 +01:00
Shane Kilkelly a313184c71 Handle linked-output-files from v1 imports 2018-06-22 13:09:18 +01:00
Shane Kilkelly 48a4f6c4c4 Fix error handling for failing to get output file 2018-06-22 13:08:13 +01:00
Shane Kilkelly 87474ce060 Remove commentary 2018-06-22 13:08:13 +01:00
Shane Kilkelly d4beba24b6 Backend for project output file agent 2018-06-22 13:08:13 +01:00
Shane Kilkelly e916d96792 WIP: basic backend for project-output-file agent 2018-06-22 13:08:13 +01:00
Shane Kilkelly 3baf0836bc Support project-linked-files originating from imported v1 projects 2018-06-13 10:02:54 +01:00
Shane Kilkelly dccac6302e Use a decorateLinkedFileData function on server to add project name 2018-05-29 10:07:31 +01:00
Shane Kilkelly 92fb83e665 Use the correct linkedFileData var 2018-05-29 10:05:50 +01:00
Shane Kilkelly c8a8fe6af7 Use Agent.handleError in case checkAuth produces an error 2018-05-25 16:01:11 +01:00
Shane Kilkelly b5e8ed81b9 Better sanitization and validation for project-linked-file 2018-05-24 11:30:03 +01:00
Shane Kilkelly 1cbc901492 Add a checkAuth function to linked-file agents 2018-05-24 11:29:37 +01:00
Shane Kilkelly 73184c063e Be more specific about the source-file-not-found error case 2018-05-22 11:36:35 +01:00
Shane Kilkelly 7d8c7bebe2 Remove commented-out code 2018-05-21 10:17:00 +01:00
Shane Kilkelly ee1b32eee1 Check for case where the source file is not found 2018-05-21 10:12:41 +01:00
Shane Kilkelly 94a599d530 Fix the reloading of file view after refreshing linked file 2018-05-18 10:35:02 +01:00
Shane Kilkelly 2345b77ea7 Validate project-linked-file data before doing import 2018-05-17 10:51:58 +01:00
Shane Kilkelly 87fb226c3e Fix invocation of getFileStream 2018-05-03 15:30:44 +01:00
Shane Kilkelly 5cb85c0332 WIP: Add ProjectFileAgent 2018-05-03 14:29:03 +01:00
James Allen d92c3e8b55 Logging and error message tweaks 2018-03-05 10:37:53 +00:00
James Allen d4025908b7 Add in enabledLinkedFileTypes setting 2018-03-05 10:37:53 +00:00
James Allen a99f55891f Use external proxy 2018-03-05 10:37:53 +00:00
James Allen 01d84bd983 Handle error cases when downloading URL 2018-03-05 10:37:00 +00:00
James Allen b1dda931f4 Add in modal for creating linked URL file 2018-03-05 10:37:00 +00:00
James Allen 85f25b810c First pass at URL based linked files 2018-03-05 10:37:00 +00:00