Commit graph

449 commits

Author SHA1 Message Date
spalger
e70987a28a destructuring assignment ftw 2015-07-31 00:02:37 -07:00
spalger
09875a0fa1 move default buildNum and version into config 2015-07-29 13:07:50 -07:00
spalger
f9897a3773 added grunt tasks for jenkins and travis 2015-07-28 09:45:10 -07:00
spalger
6e03b58665 switch to dots reporter in grunt 2015-07-28 06:45:06 -07:00
spalger
5705f1a5d1 update auto-release-sinon 2015-07-27 18:17:54 -07:00
spalger
992e3968a7 karma config for travis 2015-07-27 17:39:46 -07:00
spalger
0f6d59e258 remove license checking from test script 2015-07-27 17:34:33 -07:00
spalger
7fe7ff5fc1 mocha => karma 2015-07-27 17:24:07 -07:00
spalger
cfc398b37d remove bower, nice people matter 2015-07-27 17:13:45 -07:00
spalger
1e555c5961 switch to Karma, now the tests pass with Grunt 2015-07-27 10:53:24 -07:00
spalger
2905b795ab relocated some tests, fixed others, moved more modules to CamelCase names, and shortened many module ids 2015-07-27 03:54:08 -07:00
spalger
2bcf846993 get the server tests passing again 2015-07-26 10:05:57 -07:00
spalger
b2246da3f1 fixed lots of dep issues in tests 2015-07-26 03:03:24 -07:00
spalger
68247c92cf lean on metaLibs using ui/modules for angular-module injection 2015-07-21 19:41:49 -07:00
spalger
450cf58dd8 update licenses 2015-07-21 13:15:25 -07:00
spalger
15864363d5 It has been a while.. sorry 2015-07-20 15:29:48 -07:00
spalger
844f2d602c moved tests next to related source files 2015-07-16 01:27:52 -07:00
spalger
ffc4f3d7e5 flatten the ui directory a bit, shorten module ids 2015-07-15 23:25:46 -07:00
spalger
900126541c clean up old grunt tasks 2015-07-15 22:15:56 -07:00
spalger
2093bf4345 added new node-libs-browser dep to license config 2015-07-15 14:56:16 -07:00
spalger
93c8ab9d97 Merge branch 'master' of github.com:elastic/kibana into apps/home 2015-07-15 14:48:55 -07:00
spalger
d92459d36c [licenses] update overrides, drop unused module 2015-07-14 15:55:58 -07:00
Spencer Alger
22fb1e5a96 Merge branch 'feature/3270/statusPage' of github.com:panda01/kibana into apps/home 2015-07-13 16:55:12 -07:00
Spencer Alger
0d4ebcb072 license has updated, but the licenses are the same 2015-07-12 20:37:40 -07:00
Khalah Jones-Golden
23a22d5aae [Merge] Merged with latest master 2015-07-10 11:26:07 -04:00
Khalah Jones-Golden
0936b0340c [Status] Fixed some bugs, moved some things around generally improved code, Also fixed watch task for status plugin css 2015-07-10 11:14:09 -04:00
Spencer Alger
382598fada split dev server in two, preventing server source file from forcing webpack rebuilds 2015-07-10 06:20:03 -07:00
Spencer Alger
e809f4b718 Merge branch 'master' of github.com:elastic/kibana into apps/home 2015-07-09 20:18:26 -07:00
Spencer Alger
5a5e6fae55 Merge branch 'master' of github.com:elastic/kibana into feature/3270/statusPage 2015-07-09 19:24:04 -07:00
Spencer Alger
f621a42368 fix styles, time to begin finding bugs 2015-07-07 19:32:48 -07:00
Spencer Alger
522a00ec5d building is mostly stable, less is improving, initial cached building added 2015-07-06 20:49:41 -07:00
Spencer Alger
40536fe053 Merge branch 'master' of github.com:elastic/kibana into apps/home 2015-06-30 05:13:28 -07:00
Spencer Alger
844b95c932 initial webpack implementation 2015-06-30 05:12:56 -07:00
Spencer Alger
1ed3cbbfcb Update license-checker, override amdefine
The amdefine module was updated to use a newish license syntax that license-checker doesn't seem to support yet. In order to prevent invalid failures I've added an override that will keep things functioning for now.

