Jake McDermott
a7fe519063
Update patternfly packages
2021-04-22 17:00:26 -04:00
Jake McDermott and nixocio
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 McDermott and Tiago 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
Jake McDermott
3f936cd5e7
Add mgmt job schedules
2021-02-24 12:19:40 -05:00
Jake McDermott
5d9d486f9c
Resolve notification admin status with config
2021-02-24 12:19:37 -05:00
Jake McDermott
d3f2dedbd5
Add routing system for mgmt jobs
2021-02-24 12:19:31 -05:00
Jake McDermott
31e6d7cc0a
Add some items to the upcoming changelog
2021-02-17 15:36:12 -05:00
Jake McDermott
09b097d6b9
Relax client-side email validator
2021-02-10 17:35:30 -05:00
Jake McDermott
b0520ae0e4
Handle error state with traceback and no stdout
2021-02-08 17:20:24 -05:00
Jake McDermott
14686e8b16
Prevent enter-submit on prompt steps
2021-02-03 23:22:42 -05:00
Jake McDermott
339d430de1
Add ability to cancel jobs
2021-02-02 10:39:19 -05:00
Jake McDermott
e7719e3fdc
Splice result_traceback into first row stdout
2021-01-31 22:15:51 -05:00
Jake McDermott
7a6cbe2685
Display status explanation message when available
2021-01-31 22:15:49 -05:00
Jake McDermott
b2328d17a4
Render result tracebacks as stdout
2021-01-31 22:15:43 -05:00
Jake McDermott
6fcaba6540
Fix container group detail link outs
2021-01-28 15:45:25 -05:00
Jake McDermott
8db88e979e
Default to lang in catalog when browser preference unavailable
...
When strings aren't available for the browser's preferred locale,
default to one with strings to avoid displaying raw javascript
variables.
2020-12-22 15:36:33 -05:00
Jake McDermott
c8d471466c
Resolve most console errors in tests
2020-12-18 11:34:39 -05:00
Jake McDermott
fa1ef87f20
Use location hook in routed tabs
...
Fix a unit test that is failing due to history.location
not updating as expected when a routed tab is selected.
2020-12-18 11:01:22 -05:00
Jake McDermott
f09120a973
Replace chip key with non-array index
...
Address a lint error (rule: react/no-array-index-key) by using
chip.key prop val instead of an array index for the component key.
2020-12-18 11:01:19 -05:00
Jake McDermott
6223a78ff4
Address errors from type system
2020-12-18 11:01:16 -05:00
Jake McDermott
d05ffd24f4
Regenerate lockfile
2020-12-18 11:01:10 -05:00
Jake McDermott
19f855717d
Don't build redirect until data available
2020-12-17 09:45:44 -05:00
Jake McDermott
d35732c4b7
Add missing slash to routing key
2020-12-17 09:15:10 -05:00
Jake McDermott
b2341408b9
Fix 500 on unhandled group param type
2020-12-16 16:06:29 -05:00
Jake McDermott
5cb580be7a
Refactor top-level template routes
...
* Fix repeated api calls from useEffect hook by wrapping the breadcrumb
setter with useCallback
* Rework the top-level routes to remove some old patterns and bring it more
into alignment with how it's done on the projects screen
2020-12-16 13:46:59 -05:00
Jake McDermott
1321895e83
Generate package lock file with recent dependency updates
2020-12-16 09:17:49 -05:00
Jake McDermott
4033e0f218
Align display types for job list and details
2020-12-15 17:05:38 -05:00
Jake McDermott
1a4eab6f25
Use type field as key for job display type
2020-12-15 17:05:31 -05:00
Jake McDermott
7f89eb324a
Fix key for adhoc command display type
2020-12-15 17:05:22 -05:00
Jake McDermott
3398452197
Update wording of getting started section
2020-12-14 19:22:13 -05:00
Jake McDermott
487bf50544
Don't display a negative time
...
If the remaining session time dips below 0 imediately before auto-
logout, ceil the display value to 0 to avoid showing negative
seconds left.
2020-12-14 17:05:47 -05:00
Jake McDermott
997200dd19
Unchunkify session warning string
2020-12-14 17:05:39 -05:00
Jake McDermott
aa048049ea
Add logout button, remove close button
2020-12-14 17:05:36 -05:00
Jake McDermott
d7949e3db9
Clamp timeout to maximum allowed by js
2020-12-14 17:05:32 -05:00
Jake McDermott
838a3822a5
Debounce storage calls on http intercept
2020-12-14 17:05:28 -05:00
Jake McDermott
5ccee4aea2
Add session timeout support
...
Intercept all http(s) responses and store expiration time from headers
in local storage. Drive expiration timers in app container across all
tabs with browser storage events and accompanying react hooks
integration. Show a warning with logout countdown and continue button
when session is nearly expired.
2020-12-14 17:05:18 -05:00
Jake McDermott
d88ba5873b
Use credential_type for multicred distinction
2020-12-14 10:11:42 -05:00
Jake McDermott
8b32b61072
More readme and makefile updates
...
* Set log levels for build commands
* Add locale build dirs to cleanup commands
* Move container dev environment build section closer to top of readme
2020-12-14 08:53:03 -05:00
Jake McDermott
2cd9a05329
Support ws or wss proto
2020-12-11 19:22:37 -05:00
Jake McDermott
4be9008821
Add make target info to readme
2020-12-11 16:33:36 -05:00
Jake McDermott
9687c09108
Autofix problematic dependency
2020-12-11 12:06:47 -05:00
Jake McDermott
a0ce1350ec
Update readme requirements
2020-12-10 22:17:34 -05:00
Jake McDermott
704029459f
Place some initial files for migration view
...
This restores some of the original files and routes from the migration
view of the classic ui with the eventual goal of fully reintegrating this
system with the new ui.
See: https://github.com/ansible/awx/commit/b39db745d4addd7aa4612a43cf3ebd12c4d206cd
2020-12-10 11:00:43 -05:00
Jake McDermott
ca2f67e0a9
FFox ESR 78 Compatibility
2020-12-10 09:39:25 -05:00
Jake McDermott
15704e55e1
Move INLINE_RUNTIME_CHUNK flag to scripts definition
...
We _always_ want INLINE_RUNTIME_CHUNK to be false when building the ui,
even if someone happens to unexpectedly make a production build without
using the top-level make targets for some reason.
2020-12-08 13:26:10 -05:00
Jake McDermott
b3266f6c62
Avoid prop reference error in test
2020-12-08 13:26:07 -05:00
Jake McDermott
c120b731a4
Add global mock for webpack csp var
2020-12-08 13:26:05 -05:00
Jake McDermott
ab61675c2d
Add system for strict-csp stdout html generation
2020-12-08 13:26:02 -05:00
Jake McDermott
548ebd5999
Add w3c-compliant reporting for CSP violations
2020-12-08 13:25:59 -05:00
Jake McDermott
12077627e4
Integrate CSP config with frontend framework
2020-12-08 13:25:56 -05:00
Jake McDermott
05ae6df80b
Avoid prop reference error when saving cred
2020-12-08 10:36:06 -05:00
Jake McDermott
db8c56caf4
Handle prompted inventory without value on schedules
2020-12-01 11:53:19 -05:00
Jake McDermott
294b9c8910
Only display inventory file for scm sources
2020-11-25 11:02:07 -05:00
Jake McDermott
c0d8474ac6
Undo staged locale changes after devel build
2020-11-24 15:39:54 -05:00
Jake McDermott
ef27ebfed8
Remove *-next make targets
2020-11-24 13:58:19 -05:00
Jake McDermott
02021fe2c9
Source variables provided at build time
2020-11-23 15:14:55 -05:00
Jake McDermott
526a4c303f
Include awx logos for official installs
2020-11-23 13:52:25 -05:00
Jake McDermott
c81bc60a33
Source default login logo from static files
2020-11-23 13:22:45 -05:00