Commit Graph

  • 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
  • fcc7d3d7b1 Rework the callback emitter a little more, purge tower internals from the module and fallback to the older codebase's mechanism. Make sure we are passing the callback port as a string otherwise it seems to corrupt the shell Matthew Jones 2014-12-03 11:26:51 -05:00
  • 8a2a829bac Fixed reset on custom inv form Jared Tabor 2014-12-03 11:10:23 -05:00
  • 4d99e917ce Updated build_system docs James Laska 2014-12-03 08:43:10 -05:00
  • 987fd4b3e0 Add name as default sort field for portal job templates. Fixes https://trello.com/c/AIZfaLVC Chris Church 2014-12-03 00:52:01 -05:00
  • ba652b5dd3 Updated blacklist/rules for environment variables that can be set by source_vars for a custom inventory script. Fixes https://trello.com/c/CWbeHJ0L Chris Church 2014-12-03 00:45:46 -05:00
  • 21385d1315 Added /portal redirect. Fixes https://trello.com/c/E63JCT96 Chris Church 2014-12-03 00:33:25 -05:00
  • 02f9f68536 Added API validation of instance filter names. Fixes https://trello.com/c/VH9Vnd8z Chris Church 2014-12-03 00:26:25 -05:00
  • 2f3d9e9f36 Handle/ignore poorly formatted EC2 instance filters. Fixes https://trello.com/c/YMtWTaW9, https://trello.com/c/laUovaOm and https://trello.com/c/Hu11HhC4 Chris Church 2014-12-02 23:56:35 -05:00
  • 564ba7bf68 Work on update/cancel serializers/views to return correct field names in OPTIONS response. Chris Church 2014-12-02 18:55:54 -05:00
  • 696475591a Cleanup Jobs prompt for days >=0 Jared Tabor 2014-12-02 15:44:47 -05:00
  • 13ee4e6048 Fix up an issue passing the callback port, which isn't strictly necessary... if provided it causes a crash that corrupts the shell Matthew Jones 2014-12-02 15:45:47 -05:00
  • 7e94282934 Better handling of foreign key parameters for (re)launching jobs. Fixes https://trello.com/c/Ty5cjHBd Chris Church 2014-12-02 15:12:45 -05:00
  • 9dfa26fa58 Do not use ip_address on instances anymore. Luke Sneeringer 2014-12-02 13:17:31 -06:00
  • f99a73fb85 text/textarea min/max length Jared Tabor 2014-12-02 14:00:16 -05:00
  • e9e2c1f6ab awSurveyVariableName directive Jared Tabor 2014-12-02 12:44:16 -05:00
  • f890b6daa7 Shift makefile to hostname. Luke Sneeringer 2014-12-02 11:20:03 -06:00
  • c3b962ced5 /api/v1/ping/ was added in 2.1.0 Luke Sneeringer 2014-12-02 10:39:54 -06:00
  • d6699353e5 Save hostnames, not IP addresses, for HA. Luke Sneeringer 2014-12-02 10:34:22 -06:00
  • 4afa7a0d4d Remove AMI vars-aws-keys.json file James Laska 2014-12-02 11:29:49 -05:00
  • c96b317202 Launch job from job template form Jared Tabor 2014-12-02 10:06:57 -05:00
  • e14630b155 renamed ngmin/ngmax Jared Tabor 2014-12-01 22:52:55 -05:00
  • 98fa7eae40 Float directive Jared Tabor 2014-12-01 22:10:34 -05:00
  • a7066443f0 Fixed wording for custom inventory scripts Jared Tabor 2014-12-01 20:38:16 -05:00
  • f3037a3b06 Improved ngmin/ngmax Jared Tabor 2014-12-01 16:01:17 -05:00
  • fc5eb09e2a Fix up some rbac issues that were blocking survey taker incidentally and otherwise preventing normal users with the right permissions from starting jobs Matthew Jones 2014-12-01 14:00:35 -05:00
  • a319def4b4 ngMin/ngMax directives fix for surveys Jared Tabor 2014-12-01 12:38:08 -05:00
  • bab3bfb70a Remove a vestige of the old zeromq implementation where we specified a callback port as a decorated parameter to the overall test case Matthew Jones 2014-12-01 11:34:50 -05:00
  • 683e44f30e Check for attributes on the job template before attempting to use that Matthew Jones 2014-12-01 10:50:49 -05:00
  • 6578c4ed26 Merge branch 'reintroduce-zeromq-unstable' Matthew Jones 2014-12-01 10:24:51 -05:00
  • decd9da058 Merge branch 'master' into reintroduce-zeromq-unstable Matthew Jones 2014-12-01 10:24:18 -05:00
  • 91a1d8f761 Fix a bug where listing the unified job fields did not include the 'launch_type' parameter, causing failing unit tests Matthew Jones 2014-12-01 10:23:08 -05:00
  • 47ab0fe06e Inventory Scripts Jared Tabor 2014-12-01 09:34:53 -05:00