Commit Graph

9097 Commits

Author SHA1 Message Date
AlanCoding d6c4c12c32 add API test coverage for empty tags and skip_tags 2016-08-02 10:43:51 -04:00
Wayne Witzel III 720eb8d6fb adding more credential parsing coverage 2016-08-02 10:39:16 -04:00
Wayne Witzel III da0b8ad2ff moving from old to unit folder 2016-08-02 10:39:02 -04:00
Bill Nottingham 7f5fe52def Merge pull request #3178 from wenottingham/release_3.0.2
Deal with the variety of RHUI repos across different cloud providers
2016-08-02 10:24:47 -04:00
Alan Rominger eeda3ce4a1 Merge pull request #3173 from AlanCoding/3115_ask_skip_tags
Add ask_skip_tags
2016-08-02 10:21:03 -04:00
AlanCoding c6ecdbbfc1 remove unrelated field from ask_skip_tags_on_launch migration and update
migration and access.py changes to not conflict with other changes
2016-08-02 10:04:49 -04:00
AlanCoding bedcdadcfc job launch read_only fields made more clear 2016-08-01 16:49:35 -04:00
Michael Abashian 0e702e0a50 Added support for skip_tags in the UI 2016-08-01 16:49:34 -04:00
AlanCoding 0271aa611c add field to JT for asking to skip tags 2016-08-01 16:49:34 -04:00
Michael Abashian 5d880ad3dc Tweaked params on host events queries so that they all use runner_on_* 2016-08-01 16:15:37 -04:00
Michael Abashian af983a02e0 Removed leftover consoles 2016-08-01 15:53:37 -04:00
Akita Noek fc253e2d71 Merge pull request #3174 from anoek/3076
Allow users to post some ignored read only fields to job templates without elevated permissions
2016-08-01 15:45:02 -04:00
Michael Abashian d295dec1e2 Multi-select-list rollback and cleanup to fix checkboxes across multiple pages 2016-08-01 15:42:00 -04:00
Alan Rominger 16959ef17d Merge pull request #3171 from AlanCoding/2567_AS_group_inv
Show inventory_id in activity stream for groups
2016-08-01 15:40:47 -04:00
Alan Rominger 1352fe822d Merge pull request #3172 from AlanCoding/3118_role_read
Drop in visible_roles to RoleAccess can_read
2016-08-01 15:40:21 -04:00
Matthew Jones 4881529688 Merge branch 'ui_release_3.0.1' into release_3.0.2
* ui_release_3.0.1: (54 commits)
  Returning btn-primary to blue
  Fixed adhoc relaunch logic to match normal adhoc launch logic
  Breadcrumb appears correctly on first run
  Fixed display of non-breaking names
  Continuing audit work
  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
  ...
2016-08-01 13:29:19 -04:00
Matthew Jones 3e1c0111f5 Merge branch 'api_release_3.0.1' into release_3.0.2
* api_release_3.0.1:
  add code to HostAccess can_add so the browsable API will work
  update unit tetsts
  use get_object_or_400 to fetch Role
  refactor to unit tests
  restrict User.admin_role membership changes through RoleUsersList
  fix test
  do not allow membership changes to User.admin_role
  RoleTeam and TeamRole sublist NotFound exception handling and test update
  add system job templates to the unified JT list
  Reorganize activity stream around org admin/auditors
  Allow instant cancel for new jobs
  orphan project protection in job delete access
  pass context into Job and JobList serializer classes
  pass context to unified job template subclasses
  Allow auditors to see same /api/v1/config information as admins
