Commit graph

961 commits

Author SHA1 Message Date
Shelby Sturgis 6601fd301d fixing vislib paths, etc. 2014-06-18 12:54:42 -07:00
Shelby Sturgis adbb6b8b1f fixing vislib paths, etc. 2014-06-18 12:54:42 -07:00
Shelby Sturgis 4692e276bb really adding k4d3 now 2014-06-18 12:38:13 -07:00
Shelby Sturgis c8e1eb361f really adding k4d3 now 2014-06-18 12:38:13 -07:00
Spencer Alger b5a9c719f3 added requirejs phase to build process, broke the plugin task into build + plugin (which runs build) 2014-06-18 10:35:55 -07:00
Spencer Alger c328085bee added requirejs phase to build process, broke the plugin task into build + plugin (which runs build) 2014-06-18 10:35:55 -07:00
Rashid Khan 8e2c4ebf26 Use version when making the archive 2014-06-17 13:32:53 -07:00
Rashid Khan d27e4a5ba3 Use version when making the archive 2014-06-17 13:32:53 -07:00
Rashid Khan 9128e363fb Add grunt plugin to build K4 as a plugin 2014-06-16 16:52:19 -07:00
Rashid Khan ff40b33ce0 Add grunt plugin to build K4 as a plugin 2014-06-16 16:52:19 -07:00
Spencer Alger 50f0368a72 moved devServer into a module so that it can be used programmatically 2014-06-12 16:01:24 -07:00
Spencer Alger 3c2f6ca38c moved devServer into a module so that it can be used programmatically 2014-06-12 16:01:24 -07:00
Spencer Alger cac3fd6dbb Revert "moved devServer into a module so that it can be used programmatically"
This reverts commit 7ace826b63.
2014-06-12 15:44:09 -07:00
Spencer Alger 434e205681 Revert "moved devServer into a module so that it can be used programmatically"
This reverts commit 7ace826b63.
2014-06-12 15:44:09 -07:00
Spencer Alger 7ace826b63 moved devServer into a module so that it can be used programmatically 2014-06-12 15:43:44 -07:00
Spencer Alger 09346b5339 moved devServer into a module so that it can be used programmatically 2014-06-12 15:43:44 -07:00
Boaz Leskes 4cd3036d25 Use marvel version instead of kibana's for registration logic
Also we care about the marvel one here. Kibana version can stay the same between releases.

Closes #267
2014-06-02 22:24:49 +02:00
Spencer Alger 542febea5e added searching to the visualize app 2014-05-28 21:00:23 -07:00
Spencer Alger 1a93e8331d added searching to the visualize app 2014-05-28 21:00:23 -07:00
Chris Cowan a717a0709b Closes #251 - Added endpoints for registration and purchase confirmation 2014-05-28 10:13:13 -07:00
Spencer Alger f3237ea178 Summary of Changes:
- rounded intervals now come with a "description" property that gives a simple human-readable description of the interval. (ie. "5 hours", "10 sec")
 - auto and scaled buckets now display the interval for the measurements
 - expanded the parsing abilities of `toMs()`
 - renamed `toMS()` to `toMs()`
 - histogram will now use the field's converter for creating the tooltip.
 - date field format added
2014-05-27 14:16:31 -07:00
Spencer Alger dc19e13227 Summary of Changes:
- rounded intervals now come with a "description" property that gives a simple human-readable description of the interval. (ie. "5 hours", "10 sec")
 - auto and scaled buckets now display the interval for the measurements
 - expanded the parsing abilities of `toMs()`
 - renamed `toMS()` to `toMs()`
 - histogram will now use the field's converter for creating the tooltip.
 - date field format added
2014-05-27 14:16:31 -07:00
Chris Cowan ab273cf012 Closes #222 - Added LICENSE.txt to build 2014-05-25 13:41:24 -07:00
Chris Cowan 863ea84c41 New Registration process and Phone Home Feature
- Added new registration flow and 7 day trial for developers
- Added new registration flow for licensees
- Added "Development Trial" and "Development Mode" label
- Added Registration tab in dashboard configuration
- Store settings centrally in Elasticserch for installation wide
  registration and reporting.
