Commit Graph

  • b12d5c90fd Inventory add/edit group->filter custom inv by org Jared Tabor 2014-12-15 15:11:43 -05:00
  • cc7edc770e Small fix for inventory source unit tests if the source is custom during check_inventory_source Matthew Jones 2014-12-15 15:13:27 -05:00
  • 901af011a1 Verify that we are passed a source script if a 'custom' source is provided Matthew Jones 2014-12-15 14:56:09 -05:00
  • 9e962d4d5b Fix up unicode project directory issue, with unit tests Matthew Jones 2014-12-15 14:17:07 -05:00
  • d410e1aa2c Survey maker Jared Tabor 2014-12-15 13:25:03 -05:00
  • e5ba0ce8bc Survey maker/taker issue with int/floats = 0 Jared Tabor 2014-12-15 13:23:33 -05:00
  • d2a4f2a190 Limit the graph builder to processing just the first few hundred jobs when building the dependency graph Matthew Jones 2014-12-15 12:46:10 -05:00
  • 651dd1239a Survey maker variable name checking Jared Tabor 2014-12-15 11:27:00 -05:00
  • a487257789 Cascade remove inventory source links when a custom script is removed Matthew Jones 2014-12-15 11:10:39 -05:00
  • eaee8d76c4 Fix a bug launching a custom inventory script under proot where we would never actually launch the job under proot Matthew Jones 2014-12-15 10:41:41 -05:00
  • 312c76788d Copy JT Jared Tabor 2014-12-15 10:14:14 -05:00
  • 4e5ebac6a0 Nicer error on bad arguments to user_info. Luke Sneeringer 2014-12-12 13:43:23 -06:00
  • 1e1ea4e9ee Some fixes for passing arguments to system/management jobs Matthew Jones 2014-12-12 13:40:10 -05:00
  • c0f4f7185b Projects/add Jared Tabor 2014-12-12 11:44:29 -05:00
  • 696e356fd1 Changed labels for survey maker min/max Jared Tabor 2014-12-12 10:21:57 -05:00
  • f52cf37200 All job template launches now require a credential, so we'll pass this along Matthew Jones 2014-12-11 16:24:12 -05:00
  • c2c47328df Survey taker float required error field Jared Tabor 2014-12-11 16:01:26 -05:00
  • 7b9a6a4bb8 float's weren't required for survey taker Jared Tabor 2014-12-11 15:42:26 -05:00
  • 1bfab5ad5c Make credential required when launching job template if it isn't provided on the job template Matthew Jones 2014-12-11 15:30:55 -05:00
  • eb51600790 Hiding 'relaunch' icon for system jobs Jared Tabor 2014-12-11 14:56:10 -05:00
  • f41a6f22bf Hide 'relaunch' icon for system jobs Jared Tabor 2014-12-11 14:47:54 -05:00
  • 96433b07d4 Incorrect object reference in Custom Inventory Script read acl for non-super-users Matthew Jones 2014-12-11 13:47:10 -05:00
  • 1c1aa1f807 Add custom inventory script to activity streams Jared Tabor 2014-12-11 13:26:23 -05:00
  • 2ef4ee0987 Change up older custom inventory script migration to not set unique on the name field Matthew Jones 2014-12-11 13:26:41 -05:00
  • 6f2a354b6e Wrong base class for Custom Inventory Scripts Matthew Jones 2014-12-11 13:25:15 -05:00
  • 0357bd074e Change user_exists to user_info. Luke Sneeringer 2014-12-11 12:04:09 -06:00
  • acf7e83843 delete Job Template Jared Tabor 2014-12-11 12:03:28 -05:00
  • 60d8505fd3 Disallow creating callback jobs for the same host under the same job template while another one is pending/waiting. Update unit tests to check for this scenario Matthew Jones 2014-12-11 11:50:01 -05:00
  • 2688f2c3cc Survey cancel button Jared Tabor 2014-12-11 11:44:19 -05:00
  • 7510714386 ToJSON fix Jared Tabor 2014-12-11 11:22:39 -05:00
  • b70464dfeb Job template form add mode, can_edit = true Jared Tabor 2014-12-10 16:22:09 -05:00
  • e668280d67 Permissions type text change Jared Tabor 2014-12-10 16:08:42 -05:00
  • c719149b86 Make sure we can DELETE system jobs if we have the right permissions Matthew Jones 2014-12-10 15:51:27 -05:00
  • 646bcd407f Job Detail events scrolling defect fix Jared Tabor 2014-12-10 15:16:03 -05:00
  • bc78587c60 Remove an unneeded acl processor for job events in the socketio daemon Matthew Jones 2014-12-10 15:00:15 -05:00
  • ec132ae151 Survey maker/taker html tag injection Jared Tabor 2014-12-10 14:04:34 -05:00
  • 6a162c2a3b Ansible folks say SIGINT works.... doesn't seem to stop the playbook to me, but whatever Matthew Jones 2014-12-10 13:44:08 -05:00
  • 1268fb6191 Permissions form-type label Jared Tabor 2014-12-10 12:05:47 -05:00
  • 1641122737 Disable survey if 'can_edit' is false Jared Tabor 2014-12-10 11:51:47 -05:00
  • ff2c82ce72 Include the migration for the custom inventory script change to support activity stream Matthew Jones 2014-12-10 11:34:08 -05:00
  • 017d42364b Add Custom Inventory Script to the activity stream from the api side Matthew Jones 2014-12-10 11:33:22 -05:00
  • 7df9ca8ae1 Force custom inventory scripts to start with a hashbang Matthew Jones 2014-12-10 10:59:20 -05:00
  • b1b9fdede5 Fix a bug where, when launching a job without a credential and subsequently supplying the credential we weren't able to pick up any ASK fields that we needed credentials for Matthew Jones 2014-12-10 10:40:48 -05:00
  • f7706c3808 Job Template form 'can_edit' Jared Tabor 2014-12-10 10:36:16 -05:00
  • f62b9ff2c0 Switch to using SIGTERM for canceling a job Matthew Jones 2014-12-10 10:34:06 -05:00
  • f121228d1a Project playbooks save issue Jared Tabor 2014-12-10 09:22:19 -05:00
  • b5e521a759 Survey maker Jared Tabor 2014-12-09 16:23:34 -05:00
  • a8390070c1 Explicitly typecast self.pk. Luke Sneeringer 2014-12-09 13:29:49 -06:00
  • 8afe8517fd Rename System Task to Management Job for UI consistency Matthew Jones 2014-12-09 11:46:03 -05:00
  • d0498de00c Update job template deployment permission help text Matthew Jones 2014-12-09 11:17:34 -05:00
  • 3af2c181b8 Add can_edit field on job templates Matthew Jones 2014-12-09 11:08:14 -05:00
  • 9de1dc31f9 Identify the master by hostname. Luke Sneeringer 2014-12-09 09:50:18 -06:00
  • 572c1765cd Different strategy on the inventory script serializer, this should work much better Matthew Jones 2014-12-08 16:45:43 -05:00
  • 5d6137c8a3 Add new inventory--empty source vars Jared Tabor 2014-12-08 16:41:23 -05:00
  • e10167ee5a Job Detail -- Events Summary Jared Tabor 2014-12-08 16:14:59 -05:00
  • c04ac45296 Add a unique constraint on 'name' and 'organization' for the custom scripts Matthew Jones 2014-12-08 15:49:45 -05:00
  • 9b61956c9e Hide script contents if the user is not a super user Matthew Jones 2014-12-08 15:10:16 -05:00
  • 9a44f8eca8 Further tighten down socketio service Matthew Jones 2014-12-08 14:41:36 -05:00
  • 5daeed14c7 Inventory source tab fix for vmware inventory Jared Tabor 2014-12-08 14:15:30 -05:00
  • 3d3cf2bb9e Make sure we include schedules as things that can be included when creatinga concrete job(any) from a job template, project update, or inventory update Matthew Jones 2014-12-08 14:03:16 -05:00
  • 9f6230f7cc Portal job templates default sort by Jared Tabor 2014-12-08 13:34:50 -05:00
  • 6d45dbbeb4 Default sort by w/ no link Jared Tabor 2014-12-08 13:33:35 -05:00
  • be63b3e0b3 adding 'noLink' property for list generators Jared Tabor 2014-12-08 13:29:57 -05:00
  • 8e28c73623 made organization required on custom inv script Jared Tabor 2014-12-08 12:52:07 -05:00
  • 9e8ec0ebd0 Host events variable parsing to prevent tag inject Jared Tabor 2014-12-08 12:27:13 -05:00
  • fd86b940e2 Prevent html injection in host events Jared Tabor 2014-12-08 11:10:20 -05:00
  • e8a837ea11 Add a default maximum of 10 jobs waiting from a job template if launched by a schedule Matthew Jones 2014-12-08 10:51:16 -05:00
  • 91527228db Demote settings imports in main utils Matthew Jones 2014-12-05 15:47:25 -05:00
  • ec887f877f Support running custom inventory scripts (only) from within proot if enabled Matthew Jones 2014-12-05 15:24:42 -05:00
  • d93870d828 Ability to remove instances. Luke Sneeringer 2014-12-05 14:19:51 -06:00
  • 1ffca45c4a Remove open modals when logging in Jared Tabor 2014-12-05 14:29:42 -05:00
  • 9c80dba4a2 Survey maker type change fix Jared Tabor 2014-12-05 12:14:08 -05:00
  • 4a0afd97b0 Added org column to custom inv scripts list Jared Tabor 2014-12-05 11:32:28 -05:00
  • 5eb4b59745 Projects form -> edit / SCM fix Jared Tabor 2014-12-05 11:06:34 -05:00
  • 224e136269 Portal mode column styling Jared Tabor 2014-12-05 11:00:56 -05:00
  • 688e80d82c One more extra vars fix. Chris Church 2014-12-04 17:55:21 -05:00
  • b4be8f7d49 Project SCM type drop down fix Jared Tabor 2014-12-04 15:51:38 -05:00
  • 12f07e454f Reenable test for key=value extra vars, remove some unused imports. Chris Church 2014-12-04 15:42:18 -05:00
  • 680e382a40 Comment out an old vars test representation Matthew Jones 2014-12-04 14:58:16 -05:00
  • d8c619554e Fix up some more issues with extra vars and unit tests Matthew Jones 2014-12-04 14:25:36 -05:00
  • a0bfe31847 Another attempt to correct markdown James Laska 2014-12-04 12:47:14 -05:00
  • 59ebc14f0d Correct markdown James Laska 2014-12-04 12:44:25 -05:00
  • c05d746d73 Fixed empty Extra Variable JSON parsing issue Jared Tabor 2014-12-04 11:59:07 -05:00
  • 3164c6d356 Fix an issue where we weren't properly dealing with extra data passed as survey answers when launching a job template Matthew Jones 2014-12-04 11:16:58 -05:00
  • d9e69fc2c3 Fixed JT form Reset button Jared Tabor 2014-12-04 10:49:50 -05:00
  • ce879f58d8 Added Organization lookup to custom inv script Jared Tabor 2014-12-04 10:27:52 -05:00
  • 3668b3c761 Fix callback consumer port to always be a URL, instead of sometimes an int. Chris Church 2014-12-03 20:49:08 -05:00
  • 36cf1e1e10 Fix callback consumer port used by job event callback. Chris Church 2014-12-03 20:44:19 -05:00
  • 1faa2be3b4 Fix for active hosts count when running unit tests with SQLite. Chris Church 2014-12-03 20:13:08 -05:00
  • fcf7398ec6 Add common code for determining active (licensed) hosts with unique names, update licensing code and inventory import to use it. Implements https://trello.com/c/2Q9Mosks Chris Church 2014-12-03 19:41:01 -05:00
  • 6b91f46082 Log warning and continue on invalid port specification. Fixes traceback from https://trello.com/c/0OgJ3uRb Chris Church 2014-12-03 19:27:52 -05:00
  • 526e4f2a2c Use unicode project path when searching for playbooks. Fixes https://trello.com/c/yJGDluu1 Chris Church 2014-12-03 19:10:49 -05:00
  • 109988da13 Fix typo, modify can_update to prevent inventory update from even starting when source script is missing. Chris Church 2014-12-03 18:35:33 -05:00
  • f893e4b00b Fixed small issue with JT form vars Jared Tabor 2014-12-03 16:33:33 -05:00
  • e05f9e081c Throw an error when running an inventory update against an inventory script that has been deleted Matthew Jones 2014-12-03 16:09:38 -05:00
  • c095ebcbfb Tooltip fix for vmware vars Jared Tabor 2014-12-03 15:39:20 -05:00
  • 706b770814 Fix up unit test referencing the custom inventory script Matthew Jones 2014-12-03 15:35:08 -05:00
  • 19c0d04885 Adding organization reference to the custom inventory script Matthew Jones 2014-12-03 15:05:26 -05:00
  • 9a90277e5e Environment Variables for VMWare inv source Jared Tabor 2014-12-03 15:03:17 -05:00
  • 6f09bb16ba Do not require an admin password on upgrade. Luke Sneeringer 2014-12-03 13:11:30 -06:00