1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-02 09:51:09 +03:00
Commit Graph

1712 Commits

Author SHA1 Message Date
Matthew Jones
e66fa7cead Fix up some bugs for the UI's dummy endpoints 2014-03-20 22:09:21 -04:00
Chris Church
52b8792058 AC-1040 Fix migrations to work when creating an empty database for testing. 2014-03-20 21:46:16 -04:00
Chris Church
54c533d410 AC-1040 Unified jobs updates to get unit tests to pass (hopefully). 2014-03-20 19:16:58 -04:00
Chris Houseknecht
ed63ea433a Fixed refresh of inventory tree after a group refresh initiates. Fixed group add js error caused by source_vars == null when ec2 source selected. 2014-03-20 19:10:13 -04:00
Matthew Jones
f3e9be636c Add some dummy api end points for House 2014-03-20 17:59:58 -04:00
Chris Houseknecht
d38c8ee93e Inventory host edit method now supports and 'edit' and an 'add' mode. Adding a host now uses the shared modal module, giving it a resizable and draggable dialog along with auto-resizing textarea. 2014-03-20 13:20:03 -04:00
Chris Houseknecht
1bc9ab68eb Moved jqueryui dialog creation to a shared module along with textarea auto-sizing. Inventory host edit dialog is now constructed using this new module. Fixed host enabled flag on the host edit dialog so that it is disabled for externally managed hosts. 2014-03-20 12:25:26 -04:00
Matthew Jones
6f11502528 Emit log messages by default on the task runner 2014-03-20 11:46:58 -04:00
Matthew Jones
f1ac2ff899 Bug fixes for CentOS 2014-03-20 11:22:19 -04:00
Chris Church
b970bf54fa AC-1040 Update jobs models and migrations (work in progress). 2014-03-19 16:37:01 -04:00
Chris Houseknecht
18a5a6556e AC-1068 all variables (inventory, template, group, host) are now sorted alphabetically 2014-03-19 20:02:31 +00:00
Matthew Jones
c9340cf5f1 Add a new mechanism for automagically creating a tmux session, splitting it into panes, and starting each Tower needed tower service... This is so you don't have to start each one manually 2014-03-19 13:51:55 -04:00
Chris Houseknecht
7147a9ccf9 Clicking anywhere on Group name column now selects the row on Inventory detail page. 2014-03-19 13:42:45 -04:00
Matthew Jones
bf19b76d5a Merge remote-tracking branch 'origin/task-system-rework'
* origin/task-system-rework: (36 commits)
  Need to grab just the first item for the scm test project update
  Revert a project unit test
  Make sure we are calling signal_start in unit tests
  Make sure we are calling signal_start in unit tests
  Bypass task runner system in normal job start tests... we'll test it another way so assume we want to just start the job right away
  Fixing up unit tests
  Missing line-end comma
  Prevent deadlocks on unit tests in a very specific scenario
  Ignore checking celery task list during some unit tests, triggered by UNIT_TEST_IGNORE_TASK_WAIT
  Missing semicolon
  Remove update on launch, we'll test this another way
  Make sure we ignore the wait update for tasks under dependency situations in the unit tests
  Fix up run task manager script to handle signals, fix up task cancel job, add restart handler for ubuntu
  Fix some bugs found from unit tests
  More unit test rework
  Some job tests can't run in their current state
  Make sure we check arguments passed to signal start before allowing it to proceed.
  No need to replace original build_args
  Unit test updates for task system... remove old monkeypatch procedure for getting job args in favor of using the job info from the database. Can't do this anymore anyway since the job is running in another process
  Changes to tasks unit tests
  ...
