Commit Graph
100 Commits
Author SHA1 Message Date
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
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
Jake McDermott a28c44e509 Source header logo from static files 2020-11-23 13:22:38 -05:00
Jake McDermott 27219d34eb Remove vestigal django stuff for old ui 2020-11-23 13:22:34 -05:00
Jake McDermott f49e4a646f Remove legacy make targets 2020-11-23 13:22:30 -05:00
Jake McDermott b699864f00 remove classic ui 2020-11-23 13:22:25 -05:00
Jake McDermott abaeec40ae Ship the new ui with awx installation and builds 2020-11-23 13:22:12 -05:00
Jake McDermott 471e22a4e2 Start with nav expanded 2020-11-17 18:54:11 -05:00
Jake McDermott d30dd97c96 Fix inconsistent screen title bars 2020-11-16 11:39:04 -05:00
Jake McDermott 10ab12c99a Delete cloudforms 2020-11-05 12:40:03 -05:00
Jake McDermott cc89608d2c Merge pull request #4659 from jakemcdermott/fix-4658
Disable edit mode cred form unless edit capability is true
2020-11-02 13:26:05 -05:00
Jake McDermott da7896dbc4 Disable edit mode cred form unless edit capability is true 2020-11-02 13:20:44 -05:00
Jake McDermott 5ce9e5b03d Use SUBSCRIPTION_* variables in config route 2020-10-30 16:40:02 -04:00
Jake McDermott 31275122a1 Merge pull request #4653 from wenottingham/taking-inventory-of-ourselves
Enable source vars for all inventory types
2020-10-29 11:06:39 -04:00
Jake McDermott 94eec401c3 Use SUBSCRIPTION_* variables in config route 2020-10-28 19:03:38 -04:00
Jake McDermott 1ab0e318f9 Fix vulnerable dependencies 2020-10-21 08:57:41 -04:00
Jake McDermott 36abc9b123 Merge pull request #4630 from jakemcdermott/current-date
[3.8] Use current year in about modal
2020-10-20 15:31:31 -04:00
Jake McDermott 7bc7cb00ac Use current year in about modal 2020-10-20 15:13:58 -04:00
Jake McDermott f85548abeb Merge pull request #4628 from mabashian/4310-license-string
Replace SETTINGS > SYSTEM with SETTINGS &gt; SYSTEM to get around issue with translating this string
2020-10-20 12:34:19 -04:00
Jake McDermott 09c961fc56 Use current year in about modal 2020-10-15 10:02:27 -04:00
Jake McDermott 3c71ab1bd7 Remove math licenses 2020-10-14 14:07:53 -04:00
Jake McDermott 4907aa35a9 Update vulnerable dependency 2020-10-02 20:35:30 -04:00