Chris Meyers
de02138dfd
spelling is hard
2018-01-10 09:26:11 -05:00
Chris Meyers
0a9d3d47b9
more efficiently determine saml team mapping
2018-01-09 12:16:07 -05:00
Chris Meyers
664bdec57f
add documentation
2018-01-05 14:43:33 -05:00
Chris Meyers
9d58b15135
allow for saml attributes to define team and org
...
related to https://github.com/ansible/awx/issues/217
* Adds a configure tower in tower setting for users to configure a saml
attribute that tower will use to put users into teams and orgs.
2018-01-04 15:35:11 -05:00
Ryan Petrello
4707b5e020
Merge pull request #917 from ryanpetrello/more-stdout-event-polish
...
more stdout event polish
2018-01-04 14:54:46 -05:00
Aaron Tan
6c2a7f3782
Merge pull request #906 from jangsutsr/refactor_named_url_tests
...
Refactor named URL unit tests
2018-01-04 14:20:27 -05:00
Ryan Petrello
47875c5f9a
Merge pull request #916 from ryanpetrello/memcache-fact-cache-size-warning
...
make the fact caching plugin fail more gracefully for large payloads
2018-01-04 13:06:29 -05:00
Ryan Petrello
f28f7c6184
refactor job event signal generation code
2018-01-04 12:50:12 -05:00
Ryan Petrello
1494c8395b
update websockets docs to reflect new event groups
2018-01-04 11:40:15 -05:00
Ryan Petrello
2691e1d707
make the fact caching plugin fail more gracefully for large payloads
...
related: https://github.com/ansible/ansible/pull/34424
2018-01-04 11:33:47 -05:00
Ryan Petrello
6d413bd412
Merge pull request #833 from ryanpetrello/stdout-events
...
generalize stdout event processing to emit events for all job types
2018-01-04 11:28:52 -05:00
Aaron Tan
54bf7e13d8
Refactor named URL unit tests
...
The original tests set no longer works after Django 1.11 due to more
strict rules against dynamic model definition. The refactored tests set
aims at each existing model that apply named URL rules, instead of
abstract general use cases, thus significantly improves maintainability
and readability.
Signed-off-by: Aaron Tan <jangsutsr@gmail.com>
2018-01-03 14:00:30 -05:00
Ryan Petrello
c6b6a3ad89
send and subcribe to summary events for all new events
2018-01-03 09:09:45 -05:00
Ryan Petrello
2bd656e61d
calculate stdout download length using the ORM, not raw SQL
2018-01-03 09:09:44 -05:00
Ryan Petrello
35b8e40d3c
remove deprecation from the stdout endpoint; text downloads still use it
2018-01-03 09:09:44 -05:00
Ryan Petrello
c4d901bf2c
add functional API tests for deprecated job event stdout composition
...
see: https://github.com/ansible/awx/issues/200
2018-01-03 09:09:44 -05:00
Ryan Petrello
1369f72885
add new API endpoints and websocket emit for new job event types
...
see: https://github.com/ansible/awx/issues/200
2018-01-03 09:09:44 -05:00
Ryan Petrello
0b30e7907b
change stdout composition to generate from job events on the fly
...
this approach totally removes the process of reading and writing stdout
files on the local file system at settings.JOBOUTPUT_ROOT when jobs are
run; now stdout content is only written on-demand as it's fetched for
the deprecated `stdout` endpoint
see: https://github.com/ansible/awx/issues/200
2018-01-03 09:09:43 -05:00
Ryan Petrello
fc94b3a943
generalize stdout event processing to emit events for *all* job types
...
* introduces three new models: `ProjectUpdateEvent`,
`InventoryUpdateEvent`, and `SystemJobEvent`
* simplifies the stdout callback management in `tasks.py` - now _all_
job run types capture and emit events to the callback receiver
* supports stdout reconstruction from events for stdout downloads for
_all_ job types
* configures `ProjectUpdate` runs to configure the awx display callback
(so we can capture real playbook events for `project_update.yml`)
* ProjectUpdate, InventoryUpdate, and SystemJob runs no longer write
text blobs to the deprecated `main_unifiedjob.result_stdout_text` column
see: https://github.com/ansible/awx/issues/200
2018-01-03 09:09:42 -05:00
Michael Abashian
815cd829e0
Merge pull request #872 from mabashian/865-jquery-ui-upgrade-bug
...
Fixed spinners after jquery-ui upgrade
2018-01-02 13:18:51 -05:00
Ryan Petrello
28c612ae9c
Merge pull request #871 from AlanCoding/dirty_extra_data
...
Fix bug when creating system job schedule
2018-01-02 09:22:07 -05:00
Bill Nottingham
d6ed6a856d
Merge pull request #845 from wenottingham/he-sees-you-when-you're-sleeping
...
Tweak collected information.
2017-12-21 13:52:11 -05:00
mabashian
706b370f7e
Fixed spinners after jquery-ui upgrade
2017-12-20 16:02:53 -05:00
AlanCoding
80a2d10742
fix bug when creating system job schedule
2017-12-20 15:30:57 -05:00
Jake McDermott
f7259a1e78
Merge pull request #844 from jakemcdermott/fix-package-json-backmerge-issue
...
package.json updates / restore ui watch functionality
2017-12-18 17:03:03 -05:00
Jake McDermott
987cdc6802
Bump versions of angular-codemirror, jquery-ui, and moment
2017-12-18 16:21:29 -05:00
Alan Rominger
6e27294e2b
Merge pull request #846 from AlanCoding/encrypt_on_save
...
Encrypt password answers on config save
2017-12-18 16:20:08 -05:00
AlanCoding
3439ba5f3b
allow WFJT nodes without required variables
2017-12-18 12:03:40 -05:00
AlanCoding
c8e10adc96
fix bug saving extra_data and follow prompts rules
...
display_extra_vars was not taking a copy of the data before
acting on it - this causes a bug where the activity stream will
modify the existing object on the model. That leads to new data
not being accepted.
Also moved the processing of extra_data to prior to the accept
or ignore kwargs logic so that we pass the right (post-encryption)
form of the variables.
2017-12-18 10:50:22 -05:00
Christian Adams
7e261b5246
Merge pull request #847 from rooftopcellist/contributing_typos
...
Fixed Typos
2017-12-15 11:09:43 -05:00
AlanCoding
1e1839915d
validate against unencrypted values at spawn point
2017-12-15 10:47:23 -05:00
AlanCoding
74bf058d62
encrypt password answers on config save
2017-12-15 07:48:55 -05:00
Matthew Jones
5ec537bad2
Merge pull request #843 from ansible/remove_old_tests
...
Removing old unused tests
2017-12-14 23:55:12 -05:00
Bill Nottingham
568901af74
Tweak collected information.
2017-12-14 19:22:18 -05:00
adamscmRH
c2e9926330
Fixed Typos
2017-12-14 16:13:04 -05:00
Jake McDermott
c4ccfa1b27
restoring ui watch functionality
2017-12-14 14:23:46 -05:00
Matthew Jones
478bcc0b07
Removing old unused tests
2017-12-14 11:34:43 -05:00
Alan Rominger
9c783aa0ce
Merge pull request #804 from AlanCoding/active_count
...
simplify query for active_count
2017-12-14 10:47:12 -05:00
Alan Rominger
526391a072
Merge pull request #838 from AlanCoding/no_unicode_loop_2
...
Avoid slowdown generating smart_filter (alternative 2)
2017-12-14 10:23:31 -05:00
AlanCoding
98f8faa349
simplify query for active_count
2017-12-14 09:53:26 -05:00
AlanCoding
8a2a5b0fb1
avoid slowdown generating smart_filter
2017-12-14 09:39:39 -05:00
Jake McDermott
07cfa6cba5
Merge pull request #834 from AlanCoding/jump-the-start-line
2017-12-13 22:43:54 -05:00
Jake McDermott
ad70754b6a
Merge pull request #832 from mabashian/linting-error-cleanup
...
Fixed linting/leftover merge errors
2017-12-13 19:46:02 -05:00
AlanCoding
9fb24f1a4c
add hack to TimingMiddlWare for Shippable tests
2017-12-13 18:49:26 -05:00
mabashian
aefa30e1e9
Fixed linting/leftover merge errors
2017-12-13 18:28:52 -05:00
Alan Rominger
7eb2d86890
Merge pull request #749 from AlanCoding/detail_opt
...
Apply list view optimizations to detail view
2017-12-13 18:19:00 -05:00
Matthew Jones
2fb0144914
Add libcurl-devel to official image build
2017-12-13 16:14:55 -05:00
AlanCoding
e3a731bb9e
apply listview optimizations to detail view
2017-12-13 16:09:37 -05:00
Ryan Petrello
451e9a7504
Merge pull request #826 from AlanCoding/322flake
...
flake8 fixes from removal of re-encrypt test
2017-12-13 15:23:41 -05:00
Ryan Petrello
8311acfba2
Merge pull request #825 from AlanCoding/towervars
...
Add back in support of towervars lost in merge
2017-12-13 15:19:47 -05:00