Commit Graph
100 Commits
Author SHA1 Message Date
Chris Meyers 8198abe3fa join array of emails using '\n' when displaying
* Don't ASSume user email addresses don't contain ,
* Allows email addresses to contain ,
2017-01-24 15:58:59 -05:00
Chris Meyers cf52b82fa6 hide smart search also 2017-01-24 15:33:18 -05:00
Chris Meyers e06f2661f8 conditional stdout resize tooltip text
related to #4785
2017-01-24 10:12:29 -05:00
Chris Meyers 1f0733b31a tooltip location
related to #4789
2017-01-23 11:35:33 -05:00
Chris Meyers ecb3082490 hide pagination based on superness of user 2017-01-23 11:22:10 -05:00
Chris Meyers 8f9aecf716 hide add permissions when editing super user 2017-01-20 17:11:16 -05:00
Chris Meyers a59da9115e allow overriding chkbox ngDisable inheritance
Allow checkbox associated with form textbox to override the enherited
ngDisabled condition set on the associated "parent" form textbox.

This allows "Ask at Runtime?" checkboxes to be unchecked.

Note: I did not expand this feature to anything outside the scope of
fixing this problem. i.e. only password textbox fields.

related to #4857
2017-01-20 14:33:42 -05:00
Chris Meyers be3ff85500 center the red and green balls
related to #3967
2017-01-20 11:15:04 -05:00
Chris Meyers e2a13495c8 formatting and i18n fixes 2017-01-20 09:53:17 -05:00
Chris Meyers 627203a5ee spelling things 2017-01-19 12:13:48 -05:00
Chris Meyers e40d637e56 fix 2017-01-19 12:05:46 -05:00
Chris Meyers fcdb0ed2f2 added ansible version note for set_stats 2017-01-19 12:05:10 -05:00
Chris Meyers 00f94098f5 revisions 2017-01-19 11:58:21 -05:00
Chris Meyers 378a620733 add acceptance docs for set_stats 2017-01-19 11:10:16 -05:00
Chris Meyers 38d4d97e11 add extra UI components for fact cache cleaning
related to #4777
2017-01-18 15:24:14 -05:00
Chris Meyers 49a29168e6 "reload" page when project deleted
related to #4611
2017-01-18 11:00:07 -05:00
Chris Meyers 7bc720b435 rectifiy dashboard proj sync count with UI link
* The dashboard project sync failure count only includes project syncs
that have failed, not that have been canceled. Thus, the link from the
dashboard that displays the list of failed project updates should only
include the failed ones, not the canceled ones.

related to #2827
2017-01-18 10:52:07 -05:00
Chris Meyers 67f282f64d begin re-implementation of auto-populate feature 2017-01-17 17:04:52 -08:00
Chris Meyers e0ffb7814d replace all instances of , with \n
related to #4698
2017-01-17 18:25:26 -05:00
Chris Meyers 01c1c513f9 remove token from stdout download
related to #4759
2017-01-17 17:27:13 -05:00
Chris Meyers 49c2838036 tooltip a bit better
* update tests for i18n
2017-01-17 16:39:56 -05:00
Chris Meyers 6729717f13 add translations 2017-01-17 15:41:08 -05:00
Chris Meyers e904deb3e7 subvert potential monkey punch 2017-01-17 15:00:20 -05:00
Chris Meyers 768ddaed31 add org to permission team role
related to #3326

* Reduce confusion when 2 teams with the same name, belonging to diff
orgs, are given permission to the same resource. The confusion is
eliminated by showing the org that a team role belongs to in the
tooltip.
2017-01-17 13:31:21 -05:00
Chris Meyers 322c774823 download standard out tooltip
related to #4342
2017-01-17 09:51:48 -05:00
Chris Meyers 2088b1fcfe omit search-tags dynamically 2017-01-16 11:07:38 -05:00
Chris Meyers a58433ed9b activity stream, display name of resource as title
related to #4185

* When activity stream is gone to from a resource edit view, it should:
  * only show activity for the particular object
  * display the name of the resource as a title

This commit patch half-ass does those two things. So what's missing?
That questions is best answered by looking at how the feature behaves in
tower 3.0.3. You'll notice that you are "locked" on the resource you are
viewing the activity stream for. With this commit:
* You aren't locked
* The removal of the resource-id filter (smart-search) is borked.

So what do we need to do?:
* Lock the view to the resource being viewed

How do we need to do it?:
* router params.activity_search.values is a "static" thing. It is used
to tell smart-search to not generate search tags. This is what we want
to do. However, this is a contructor-only parameter. Further, the value
"value" gets passed around to all sorts of other UI contructors that are
hard to get access to when they are needed to try and dynamically set
smart-search ignore search-tags.
2017-01-16 08:57:37 -05:00
Chris Meyers a9926a6451 fix overflow on error modal for all things
related to #4508