2016-08-01 13:23:37 -04:00
Matthew Jones 0189cd3d0c Bump version for 3.0.2 2016-08-01 11:55:30 -04:00
Matthew Jones 572f62e22a Merge branch 'stable' into devel
* stable: (30 commits)
  Remove ansible-tower.repo during packer cleanup
  Update package changelogs
  Enable SE boolean httpd_execmem
  Check that venv is activated before loading wsgi app (#3148)
  also limit creation of system auditors to superusers
  Make check for idle session more specific
  Use foreman.id instead
  flake8 fixups
  fixing tests for new team role assignment restrictions
  driveby cleanup
  do not allow assignment of system roles or user.admin_role to teams
  Add copyright back with utf-8 encoding
  Complete Sat6 integration
  Force requests to emit application/json
  fix issue with rbac_migrations logger
  Enable software collections repo on RHEL 6 + RHSM
  Fixed credential migration issue involving null inventory fields in job templates
  Allow instant cancel for new jobs
  Show new jobs in UI Jobs tab
  use existing logging infrastructure
  ...
2016-08-01 11:51:26 -04:00
Alan Rominger d2c040439e Merge pull request #3166 from AlanCoding/3163_host_box
Allow POST box for host list to show
2016-08-01 10:12:47 -04:00
Wayne Witzel III 27470b0648 Merge pull request #3160 from wwitzel3/api_3.0.1
do not allow membership changes to User.admin_role
2016-07-29 12:37:26 -04:00
AlanCoding 5dbbaf4105 add code to HostAccess can_add so the browsable API will work 2016-07-29 12:02:40 -04:00
James Laska 4e93475be1 Merge branch 'release_3.0.1' into stable 2016-07-29 11:31:50 -04:00
Wayne Witzel III b862a13d92 update unit tetsts 2016-07-29 11:30:33 -04:00
Wayne Witzel III 9baa9594c7 use get_object_or_400 to fetch Role 2016-07-29 11:29:49 -04:00
Wayne Witzel III b127e74ae4 refactor to unit tests 2016-07-29 11:29:43 -04:00
Wayne Witzel III 52865eea6a restrict User.admin_role membership changes through RoleUsersList 2016-07-29 11:29:41 -04:00
Wayne Witzel III a431ac7854 fix test 2016-07-29 11:29:39 -04:00
Wayne Witzel III 06bb8871d7 do not allow membership changes to User.admin_role 2016-07-29 11:29:36 -04:00
kensible df4a854ff0 Merge pull request #3162 from kensible/btn-primary-blue
Returning btn-primary to blue
2016-07-29 10:42:23 -04:00
Ken Hoes 3f7ff74e28 Returning btn-primary to blue 2016-07-29 10:20:08 -04:00
Alan Rominger a078254508 Merge pull request #3157 from AlanCoding/3129
Protect NotFound error in POST to TeamRoles
2016-07-28 20:20:00 -04:00
AlanCoding 1fb173b2e5 RoleTeam and TeamRole sublist NotFound exception handling and test update 2016-07-28 16:01:42 -04:00
Michael Abashian af7b87c73b Merge pull request #3155 from mabashian/3057-adhoc-relaunch-password
Fixed adhoc relaunch logic to match normal adhoc launch logic
2016-07-28 14:36:04 -04:00
kensible d1503c4327 Merge pull request #3154 from kensible/3149-adhoc-job-breadcrumbs
Breadcrumb appears correctly on first run
2016-07-28 11:58:13 -04:00
Graham Mainwaring 951d8e1555 Check that venv is activated before loading wsgi app (#3148)
Check that venv is activated before loading wsgi app
2016-07-28 10:31:29 -04:00
Michael Abashian 91fa769202 Fixed adhoc relaunch logic to match normal adhoc launch logic 2016-07-28 10:26:15 -04:00
Ken Hoes 978fec2a4a Breadcrumb appears correctly on first run 2016-07-28 10:16:23 -04:00
Michael Abashian 1d84139030 Merge pull request #3143 from mabashian/1790-smart-status-vert-align
Vertically center smart status icons if they are all of one type
2016-07-28 09:31:28 -04:00
Jared Tabor 3a66c83e7c Merge pull request #3151 from jaredevantabor/O-auth
Make check for idle session more specific
2016-07-27 14:22:42 -07:00
Alan Rominger 2895c9fe9c Merge pull request #3150 from AlanCoding/3146_org_admin_sys_aud
Limit creation of system auditors to superusers
2016-07-27 17:16:39 -04:00
AlanCoding 945635eb70 also limit creation of system auditors to superusers
squash
2016-07-27 17:02:08 -04:00
Jared Tabor 45e506ec0f Make check for idle session more specific
in order to avoid collision with a social auth session's startup.
2016-07-27 13:52:26 -07:00
kensible 3b451ccebb Merge pull request #3130 from kensible/2797-long-job-names
Fixed display of non-breaking names
2016-07-27 14:24:08 -04:00
kensible beed576292 Merge pull request #3128 from kensible/3122-audit-0725
Continuing audit work
2016-07-27 14:23:19 -04:00
Alan Rominger 0c8946702c Merge pull request #3139 from AlanCoding/3096_show_sys_JT
Show system JTs in the UJT list
2016-07-27 14:21:24 -04:00
Michael Abashian 3e5244821f Vertically center smart status icons if they are all of one type 2016-07-27 13:30:12 -04:00
AlanCoding 1d951a7eff use same model method to determine read permission as we do in the views 2016-07-27 12:13:38 -04:00
AlanCoding 32a9c812e3 special case filter to show inventory id for group 2016-07-27 11:48:22 -04:00
AlanCoding e27ce600c5 add system job templates to the unified JT list 2016-07-27 10:28:53 -04:00