9709 Commits

Author SHA1 Message Date
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
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
Leigh Johnson
14562d9ab6 Project list - make names links, resolves #3805 (#3858) 2016-11-03 13:49:52 -04:00
Matthew Jones
8e77deea27 Push celery queue stats to memcached periodically
We'll piggyback off the task that checks for inconsistent jobs between
celery and Tower itself. These are read off via /api/v1/ping
2016-11-03 12:10:38 -04:00
Leigh Johnson
08b4364211 Remove old search code reintroduced by 3.0.3 backmerge 2016-11-03 11:24:41 -04:00
Michael Abashian
00982dfe2d Merge pull request #3853 from mabashian/create-credential-quickfix
Quick fix for creating a credential
2016-11-03 10:57:45 -04:00
Michael Abashian
bc45c04c44 Quick fix for creating a credential. This addresses a bug where a javascript error would be thrown when creating a machine credential with no password prompt (and probably other types of credentials). 2016-11-03 10:23:48 -04:00
Matthew Jones
e01c86e88f Fix missing import for failure signal handler 2016-11-03 09:43:18 -04:00
Leigh Johnson
f5ba29ba46 Enables cloud credential lookup modal 2016-11-02 19:47:23 -04:00
Shane McDonald
793ce37a07 Get unit-test container working
node_modules was being overwritten by the bind-mount when the container started. This is kind of hacky, but it’s the only way to do this without changing everything.
2016-11-02 19:30:37 -04:00
Leigh Johnson
2084999e78 Fixes errors thrown when saving groups add / edit forms
Fixes incorrect ng-required statement affecting group form validity
2016-11-02 18:56:00 -04:00
Leigh Johnson
9a3902b2b6 Fixes list results display after clearing invalid set of results, resolves #3828 (#3846) 2016-11-02 18:04:17 -04:00
Leigh Johnson
22bf717f2f Add missing organization lookup config to inventory scripts form spec 2016-11-02 18:01:53 -04:00
Aaron Tan
a2adc7f413 Merge pull request #3782 from jangsutsr/3518_graph_topology_validation
Add graph topology validations to workflow JT nodes
2016-11-02 16:14:54 -04:00
Leigh Johnson
d67bc0654c Fixes: inconsistent form validity & failing redirect after saving a
project
2016-11-02 15:40:36 -04:00
Alan Rominger
eaca67af18 Merge pull request #3811 from AlanCoding/ctit_timeout_second_try
Move timeout settings into 3 different settings vars
2016-11-02 15:12:33 -04:00
AlanCoding
aaf3a89a64 fixed typo in project timeout setting 2016-11-02 14:59:51 -04:00
AlanCoding
83e31b8618 remove timeout settings example, attach minimum timeout values 2016-11-02 14:59:51 -04:00
AlanCoding
de66318381 move timeout settings into 3 different settings vars 2016-11-02 14:59:51 -04:00
Alan Rominger
a5aa2df681 Merge pull request #3838 from AlanCoding/wf_dag_prefetch
Keep queries for building WF DAG to a minimum
2016-11-02 14:47:16 -04:00
Matthew Jones
e999803d3a Merge pull request #3837 from wwitzel3/playbook-httpd-fix
remove httpd process stop check
2016-11-02 14:42:08 -04:00
Alan Rominger
7855d314c5 Merge pull request #3839 from ansible/AlanCoding-patch-4
Remove incorrect use of user capabilities prefetch
2016-11-02 14:42:03 -04:00
Matthew Jones
ef77038d52 Merge pull request #3844 from ansible/AlanCoding-patch-5
flake8
2016-11-02 14:39:47 -04:00
Shane McDonald
c99f240c89 Add node_modules bins to Makefile PATH 2016-11-02 14:30:07 -04:00
Matthew Jones
1908b56ef7 Add event handler to manifest 2016-11-02 14:16:27 -04:00
Alan Rominger
c6bbc63058 flake8 fix from release branch merge 2016-11-02 14:13:16 -04:00
Graham Mainwaring
f3cb5816d5 Merge pull request #3843 from ghjm/devel
Can't use bash syntax since make uses /bin/sh
2016-11-02 14:01:12 -04:00
Graham Mainwaring
b05cd9e5c6 Can't use bash syntax since make uses /bin/sh 2016-11-02 13:46:49 -04:00
Matthew Jones
4cb2e5aa02 Add failure event handler for supervisor process 2016-11-02 13:44:01 -04:00
Shane McDonald
d42ec44010 Use grunt variable in Makefile 2016-11-02 13:35:26 -04:00
Matthew Jones
23bf9cd2be Cleanup tower services and exit handling
* Replace apache with nginx in various service scripts
* Add a failure handler that will shut down all services if any of them
  fail
* Use INT signal for uwsgi shutdown procedure
2016-11-02 13:00:09 -04:00
Leigh Johnson
cc5135fd26 Fixes Projects > Edit TypeError: Cannot set property
'showMissingPlaybooksAlert' of undefined
2016-11-02 12:31:47 -04:00
Shane McDonald
4e81daafec Hack for downgrading npm when using overlay storage driver
https://github.com/npm/npm/issues/9863
2016-11-02 12:22:10 -04:00
Shane McDonald
021666482a Downgrade npm in unit-test image
https://github.com/npm/npm/issues/14042#issuecomment-249139529
2016-11-02 12:08:03 -04:00
Chris Meyers
5c71f1d6f7 allow all hosts during development 2016-11-02 10:45:42 -05:00
Aaron Tan
843c48934e Refactor cycle detector to prevent potential inf loop. 2016-11-02 11:36:08 -04:00
Shane McDonald
0cbad4ccb8 Merge pull request #3840 from ansible/daphne-shebang
Sub out correct shebang in /venv/tower/bin/daphne
2016-11-02 11:17:43 -04:00
Chris Meyers
cc7949f040 update docs 2016-11-02 10:00:05 -05:00
Leigh Johnson
3e94b83653 Fixes missing & poorly-resolved RBAC UI capabilities integrations, resolves #3806 & #3818 (#3836) 2016-11-02 10:56:21 -04:00
Chris Meyers
250a71907d update for commit hook 2016-11-02 08:25:51 -05:00
Alan Rominger
dd14e51c7c Remove incorrect use of user capabilities prefetch
Connect #3574
2016-11-02 08:10:55 -04:00
Leigh Johnson
6d57d8f40b Fixes error thrown when saving various forms: `Cannot set property
'name_api_error' of null`

Resolves #3822 & #3832
2016-11-01 22:27:26 -04:00
Aaron Tan
d1ec44f20a i18n changes. 2016-11-01 16:39:53 -04:00
Michael Abashian
a0021f974a Fixed merge typo 2016-11-01 16:27:11 -04:00
Aaron Tan
ff1fdb4f5b Error message text improvement. 2016-11-01 15:29:03 -04:00
Aaron Tan
a85075acea Mutex validator added. 2016-11-01 15:29:03 -04:00
Aaron Tan
53eb198abb Functional test added. 2016-11-01 15:27:30 -04:00
Aaron Tan
7472cf0dc9 Refactor for better performance. 2016-11-01 15:25:50 -04:00