Commit Graph
100 Commits
Author SHA1 Message Date
Jake McDermott baf37e94eb Merge pull request #11003 from AlexSCorey/5252-tower-Settings-deprecation
Adds deprecation banner
2021-09-03 09:04:11 -04:00
Jake McDermott b00e5876d4 Merge pull request #10972 from quasd/devel
Check dynamic_input fields also with has_input()
2021-08-30 14:09:10 -04:00
Jake McDermott 367e0a5e87 Merge pull request #10917 from AlexSCorey/10223-InventorySourceData
Adds source data to job list and job details view
2021-08-20 15:44:17 -04:00
Jake McDermott 80053cea83 Merge pull request #10845 from nixocio/ui_add_more_ids
Update Ids for Job Details page
2021-08-10 10:39:28 -04:00
Jake McDermott 7b065ae0a0 Merge pull request #10789 from phemmer/patch-1
add minikube to github bug template
2021-08-06 10:04:00 -04:00
Jake McDermott eef80c8875 Merge pull request #10781 from tiagodread/update-e2e-workflow
Use cypress base image from a public repo in quay
2021-07-28 16:51:25 -04:00
Jake McDermott 34bd0588b4 Merge pull request #10777 from nixocio/ui_issue_10775
Update usage of useBrandName
2021-07-28 16:46:18 -04:00
Jake McDermott 07a4683f08 Merge pull request #10741 from AlexSCorey/10495-ActionBtnOnEmptyState
Improves empty state messages for improve UX
2021-07-28 10:18:49 -04:00
Jake McDermott e207b424b1 Merge pull request #10768 from nixocio/ui_issue_8593
Remove all groups filter
2021-07-28 10:06:16 -04:00
Jake McDermott 50279478c8 Update job list message 2021-07-28 10:04:58 -04:00
Jake McDermott dc79d76444 Merge pull request #10761 from nixocio/ui_issue_6800
Add string to be translated
2021-07-27 15:20:06 -04:00
Jake McDermott 63075976c2 Merge pull request #10662 from AlexSCorey/updatesProdDeps
Updates Several UI Production Dependencies
2021-07-27 11:14:04 -04:00
Jake McDermott 57fa2c03f7 Merge pull request #10753 from ansible/jakemcdermott-patch-readme
Update CI results status badge
2021-07-26 11:38:47 -04:00
Jake McDermott 3ef8008f91 Update CI results status badge 2021-07-26 11:19:54 -04:00
Jake McDermott 70f69b6c8b Merge pull request #10751 from tiagodread/e2e-workflow
Update e2e workflow to use variable for e2e project name
2021-07-26 11:06:15 -04:00
Jake McDermott 1aacd94cb5 Merge pull request #10711 from ansible/pip-boto
Install boto to ci ansible python env
2021-07-22 11:08:35 -04:00
Jake McDermott 7bfc1702ab Merge pull request #10632 from The-Migus-Group/tss-plugin-amigus
Add Thycotic SecretServer support
2021-07-22 08:57:39 -04:00
Jake McDermott 3980864151 Install boto to ci ansible python env 2021-07-21 18:01:09 -04:00
Jake McDermott 872513617e Merge pull request #10660 from nixocio/ui_issue_9554
Bump size of SSO icons login screen
2021-07-20 16:56:39 -04:00
Jake McDermott dd510ab90c Set maxworkers to 4 2021-07-20 12:23:04 -04:00
Jake McDermott 954be5dd32 Regenerate translation string files 2021-07-19 13:33:54 -04:00
Jake McDermott 6d71997b51 Relocate hooks to hooks directory
mkdir awx/ui_next/src/hooks
mv awx/ui_next/src/util/use* awx/ui_next/src/hooks/
find ./awx/ui_next/src -type f -exec sed -i -e 's/util\/use/hooks\/use/g' {} \;
find ./awx/ui_next/src/hooks -type f -exec sed -i -e 's/from \x27\.\//from \x27util\//g' {} \;
find ./awx/ui_next/src/hooks -type f -exec sed -i -e 's/from \x27util\/use/from \x27\.\/use/g' {} \;
npm --prefix=awx/ui_next run lint -- --fix
npm --prefix=awx/ui_next run prettier
2021-07-19 13:33:45 -04:00
Jake McDermott 021e98b14a Remove script to switch relative imports 2021-07-19 13:33:42 -04:00
Jake McDermott c92fffaecc Rename .jsx -> .js 2021-07-19 13:33:38 -04:00
Jake McDermott 595cf192b7 Fix relative imports
python tools/fixrelative.py awx/ui_next/src
npm --prefix=awx/ui_next run lint -- --fix
npm --prefix=awx/ui_next run prettier
2021-07-19 13:33:35 -04:00
Jake McDermott 0ee7d22e9d Add script to switch relative imports 2021-07-19 13:33:30 -04:00
Jake McDermott dc1b312672 Enable absolute imports 2021-07-19 13:33:24 -04:00
Jake McDermott c0f587a2bf Remove title field from bug template 2021-07-01 11:44:26 -04:00
Jake McDermott 147e50730d Remove default text from bug title 2021-07-01 09:01:45 -04:00
Jake McDermott 1211faf8df Only derive row count from max counter when job is running. 2021-06-28 10:51:02 -04:00
Jake McDermott dc327ceaeb Autofix problematic dependencies 2021-06-28 10:51:02 -04:00
Jake McDermott 4de477686e Update help text for hashivault credential plugin 2021-06-28 10:51:01 -04:00
Jake McDermott 4cc734ce6e Enable instance group creation for non-k8s deployments only 2021-06-28 10:51:01 -04:00
Jake McDermott f08bf4766d Add read-only settings for IS_K8S 2021-06-28 10:51:01 -04:00
Jake McDermott bb78a0b4ec Add bug report form 2021-06-25 08:41:54 -04:00
Jake McDermott c6ac2f56dc Update CHANGELOG.md 2021-06-14 14:09:53 -04:00
Jake McDermott e570810bdb Use favicon for dev and prod builds 2021-06-09 11:22:40 -04:00
Jake McDermott faded278e3 Disable follow mode on scroll 2021-06-08 13:33:53 -04:00
Jake McDermott 768ac01f58 Add basic output tailing
When follow mode is enabled, fix the scroll position to the highest row
so that the output panel is always displaying the latest events.
2021-06-08 13:33:53 -04:00
Jake McDermott 5da6b02801 Avoid reload on manual logout 2021-06-07 16:51:06 -04:00
Jake McDermott b648957c8e Update pagination scheme for jobs
* Use an initial request for max event `counter` to get the total row count,
otherwise rely on websocket message counters to update remote row count

