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 McDermott and nixocio
41d8edf94a
Align imports to django collectstatic locations
...
Co-authored-by: nixocio <nixocio@gmail.com >
2020-06-25 08:56:11 -04:00
Jake McDermott and nixocio
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
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
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
Jake McDermott
014520ee2b
Initialize list with none selected
2019-12-16 11:46:53 -05:00
Jake McDermott
9ed2534ac5
Don't reload panel on tab change
2019-12-16 09:25:12 -05:00
Jake McDermott
a3bc3986bb
Fix resource access list user links
2019-12-16 08:51:10 -05:00
Jake McDermott
230933744c
Fix nav user links
2019-12-16 08:50:59 -05:00
Jake McDermott
227a90006e
Update webpack to 4.41.2
2019-12-16 08:36:24 -05:00
Jake McDermott
9744b89737
Use job details status to test status
2019-12-13 17:32:23 -05:00
Jake McDermott
e34c7acdc4
Migrate organization add to functional component
2019-12-06 14:54:29 -05:00
Jake McDermott
bc6d879976
Merge pull request #4015 from mabashian/4013-backport-angular-upgrade
...
[3.6.2 backport] Upgrades angular and auxiliary deps to 1.7.9
2019-12-05 11:34:28 -05:00
Jake McDermott
c5e22f9aa3
Update job redirects and tab placement
...
Change display order of the output tab so that it is second and make
it the default for redirects and job launches.
2019-12-04 14:37:15 -05:00
Jake McDermott
540f8ab7d6
Only show cred type test button to superusers.
...
Without a credential instance, plugin tests go through the credential
type (not credential) api. Since this endpoint is for superusers only,
we hide the test button when non-superusers are adding a new external
credential.
2019-12-03 15:23:02 -05:00
Jake McDermott
63fd546f44
Let cred admins and users test credential plugins
2019-12-03 13:36:18 -05:00
Jake McDermott
068dab14d4
Increase async test timeout
...
When our CI system is overloaded, tests start running slower.
2019-11-12 13:04:00 -05:00
Jake McDermott
69205c5f6b
try a higher timeout ¯\_(ツ)_/¯
...
https://github.com/ansible/awx/issues/5234
https://github.com/ansible/awx/pull/5250
2019-11-06 08:24:35 -05:00
Jake McDermott
5e6ee4a371
Improve WFJT webhook credential wording
2019-10-30 17:52:30 -04:00
Jake McDermott
a23754897e
Improve accuracy of code comment
2019-10-29 11:24:17 -04:00
Jake McDermott
6f2a07a7df
Scrape tag input state from dom and put it in vm
...
The tag input state lives somewhere in the associated select2 widgetry
and isn't directly tied to the vm like it is for the other inputs.
2019-10-29 11:24:16 -04:00
Jake McDermott
cf5d3d55f0
Set omitted runner event line lengths to 0
...
runner_on_start events have zero-length strings for their stdout
fields. We don't want to display these in the ui so we omit them.
Although the stdout field is an empty string, it still has a recorded
line length of 1 that we must account for. Since we're not rendering
the blank line, we must also go back and set the event record's line
length to 0 in order to avoid deleting too many lines when we pop or
shift events off of the view while scrolling.
2019-10-29 11:24:10 -04:00
Jake McDermott
e91d383165
Fix off-by-one errors
2019-10-29 11:24:10 -04:00
Jake McDermott
ad383cdb44
Merge pull request #3909 from jakemcdermott/fix-3578-comment
...
Improve code comment regarding handling of omitted events
2019-10-28 11:52:11 -04:00
Jake McDermott
91afa88b44
Improve accuracy of code comment
2019-10-28 11:28:57 -04:00
Jake McDermott
1869b73826
Merge pull request #3906 from jakemcdermott/fix-5110
...
Fix job / skip tags not getting used on launch prompt
2019-10-28 09:15:08 -04:00
Jake McDermott
841975d72b
Scrape tag input state from dom and put it in vm
...
The tag input state lives somewhere in the associated select2 widgetry
and isn't directly tied to the vm like it is for the other inputs.
2019-10-26 20:02:41 -04:00
Jake McDermott
a517b15c26
Remove close button from job details
2019-10-25 11:59:40 -04:00
Jake McDermott
e17ee4b58f
Hide revision copy button when there's no revision
2019-10-25 11:40:06 -04:00