Commit Graph

9030 Commits

Author SHA1 Message Date
Akita Noek 50ada022b5 Merge pull request #3082 from anoek/3077
Fixed the need for elevated permissions to make changes to job templates under some scenarios
2016-07-22 10:55:51 -04:00
Chris Meyers c42af3c61a forgot to remove label cleanup periodic task 2016-07-22 10:33:30 -04:00
Akita Noek 64d653bc61 Equate '' to None for foreign key references when PUTing to a job template
The UI will sometimes send an empty string instead of null, we already
handle this in our serializer and treat it as null, so this change
brings our access system in line with the expectation that those two
things should be equal.

 Possibly related to #3077
2016-07-22 10:11:33 -04:00
Chris Meyers eb89cf98cc Always create fact cleanup job 2016-07-22 10:05:00 -04:00
Chris Meyers 811d6dfe3d add missed log and fix dev env 2016-07-22 10:04:02 -04:00
Michael Abashian fde13c6a46 Prevent the page from reloading when an alert modal is open but not focused and the user hits enter 2016-07-22 09:55:14 -04:00
Akita Noek 2934cbbbae Allow users to post some ignored read only fields to job templates without elevated permissions
Previously, posting these fields would cause us to check and see if the
user has not only admin access to the job template but use access on
anything used by the job template (because the fields wern't white
listed as being ok to modify without comprehensive use access). It's
convenient for the QA team to be allowed include these fields in PUT's,
and since they're ignored, this patch is fairly benign and shouldn't
alter any behavior.

 #3076
2016-07-22 09:51:00 -04:00
Chris Meyers fd098e64dc log migration to standard tower log dir 2016-07-22 09:29:07 -04:00
Michael Abashian 180ec67d33 Added tooltip to group schedule action button 2016-07-22 08:54:50 -04:00
Michael Abashian c910efdfa0 Updated inventories permissions basepath 2016-07-22 08:36:20 -04:00
kensible 6fa95322f5 Merge pull request #3071 from kensible/2860-label-deletion-pagination
Deleting label passes current page number for pagination
2016-07-22 08:05:06 -04:00
Akita Noek 5bce9ee215 If you have use_role on an inventory, make it so you can use it in scan jobs
#3077
2016-07-21 17:22:11 -04:00
Michael Abashian 2115150b2c Merge pull request #3079 from mabashian/remove-tooltips-on-state-change
Remove tooltips if state changes while hovering over a tool tipped element
2016-07-21 17:00:47 -04:00
Chris Meyers 4cf7344dc4 check license permission on host create 2016-07-21 16:53:25 -04:00
Michael Abashian 6e27ec06f0 Merge pull request #3053 from mabashian/active-edit-paging
Fix for active row/edit icon bug when paging
2016-07-21 16:35:05 -04:00
Alan Rominger 49b8fc4003 Merge pull request #3070 from AlanCoding/3063_ui
Show "new" jobs in UI Jobs tab (UI 3.0.1)
2016-07-21 16:24:41 -04:00
Michael Abashian 265e334dd3 Remove tooltips if state changes while hovering over a tool tipped element 2016-07-21 16:20:55 -04:00
Chris Meyers 46998cdcfe Merge pull request #3075 from chrismeyersfsu/fix-fact_migration_performance
do not cache mongo records
2016-07-21 15:12:00 -04:00
Chris Meyers d886d07364 do not cache mongo read data on migration 2016-07-21 15:11:16 -04:00
Alan Rominger 03a24da2e1 Merge pull request #3061 from AlanCoding/3038_UJT_301
Pass context into unified Job, Job Template, and Job List serializers (API 3.0.1)
2016-07-21 11:58:26 -04:00
Alan Rominger 07a1f4bee2 Merge pull request #3062 from AlanCoding/3037_orphan_proj
orphan project protection in job delete access (API 3.0.1)
2016-07-21 11:57:58 -04:00
Alan Rominger 9513a14ac6 Merge pull request #3068 from AlanCoding/3063_cancel_flag
Allow instant cancel for new jobs (API 3.0.1)
2016-07-21 11:57:40 -04:00
Akita Noek 203279bef1 Merge pull request #3069 from anoek/3067
Fix migration problems with inventoryless job templates
2016-07-21 11:43:15 -04:00
Ken Hoes fbed0ac03b Deleting label passes current page number for pagination 2016-07-21 11:37:16 -04:00
AlanCoding efff0d68b5 Show new jobs in UI Jobs tab 2016-07-21 11:37:10 -04:00
John Mitchell f7bfeed0ca renaming dir again 2016-07-21 11:31:11 -04:00
John Mitchell d6bb405ebd renaming dir 2016-07-21 11:30:33 -04:00
Matthew Jones 495115af6a Bump version number for 3.0.1 release 2016-07-21 10:51:44 -04:00
Matthew Jones 1208450f59 Merge branch 'stable' into devel
* stable:
  Update 3.0 changelogs
  Spacing in sh script on merge conflict
  Update setup for bundled ansible-2 dependencies
  fix ansible2.0 bundle deps bootstrap
  Use yum's compare_providers() function instead of just pulling the latest alphabetically.
