Commit Graph
100 Commits
Author SHA1 Message Date
Joe Fiorini a8f5eff0ae [system_tracking] Fix broken binding on date pickers 2015-06-22 12:40:15 -04:00
Joe Fiorini 585096e566 [system_tracking] Adding style templates I missed in last commit 2015-06-22 11:42:10 -04:00
Joe Fiorini 2955cfbfe8 [system_tracking] Display message when dates for retrieved data change 2015-06-22 11:03:26 -04:00
Joe Fiorini b6c18fcc13 [system_tracking] Ensure 401 errors in resolver handles sign out 2015-06-19 14:31:55 -04:00
Joe Fiorini c8744a8e8f [system_tracking] Update right date when left is changed to something greater 2015-06-19 13:22:53 -04:00
Joe Fiorini bda5a46729 [system_tracking] Support multiple versions of packages with same name 2015-06-18 15:05:21 -04:00
Joe Fiorini 33b6da9bb6 Start documenting system tracking using standard jsdoc comments 2015-06-18 15:05:21 -04:00
Joe Fiorini a08fe36689 [system_tracking] Display key name for nested fact array members 2015-06-18 11:02:57 -04:00
Joe Fiorini 13ab1120a9 Move hasModelKey method to route instead of routeParams 2015-06-18 10:17:00 -04:00
Joe Fiorini 389eddfc8d [system_tracking] Fix display of nested modules 2015-06-17 17:39:50 -04:00
Joe Fiorini d65affbe08 [system_tracking] Add size to files module display 2015-06-17 17:39:38 -04:00
Joe Fiorini 327fea1db1 [system_tracking] Fix service test 2015-06-17 17:35:57 -04:00
Joe Fiorini caeefa4f7e [system_tracking] Monkey-patching module objects == bad idea 2015-06-17 17:23:59 -04:00
Joe Fiorini 159ad0d2a9 [system_tracking] Display error when no scans for a particular date 2015-06-17 17:23:59 -04:00
Joe Fiorini 5a0ba44155 [system_tracking] Default both date pickers to today's date 2015-06-17 17:23:59 -04:00
Joe Fiorini aec91bc13e [system_tracking] Disable dates on right prior to dates on left 2015-06-17 17:23:59 -04:00
Joe Fiorini dbb8c649de [system_tracking] Refactor angular modules 2015-06-17 17:23:59 -04:00
Joe Fiorini 6edee0a864 Present a single date picker for host-to-host 2015-06-17 15:48:10 -04:00
Joe Fiorini ef0e7d8f0d Merge pull request #284 from joefiorini/system-tracking--displayKeys
Adds support for formatting individual fact values
2015-06-16 09:28:57 -04:00
Joe Fiorini 09db79cfd7 [system_tracking] Fix reversal of ansible facts 2015-06-15 17:12:31 -04:00
Joe Fiorini 61807efb9b Allow fact template to flatten or keep key/value structure 2015-06-15 16:53:43 -04:00
Joe Fiorini ad0f267435 [system_tracking] Extract parameters into options object 2015-06-12 13:50:28 -04:00
Joe Fiorini b0d773325b [system_tracking] Refactor flat comparison logic 2015-06-12 09:38:53 -04:00
Joe Fiorini 06da1e16c2 Add tests for fact template rendering 2015-06-11 16:14:04 -04:00
Joe Fiorini aed496a069 Add tests for flat fact comparison 2015-06-11 12:22:58 -04:00
Joe Fiorini 9f6d93760e [system_tracking] Fix flexbox table styling in IE11 2015-06-10 14:20:33 -04:00
Joe Fiorini 7374ebd7d9 [system_tracking] Display entire keypath for nested facts 2015-06-10 13:07:37 -04:00
Joe Fiorini cca0b08f68 [system_tracking] Highlight rows on hover/with diffs 2015-06-10 13:07:37 -04:00
Joe Fiorini fc361336da [system_tracking] Truncate long values in nested facts 2015-06-10 13:07:37 -04:00
Joe Fiorini 419bc3dd1c [system_tracking] Match button group colors to dashboard 2015-06-09 10:50:56 -04:00
Joe Fiorini 0016744e1f [system_tracking] Clarify wording on date picker labels 2015-06-09 10:50:56 -04:00
Joe Fiorini f38709e55e [system_tracking] Adjust headings and add table row hover 2015-06-09 10:50:56 -04:00
Joe Fiorini cf04337712 Fix display of nested facts 2015-06-08 09:37:19 -04:00
Joe Fiorini cb17209c04 jshint fix 2015-06-08 09:18:22 -04:00
Joe Fiorini d2c7d7331d Fix issue with host columns getting flipped 2015-06-05 16:49:47 -04:00
Joe Fiorini dae25b7123 Move check to outer scope for great performance 2015-06-05 16:49:47 -04:00
Joe Fiorini 63b7ec8b67 Move data request into controller to speed up page load 2015-06-05 16:49:47 -04:00
Joe Fiorini f188ca79d6 Use rejected promise to handle errors without throwing 2015-06-04 17:09:33 -04:00
Joe Fiorini 40690df347 Remove dead code 2015-06-04 09:35:27 -04:00
Joe Fiorini 4b93601b30 Make sure extra property doesn't show as fact 2015-06-03 14:17:10 -04:00
Joe Fiorini b84bba19f8 Handle single-host with empty versions 2015-06-03 12:21:15 -04:00
Joe Fiorini 8868235af2 Fallback to first hostname if only 1 host 2015-06-03 12:15:36 -04:00
Joe Fiorini f88de17adf Use clone of params object to avoid time traveling 2015-06-03 10:21:51 -04:00
Joe Fiorini f2322e7cc3 Clarify info in table headers 2015-06-03 09:53:11 -04:00
Joe Fiorini 32580e2ffd Fix system tracking test 2015-06-03 08:12:17 -04:00
Joe Fiorini 9526975318 Resolve fact versions before looking up fact views
This adds a step to the fact version lookup that attempts to resolve
fact versions before looking up their views. Resolving a fact version
means finding another version to use when there is a problem with the
one the user selected.