- Closes #213
- Closes #216
- Closes #234
2014-05-25 13:20:12 -07:00
Spencer Alger 4b9a5e78b2 update grunt to use 'npm update' instead of 'npm install' 2014-05-22 10:48:20 -07:00
Spencer Alger 622630b462 update grunt to use 'npm update' instead of 'npm install' 2014-05-22 10:48:20 -07:00
Chris Cowan c5a1b61a1c Closes #205 - Refactor split brain logic
Closes #223
2014-05-21 13:27:42 -07:00
Chris Cowan c731b1405f Closes #218 - Fixing getTimelineData to handle closed or bad indices
Closes #219
2014-05-19 08:08:02 -07:00
Rashid Khan f558a50fa7 Make server listen on all interfaces, makes mobile testing easier 2014-05-16 15:42:03 -07:00
Rashid Khan 3c32d1c28f Make server listen on all interfaces, makes mobile testing easier 2014-05-16 15:42:03 -07:00
Rashid Khan 97482bd222 added timepicker test skeleton 2014-05-15 16:03:56 -07:00
Rashid Khan 078a1ef00b added timepicker test skeleton 2014-05-15 16:03:56 -07:00
Spencer Alger 55ff825eec fixed update script for checking out new repo's, removed elasticsearch and k4d3 from bower deps 2014-05-07 16:39:01 -07:00
Spencer Alger 232d45d0a3 fixed update script for checking out new repo's, removed elasticsearch and k4d3 from bower deps 2014-05-07 16:39:01 -07:00
Spencer Alger 9ef934aa0e only run regen in grunt-update if the repo has updated 2014-05-07 15:58:37 -07:00
Spencer Alger 0cb7240e8c only run regen in grunt-update if the repo has updated 2014-05-07 15:58:37 -07:00
Spencer Alger ce9a8bd7b6 use git to manage esjs and k4d3 deps. 2014-05-07 13:05:16 -07:00
Spencer Alger 581ae6d804 use git to manage esjs and k4d3 deps. 2014-05-07 13:05:16 -07:00
Chris Cowan f017ac1afe Removing tests from build 2014-04-26 07:10:26 -07:00
Boaz Leskes 712b203a33 Adding Shard Allocation Panel
- added a (temporary) cluster state event that ships the cluster state without the meta data section
- Updating files to comply with JSHint settings; Adding a way to fake the cluster data
- Adding react.js rendering to shard_allocation
- ClusterState Service & Additional Fixes
  - Created ClusterState service
  - Added EventEmitter2 Library
  - Removed annimations from css (eating up too much cpu)
  - Added option to hide header if embeded
  - Reconfigured system to use update event from ClusterState to update
    the visualiztion
  - Refactored transformers to only use state
  - Reordered nodes and indicies by name
- Add livereload to test:dev
- Add Angular-mocks to test framework
- Added getIndices method and tests
- Moved from state version to state @timestamp
- Cleaned up some potential issues with the $scope in changeData based
  on errors I was seeing in the console.
- Adding player functionality
- Changed identifier for node to ip_port
- Collapse the timeline on nodes/indices dashboard
- Show hidden indices by default Fixes #181
- Extend cover to show popover on wider portion of the timeline (to
  cover the day markers)
- Lower case cluster health status in ClusterEvents
- Adding explain feature to cluster state
- Only displaying the difference of red vs. yellow indexes
- Renamed countByIndices to incrementIndexShardStatusCount
- Renamed getEndPoint to popFirstIndexAndReturnEndpoint
- Updated filterShards to only filter initializing shards that have
  relocating_node set
- Refactored getTimelineData to use size/range for pagination
- Fixed typos
- Optimized the initial render so it does it once instead of twice from
  the init() method and the $clusterState.$on('update')
- Changed all the panel variables to player variables
- Fix a bug with the fastForward feature
- Change Cluster Allocation to Shard Allocation
- Created a lightweight event bus
- Added mouseEnter and mouseLeave events to highlight corresponding
  shards.
