1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-01 08:21:15 +03:00
Commit Graph

6194 Commits

Author SHA1 Message Date
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
John Mitchell
223279c3c9 remove console.log statement from angular-scheduler 2016-02-11 11:19:44 -05:00
Michael Abashian
6940dccea2 Re-introduced the search widget dropdown filter functionality to move search back to it's function 2.4.x state. Tag based search will come in a future feature. 2016-02-11 11:15:56 -05:00
Michael Abashian
dd9db63519 Merge branch 'remove-old-stream-code' into devel 2016-02-11 11:06:09 -05:00
John Mitchell
1dee434c7d added edit indicator to scheduler 2016-02-11 11:02:31 -05:00
John Mitchell
22b80e51d8 stylign of scheduler form detail pane 2016-02-11 10:33:35 -05:00
Matthew Jones
7abcb6e306 Add webhook notification backend 2016-02-10 17:03:57 -05:00
Matthew Jones
24b33a52c8 Roll back mock version due to packaging issues 2016-02-10 17:01:18 -05:00
Leigh
20161b7ac4 Merge pull request #900 from leigh-johnson/ManagementJobCardView
Fixes #632, replace managementJobsListController with NEW managementJobsCardController
2016-02-10 16:01:11 -05:00
Matthew Jones
34ebe0a848 Pagerduty and Hipchat backends plus some cleanup 2016-02-10 15:17:11 -05:00
Michael Abashian
b6ce3a1a82 Merge pull request #899 from mabashian/panelify-home-hosts
Added Panel class and list title to the Home Hosts list view
2016-02-10 13:48:11 -05:00
Leigh Johnson
51a810d73e remove managementJobsList module 2016-02-10 13:26:15 -05:00
Leigh Johnson
ea25190571 fix .MgmtCards-card inconsistent padding, remove Stream factory from dependencies, remove Pagination/Search dependent on Stream 2016-02-10 13:25:01 -05:00
Leigh Johnson
933ab65b3f remove log line, yank generateList dependency from card controller 2016-02-10 13:12:47 -05:00
Leigh Johnson
b60d760a9a #632 add /management-jobs/card module, replace module managementJobsList with managementJobsCard 2016-02-10 11:23:43 -05:00
Michael Abashian
f863972cea Added Panel class and list title to the Home Hosts list view 2016-02-10 11:18:00 -05:00
Michael Abashian
cbd863de71 Removed the Stream factory declaration where it is no longer needed. Removed from many of the controllers throughout the application. 2016-02-10 10:44:19 -05:00
jlmitch5
3eeba44137 Merge pull request #894 from jlmitch5/scheduleListUpdate
update scheduler list styling
2016-02-10 09:55:44 -05:00
Matthew Jones
8db2f60405 Notification serializers, views, and tasks
* Implement concrete Notification model for notification runs
* Implement NotificationTemplate and Notification serializers and views
* Implement ancillary views
* Implement NotificationTemplate trigger m2m fields on all job templates
  via a fields mixin
* Link NotificationTemplates with an org
* Link notifications with the activity stream
* Implement Notification celery tasks
* Extend Backend field parameters to identify sender and receiver as
  parameters needed by the message and not the backend itself
* Updates to backends to better fit the django email backend model as it
  relates to Messages
* Implement success job chain task + notifications
* Implement notifications in error job chain task
2016-02-09 23:12:55 -05:00
Michael Abashian
ca665a548f Merge pull request #892 from mabashian/empty-list-text
Made empty list text configurable
2016-02-09 16:53:02 -05:00
Michael Abashian
dea865da26 Merge pull request #891 from mabashian/activity-stream-dropdown-nav
Added activity stream navigation dropdown
2016-02-09 16:52:38 -05:00
John Mitchell
ef2a037205 update scheduler list styling 2016-02-09 16:28:38 -05:00
Michael Abashian
635634b12d Made the empty list text a configurable item that can be passed to the list generator. If it's not passed in we fall back to the existing string. 2016-02-09 16:27:24 -05:00
Michael Abashian
a450dbb42a Added activity stream navigation dropdown 2016-02-09 15:49:15 -05:00
jlmitch5
799426df87 Merge pull request #820 from jlmitch5/schedulerFormStyles
update to scheduler form styling
2016-02-09 11:12:43 -05:00
Michael Abashian
92d03cec98 Merge pull request #882 from mabashian/stream-details-modal
Styling update on the activity stream action details modal
2016-02-09 10:53:08 -05:00
Wayne Witzel III
d8ec54baba Merge pull request #815 from wwitzel3/tests-activity-stream
refactor activity_stream tests
2016-02-09 10:48:22 -05:00
Leigh Johnson
cd6f42ee68 fixes #875 - init bootstrap modals with backdrop: "static" option 2016-02-08 17:16:26 -05:00
Michael Abashian
cb36f1eba5 Changed Detail prefix to StreamDetail in our stream details less file. 2016-02-08 17:08:35 -05:00
Michael Abashian
49a458b178 Styling update on the activity stream action details modal. Removed its dependency on the form generator and moved it out into a directive. 2016-02-08 16:59:37 -05:00
John Mitchell
ada183f979 update to scheduler form styling 2016-02-08 12:55:00 -05:00
Wayne Witzel III
702ce85074 change mocking behavior to be closer to the source 2016-02-06 08:57:44 -05:00
Wayne Witzel III
18ea2e0201 default to reuse-db for testing 2016-02-05 21:40:01 -05:00
Wayne Witzel III
0ab11e53dd refactoring activity_stream functional tests 2016-02-05 21:38:48 -05:00
Matthew Jones
a2cf365325 Merge pull request #804 from cchurch/allow-null-or-blank-for-project-booleans
Allow null/blank input for boolean fields on projects.
2016-02-05 09:55:15 -05:00
Matthew Jones
b8dfa3df16 Merge pull request #803 from cchurch/remove-fields-for-ad-hoc-commands
Remove unified_job_template and description fields for ad hoc commands
2016-02-05 09:55:06 -05:00
Matthew Jones
38b1d13edc Merge pull request #802 from cchurch/metadata-check-if-view-has-serializer
Check if view has a get_serializer method before trying to call it.
2016-02-05 09:54:59 -05:00
Matthew Jones
a20fa59b9c Merge pull request #801 from cchurch/include-api-css-js
Include api.css and api.js under awx/static/.
2016-02-05 09:54:48 -05:00
Matthew Jones
e890f23d00 Merge pull request #799 from cchurch/quick-fix-select-related
Quick fix for select related error with unified job templates and jobs
2016-02-05 09:54:37 -05:00