Commit Graph

56 Commits

Author SHA1 Message Date
Jared Tabor
4f8a86b3fe fixed issue with deleting a project and then trying to add a new one in the job template page 2014-08-08 16:08:57 -04:00
Chris Houseknecht
2485f86471 Job templates
Added ability to launch a job from th job template detail page.
2014-07-30 14:06:31 -04:00
Jared Tabor
feb13b1f11 fixed issue in job template when user deletes credential and project 2014-07-29 16:24:56 -04:00
Chris Houseknecht
54204becf5 AC-1286
Fixed JS minification errors.
2014-06-12 16:00:05 -04:00
Chris Houseknecht
90ae15f3ba AC-1286 host config key dialog
Now the dialog only appears on job template save when the host config key or URL actually change. Before the dialog always appeared when allow callbacks was enabled.
2014-06-12 15:37:45 -04:00
Chris Houseknecht
c517332191 AC-1308 spinner lingers after 403 error
Happening on response to Delete prompt. Removed modal hide listener when starting spinner. Not sure why I thought that was needed. Instead, just close the dialog and start the spinner. If an error occurs, ProcessErrors always stops the spinner. Issue was caused by a race condition. ProcessErrors would sometimes fire tht stop before the event listener fired a start.
2014-06-03 19:20:35 -04:00
chouseknecht
ec2545d069 Latest job_detail changes as of 5-16. Plus, AC-1279 Rename vars_prompt_on_launch to ask_variables_on_launch. 2014-05-19 10:50:26 -04:00
Chris Houseknecht
80fbe0b525 Jobs page- schedules layout now works with new page layout. Refined page auto-resize. 2014-05-05 10:51:51 -04:00
Chris Houseknecht
98c56827db AC-1197 callback workflow -dynamic help text. Fixed js lint issues. 2014-04-16 13:47:31 -04:00
Chris Houseknecht
6aee57f4c5 Fix to open job_templates accordion on initial page load. Fix to missing tooltips for play/stop schedule button within job_templates and projects pages. 2014-04-15 18:21:14 -04:00
Chris Houseknecht
5ea4a68820 Fixed jobs list on Job Templates page. All the buttons and links now work. 2014-04-01 17:45:11 -04:00
Chris Houseknecht
6b3d5da500 Fixed schedules list on Projects page and Job Templates page. 2014-04-01 12:47:22 -04:00
Chris Houseknecht
8217544376 Form generator can now call the list generator when creating related lists. Job Template page is now using this method. We can now inject CompletedJobs and Schedules list objects on any page with full jobs page or schedule page functionality. 2014-03-29 17:46:48 -04:00
Chris Houseknecht
29a8b46e2f Refactored job submission module, breaking the process of prompting for credentials and passwords into small, isolated units of work. Code can now be shared across each job type and unit tests are feasible. 2014-03-27 14:21:47 -04:00
Chris Houseknecht
93bd1d859a AC-1065 in anticipation of potentially having to sort the keys of any incoming json variable objects, consolidated the variable handling code into a single helper. Anytime variable data is fetched from the API it gets passed to the helper and turned into a YAML doc. The helper checks the incoming data type for string or object. If string it first attempts to parse as YAML. If it fails, then tries JSON. If no joy, fails gracefully, logging the error and notifying the user. Anytime variables need to be sent to the API, a method in the helper is called to parse the variable text into a JSON object. 2014-03-05 18:13:49 -05:00
Chris Houseknecht
1ba917afaf AC-1035 UI now supports stringified YAML coming from the API on Job Template. 2014-03-05 15:49:16 -05:00
Chris Houseknecht
10e85b50b1 Found an issue when deleting multipkle credentials. First delete worked fine. Second delete left the overlay hiding the page. Seems the .off() option on bootstrap modal no longer works as expected. 2014-03-05 14:13:17 -05:00
Chris Houseknecht
55b574fa26 AC-564 added new method to codemirror wrapper to enable replacing textarea fields with an editor. Implemented in inventory, groups, hosts, and templates. Solved issues with groups related to two potential textareas at the same time. Found and fixed an error in the way ReturnToCaller() utility was being called. Finished implementing angular-md5. Adding or saving a job template now shows a pop-up on save when a callback is enabled. The pop-up shows the callback url and host key. Before user had to save and then re-open the template to get the URL. With the pop-up we're now showing it immmediately on save. 2014-02-18 03:50:36 -05:00
Chris Houseknecht
e81d02885f AC-1006 upgraded all js libraries to latest release. Fixed obvious broken things. Installed bower to make package installation/upgrade easier. Added less to Grunt build. 2014-02-12 18:42:57 +00:00
Chris Houseknecht
f891c30ebb Ran all controller files through jsbeautifier.org and applied jsHint. 2014-02-07 15:33:07 -05:00
Chris Houseknecht
77b285f632 AC-941 don't display UI form fields until API data loads. Also fixed related set pagination issue. 2014-01-28 13:57:37 -05:00
Chris Houseknecht
cb8ec978de AC-983 long group names, AC-970 don't hightlight required fields in red, AC-966 fixed ansibleworks links to point to ansible, AC-733 new pagination widget, page and total rows. 2014-01-28 01:03:09 -05:00
chris Houseknecht
14acf18f47 AC-734 Finished off form styling changes with requird * as red and help icon now a light grey (much more soothing). 2014-01-15 22:03:48 -05:00
Chris Church
2b7af0a2ec Happy new year!!! 2014-01-02 11:51:43 -05:00
Chris Houseknecht
fae51d12f0 AC-726 Improved search filter, eliminating need for reset button. Fixed drop-down menu on jobs detail page, replacing summary with host summary. Fixed error message on job templates and jobs when list of playbooks cannot be found- message is now informational rather than cryptic error. 2013-11-23 14:48:43 +00:00
Chris Houseknecht
9171382894 Fixes for AC-715 'adding cloud credentials to job_template' and AC-721 'this.scope not defined' 2013-11-22 21:28:16 +00:00
Chris Houseknecht
8dafc10541 AC-715 Fixed issues with bad API requests when user types in value and lookup is built with predetermined search parameters. Fixed project lookup failure while user is typing. 2013-11-21 21:13:40 +00:00
Chris Houseknecht
ba645f947e AC-700 fixed lookup dialog titles on job templates page. 2013-11-21 18:49:06 +00:00
Chris Houseknecht
0127680805 AC-657 Fixed order of operations for prompting user to approve delete, starting spinner, sending request to API, stoping spinner and refreshing page. The key is starting the spinner using the modal.on.hidden.bs.modal to start the spinner and then not stopping it until inside postrefresh event. Applied the fix to all controllers and tested. 2013-11-20 06:06:26 +00:00
Chris Houseknecht
e2209ce3bd Ac-630 cloud_credential_name value is now set after data loaded for Job Template edit page. 2013-11-19 09:06:25 +00:00
Chris Houseknecht
6b418d4a5c Added activity stream to all tabs and to the tab detail page. Enabled working breadcrumbs on the activity stream widget. Added round corners to th stream containers so it at least looks OK when the bottom occassionally overllapses footer. Adjusted the stream widget's default url to include detail object's primary key, limiting rows to the object being viewed. 2013-11-19 08:17:21 +00:00
Matthew Jones
ba1a113ec3 Merge remote-tracking branch 'origin/master' into auditlog
* origin/master:
  AC-637 Credential now requires scm_key_unlock when saving encrypted ssh_key_data.
  AC-626 Removed support for prompting for password and ssh_key_unlock for scm/cloud credentials.
  AC-613 Change rackspace to rax for inventory source field value.
  AC-613 Change rackspace to rax for inventory source field value.
  AC-624 Fix options docs for project update view.
  AC-632 Fix escaping for ansible-playbook command line when also using ssh-agent.
  Update CONTRIBUTING.md
  AC-630 Expose cloud_credentials field for job template and job.
  AC-641 Added pattern to respond to key unlock prompt for project update.
  Updated all vendored third-party packages.
  AC-636 Fix existing projects with scm_type=null to always use empty string. Update validation and tests to ensure None gets automatically coerced to an empty string on saving a project.
  AC-633 js error fixed.
  AC-633 fixed a sort of unrelated js error. The capitalize filter directive attempted to act on a 'null' input error. Added a test to ignore empty/null input.
  AC-633 Fixed 'hast' typo.
  AC-617 changed callback generation icon to a magic wand, which will hopefully satiate jlaska.
  AC-627 Fixed password/ssh_password collision in Credentials.js form. This was also fixed in auditlog branch.
  AC-628 applied credential changes made in add controller to edit controller so that credential/cloud_credential lookups display context-aware  credential lists.
  Moved credentials in tab order. It now follows teams and precedes projects. Based on a suggestion from jlaska.
  AC-609 Fixed issue with help button not displaying correctly on 'select' pages where user can pick an existing object (i.e. users, credentials, etc) to add to a parent object.