2014-04-24 23:04:39 -07:00
Spencer Alger 41083d6ff2 watch _*.less files too 2014-03-12 10:16:56 -07:00
Spencer Alger 53e9bb8198 watch _*.less files too 2014-03-12 10:16:56 -07:00
Chris Cowan 390ea41a7f Build Cleanup
- Reverting changes to sense for sense_settings
- Moving tracking code substitution to analytics.js
- Removing the cross dependencies for Kibana from Sense
2014-03-10 14:38:17 -07:00
Chris Cowan 85c19e4a65 Path changes and reconfiguration for build
- Added override for Sense build to point to build directory
- Changed settings dependency in Sense to sense_settings
- Added dependencies to Sense require.config for Kibana dependencies
- Modified paths to be compatible with build and development enviroment
2014-03-08 10:37:47 -07:00
Chris Cowan 55f806075e Fix #126 Google Analytics
- Added analytics.js to navigation
- Converted $scope.report to $scope.marvelOpts.report in optin html
- Instrumented navigation panel for Google Analytics
- Instrumented sense for Google Analytics
- Moved the Google Analytics tracking code to config.js
- Changed the config.js to use an absolute url for the settings
  dependency since analytics.js needs to reuse the config (only an issue in Sense )
- Moved analytics to the common directory
- Refactored analytics to return an object with a track function for
  fine grain tracking and a pageview for sending the page view
- Added checks around the pageview code to only trigger a pageview()
  when the user has implictly set their optin/optout status (checking
  marvelOpts.version is set)
- Added ga.pageview() to setOptIn() to fire if the user opts in
- Ensuring the cluster report and analytics.js doesnt get sent or load before they make their decission
2014-03-07 15:49:46 -07:00
Spencer Alger 4aa5edfba3 allow disabling of the test watcher 2014-03-07 11:25:40 -07:00
Spencer Alger 84e24a975c allow disabling of the test watcher 2014-03-07 11:25:40 -07:00
Spencer Alger 32aa75712b broke courier tests into many smaller pieces, and setup tests as children of other suites so that we can use mocha's 'grep' functionality more predictably 2014-03-07 10:27:19 -07:00
Spencer Alger a286a0fc00 broke courier tests into many smaller pieces, and setup tests as children of other suites so that we can use mocha's 'grep' functionality more predictably 2014-03-07 10:27:19 -07:00
Spencer Alger e2b8625dbf added 'maybe_start_server' grunt task that will ping to see if a kibana dev server is running, and start one if not. Allows us to run the unit tests via npm test when grunt dev is already running. 2014-03-06 17:37:43 -07:00
Spencer Alger 11652eba2c added 'maybe_start_server' grunt task that will ping to see if a kibana dev server is running, and start one if not. Allows us to run the unit tests via npm test when grunt dev is already running. 2014-03-06 17:37:43 -07:00
Rashid Khan d89c25ff35 remove test from default task 2014-03-06 14:43:07 -07:00
Rashid Khan 4be5aca691 remove test from default task 2014-03-06 14:43:07 -07:00
Spencer Alger d7094d5d6c prevent all files from being instrumented 2014-03-06 11:41:01 -07:00
Spencer Alger 64cd822bd1 prevent all files from being instrumented 2014-03-06 11:41:01 -07:00
Spencer Alger 219bd6753c allow grepping of the coverage report 2014-03-06 11:22:27 -07:00
Spencer Alger 85a420d5a5 allow grepping of the coverage report 2014-03-06 11:22:27 -07:00
Spencer Alger 7be4d61b96 Fixed the test, which required a bit of dependency mapping. Fixed '/' redirect. query string's don't need =true to work. 2014-03-05 22:08:22 -07:00
Spencer Alger a619c0b52b Fixed the test, which required a bit of dependency mapping. Fixed '/' redirect. query string's don't need =true to work. 2014-03-05 22:08:22 -07:00
Spencer Alger 6a8f9dddab added code coverage and couple other things. 2014-03-05 16:56:42 -07:00
Spencer Alger 94c1458c81 added code coverage and couple other things. 2014-03-05 16:56:42 -07:00
Spencer Alger 80922cc5e6 jade task only prepares the "files" template var for templates in the unit test dir and ignores .jade files who's filename start with an underscore.
watch:test only watches the test's js files and runs the tests when they change.
2014-03-05 14:13:23 -07:00
Spencer Alger 40b3021e48 jade task only prepares the "files" template var for templates in the unit test dir and ignores .jade files who's filename start with an underscore.
watch:test only watches the test's js files and runs the tests when they change.
2014-03-05 14:13:23 -07:00
Spencer Alger 8442ac301c added jshint to the grunt config files as well as the test files. 2014-03-03 14:57:47 -07:00
Spencer Alger 0a0c5b69bf added jshint to the grunt config files as well as the test files. 2014-03-03 14:57:47 -07:00
Spencer Alger 6cb518b035 Discovery Panel Skeleton
- renamed calculateIndices files to be calculate_indices
 - hooked up dataSource.getFields() to the mapper, uses source._wrapcb() to properly trigger digest cycles
 - fixed an error handling bug in the search source
 - courier error DocFetchFailure is now just FetchFailure and will be sent from SearchSources as well
 - courier/index_pattern module is now gone
 - fixed a bug in the mapper that improperly triggered errors when a pattern matched multiple indices that had similar fields
 - prototype for discover app is included
 - directives/kbn_view module is now directives/view, the kbn prefix is implied
 - added basic table directive
