Commit Graph

9772 Commits

Author SHA1 Message Date
Chris Meyers
adcf0af2a0 on host callback, upate dynamic inv only once
* During a job template launch via the host callback launch feature,
when the host launching the job template is not found; we try to launch
associated dyn inv updates to pick up the host. Then the inv is searched
again for the host. If the host is found, then the jt is launched. This
fix carries forward the feature that prevents the dyn inv update with
cache timeout of 0 from being re-launched with the new task manager.
2016-11-08 15:06:47 -05:00
Alan Rominger
549274f97b Merge pull request #3909 from AlanCoding/un_db_ify
Remove db access from unit test
2016-11-08 10:21:11 -05:00
Chris Meyers
1fc34a9f41 mock capacity 2016-11-08 10:19:14 -05:00
James Laska
90fff3da29 Add fontconfig testjs dependency
Also cleaned up some whitespace for consistency.
2016-11-08 10:18:53 -05:00
AlanCoding
c49200a024 remove db access from unit test 2016-11-08 10:12:53 -05:00
Alan Rominger
5a3fa395d6 Merge pull request #3908 from AlanCoding/indent_comment
flake8 fix
2016-11-08 09:42:47 -05:00
AlanCoding
74a118b447 flake8 fix 2016-11-08 09:37:07 -05:00
Alan Rominger
3c60e254b9 Merge pull request #3877 from AlanCoding/related_access
[RBAC] Refactor of ForeignKey access checks
2016-11-08 09:30:15 -05:00
Chris Meyers
1aa6ab72d6 fixes multiple proj updates running for single job
related to #3906
2016-11-08 09:07:27 -05:00
Alan Rominger
6bcd0f5259 Merge pull request #3907 from AlanCoding/rename_migraiton
Rename migration file to use the v prefix
2016-11-08 08:27:43 -05:00
AlanCoding
2d88d9a573 rename migration file to use the v prefix 2016-11-08 08:25:15 -05:00
Chris Church
5760654671 Fix warning from v2_playbook_on_task_start with ad hoc commands. 2016-11-07 21:42:39 -05:00
Graham Mainwaring
62caaa728c Merge pull request #3903 from ghjm/deb_nginx
3.1 deb build, not including bubblewrap
2016-11-07 17:56:02 -05:00
Graham Mainwaring
93ef8f7240 3.1 deb build, not including bubblewrap 2016-11-07 17:54:24 -05:00
Bill Nottingham
e02ab1940b Merge pull request #3875 from wenottingham/pids-in-namespaaaaaaaaace
Unshare PID namespace when using bubblewrap.
2016-11-07 17:11:47 -05:00
AlanCoding
9c30058abe improvements to related access unit tests 2016-11-07 17:01:22 -05:00
Aaron Tan
428447a22a Merge pull request #3891 from jangsutsr/3517_implement_workflow_schedules
Implement workflow JT schedule
2016-11-07 16:31:03 -05:00
Aaron Tan
cd14b62b23 typo fix. 2016-11-07 16:16:13 -05:00
Aaron Tan
581d6c5996 Merge pull request #3892 from jangsutsr/3874_project_update_missing_timeout
Fix project serializer timeout field misplacement
2016-11-07 15:28:46 -05:00
Leigh Johnson
951906408e Fix username links in Users > List view, kickback on #3805 (#3893) 2016-11-07 15:17:47 -05:00
Matthew Jones
343966f744 Implement gathering overall task capacity
For use when running/planning jobs
2016-11-07 13:45:01 -05:00
Aaron Tan
91986d904a Fix project serializer timeout field misplacement. 2016-11-07 11:58:56 -05:00
AlanCoding
2afdc04ac0 cleanup inventory admin access syntax 2016-11-07 11:56:11 -05:00
Aaron Tan
a80c8077d2 Update _get_unified_job_field_names. 2016-11-07 11:51:35 -05:00
Aaron Tan
45df199703 Implement workflow JT schedule. 2016-11-07 11:37:11 -05:00
Jake McDermott
db5ffa7e03 Update task_manager_system.md 2016-11-07 11:29:05 -05:00
Bill Nottingham
c350d8f9bf Update websockets.md 2016-11-07 10:08:07 -05:00
Matthew Jones
0fa4600f79 Merge pull request #3864 from wwitzel3/websocket-docs
added some documentation about channels/websockets
2016-11-07 10:06:56 -05:00
Jared Tabor
a9170b5e47 Merge pull request #3885 from jaredevantabor/jtabor-ctit2
Rebased CTiT
2016-11-07 07:01:15 -08:00
Bill Nottingham
bc98548b57 Merge pull request #3873 from wenottingham/req-fu
Sort requirements
2016-11-07 09:58:15 -05:00
AlanCoding
cae2cdaad8 check related method small fixups 2016-11-07 08:53:04 -05:00
AlanCoding
f2846101a3 deal with a special null null case 2016-11-05 14:24:04 -04:00
AlanCoding
2279e1e8dc unit test related field checks, finialize scenarios 2016-11-05 13:45:07 -04:00
AlanCoding
2ddda56f09 expand check_related to polymorphic related fields 2016-11-05 11:01:59 -04:00
Bill Nottingham
51321b30f0 Unshare PID namespace when using bubblewrap.
This prevents some potential nastiness with playbooks running as the awx user.
2016-11-04 22:49:34 -04:00
AlanCoding
db890b5759 interpret absent related field as a unchanged state in permissions check 2016-11-04 22:08:00 -04:00
AlanCoding
5c2c46c5aa Consolidate related field access checks into BaseAccess method 2016-11-04 22:07:59 -04:00
Leigh Johnson
7167fd7c6b Target correct view in portal mode & activity stream route definitions #3851 (#3869) 2016-11-04 16:51:06 -04:00
Bill Nottingham
eab6511682 Sort requirements 2016-11-04 16:48:18 -04:00
Matthew Jones
88a8810815 Merge pull request #3729 from sundeep-co-in/STAGE
enable django i18n
2016-11-04 15:52:33 -04:00
Aaron Tan
7348acdcfc Merge pull request #3796 from jangsutsr/3526_prevent_job_deletion_during_workflow_run
Add destory sanity checks to prevent UJ deletion during underlying workflow run
2016-11-04 14:03:34 -04:00
Aaron Tan
d7682ed913 Merge pull request #3862 from jangsutsr/workflow_test_typo_fix
Fix typo in workflow functional test
2016-11-04 14:03:11 -04:00
jaredevantabor
8c7a4b56f7 putting form-generator.inject() back into the app
for backwards compatibility with features that relied on that function. see: ctit
2016-11-04 10:56:13 -07:00
Matthew Jones
fa0780b9d0 Optimize uwsgi launching in dev container and prod
* Set --master flag so we have a preforking master process to manage
  subprocs
* Set max-requests to 1000 so uwsgi will recycle processes after 1000
  requests
* Set --no-orphans so uwsgi will track child processes and clean them up
  in order to respawn children
* Turn stats on in the container and install uwsgitop in dev
  requirements so we can track uwsgi stats
2016-11-04 13:38:23 -04:00
Ken Hoes
ee035cbb99 Configure Tower in Tower 2016-11-04 10:28:14 -07:00
Wayne Witzel III
ad56325993 added some documentation about channels/websockets 2016-11-04 09:58:24 -04:00
Aaron Tan
4068d4aaeb Change text in workflow functional test to be consistant with the latest version. 2016-11-03 17:55:58 -04:00
Matthew Jones
06dd5bb5d2 Fix an invalid database backend in unit test settings 2016-11-03 16:09:17 -04:00
Matthew Jones
b0e40b6c29 Remove proot from dev base image in favor of bubblewrap
Remove python utils from base system, they are included with the venvs
2016-11-03 16:06:03 -04:00
Leigh Johnson
b279474d0e Submit search on enter - #resolves #3855 (#3857) 2016-11-03 13:50:33 -04:00