Commit Graph
100 Commits
Author SHA1 Message Date
mabashian d27c482e5e Pass actual error to ContentError so it can be displayed 2020-10-20 11:16:38 -04:00
mabashian 34e85dea8b Check for existence of data.next before checking it 2020-10-20 11:16:38 -04:00
mabashian 6df173ce1d Update return structure of readInputSources to match what the edit component is expecting. This also required me to make corresponding updates to the detail component so that it matched. 2020-10-20 11:16:38 -04:00
mabashian e6a1ad0127 Ran prettier 2020-10-20 11:16:38 -04:00
mabashian c3c7e120c8 Removes use of Trans tag in favor of t/i18n 2020-10-20 11:16:38 -04:00
mabashian 81822dfd1c Adds an upper limit on recursive calls set statically in the method at 5. 2020-10-20 11:16:38 -04:00
mabashian a71a9057a2 Wraps GET requests in useRequest in order to handle unmounting more gracefully if the requests are still pending. 2020-10-20 11:16:38 -04:00
mabashian a1d1a1078b Adds logic to recursively fetch input sources in the model method. This way we don't have to duplicate this logic every place that calls the method. 2020-10-20 11:16:38 -04:00
mabashian e7cd9bbb98 Display fields that have plugins configured. 2020-10-20 11:16:38 -04:00
mabashian 908e583c69 Display prompt on launch passwords properly 2020-10-20 11:16:38 -04:00
mabashian 19ae4eadfb Add galaxy credentials field to organizations form 2020-10-20 11:03:27 -04:00
mabashian 485cee56bc Fix issues with prop types that were causing errors to be logged during tests 2020-10-20 10:59:39 -04:00
mabashian 7a9b55c21b Replace SETTINGS > SYSTEM with SETTINGS > SYSTEM to get around issue with translating this string 2020-10-20 10:31:30 -04:00
mabashian 851c802ea8 Remove mathjs as a dependency 2020-10-14 12:18:51 -04:00
mabashian 1d65b8cd53 Upgrade angular to 1.8.1 2020-10-14 11:16:51 -04:00
mabashian e13b16bf1c Add erroneously removed exhaustive dep comment 2020-09-29 15:42:11 -04:00
mabashian ae1d27255b Add delete error handling on inventory detail view 2020-09-29 15:05:35 -04:00
mabashian f672cee3a0 Reset error/result only after the next request has resolved to prevent render flicking 2020-09-29 13:11:06 -04:00
mabashian 3f1434f0f5 Only attempt to display sting error messages in ErrorDetail 2020-09-29 09:59:39 -04:00
mabashian 6942b4d5b6 Change deleteTeams to deleteInventories 2020-09-29 09:29:18 -04:00
mabashian 10110643ed Flatten out decision tree when an inventory websocket message is processed 2020-09-29 09:09:52 -04:00
mabashian 40e4ba43ef Copy the query params so that we don't add id__in to them. This fixes a bug where a newly copied row would not show up on the list if a websocket message for an inventory source sync had come through beforehand because id__in had been added to the query params. 2020-09-29 09:09:52 -04:00
mabashian 6681ffa8df Add default module_name to adhoc details step test to get rid of logged console error 2020-09-29 09:09:52 -04:00
mabashian d84615f64b Rename onLoading/onDoneLoading props to onCopyStart and onCopyFinish. Wrap the functions being passed in as those props in useCallback to keep them hooks safe. 2020-09-29 09:09:52 -04:00
mabashian 4b566e9388 Adds support for pending deletion on inventory list 2020-09-29 09:09:52 -04:00
mabashian 56ed2c6afa Autopopulate credential on container group form and organization on notification template form 2020-09-24 17:26:33 -04:00
mabashian 24a4236232 Wrap onChange functions passed to lookups in useCallback since these functions are eventually passed to a hook and used in a dependency array. 2020-09-24 17:07:58 -04:00
mabashian b714a0dc7e Fix padding on field labels with prompt on launch checkboxes 2020-09-23 15:27:31 -04:00
mabashian 10ae6c9042 Cleans up console error thrown from this test. Also fixed the last test as it wasn't actually testing the desired behavior. 2020-09-21 13:24:23 -04:00
mabashian 8bee409a4a Auto populate various required lookups on various forms 2020-09-21 13:24:23 -04:00
mabashian ad1c4b1586 Add unique ID to cred field external plugin button(s) 2020-09-11 14:17:35 -04:00
mabashian 68426daaff Fix residual error from merge conflict 2020-09-11 10:50:27 -04:00
mabashian d654af77cf Moves cred plugin test button down into wizard footer 2020-09-11 10:50:27 -04:00
mabashian 5cfca7896f Adds proptypes to CredentialPluginTestAlert component 2020-09-11 10:50:27 -04:00
mabashian 9f8691dbea Add the credential id and metadata from the form to the dependency array of useCallback when testing cred plugin configuration. This allows us to remove the variables passed in to the request. 2020-09-11 10:50:27 -04:00
mabashian 62054bbfc8 Pulls CredentialPlugins out of CredentialFormFields and into the root of the shared dir 2020-09-11 10:50:27 -04:00
mabashian aed96de195 Fix merge conflict 2020-09-11 10:50:27 -04:00
mabashian 67f46b4d7e Hook up Test button on Metadata step in credential plugin wizard 2020-09-11 10:50:27 -04:00
mabashian 8fab4559b9 Add data-job-status attr to all StatusIcons so that automated tests can determine whether or not a status has been updated via websockets. 2020-09-11 09:27:44 -04:00
mabashian 45ca9976f3 Fix merge conflict error 2020-09-11 09:17:42 -04:00
mabashian 5b56bda0bb Fix tests after changing node data structure 2020-09-11 09:17:42 -04:00
mabashian c318a17590 Refresh nodes after workflow has finished running so that we can display all job info for relevant nodes. 2020-09-11 09:17:42 -04:00
mabashian e28c9bb3c4 Remove unnecessary constant variable 2020-09-11 09:17:42 -04:00
mabashian c209c98e3f Update job for job detail/workflow details based on websockets. Re-fetch job after job finishes running to display all available info. 2020-09-11 09:17:42 -04:00
mabashian af77116f1e Convert Job.jsx to functional component in preparation for socket hook usage 2020-09-11 09:17:42 -04:00
mabashian 328e503f5b Update workflow node job status based on websocket messages 2020-09-11 09:17:42 -04:00
mabashian 5d4ef86db7 Rename inv/inv source ws functions 2020-09-11 09:17:42 -04:00
mabashian 3e99e94b8c Redirect user to visualizer page after successful workflow creation 2020-09-11 09:17:42 -04:00
mabashian 130a43f5c4 Simplify kebab modal open logic 2020-09-10 15:32:30 -04:00
mabashian 0fc6affe85 Refactor kebab modal tracking logic in delete/cancel buttons 2020-09-10 15:32:29 -04:00
mabashian c8a07309ee Fix typo 2020-09-10 15:32:29 -04:00
mabashian 2b60759edc Fix bug where delete/cancel buttons in kebab would not actually make delete/cancel requests 2020-09-10 15:32:29 -04:00
mabashian 225f57fefd Remove use of i18n.plural in favor of low level i18n._. 2020-09-10 15:32:29 -04:00
mabashian bae10718d5 Remove RelatedAPI model in favor of JobsAPI. Adds cancel method to JobsAPI and uses that on the jobs list. 2020-09-10 15:32:29 -04:00
mabashian f27b541396 Adds cancel button to jobs list toolbar 2020-09-10 15:32:29 -04:00
mabashian 6889128571 Peel axios instantiation out into it's own file so that it can be used in the RelatedAPI model 2020-09-10 15:32:29 -04:00
mabashian 19886f7ec3 Hide edit button on workflow node details view for users that don't have the ability to edit the workflow 2020-09-09 09:44:09 -04:00
mabashian 945dfbb648 Fixes some rbac issues in the workflow toolbar and start screen. Add/edit-related buttons should be hidden for users that cannot edit the workflow. 2020-09-09 09:07:46 -04:00
mabashian e830da97f3 Fix broken credential form tests after id change 2020-09-04 15:49:11 -07:00
mabashian 77c211dabe Adds id's to credential form buttons 2020-09-04 11:22:34 -04:00
mabashian e5f9ed827b Undo commenting out of strictmode 2020-09-04 09:20:09 -04:00
mabashian 2d2108b1de Support file upload/drag and drop on credential mutliline fields 2020-09-04 09:20:09 -04:00
mabashian 895010c675 Pre-populate organization galaxy credential field with the default galaxy credential 2020-09-01 13:45:03 -04:00
mabashian 458807c0c7 Add a Galaxy Credential multi-select field to the Organizations form 2020-09-01 13:45:03 -04:00
mabashian 9d511a4c04 Fix id on credential select fields 2020-08-28 17:02:25 -04:00
mabashian ae4f1a15d3 Add ID's to the buttons in the external test modal for cred form 2020-08-28 15:43:44 -04:00
mabashian e93aa34864 Adds support for a Test button on the credential form when the credential type is 'external' 2020-08-28 15:43:44 -04:00
mabashian 73d21a01cb Adds visualizer button to workflow template rows on templates list 2020-08-26 17:03:48 -04:00
mabashian c731e4282b Use low level i18n._ instead of i18n.plural for plurals on the schedule form. This fixes a bug where the page would crash on static builds when a frequency was selected. 2020-08-26 13:18:07 -04:00
mabashian 8fac722b10 Fixes bug where users were unable to turn webhooks off when editing job templates/workflow job templates 2020-08-25 16:02:55 -04:00
mabashian 80fe98b8d6 Fix npm audit warnings 2020-08-21 09:20:29 -04:00
mabashian 222a65c875 Adds extra variables to schedule details. Updates parameters by which we display prompt fields on schedule details. Extend VariableDetails component to be able to handle values that come in raw JSON form. 2020-08-20 14:29:24 -04:00
mabashian daeb5a8de8 Only disable single notification row when toggling, not all rows 2020-08-20 14:24:05 -04:00
mabashian 681b765b9a Adds support for toggling approval notifications on orgs and wfjts 2020-08-20 13:36:32 -04:00
mabashian c0cb1dee91 Adds workflow detail tab to workflow results 2020-08-19 13:55:42 -04:00
mabashian 1e9a71a2e4 Run prettier 2020-08-13 11:55:57 -04:00
mabashian 98b7f3b618 Support workflow prompting on launch 2020-08-13 11:36:58 -04:00
mabashian 4a3e4af0d9 Updated import/export names for consistency 2020-08-04 15:29:59 -04:00
mabashian b145f97e0e Handle form submission errors that may be deeply nested in the return object 2020-08-04 14:30:42 -04:00
mabashian 4ce2235f68 Fix rbac on Add button on User Access/Team Roles lists 2020-08-04 08:49:51 -04:00
mabashian 460ce7fcfa Updates OrganizationLookup to use useRequest 2020-07-31 12:01:55 -04:00
mabashian d8af8baae3 Converts NotificationList to functional component and now uses useRequest 2020-07-31 10:49:27 -04:00
mabashian dcaab9bc8b Converts ResourceAccessList to functional component 2020-07-30 10:10:56 -04:00
mabashian ccecd90015 Convert InventoryGroupsList to use useRequest and useSelected hooks 2020-07-29 15:07:06 -04:00
mabashian b35aa1ac83 Converts OrganizationTeamList to use useRequest in preparation for advanced search 2020-07-29 13:12:10 -04:00
mabashian 98e44de7a1 Update capitalization to match PF guidelines 2020-07-29 11:45:58 -04:00
mabashian b11f2f017f Update capitalization to match PF guidelines 2020-07-29 11:44:17 -04:00
mabashian 9d8a177c75 Update capitalization to match PF guidelines 2020-07-29 11:43:28 -04:00
mabashian 7d8963388f Update capitalization to match PF guidelines 2020-07-29 11:41:16 -04:00
mabashian 3e0d0ec62d Update capitalization to match PF guidelines 2020-07-29 11:39:32 -04:00
mabashian a34953cd6c Update list to use useSelected, useRequest, useDeleteItems hooks 2020-07-29 11:32:08 -04:00
mabashian 48b29352d7 Converts InventorySourcesList to use useRequest in preparation for advanced search 2020-07-29 10:08:45 -04:00
mabashian 8addc6bb59 Converts JobTemplatesList to use useRequest in preparation for advanced search 2020-07-29 09:48:54 -04:00
mabashian e343c9698d Converts ProjectsList to use useRequest in preparation for advanced search 2020-07-29 09:09:27 -04:00
mabashian bc02321689 Adopt useSelected 2020-07-29 08:45:06 -04:00
mabashian 2409bc5ee3 Converts WorkflowJobTemplatesList to use useRequest in preparation for advanced search 2020-07-28 17:13:56 -04:00
mabashian f775ed3f77 Converts UserList to functional component 2020-07-28 16:22:51 -04:00
mabashian 721c8d98f8 Prevents debug messages from being logged while tests are running 2020-07-28 13:13:00 -04:00
mabashian 8b2c98ffde Fixes console errors thrown about React state updates being be wrapped into act(...) on the job template add form 2020-07-28 12:08:40 -04:00
mabashian 1faaba4e6c Fixes console errors thrown about React state updates being be wrapped into act(...) on the inventory form 2020-07-28 12:05:02 -04:00