-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: If artifact has been deleted, show a message to that effect in …
…the iFrame in the UI (#8966) * feat: return 404 from the backend when artifact is 'Deleted'; starting to figure out how to use SuperAgent node modules on front end Signed-off-by: Julie Vogelman <julie_vogelman@intuit.com> * feat: don't show download link if artifact has been deleted Signed-off-by: Julie Vogelman <julie_vogelman@intuit.com> * feat: show message on UI if artifact has been deleted Signed-off-by: Julie Vogelman <julie_vogelman@intuit.com> * fix: revert accidental rename Signed-off-by: Julie Vogelman <julie_vogelman@intuit.com> * fix: for consistency add setHTTPStatus() in the json case too Signed-off-by: Julie Vogelman <julie_vogelman@intuit.com> * feat: Artifact Server to return http status code based on underlying storage provider response Signed-off-by: Julie Vogelman <julie_vogelman@intuit.com> * feat: Artifact Server to return http status code based on underlying storage provider response Signed-off-by: Julie Vogelman <julie_vogelman@intuit.com> * feat: just use the standard 404 response from the server Signed-off-by: Julie Vogelman <julie_vogelman@intuit.com> * feat: bring in latest argoproj/pkg which contains S3 code change Signed-off-by: Julie Vogelman <julie_vogelman@intuit.com> * feat: comment Signed-off-by: Julie Vogelman <julie_vogelman@intuit.com> * feat: update unit test to account for 404 errors Signed-off-by: Julie Vogelman <julie_vogelman@intuit.com> * feat: handle empty directory Signed-off-by: Julie Vogelman <julie_vogelman@intuit.com> * fix: make lint happy Signed-off-by: Julie Vogelman <julie_vogelman@intuit.com> * feat: bring in latest pkg so we can use s3 KeyExists() method Signed-off-by: Julie Vogelman <julie_vogelman@intuit.com> * feat: logic on the UI side to prevent showing the download button if artifact was deleted Signed-off-by: Julie Vogelman <julie_vogelman@intuit.com> * feat: don't show download button is artifact has been deleted Signed-off-by: Julie Vogelman <julie_vogelman@intuit.com> * fix: unit test Signed-off-by: Julie Vogelman <julie_vogelman@intuit.com> * fix: lint errors in ui Signed-off-by: Julie Vogelman <julie_vogelman@intuit.com> * feat: separate out the ListObjects() method of s3 ArtifactDriver so that it can be unit tested Signed-off-by: Julie Vogelman <julie_vogelman@intuit.com> * fix: remove unnecessary return Signed-off-by: Julie Vogelman <julie_vogelman@intuit.com> * fix: remove accidental duplication of code Signed-off-by: Julie Vogelman <julie_vogelman@intuit.com> * feat: reverting the UI changes to prevent downloading the same file twice - to be revisited later Signed-off-by: Julie Vogelman <julie_vogelman@intuit.com> * fix: testify gomodule reverted since it wasn't working Signed-off-by: Julie Vogelman <julie_vogelman@intuit.com> * fix: revert testify back to 1.7.2 since 1.7.3 and 1.7.4 are broken Signed-off-by: Julie Vogelman <julie_vogelman@intuit.com> * fix: lint error Signed-off-by: Julie Vogelman <julie_vogelman@intuit.com> * fix: empty commit Signed-off-by: Julie Vogelman <julie_vogelman@intuit.com> * feat: create ArgoError.HTTPCode() so as to make code more centrally located Signed-off-by: Julie Vogelman <julie_vogelman@intuit.com> * fix: go.sum Signed-off-by: Julie Vogelman <julie_vogelman@intuit.com>
- Loading branch information
Showing
7 changed files
with
221 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.