Conflicts:
	awx/api/serializers.py
	awx/main/migrations/0025_v14_changes.py
2013-11-18 09:18:37 -05:00
Chris Houseknecht
ce7688d252 Added 'working' spinner to all save/delete/select actions. This is to compensate for places where activity log is slowing down the API. AC-646 changes Rackspace credentials to show API Key in place of password. Fixed a bug on machine credential that caused username to not be passed to the API when adding and editing. 2013-11-17 06:37:34 +00:00
Chris Houseknecht
8c741ac36a AC-628 applied credential changes made in add controller to edit controller so that credential/cloud_credential lookups display context-aware credential lists. 2013-11-13 18:27:29 +00:00
Chris Houseknecht
1497d128f3 Jobs list on Job Templates detail page now closely matches the Jobs tab. Status looks the same, is clickable and offers matching tooltip. 2013-11-05 22:28:31 +00:00
Chris Houseknecht
bac22205a8 Fixed form-generator and awRequiredWhen directive to not overlap when setting * on required field labels. Fixed job submission to work with new cloud credential implementation. 2013-11-04 10:16:56 -05:00
Chris Houseknecht
0466629718 Finally fixed issue with editing a credential. Need to call Owner change after loading data and after resetting form. Also removed default from Owner radio button on create and set to required so that user has to actively make a choice. Started working on Job Template detail changes. Job Template is currently broke. 2013-11-04 10:16:56 -05:00
Chris Church
d668991899 AC-537 Some UI field/name changes for cloud credentials. 2013-11-04 10:16:54 -05:00
chouseknecht
c4108a6890 Fix to properly handle empty extra_vars value. No longer sending 'null' to API. 2013-10-16 14:45:37 +00:00
chouseknecht
9ff7f05dfc Fix to properly handle empty extra_vars value. No longer sending 'null' to API. 2013-10-16 14:45:31 +00:00
chouseknecht
b28fe1254e AC-414 Making red/green bubbles consistent throughout the application. Changes made to Inventory and jobs pages. Tooltip text now dynamic. Improved deep linking, especially on status fields. 2013-10-07 03:19:30 -04:00
chouseknecht
4b09ba4c83 AC-466. Fixed issue with refresh timer randomly quitting. Fixed project authorization checkbox. 2013-09-24 03:42:23 +00:00
chouseknecht
9b11bb6f69 AC-453 Fixed ongoing job template issue where changing form elements does not cause the Save button to enable. Issue was playbook value was set before list of playbook options was loaded. Now during process of loading playbooks we check for the scope.playbook value. If a match is found, set validity property of scope.form.plabyook.required to true. 2013-09-12 07:37:36 -04:00
chouseknecht
de9c8a258c AC-423, AC-424, AC-425, AC-426 resolved issues. 2013-09-10 02:40:20 -04:00
chouseknecht
2f2331092b AC-252 Got rid of the nifty slider. Replace with boring spinner. We can't have nice things. 2013-07-22 22:26:42 -04:00
chouseknecht
419e18d1f8 AC-229 making multi-select across pages work 2013-07-19 15:44:25 -04:00
chouseknecht
49fd23d84d AC-171 Lastest changes for improving select and lookup workflow. Streamlined selection workflow with helpers/Selection.js. Restored the checkbox and fixed the hover background color on Lookup dialogs. Fixed bug in lookup dialog where most recent selection not showing up when user navigates back to same lookup multiple times. Both selection and lookup now work in an Angular fashion by manipulating the data set to affect view changes rather than attempting to manipulate the DOM within the controller. 2013-07-17 16:46:26 -04:00
chouseknecht
d2c08d2848 Fixed issue with Allow Callback checkbox and host_config_key value when user unchecks Allow Callback checkbox. 2013-07-15 13:48:23 -04:00
chouseknecht
7d6507ec0d AC-201 Added callback URL and lots of tool-tip help around the callback fields. 2013-07-12 17:08:30 -04:00
chouseknecht
ab6fca64a0 Fixes for AC-212 & AC-2088 2013-07-11 17:18:44 -04:00