* For running jobs, request event ranges with counters to handle events getting
saved to db out of display order

* For jobs that are no longer running, continue to use page/pageSize scheme for
paging through the job events
2021-06-04 09:17:09 -07:00
Jake McDermott 88ff68295b Make IG credential linkable 2021-06-04 10:27:14 -04:00
Jake McDermott d93f62c030 Add search config for inventory hosts 2021-06-04 09:51:43 -04:00
Jake McDermott ec1408fbd1 Disable cancel button on http 405
When a 405 is received, it means the job is already cancelled. Treat the
request as a success and don't show an error modal.

We disable the button to handle a rare scenario where we receive the 405 long before
the job status is properly updated to "cancelled" over websockets. We want to prevent
more cancel requests when this happens. We're disabling instead of hiding the button
because, assuming the status hasn't changed over sockets, the buttons that usually
replace the cancel button on the toolbar won't be shown yet and we don't want to
needlessly flicker and shift button positions around by rapidly loading and unloading
a different number of buttons onto the bar.
2021-06-03 13:02:03 -04:00
Jake McDermott 8c2ca29f4e Add default error boundary around screens
Catch any unhandled non-async errors with an error boundary
around screens. This will show a generic error message instead
of crashing the page.
2021-05-14 10:40:48 -04:00
Jake McDermott 6f6d9e2f15 Update dependency update examples
There's no need to make a production build when updating dependencies,
just reiinstall
2021-05-13 13:09:30 -04:00
Jake McDermott cd7c85490b Handle and document potential memory limit issues
* Increase node memory limit
* Add note to docs that you may need to increase container memory thresholds
imposed by docker-for-mac and similar tools if you're using them
2021-05-13 12:55:37 -04:00
Jake McDermott a9ec7038de Use npm ci as default package installation command
We don't want to generate new package.json and package-lock.json
files unless we're explicitly updating new dependencies.
2021-05-13 12:55:28 -04:00
Jake McDermott 795e3c84fc Use development container when updating dependencies 2021-05-13 12:55:22 -04:00
Jake McDermott 3468153619 Warn but still recompile on lint error 2021-05-12 16:47:49 -04:00
Jake McDermott 39ce0ade6d Update image descriptions, add examples 2021-05-12 16:10:42 -04:00
Jake McDermott 7fbe01352f Drop the word name from image field input
This field is labeled as just "Image" in other places, so we want
it to match. Also, "name" can be confusing because users will think
they just need to provide the image name instead of the full image
location, which includes registry and tag version.
2021-05-12 14:26:18 -04:00
Jake McDermott 6bb8fd3fd6 Remove all AWX_ISOLATED* fields 2021-05-11 13:21:18 -04:00
Jake McDermott 6e97020eae Always resolve launching status 2021-05-11 12:14:53 -04:00
Jake McDermott b94a9c19e7 Avoid prop reference error when recreating survey
The survey object is undefined when recreating a survey after deleting it.
Add optional chaining on survey fields to avoid prop reference error.
2021-05-10 10:39:04 -04:00
Jake McDermott a7fe519063 Update patternfly packages 2021-04-22 17:00:26 -04:00
Jake McDermottandnixocio 562ba53833 Update to react-scripts 4
Co-authored-by: nixocio <nixocio@gmail.com>
2021-04-21 17:33:34 -04:00
Jake McDermott 2c61e8f6de Use built-in suppress from contextlib
In python3, we can use the built-in suppress from contextlib