2014-03-19 13:14:21 -04:00
Matthew Jones
d3d84706a4 Need to grab just the first item for the scm test project update 2014-03-19 12:53:11 -04:00
Matthew Jones
e24538865f Revert a project unit test 2014-03-19 12:49:13 -04:00
Chris Houseknecht
9886b73d2c Fixed bug in Inventory Group Add. Save was failing. Also when group vars failed to parse, the error was not bubbled up to the GroupEdit code. 2014-03-19 12:05:46 -04:00
Matthew Jones
0548126e33 Make sure we are calling signal_start in unit tests 2014-03-19 11:56:30 -04:00
James Laska
20aa89e33c Adjust interactive shell test
To improve grunt readability from test automation, disable colorized output
when running a non-interactive shell.
2014-03-19 11:29:02 -04:00
Matthew Jones
77e4d33770 Make sure we are calling signal_start in unit tests 2014-03-19 11:26:22 -04:00
Matthew Jones
14e138a7bd Bypass task runner system in normal job start tests... we'll test it another way so assume we want to just start the job right away 2014-03-19 11:09:14 -04:00
Chris Houseknecht
6cd5552b6a More work on new Jobs page. 2014-03-19 01:39:58 -04:00
Chris Houseknecht
6d6e9e45a8 Framework for new jobs tab. 2014-03-18 18:30:39 -04:00
Chris Houseknecht
9614103964 Starting rewrite of Jobs tab. 2014-03-18 15:25:22 -04:00
Matthew Jones
1093b00e2a Fixing up unit tests 2014-03-18 14:58:45 -04:00
Matthew Jones
7ac58dead3 Missing line-end comma 2014-03-18 12:04:27 -04:00
Matthew Jones
7fe474aec5 Prevent deadlocks on unit tests in a very specific scenario 2014-03-18 12:02:14 -04:00
Chris Houseknecht
0c4bd4bfa8 Fixed scope conflict between schedules_list and parent scope. 2014-03-18 11:32:38 -04:00
Chris Houseknecht
0f3bd58745 Only show 'Schedules' tab on inventory groups dialog when a source value is selected. 2014-03-18 10:35:00 -04:00
Chris Houseknecht
2585855e1c helpers/Groups.GroupsEdit now supports an 'add' mode for creating new groups. 2014-03-17 23:49:14 -04:00
Chris Houseknecht
633c63aadb Fixed inner dialog sizing issues so that resizing inventory edit dialog now resizes the schedule widget, keeping the inner widget slightly smaller than than dialog and scrolling the content vertically when needed. 2014-03-17 18:25:06 -04:00
Matthew Jones
fe625785c7 Ignore checking celery task list during some unit tests, triggered by UNIT_TEST_IGNORE_TASK_WAIT 2014-03-17 14:53:38 -04:00
Chris Houseknecht
7521de5904 Details view now working on inventory group edit dialog. 2014-03-17 13:03:57 -04:00
Matthew Jones
57fff65577 Missing semicolon 2014-03-17 12:55:59 -04:00
Matthew Jones
1243e044a0 Remove update on launch, we'll test this another way 2014-03-17 12:52:23 -04:00
Matthew Jones
e0b72ff452 Make sure we ignore the wait update for tasks under dependency
situations in the unit tests
2014-03-17 11:24:44 -04:00
Matthew Jones
f6ac7fb6d0 Fix up run task manager script to handle signals, fix up task cancel job, add restart handler for ubuntu 2014-03-17 11:05:53 -04:00
Chris Houseknecht
022f95783f Upgrading to latest angular-scheduler. 2014-03-17 09:46:51 -04:00
Chris Houseknecht
85b8b12e51 Incorporated latest angular-scheduler changes. Starting to add 'detail' schedule view to the inventory group edit dialog, allowing user to see occurrences and natural language description of a given schedule object. 2014-03-17 09:46:51 -04:00
Matthew Jones
28c9d77f29 Fix some bugs found from unit tests 2014-03-14 15:54:27 -04:00
Matthew Jones
382e1e96c7 More unit test rework 2014-03-14 15:25:06 -04:00
Matthew Jones
f3ea7d68cc Some job tests can't run in their current state 2014-03-14 13:00:33 -04:00
Chris Church
0587583f19 Allow inventory import to work with demo license. 2014-03-14 12:32:51 -04:00
Chris Houseknecht
df696b0199 Latest inventory group dialog changes. Finished styling schedule widget slide-in. 2014-03-13 16:49:23 -04:00
Matthew Jones
e6209d4d4f Make sure we check arguments passed to signal start before allowing it
to proceed.
2014-03-13 14:43:47 -04:00
Chris Houseknecht
7ba7d3c940 Latest inventory group dialog changes for schedules integration. 2014-03-13 13:35:27 -04:00
Matthew Jones
20285e18e5 No need to replace original build_args 2014-03-13 13:27:21 -04:00
Matthew Jones
c2950fdbdf Unit test updates for task system... remove old monkeypatch procedure
for getting job args in favor of using the job info from the database.
Can't do this anymore anyway since the job is running in another process
2014-03-13 13:25:45 -04:00
Matthew Jones
fe4b4043db Changes to tasks unit tests 2014-03-13 10:56:15 -04:00
Matthew Jones
16f0373766 Properly hand arguments on the base task 2014-03-13 10:53:38 -04:00