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

5629 Commits

Author SHA1 Message Date
John Mitchell
5b20e8767a fix logo on about modal 2015-10-28 17:37:12 -04:00
Jared Tabor
3892b3db1c Forgot to update object reference for upgraded $http service from angular 1.4 2015-10-28 10:08:46 -07:00
jaredevantabor
4de6fba70a Merge pull request #481 from jaredevantabor/logout-fixes
Wrapping timer init in promise
2015-10-28 09:17:27 -07:00
Jared Tabor
d2cefe6018 adding null pointer check
for timer factory when a user logs out from another tab
2015-10-28 08:47:09 -07:00
Jared Tabor
65d44287df fix console error with rest interceptor
null pointer exception fixed
2015-10-27 21:09:12 -07:00
Jared Tabor
12d31c5099 promise function was outdated for $http request of config.js
using .catch instead of .error
2015-10-27 20:49:37 -07:00
Jared Tabor
6c8597cf95 Wrapping timer init in promise
to ensure that timer is started before initializing websockets. This was leading to instances where the websocket thought that the session
hadn't been started yet. Also fixed an issue where the session wasn't tearing down the $interval when AUTH_TOKEN_PER_USER had been exceeded.
2015-10-27 13:51:54 -07:00
John Mitchell
32962bcadc fixed project update canceling 2015-10-27 14:42:10 -04:00
John Mitchell
0f68ead0b3 fixed fields not clearing out between source changes 2015-10-27 13:58:27 -04:00
John Mitchell
f6f5bdd396 fixed styling issues for job detail explanation 2015-10-27 13:47:13 -04:00
John Mitchell
eddb2e01b0 fixed prepopulation of custom script lookups 2015-10-26 17:40:39 -04:00
Jared Tabor
80eeda1c8c removing stale code
to make atom happy :)
2015-10-25 18:32:54 -07:00
Jared Tabor
b83dfda92c fixing a null pointer exception if services are down and user attempts to login 2015-10-25 17:29:29 -07:00
Jared Tabor
e18791a657 Integer Directive was returning false for a blank string
this was causing the integer directive to throw an error if the user entered something in the field, then erased it.
2015-10-25 14:48:23 -07:00
John Mitchell
8e4adfb887 fixed typo in cancel message 2015-10-25 00:15:54 -04:00
Jared Tabor
f73e56439a On logout, log the user out of the UI on all open tabs
I've also reworked the logic around storing the user session idle time in localStorage
2015-10-23 17:12:04 -07:00
John Mitchell
f8e4fdf201 change async loading order for form 2015-10-23 12:23:37 -07:00
John Mitchell
58f0f9f6e9 fixed alert unnecessary escaping 2015-10-23 09:06:49 -07:00
John Mitchell
98e66d8762 fixed conditional of management jobs not showing up for non-superuser 2015-10-23 08:45:50 -07:00
jlmitch5
0c9ac94b63 Merge pull request #480 from jlmitch5/fix_failure_update_reason
Fix failure update reason
2015-10-23 08:24:58 -07:00
Matthew Jones
4603ac5d1c Change dependent job failure message entity ref.
Originally we were looking at the underlying project/inventory update
but we are now populating the name of project updates and inventory
updates a lot better so we'll just take their names
2015-10-22 10:49:42 -04:00
John Mitchell
891c9c0889 Updated the job details failure explanation
Uses a help popover set up in the partial
Also pulls labels for the job types from the unified_jobs option request using the helper services
2015-10-21 20:35:28 -07:00
John Mitchell
8dfc9e482e Revamp options request helper to work for other choice fields
This moves the get-choices and get-labels services to the rest module
The get-choices service is also revamped so that a field name can be passed to check the options request json
All uses of get choices were revamped to utilize the new naming convention
2015-10-21 20:31:21 -07:00
Matthew Jones
152ddc4f4f Rename task_ to job_ for pre-task fail error 2015-10-20 21:32:45 -04:00
Matthew Jones
45982e50e6 Merge branch 'release_2.4.0' into devel
* release_2.4.0: (94 commits)
  Fix up location of apt key for mongo
  Handle playbook_on_include events from v2 ansible
  if basic auth in headers, don't use cookie token
  Add a docker-ui container to the compose workflow
  Fix custom inventory scripts on org deletion
  adding check for missing session time from local storage
  Properly handle idle/expired session across tabs
  fixed system tracking date issues
  Improve postgres user creation
  Remove silly user check in postgres config
  Fix typo in `clean` target
  fixed sources scope regions issue
  fixed scan date being the earlier one when identical
  fixed the console errors for the sources scope
  fixed console error
  fixed standard out load for adhoc commands
  fixing custom inventory script error
  Revert "change list separator for adhoc host patterns"
  Revert "update awFeature ldap to enterprise_auth"
  Revert "Change delimiter from ':' to ','."
  ...
