Commit Graph
100 Commits
Author SHA1 Message Date
Keith Grant 13e6757666 add ids to CodeMirror FormGroup containers 2020-09-08 10:17:18 -07:00
Keith Grant 40d3e4ee8b handle error string in FormSubmitError 2020-09-04 16:24:09 -07:00
Keith Grant 9711c33675 fix multiple notification form bugs 2020-09-04 15:50:04 -07:00
Keith Grant b119bc475f convert http headers field to string for codemirror 2020-09-04 15:50:04 -07:00
Keith Grant 055abd57cd fix new test from rebase 2020-09-04 15:50:04 -07:00
Keith Grant 95c4b6c922 trying to force tests to re-run 2020-09-04 15:50:04 -07:00
Keith Grant 7ab9d899e4 mark text for translation 2020-09-04 15:49:11 -07:00
Keith Grant c700d07a0a fix lint error 2020-09-04 15:49:11 -07:00
Keith Grant 4a616d9f81 ensure notification template re-loads after saving 2020-09-04 15:49:11 -07:00
Keith Grant 43ac5a0574 add some notification form tests; notification add screen 2020-09-04 15:49:11 -07:00
Keith Grant 9bb834a422 create ArrayTextField component 2020-09-04 15:49:11 -07:00
Keith Grant 458d29a579 only submit customized notification messages if changed 2020-09-04 15:49:11 -07:00
Keith Grant 19fc0d9a96 reset notification messages to defaults when switching to new type 2020-09-04 15:49:11 -07:00
Keith Grant ba95775ded add custom notification messages subform 2020-09-04 15:49:11 -07:00
Keith Grant bb12e0a3a9 fix initial values for notification type fields 2020-09-04 15:49:10 -07:00
Keith Grant 09178dd5f2 flush out notification form and type subform 2020-09-04 15:49:10 -07:00
Keith Grant d27d4e4f28 workaround import/dependency bug in tests 2020-08-11 10:36:42 -07:00
Keith Grant 65d4c347c9 add ObjectDetails for HTTP Headers display 2020-08-11 09:36:11 -07:00
Keith Grant 4c555815b3 add notification list tests 2020-08-11 09:36:11 -07:00
Keith Grant 8bb1c985c0 send test notifications 2020-08-11 09:36:11 -07:00
Keith Grant 1405f6ca51 add notification status indicator 2020-08-11 09:36:10 -07:00
Keith Grant a9451c9864 more template details; add template delete button 2020-08-11 09:36:10 -07:00
Keith Grant ab4628b199 flush out template detail 2020-08-11 09:36:10 -07:00
Keith Grant 182dce3dc3 flushing out notification template detail 2020-08-11 09:36:10 -07:00
Keith Grant fbd1147cff start notification template list 2020-08-11 09:36:10 -07:00
Keith Grant f1e3b4f4f0 add useWsInventorySources tests 2020-07-14 14:29:24 -07:00
Keith Grant 4fca57dfd2 add ws support to inventory sources list 2020-07-14 11:43:59 -07:00
Keith Grant 350c585499 update useWsTemplates to use useWebsocket hook 2020-07-13 13:32:13 -07:00
Keith Grant b76783791a add useWsTemplates tests 2020-07-13 13:27:38 -07:00
Keith Grant 981c9527b2 add template list websocket support 2020-07-13 13:27:38 -07:00
Keith Grant 38e0968690 useWsInventories cleanup 2020-07-10 08:33:35 -07:00
Keith Grant f225df1acd add useWsInventories tests 2020-07-09 14:12:56 -07:00
Keith Grant 455e018099 refactor shared WS logic into useWebsocket hook 2020-07-09 10:14:03 -07:00
Keith Grant 84bea3d348 websockets: show live inventory source sync status 2020-07-08 15:20:42 -07:00
Keith Grant 15ae0976dd add sync status indicator to inventory list 2020-07-07 16:37:08 -07:00
Keith Grant 2e3e1be22a add useWsProjects tests 2020-07-02 15:42:51 -07:00
Keith Grant 803ea322d6 update path to useThrottle in tests 2020-07-02 10:51:57 -07:00
Keith Grant 9657117941 add ProjectList websocket support 2020-07-02 09:29:56 -07:00
Keith Grant bdb97c173b move useThrottle to utils 2020-07-01 15:52:06 -07:00
Keith Grant 5304792949 update useWsJobs tests 2020-06-29 13:49:58 -07:00
Keith Grant a3e0ae66ba clean up sorting order discrepancies 2020-06-29 13:49:58 -07:00
Keith Grant 9705f7bec6 sort jobs list by selection sort option 2020-06-29 13:49:58 -07:00
Keith Grant 5610309a88 fix sorting jobs by finished date 2020-06-29 13:49:58 -07:00
Keith Grant 25fe090e67 delete un-workable test for useThrottle 2020-06-29 13:49:58 -07:00
Keith Grant a1f257bd4a fix joblist updating completed jobs lists 2020-06-29 13:49:58 -07:00
Keith Grant 638a6fdaa1 remove extra logging from JobList tests 2020-06-29 13:49:58 -07:00
Keith Grant b4a6749699 refactor getJobsById into useWsJobs hook 2020-06-29 13:49:58 -07:00
Keith Grant e50576c820 failed attempt at useThrottle tests 2020-06-29 13:49:58 -07:00
Keith Grant 0bedd6fbd8 mock websockets; test useWsJobs 2020-06-29 13:49:58 -07:00
Keith Grant 48977e50df change jobs debounce to throttle; prevent duplicate rows 2020-06-29 13:49:58 -07:00
Keith Grant 7aa8495d1a debounce fetching of individual jobs 2020-06-29 13:49:58 -07:00
Keith Grant 58b954df3e fetch individual jobs based on websocket messages 2020-06-29 13:49:58 -07:00
Keith Grant 38079b2ad5 don’t add still running jobs to some jobs lists 2020-06-29 13:49:58 -07:00
Keith Grant b055d34139 update jobs in list based on websockets 2020-06-29 13:49:58 -07:00
Keith Grant f2641de260 rough out jobs list websockets 2020-06-29 13:49:58 -07:00
Keith Grant aa12e323b4 ignore .env.local file 2020-06-29 13:49:58 -07:00
Keith Grant 8cdb05e4a2 add org name to user team search columns 2020-06-02 09:13:42 -07:00
Keith Grant 455cd74492 fix tests 2020-06-02 08:46:37 -07:00
Keith Grant e57bd88bd2 add Lookup test for disabled isLoading state 2020-06-02 08:46:37 -07:00
Keith Grant af118fec99 Disable field inputs while fetching data
In the JT form, disable the Lookup and Select box fields for any
fields that need to fetch data, until data fetching is complete
2020-06-02 08:46:37 -07:00
Keith Grant fe7df910e2 add tests for preview step extra vars 2020-05-27 11:29:44 -07:00
Keith Grant 5eeb8b0337 fix extra_vars when not prompted during launch 2020-05-27 11:15:41 -07:00
Keith Grant 75fd703530 add UserTeamList tests 2020-05-22 11:05:32 -07:00
Keith Grant 1bb29ec5f7 add user teams list 2020-05-21 16:24:11 -07:00
Keith Grant 455dfa6caa make Inventory optional if prompt-on-launch is true 2020-05-20 09:19:37 -07:00
Keith Grant 3c77e5b005 fix import 2020-05-13 14:13:55 -07:00
Keith Grant aa28909313 add PreviewStep tests 2020-05-13 13:08:10 -07:00
Keith Grant e532f4c0c5 fix launch prompt errors when no survey present 2020-05-13 13:08:10 -07:00
Keith Grant 90f6d4ed05 fix merging of survey values into extra_vars 2020-05-12 10:23:25 -07:00
Keith Grant 70a9a72c25 fix promptdetail test 2020-05-12 10:14:46 -07:00
Keith Grant e3a3a47229 delete unused file 2020-05-11 15:51:35 -07:00
Keith Grant dfecd4ad9d fix tests 2020-05-11 11:17:09 -07:00
Keith Grant 0b207e02ab set fields touched when steps marked as visited 2020-05-11 11:17:09 -07:00
Keith Grant 59e3306a3c merge survey fields into rest of jt promt form 2020-05-11 11:17:09 -07:00
Keith Grant da8f486c5d flush out prompt validation errors 2020-05-11 11:17:09 -07:00
Keith Grant 1ac92b0493 add rough jt launch prompt validation 2020-05-11 11:17:09 -07:00
Keith Grant 11752e123d converting prompt steps to hook-based approach 2020-05-11 11:17:09 -07:00
Keith Grant 5c2eebf692 working on prompts validation 2020-05-11 11:17:09 -07:00
Keith Grant 9b3b20c96b mask passwords in launch preview step 2020-05-11 11:17:09 -07:00
Keith Grant 91d4948564 use PromptDetail in launch prompt preview 2020-05-11 11:17:09 -07:00
Keith Grant 1940c834cb fix empty CodeMirror bug in modals 2020-04-20 16:21:59 -07:00
Keith Grant 08381577f5 Merge prompt extra_vars before POSTing
* Merge the extra_vars field with survey question responses before sending
to API
* Clean up select and multi-select survey fields
2020-04-20 16:21:48 -07:00
Keith Grant 669d67b8fb flush out validators, survey questions 2020-04-20 16:21:39 -07:00
Keith Grant 8a0be5b111 add survey questions 2020-04-20 16:21:31 -07:00
Keith Grant 7827a2aedd fix double-fetch of cred types in launch prompts 2020-04-09 16:07:06 -07:00
Keith Grant af18aa8456 restructure 'if's in LaunchPrompt 2020-04-09 08:58:12 -07:00
Keith Grant 6f76b15d92 fix LaunchButton tests 2020-04-08 15:36:45 -07:00
Keith Grant 42898b94e2 add more prompt tests 2020-04-08 11:48:11 -07:00
Keith Grant 9cab5a5046 add 'other prompt' fields to launch API call 2020-04-08 08:58:14 -07:00
Keith Grant 9c218fa5f5 flush out prompt misc fields 2020-04-07 09:41:45 -07:00
Keith Grant 8baa9d8458 clean up launch prompt credentials, display errors 2020-04-03 11:47:06 -07:00
Keith Grant 0b9c5c410a add credential select list to launch CredentialsStep 2020-04-02 16:29:40 -07:00
Keith Grant 0a00a3104a add CredentialTypesAPI.loadAllTypes helper function 2020-04-02 13:55:30 -07:00
Keith Grant 7710ad2e57 move OptionsList to components; add launch prompt tests 2020-03-31 13:59:14 -07:00
Keith Grant 4f51c1d2c9 fix LaunchButton tests 2020-03-31 10:09:33 -07:00
Keith Grant e60e6c7d08 pass prompted params through to launch API request 2020-03-30 14:39:16 -07:00
Keith Grant 55356ebb51 set default values on prompts 2020-03-30 14:37:07 -07:00
Keith Grant 7f4bbbe5c5 add launch prompt inventory step 2020-03-30 14:37:07 -07:00
Keith Grant 49b1ce6e8c add skeleton of launch prompt wizard 2020-03-30 14:37:07 -07:00
Keith Grant 56d31fec77 handle any errors thrown in survey handleSubmit 2020-03-20 10:55:07 -07:00