https://docs.python.org/3/library/contextlib.html#contextlib.suppress
2021-04-12 14:47:50 -04:00
Jake McDermott 4e75e9438e Use validated prop in cred plugin field 2021-04-09 10:50:58 -04:00
Jake McDermott b75d0c1dad Fix non-translatable template string 2021-04-08 19:09:19 -04:00
Jake McDermott ee68a7ff09 Update CHANGELOG.md 2021-04-07 13:52:58 -04:00
Jake McDermott 6da224f27e Ignore no-literal rule for AboutModal component 2021-04-07 11:14:22 -04:00
Jake McDermott 3f040eba6d Use shared logo img and dynamic copyright date 2021-04-07 10:01:27 -04:00
Jake McDermott 2dc9c1a1c8 Limit the visible playbook select region 2021-04-06 17:36:42 -04:00
Jake McDermott f444870c0c Disable credential type field on edit 2021-04-06 09:04:00 -04:00
Jake McDermott 6dac50b1e0 Display cred type name on initialization 2021-04-06 09:03:53 -04:00
Jake McDermott 241f73ebf7 Configure ace editor to not use blob worker
We don't rely on ace-editor using the blob worker
and leaving it on causes CSP errors.
2021-04-06 08:56:15 -04:00
Jake McDermott 6047eb6172 Fix rounding error in output pagination controls 2021-03-31 12:30:46 -04:00
Jake McDermott 93d1df4e4b Use custom text for setting source path 2021-03-26 11:34:29 -04:00
Jake McDermott a86196cfa3 Don't append a slash to file paths 2021-03-26 11:34:20 -04:00
Jake McDermott 72d700e125 Use the type-specific job models
Add the expected launch and run methods to the different job type
models. Include a new helper function to look up the right model
given a job type and use it in place of switch statements or
passing the type in to build a url.
2021-03-23 15:02:27 -04:00
Jake McDermott a706eb608a Support job cancellation through details panel 2021-03-23 14:48:50 -04:00
Jake McDermott 201c3f56e7 Fix service reference error for cred plugin dev env 2021-03-23 09:20:42 -04:00
Jake McDermott 23ac8d346f Update some links and notes in the changelog 2021-03-22 14:59:04 -04:00
Jake McDermott 098ec63944 Add container group flag to add/edit data 2021-03-15 13:28:40 -04:00
Jake McDermott d494645914 Add i18n config file to frontend container image 2021-03-05 08:24:31 -05:00
Jake McDermott 95ec009758 Add language catalog compile step before test commands 2021-03-04 13:25:31 -05:00
Jake McDermott 55b948bf39 Remove checkout from Makefile 2021-03-04 13:13:32 -05:00
Jake McDermott cf513b33ee Add name field 2021-03-03 18:52:55 -05:00
Jake McDermott b0265b060b Remove client-side url validator 2021-03-03 18:52:55 -05:00
Jake McDermott 4ca33579a5 Add an interface for new ee options 2021-03-03 18:52:55 -05:00
Jake McDermott e92f1187d2 Use credential_type for prompted multicred select categories 2021-03-02 10:27:49 -05:00
Jake McDermott 218b97883d Fix schedule loading flicker 2021-02-24 12:20:37 -05:00
Jake McDermott d337948bd6 Use system job type as identifier 2021-02-24 12:20:30 -05:00
Jake McDermott 5d51a4e781 Fix system job list item key 2021-02-24 12:20:27 -05:00
Jake McDermott a0beb9e445 Remove instructions to add on empty mgmt jobs 2021-02-24 12:20:24 -05:00
Jake McDermott a9aa91d9f2 Remove duplicate notification admin request 2021-02-24 12:20:20 -05:00
Jake McDermott 2f56a20484 Add data retention field for schedule creation 2021-02-24 12:20:17 -05:00
Jake McDermott 4985fb6ffa Add case insensitive search for Name 2021-02-24 12:20:14 -05:00
Jake McDermott b545a6510f Fix Data retention label 2021-02-24 12:20:12 -05:00
Jake McDermottandTiago Góes df7b168911 Add actions column
Co-authored-by: Tiago Góes <tiago.goes2009@gmail.com>
2021-02-24 12:20:09 -05:00
Jake McDermott 83b449fd30 Add sysjob data retention to schedules
* Migate management jobs list to tables
 * Use cancel link variant for consistency with other prompts
 * Add basic test coverage for sysjobs
 * Remove select-all from mgmt jobs
 * Remove unneeded component variables
 * Fix missing schedule breadcrumb
 * Optimize data fetching with useCallback
2021-02-24 12:20:05 -05:00
Jake McDermott a00c8920ce Remove default sysjob days 2021-02-24 12:20:03 -05:00
Jake McDermott a07b1a19f3 Add system prompt and config 2021-02-24 12:20:00 -05:00
Jake McDermott a95e554a16 Only render edit control if editable 2021-02-24 12:19:57 -05:00
Jake McDermott 4c92d02540 Add mgmt job details 2021-02-24 12:19:54 -05:00
Jake McDermott a0bdf8cdae Add default sysjob days 2021-02-24 12:19:52 -05:00
Jake McDermott daaabd935c Add mgmt job launch 2021-02-24 12:19:49 -05:00
Jake McDermott eaf55728d8 Add mgmt job list 2021-02-24 12:19:46 -05:00
Jake McDermott 45acd15c82 Add mgmt job notifications 2021-02-24 12:19:43 -05:00