Commit Graph

3668 Commits

Author SHA1 Message Date
Leigh Johnson
e9570c9d52 Update package.json deps to include PhantomJS / karma launcher, update output location, freeze deps 2016-09-21 16:19:12 -04:00
Leigh Johnson
7e7bd76644 Fix schedules sitewide (#3469)
* Remove custom rrule module loaders, update angular-scheduler dept

* snip comment

* remove nlp module loaders
2016-09-09 10:49:28 -04:00
Leigh Johnson
ffd9c4eb4d Exclude tower.vendor.js from BrowserSync polling, remove chunk stats plugin, update ui deps 2016-09-07 13:28:06 -04:00
Leigh Johnson
c3b9050773 use a better-supported babel plugin instead of jank webpack loader for istanbul instrumentation (#3341) 2016-09-07 11:47:19 -04:00
Matthew Jones
f988877bae Merge branch 'stable' into devel
* stable: (24 commits)
  Updating changelogs for 3.0.2 release
  fixing deprecated_team.organization credential migration
  Fix issue when installing bundled ansible on el6
  fixed localed date stuff
  update test to check org_auditor access
  ensure team organizations are assigned to credentials
  temporarily pin the pytest version until the ldap error can be fixed
  fixed locale
  fix date locale angular scheduler
  Make sure org admins can see credential after migration, comment updates on related tests add clause in test to verify automatic setting of org of new team credential
  Update team admin credential migration test to current state-of-knowledge
  fix ng-toast rel, resolves #3197 (#3316)
  allow users to edit their first and last name
  Revert "Prevent ignored task from being displayed as failing."
  Revert "Modify job event save behavior"
  fixing old tests for new user creation permissions
  Clean venv on 'make clean'
  Resolve KeyError by coercing instance_id to a str
  Update cloudforms dynamic inventory
  Update foreman inventory script
  ...
2016-08-31 14:34:52 -04:00
John Mitchell
baa2481944 fixed localed date stuff 2016-08-26 11:49:31 -04:00
John Mitchell
d7b79c5f08 fixed locale 2016-08-24 11:50:56 -04:00
jlmitch5
0baeafa1f1 fix date locale angular scheduler 2016-08-24 11:39:16 -04:00
Leigh Johnson
034f266b07 fix ng-toast rel, resolves #3197 (#3316) 2016-08-23 13:48:10 -04:00
Leigh Johnson
25fa05da81 enable less sourcemaps, add cleanup for npm cmds run with --prefix 2016-08-19 13:16:24 -04:00
Matthew Jones
8893f8278a Merge branch 'release_3.0.2' into devel
* release_3.0.2: (126 commits)
  Disable permissions tab in Credential > Edit form if Credential is private (#3288)
  Tweaked the popover text for job and skip tags on JT add/edit
  Workaround a cascade setnull polymorphic issue
  flake8
  Fixed old test expectations
  Made it so the credential organization field can't be changed
  Skip some unit tests
  Fixed org auditor visibility of team credentials
  Fix sosreport
  fix credential kind options for list
  interpret any code below 300 as success
  bail when status code is over 300
  Make CloudForms inventory_script work
  Use no_log when handling passwords
  Prevent ignored task from being displayed as failing.
  making ec2 cred optional on group->edit
  making ec2 credential optional for ec2 inventory
  Revert "Fix to ensure org auditors can see team credentials"
  Fixed team credential list to work with corrected permissions
  Making the username and password fields optional
  ...
2016-08-18 22:52:55 -04:00
Leigh Johnson
fc1ca378d1 Disable permissions tab in Credential > Edit form if Credential is private (#3288)
* disable permissions tab in credential > edit view if credential is private, resolves #3265

* add tooltip indicating why permissions tab is disabled if cred is private
2016-08-18 13:49:05 -04:00
Michael Abashian
52803d2f04 Tweaked the popover text for job and skip tags on JT add/edit 2016-08-17 16:38:29 -04:00
Leigh Johnson
ce61fe4a42 Refactor UI Build System (#3203)
* initial build trial, clean up awx/ui

* fix hardcoded refs to ng-toast, add jshint preloader

* remove browserify test

* update grunt-jshint -> jshint module loader, browser-sync, update dev targets to build-docker-machine & build-docker-cid, fix blocking tasks

* less autoprefixer

* sample build commands

* fix release build

* update README

* karma config stub

* webpack config for karma tests

* karma preview for shane

* fix build-docker-machine target

* karma+webpack test pipeline configuration, stub tests

* fix smart/job status icons classes

* fix jquery + jsyaml shims, fix LESS cascade

* fix angular-codemirror dependency, explicitly import style/mode dependencies

* shim jsonlint

* fix angular-scheduler AMD imports, remove jquuery-ui shim, fix release config

* use closed $.fn.datepicker for system-tracking

* remove packaging/node/

* remove old tests

* shrinkwrap fragile dependency sandcastle, update README, lint

* first pass at fixing rrule shim

* update makefile targets

* update gitignore w/ new flag file

* add saucelabs karma config

* add license controller test

* add examples of service and directive tests

* Makefile flubs

* consolidate clean-ui target, compulsively update flag file location

* dep on CJS/AMD/UMD compatible version of rrule lib, fix example tests/config for demo

* boilerplate karma config for saucelabs (should be abstracted to common config after proven to work)

* update docs

* docs feedback

* update Dockerfile with Node 6.x dep
2016-08-17 16:09:54 -04:00
John Mitchell
5467b233eb fix credential kind options for list 2016-08-12 16:29:11 -04:00
Jared Tabor
a7a6aaa8ac Merge pull request #3240 from jaredevantabor/email_notification
Making the username and password fields optional
2016-08-12 07:54:27 -07:00
Jared Tabor
5e4362da69 making ec2 cred optional on group->edit 2016-08-11 13:09:56 -07:00
Jared Tabor
c21e142929 making ec2 credential optional for ec2 inventory
and fixing the autopopulate for that field (it should not autopopulate)
2016-08-11 12:56:17 -07:00
Jared Tabor
d8c713d5ef Making the username and password fields optional
for email notifications
2016-08-10 14:08:33 -07:00
John Mitchell
5761021f7e fix duplication of credential kind options 2016-08-10 14:50:36 -04:00
Michael Abashian
f9c8559bc2 Merge pull request #3237 from mabashian/3149-adhoc-breadcrumb
Fixed bug where breadcrumb was incorrect after launching adhoc command
2016-08-10 14:34:40 -04:00
kensible
a20e87c046 Merge pull request #3222 from kensible/3185-network-credential-password
Password is no longer required for network credential
2016-08-10 14:23:02 -04:00
kensible
ef32b57267 Merge pull request #3228 from kensible/3193-teams-permissions
Included org in teams listing for differentiation
2016-08-10 14:22:51 -04:00
Michael Abashian
8c4a784234 Changed the ng-if's on the breadcrumb elements to ng-show's so that they aren't removed from the DOM. Also removed activity stream logic from the inv manage breadcrumb as the activity stream is not shown on inventory manage. 2016-08-10 11:30:19 -04:00
jlmitch5
ea024c7e11 Merge pull request #3182 from jlmitch5/fixSearchDefaults
fix search defaults for lists
2016-08-09 13:53:06 -04:00
Ken Hoes
8f3be99583 Included org in teams listing for differentiation 2016-08-09 13:21:43 -04:00
Ken Hoes
59059633ed Password is no longer required for network credential 2016-08-08 14:16:56 -04:00
Michael Abashian
8be9e2b13e Merge pull request #3183 from mabashian/3165-job-tag-empty-string
Fixed empty string job/skip tags bug
2016-08-04 10:42:49 -04:00
Jared Tabor
d848fcfc4f Fixing recent jobs & recent syncs tooltip for inventories 2016-08-02 17:45:02 -07:00
Jared Tabor
3f69be1a86 Fixing popover for notification template status icon
the awPopOver directive was getting compiled mutliple times and therefore was triggering the on-click event multiple times
2016-08-02 14:42:21 -07:00
Michael Abashian
f4d7388ce2 Merge pull request #3176 from mabashian/2903-event-summary-dots-v3
Tweaked params on host events queries so that they all use runner_on_*
2016-08-02 11:08:34 -04:00
Michael Abashian
facb0e06d3 Merge pull request #3175 from mabashian/3072-inv-manage-host-checkboxes
Multi-select-list rollback and fixes
2016-08-02 11:08:13 -04:00
Michael Abashian
0d7a7ae57f Fixed bug where clearing out job/skip tags to an empty string wasn't be applied when launching a job 2016-08-02 11:05:42 -04:00
John Mitchell
a4af82254e fix search defaults for lists 2016-08-02 11:03:10 -04:00
Michael Abashian
0e702e0a50 Added support for skip_tags in the UI 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
Michael Abashian
d295dec1e2 Multi-select-list rollback and cleanup to fix checkboxes across multiple pages 2016-08-01 15:42:00 -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
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
Ken Hoes
3f7ff74e28 Returning btn-primary to blue 2016-07-29 10:20:08 -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
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
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
Michael Abashian
3e5244821f Vertically center smart status icons if they are all of one type 2016-07-27 13:30:12 -04:00
Michael Abashian
846391eebe Merge pull request #3086 from mabashian/3065-group-schedule-tooltip
Added tooltip to group schedule action button
2016-07-27 09:18:53 -04:00
Ken Hoes
44b2f8f1fb Fixed display of non-breaking names 2016-07-26 14:19:46 -04:00