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

2961 Commits

Author SHA1 Message Date
Jared Tabor
6f6ecd409d changed the actions for jobs in portal mode
for portal mode, the jobs list should only have the launch option. i may need to make a new jobs list for the portal
2014-10-15 17:12:32 -04:00
Jared Tabor
77f73e7520 adjusted the job submission for portal mode
I changed the url for poral mode job submission to /launch instead of /relaunch
2014-10-15 17:10:58 -04:00
Jared Tabor
68e6af0a09 tried adding ngHide to a column in generator-helpers
while unsuccessful, I think something like this is going to be necessary for getting the portal job templates widget right. I'll revisit later
2014-10-15 17:08:18 -04:00
Jared Tabor
b224f0abce adding css/less files and html files for portal
adding css and html files for the portal mode
2014-10-15 17:07:05 -04:00
Jared Tabor
33ad0c7612 adding controller for portal mode.
handles the refresh of the page and loading of the job widgets
2014-10-15 17:05:43 -04:00
Jared Tabor
f855b508dc adding new files in app.js and index for portal
adding the routing for portal mode and setting boolean for portal mode in app.js
adding references to new files in index.html and added ngHide for nav bar items that should be hidden by portal mode
2014-10-15 17:02:10 -04:00
Jared Tabor
2fa230052c removing some unnecessary files 2014-10-15 10:12:13 -04:00
James Laska
6df573a0e9 Correct jshint failure 2014-10-15 08:33:39 -04:00
Jared Tabor
93709c6871 added extra vars and job submission fucntionality
extra vars have to be obtained from the job template endpoint so i added a call to get the extra vars if prompt_for_extra_vars is true, and included this in the modal window. And for job submission all the data fields on the modal window are obtained and posted to the correct /launch or /relaunch endpoint.
2014-10-14 17:11:11 -04:00
Jared Tabor
beb4602933 fixed issue with editing multiselect
the multiselect was not updating the default value.
2014-10-14 17:10:56 -04:00
Matthew Jones
21e4afca14 Relax type checking requirements for floats since javascript passively
converts whole number floats to ints
2014-10-14 15:41:22 -04:00
Matthew Jones
c43a7be99e Make it so that we take source_vars with the custom inventory script
when defining the inventory source.  Slight modification to the UI to
make that possible
2014-10-14 15:38:42 -04:00
Matthew Jones
8b8fb2403c Fix some bugs with missing elements in the run system job task 2014-10-14 14:21:18 -04:00
Matthew Jones
6ed9705d91 Small fix for system job serializer 2014-10-14 13:56:58 -04:00
Matthew Jones
b3ea148f53 Label the SystemJob Access class with the proper model 2014-10-14 13:54:12 -04:00
Matthew Jones
fa0879f15b Add basic access for system jobs (super user only) 2014-10-14 13:47:44 -04:00
Matthew Jones
434144d276 Make min and max optional in the fields they are used in 2014-10-14 13:37:52 -04:00
Matthew Jones
fbf9a4957e Initial system job implementation 2014-10-14 11:11:17 -04:00
Matthew Jones
983eb43aec Add new to the list of statuses that will be canceled if a job's parent
is removed
2014-10-14 10:12:01 -04:00
Jared Tabor
8d0cdd66e0 fixing prompt for survey
within the job launch modal, the prompt for survey needed to be re-styled, as well as getting 'required' warning for each question
2014-10-14 09:59:22 -04:00
Jared Tabor
5b2eadf60b added 'form-control' class to survey maker
form control class added to the integer/float input fields to make them more uniform throughout
2014-10-14 09:54:43 -04:00
Jared Tabor
4d47d79235 fixed issue with survey question float validation
the survey question 'float' option was missing the wrong directive in the element attributes
2014-10-14 09:53:14 -04:00
Jared Tabor
ef768afcbc fixed jshint errors on directives 2014-10-14 09:52:11 -04:00
Jared Tabor
68f80f6411 fixed the css on survey taker to make it uniform
the survey portion of the job launch modal needed to be made to look more like the prompt for passwords and prompt for variables
2014-10-14 09:38:36 -04:00
Jared Tabor
3216d5e12b fixed ng-min directive to include 0
the directive was evaluating 0 as 'false'
2014-10-14 09:38:12 -04:00
James Laska
d43ed5b67e Correct job_task and job_play help documentation
Use the correct query parameter and correct the 'icontains' examples.
2014-10-14 09:00:46 -04:00
Jared Tabor
995bf8c58f adding cancel button for survey question form
cancel button closes the survey question form and returns the modal into its previous state
2014-10-10 14:47:37 -04:00
Jared Tabor
7dd2612268 more validation on survey question
survey question needed to have validation that didn't allow the min/max values to overlap incorrectly and for the survey save button to be disabled if hte user is in the process of adding another question
2014-10-10 13:32:06 -04:00
Jared Tabor
2bfdb31deb added case in generator-helpers for icon in survey
survey question 'cancel' button needed appropriate icon
2014-10-10 13:31:06 -04:00
Jared Tabor
9879076cae ngMin and ngMax for integer/float survey question
ngMing and ngMax are directives for setting limitations on number/float fields
2014-10-10 13:30:41 -04:00
Matthew Jones
a7f1202316 Fix spelling error in validation error message 2014-10-10 12:47:54 -04:00
Chris Church
a8952dd796 Fixes https://trello.com/c/ymLR3cfq - Prevent IE from using compatibility mode. 2014-10-09 18:20:30 -04:00
Matthew Jones
62e3b6ad08 Add DELETE to the job template survey spec endpoint 2014-10-09 13:46:03 -04:00
Matthew Jones
681954ab99 Make question_description optional in the survey spec 2014-10-09 09:56:28 -04:00
Jared Tabor
13bf8d89d0 adding more survey maker form validation
added validation on integers and floats that ensure answers are int/floats and that they meet the restrictions placed by min/max
2014-10-09 00:26:24 -04:00
Matthew Jones
71e87f7a41 Throw away everything but the first line when fetching the ansible version 2014-10-08 13:30:36 -04:00
Jared Tabor
adb06fba4a removed surveymaker.js from the index
this controller is no longer needed.
2014-10-08 12:04:37 -04:00
Jared Tabor
05a87d0cea added ngRequired option for textareas
this is for survey maker so that certain textareas can be required. This is for multiple choice questions and the options that are required for them
2014-10-08 12:02:42 -04:00
Jared Tabor
360e813258 added a formReset funciton for survey maker
this is for getting the survey maker to an initial state, since the survey maker form was removed
2014-10-08 12:00:25 -04:00
Jared Tabor
25ecd6326d adding directives to integer min/max and integer default answer fields
this was supposed to be included in the last commit
2014-10-08 11:58:46 -04:00
Jared Tabor
1b8ebc57e4 added extra validation for integers, specifically for min/max, and for valid integer
added ng-min and ng-max directive, and made adjustments to question form for new directives
2014-10-08 11:56:24 -04:00
Jared Tabor
b22c4cb56a removed routes for old unused survey controllers
for survemakeradd and surverymakeredit, these controllers are not being used anymore and have been replaced by the surver helper class. i'm taking out the routes for these html pages/controllers as they are no longer relavant
2014-10-08 10:00:44 -04:00
Matthew Jones
9c81144533 More documentation and validation for job relaunching/template launching 2014-10-07 17:01:12 -04:00
Matthew Jones
6e24131070 Change filtering priority to prevent building a queryset with null
values when examining project activity stream
2014-10-07 16:49:27 -04:00
Matthew Jones
ea36e30190 Cancel any running or pending actions when one of the unified job types
is deleted/marked inactive
2014-10-07 16:34:10 -04:00
Matthew Jones
d3e5db52cb Adding job template survey documentation 2014-10-07 13:44:33 -04:00
Matthew Jones
7430973234 Add validation for survey elements on the api side 2014-10-07 10:56:45 -04:00
Jared Tabor
47deaa702d fixed default answer field in question maker. also added validation for choices if multichoice or multiselect is chosen 2014-10-06 16:15:16 -04:00
Matthew Jones
d6adb1d398 Add a settings that disallows org admins from seeing users outside of
their organization.   See: https://trello.com/c/M74W11hQ
2014-10-06 15:59:05 -04:00
Matthew Jones
d55569ed51 Reworded invalide private key data to be more generic 2014-10-06 15:09:21 -04:00