(cherry picked from commit 6dd8aae1c5)
2015-06-29 11:20:47 -07:00
Rashid Khan
7efd5dbaa6 Use --debug instead of --verbose 2015-06-26 12:16:58 -07:00
Spencer Alger
3ceaf12216 unwrap ui source 2015-06-25 16:00:20 -07:00
Spencer Alger
0edf82145c defaultRoute implemented, redirect when missing a slash 2015-06-25 15:44:06 -07:00
Rashid Khan
81b5197bee Make licenses task take --verbose 2015-06-25 14:24:52 -07:00
Spencer Alger
91f0e125e8 fix status and devServer grunt tasks 2015-06-25 13:40:15 -07:00
Spencer Alger
2181f32a3b fix less building 2015-06-25 10:31:50 -07:00
Khalah Jones-Golden
4595f4b267 [Status] Fixed a bug with the time on tooltip, changed watch config 2015-06-25 11:50:46 -04:00
Khalah Jones-Golden
da2287bdf6 [Licenses] Updated licenses for the weird variation for angular-nvd3 2015-06-25 11:23:09 -04:00
Khalah Jones-Golden
61193f893c [Status] Some code cleanup, added server less to watch adnd less, adjsted some css for proper display, updated code to work again 2015-06-25 11:12:18 -04:00
Khalah Jones-Golden
270cd5c659 Merge remote-tracking branch 'upstream/master' into feature/3270/statusPage 2015-06-25 08:47:44 -04:00
Spencer Alger
8d2e8816dc [server] work out plugin organization, and app declaration 2015-06-24 23:47:19 -07:00
Spencer
9ae53c3715 Disable marvel and refresh master on restart
Since marvel doesn't currently work with es 2.0 I'm disabling the plugin and adding `fresh: true` so that every time the esvm task is run it will refresh our master build.
2015-06-23 11:44:49 -07:00
Chris Cowan
c6b98b3714 Moving esvm to branch:master to pickup ES 2.0 2015-06-23 10:01:44 -07:00
Khalah Jones-Golden
ee53512d83 [bower] Put the proper packages for nvd3 and the like, also disabled licenses, for now. 2015-06-21 11:05:01 -04:00
Spencer Alger
dddfb802c2 Merge branch 'master' of github.com:elastic/kibana into update/lodash 2015-06-19 10:54:22 -07:00
Spencer
9c3784ef03 Merge pull request #4245 from spalger/fix/server-debug-mode
Fix/server debug mode
2015-06-18 07:27:20 -07:00
Spencer Alger
701d2dedfb Merge branch 'master' of github.com:elastic/kibana into update/lodash 2015-06-16 18:02:30 -07:00
Spencer Alger
8da87d75f0 Merge branch 'master' of github.com:elastic/kibana into testing/seeds 2015-06-16 17:32:04 -07:00
Spencer Alger
4c744b9e5c [grunt] fix maybe_start_kibana 2015-06-15 16:40:14 -07:00
Spencer Alger
1cdcb644c7 [server] move dev server to isolated script for nodemon compat 2015-06-15 16:07:37 -07:00
Spencer Alger
1b308bf86b Merge branch 'master' of github.com:elastic/kibana into update/lodash 2015-06-15 15:12:00 -07:00
Spencer
bcc9a7bd60 Merge pull request #4210 from spalger/update/grunt-plugins
[grunt] update plugins
2015-06-15 14:44:52 -07:00
Chris Cowan
1e6f904530 Fix tasks so the server builds correctly
- Fix logging to use json output when using kibana.js to start server
- Closes #4241
- Support process.env.CONFIG_PATH
- add bundled_plugin_ids support back into server
2015-06-15 13:56:47 -07:00
Spencer Alger
a6f938866c [lodash] switch flatten() and flattenDeep() 2015-06-15 10:10:59 -07:00
Chris Cowan
90d4f862a7 Merge branch 'master' of github.com:elastic/kibana into feature/hapi-server 2015-06-15 08:09:34 -07:00
Spencer Alger
2c230f7cd4 [grunt] update plugins 2015-06-11 19:10:16 -07:00
Spencer Alger
a5ffd91277 [lodash] audit _() usage to ensure compatibility with lodash 3.0
Starting in lodash 3.0 _() chains are lazily evaluated and therefor usage of the pattern had to be checked for side effects. Where it made more sense to just use Array methods, the code was updated. In other places the code was already calling .value() on the chain, so no changes were needed. Finally, there were places where the chain was not designed to produce a value, but to modify a value that was already in scope (like this/self), in those senarios .commit() was added to force evaluation of the chain.
2015-06-11 18:27:18 -07:00
Spencer Alger
d8313082ab [simple-git] udpate 2015-06-11 15:27:42 -07:00
Chris Cowan
a7f424eec5 Merge branch 'master' of github.com:elastic/kibana into feature/hapi-server 2015-06-08 17:04:48 -07:00
Spencer Alger
dc07a456cd removed unused deps and prevent license failure 2015-06-08 14:17:22 -07:00
Chris Cowan
cf8bfd0f10 Merge branch 'master' of github.com:elastic/kibana into feature/hapi-server 2015-06-05 17:06:48 -07:00
Rashid Khan
1494ce2b44 Fix license check of assert-plus and commander 2015-06-05 12:08:04 -07:00
Spencer Alger
dc0f6bb2b6 Merge branch 'master' of github.com:elastic/kibana into pr/4114 2015-06-05 11:06:11 -07:00
Spencer Alger
ec9ddb7232 [testing] remove saucelabs runner and utils 2015-06-04 16:22:30 -07:00
Rashid Khan
20b261d9d6 Add to grunt test 2015-06-04 14:15:10 -07:00
Rashid Khan
fc28784e4d Add 'licenses' task to grunt to check for incompatible licenses 2015-06-04 13:47:57 -07:00
Chris Cowan
ff5b369d42 Merge branch 'master' of github.com:elastic/kibana into feature/hapi-server 2015-06-03 16:53:14 -07:00
Shaunak Kashyap
6f401c12e3 Parameterize Kibana port 2015-06-03 15:16:30 -07:00
Spencer Alger
4335238768 [build] remove bin and npm scripts until it's setup properly 2015-06-02 19:46:48 -07:00
Spencer Alger
447721e5b5 [build] improve the package.json file that's included in the dist 2015-06-02 11:17:35 -07:00
Spencer Alger
971ca6ef3e [testing] add reusable test seed option to tests 2015-05-29 21:33:43 -07:00
Joe Fleming
631b4a4ce4 Merge pull request #3969 from lukasolson/issues/3921
Add leaflet sprites to build
2015-05-26 14:20:59 -07:00
Lukas Olson
0183612a44 Add leaflet sprites to build (issues/3921) 2015-05-22 17:21:06 -07:00
Joe Fleming
42f2cafae9 copy worker-json to root path
done to avoid dealing with the dynamic loading stuff ace does
2015-05-22 14:51:28 -07:00
Rashid Khan
f61bc1e307 Don't create rpm/deb/pkg by default, require --os-packages 2015-05-21 12:45:09 -07:00
Rashid Khan
1045b8e1b4 Merge pull request #3212 from jordansissel/packaging
Add distribution package formats & service definitions
2015-05-18 15:09:01 -07:00
Chris Cowan
81d106c475 Moving kbiana.start to (new Kibana()).listen() 2015-05-12 11:05:25 -07:00
Chris Cowan
694ca165db Moving src/hapi to src/server 2015-05-12 09:52:21 -07:00
Chris Cowan
f0edc44902 Adding plugin for dev 2015-05-11 16:35:07 -07:00
Niels Timmermans
c8fedb4998 Typo fix in npm_install_kibana.js 2015-05-06 15:13:29 +02:00
Jordan Sissel
1992b798bd Mark the kibana.yml as a config file in the packages
Also removed trailing whitespace on a line.
2015-05-04 17:23:54 -07:00
Jordan Sissel
b03f212a7f Add user management scripts to packages
User management scripts are generated during create_services in case
folks want to use them outside of packages.

