Commit Graph

391 Commits

Author SHA1 Message Date
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
ebd6973f6b AC-550 When user views inventory update status (by clicking on the status link) an alert at the top of the dialog will show when the error is caused by a license violation. 2013-11-20 03:45:42 +00:00
Chris Houseknecht
666d721bda AC-668 'parse as' value now works correctly. 2013-11-19 21:03:55 +00:00
Chris Houseknecht
d340de970f AC-654 Added 'X-Auth-Token' as a header in all requests. This will give the API a way to distinguish requests between UI an API Browser and invoke correct RBAC rules. Without this we run into a collision of sorts when user logs into UI and API Browser at the same time from the same browser. 2013-11-19 20:48:09 +00:00
Chris Houseknecht
94bbab566b Only allow user with super_user access to see activity stream button. Fixed collision between is_superuser rootscope variable and credential.is_superuser on credential detail page. Added AS to user/n/permissions page. 2013-11-19 20:39:43 +00:00
Chris Houseknecht
4661a9e97a Added AS to /inventories/hosts/N and /inventories/groups/N as well has /home/[groups, hosts]. Fixed CSS container sizing issue, so widget will not overlap footer. 2013-11-19 18:52:32 +00:00
Chris Houseknecht
925016d556 Host enabled flag is now a checkbox rather than a radio button on the Hosts add/dit dialog. 2013-11-19 09:27:39 +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
Chris Houseknecht
735da6bff6 Related search now works with new search features. Only searches after user stops typing. Disables the input field while search is executing. Moved refresh button to the right side of list page. Fixed bugs: was using contains rather than icontains. Not sure that old refresh button worked. It does now. 2013-11-19 04:35:35 +00:00
Chris Houseknecht
3377927c00 Activity stream- completed modification to Rest lib. Fixed searches on activity stream allow search by object type and object name. Improved detail modal so that more of the changes box is visible. Moved search reset button to the right. There is now only one reset button per list, not one per filter widget. 2013-11-19 02:26:23 +00:00
Chris Houseknecht
1b224f64ac Added support for many (unlimited) search widgets on a page. Activity widget now has 2 object search widgets. Adding a setHeader function to Rest.js library. 2013-11-18 20:03:32 +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
c720e5d51c Search.js now supports up to 3 search filters on a page. First search widget can be regular or an object selector, which is used on the activity stream widget. Activity stream now has 2 filter widgets allowing a search to combine object and responsible user in a single query. 2013-11-18 08:16:51 +00:00
Chris Houseknecht
7952cb560b AC-640 Added additional help text explaining why an organization is required on a project. 2013-11-17 06:58:11 +00: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 Church
f254f8bc92 AC-613 Change rackspace to rax for inventory source field value. 2013-11-16 16:48:27 -05:00
Chris Houseknecht
4b111d61c1 AC-611 Latest activity widget features. Tweaked current filter, but still does not include an object type. Added activty stream to Organization tab. 2013-11-15 16:28:54 +00:00
Chris Houseknecht
9505768bf6 First attempt at accessing /activity_stream. Modified /list/Stream.js to match the API and to start providing some of the translation we'll need. 2013-11-14 07:02:22 +00:00
Chris Houseknecht
520f5e4861 AC-633 js error fixed. 2013-11-13 22:33:01 +00:00
Chris Houseknecht
7ac277fd24 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. 2013-11-13 20:44:27 +00:00
Chris Houseknecht
63061c020f AC-633 Fixed 'hast' typo. 2013-11-13 20:05:32 +00:00
Chris Houseknecht
7a2bc539d4 AC-617 changed callback generation icon to a magic wand, which will hopefully satiate jlaska. 2013-11-13 18:38:42 +00:00
Chris Houseknecht
8d72192849 AC-627 Fixed password/ssh_password collision in Credentials.js form. This was also fixed in auditlog branch. 2013-11-13 18:32:02 +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
d5d3495494 Found and fixed another bug on the Credentials form. Changing the ssh password value was causing a hidden password field to become invalid. Form definition for ssh password cleared the incorrect associated confirmation field. 2013-11-13 17:11:15 +00:00
Chris Houseknecht
a65564e3bf Moved credentials in tab order. It now follows teams and precedes projects. Based on a suggestion from jlaska. 2013-11-13 15:26:20 +00:00
Chris Houseknecht
4650af9cb9 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. 2013-11-13 15:09:14 +00:00
Chris Houseknecht
3f148e104e AC-625 while looking into issue surrounding non-running updates, discoverd that creating credentials from the Users and Teams tabs was not allowing the user to click Save. The Save button refused to become enabled. Turns out that when a user or team is preelected (using route params) form initialization routine needs to run and it was not. 2013-11-13 03:58:12 +00:00
Chris Houseknecht
e99ac9d668 AC-502 all links for Inventory widget on home page now work. Modified responding controllers to process all search parameters. Fixed Hosts and Groups links in the Summary widget. Added ability to edit host using modal dialog from /home/hosts page. 2013-11-12 21:09:50 +00:00
Chris Houseknecht
ebc311d009 AC-502 links are now correct on inventory home page widget. 2013-11-12 18:20:04 +00:00
Chris Houseknecht
68286074cf AC-502 home page widgets should now show 0 rather than ' ' for empty values. 2013-11-12 16:20:24 +00:00
Chris Houseknecht
4e93a5c6e2 AC-502 added group ID as a parameter on 'job failure' links from /home/hosts. This causes the tree to load with the appropriate group selected. 2013-11-12 16:11:39 +00:00
Chris Houseknecht
5a62ba3a32 AC-502 Finally figured out how to fix the awToolTip directive so that it watches a variable for tool tip text changes and updates the tool tip text. Pass in the variable name using badgeTipWatch. Used on home/hosts page and inventory/N/hosts page when toggling the enabled flag. 2013-11-11 22:24:15 +00:00
Chris Houseknecht
353858cf28 AC-502 Fixed links on home page status widget. Added home/hosts page. 2013-11-11 19:16:16 +00:00
Chris Houseknecht
38cb40d38b Added inventory count back into the 'job status' widget on home page. Inventory, groups and hosts counts are there, but links don't quite work yet. 2013-11-11 00:30:15 +00:00
Chris Houseknecht
9ad30dc43c Credentials: form save routine is almost identical between Add and Edit controllers. Combined into one common routine that both controllers can use and moved to helpers/Credentials.js. Just some needed tidying. 2013-11-11 00:16:04 +00:00
Chris Houseknecht
5b2751c57f Fixed parent container of activity stream setting the min-height value. This keeps the activity stream from overlapping the footer. Fixed groups page edit to not clear/empty the credential_name field. 2013-11-08 22:07:51 +00:00
Chris Houseknecht
b2ce037acc AC-614 credential lookup now narrows choices based on specific source. So if source is 'ec2' only show 'aws' credentials. 2013-11-08 18:40:26 +00:00
Chris Houseknecht
1d27f666e4 AC-616 Fixed date warning vs. date expired message. The CheckLicense routine now looks for date_expired flag. 2013-11-08 18:16:52 +00:00
Chris Houseknecht
5a3977495a First iteration of Activity Stream. Added Home/Groups page. Increased icon size for icon-only buttons. Dashboard jobs widget- group and job links now work. Closed AC-621, AC-618. 2013-11-08 17:58:40 +00:00
Chris Houseknecht
fa9ccf1d0a AC-595 for form/list definitions using \{\{ \}\} replacement variables in the title, include the capitalize filter. 2013-11-06 15:30:37 +00:00
Chris Houseknecht
49a8de4efe AC-570 Added host enabled flag on Hosts page, allowing one-click editing for manually managed hosts. Fixed one more bug with prepending '*' to labels of required fileds. 2013-11-06 08:09:02 +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
e701857594 AC-563 license check now responds to date_expired and date_warning flags. Prior to this it treated date_warning as if the date had expired. 2013-11-05 21:33:47 +00:00
Chris Houseknecht
6c2ea0a7bb AC-559 Changed reset filter to clear the search and remove search keys from the URL displayed in the browser. Removing search keys from URL requires resetting window.location, which does to a page refresh. O'well. 2013-11-05 21:10:31 +00:00
Chris Houseknecht
be74d9d932 AC-536 No longer dissaociating hosts from /inventories/N/groups, so no more cases where dragging-n-dropping groups results in lost hosts. Fixed tree styling to better align nodes. 2013-11-05 20:37:51 +00:00
Chris Houseknecht
09e64e3685 AC-608 Fixed form generator's ability to find labels related to rquired fields and add CSS class that prepends label text with '*'. 2013-11-05 19:35:42 +00:00
Chris Houseknecht
d17b683c35 AC-607 Fixed parsing of extra_vars on job_template. '' was not being recognized as !== stringified JSON. 2013-11-05 19:09:44 +00:00
Chris Houseknecht
337eaf2d1b Set default config.js timeout to 1800 seconds. 2013-11-05 17:39:42 +00:00