2014-02-26 10:09:26 -07:00
Spencer Alger 7297c326f1 Discovery Panel Skeleton
- renamed calculateIndices files to be calculate_indices
 - hooked up dataSource.getFields() to the mapper, uses source._wrapcb() to properly trigger digest cycles
 - fixed an error handling bug in the search source
 - courier error DocFetchFailure is now just FetchFailure and will be sent from SearchSources as well
 - courier/index_pattern module is now gone
 - fixed a bug in the mapper that improperly triggered errors when a pattern matched multiple indices that had similar fields
 - prototype for discover app is included
 - directives/kbn_view module is now directives/view, the kbn prefix is implied
 - added basic table directive
2014-02-26 10:09:26 -07:00
Rashid Khan facf1c50c4 Add gridster, move navbar to top fixed, add less compilation to default task. Add dashboard prototype 2014-02-26 09:18:54 -07:00
Rashid Khan c605c5d7a3 Add gridster, move navbar to top fixed, add less compilation to default task. Add dashboard prototype 2014-02-26 09:18:54 -07:00
Spencer Alger 29c83807f8 Updates to the grunt tasks make the jade and less tasks more generic, compiling any file they find in place. 2014-02-25 12:42:40 -07:00
Spencer Alger e49733292d Updates to the grunt tasks make the jade and less tasks more generic, compiling any file they find in place. 2014-02-25 12:42:40 -07:00
Spencer Alger fa95593ed9 removed less-middleware dep 2014-02-24 15:48:12 -07:00
Spencer Alger 869a783e86 removed less-middleware dep 2014-02-24 15:48:12 -07:00
Spencer Alger 37940f3974 added less compilation via watch, and a task which will build the less and jade, start the server, then watch for changes 2014-02-24 15:47:09 -07:00
Spencer Alger a3fcbbd21d added less compilation via watch, and a task which will build the less and jade, start the server, then watch for changes 2014-02-24 15:47:09 -07:00
Chris Cowan 6f1fd2cdbc Adding .DS_Store; Adding calculateIndices.js 2014-02-24 15:14:31 -07:00
Chris Cowan f220d87bae Adding .DS_Store; Adding calculateIndices.js 2014-02-24 15:14:31 -07:00
Spencer Alger 010f61575f added connect middleware to grunt's server task 2014-02-24 12:47:00 -07:00
Spencer Alger 0217b6ccce added connect middleware to grunt's server task 2014-02-24 12:47:00 -07:00
Boaz Leskes 8a0136d8d2 Copy kibana/vendor/kibana/.git folder while building to give kibana build system the right revisions 2014-02-14 15:52:50 +01:00
Rashid Khan 03a081850f Resolve conflicts, move test server to port 8001 2014-02-14 07:50:32 -07:00
Rashid Khan 4c549809f1 Resolve conflicts, move test server to port 8001 2014-02-14 07:50:32 -07:00
Rashid Khan 8cb52b4631 add mapper and tests 2014-02-13 16:54:42 -07:00
Rashid Khan d59079db86 add mapper and tests 2014-02-13 16:54:42 -07:00
Spencer Alger 86a4d92fe7 merging in latest changes from master 2014-02-13 16:47:20 -07:00
Spencer Alger 7f478ea60e merging in latest changes from master 2014-02-13 16:47:20 -07:00
Rashid Khan 63ebfd9852 Add default jshint grunt task. Remove promise from mapper 2014-02-12 15:05:34 -07:00
Spencer Alger a1336836b3 reorganized the projects a tad, included grunt tasks for testing and running the server. Includes incomplete Courier code for now. 2014-02-10 16:09:04 -07:00
Boaz Leskes 7da39857f2 Change page titles to say marvel
Kibana's standard title is replaced post build until we find something better.