2016-07-21 10:49:50 -04:00
Akita Noek de9ae86ecc Fix migration problems with inventoryless job templates
#3067
2016-07-21 10:35:43 -04:00
AlanCoding 7e49a428e6 Allow instant cancel for new jobs 2016-07-21 09:05:32 -04:00
Michael Abashian 9f75635ea7 Merge pull request #3059 from mabashian/jobs-related-schedule-search
Maintain job schedule search query params after adding/removing search tags
2016-07-21 08:33:39 -04:00
Michael Abashian cadd54112b Merge pull request #3056 from mabashian/table-sort-home-host
Make home/host columns sortable
2016-07-21 08:33:13 -04:00
AlanCoding fc96952084 orphan project protection in job delete access 2016-07-20 10:21:38 -04:00
AlanCoding 29e35357e9 pass context into Job and JobList serializer classes 2016-07-20 10:02:59 -04:00
AlanCoding f154633277 pass context to unified job template subclasses 2016-07-20 10:02:09 -04:00
Matthew Jones 7b1fd964e3 Merge branch 'release_3.0.0' into devel
* release_3.0.0: (22 commits)
  remove aws ask at runtime prompt from cred form config, resolves #3055 (#3058)
  fix missing URI encoding in event summary serch, kickback on #2980 (#3050)
  Switch base class for StateConflict
  Fixed password show/hide on enter for survey maker password type previews
  Fixed password show/hide on enter for survey taker survey questions where type is password
  Prevent populate_user from being registered multiple times.
  Fixing iterator used when jobs list refreshes
  Explicit super user check for JT can_delete
  Fix for populating teams for LDAP user.
  Update hubspot template for marketting
  Fix up flake8
  Rolled back the onExit solution previously implemented to handle the backspace navigation on the job launch modal.  New solution listens for state changes within the directive and cleans itself up.
  Switch disallowed object delete to 409
  Password enter show/hide fix
  add test for CustomInventoryScript serializer
  Fixed bug where hitting enter in a password field in the job launch/survey maker modal would toggle the show/hide.
  Setting the local var CredentialList to the deep clone seems to be problematic.  Moving this out so that the original object itself is overwritten which is how it's done in other places. (#3017)
  Jobs list page size (#3019)
  resolves kickback on #2980 (#3008)
  add read_role to organization select_related
  ...
2016-07-18 21:16:01 -04:00
Matthew Jones 3ab8a93461 Merge branch 'release_3.0.0' into stable
* release_3.0.0: (2364 commits)
  remove aws ask at runtime prompt from cred form config, resolves #3055 (#3058)
  fix missing URI encoding in event summary serch, kickback on #2980 (#3050)
  Switch base class for StateConflict
  Fixed password show/hide on enter for survey maker password type previews
  Fixed password show/hide on enter for survey taker survey questions where type is password
  Prevent populate_user from being registered multiple times.
  Fixing iterator used when jobs list refreshes
  Explicit super user check for JT can_delete
  Fix for populating teams for LDAP user.
  Update hubspot template for marketting
  Fix up flake8
  Rolled back the onExit solution previously implemented to handle the backspace navigation on the job launch modal.  New solution listens for state changes within the directive and cleans itself up.
  Switch disallowed object delete to 409
  Password enter show/hide fix
  add test for CustomInventoryScript serializer
  Fixed bug where hitting enter in a password field in the job launch/survey maker modal would toggle the show/hide.
  Setting the local var CredentialList to the deep clone seems to be problematic.  Moving this out so that the original object itself is overwritten which is how it's done in other places. (#3017)
  Jobs list page size (#3019)
  resolves kickback on #2980 (#3008)
  Use the correct yum attribute name
  ...
2016-07-18 20:40:13 -04:00
Michael Abashian 95393a6dd8 Maintain job schedule search query params after adding/removing search tags 2016-07-18 16:51:05 -04:00
Leigh Johnson 62e5defac3 remove aws ask at runtime prompt from cred form config, resolves #3055 (#3058) 2016-07-18 15:34:59 -04:00
Michael Abashian bc1a29e5bf Make home/host columns sortable 2016-07-18 14:48:17 -04:00
Michael Abashian 6a8c9a2bfe Removed the track by $index default from our lists. This will fall back to track by $id(item) and re-render dom elements in ng-repeat. 2016-07-18 14:02:05 -04:00
Leigh Johnson c0e02f4a65 fix missing URI encoding in event summary serch, kickback on #2980 (#3050) 2016-07-18 13:34:53 -04:00
kensible 4f89e31af6 Merge pull request #3046 from kensible/2805-canceled-projects-tooltip
Added canceled tooltip for projects listing -3.0.1
2016-07-18 13:27:51 -04:00
Matthew Jones b587b892b0 Switch base class for StateConflict
This fixes the output format for the 409 exception return
2016-07-18 12:29:51 -04:00
Michael Abashian ec2cb9a3cc Merge pull request #3045 from mabashian/password-show-hide
Fixed password show/hide on enter for survey taker password
2016-07-18 12:24:25 -04:00
Michael Abashian 5894e5eb65 Fixed password show/hide on enter for survey maker password type previews 2016-07-18 10:55:18 -04:00
Ken Hoes 7c34b2d809 Added canceled tooltip for projects listing 2016-07-18 10:51:22 -04:00
Michael Abashian 43fc454a95 Fixed password show/hide on enter for survey taker survey questions where type is password 2016-07-18 10:35:57 -04:00
jlmitch5 3b926c36d9 Merge pull request #3013 from jlmitch5/readOnlyCodeMirror
add options for code mirror to be read only
2016-07-18 10:12:13 -04:00