Joe Fiorini
811d0b1403
Build to awx/ui/static instead of dist
2015-07-27 10:19:14 -04:00
Joe Fiorini
98a37a354a
Move code to awx/ui/client
2015-07-27 10:19:14 -04:00
Joe Fiorini
e50d997577
Only ignore build directory at root
2015-07-27 10:19:05 -04:00
Joe Fiorini
79c6859810
Refactor Makefile to accept option overrides
2015-07-27 10:19:05 -04:00
Joe Fiorini
df8859beb7
Bundle angular templates for app
...
We were already bundling angular templates for node tests; this commit
reuses the same setup to include them in the app; this means any
new-style template (those under js folder) will be included in angular's
template cache when the app loads, thereby skipping the ajax request for
that template. Huzzah!
2015-07-23 10:35:41 -04:00
Joe Fiorini
56e8dbba9c
Merge pull request #318 from joefiorini/post-2.2--broccoliRefactor
...
Post 2.2 broccoli refactor
2015-07-22 16:09:47 -04:00
Joe Fiorini
40acbcf256
Massive refactor of Brocfile for clarity
2015-07-21 16:28:12 -04:00
Joe Fiorini
dd2402b749
Merge pull request #305 from joefiorini/post-2.2--nodeTests
...
Post 2.2 - improve JS testing workflow
2015-07-21 12:16:43 -04:00
Joe Fiorini
4183f5acdc
Remove accidental import from directive
2015-07-10 13:01:47 -04:00
Joe Fiorini
c52ec1197b
[system_tracking] Remove truncation of fact values
...
This is a temporary fix until we can get a permanent fix to the
performance issues we have with rendering this much data to the DOM. For
more info see my comment on https://trello.com/c/QrbeaZfK .
2015-07-10 11:22:40 -04:00
Joe Fiorini
069bb69b00
Fix truncate text directive to work as elements resize
2015-07-09 17:28:29 -04:00
Joe Fiorini
42eff20c4f
Use npm test for running tests
2015-07-09 12:58:18 -04:00
Joe Fiorini
8d4e8f1164
Reorganize test directory structure
2015-07-09 12:57:39 -04:00
Joe Fiorini
1f118467b9
Remove karma and unused testing files
2015-07-09 12:57:01 -04:00
Joe Fiorini
c6549f4aca
Allow tests to run in Phantom via testem for CI
2015-07-09 12:56:57 -04:00
Joe Fiorini
572b80c7af
Run tests with testem in broccoli watcher
2015-07-09 12:56:05 -04:00
Joe Fiorini
f1fe118c10
Make front-end tests run in node
2015-07-09 12:53:04 -04:00
Joe Fiorini
d2440f6cd7
Extract factory for generating template URLs
2015-07-09 12:53:03 -04:00
Joe Fiorini
c52c9d1c8a
[system_tracking] Fix issue with ng-if & truncated-text directives
2015-07-08 16:38:44 -04:00
Joe Fiorini
1b36223fa6
[system_tracking] Hide right column for files module in single result view
2015-07-08 11:10:53 -04:00
Joe Fiorini
ec96f1d8a5
[system_tracking] Query fact versions relative to user's midnight, not server's
2015-07-08 10:54:22 -04:00
Joe Fiorini
8d47e8e2a1
[system_tracking] Fix bolding for no scan message
2015-07-06 15:05:28 -04:00
Joe Fiorini
fc2ed6fd83
[system_tracking] Fix nested fact compare with one empty side
2015-07-06 14:34:24 -04:00
Joe Fiorini
7bedaf1ad7
[system_tracking] Make calling of nestedCompare consistent with flatCompare
2015-07-06 14:34:24 -04:00
Joe Fiorini
714d6a98bf
[system_tracking] Disable single result view for host-to-host compares
2015-07-02 16:10:08 -04:00
Joe Fiorini
d41b8a363f
[system_tracking] Display all facts for latest scan when no diffs
2015-07-02 16:02:33 -04:00
Joe Fiorini
fef3d5d2b0
[system_tracking] Make sure value array comparison is order insensitive
2015-07-01 16:18:07 -04:00
Joe Fiorini
fe44318bd6
Fix sizing of hamburger icon in IE11
2015-06-30 10:21:08 -04:00
Joe Fiorini
a82c138a32
Support moment locales in datepickere
2015-06-26 11:13:26 -04:00
Joe Fiorini
37aed53047
Fix svg icons on setup menu in IE11
2015-06-25 10:47:49 -04:00
Joe Fiorini
8315f7f678
Setup menu doesn't need as much flexbox
2015-06-25 10:47:48 -04:00
Joe Fiorini
ba7e218387
[system_tracking] Change no data message based on compare mode
2015-06-24 14:37:47 -04:00
Joe Fiorini
b528561f20
[system_tracking] Do not use time for selecting fact versions
2015-06-24 11:50:24 -04:00
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