1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-31 23:51:09 +03:00
Commit Graph

616 Commits

Author SHA1 Message Date
James Cammarata
f70dcf8dbb Adding minified js steps to packaging plus other minor fixes
* Added a new make tarket (minjs) to run the compile script
  and modified the sdist target to require it
* Minor fixes to packaging to chown/chmod the SECRET_KEY file
  to the proper user and permissions
2013-07-16 12:19:18 -05:00
chouseknecht
7d04e1ed00 Adding awx-min.js to .gitignore. 2013-07-16 12:52:19 -04:00
chouseknecht
55ccf2a888 Adding awx-min.js to .gitignore 2013-07-16 12:50:28 -04:00
chouseknecht
f63e42ebff AC-216 First pass at turning job event JSON into a modal form. 2013-07-16 12:09:11 -04:00
Chris Church
c5f2f2bfaf Added support for defining additional environment variables in settings to pass to the subprocess launched by the celery task, specify HOME and USER in settings by default instead of supervisord configuration. 2013-07-16 01:39:17 -04:00
Michael DeHaan
82a9572df8 Smarter removal of host/group associations means running the inventory script won't pad database
rows when not needed.  Similar to last change made for groups.
2013-07-15 17:54:36 -04:00
Michael DeHaan
bea844ff51 Keep from unneccessary DB row additions in changing group memberships during inventory import. 2013-07-15 17:24:29 -04:00
Michael DeHaan
0c257996d9 remove dead code, change logger name. 2013-07-15 17:24:29 -04:00
Michael DeHaan
cc8e3e9f8f Option spelling. 2013-07-15 16:27:26 -04:00
Michael DeHaan
25174f955f Fix a Django lookup type. 2013-07-15 16:19:56 -04:00
Chris Church
707c94f32d Import json directly, don't assume it is always available via awx.main.models.*. 2013-07-15 14:51:28 -04:00
Chris Church
5a630d6bfa Update playbook to set environment in supervisor config, expose job_args, job_cwd and job_env attributes via API. 2013-07-15 14:37:26 -04:00
chouseknecht
33aa4182ca Applied prior job_template.extra_vars changes to the jobs detail page. 2013-07-15 14:35:54 -04:00
chouseknecht
3f58947c05 Applied prior job_template.extra_vars changes to the jobs detail page. 2013-07-15 14:32:30 -04:00
Chris Church
8e0974c688 Enabled syslog by default for all 500 errors. 2013-07-15 14:27:02 -04:00
chouseknecht
d2c08d2848 Fixed issue with Allow Callback checkbox and host_config_key value when user unchecks Allow Callback checkbox. 2013-07-15 13:48:23 -04:00
Chris Church
9c39f13056 Hide DeprecationWarning messages when in production (DEBUG=False). 2013-07-15 13:29:06 -04:00
Michael DeHaan
54f6426c0c Cleanup debug message. 2013-07-15 12:08:33 -04:00
Michael DeHaan
0fa5ba606b DB lookups should specify inventory to allow for non-unique group names. 2013-07-15 11:41:06 -04:00
chouseknecht
e0b9e6bbb0 Latest javascript in minified form. 2013-07-15 11:08:06 -04:00
chouseknecht
1d5cf7fd8c AC-213 Fixed confusing project path messages, labels and help text. 2013-07-15 02:25:13 -04:00
Michael DeHaan
c6b6198926 Update list of TODOs 2013-07-14 17:44:28 -04:00
Michael DeHaan
66da429f38 Tweak debug output. 2013-07-14 17:31:08 -04:00
Michael DeHaan
23b0adb34e Clean run of inventory import script. 2013-07-14 17:21:41 -04:00
Michael DeHaan
b0e9ab81af Added fix for "host:port" shortcuts in INI format definitions. 2013-07-14 17:19:31 -04:00
Michael DeHaan
4d8b039074 Fix to use get_host so it shows up in the list of overall added hosts. 2013-07-14 17:16:51 -04:00
Michael DeHaan
d23e2345af Start of logic for DB sync portions of inventory import. 2013-07-14 17:15:26 -04:00
Michael DeHaan
3054be117e Tweak such that all INI groups don't get added directly to all. 2013-07-14 16:34:51 -04:00
Michael DeHaan
43415947d0 Directory loads for inventory import 2013-07-14 16:30:15 -04:00
Michael DeHaan
8f1337128f Dynamic inventory script loading operational -- next up: directories, then DB parts. 2013-07-14 16:25:27 -04:00
Michael DeHaan
7306f93cf9 Allow hostname:portnum in inventory files to be used as shorthand for the importer. 2013-07-14 14:15:52 -04:00
Michael DeHaan
9ee338d9d1 Ini file loading using cleanroom implementation is now largely operational. 2013-07-14 14:13:25 -04:00
Michael DeHaan
3bebe0ed3b At least basic INI file loading operational. 2013-07-14 13:59:09 -04:00
Michael DeHaan
902a9edf6d Add the start of inventory import code. Not functional yet. 2013-07-14 13:50:13 -04:00
chouseknecht
dc6536bf90 Fixed problem with lingering help pop-overs. Issue was user would open help pop-over on a modal dialog and then close the dialog without first closing the help pop-over. Next time a dialog was presented, the lingering help pop-over would re-appear. This is now fixed. 2013-07-13 06:23:40 -04:00
chouseknecht
44f7ce42cc Help icon is now the same everywhere. In some places it was an 'i' and in others a '?'. Same with the color. We had two different flavors of blue. Also streamlined the code. Now all help html is genereated from one place. 2013-07-13 05:56:49 -04:00
chouseknecht
7d6507ec0d AC-201 Added callback URL and lots of tool-tip help around the callback fields. 2013-07-12 17:08:30 -04:00
chouseknecht
43fb2d7ae4 AC-198 All username/password fields and all forms now have autocomplete='false' attribute to prevent browser autofill. Fixed Firefox password save prompt issue. Prompt was ~ 'Do you want to save password for <organization name>'. The prompt is now '...password for <username>'. The issue is the order of the fields. Prompt is build off of first field appearing before password field. Moved organization up and put username before password. Created an Angular approach to removing pre-selected class (the green success class) from a previously used list. Now lists won't appear to have pre-selected. This was kind of wokring with a jQuery approach now it's solid. New method applied to Users only. Will push to other modals shortly. 2013-07-12 13:46:38 -04:00
chouseknecht
3f2f0ebc59 AC-198 Failed login attempts now dispaly with the alert-error class (red) rather than whatever class producess a yellow color. 2013-07-12 11:01:49 -04:00
chouseknecht
613fafff05 AC-198 Fixed the login page so that passwords and usernames are not remembered. The issue is scope variable name overlap. If scope.username or scope.password gets defined along the way, the value gets pushed into the login form. 2013-07-12 10:30:38 -04:00
chouseknecht
01e1edfe1b AC-217 The well surrounding the Inventory tree was missing the bottom border when the 'Show only groups with failures' checkbox is not displayed. 2013-07-11 23:36:14 -04:00
chouseknecht
a72a4e9032 Removed console.log statements. 2013-07-11 23:28:39 -04:00
chouseknecht
a282144845 Merge branch 'master' of https://github.com/ansible/ansible-commander 2013-07-11 23:22:54 -04:00
chouseknecht
6ce364d061 AC-217 Fixed a bunch of issues with Host dialog on Inventories page. The underlying issue is the parent page contains a list constructed with lists/Host.js. The modal is constructed the using the same list, which means the modal and the parent pages share the same variable names. Since the parent page and the modal share the same scope, the two are colliding and things were getting confused. Fixed by overriding list.name and list.iterator in the modal dialog. 2013-07-11 23:22:30 -04:00
Chris Church
d09d94bca2 Finish implementation/tests of job template callback. 2013-07-11 22:32:51 -04:00
chouseknecht
a65d7c09a3 AC-217 user paginate setting now stored in session cookie. Navigate away or change something on the page, the page size sticks. 2013-07-11 21:55:16 -04:00
Michael DeHaan
d1a2b49435 Explain where project file needs to be if it is not present. 2013-07-11 17:38:51 -04:00
chouseknecht
ab6fca64a0 Fixes for AC-212 & AC-2088 2013-07-11 17:18:44 -04:00
Michael DeHaan
36e8dcff7c Don't allow deleting yourself or the very last superuser. 2013-07-11 17:10:55 -04:00
Chris Church
ca949eb71e Initial working version of job template callback with a test. 2013-07-11 14:57:59 -04:00