Currently only Linux is targeted for this.

This requires pleaserun >= v0.0.16
2015-05-04 17:06:22 -07:00
Jordan Sissel
83d7d019cc Target the rpm os at linux.
This allows the rpm to be built on OSX and be installable on Linux.
2015-05-04 15:45:07 -07:00
Jordan Sissel
13bf6c4f56 Compute sha1 for all files in target dir
This will skip files ending with .sha1.txt
2015-05-04 13:17:05 -07:00
Jordan Sissel
71466216bb use child_process.exec
don't depend on create_packages to provide it.
2015-05-04 13:10:32 -07:00
Jordan Sissel
905ce8ecd6 Write logs to /var/log/kibana/... 2015-05-04 13:10:17 -07:00
Jordan Sissel
9c4c1840e3 Add create_services before create_packages 2015-05-04 12:18:58 -07:00
Jordan Sissel
016323bda3 Create rpm, deb, and osx .pkg files
This uses fpm to create rpm, deb, and osx package files for Kibana.

For rpm and deb, sysv init scripts are included from the
`create_services` task.
2015-05-04 12:18:58 -07:00
Jordan Sissel
fd2fb52f41 Add create_services grunt task.
This task will generate service definitions that will help run Kibana on
different platforms. At this time, the following service platforms are
supported: sysv init, upstart, launchd, systemd.

