Commit Graph

191 Commits

Author SHA1 Message Date
Jared Tabor
2b7a2a1a3b fixing merge conflicts
from master
2015-05-15 17:18:14 -04:00
Jared Tabor
a84aed63c9 Revert "Setup initial system tracking struture"
This reverts commit 8a6c23d1d9497f1be814e963e13675d8b38014eb.
2015-05-15 14:14:32 -04:00
Jared Tabor
12fbe984b9 FINAL revert of commit: "Adding a date filter that will format dates in Tower UI"""
This reverts commit 1945c04cd3dfbb33fe3c8139cee88c862cd75cab.
2015-05-15 11:18:47 -04:00
Jared Tabor
20ec360692 Revert "Revert "Adding a date filter that will format dates in Tower UI""
This reverts commit a5119f681d688ea1bdf07b952a065f90a03ea757.
2015-05-15 11:14:29 -04:00
Jared Tabor
052c808b8f Revert "Adding a date filter that will format dates in Tower UI"
This reverts commit 41a168c57f74a774555753a269431efaf795597c.
2015-05-15 11:13:45 -04:00
Joe Fiorini
f70a2acbd9 Setup initial system tracking struture 2015-05-15 11:13:15 -04:00
Jared Tabor
e41359c8cc Adding a date filter that will format dates in Tower UI
based on the user's locale.

short and long date format filters

adding long date format to appropriate files

in doing a grep for the long date format, i found these files could instead use the londDate filter

Removing short hand abbreviation for dates.

We will now include the year in all our date formats

updating jshint to ignore moment

updating long date filter
2015-05-15 11:03:46 -04:00
Joe Fiorini
5c6cae213f Move browser data loading into factory 2015-05-13 13:30:39 -04:00
Joe Fiorini
b5e037ef71 Name ALL the routes! 2015-05-13 13:09:39 -04:00
Joe Fiorini
9d1d8374e1 Improve how we pass data when changing URLs
This commit adds a couple helpful features to make it easier for us to
reference routes, update URLs (both at development time and in the
    browser at runtime) and pass data between routes.

See the UI docs for the specifics on how these features work.
2015-05-13 10:11:45 -04:00
Jared Tabor
79b79f0481 initial files for license diff directive
awLicenseFeature with show/hide

changed file locations

changing file location

adjusting controller logic to only return list of features

leveraging $rootScope instead of local storage

adding awFeature directive for lists/forms for activity stream button

Adding route resolvers and service for getting license

In order to get the license info from the API and not from local storage, the UI needs to hit hte API before loading any pages, therefore I've added route resolvers that will ensure that we have the appropriate data (license features) before navigating to a new page. I've also added the awFeature directive to the organizations list -> add-button and the ldap checkbox on the user form page.

adjusting alignment

fixing jshint errors

commting file for testings

adding tests for features service and features controller

adding features controller unit test
2015-05-04 11:34:38 -04:00
John Mitchell
9b721d21e6 fixed authentication routing on the ui
scenario 1 - logout at a particular route will navigate back to that route on immediate login
scenario 2 - logged out user that browses to a new route (including root) will get what they wanted
scenario 3 - logged out user who opens a new tab with url to a new route will get what they wanted
2015-04-27 14:24:39 -04:00
Jared Tabor
9af7a428ab removing unneeded files and adjusting height logic 2015-04-13 17:58:08 -04:00
Jared Tabor
eabe4bdf02 Made jobs page use 1 pane with tabs
instead of the 4 panes divied into completed, running, and queued jobs
2015-04-10 14:29:46 -04:00
jlmitch5
4b1322932f Merge pull request #125 from jlmitch5/adhoc_pr
UI Support for adhoc commands
2015-04-07 10:19:45 -04:00
jaredevantabor
a5452fa432 Merge pull request #123 from jaredevantabor/tooltip-escaping
HTML tag escaping in tooltips
2015-04-06 15:55:30 -04:00
John Mitchell
3c878018be fixing grunt errors 2015-04-06 14:31:47 -04:00
John Mitchell
ce31b98635 UI support for adhoc commands 2015-04-06 10:31:11 -04:00
John Mitchell
584abcc05b random syntax and style fixes to tower js
may include some new dependencies needed for adhoc commands
2015-04-06 10:30:36 -04:00
Jared Tabor
0fdb9703ea removing intervals that attempt to open sockets
the intervals are not necessary and we can rely on the socket service doing the reconnection for us.
2015-04-03 16:44:34 -04:00
Jared Tabor
fa27d7de93 adding sanitizer filter for app
I'm adding a sanitize filter to be used whenever we want to escape tags that are generated from user input. In addition, I created a filters folder and a filter file that imports filters into the app
2015-04-03 12:56:19 -04:00
Jared Tabor
2401865f59 adding delete jt service 2015-03-27 14:03:16 -04:00
Jared Tabor
0948846530 Scan job templates
Implemented saving a job template as type = scan. Can add/edit these jobs. Also on inventory properties accordion you can see the list of scan job templates for the inventory.
2015-03-26 09:58:39 -04:00
Jared Tabor
45513ca4bd added scan jobs list to inventory properties
added the scan jobs list in an accordion underneath the inventory properties.
2015-03-13 15:37:21 -04:00
Jared Tabor
333adea673 Merge branch 'edit-inv-page' into upstream_master
Conflicts:
	awx/ui/static/js/controllers/Inventories.js
	awx/ui/static/js/lists/InventoryHosts.js