relates to #23
2014-01-23 21:58:19 +01:00
Boaz Leskes c8df3d4946 Fixed build system after rename exporter dir to agent and other minor issues. 2014-01-22 18:20:25 +01:00
Boaz Leskes edd3ff5740 Added node & index stats to navigation links. Also normalized paths and removed defaultRoute settings as it is not needed anymore. 2014-01-22 13:15:39 +01:00
Boaz Leskes 49045243e9 Moved marvelLinks.json to a common folder and added navigation menu to Sense
Relates to #35
2014-01-22 12:06:13 +01:00
Boaz Leskes fbf8b289c1 Added an index.html file to the root folder to redirect to kibana. Update build system, including a change to replace @@KIBANA_REVISION @@MARVEL_REVISION anywhere with their respective values. These are now part of a comment in the kibana config file and the base index.html
Closes #40
2014-01-22 11:09:04 +01:00
Boaz Leskes ef44560ce2 Moved kibana related code to a kibana folder 2014-01-22 11:09:03 +01:00
Boaz Leskes cc80f35b12 Added Sense. 2014-01-20 22:14:47 +01:00
Spencer Alger d5375d914d Refactored sense to use require.js
Highights of the Changes:
  - What was previously the editor is now input
  - Editor is now SenseEditor, a (somewhat) generic class that inherits from AceEditor and mixes in RowParser. will eventually be used by the output as well
  - input is an instance of SenseEditor that has an autocomplete object at `input.autocomplete`
  - Moved all network/sendToES logic into the app module
  - History no longer does any manipulation of the input, that is handled by the app (reduces inter module dependencies)
  - help popup and welcome popup are now seperate modules
  - welcome popup is not loaded unless needed
  - SenseEditor#getCurrentRequestRange and SenseEditor#getCurrentRequest are now async, and will return their value once tokenization has completed.
  - Replaced "Copy as cURL" functionality, using ZeroClipboard for now.
2014-01-12 16:24:01 +01:00
Boaz Leskes 937a392e5d added the option to upload current packages as marvel/latest 2014-01-06 14:00:44 +01:00
Boaz Leskes 247f40307d Fixed a typo in replace.js 2014-01-05 23:17:55 +01:00
Boaz Leskes bf4c501c3b made cluster stats report url configurable
also removed report id as it should be automatically generated to avoid cross-user collisions.
2014-01-05 22:59:56 +01:00
Rashid Khan 54cc6c73fd Added jslint to default task 2013-12-30 10:48:45 -07:00
Boaz Leskes 151b8f9e25 Moved packages folder to be under build. Fixed issues with deployment configuration. 2013-12-23 20:56:45 +01:00
Boaz Leskes 78bc1fcaee Added a default_route settings and updated to kibana's config.js 2013-12-23 20:16:51 +01:00
Boaz Leskes 7354035798 Initial sense checkin 2013-12-18 17:15:54 +01:00
Boaz Leskes 05185015f0 Release command doesn't repackage but release already built (and tested) packages 2013-11-21 22:55:01 +01:00
Boaz Leskes d64283f59e Added kibana tag/branch/revision pinning. 2013-11-21 11:11:11 +01:00
Boaz Leskes b68dda7027 Renamed merge folder to tmp. Removed symlinking the nodes_module folder of kibana build. Build now leaves a _site folder with marvel+kibana in it. Server command always creates a new config.js from template 2013-11-20 13:59:43 +01:00
Boaz Leskes 63a6bfb59e rename shipper to exporter 2013-11-19 09:51:14 +01:00
Boaz Leskes 31ba5de2df Moved plugin to a subfolder
Tweaked build system to allow serving both marvel and kibana content without building and without symlinks
2013-11-18 22:14:38 +01:00
Rashid Khan 1d7390f5cc Initial build system 2013-11-18 12:16:02 +01:00
Rashid Khan 161c1d1de9 Added marvel specific tasks for setup 2013-11-18 12:16:02 +01:00
Rashid Khan e8d20fe781 Kibana default tasks 2013-11-18 12:16:02 +01:00