In this case, the resolution process works as follows:

1. Check if either request returned an empty list

If so, request again, changing the dates to look back a year. This
will almost always return something.

2. If we are requesting multiple facts for the same host, and both of
the resolved versions have the same timestamp, they are duplicates and
we cannot compare against them.

Instead we instruct it to grab the selected and the previous versions for
comparison.

For host-to-host view, this also updates the timestamp in the header to
reflect the actual timestamps. It _does not_ update the date picker
dates yet.
2015-06-03 00:16:54 -04:00
Joe Fiorini 0591812da6 Make sure array promises pass through undefined 2015-06-03 00:16:54 -04:00
Joe Fiorini bcf4688a55 Fix headers on ansible facts module 2015-06-02 17:21:52 -04:00
Joe Fiorini 3d1dc42e2a Compare facts before assuming they are all different 2015-06-02 17:21:52 -04:00
Joe Fiorini 633647a2a8 Track fact presence with property 2015-06-02 13:11:46 -04:00
Joe Fiorini 9eea389458 Simplify fact templates for packages and services 2015-06-02 13:08:39 -04:00
Joe Fiorini a9a839a549 Compare facts in both directions, not just one way 2015-06-02 13:06:30 -04:00
Joe Fiorini 0dd9c4e5eb Add missing styles for system tracking 2015-06-02 12:11:40 -04:00
Joe Fiorini 5beb7b1aa0 Display package version string for packages 2015-06-02 12:11:40 -04:00
Joe Fiorini a3f5d9a9a5 Add timeline recording helper to debug 2015-06-02 12:11:40 -04:00
Joe Fiorini 17a7117f0c Prevent data from reloading when switching modules 2015-06-01 18:01:41 -04:00
Joe Fiorini e419282c0c Merge pull request #256 from joefiorini/moment-fixes
Make usage of moment consistent throughout app
2015-06-01 17:18:01 -04:00
Joe Fiorini d8e1887036 Remove accidentally committed value 2015-06-01 17:04:14 -04:00
Joe Fiorini bcca803323 Copy all properties of original moment to wrapped object 2015-06-01 16:45:13 -04:00
Joe Fiorini 6d6d8c66c2 Fix tests 2015-06-01 16:30:11 -04:00
Joe Fiorini 884423f86c Make usage of moment consistent throughout app
This always includes the user's language preference when loading moment.
It also deletes the moment global, so if you don't require it somehow
you will get an error trying to call `moment`'.

