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
Matthew Jones
319deffc18
Implement notification serializer and validations
2016-02-04 15:52:23 -05:00
Matthew Jones
172207cd4b
Notification endpoints and url expositions
...
Also some changes to the footprint of the notification handler classes
2016-02-04 15:52:23 -05:00
Matthew Jones
96b0fb168f
Updating makefile migration generator
2016-02-04 15:52:23 -05:00
Matthew Jones
805514990b
Changes to celery tasks to support success signals
...
Linking in a success callback that will be invoked by our UnifiedJobs in
the case they terminate normally. This is where we'll hook in the
success notification type.
2016-02-04 15:52:23 -05:00
Matthew Jones
7385efef35
Adding some early Notifications stubs
...
* A basic NotificationTemplate model class with early notification type
definitions
* Initial implementations of the Email, Slack, and Twilio Notification
backends using the Django email backend system
* Some dependencies thereof
2016-02-04 15:52:23 -05:00
Wayne Witzel III
6d71fe49f2
Update README.md
...
Added build tag to README.md
2016-02-04 14:32:40 -05:00
Wayne Witzel III
d4232eaca0
Merge pull request #534 from cchurch/django18
...
Django 1.8 and DRF 3.3 Support
2016-02-04 14:28:44 -05:00
John Mitchell
068b32b1b4
updates to scheduler
...
- form and perspective next scheduler runs are in single list form view for projects and job templates
- submit/cancel/x at top of form project panel work
2016-02-04 13:14:34 -05:00
John Mitchell
1b357d5a3e
css fixes to list headers
...
-tags (like admin on users) are now correctly centered
-buttons on certain forms do not create header centering issues
-added lockup css for use with panel header titles
2016-02-04 13:13:28 -05:00
Wayne Witzel III
5a6dd266da
Merge pull request #784 from wwitzel3/issue/616
...
fixing inventory bug for GCE introduced fixing #616
2016-02-03 16:04:11 -05:00
Wayne Witzel III
b82bd9404f
fixing inventory bug for GCE introduced fixing #616
2016-02-03 13:25:17 -05:00
Chris Church
ab8e37eeaa
Minor fixes based on comments.
2016-02-03 13:18:49 -05:00
Michael Abashian
c9ce546e4b
Merge pull request #782 from mabashian/configurable-title-badge
...
Make title badge a configurable option in the list view
2016-02-03 11:31:23 -05:00
Michael Abashian
e9d99592cf
Added the ability to pass the listTitleBadge parameter to the list generator. Passing a false flag will hide the badge in the title. This is desired on the Activity Stream.
2016-02-03 11:10:22 -05:00
Alan Rominger
1e7d734b50
Merge pull request #760 from AlanCoding/parse_fix_ubuntu
...
Fix scan_services parsing error with Ubuntu14.04
2016-02-03 08:35:16 -05:00
Chris Church
b08a2d1d88
Update default error pages.
2016-02-02 23:00:07 -05:00
Chris Church
4f3dea92fe
Remove dev dependency on django-devserver.
2016-02-02 22:55:58 -05:00
Chris Church
60224cdbe4
Update Django to 1.8 and DRF to 3.3, add new Django migrations, update serializers/pagination/metadata, update browsable API styling.
2016-02-02 17:48:04 -05:00
AlanCoding
44295c06b1
fix parsing error with Ubuntu14.04
2016-02-02 16:14:50 -05:00
Michael Abashian
6242df1a07
Merge pull request #766 from mabashian/activity-stream
...
Added activity stream route and view
2016-02-02 16:12:31 -05:00
Michael Abashian
f70cf7d2f6
Changed activitystream in the url to activity_stream to match up with the api
2016-02-02 16:01:52 -05:00
Matthew Jones
7ab839c17f
Fix up another statsd formatting error
2016-02-02 14:26:17 -05:00
Alan Rominger
fb4cad9838
Merge pull request #756 from AlanCoding/624_fix2_exit_codes
...
Change case of partial failure to warning
2016-02-02 13:42:00 -05:00
Wayne Witzel III
cd13083ea2
Merge pull request #720 from wwitzel3/issue/616
...
Set GCE_ZONE source_regions
2016-02-02 10:21:37 -05:00
Matthew Jones
5d21ad5ae6
Fix up statsd work to support python 2.6
...
Format specifiers must include field specifier
2016-02-02 09:58:19 -05:00
Wayne Witzel III
58499175d6
Set the GCE_ZONE env variable to source_regions.
...
Fix when an empty key is provided and add tests for validate_ssh_private_key
2016-02-02 09:49:04 -05:00
Wayne Witzel III
3982f34392
Merge pull request #764 from wwitzel3/docker-refresh
...
add a docker-refresh make target
2016-02-02 09:39:56 -05:00
Wayne Witzel III
4149fda081
Merge pull request #747 from wwitzel3/tests-squash
...
Use py.test for collecting and running tests.
2016-02-02 09:39:04 -05:00
Wayne Witzel III
f12ab22591
functional -> old
2016-02-02 09:17:45 -05:00
Wayne Witzel III
a44318f0cd
fixed check_license to work with py.test
2016-02-01 18:37:56 -05:00
Wayne Witzel III
320a5b7776
fixing tests that use inventory data
2016-02-01 18:37:56 -05:00
Wayne Witzel III
71a1547c3a
fixing ad_hoc imports
...
flake8 fixes
Fix and add awx/api/tests
added fact tests
added proper xml reports for jenkins
added jenkins requirements and adjusted Makefile target
2016-02-01 18:37:56 -05:00
Wayne Witzel III
6eae492d28
updating commands tests
...
updating test imports, again
relocate base and make tests a module
added pytest config for awx/lib/site-packages
restrucuting more test imports
more test refactoring
refactoring commands tests
2016-02-01 18:37:56 -05:00
Wayne Witzel III
3d4580611e
added pytest to requirements_dev
...
reworking test strucutre
reworked pytest.ini, removed functional imports, updated req_dev
remove unneeded __init__ files
add testing checker to local_settings examples
adding testing packages to system Python for docker
2016-02-01 18:37:56 -05:00
Wayne Witzel III
5d6ea242c0
reorganzing tests folder
...
make tests a module
refacotring to local imports for tests
fixing test import of tasks
fixing test import of tasks
more testing fixups
2016-02-01 18:37:56 -05:00
Chris Meyers
7b07bb7d93
fix bad mocking
2016-02-01 16:02:52 -05:00
Michael Abashian
41589ed558
Added basic activity stream functionality by leveraging the data attribute of the state provider. The breadcrumb directive pulls this information from the state provider and uses it to hide/show the activity stream button and pass the stream the correct data.
2016-02-01 15:25:09 -05:00
Wayne Witzel III
a4aadc0b86
add a docker-refresh make target
2016-02-01 13:13:03 -05:00
Jared Tabor
6efe8a9360
Merge pull request #758 from jaredevantabor/text-input-styling
...
Styling of text input fields
2016-01-31 14:11:59 -08:00
Matthew Jones
f9f10a4ed7
Add some more statsd dummy methods
2016-01-30 12:05:10 -05:00
Jared Tabor
47e80405e2
Styling of text input fields
2016-01-29 15:06:13 -08:00
AlanCoding
0696e59e32
change to warning behavior
2016-01-29 16:27:46 -05:00
Matthew Jones
96b754c5ec
Switch to StatsClient from StatsClientBase
...
So as not to use a purely abstract class
2016-01-29 16:27:32 -05:00
Matthew Jones
c2875c65ca
Fix stats client import
2016-01-29 15:49:51 -05:00
Matthew Jones
fd2339dbb8
Fix up flake8 line seperation issue
2016-01-29 14:52:02 -05:00
Matthew Jones
72d3d093ed
Merge pull request #753 from ansible/jag/fix-nostatsclient
...
Fix to NoStatsClient in callback plugin
2016-01-29 14:43:16 -05:00
Joshua "jag" Ginsberg
d36a4cf50d
Fix to NoStatsClient in callback plugin
2016-01-29 12:41:07 -07:00
Matthew Jones
c7fd21ae52
Fix up flake8 and unit test failures
...
* Make sure we default to localhost to not fail at the GAI check
* Cleanup some flake8 issues in the metrics module
2016-01-29 13:59:37 -05:00
Matthew Jones
16a0d8b45d
Merge pull request #710 from ansible/jag/dumb-init
...
Use dumb-init to manage processes in docker containers
2016-01-29 10:15:00 -05:00