2015-10-20 16:10:02 -04:00
Matthew Jones
b579b76099 Handle playbook_on_include events from v2 ansible 2015-10-20 11:18:07 -04:00
Chris Meyers
bcc2cb7914 Merge pull request #479 from chrismeyersfsu/fix-basic_auth_cookies
if basic auth in headers, don't use cookie token
2015-10-19 17:07:14 -04:00
Chris Meyers
1db26531a1 if basic auth in headers, don't use cookie token
* Allows for basic auth to be used when cookie token fails
2015-10-19 14:49:15 -04:00
Matthew Jones
99da0965ef Add a docker-ui container to the compose workflow 2015-10-19 12:07:09 -04:00
Matthew Jones
b25413002c Fix custom inventory scripts on org deletion
We'll now clear the organization for it, this requires a database
migration to accept null values for custom inventory scripts
2015-10-19 12:07:09 -04:00
jaredevantabor
4692c13a9d Merge pull request #478 from jaredevantabor/session-fixes
Properly handle idle/expired session across tabs
2015-10-16 20:27:48 -07:00
Jared Tabor
d7c78d0b28 adding check for missing session time from local storage
for gracefully failing if session time isn't set
2015-10-16 20:26:25 -07:00
jlmitch5
aca31b0ff4 Merge pull request #477 from jlmitch5/system_tracking_date_issues
fixed system tracking date issues
2015-10-16 21:34:34 -04:00
Jared Tabor
fa2a11d8e7 Properly handle idle/expired session across tabs
this utilizes local storage instead of cookies/rootscope
2015-10-16 16:48:09 -07:00
John Mitchell
ed8aa45693 fixed system tracking date issues 2015-10-16 17:57:23 -04:00
James Laska
3ae78ca6e8 Fix typo in clean target 2015-10-15 20:30:36 -04:00
John Mitchell
6b9cb0f496 fixed sources scope regions issue 2015-10-15 12:04:57 -04:00
John Mitchell
e4452fba2b fixed scan date being the earlier one when identical 2015-10-15 10:10:48 -04:00
jlmitch5
8d705b01f2 Merge pull request #476 from jlmitch5/fix_adhoc_stdout_load
fixed standard out load for adhoc commands
2015-10-15 09:46:43 -04:00
John Mitchell
80c629bf3e fixed the console errors for the sources scope 2015-10-14 19:53:58 -04:00
John Mitchell
4049a2cfa4 fixed console error 2015-10-14 18:18:47 -04:00
John Mitchell
e056a93ea9 fixed standard out load for adhoc commands 2015-10-14 17:40:54 -04:00
Jared Tabor
b45534859f fixing custom inventory script error
the source_script ID wasn't getting translated to inventory script ID on sources_scope when editing a preexisting source
2015-10-14 13:40:37 -07:00
John Mitchell
54f308a61b Revert "change list separator for adhoc host patterns"
This reverts commit 7200ad3a87b642d7f947f9eaa110b8c90767f34f.
2015-10-14 16:02:09 -04:00
John Mitchell
e3d6803df7 Revert "update awFeature ldap to enterprise_auth"
This reverts commit bc49756ef6e792efd5a32d7342b0f7d1aa17a950.
2015-10-14 16:01:37 -04:00
Jared Tabor
ff121a56c1 check for object existence before searching for key on that object
to resolve some console errors in regards to http  error handling
2015-10-14 09:14:44 -07:00
Matthew Jones
1bbd5fbe0a Update UI error text for single data picker
When no data is available
2015-10-14 10:19:05 -04:00
Chris Meyers
f051c13374 list cust inv scripts with deleted orgs 2015-10-14 07:36:32 -05:00
Matthew Jones
fd33d7df58 Tweak proj rbac for orphaned projects
Slight tweak to the rbac for projects related to the user who created
them.  IF a user created a project but it is orphaned/not associated
with an organization then they will be able to see/change it.  If,
however, it is created and associated with an organization and then they
are removed as an org admin they will no longer have access to it.
2015-10-13 16:42:12 -04:00
jaredevantabor
d0888c1bcb Merge pull request #473 from jaredevantabor/session-fixes
fixing timer issue that would log user out on each page refresh
2015-10-13 12:37:04 -07:00