The files are generated by the `pleaserun` program and are written to
build/dist/services/[platform]/...
2015-05-04 12:18:58 -07:00
Jordan Sissel
598282b05f Move from child_process exec to execFile
The goal is to be resistant to common execution failures where arguments
may have spaces or odd characters that could be interepreted by the
shell (which child_process.exec() runs).
2015-05-04 12:18:58 -07:00
Rashid Khan
76a992e3c4 Remove the test watcher 2015-04-24 07:56:10 -07:00
Spencer Alger
ed2928ef31 switched to personal fork of grunt-jscs to inclide fix feature 2015-04-02 09:23:05 -07:00
Spencer Alger
da16712f7b Merge branch 'master' of github.com:elastic/kibana into add/jscs 2015-04-01 16:22:50 -07:00
Rashid Khan
93b66e1c98 Fix download location 2015-03-30 15:06:03 -07:00
Spencer
9a8e7dd525 Merge pull request #3421 from spalger/fix/3269
Fix/3269
2015-03-26 13:41:31 -07:00
Spencer Alger
f559d2ed20 [grunt/less] added source maps to dev less build 2015-03-24 17:08:24 -07:00
Spencer Alger
5b86f4ec67 [grunt/kibana_server] log to console if debug or verbose flags are passed 2015-03-23 10:29:02 -07:00
Spencer Alger
b7b1d5e3cd [server/waitForEs] only wait for the kibana index to initialize 2015-03-23 10:28:13 -07:00
Khalah Jones-Golden
a36f72142c [Docs, Links] Changed all of the relevant links and occurences of the string elasticsearch to take into consideration the rebranding during elasitcon and keynote 2015-03-16 18:22:48 -07:00
Spencer Alger
10c4d3ad3b Merge branch 'master' of https://github.com/elasticsearch/kibana into add/jscs 2015-03-06 10:46:06 -07:00
Chris Cowan
9268660b3d Correction config/index.js path for replace adn removing it from the root config for builds 2015-02-25 18:57:39 -07:00
Chris Cowan
8a2f216dda Adding build number to the upgraded config file 2015-02-25 12:57:38 -07:00
Spencer Alger
3d0186d8a9 [tasks/version] simplify 2015-02-20 11:29:00 -07:00
Spencer Alger
c4e1c59e20 Merge branch 'master' of https://github.com/elasticsearch/kibana into add/jscs 2015-02-20 10:25:21 -07:00
Spencer Alger
81cda9179b [tasks/lintStagedFiles] 🎶 promises are a devs best friend 2015-02-20 09:42:34 -07:00
Spencer Alger
eb65872ece Merge branch 'master' into add/jscs 2015-02-20 09:30:13 -07:00
Spencer Alger
d45c1c7900 [grunt:version] added tests 2015-02-19 20:25:34 -07:00
Spencer Alger
3e00eb1f5a [grunt:version] wrote a grunt task for updating the version 2015-02-19 20:25:12 -07:00
Spencer Alger
e154c485e9 [grunt] remove unneeded render_readme task 2015-02-19 17:07:22 -07:00
Spencer
a827b186fb [esvm] bump to 1.4.4 2015-02-19 16:42:30 -07:00
Chris Cowan
59d439b66f Closes #3068 - Create SHASUMs for uploaded files
Closes #3068
2015-02-18 12:17:47 -07:00
Spencer Alger
e9f6fb1c06 [esvm] upgrade to 1.4.3 2015-02-11 10:47:40 -07:00
Spencer Alger
e37fa32847 update es version and use extended_stats.std_deviation_bounds 2015-02-10 18:18:09 -07:00
Spencer Alger
deff9b63b1 [jscs] setup 2015-02-07 13:49:38 -07:00
Spencer Alger
f8e59a69e6 [jshint] updated, style rules removed 2015-02-07 13:49:33 -07:00
Spencer Alger
093e7a22fa fix run_build task 2015-02-05 15:40:44 -07:00
Chris Cowan
1d7238f940 Adding error checking to grunt 2015-02-02 15:54:24 -07:00
Chris Cowan
22bfd9e079 Merge branch 'master' of github.com:elasticsearch/kibana into feature/config-migration
Conflicts:
	package.json
	src/server/routes/proxy.js
	tasks/test.js