2015-03-12 15:37:19 -04:00
Joe Fiorini
f09080c931 Move list-generator into new structure 2015-03-11 14:49:26 -04:00
Jared Tabor
42081077c5 Moving inventory pages
the view that displayed the groups/hosts is now mapped to inventories/id/manage and the page for editing an inventory is an inventories/id
2015-03-11 13:30:03 -04:00
John Mitchell
931cc0468b Only show the websockets indicator if it is *not* green: 2015-03-10 14:45:03 -04:00
John Mitchell
fb5db213cd password field changes and configuration fixes
* create a new sensitive input type to replace password
* added a new input configuration for the sensitive type called hasShowInputButton (this shows a button to the left of the field that toggles the display of plain text)
* updated the credentials form configuration
    * removed confirm password boxes for *entering* sensitve information
    * updated the Keyphrase label
* fixed a bug in the credentials controller's ask function, which did not check to see if a confirmation input was defined or not
2015-03-09 16:20:47 -04:00
Joe Fiorini
a4b4c92a31 Merge pull request #91 from joefiorini/fix-dashboard-live
Fix dashboard live events and tooltips
2015-03-09 14:20:00 -04:00
Joe Fiorini
c5bfe218bd Merge pull request #92 from joefiorini/breakpoint-fix
Fix for debugger breakpoints with sourcemaps
2015-03-09 13:43:38 -04:00
Joe Fiorini
af9aca9806 Allow app load to be suspended to let sourcemaps load 2015-03-09 13:44:24 -04:00
Joe Fiorini
106fa53e6d Remove incorrect schedule socket listener 2015-03-09 13:39:29 -04:00
Matthew Jones
6034e6108a Fix socket reconnect logic when browser is refreshed after token has expired 2015-03-05 11:40:29 -05:00
Jared Tabor
6087326bef socket disconnect on session timeout
the UI was trying to reconnect to the socket server using the previous session's auth token. I'm forcing a disconnect now when the session times out and i added 'force new conection' to true in the socket configuration so that when a new session starts it doesn't use the old auth token.
2015-03-03 15:01:02 -05:00
Joe Fiorini
36a596b68f Move code under lib/ansible to js/shared 2015-02-25 11:42:51 -05:00
Joe Fiorini
c35826c696 Fix misnamed dependency 2015-02-09 10:27:46 -05:00
Joe Fiorini
6dbfba7f69 jshint fixes 2015-02-06 18:04:10 -05:00
Joe Fiorini
a9e0de98d7 Use broccoli to build app 2015-02-06 12:49:04 -05:00
Joe Fiorini
109c9d8832 Do not try to render home template on login/logout 2015-02-04 17:11:27 -05:00
Joe Fiorini
ed15bdeb63 Fix build order with new module files
The two renamed files represent files that merely define angular
modules. Unfortunately, in minification mode, they were getting
processed out of order with files that depend on them. Since we don't
have any sort of native module or dependency resolution (YET), I'm
hacking it to make sure they come first asciibetically.
2015-02-03 16:51:18 -05:00
Jared Tabor
208e08410f Websocket would connect before login
The websockets would make a connection before login when the user refreshes the login page. I believe this was happening on upgrade too.
2015-01-30 16:02:37 -05:00
Joe Fiorini
2464d68b38 Fix jshint errors in my updates 2015-01-30 15:42:50 -05:00
Joe Fiorini
6e2c9f5eda Remove Debug helper 2015-01-30 15:42:49 -05:00
Joe Fiorini
d3a6fac5f9 Extract data loading for host count graph 2015-01-30 15:42:48 -05:00
Joe Fiorini
408d9bf136 Move host count graph into directive 2015-01-30 15:42:48 -05:00
Joe Fiorini
1c4b8c0676 Move HostPieChart into directive 2015-01-30 15:42:47 -05:00
Joe Fiorini
3db561141e Add Debug.log helper for easy logging 2015-01-30 15:42:47 -05:00
Joe Fiorini
b0dcafca8c Display job status graph in directive instead of widget 2015-01-30 15:42:47 -05:00
Joe Fiorini
95ad326c29 Use new service in job status graph widget 2015-01-30 15:42:47 -05:00