Commit Graph
100 Commits
Author SHA1 Message Date
kialam 728fb1aaef Fix hidden relaunch dropdown in new lists. 2019-02-20 10:05:21 -05:00
kialam 2596ad26b9 Make compact rows responsive. 2019-02-20 09:35:22 -05:00
kialam 099a82fdf8 Fix expanded view not persisting when a user copies a project. 2019-02-12 15:24:17 -05:00
kialam fcba02cd86 Linter fix. 2019-02-08 14:52:15 -07:00
kialam 28a29293c7 Check for empty object rather than string value. 2019-02-08 14:31:06 -07:00
kialam 76a16b329e Conditionally show the Artifacts field. 2019-02-07 08:59:44 -07:00
kialam c114243082 Add artifacts as a subscriber to job details status service.
- This will emerge the artifacts field values if they become available to the UI from the API once a job has completed successfully.
2019-02-07 07:59:45 -07:00
kialam dc7ec9dfe0 Adjust WF results to account for codemirror changes. 2019-02-06 12:11:15 -07:00
kialam 07aae8cefc Add Artifacts CodeMirror field to job details. 2019-02-06 10:52:18 -07:00
Kia Lam 6f9cf6a649 Fix expanded view not persisting when a user copies a JT/WF. 2019-01-30 13:23:21 -05:00
Kia Lam c1b48e2c9c Some sidebar nav fixes.
- Set isExpanded state to false when window width is < 700px.
- Set `pointer-events` to `none` for logo to allow users to easily click on hamburger icon.
2019-01-28 13:25:44 -05:00
Kia Lam 5421c243d7 Add expand/collapse toolbar to Projects List.
Add some responsive styling.
2019-01-25 10:31:38 -05:00
Kia Lam 9a10811366 Add expand/collapse toolbar for Job Templates list. 2019-01-24 13:50:32 -05:00
Kia Lam ebc2b821be Only show toolbar if the job list is not empty. 2019-01-24 10:44:58 -05:00
Kia Lam 85a875bbfe Styling changes. 2019-01-24 10:44:58 -05:00
Kia Lam a9663c2900 Add expand/collapse toolbar to Jobs List view. 2019-01-24 10:44:58 -05:00
Kia Lam 05c24df9e3 Add list toolbar component. 2019-01-24 10:44:58 -05:00
kialam 2a62e300a2 UI update to check recent job type for routing to detail pages. 2018-12-04 11:19:25 -05:00
kialam afa7c2d69f Update unit tests. 2018-11-30 13:58:13 -05:00
kialam 473ce95c86 Fix failing unit tests. 2018-11-30 12:16:28 -05:00
kialam 3e1e068013 Add boundary checks for getReadyCount method. 2018-11-30 12:03:26 -05:00
kialam 746a154f2b Address missing job events.
- Fix off by one error.
- Add unit tests for Stream Service.
2018-11-30 11:23:15 -05:00
kialam 22802e7a64 Update README to include needed npm version. 2018-11-28 10:43:53 -05:00
kialam 362a3753d0 Remove 'angular-md5' from our dependencies. 2018-11-28 10:43:53 -05:00
kialam 71ee9d28b9 Add link to original gist and rename file. 2018-11-28 10:43:53 -05:00
kialam d8d89d253d Remove instances of "md5" from the UI. 2018-11-28 10:43:53 -05:00
kialam 8c5a94fa64 Update readme to include saving exact dependencies using npm. 2018-11-21 13:35:56 -05:00
kialam f3344e9816 Fix failing tests. 2018-11-20 18:35:29 -05:00
kialam e099fc58c7 Add precheck script. 2018-11-20 11:48:25 -05:00
kialam 435ab4ad67 Handle any relaunch errors. 2018-11-20 11:25:36 -05:00
kialam a9fe1ad9c1 Start Date begins 1 day ahead. 2018-11-19 16:20:46 -05:00
kialam f1b5bbb1f6 Add websocket listener to Org > JT list view. 2018-11-19 11:46:07 -05:00
kialam 95e94a8ab5 Some styling changes; fix Server dropdown.
- Left align first dropdown on Github and LDAP tabs.
- Add border to give some whitespace
2018-11-15 20:46:34 -05:00
kialam ea35d9713a Fix empty dropdowns for both LDAP and TACACS tabs. 2018-11-15 20:46:34 -05:00
kialam 729256c3d1 Fix DETAILS link in WF viz not working until after job has ran
- Make additional GET request if we need it in order to surface the job type so that we can properly redirect the user to the detail page.
2018-11-08 13:23:32 -05:00
kialam 32bd8b6473 Fix Dashboard hover-over action so it shows the correct info.
- Refactor our Dashboard directive to display the dashboard graph's x-axis according to the new changes in NVD3 v1.8.1. See https://github.com/nvd3-community/nvd3/blob/gh-pages/examples/lineChart.html for reference.
2018-11-08 09:15:54 -05:00
kialam 2d286c5f68 Redirect to WF Details page after prompt for slice JT. 2018-10-31 11:04:14 -04:00
kialam a7028df828 Fix one failing unit test. 2018-10-31 11:04:13 -04:00
kialam a59017ceef Fix eslint errors. 2018-10-31 11:04:13 -04:00
kialam f72fca5fcf Fix unit tests after "slice" rename.
- Update Jobs List unit tests with new schema and test cases.
- Update Job Details unit tests with new schema and test cases.
- Test both for expected behavior when handling a regular non-sliced job.
2018-10-31 11:04:13 -04:00
kialam 21aeda0f45 Add unit tests for Job Details
- Test `getSplitJobDetails` method.
- Fix failing tests.
- Rename unit tests.
2018-10-31 11:04:12 -04:00
kialam 65a0e5ed45 Fix failing tests. 2018-10-31 11:04:12 -04:00
kialam 571e34bf79 Begin adding unit tests for split jobs
- Test split job tag method within Jobs List Controller.
2018-10-31 11:04:12 -04:00
kialam 47711bc007 add package-lock.json to gitignore 2018-10-31 11:04:11 -04:00
kialam 04eec61387 Redirect to WF details page when a Split Job is launched 2018-10-31 11:04:11 -04:00
kialam ef4a2cbebb Add Job Splitting feature to UI 2018-10-31 11:04:11 -04:00
kialam 9e7808f2c9 Restore Date Picker field in Scheduler template. 2018-10-24 14:29:46 -04:00
kialam 19f9a3f918 Merge pull request #2970 from kialam/fix/2969-empty-stdout
Detect if `stdout` field is null or undefined.
2018-09-04 14:11:44 -04:00
kialam 146590d0c2 Detect if stdout field is null or undefined. 2018-09-04 11:05:13 -04:00
kialam 8280aff612 Merge pull request #2909 from kialam/fix/2836-part2
Fix Job Detail Stats Panel Title and Badge Whitespace with CSS modifier
2018-08-23 12:41:18 -04:00
kialam c67e9143fb Contain margins for stats panel with modifier
- Create CSS `—inline` modifier so that other areas where
`at-Panel-headingTitleBadge` are not affected.
2018-08-22 11:51:27 -04:00
kialam 4119c1dd0b Adjust title and badge spacing on job output stats section. 2018-08-21 10:51:31 -04:00
kialam 42f01b7f05 Use latest version of nvd3 instead
- Replace forked version in favor of latest version from NOVUS.
2018-08-13 14:49:25 -04:00
kialam 6cf1fb3c10 Update node and nom to LTS version 2018-08-13 14:46:00 -04:00
kialam 49222d5e72 Merge pull request #2821 from kialam/fix/2797
Fix missing Prompt button for Extra Vars in WF Visualizer
2018-08-10 11:06:43 -07:00
kialam 686e5ac545 Handle extra vars case for "Prompt" button in WF visualizer. 2018-08-10 13:33:43 -04:00
kialam 4800b4455f Merge pull request #2753 from kialam/fix/1475-long-label-error
Client-side validation of Label field in Job Template form
2018-08-06 13:54:49 -04:00
kialam 64caeeff36 Restore missing API form errors for selects. 2018-08-06 13:27:59 -04:00
kialam b0586cc197 Remove unused CSS. 2018-08-06 12:26:43 -04:00
kialam 6e49c25cfd Adjust error message copy. 2018-08-06 12:24:05 -04:00
kialam efc8991aa8 Move error message to underneath form field for consistent UI. 2018-08-06 11:48:18 -04:00
kialam 0fb98642d4 Only show the character limit if the user exceeds it 2018-08-06 11:48:18 -04:00
kialam 7207d7caf4 Validate JT add and edit forms client-side
- Use form generator to add new `helperText` field to show the
character limit next to the label in the UI
- Style helper text like the checkbox text
- Update both `add` and `edit` controllers to handle client-side
validation for the `labels` field.
2018-08-06 11:48:18 -04:00
kialam 21c364d14c Adjust edit template controller to handle deferred promise errors 2018-08-06 11:48:18 -04:00
kialam 9e164b41a6 Shrink-wrap dev dependencies as well 2018-07-25 11:46:13 -04:00
kialam a04d3f817a Merge pull request #2615 from kialam/fix/1444-fix-auto-close-modal
Fix prompt modal closing prematurely on JT list page
2018-07-20 11:47:00 -04:00
kialam eabdda92b3 Show "working" message before view refresh 2018-07-20 10:52:52 -04:00
kialam c893e467c5 Send emit message sooner from prompt controller 2018-07-19 14:30:45 -04:00
kialam ac01eab0f1 Merge pull request #2525 from kialam/fix/1067-workflow-status-pending
Update labels and tooltips whenever the websocket emits status change
2018-07-16 10:36:09 -04:00
kialam 90ad104391 Update labels and tooltips whenever the websocket emits status change
Since the translated workflow status copy is a result of a function; it
does not auto-update when `workflow.status` is updated. We should call
it whenever the web socket lets us know that a job status has changed.
2018-07-16 09:50:36 -04:00
kialam bf0469faad Merge pull request #2470 from kialam/fix/2388-fix-activity-stream
Adjust `schedule` route params for activity stream functionality
2018-07-10 13:23:43 -04:00
kialam fe16579f88 Adjust schedule route params for activity stream functionality 2018-07-10 11:41:04 -04:00
kialam 9c653cb603 Merge pull request #2455 from kialam/fix/2193-workflow-status
Account for canceled workflow status in chart and results section
2018-07-09 16:58:44 -04:00
kialam 5a338c5f9b Account for canceled workflow status in chart and results section 2018-07-09 13:34:52 -04:00
kialam 1feb81f20c Merge pull request #2402 from kialam/fix/2308-network-ui-device
Update the canvas element’s scale factor upon initialization.
2018-07-03 15:24:42 -04:00
kialam 26360f8852 Update the canvas element’s scale factor upon initialization.
And fix initial value of `$scope.current_scale`.
2018-07-03 15:03:09 -04:00
kialam 404fdb474c Merge pull request #2130 from kialam/fix/2106-job-view-pagination
Broadcast `updateDataset` for job template controller
2018-06-12 15:06:06 -04:00
kialam 9ef301f25a Broadcast updateDataset for job template controller
So it knows to call the `refreshJobs ()` method and update the model
accordingly.
2018-06-11 17:43:13 -04:00
kialam 4391f14da9 Merge pull request #2097 from kialam/fix/2028-session-timeout
Fix placement of network ui `select2` dropdowns
2018-06-07 14:47:59 -04:00
kialam 1b45e8b825 Merge pull request #2034 from kialam/fix/1884-scm-creds-filter
Fix Project SCM cred lookup
2018-06-07 14:15:20 -04:00
kialam 7ecef3ee5e Fix placement of network ui select2 dropdowns
Render them in the correct parent container in the DOM.
2018-06-07 13:50:04 -04:00
kialam 6fee8c699d Fix SCM credential list for Projects add and edit views 2018-06-07 11:44:08 -04:00
kialam b344eb9af0 Fix failing test by only preserving credential_type
- Reset `defaults` object’s own `credential_type` value to that of
`queryset`’s.
2018-06-07 11:44:07 -04:00
kialam 99ea28c3fd Check defaults against query set to make sure credential_type does not get overwritten
- We want to preserve the existing `credential_type` param that already
exists in `queryset` and not have `defaults
` overwrite it. We first loop through the `defaults` object keys and
check it against the the keys of `queryset` and if the keys match, then
set the value to `queryset[key]`.
2018-06-07 11:44:07 -04:00
kialam cc1cd38ddd Merge pull request #2009 from kialam/fix/1063-multiple-creds-tags
View More Component with Credential Tags in Template List View
2018-06-06 16:06:13 -04:00
kialam d6ca943d23 Remove TagService 2018-06-06 11:17:09 -04:00
kialam b16854898b Refactor Toggle Tag Component
This refactor includes the following things:
- Offload credential tag formatting to the parent controller, e.g.
`TemplateListController`.
- Initialize the `Toggle Tag` component in the parent view instead of
the List Item component view.
- Rename some variables for better comprehension.
2018-06-06 11:17:09 -04:00
kialam 6ca4c7de9d Offload tag formatting logic to templateList controller 2018-06-06 11:17:09 -04:00
kialam b8404abb26 Rename credential tooltip component string
- For better legibility
2018-06-06 11:17:09 -04:00
kialam 2ee361db5d Rename toggle component to toggle-tag for better clarity. 2018-06-06 11:17:09 -04:00
kialam 22ddf7883a Adjust template to account for more than one tag type. 2018-06-06 11:17:09 -04:00
kialam cc91729f72 Account for default tags as well 2018-06-06 11:17:09 -04:00
kialam 8373d89c92 Duplicate ns.tooltips CREDENTIALS string to ComponentStrings to avoid using OutputStrings 2018-06-06 11:17:08 -04:00
kialam e66b00eb64 Translate VIEW MORE and VIEW LESS into component strings 2018-06-06 11:17:08 -04:00
kialam 265554accb Add link to credentials tag in template 2018-06-06 11:17:08 -04:00
kialam f49b61ecfa Create TagService
This new Service can be used anywhere that needs a credentials tag and
can be expanded upon to include other helpful tag methods as needed.
2018-06-06 11:17:08 -04:00
kialam 62f4beddb2 Reduce height of tags in job list page 2018-06-06 11:17:08 -04:00
kialam 63f3a38ceb Add more functionality to Toggle Tag Component
- Remove existing `switch` logic in favor of Toggle Tag Component, now
with comments!

- Slight adjustment to icons to center vertically; account for
non-standard credential `kind` attributes so icons display as they
should.

- Style the `View More/Less` button accordingly

- Update Toggle Tag directive template to include icons
2018-06-06 11:17:08 -04:00
kialam de6167a52c Create basic toggle tag component 2018-06-06 11:17:08 -04:00
kialam 8acb57f43a Merge pull request #1954 from kialam/fix/1880-tag-component
Create Tag Component for Job Search
2018-05-25 13:45:09 -04:00