Commit Graph

6232 Commits

Author SHA1 Message Date
Chris Church d8ae1115f0 Fix extra_vars/survey handling since request.data is now an OrderedDict. 2016-02-17 00:04:28 -05:00
Chris Church 8b2e699ea7 Merge pull request #972 from AlanCoding/755_related_job_templates
Add job_template related list to inventory endpoint
2016-02-16 23:04:11 -05:00
Chris Church 99150b5a05 Flake8 fixes. 2016-02-16 20:02:52 -05:00
Chris Church 4873e2413f * Populate browsable API raw data form with submitted request data in response to an update.
* Remove fields from browsable API raw data that are set implicitly based on URL / parent object.
* Fix issue where a group/host could be assigned to a different inventory.
* Update validation to load values from existing instance if not present in new data; allows PATCH requests to succeed.
* Remove job_args, job_cwd, job_env, result_stdout and result_traceback fields from job listings.
2016-02-16 17:49:34 -05:00
Chris Meyers 6434171977 add -y to ansible ppa adding 2016-02-16 13:51:16 -05:00
AlanCoding 33e84d03ef add job_template related list to inventory endpoint 2016-02-16 10:12:35 -05:00
Michael Abashian 67b5dcd817 Merge pull request #929 from jlmitch5/schedulerFormStylingFinal
Scheduler form styling fixes
2016-02-16 10:07:02 -05:00
John Mitchell b3667ce56a combine sleect2 creation into single class 2016-02-16 14:37:57 +00:00
John Mitchell ffcb8ec65d update less to improve color default 2016-02-16 14:30:11 +00:00
Chris Meyers 56b0da30f1 adds fact model 2016-02-15 15:39:22 -05:00
Leigh bed6c666ae Merge pull request #928 from leigh-johnson/OrgPaginate
#646 Handle case where page 2 of OrganizationList was being hidden
2016-02-15 15:01:27 -05:00
Leigh f7ec61f452 Merge pull request #959 from leigh-johnson/ModalBackdrop
#875 add backdrop: static  to modal.Constructor.DEFAULTS
2016-02-15 12:17:18 -05:00
Leigh Johnson 9278a50029 remove EDIT from edit org breadcrumb label, trim whitespace, add text-uppercase to .BreadCrumb-item 2016-02-15 11:36:46 -05:00
Michael Abashian 5e3e8862f3 Merge pull request #960 from mabashian/stream-awfeature
Hide Activity Stream button when the feature is turned off
2016-02-15 11:08:37 -05:00
Michael Abashian f2f9dc4703 Removed jshint comment 2016-02-15 11:04:38 -05:00
Michael Abashian e5f6373617 Added ProcessErrors declaration 2016-02-15 10:29:54 -05:00
Michael Abashian 5f7de996bd Added logic to hide activity stream button when the feature is turned off. Also added logic to redirect the user to the dashboard when they try to navigate to the stream when the feature is not on. 2016-02-15 10:21:17 -05:00
Leigh Johnson 6bc99971b6 #875 add backdrop: static to modal.Constructor.DEFAULTS 2016-02-15 09:08:19 -05:00
John Mitchell 8ad62b6669 fixed layout issues with form scheduler 2016-02-12 12:00:26 -05:00
John Mitchell f8550a478b make saving a schedule send you back to the list route 2016-02-12 11:59:39 -05:00
John Mitchell 37c97c968d fix number spinner input issues with scheduler 2016-02-12 11:58:50 -05:00
John Mitchell e7cf1ce021 add support for select2 in scheduler form 2016-02-12 11:57:40 -05:00
John Mitchell 6283f8715d fixed icon colors for form elements with buttons 2016-02-12 11:56:12 -05:00
John Mitchell 2c432ee974 fix scheduler name border color issues 2016-02-12 11:55:26 -05:00
Leigh Johnson 4558b880a0 remove Stream dependencies 2016-02-12 11:26:33 -05:00
Leigh Johnson 4ade498c6c #646 add pagination support to setup > organizations, pass orgCount as pageSize, handle case where a 2nd page might be visible for an unusually high # of orgs, fix breadcrumb shown in organization.edit state 2016-02-12 11:08:47 -05:00
Michael Abashian 1bcc3b9269 Merge pull request #921 from mabashian/add-stream-inv-manage
Turned on the activity stream for inventory manage
2016-02-12 09:15:10 -05:00
Jared Tabor 7509fdf751 Password element styling 2016-02-11 23:35:44 -08:00
Jared Tabor 3503ec9deb Styling of genMD5 input field on JT form page
uses same styling as the lookup button
2016-02-11 22:47:48 -08:00
Jared Tabor b0d5403d41 changing color of dropdown arrow for select2
for whenever the dropdown menu is open
2016-02-11 22:41:23 -08:00
Jared Tabor 3fbbd4f234 Changing textarea input color
For textarea elements that don't get CodeMirror attached.
2016-02-11 22:31:20 -08:00
Jared Tabor 9fa6d74efc Formatting job template-job tag element
Accomplished by adding the regular text input styling. This field is a 1 line textarea so adding the Form-textInput class gives it all the styling it needs.
2016-02-11 22:10:55 -08:00
Jared Tabor 44bf4e1ac4 Changing CodeMirror font back to monospace
previously I had set it to Open Sans to match the rest of Tower.
2016-02-11 22:07:19 -08:00
Jared Tabor cbfe382bb3 Merge pull request #924 from jaredevantabor/number-input-styling
Number input styling
2016-02-11 21:36:49 -08:00
Chris Church ce5989ba31 Update browsable API styling based on UI feedback. 2016-02-12 00:07:15 -05:00
Chris Church f68329bd58 Merge pull request #885 from cchurch/more-serializer-fixes
More DRF 3.3 Serializer Fixes
2016-02-11 23:15:17 -05:00
Jared Tabor 8e45862439 Number input styling 2016-02-11 17:20:03 -08:00
Chris Church dc298daeb4 Update settings serializer to allow empty/blank values. 2016-02-11 18:11:41 -05:00
Chris Church a8fec62095 Flake8 fix. 2016-02-11 18:11:41 -05:00
Chris Church 1f290ed940 Add custom serializer char/bool fields to accept null and coerce to appropriate type. Update validation for unique constraints so that error messages remain the same as before. Update key used in error response for non-field errors. Should address #791, #794, #809, #812 and #816. 2016-02-11 18:11:41 -05:00
Michael Abashian 2079ddc36a Turned on the activity stream for inventory manage. Refactored the ModalToPlural function so that it returns the key that the getBasePath() function expects for that model. 2016-02-11 15:54:17 -05:00
Matthew Jones 9d6739045a Implement irc notification backend 2016-02-11 15:34:27 -05:00
jlmitch5 7f300e3c9e Merge pull request #910 from jlmitch5/styleFormDetailPane
Styling of scheduler form detail pane
2016-02-11 14:05:29 -05:00
Michael Abashian 5f0650580f Merge pull request #914 from mabashian/style-stream-dropdown
Applied select2 to the activity stream dropdown nav
2016-02-11 13:52:46 -05:00
Michael Abashian bf74cbc993 Applied select2 to the activity stream dropdown nav. Went ahead and moved the dropdown nav template into a partial rather than having it inline. 2016-02-11 13:39:51 -05:00
Michael Abashian 62ad03ce5a Merge branch 'style-stream-filters' into devel 2016-02-11 12:51:12 -05:00
Jared Tabor 36a2b48e8e Merge pull request #908 from jaredevantabor/lookup-styling
Lookup field styling
2016-02-11 09:27:02 -08:00
Jared Tabor 1bf1fa6e9e Lookup field styling
This does not include the modal restyling, but simply the input style itself
2016-02-11 09:26:29 -08:00
Jared Tabor 88aef61ae2 Merge pull request #814 from jaredevantabor/select2-dropdowns
Dropdown styling
2016-02-11 09:15:52 -08:00
Jared Tabor 2b3783adf4 Dropdown styling
This uses select2 for styling of the <select> form elements. I'm forcing some styling overrides for select2, therefore we no longer need the select2-bootstrap-theme library.

For all add-forms, select2 is attached after the form compiles in form-generator. For edit-forms however, the select2 module
couldn't be attached to the select element until after the options selection had taken place (which takes place after the REST request). Therefore I had to add some calls to CreateSelect2 in the edit controllers.
2016-02-11 09:15:19 -08:00