2015-01-28 13:17:40 -07:00
Joe Fleming
5a801e5d35 Merge pull request #2754 from simianhacker/feature/new-proxy
Closes #2720 - Support CA Certificates with the proxy
2015-01-28 11:41:10 -07:00
Chris Cowan
2f70a856be Remvoing config values 2015-01-27 17:58:22 -07:00
Chris Cowan
1e6bf202f7 Fixing the path config values 2015-01-27 17:50:57 -07:00
Chris Cowan
c926cc1171 Preventing optional packages from being install. 2015-01-27 17:33:07 -07:00
Chris Cowan
2bed1807d1 Adding esvm to test for travis 2015-01-23 19:08:03 -07:00
Chris Cowan
d1886d8b95 Fixing esvm:dev 2015-01-23 13:01:19 -07:00
Chris Cowan
da9cdcb104 Oops... UNSHIFT not SHIFT 2015-01-23 12:25:45 -07:00
Chris Cowan
b42ec9fc53 Closes #2377 - Migrate config from > GA
- Closes #2377
- Added testing framework for server side tests
- Fixed jshint
- Added config migration
- Added framework for server initialization
2015-01-23 12:12:53 -07:00
Chris Cowan
fb984758ec Adding esvm to test for travis 2015-01-23 12:11:24 -07:00
Chris Cowan
2b9802030c Closes #2377 - Migrate config from > GA
- Closes #2377
- Added testing framework for server side tests
- Fixed jshint
- Added config migration
- Added framework for server initialization
2015-01-23 11:34:29 -07:00
Joe Fleming
a863530c57 remove jruby stuff from grunt run 2015-01-21 12:46:48 -07:00
Joe Fleming
c6ec47369b remove jruby task 2015-01-21 12:14:04 -07:00
Joe Fleming
8c227e46ef load port from the server config 2015-01-21 12:13:56 -07:00
Joe Fleming
af2bffc8ac give tasks a central place to load server config 2015-01-21 12:13:35 -07:00
Joe Fleming
e9eadb771b Merge branch 'feature/node-server' into dev-server 2015-01-21 12:06:00 -07:00
Joe Fleming
9596ed6a8f abort startup process if another server is already running 2015-01-21 11:55:52 -07:00
Joe Fleming
490ec226a5 check app name header to verify kibana server 2015-01-21 11:50:24 -07:00
Joe Fleming
c3a270e909 use config port to check for existing server, report running port, add
debugging info
2015-01-21 11:29:47 -07:00
Chris Cowan
35ac728955 Fixed the dev route and pointed the tests to http://localhost:5601 2015-01-21 11:07:51 -07:00
Joe Fleming
cd8535c47a rename kibana task 2015-01-21 10:59:11 -07:00
Spencer Alger
94ff1e9ead removed the dev server and cleaned up package.json 2015-01-20 11:15:31 -07:00
Chris Cowan
ba40d0db35 fixing run_build 2015-01-19 17:22:13 -07:00
Chris Cowan
63d6a143a6 Promisifying download_node_binaries 2015-01-19 17:00:47 -07:00
Chris Cowan
bd9a86ff14 Moving Node Binaries and Fixing the Shell Scripts 2015-01-19 14:29:05 -07:00
Chris Cowan
33559850c1 Fixing Binaries for Deployment
- Fixed the way the config parses the plugins
- Fixed scripts to load config from the right place in production
2015-01-19 14:29:05 -07:00
Chris Cowan
0bbcef13b6 Fixing the server starts 2015-01-19 14:29:05 -07:00
Chris Cowan
e709dec0d0 Adding the kibana server to grunt; Setting logging to only output if not config.quiet 2015-01-19 14:29:05 -07:00
Chris Cowan
9e28e8bdbd Adding build process for the binaries 2015-01-19 14:29:05 -07:00