Commit graph

38 commits

Author SHA1 Message Date
jasper
0fd25ab9ea [plugin cli] Retry folder rename on windows eperm (#9279)
Backports PR #9260

**Commit 1:**
[plugin cli] Retry folder rename on windows eperm

* Original sha: 398662fc84
* Authored by Jonathan Budzenski <jon@jbudz.me> on 2016-11-29T20:05:19Z
2016-11-30 13:23:55 -05:00
Elastic Jasper
4561162d8f Backport PR #8775
---------

**Commit 1:**
Disabling the uiSettings for the cli_plugin install

* Original sha: 81ff2eb639
* Authored by = <brandon.kobel@elastic.co> on 2016-10-20T14:18:17Z
2016-10-20 10:32:11 -04:00
Elastic Jasper
32cbd7cee9 Backport PR #8746
---------

**Commit 1:**
Printing process warning's via the appropriate logger

* Original sha: 96ef75b980
* Authored by = <brandon.kobel@elastic.co> on 2016-10-19T10:41:45Z
2016-10-19 14:51:15 -04:00
Elastic Jasper
06a5cd3b61 Backport PR #8357
---------

**Commit 1:**
Changes plugin location for consistent naming (download{,s})

This puts us in alignment with other formats we are using

Related to https://github.com/elastic/kibana/pull/8317

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* Original sha: 0f19156bb5
* Authored by Tyler Smalley <tyler.smalley@elastic.co> on 2016-09-20T00:48:36Z
2016-09-19 21:24:10 -04:00
Elastic Jasper
246b0692a6 Backport PR #8283
---------

**Commit 1:**
fixes plugin path in .gitignore

* Original sha: f74eb9b4cb
* Authored by Jim Unger <bigfunger@gmail.com> on 2016-09-14T18:40:21Z

**Commit 2:**
Moves version from plugin installer to utils

* Original sha: ae492ff066
* Authored by Jim Unger <bigfunger@gmail.com> on 2016-09-14T18:41:19Z

**Commit 3:**
Adds plugin version check to kibana startup

* Original sha: 83d0821054
* Authored by Jim Unger <bigfunger@gmail.com> on 2016-09-14T18:41:40Z

**Commit 4:**
Changes plugin version to 'kibana' in text fixture

* Original sha: 922c04abe6
* Authored by Jim Unger <bigfunger@gmail.com> on 2016-09-14T19:07:09Z

**Commit 5:**
Merge branch 'master' into check-plugin-version-on-startup

* Original sha: 5da33adfdb
* Authored by Jim Unger <bigfunger@gmail.com> on 2016-09-15T14:45:01Z

**Commit 6:**
review changes to check_version

* Original sha: 2802410573
* Authored by Jim Unger <bigfunger@gmail.com> on 2016-09-15T16:53:28Z

**Commit 7:**
reworked logic to remove config when deleting a plugin from plugin_collection

* Original sha: 2f52be62ae
* Authored by Jim Unger <bigfunger@gmail.com> on 2016-09-15T20:11:43Z

**Commit 8:**
Adds a kibanaVersion property to the Plugin class

* Original sha: e920bca051
* Authored by Jim Unger <bigfunger@gmail.com> on 2016-09-15T21:04:41Z

**Commit 9:**
move enabled check into it's own mixin, and cleaned up how you disable a plugin

* Original sha: 049c029764
* Authored by Jim Unger <bigfunger@gmail.com> on 2016-09-16T17:22:47Z
2016-09-19 13:46:26 -04:00
Elastic Jasper
87ce00320f Backport PR #8317
---------

**Commit 1:**
[plugin installer] Point plugin url to artifacts.elastic.co

* Original sha: e719222da4
* Authored by Jonathan Budzenski <jon@jbudz.me> on 2016-09-16T20:53:19Z
2016-09-16 17:14:52 -04:00
Jim Unger
3a96d98abb Added some comments, and clarified error message
backports #8222 to 5.x
2016-09-12 18:51:43 -04:00
Jim Unger
5d14544d79 Adds concept of kibanaVersion to plugin installer 2016-09-12 18:51:15 -04:00
Jim Unger
8bfb2aeb2b makes filter property of zip options optional, also adds strip directory tests 2016-07-27 15:16:19 -05:00
Jonathan Budzenski
81efe3b734 [folder structure] src/plugins -> src/core_plugins 2016-07-05 14:06:43 -05:00
Jonathan Budzenski
28f30f8b73 [folder structure] installedPlugins -> plugins 2016-07-05 14:05:59 -05:00
Jonathan Budzenski
16e8975f3a [config] Add path.conf, path.data 2016-06-16 15:57:17 -05:00
Court Ewing
6b98215833 Merge pull request #7477 from epixa/SNAPSHOT
Uppercase -SNAPSHOT on snapshot builds
2016-06-16 08:02:15 -04:00
Court Ewing
7eaa1915f4 Uppercase -SNAPSHOT on snapshot builds
This is consistent with other Elastic projects.
2016-06-15 18:33:04 -04:00
Jonathan Budzenski
3ce2c5ffe7 [plugin installer] Use find instead of some when looking for path 2016-06-14 10:06:04 -05:00
Jonathan Budzenski
9be15fb7b9 [plugin installer] check multiple default paths for config 2016-06-13 11:18:37 -05:00
Guillaume Grossetie
2c1d76594e Display plugins versions
This is useful to determine if a plugin needs to be updated when using deployment automation solution (like Ansible)
2016-05-28 16:02:19 +02:00
Jim Unger
09be7e9084 [plugin installer] fixes issue when plugin directory is in archive twice 2016-04-29 14:11:03 -05:00
Shaunak Kashyap
4f66447a4c
More readable error checking 2016-04-21 07:32:08 -07:00
Shaunak Kashyap
5736439e04
Only call HTTP downloader if URL protocol starts with http or https 2016-04-21 06:57:14 -07:00
spalger
4c410097ba [cli/plugin] xpack -> x-pack 2016-04-05 08:30:56 -07:00
Court Ewing
42a4713cdc [pack installer] Kibana url for pack downloads
When packs are being installed without specifying a url, the generated
download url is of the form:

https://download.elastic.co/kibana/{plugin}/{plugin}-{version}.zip

There's no reason for the kibana plugin installer to download the
generic multi-product packs.
2016-04-01 15:43:22 -04:00
Court Ewing
9eee35d228 [internal] Replace var assignments with let in non-ui
This change was applied to all directories under src/ except for the ui/
directory. Only .js files were searched.

This was an automatic replacement from var to let for any variable
declaration that doubles as the initial assignment. Ultimately we want
most of these to be converted to const, but this commit is so large that
it warrants breaking each step of automation up into its own commit.

For example:

`var foo = 'bar';` becomes `let foo = 'var';`

This was accomplished by replacing:
find:    `var ([a-zA-Z_$][0-9a-zA-Z_$]*)(\s+)=`
replace: `let $1$2=`
2016-03-30 13:53:10 -04:00
spalger
927f85b428 Merge branch 'master' of github.com:elastic/kibana into implement/clusterWorkerListening 2016-03-28 09:37:37 -07:00
Jim Unger
dcf1dac8c0 [pack installer] fixed case on import statement 2016-03-23 15:10:45 -05:00
Jim Unger
f701df528f [pack installer] fixed version checking 2016-03-18 14:43:24 -05:00
Jim Unger
d65e7be13d [pack installer] changed version checking to use semver 2016-03-18 10:59:21 -05:00
Jim Unger
75598c5f45 [pack installer] fixed test 2016-03-18 10:08:35 -05:00
Jim Unger
041cc3b297 [pack installer] fixed file paths and lower-cased all help messages 2016-03-18 09:35:25 -05:00
Jim Unger
416c9c5111 [pack installer] implemented changes from PR review 2016-03-17 13:22:02 -05:00
Jim Unger
c86b13edc2 [pack installer] modified tests to make paths platform agnostic 2016-03-17 13:21:27 -05:00
Jim Unger
659a437195 [pack installer] various tweaks from PR review 2016-03-17 13:21:27 -05:00
Jim Unger
e50a79166a [pack installer] modified install action 2016-03-17 13:19:07 -05:00
Jim Unger
8f4ea5678f [pack installer] updated remove command 2016-03-17 13:16:22 -05:00
Jim Unger
7401cac179 [pack installer] updated the list command 2016-03-17 13:16:22 -05:00
Jim Unger
6830296e2e [pack installer] reworked Logger into a constructable object 2016-03-17 13:16:22 -05:00
Jim Unger
fa1fd274b4 [pack installer] renamed existing files 2016-03-17 13:16:22 -05:00
Jim Unger
f6c48779dc [pack installer] moved existing files into new structure 2016-03-17 13:13:35 -05:00