Seth Foster
63e9aed601
Prevent running jobs from blocking project updates
...
A running job that has a project update will block
that update from running. This fix removes
the block.
Adds a functional test that sets up a job in "running" state, and
starts a project update that is in "pending" state. Assert that
the task manager and dependency graph .is_job_blocked methods both
return False.
issue #5153
2019-12-16 13:43:42 -05:00
softwarefactory-project-zuul[bot]
d4be8c8168
Merge pull request #5516 from shanemcd/downstream-changes
...
A few downstream changes
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2019-12-16 17:49:03 +00:00
softwarefactory-project-zuul[bot]
cdf4b0d1ed
Merge pull request #5510 from jakemcdermott/ui-next-fix-user-link-in
...
Fix access list and navigation user link-ins
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2019-12-16 17:48:58 +00:00
softwarefactory-project-zuul[bot]
c43a59e475
Merge pull request #5391 from wenottingham/really-we-would-remove-the-drummer-before-slash
...
Don't error on a trailing slash, just fix it up
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2019-12-16 17:19:34 +00:00
Shane McDonald
c1abc56753
Merge remote-tracking branch 'downstream/release_3.6.2' into downstream-changes
2019-12-16 11:13:10 -05:00
softwarefactory-project-zuul[bot]
c5b4681bf4
Merge pull request #5491 from marshmalien/inv-host-add
...
Add Inventory Host Add form
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2019-12-16 16:06:24 +00:00
softwarefactory-project-zuul[bot]
00b7d6571a
Merge pull request #5509 from jakemcdermott/ui-next-webpack-4.41.2
...
Update webpack to 4.41.2
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2019-12-16 15:55:29 +00: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
softwarefactory-project-zuul[bot]
112f89660b
Merge pull request #5239 from AlanCoding/migration_cache
...
Reduce API response times by 30% by using memcache migration flag
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2019-12-16 04:33:29 +00:00
AlanCoding
a0910eb6de
Apply migration flag check to task manager
2019-12-15 22:56:57 -05:00
AlanCoding
5433af6716
Reduce API response times by caching migration flag
2019-12-15 22:56:57 -05:00
softwarefactory-project-zuul[bot]
04c535e3f9
Merge pull request #5424 from AlexSCorey/InventoryGroupAdd/Edit
...
Adds Inventory Groups
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2019-12-13 22:23:14 +00:00
Alex Corey
259e53f59d
Fixes failing zuul test
2019-12-13 16:38:59 -05:00
Bill Nottingham
ac9bf1afcf
Don't error on a trailing slash, just fix it up
2019-12-13 15:59:40 -05:00
Alex Corey
4b62d77015
Moves inventoryGroupForm into shared directory
...
Updates InventoryGroups tests
Adds ContentError functionalist to catch a case where a use might navigate to an Inventory
that isn't associated to the shown inventoryGroup.
2019-12-13 14:20:56 -05:00
Alex Corey
ef5ce0b082
Flattens Inventory File Structure Remove
2019-12-13 14:20:56 -05:00
Alex Corey
1942be7dc3
Checks for modified and create in Inv Group Deets
...
Also includes refactoring for css over style prop and removed some
unnecessary loading checks
2019-12-13 14:20:56 -05:00
Alex Corey
210f9577b0
Fixed filename typo
2019-12-13 14:20:56 -05:00
Alex Corey
87a05a5b2e
Testing Improvements and Refactoring
2019-12-13 14:20:56 -05:00
Alex Corey
f8a754cf44
Adds Alert Modal, Breadcrumb, Nested Tabs and Refactors PR.
2019-12-13 14:20:56 -05:00
Alex Corey
3ea37e1c79
Addresses PR issues
...
Adds Delete Modal for deleting from Details view
Adds test for delete modal
Addresses styling for Variables label
Removes X close button from form
2019-12-13 14:20:56 -05:00
Alex Corey
c997fcfc2c
Adds Inventory Groups routing --sort of
...
Adds Inventory Groups Add
Adds Inventory Groups Edit
Adds Inventory Groups Form
Adds api module for Groups
Adds placeholder file for InventoryGroupsList. This was added to refine routing. Tgere are no tests for this file yet.
2019-12-13 14:20:56 -05:00
softwarefactory-project-zuul[bot]
4dd4928aab
Merge pull request #5495 from shanemcd/less-is-more-secure
...
Remove some unused stuff from k8s secret
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2019-12-13 14:06:50 +00:00
softwarefactory-project-zuul[bot]
5aeaabaceb
Merge pull request #5438 from jainnikhil30/devel
...
adding instance consumed and remaining capacity to metrics
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2019-12-13 08:27:38 +00:00
Nikhil Jain
0d4e6d7e0b
do the sum once and store it in a variable which will be reused
2019-12-13 13:21:49 +05:30
Nikhil Jain
9ae038868c
adding instance consumed and remaining capacity to metrics
2019-12-13 13:21:49 +05:30
Shane McDonald
0b4ae74698
Remove some unused stuff from k8s secret
2019-12-12 19:36:56 -05:00
softwarefactory-project-zuul[bot]
0d248a12bc
Merge pull request #5493 from ryanpetrello/rekey-command
...
add an awx-manage command for re-generating SECRET_KEY
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2019-12-12 22:07:23 +00:00
Ryan Petrello
7396e2e7ac
add an awx-manage command for re-generating SECRET_KEY
2019-12-12 16:19:20 -05:00
Ryan Petrello
cac3bece56
Merge pull request #4032 from ghjm/configurable_login_3.6.2
...
[3.6.2] Configurable login redirect
2019-12-12 15:43:58 -05:00
Ryan Petrello
e4145b580c
fix a flake8 nit
2019-12-12 15:43:23 -05:00
Ryan Petrello
74076b99d6
Merge pull request #3998 from ryanpetrello/rekey-secret-key
...
[3.6.2] add an awx-manage command for re-generating SECRET_KEY
2019-12-12 15:25:15 -05:00
Marliana Lara
5d35506b0c
Add Inventory Host Add form
2019-12-12 13:58:22 -05:00
softwarefactory-project-zuul[bot]
e646b46a2c
Merge pull request #5479 from ghjm/configurable_login
...
Configurable login redirect
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2019-12-12 14:50:19 +00:00
mabashian
475e2605d4
Changes redirect logic slightly to lean on a global var to store the config response rather than a constant on the awApp module. This should allow us to avoid test changes.
2019-12-11 21:12:38 -05:00
mabashian
c16ad89ff9
Fix linting error (unused var)
2019-12-11 21:12:33 -05:00
mabashian
425d1168b9
Adds trailing slash to /api request
2019-12-11 21:12:26 -05:00
mabashian
7ceaa9ec4a
Changes redirect logic slightly to lean on a global var to store the config response rather than a constant on the awApp module. This should allow us to avoid test changes.
2019-12-11 17:21:02 -05:00
mabashian
4b3d3537b4
Fix linting error (unused var)
2019-12-11 17:21:02 -05:00
mabashian
efbff24528
Adds trailing slash to /api request
2019-12-11 17:21:02 -05:00
mabashian
1d9ce6cc15
Moves config request out to block of code that gets executed before the app is bootstrapped. This should allow us to redirect to the override url before the app begins to render, improving the UX.
2019-12-11 17:21:02 -05:00
mabashian
794ce96b17
Reverts changes to logout logic. We don't want to redirect to an override url if the user explicitly logs out.
2019-12-11 17:21:02 -05:00
mabashian
181421a2ee
Adds logic to redirect unauthenticated user if LOGIN_REDIRECT_OVERRIDE is set as long as the user is not navigating to /login or /#/login. Also redirects on logout if LOGIN_REDIRECT_OVERRIDE is set.
2019-12-11 17:21:02 -05:00
Graham Mainwaring
9c9496a683
Expose login redirect URL in unauthenticated /api view
2019-12-11 17:21:02 -05:00
Graham Mainwaring
2b111c81df
Add /login convenience URL
2019-12-11 17:21:02 -05:00
mabashian
f467e26842
Adds login redirect override field to the System (Misc System) Settings interface
2019-12-11 17:21:02 -05:00
Graham Mainwaring
7700050d10
Add default for LOGIN_REDIRECT_OVERRIDE
2019-12-11 17:21:02 -05:00
Graham Mainwaring
a8d34b46fb
Add setting for configurable login redirect URL
2019-12-11 17:21:02 -05:00