Commit Graph
100 Commits
Author SHA1 Message Date
Jake McDermott 3b597cd80a Delete portal mode 2020-07-28 20:27:25 -04:00
Jake McDermott 2992a5f5a4 Check node version before build or install 2020-07-20 09:13:43 -04:00
Jake McDermott bf74aae80e Use summary job_type on host list 2020-07-16 14:10:55 -04:00
Jake McDermott 6f43462689 Improve nav behavior
* Use more selective route matching when determining if a nav item is
active

* Don't automatically collapse nav groups when user navigates to a
different group
2020-07-15 12:46:08 -04:00
Jake McDermott d1a4f010b9 Show grant and client type validation errors 2020-07-15 12:05:51 -04:00
Jake McDermott e89326dbf2 Fix vulnerable 2nd order dependency 2020-07-14 14:42:46 -04:00
Jake McDermott 2737cded72 Merge pull request #4442 from jakemcdermott/fix-4440
[3.7.2] Include instance_id in host edit request
2020-07-10 09:43:50 -04:00
Jake McDermott 4f2ce90137 Include instance_id in host edit request 2020-07-10 09:39:54 -04:00
Jake McDermott ddbe20d41b Include instance_id in host edit request 2020-07-09 11:27:45 -04:00
Jake McDermott bd624508e3 Update to ansible/angular-scheduler#v0.4.4 2020-07-07 15:04:07 -04:00
Jake McDermott 05799d9795 Avoid non-unique field name collisions
Custom credentials can have input fields named 'name', 'organization',
'description', etc. Underscore these variables to make collisions
less likely to occur.
2020-07-06 14:08:53 -04:00
Jake McDermott ea4b435ea7 Ignore required field validation for booleans 2020-07-06 14:08:46 -04:00
Jake McDermott a89eff3c1a Remove self-closing tags
jquery doesn't like self-closing tags. jquery doesn't like anything.
2020-07-06 09:34:50 -04:00
Jake McDermott e962933148 Delete node_modules in project root 2020-07-01 10:51:29 -04:00
Jake McDermott 7bac7abd67 Fix variable names 2020-06-30 12:34:14 -04:00
Jake McDermott b4198204a7 Add install step 2020-06-30 10:10:52 -04:00
Jake McDermott 86c1f4d772 Co-locate deps in file 2020-06-30 08:58:37 -04:00
Jake McDermott e10fb71f93 Move react-scripts to dev dependencies 2020-06-30 08:58:32 -04:00
Jake McDermott bae50e38da Remove unused dependencies 2020-06-30 08:58:27 -04:00
Jake McDermott 9dadb96d45 Fix unescaped README code block 2020-06-29 16:50:44 -04:00
Jake McDermott bde1ff1187 Use a proxy config that works 2020-06-29 15:51:51 -04:00
Jake McDermott 1df91eece1 Add devel make targets for ui_next 2020-06-25 10:22:07 -04:00
Jake McDermott 01b8087cb3 Align prod and dev routing 2020-06-25 08:56:21 -04:00
Jake McDermottandnixocio 41d8edf94a Align imports to django collectstatic locations
Co-authored-by: nixocio <nixocio@gmail.com>
2020-06-25 08:56:11 -04:00
Jake McDermottandnixocio ddadf332cc Create static dir during bootstrap
Co-authored-by: nixocio <nixocio@gmail.com>
2020-06-25 08:56:07 -04:00
Jake McDermott 12a22d2442 Add basic django app and file serving for ui_next 2020-06-25 08:55:56 -04:00
Jake McDermott 35e5c7f309 Don't send cred user with org 2020-06-23 11:38:08 -04:00
Jake McDermott ee6f03515e Merge pull request #4340 from jakemcdermott/fix-4336
[3.7.1] Enable management job notications for admins
2020-06-09 16:27:07 -04:00
Jake McDermott 16f81154c0 Merge pull request #4338 from mabashian/4334-backport-v2
[3.7.1] Fixes bug where all_parents_must_converge was not being set for new or existing approval nodes
2020-06-09 15:36:40 -04:00
Jake McDermott fdb53bd1af Remove unneeded auth props 2020-06-03 19:52:53 -04:00
Jake McDermott cb453de6a4 Add AppContainer and move bootstrapping to App component 2020-06-03 18:20:26 -04:00
Jake McDermott 718d3728dd Relocate route config and remove route render props 2020-06-02 10:08:40 -04:00
Jake McDermott d40497aca5 Add basic output updates with websockets 2020-05-21 13:48:55 -04:00
Jake McDermott 7ea96ad468 Use man pages 2020-05-19 17:05:51 -04:00
Jake McDermott b83db0500f Enable management job notications for admins 2020-05-19 10:52:09 -04:00
Jake McDermott 17efb34c6a Retry chromium download in zuul 2020-05-19 10:19:38 -04:00
Jake McDermott a66d44d2ff Enable management job notications for admins 2020-05-15 15:24:03 -04:00
Jake McDermott 7971cc5c17 Update CI Dockerfile to use new build tooling 2020-05-12 17:50:06 -04:00
Jake McDermott 6098ee8f7f Add style-components macro where needed
We need to import the styled-components macro whenever we use the
css= prop.
2020-05-12 17:50:00 -04:00
Jake McDermott 41fa3e0473 Update readme with new build info 2020-05-12 17:49:57 -04:00
Jake McDermott 3ad62f586b Update i18n for new build tools 2020-05-12 17:49:52 -04:00
Jake McDermott 43f32f98a9 Fix tests 2020-05-12 17:49:49 -04:00
Jake McDermott abcf8fea96 Add tooling for building static files 2020-05-12 17:49:45 -04:00
Jake McDermott 10f324110e Remove build and test configuration for aliases 2020-05-12 17:49:41 -04:00
Jake McDermott 0f335170c5 Remove import aliases from ui_next
For posterity, the script used to remove the aliases is included with
this commit:

    python3 tools/dealias.py awx/ui_next/src
    npm run lint -- --fix
    npm run prettier
