spalger
1b85822e26
[cli/serve] allow disabling the base path proxy if needed
2016-01-21 16:52:25 -07:00
Spencer
006333fd99
Merge pull request #5671 from spalger/implement/esvmConfigForShield
...
Implement esvm config for shield
2016-01-15 17:54:29 -07:00
Spencer
9537d680dc
[esvm] rename config name
2016-01-15 17:53:44 -07:00
spalger
7773625690
[simplemocha] always perform mocha setup if grunt task is loaded
2016-01-14 10:32:28 -07:00
spalger
7b15ee05d1
[mochaSetup] added notes to explain the purpose for the workarounds in place
2016-01-13 16:50:55 -07:00
spalger
c87aec3dae
[mocha] move setup work into module
...
with https://github.com/elastic/kibana/pull/5553 we added command line flags the told mocha it was supposed to use babel. This changes the strategy here and instead uses mocha's -r option (and it's mocha.opts file to specify it). This means that using mocha directly from the command line still works, and that we have a place where we can do other setup work.
2016-01-12 16:26:42 -07:00
Rashid Khan
1043884a48
Merge pull request #5213 from Bargs/indexPatternApi
...
Create an Ingest API
2016-01-11 14:26:30 -07:00
Matthew Bargar
a5178be0a7
avoid repetition
2016-01-07 17:25:33 -05:00
Matthew Bargar
b4ef144ae0
Created more robust defaults and removed support for overriding them
2016-01-06 12:40:37 -05:00
Matthew Bargar
fe296b4b36
First pass at adding support for fields that are part of an object
2016-01-05 16:45:08 -05:00
spalger
102f6bf0a4
Merge branch 'master' of github.com:elastic/kibana into implement/esvmConfigForShield
2016-01-05 13:18:09 -07:00
Jonathan Budzenski
64a0375f56
[build] Update node download path for Windows
2016-01-05 12:51:56 -06:00
Matthew Bargar
83bbcb6c14
Convert index-pattern keys to snakeCase before sending to ES for the sake of backwards compatibility
2015-12-29 13:37:50 -05:00
Matthew Bargar
c5565d72c6
Give API tests their own intern config
...
Adding a 'suites' property to the existing intern configuration caused
an error to be thrown at the beginning of the functional test run. Even
if the value of 'suites' was just an empty array. The existence of the
property seemed to enabled execution of the config file in the selenium
browser because it complained about not having the node require
function. To fix this, I created a separate api test config file without
the node require and removed the 'suites' property from intern.js.
2015-12-29 13:37:50 -05:00
Matthew Bargar
07e3a33b55
disable xsrf protection when running api tests
2015-12-29 13:37:50 -05:00
Matthew Bargar
e6100c2f4e
First API test
2015-12-29 13:37:50 -05:00
LeeDr
2a8c79d350
Bump Selenium version from 2.47.1 to 2.48.2 to work with latest Firefox 43. Add more debug logging around get url.
...
Fixes #5750
2015-12-22 16:45:05 +00:00
spalger
45478a3d5f
[esvm] added admin role with full access to es
2015-12-14 11:56:01 -07:00
spalger
8e9cb6927c
[esvm] add config to start es with shield
2015-12-14 11:10:56 -07:00
Court Ewing
ea23878435
More conservative glob against dep tests
...
When creating builds, we were using a glob that was too liberal in its
matching to identify and clean test files in our dependencies in order
to shave some bytes off of our final build. We now only remove files or
directories that outright match either "test" or "tests" rather than any
file or directory that even includes the word "test" in it.
Fixes #5636
2015-12-10 19:05:36 +00:00
Court Ewing
38d5fc5051
Isolate esvm clusters by purpose
...
Attempting to run multiple elasticsearch clusters on the same host
without specifying different cluster names actually triggers the
discovery behaviors of elasticsearch, which adds the second es process
as another node of the original cluster. This means that despite running
on different ports, our test setups of elasticsearch actually attempt to
modify the main dev setup.
Fixes #5529
2015-12-02 21:20:56 +00:00
Court Ewing
af6175e81a
Run server tests on port 9210
...
The UI tests were already running against a non-default port (ie 9200),
so there is already precedent for this.
Fixes #5529
2015-12-02 21:20:55 +00:00
Joe Fleming
e7fdbd11ae
Merge branch 'master' into test-rebuild
...
Conflicts:
tasks/config/run.js
2015-11-11 11:48:47 -07:00
Joe Fleming
1431d28852
Merge pull request #5292 from w33ble/functional-tests-settings
...
Initial Kibana functional UI tests - settings app
2015-11-10 15:41:30 -07:00
Joe Fleming
beec996a2d
make testUIServer run in dev env
...
force optimize step to run every time
2015-11-10 13:52:07 -07:00
Joe Fleming
2d04ec4afa
change serverConfig servers path
2015-11-04 16:08:00 -07:00
Court Ewing
73804e6647
Elasticsearch 2.1 branch for esvm
...
Kibana 4.3 should be developed against the 2.1 branch of elasticsearch.
2015-11-03 13:01:05 -05:00
Jonathan Budzenski
8af41458ae
[functional testing] Centralize server configs
2015-10-26 13:11:28 -05:00
Jonathan Budzenski
90969d9308
[functional testing] Add url configs and util to get pages
2015-10-21 14:26:42 -05:00
Jonathan Budzenski
db8f7cdf22
[functional testing] Load scenarios
2015-10-14 15:33:25 -05:00
Jonathan Budzenski
d6aed640a2
Merge branch 'master' into functional-testing
2015-10-13 08:59:34 -05:00
Jonathan Budzenski
f74eafe5f7
Merge pull request #5025 from w33ble/farewell-zeroclipboard-and-thanks-for-all-the-fish
...
Remove ng-clip and zeroclipboard
2015-09-23 15:58:51 -05:00
Tim Sullivan
145464138f
Merge pull request #5017 from spalger/chore/eslintMocha
...
[eslint] update and add mocha plugin
2015-09-23 13:43:25 -07:00
Joe Fleming
d75bd51171
purge kibana of ng-clip and zeroclipboard
2015-09-23 13:24:26 -07:00
spalger
292a490730
[grunt/eslint] correct comment
2015-09-23 13:15:21 -07:00
Jim Unger
ae0f624b2d
[unit tests] Fixes generated paths to support windows
2015-09-23 14:50:32 -05:00
spalger
3510336077
[npm] added lint and lintroller scripts
2015-09-22 18:58:14 -07:00
Matt Bargar
67e7c5f578
Merge pull request #4982 from spalger/dev/ensureEsOn9200
...
[esvm] when starting es, ensure it runs on 9200 or fails
2015-09-21 11:09:09 -04:00
spalger
86454764af
[esvm] when starting es, ensure it runs on 9200 or fails
2015-09-18 16:12:56 -07:00
spalger
aa42cf786d
[tests] log with dots on travis/jenkins
2015-09-18 11:58:12 -07:00
Jonathan Budzenski
bb85a6c244
Merge branch 'master' into functional-testing
2015-09-18 09:09:14 -05:00
Spencer
1bcd867f49
Merge pull request #4916 from Bargs/esvmForAllTests
...
Use esvm to start and stop elasticsearch for all tests that need it
2015-09-17 15:40:39 -07:00
Jonathan Budzenski
ca81d4b777
[functional testing] Use grunt-run with selenium
2015-09-15 16:26:04 -05:00
Rashid Khan
b7e667df76
Revert npm3, go back to npm2
2015-09-14 13:39:17 -07:00
Jonathan Budzenski
6d44d2e9ef
[functional testing] Move task defaults to configs
2015-09-14 09:17:41 -05:00
Jonathan Budzenski
a77b962834
Merge branch 'master' into functional-testing
2015-09-11 16:22:18 -05:00
Matt Bargar
f9f0a9f163
give the test config its own esvm directory that it can purge as much as it likes
2015-09-10 19:44:56 -04:00
spalger
3672ac5ebf
[esvm] test against es 2.0
2015-09-03 16:28:31 -07:00
Jonathan Budzenski
83a582cdbe
[functional testing] Load fixtures
2015-09-03 13:39:26 -05:00
Jonathan Budzenski
76d60aec9e
[functional testing] Start new instance of kibana
2015-09-02 14:56:07 -05:00
Jonathan Budzenski
0d53f5ee13
[functional testing] Start new instance of es
2015-09-02 14:55:41 -05:00
Jonathan Budzenski
7b8374b7c8
Add intern task to grunt and associated npm script
2015-09-02 14:07:20 -05:00
spalger
708f1f1a25
[node] downgrade to 0.12.7
...
While working to reintroduce shrinkwrap into our workflow it became
apparent that we needed to be using npm3 but unfortunately node-gyp
is not compatible with iojs, and the iojs distros actually contain a
patched version. This means that you can only use iojs with the npm
it ships with.
When trying to find a solution for this issue, we contemplated not
using npm3, but that would mean that we can't use npm-shrinkwrap and
decided that since we are using babel anyway that switching back to
node was the best option.
The only code that must be updated to work in the new node 0.12 env
is lodash templates that use the template string syntax inside their
source (Since 0.12 does not support template strings).
2015-08-31 21:58:46 -07:00
spalger
fa35652bd8
[babel] configure babel to use native generators in node
2015-08-27 19:06:50 -07:00
spalger
694ab70cbe
Merge branch 'master' of github.com:elastic/kibana into implement/npm3
2015-08-26 17:12:19 -07:00
spalger
af3387442d
[build] ☝️ include webpackShims in build
2015-08-26 17:05:54 -07:00
spalger
faa1011bbd
upgrade to npm 3.0
2015-08-26 16:36:19 -07:00
Jim Unger
85e3579105
Merge pull request #4742 from w33ble/test-coverage
...
Return of the test coverage
2015-08-26 11:51:02 -05:00
Joe Fleming
a395853f34
fix test server command for windows machines
2015-08-26 09:39:01 -07:00
Spencer
2f780507bf
Merge pull request #4665 from spalger/chore/packageJsonUpkeep
...
[package.json] clear out old packages and move dev packages into place
2015-08-25 08:58:20 -07:00
Joe Fleming
2e3ba07774
generate the test coverage
2015-08-24 17:10:21 -07:00
Spencer
6525554a3d
Merge pull request #4706 from spalger/implement/testingDocsAndHelpers
...
Testing docs and helpers
2015-08-19 13:14:24 -07:00
spalger
4fdb7c7853
Merge branch 'master' of github.com:elastic/kibana into chore/packageJsonUpkeep
2015-08-19 11:13:40 -07:00
spalger
a27d7ba314
[build] remove the "bin" files for deep modules
2015-08-18 23:17:53 -07:00
spalger
e5390a66f0
[karma] move config into grunt task for client.mocha support
2015-08-18 15:36:00 -07:00
spalger
38ff67b019
[grunt test] always start a new server for the tests, added test:dev task
2015-08-18 13:32:44 -07:00
spalger
e39a47e9bf
[optimize] remove optimize.tests config, rely on optimize.bundleFilter instead
2015-08-18 13:30:45 -07:00
spalger
3d2812c13d
[build] ship with the 32bit version of node on windows
2015-08-17 11:50:42 -07:00
spalger
1d40ed48a3
[build] drop the .node-version file
2015-08-14 16:28:18 -07:00
spalger
219c7a3b9e
[build] allow installed plugins to use live compiled es7->es5
2015-08-14 16:20:48 -07:00
spalger
bc3529ec65
[build] move to absolute paths and improve fpm/pleaserun support
2015-08-14 13:27:41 -07:00
spalger
552b824711
[build] finish updates
2015-08-14 11:53:26 -07:00
spalger
e4c4bcc513
[build] move some select node modules up in the tree to prevent paths over windows limit
2015-08-14 11:51:23 -07:00
spalger
4f8cad5a0d
[webpack] switch to rjs-repack-loader for shorter id and smaller dep tree
2015-08-13 23:38:00 -07:00
spalger
ce366a06f4
[build] initial fix
2015-08-13 21:16:54 -07:00
spalger
5fb9bbae69
[package.json] clear out old packages and move dev packages into place
2015-08-13 10:24:22 -07:00
spalger
7671fc689a
ensure that current buildSha and buildNum are read into config
2015-08-11 15:32:13 -07:00
spalger
a016f536ca
use fs optimizer in test server
2015-08-11 14:22:58 -07:00
spalger
1c0720a9e5
goodbye mocha timeouts
2015-08-09 23:19:11 -07:00
spalger
41ab3824a9
improve karma support
2015-08-08 22:38:14 -07:00
spalger
cd5b6656aa
fixed the test bundling
2015-08-07 11:49:56 -07:00
spalger
e63800ed71
wait for optimization to complete before considering the dev server ready
2015-08-03 11:37:57 -07:00
spalger
e977e642d5
switch from eslint cli to gruntify-eslint
2015-08-03 09:35:31 -07:00
Rashid Khan
79dcc9acf0
add jscs rules to eslint
2015-08-01 14:46:53 -07:00
Rashid Khan
9d4de5e87a
Revert "add jscs rules to eslint"
...
This reverts commit cfde0e5a01
.
2015-08-01 14:34:36 -07:00
spalger
cfde0e5a01
add jscs rules to eslint
2015-07-31 19:50:47 -07:00
spalger
e0d78a8475
switch to eslint
2015-07-31 17:16:09 -07:00
spalger
e70987a28a
destructuring assignment ftw
2015-07-31 00:02:37 -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
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
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
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
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
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
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
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
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
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
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
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
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
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
Chris Cowan
694ca165db
Moving src/hapi to src/server
2015-05-12 09:52:21 -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 Alger
f559d2ed20
[grunt/less] added source maps to dev less build
2015-03-24 17:08:24 -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