This is setup to provide moment to both angular and plain JavaScript
modules. In angular modules, just add `moment` as a dependency. In plain
js use `import moment from 'tower/shared/moment/moment';`.
2015-06-01 16:25:46 -04:00
Joe Fiorini fdb8fdf24a Uncomment mongo from startup script
I will add this to the dockerfile once this release is done.
2015-06-01 14:52:55 -04:00
Joe Fiorini 809cbcb6e4 Fix image sizing for logo in IE11 2015-06-01 14:52:55 -04:00
Joe Fiorini 77a7ef1e32 Merge pull request #253 from joefiorini/system-tracking-improvements
System tracking improvements
2015-06-01 11:01:17 -04:00
Joe Fiorini c804409ed3 Fix tests 2015-06-01 09:30:06 -04:00
Joe Fiorini b615df5124 Display error messages when no scan jobs are found 2015-05-29 17:54:15 -04:00
Joe Fiorini 4784f0d96b Handle thens that return a promise 2015-05-29 17:54:15 -04:00
Joe Fiorini 5caf80e9a2 Display timestamp from API in column headers 2015-05-29 17:54:15 -04:00
Joe Fiorini 8d1e2e1c0c Fix styling after nav refresh merge 2015-05-29 17:54:15 -04:00
Joe Fiorini da67aba2d4 Default dates to today and yesterday 2015-05-29 17:54:15 -04:00
Joe Fiorini 5f902a55fe Sort modules by built-in then custom 2015-05-29 17:53:27 -04:00
Joe Fiorini 579ee6d721 Display custom fact plugins in module options 2015-05-29 17:53:27 -04:00
Joe Fiorini caf7c30de7 Get available modules from OPTIONS endpoint 2015-05-29 17:53:27 -04:00
Joe Fiorini 657b41510c Add breadcrumbs to system tracking page 2015-05-29 17:53:27 -04:00
Joe Fiorini d9441a7696 Merge pull request #245 from joefiorini/navigation-refresh
Navigation refresh
2015-05-29 08:58:17 -04:00
Joe Fiorini 0a8be8243f Fix toggle button always showing up 2015-05-29 08:57:39 -04:00
Joe Fiorini b3e8bdbf11 Massage wording on setup menu 2015-05-28 18:24:28 -04:00
Joe Fiorini 18303a004d Fix mobile breakpoints for menu
We need a better strategy around these breakpoints. I feel like they'll
be different depending on the thing we're styling, so maybe having a
file with variables for different breakpoints. Not sure yet.
2015-05-28 18:20:05 -04:00
Joe Fiorini fc07169b5c Fix mobile menu styles for portal mode 2015-05-28 18:09:51 -04:00
Joe Fiorini 1a5b04c7ee Close menu when user selects item 2015-05-28 18:09:25 -04:00
Joe Fiorini 77d38b0455 Always show web socket status on right 2015-05-28 16:48:05 -04:00
Joe Fiorini 267833ac76 Correct viewBox on user icon 2015-05-28 16:29:28 -04:00
Joe Fiorini b11bb4db2f Spacing and alignment fixes on setup menu 2015-05-28 16:04:27 -04:00
Joe Fiorini d2534338d7 Add extra icons to portal mode 2015-05-28 15:44:52 -04:00
Joe Fiorini 47b86a3a7e Link to new license page 2015-05-28 09:08:20 -04:00
Joe Fiorini b716394e54 Update class to allow toggle menu to open 2015-05-28 09:03:58 -04:00
Joe Fiorini 2fbf0bec2f Add height back so modals can breathe 2015-05-28 09:03:58 -04:00
Joe Fiorini a81a48ab18 Don't process tooltip on awToolTip items 2015-05-28 09:03:58 -04:00
Joe Fiorini 7b04cce7d4 Simplify switching between menu styles 2015-05-28 09:03:58 -04:00
Joe Fiorini d13b063f08 Fix portal mode links and simplify menu styles 2015-05-28 09:03:58 -04:00
Joe Fiorini 66cb2aaec0 Watch model param for changes in link-to directive 2015-05-28 09:03:57 -04:00
Joe Fiorini 9d95020bf5 Completely remove jPushMenu 2015-05-28 09:03:57 -04:00
Joe Fiorini 2c442cbbbe Fix positioning of A in Tower logo 2015-05-28 09:03:57 -04:00
Joe Fiorini e79540fbba Cleanup 2015-05-28 09:03:57 -04:00
Joe Fiorini a207d1234b Update styles for active links 2015-05-28 09:03:57 -04:00
Joe Fiorini 0aa37251c6 Use route names to generate links on new menus 2015-05-28 09:03:57 -04:00
Joe Fiorini b329f314c2 jshint fixes 2015-05-28 09:03:57 -04:00
Joe Fiorini 2e0bab0f78 Add ansible-red back to colors 2015-05-28 09:03:57 -04:00
Joe Fiorini 3d6bd05c8a Update icons and logo 2015-05-28 09:03:57 -04:00
Joe Fiorini 23e6fdf484 Move menu styles to live with main-menu 2015-05-28 09:03:57 -04:00