Commit Graph

662 Commits

Author SHA1 Message Date
Joe Fiorini
a9e0de98d7 Use broccoli to build app 2015-02-06 12:49:04 -05:00
Joe Fiorini
f4350f4a28 Kill strict mode in favor of doing it once 2015-02-06 12:47:39 -05:00
John Mitchell
57acb5e21e Fixed teams list crashing when team has no organization 2015-02-04 16:53:04 -05:00
jlmitch5
fbf0ebf4d9 Merge pull request #55 from ansible/popover_disable
Fixed popOver bug
2015-02-04 14:44:04 -05:00
John Mitchell
cef0d0bb00 removed bottom right pop-over directions. 2015-02-04 14:30:32 -05:00
Jared Tabor
57e2548265 Added escaping for Add JT -> create survey
the service for the escaping for the html was not included in the JT add function
2015-02-02 10:24:34 -05:00
Joe Fiorini
4775523764 Updates jshint settings 2015-01-30 15:43:22 -05:00
Joe Fiorini
2464d68b38 Fix jshint errors in my updates 2015-01-30 15:42:50 -05:00
Joe Fiorini
2e87454e5a More unused code 2015-01-30 15:42:49 -05:00
Joe Fiorini
4fc86e30ea Fix displaying graphs with no content 2015-01-30 15:42:49 -05:00
Joe Fiorini
f2dbf7a559 Fix issue with graph modules causing vertical scroll 2015-01-30 15:42:49 -05:00
Joe Fiorini
38b8ed4e9e Remove extraneous unused code/comments 2015-01-30 15:42:49 -05:00
Joe Fiorini
64484c4054 Use jquery for resize binding 2015-01-30 15:42:48 -05:00
Joe Fiorini
408d9bf136 Move host count graph into directive 2015-01-30 15:42:48 -05:00
Joe Fiorini
1c4b8c0676 Move HostPieChart into directive 2015-01-30 15:42:47 -05:00
Joe Fiorini
b0dcafca8c Display job status graph in directive instead of widget 2015-01-30 15:42:47 -05:00
Joe Fiorini
95ad326c29 Use new service in job status graph widget 2015-01-30 15:42:47 -05:00
jaredevantabor
8bb8f67370 Merge pull request #49 from ansible/make_errors_nice
Making error messages nicer
2015-01-30 15:20:07 -05:00
John Mitchell
5ad2f3e330 Final pass of making errors nicer 2015-01-29 21:07:12 -05:00
John Mitchell
53db7b7224 Making error messages nicer, first pass 2015-01-29 19:47:12 -05:00
Jared Tabor
2cc84f8bdd XSS fix: serialize survey question default answer
For the XSS issues that we found, I am serializing the default answers now to make sure all appropriate characters are escaped.
2015-01-29 11:22:32 -05:00
Jared Tabor
0d8a2a0d82 Permissions page -> JT 'Create'
The permissions page, when saved with 'Create' JT permissions wouldn't re-fill the form correctly when the user renavigates to the edit form page for that permission.
2015-01-28 11:02:09 -05:00
John Mitchell
ef331d37bb finished styling for explanation/traceback on the details page 2015-01-23 15:00:18 -05:00
John Mitchell
7a668c9089 add explanation and result traceback to details page for failed jobs 2015-01-23 15:00:18 -05:00
Jared Tabor
91e3374c2d Adding check for job detail properties 2015-01-19 12:08:53 -05:00
Jared Tabor
aae9e2c14b error handling in Job Detail page
a JS error can get thrown if the user navigates to the job detail page as a job is ending
2015-01-16 16:07:23 -05:00
Jared Tabor
7f8fff18a0 Permissions for org admin
The series of events for checking a user's access level was happening out of order for loading the permissions page/form. I added a callback so that the access level can be checked first and then a secondary action (like filling a form as readonly or not) could happen next.
2015-01-12 17:37:37 -05:00
Jared Tabor
e41de1684c Job Template form survey check
The job template form wasn't checking for survey in every scenario
2014-12-19 12:18:23 -05:00
Jared Tabor
cd486b6d9a Job detail page
When the job run was complete the interval was not being turned off that would continue to update the DOM
2014-12-18 16:29:14 -05:00
Jared Tabor
be2f2596f3 Made delete prompts use the same styling
made the delete prompts more uniform
2014-12-17 17:49:45 -05:00
Jared Tabor
956dfedb30 Job detail job events
The job events modal was not being loaded because the data call to the API was not specifying which page of data to request.
2014-12-16 13:49:40 -05:00
Jared Tabor
312c76788d Copy JT
Cleared the value of the copy JT form of any stale text
2014-12-15 10:14:51 -05:00
Jared Tabor
acf7e83843 delete Job Template
added the div for styling of the delete job template prompt
2014-12-11 12:04:12 -05:00
Jared Tabor
b70464dfeb Job template form add mode, can_edit = true
had to include can_edit = true for creating a job template so that button would be enabled when form is valid
2014-12-10 16:22:09 -05:00
Jared Tabor
646bcd407f Job Detail events scrolling defect fix
On the events view of the job detail page, when the list of hosts if very long, and an api call is made to get more host events, the host edit modal was using the hostname instead of the host id number to make a call to the job events endpoint
2014-12-10 15:18:16 -05:00
Jared Tabor
1268fb6191 Permissions form-type label
Changed the label for 'Deploy' from 'Deployment' to 'Job Template'
2014-12-10 12:07:23 -05:00
Jared Tabor
f121228d1a Project playbooks save issue
Fixed defect with project directory not saving for a manual project. Checked for creating/editing a project
2014-12-10 09:22:19 -05:00
Jared Tabor
5d6137c8a3 Add new inventory--empty source vars
The source variable parsing was out of date, and wasn't using the updated parser that I fixed to accept empty variables.
2014-12-08 16:41:23 -05:00
Jared Tabor
e10167ee5a Job Detail -- Events Summary
the edit icon for the host events was not receiving the correct host id during the processing of job_event data from the job_event endpoint
2014-12-08 16:16:39 -05:00
Jared Tabor
1ffca45c4a Remove open modals when logging in
If the session times out, and the user attempts to open a modal dialog, then it must be closed due to the fact that bootstrap modals do not work with more than one modal open. The login modal is a bootstrap modal so all other modals need to be closed when it is shown.
2014-12-05 14:31:45 -05:00
Jared Tabor
5eb4b59745 Projects form -> edit / SCM fix
The manual scm option was not showing up when editing an existing project
2014-12-05 11:06:34 -05:00
Jared Tabor
b4be8f7d49 Project SCM type drop down fix
The SCM type for the projects page was broken when we sorted the drop down options by value. There was no value for 'manual' projects. I had to insert the word 'manual' where it was expecting a blank sting and then remove the word manual before saving the job template to the API
2014-12-04 15:56:35 -05:00
Jared Tabor
d9e69fc2c3 Fixed JT form Reset button
Had to make a small repair to Job Template form reset that was caused when i refactored the code to fill the form
2014-12-04 10:49:50 -05:00
Jared Tabor
f893e4b00b Fixed small issue with JT form vars
A '$' got deleted somewhere along the line
2014-12-03 16:34:23 -05:00
Jared Tabor
c96b317202 Launch job from job template form
added a check that there is a valid survey if survey_enabled === true on the JT form
2014-12-02 10:06:57 -05:00
Jared Tabor
300fb677fa Portal mode pagination
fixed the pagination on the job templates portal widget. To fix this i had to include an '&' in the pagination url creation in paginationhelpers.js. not sure if this could have effect on anything else that uses pagination.
2014-11-24 13:31:04 -05:00
James Laska
bb2235fcb2 DOM id changes for portal mode page
Improves automated navigation through the jobs and job_templates regions
on the portal page.
2014-11-12 08:42:44 -05:00
Jared Tabor
fd8908f7dc Job Submission cleanup
removed some commented code from the fix for the job submission from yesterday
2014-11-06 14:28:18 -05:00
Jared Tabor
ae55f1c0d3 Websockets live updating portal mode
fixed issue with websockets not updating view in portal mode
2014-11-05 13:09:00 -05:00
Jared Tabor
df8a7be759 Job Templates list
Added ngHide for copy icon to hide the icon when can_copy=false
2014-11-03 10:35:18 -05:00