5864 Commits

Author SHA1 Message Date
Wayne Witzel III
3d4580611e added pytest to requirements_dev
reworking test strucutre

reworked pytest.ini, removed functional imports, updated req_dev

remove unneeded __init__ files

add testing checker to local_settings examples

adding testing packages to system Python for docker
2016-02-01 18:37:56 -05:00
Wayne Witzel III
5d6ea242c0 reorganzing tests folder
make tests a module

refacotring to local imports for tests

fixing test import of tasks

fixing test import of tasks

more testing fixups
2016-02-01 18:37:56 -05:00
Chris Meyers
7b07bb7d93 fix bad mocking 2016-02-01 16:02:52 -05:00
Jared Tabor
6efe8a9360 Merge pull request #758 from jaredevantabor/text-input-styling
Styling of text input fields
2016-01-31 14:11:59 -08:00
Matthew Jones
f9f10a4ed7 Add some more statsd dummy methods 2016-01-30 12:05:10 -05:00
Jared Tabor
47e80405e2 Styling of text input fields 2016-01-29 15:06:13 -08:00
Matthew Jones
96b754c5ec Switch to StatsClient from StatsClientBase
So as not to use a purely abstract class
2016-01-29 16:27:32 -05:00
Matthew Jones
c2875c65ca Fix stats client import 2016-01-29 15:49:51 -05:00
Matthew Jones
fd2339dbb8 Fix up flake8 line seperation issue 2016-01-29 14:52:02 -05:00
Matthew Jones
72d3d093ed Merge pull request #753 from ansible/jag/fix-nostatsclient
Fix to NoStatsClient in callback plugin
2016-01-29 14:43:16 -05:00
Joshua "jag" Ginsberg
d36a4cf50d Fix to NoStatsClient in callback plugin 2016-01-29 12:41:07 -07:00
Matthew Jones
c7fd21ae52 Fix up flake8 and unit test failures
* Make sure we default to localhost to not fail at the GAI check
* Cleanup some flake8 issues in the metrics module
2016-01-29 13:59:37 -05:00
Matthew Jones
16a0d8b45d Merge pull request #710 from ansible/jag/dumb-init
Use dumb-init to manage processes in docker containers
2016-01-29 10:15:00 -05:00
Matthew Jones
af65a88a0f Merge pull request #707 from ansible/jag/statsd
Add optional statsd metrics gathering
2016-01-29 09:59:01 -05:00
Michael Abashian
4edca4491c Merge pull request #736 from mabashian/status-icon-with-name
Shifted status column to the left side of all tables
2016-01-28 13:46:19 -05:00
Michael Abashian
e52d31e861 Removed status label from home groups 2016-01-28 13:14:16 -05:00
Michael Abashian
34185304d6 Made the "status" columns throughout the project a static width and nestled it up against the name/id column to match up with the spec. Made all the tooltip hovers appear to the right of the icon since they are all lined up on the left side of the table now. 2016-01-28 12:25:51 -05:00
Jared Tabor
9c538b5618 Merge pull request #732 from jaredevantabor/textarea-styling
Restyling of textarea input fields
2016-01-28 08:43:23 -08:00
Graham Mainwaring
f93a1ffab9 Merge pull request #678 from ghjm/oracle_linux
Add installer support for Oracle Linux 6 and 7
2016-01-28 11:26:17 -05:00
Jared Tabor
b68b1231a2 removing stale textarea code 2016-01-28 08:04:14 -08:00
Jared Tabor
187c01e349 Restyling of textarea input fields
This mostly includes the Code Mirror instances as well as textarea fields on the credentials form. Also includes the styling of radio button for the variables textarea box.
2016-01-27 21:54:03 -08:00
Michael Abashian
b414708aba Merge pull request #723 from mabashian/hide-search-bar-no-rows
Hide form generator search bar when list is empty to start with
2016-01-27 13:33:47 -05:00
Michael Abashian
dfb02aea4f Fixed several schedule action buttons that were defining href's. Got the job templates schedule view rendering so that other features can be worked on until this view is fully updated. 2016-01-27 11:47:44 -05:00
Michael Abashian
64f4cb03e7 Added the ability to pass ngShow to the SearchWidget generator helper. By specifying this parameter we can control when the search bar gets shown. In this case we want to hide the search bar when a list is empty to start with. 2016-01-27 10:14:18 -05:00
Joshua "jag" Ginsberg
f25b76aee9 Integrate statsd metrics into ansible playbook execution.
* Add dependencies for pystatsd and django-statsd-mozilla
* Default turned off except for development environment
* Modify docker-compose to install statsd/graphite host
2016-01-26 16:54:24 -05:00
Matthew Jones
56d0cbfeff Cover DELETEing the license from database config
Fix the standard license delete behavior on the /config endpoint.  It
was covered elsewhere but this is the common path for license posting/removing
2016-01-26 16:31:38 -05:00
Michael Abashian
966e40d030 Merge pull request #719 from mabashian/table-search-bar-spacing-fix
Fixed spacing between the search bar and the list table
2016-01-26 16:30:25 -05:00
Michael Abashian
2012e75160 Fixed the spacing issue between the bottom of the search bar and the top of the table. There should now be 20px between the two. 2016-01-26 16:02:35 -05:00
Michael Abashian
65e40ff433 Merge pull request #717 from mabashian/reorder-list-columns
Changed column order on a few tables to match up with spec
2016-01-26 14:54:56 -05:00
Michael Abashian
7684354bac Changed column order on a few tables to match up with spec 2016-01-26 14:11:03 -05:00
Michael Abashian
2312c8dff8 Merge pull request #714 from mabashian/list-view-and-delete-modal-fixes
List view styling tweaks based on UI/UX feedback
2016-01-26 13:42:53 -05:00
Michael Abashian
a8d51da73c List view styling tweaks based on UI/UX feedback. Fixed various bugs dealing with the list views/pagination/delete modal(s). Fixed the jobs list responsive weirdness. 2016-01-26 11:12:59 -05:00
Akita Noek
74dc4a59c2 Merge pull request #683 from anoek/test_performance_rrule
5% performance boost on make test
2016-01-26 11:11:38 -05:00
Alan Rominger
a7e5ad2e95 Merge pull request #669 from AlanCoding/624_fix2_exit_codes
Scan services fix for RHEL5, throw error message for Debian when non-root
2016-01-26 11:02:14 -05:00
AlanCoding
657f941ea0 RHEL5 compatibility and handling of error scenarios 2016-01-26 10:54:41 -05:00
Matthew Jones
769fe18724 Wrap up other places where the old license access method is used 2016-01-25 20:59:18 -05:00
Matthew Jones
296ca52b0f Merge pull request #661 from matburt/651_fix_rax_cache_behavior
Fix for rax cache timeout issue
2016-01-25 20:40:19 -05:00
Joshua "jag" Ginsberg
16c6f93aa2 Apply to all Dockerfiles and use the preferred ENTRYPOINT form. 2016-01-25 16:58:04 -05:00
Jared Tabor
8b7fa62fb8 Merge pull request #711 from jaredevantabor/jobs-page-tabs
Jobs Page tabs re-styling
2016-01-25 13:54:10 -08:00
Matthew Jones
f775fa9680 tasks env vars should be strings
This was causing rax unit test failures which are now alleviated
2016-01-25 16:51:33 -05:00
Jared Tabor
652a41c84f Jobs Page tabs re-styling
Removing the Bootstrap tabs in place of our custom ones
2016-01-25 13:43:15 -08:00
Joshua "jag" Ginsberg
df072c1a6f Initial attempt at dumb-init 2016-01-25 16:01:53 -05:00
Matthew Jones
b35f84b401 Bypass license database check for cleanup schedule
We pre-create some cleanup jobs if a license is already present, this
doesn't work with the database config as-is.  These can be removed at
some point in the future once the 2.4 migration path is not needed
2016-01-25 15:53:17 -05:00
jlmitch5
1979c33225 Merge pull request #677 from jlmitch5/sprint1UIFixes
Updated to ui add/edit/list crud interactions
2016-01-25 15:19:05 -05:00
Matthew Jones
3132d4efee Fix license enablement utility helpers
We know call "from_database" which can implicitly call "from_file" if
the database config isn't available.
2016-01-25 14:09:04 -05:00
John Mitchell
18fffdcf18 fixed user and team edit/add indicator and auto-pagination 2016-01-25 12:01:32 -05:00
Akita Noek
39d84c3cda 5% performance boost on make test
Calling `.after` on a dateutil.rrule object that has an UNTIL clause
performs very poorly if the interval is low and the start time is a long
time ago. This patch replaces two test cases where we were using a
minute interval with a fixed start time of (currently) 2 years ago,
which resulted in aproximately 40s of execution time to simply evaluate
`.after(now())`. Replacing these two tests with tests that start from
"yesterday" while keeping the same INTERVAL and UNTIL settings
eliminates this unnecessary slowdown while maintaining the spirit of the
original tests.
2016-01-25 09:37:59 -05:00
Michael Abashian
01eca729b1 Merge pull request #679 from mabashian/form-list-css
Styling updates to form generator lists
2016-01-25 09:12:51 -05:00
John Mitchell
3985e248bf fixed indicator loading on incorrect row 2016-01-22 18:37:29 -05:00
Michael Abashian
0d64563dd8 Styling updates to list views that get generated in the form generator. Moved the button generation out into a helper for these specific cases. 2016-01-22 16:45:40 -05:00