2020-05-12 17:49:23 -04:00
Jake McDermott 6f872bf752 Document node and npm installation prerequisites 2020-05-08 14:25:00 -04:00
Jake McDermott d736adbedc Only clear playbook when different project is selected 2020-04-07 18:12:48 -04:00
Jake McDermott be5d067148 Add note to docs about async form behavior 2020-04-07 17:30:03 -04:00
Jake McDermott 279fe53837 Remove state checks from user list test
Don't check for loading in UserList test
2020-04-06 13:40:31 -04:00
Jake McDermott 6f582b5688 Don't show user-only roles for teams 2020-03-27 11:18:15 -04:00
Jake McDermott 579648a017 Identify user-only organization roles
Organization participation roles (admin, member) can't be assigned to a
team. Add a field to the object roles so the ui can know not to display
them for team role selection.
2020-03-27 11:12:39 -04:00
Jake McDermott f2e9a8d1b2 Limit disable-on-load to single notifications 2020-03-27 10:32:11 -04:00
Jake McDermott 27b5b534a1 Add advice for creating bug reports 2020-03-26 19:49:38 -04:00
Jake McDermott e17c93ecd7 Don't allow blank adhoc command module names 2020-03-25 13:11:30 -04:00
Jake McDermott 55c18fa76c Remove unnecessary project template add option 2020-03-25 11:26:30 -04:00
Jake McDermott b56812018a Don't delete confirmed password from formik object
If the save fails, the form will attempt to reload the
deleted value.
2020-03-24 12:21:07 -04:00
Jake McDermott 6f3527ed15 Don't refresh settings on websocket event 2020-03-23 18:29:01 -04:00
Jake McDermott fe2ebeb872 Fix host event type and reference errors 2020-03-23 17:46:42 -04:00
Jake McDermott d23fb17cd9 Auto-update dependencies in lock file 2020-03-17 11:33:55 -04:00
Jake McDermott f8f6fff21e Show playbook field on JT when read-only 2020-03-13 13:35:49 -04:00
Jake McDermott b41c9e5ba3 Normalize initial value of select2 fields 2020-03-13 09:43:12 -04:00
Jake McDermott 401be0c265 Add parser error handling for settings json 2020-03-13 09:23:11 -04:00
Jake McDermott 1ee46ab98a Mark access removal prompts for translation 2020-03-13 09:20:59 -04:00
Jake McDermott 4381a7d75c Remove some rogue awaits 2020-03-10 11:59:37 -04:00
Jake McDermott 24d35e9593 Remove duplicate schedule tab 2020-03-09 13:39:40 -04:00
Jake McDermott beb10feb0c Refactor top-level host and inv routing components
* Remove route render props
* Remove unneeded load checks
* Make PageSection component placement consistent with other screens
* Fix issues causing complete panel reload on tab change
2020-03-09 12:12:49 -04:00
Jake McDermott 6ec9c45341 Fix screen reload on host tab change 2020-03-09 11:35:26 -04:00
Jake McDermott a5afac62ca Fix panel reloading and clean up unneeded code 2020-03-05 15:36:25 -05:00
Jake McDermott deaf2028ad Request all types for multicred lookup 2020-03-04 09:08:46 -05:00
Jake McDermott d812972d3c Wrap credential help text at 110 chars 2020-03-04 09:08:01 -05:00
Jake McDermott be56a1d3df Fix job->inventory links 2020-03-03 18:42:49 -05:00
Jake McDermott 6536f5a453 Delete falsey project creds before POST|PATCH
Depending on the permissions of the user submitting the form, the API
might throw an unexpected error if our creation request has a
zero-length string as its credential field. As a work-around,
normalize falsey credential fields by deleting them.
2020-02-26 14:22:58 -05:00
Jake McDermott bd30951a4f Pass empty array instead of null to rbac list
The DataListToolbar component expects an array for additional controls
in all cases. When there's no controls to pass into the toolbar,
provide an empty array to avoid type-related errors.
2020-02-26 13:22:22 -05:00
Jake McDermott 43cce83ba1 Handle api error 'detail' key as generic form error 2020-02-26 12:44:20 -05:00
Jake McDermott 83a96757db Add section for patterns 2020-02-20 15:57:08 -05:00
Jake McDermott 3831efb3be Use pod uid as instance uuid
Inject the pod uid as an environment variable and use it for the
SYSTEM_UUID in the settings file defined by the configmap.
2020-02-12 13:52:09 -05:00
Jake McDermott 7402ac29a8 Order job_event requests by start_line
Ordering job_event requests by `start_line` accomplishes the same thing
as ordering by `counter`. The `start_line` field is more performant
because we have indexed it in the database.
2020-02-12 10:11:28 -05:00
Jake McDermott b06645e125 Show any/all convergence option on root node 2020-02-05 15:51:38 -05:00
Jake McDermott 04844aa44f Add 'ALL' indicator to 'ALL' nodes 2020-02-05 14:28:35 -05:00
Jake McDermott 4fe9e5da14 Use select for any/all convergence choice 2020-02-05 14:28:35 -05:00
Jake McDermott bbb4701fa9 Don't show any/all convergence option on root node 2020-02-05 14:28:35 -05:00
Jake McDermott 987fc26537 Add any/all option for workflow node convergence 2020-02-05 14:28:34 -05:00
Jake McDermott 11af21972d Use default cloud name if one isn't passed to azure plugin 2020-01-17 12:36:04 -05:00
Jake McDermott a6f063b199 Set default MAX_FORKS to 200 2020-01-15 17:26:15 -05:00
Jake McDermott 0d98a1980e Add a configurable limit for job forks 2020-01-15 13:51:59 -05:00
Jake McDermott 2b02b1affd Support AzureCloud choices for azure keyvault 2020-01-15 13:13:10 -05:00
Jake McDermott 44c0eb867b Remove group status cols
Remove the status col from any group list that used the now-removed
computed fields.
2020-01-14 16:37:20 -05:00
Jake McDermott 773b976f8a Remove dead code 2020-01-14 16:37:20 -05:00
Jake McDermott 1220847c27 Remove unused host status service 2020-01-14 16:37:20 -05:00
Jake McDermott ec1c2a8391 Remove status icons from group nested groups 2020-01-14 16:37:19 -05:00
Jake McDermott 2bc6521eee Use related hosts and group counts for delete modal 2020-01-14 16:37:19 -05:00
Jake McDermott 107d2da845 Remove status icons from host nested groups 2020-01-14 16:37:19 -05:00
Jake McDermott cf9f00ab86 Use summary object_roles to lookup admin role id
To find the id of an org's admin role, use the `object_role` names
in the organization's summary_fields instead of filtering on
potentially translated role names.
2020-01-13 11:28:14 -05:00
Jake McDermott d91e72c23f Generate new uuid for newly registered iso nodes
When provisioning a new isolated node, generate a new uuid instead of
reusing the SYSTEM_UUID of the controller node.
2020-01-03 12:59:57 -05:00
Jake McDermott 23914182c4 Add credential_type summarizable fk field 2019-12-18 18:31:24 -05:00
Jake McDermott 057320aed3 Move organization form to functional component 2019-12-18 12:35:01 -05:00
Jake McDermott b8d6991e9d Measure unit test coverage of test utils 2019-12-18 11:55:50 -05:00
Jake McDermott 7cc3a7c39d Replace withRouter HOC with route hooks 2019-12-18 10:05:03 -05:00
Jake McDermott 9c291c2b50 Move routed org views to functional components 2019-12-18 10:04:54 -05:00
Jake McDermott 86eb541b3f Keep warning icon size consistent 2019-12-17 16:12:53 -05:00