* Removed one-off fix for callback url long host config key
2017-01-12 16:27:23 -05:00
Chris Meyers 2215f8561b better spacing 2017-01-12 15:05:01 -05:00
Chris Meyers c67989bc90 correctly cancel/delete on job details
related to #4620

* Changed cancel prompt buttons from "Cancel" "Cancel" to "Cancel"
"Proceed", talk about some confusing shit.
* Removed copy and pasted code that would call a delete upon canceling a
job
* Don't expect job_status to be an object in the view, just
`job_status`, not `job_status.status`
2017-01-12 11:32:56 -05:00
Chris Meyers ee0295a378 css mods 2017-01-12 10:55:54 -05:00
Chris Meyers 1cf3a259ee add view more/less logic to credential owners
related to #3313
2017-01-11 18:04:47 -05:00
Chris Meyers a9f78af3d2 wire up teams into the rbac list directive
related to #4675
2017-01-11 16:52:31 -05:00
Chris Meyers eaf883f349 dem controllers just needed to know who headers is
related to #4663
2017-01-11 14:02:41 -05:00
Chris Meyers e1ce3c3199 add title parameter to rbac modal directives
related to #4048
2017-01-11 10:58:40 -05:00
Chris Meyers 9826012499 do not display tab tooltip in edit mode by default
related to #4387
2017-01-11 09:25:00 -05:00
Chris Meyers e5a2671d21 rename wfjt to Workflow Template in OPTIONS 2017-01-10 18:23:52 -05:00
Chris Meyers b903ad069e Revert "display workflow template instead of wfjt"
This reverts commit 459b03e2e90b2aeaaf071a7438323890f238bf3f.
2017-01-10 18:23:26 -05:00
Chris Meyers 3a118f911d change projects list field ordering
related to #4372
2017-01-10 18:02:44 -05:00
Chris Meyers 5a5fcb1614 remove activity stream link on scheduled jobs list
related to #3833
2017-01-10 17:44:37 -05:00
Chris Meyers 36acc5c6bc better empty list error message
related to #4047
2017-01-10 17:19:24 -05:00
Chris Meyers a41fd5bdf8 display workflow template instead of wfjt
related to #3404
2017-01-10 17:11:45 -05:00
Chris Meyers f2d2409c16 mispellings and reduce verticle space usage 2017-01-10 17:03:42 -05:00
Chris Meyers 806e6d143f word wrap large callback key in alert modal 2017-01-10 16:45:44 -05:00
Chris Meyers fb1e00e3ae better job list empty message
related to #4250
2017-01-10 16:42:30 -05:00
Chris Meyers d590432590 gracefully handle 409 on delete
related to #3245
2017-01-10 15:54:06 -05:00
Chris Meyers ff41992194 don't include var if not going to use it 2017-01-10 15:52:08 -05:00
Chris Meyers fe896dbda5 permission tab disable for private credentials 2017-01-10 12:58:38 -05:00
Chris Meyers 7f6551ec20 consider org id in url an int 2017-01-10 10:12:09 -05:00
Chris Meyers 8caf355857 handle reload when deleting org card under edit 2017-01-10 09:50:54 -05:00
Chris Meyers 1e5b3fbe31 handle undefined (empty) ec2 variable textarea
* Adding a check for undefined, null check was not enough.
applyDefaults() is only called in 'add' mode. This method is responsible
for settings the fields value to the passed in 'default'. Since
applyDefaults() isn't called in 'edit' mode, the field has a value of
undefined.
2017-01-09 16:43:02 -05:00
Chris Meyers 90be8644ec move error divs down a line 2017-01-09 12:53:45 -05:00
Chris Meyers 86a9a921eb remove deepcopy, not sure how that slipped in 2017-01-06 11:47:45 -05:00
Chris Meyers a1267a3dee update artifacts to work with ansible set_stats 2017-01-06 10:04:57 -05:00
Chris Meyers 03734015c5 set_stats support 2017-01-05 13:42:29 -05:00
Chris Meyers 55047a5643 letters, they matter 2017-01-04 11:25:39 -05:00
Chris Meyers 57cbf536dd unit test update for network cred changes
* Ensure network ssh key file set as env variable and remove tests that
checked for ssh key being added to the keyring
* Ensure that network credentials are set in the job run environment as
well as saved to the job model.
2017-01-04 10:48:09 -05:00
Chris Meyers 721de9f10a pass network ssh key via an env var, not ssh-agent 2017-01-03 16:17:52 -05:00
Chris Meyers f794b1eb1f prevent click-jacking 2017-01-03 10:46:42 -05:00
Chris Meyers 6fe6917029 fix passive agressive comments 2016-12-20 15:40:43 -05:00
Chris Meyers f5ccdde508 pip prefers - not _ 2016-12-20 15:15:10 -05:00
Chris Meyers 8b06d9a571 change wording from Host to URL 2016-12-20 15:12:50 -05:00
Chris Meyers 12397ce610 bump pkg info tower version to 3.1.0 2016-12-20 14:42:00 -05:00
Chris Meyers 97fccd32d8 organization pattern differs from other views through the use of
partials. Stick with this one-off and just patch up the wrongly nested
smart-search / List-well divs.
2016-12-20 14:30:58 -05:00
Chris Meyers 6373642a67 explicitly install ssl backport for gce libcloud 2016-12-20 11:08:51 -05:00
Chris Meyers d985f07838 use vmware uuid that is most unique 2016-12-19 17:12:52 -05:00
Chris Meyers dbef3b7571 update vmware inv sync unique instance id 2016-12-19 17:10:56 -05:00
Chris Meyers 2f9a5409c3 code logic fix and vmware active var updated 2016-12-19 17:08:27 -05:00
Chris Meyers 139d80bcbb deps for new vmware inv script 2016-12-19 17:03:18 -05:00
Chris Meyers 4e71690bf3 only print dep warn for rax 2016-12-19 16:55:57 -05:00
Chris Meyers b72a148cbc vmware_inventory dyn inv script support 2016-12-19 16:39:10 -05:00
Chris Meyers 1c4e6c55f5 bump foreman and expose new grouping features
related to #3467
related to #5226
related to #4373
2016-12-19 11:26:43 -05:00
Chris Meyers a95880b60a fix license not found err msg 2016-12-19 10:39:28 -05:00
Chris Meyers afe7293118 remove uneeded print 2016-12-16 15:52:25 -05:00
Chris Meyers d550f6153a more jenkins removal fixes 2016-12-16 14:43:20 -05:00
Chris Meyers 304fcbe945 requirements jenkins is no longer a thing 2016-12-16 14:29:57 -05:00
Chris Meyers fc5b13f413 update notification sending tests 2016-12-16 11:40:35 -05:00
Chris Meyers bf23f6a52c associate notifications with job before sending notifications
related to #3391
2016-12-16 11:26:16 -05:00
Chris Meyers 5d9d332792 rackspace deprecation warning on inv update 2016-12-16 10:36:38 -05:00
Chris Meyers a566cec5db rectifiy arch name in fact scans 2016-12-16 10:06:34 -05:00
Chris Meyers 25ee37fd3a change session limit message 2016-12-16 09:30:23 -05:00
Chris Meyers 4509f402a8 send notification when recifiying celery jobs 2016-12-15 16:31:39 -05:00
Chris Meyers ef1f77bf8e fix what I broke with the job through cancel proj update 2016-12-15 16:13:09 -05:00
Chris Meyers 55827611b6 filter out ansible_* facts from provision callback extra_vars
related to #4358
2016-12-15 15:37:56 -05:00
Chris Meyers e69f6726d0 fix unit test 2016-12-15 09:31:58 -05:00
Chris Meyers 2ec47737bb another flake8 fix 2016-12-15 09:29:31 -05:00
Chris Meyers f026a96d94 flake8 fix 2016-12-15 08:59:24 -05:00
Chris Meyers bdfac35f3f cancel job also cancels project update
related to #4225
2016-12-14 16:26:18 -05:00
Chris Meyers b533a9eb7b purge make requirements_jenkins 2016-12-14 10:30:28 -05:00
Chris Meyers 6348ed97dd uninstall certifi if installed in venv's 2016-12-14 09:53:24 -05:00
Chris Meyers 248f030744 bump dyn inv sync scripts 2016-12-13 17:14:43 -05:00
Chris Meyers 732eb6c632 fix gce and maybe azure cert issues 2016-12-13 17:13:14 -05:00
Chris Meyers 44c6127a48 fix gce and maybe azure cert issues 2016-12-13 17:11:44 -05:00
Chris Meyers 35fe4c8448 remove pyzmq 2016-12-09 14:34:32 -05:00
Chris Meyers 40d5142d11 remove more mongo things 2016-12-09 14:19:41 -05:00
Chris Meyers 812b7c5f5f fix two inv updates created from 1 jt run 2016-12-09 14:09:58 -05:00
Chris Meyers cc7c2957cf always chain failures
* When inv and proj updates trigger from a JT run, if either update
fails then the job template should get marked failed. Before this
commit, the job template would get marked failed ONLY if there was
enough capacity to run all the associated updates within the same
schedule() call. If, instead, the associated updates were ran in another
schedule() call, the failure chain was lost. This changeset fixes that
by saving the necessary data in the dependent_jobs relationship so that
the failure is always chained.
2016-12-09 14:09:54 -05:00
Chris Meyers 514839938b fix two inv updates created from 1 jt run 2016-12-09 13:39:12 -05:00
Chris Meyers 49a5c136dd add vmware deps to ansible venv 2016-12-06 13:29:53 -05:00
Chris Meyers a5b1c7b579 use more precise exception 2016-12-05 13:54:33 -05:00