Hugo Häggmark
3c61627ab7
ReactTable: adds alignment options ( #23389 )
2020-04-07 14:02:18 +02:00
Robby Milo
cf43709316
Docs: fix image, add nginx code type ( #23387 )
2020-04-07 12:08:05 +02:00
Marcus Andersson
6a5794aa7a
adding missing named export. ( #23385 )
2020-04-07 11:33:11 +02:00
Alexander Zobnin
2af87b4c6c
Docs: remove azure and okta from generic oauth page ( #23359 )
2020-04-07 12:25:06 +03:00
Tobias Skarhed
21f55d1345
@grafana/ui docs: Input ( #23228 )
...
* Add prefix and suffix example
* Update doc
* Update packages/grafana-ui/src/components/Forms/Input/Input.mdx
Co-Authored-By: Dominik Prokop <dominik.prokop@grafana.com>
* Add light theme to be loaded for docs
* Add more docs
* Make Legacy stories internal
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2020-04-07 09:24:24 +02:00
Ryan McKinley
03e3ddcbdb
Plugins: add a bundle plugins folder ( #20850 )
2020-04-07 00:04:24 -07:00
Tobias Skarhed
553f50e4f5
Form migrations: Switch to LegacyForms namespace ( #23357 )
...
* Move Switch to Legacy namespace
* Make story internal
* Fix import
2020-04-07 08:50:54 +02:00
Marcus Andersson
d6b8aaa7b0
Transformers UI: Fixed import issue. ( #23382 )
2020-04-07 07:37:54 +02:00
Tobias Skarhed
6748ceae67
Update storybook.md ( #23374 )
2020-04-07 06:59:50 +02:00
Marcus Andersson
1f717f514a
TabelPanel: add support for organizing fields/columns. ( #23135 )
...
* Added draft on transformers to sort and hide fields.
* added structure for the UI.
* draft on sorting/filtering UI.
* simplified the datastructure a bit.
* added draft on drag and drop support.
* added some super simple styling. Nothing final still waiting for a proper design on this.
* updated lockfile after merge.
* changed so we use the new path for button.
* added one more test.
* Ignore feature toggle
* Moved editor to app
* Added top description
* Minor update
* Did some renaming and simplified the code a bit.
* fixed so we dont use capital naming on the transformer.
* changed to an vertical drag and drop design.
* added support to rename fields.
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2020-04-07 06:54:09 +02:00
Stephanie Closson
139753358d
Fixes for toolkit ( #23379 )
...
1. Typo in the default email address
2. Nested promises causing problems in some situations. Return a promise
and resolve in the outer function
3. If extension still have '.' in front remove it prior to matching.
2020-04-06 17:28:48 -06:00
Nathan Webster
7f13b446e4
Docs: Improve AzureAD documentation for allowed_groups ( #23326 )
2020-04-06 10:23:49 -07:00
Stephanie Closson
20d3a9a00e
Circle ci fixes automated build ( #23373 )
...
* Lessons learned from using circle-ci
1. Make it clearer that GITHUB_TOKEN or GITHUB_ACCESS_TOKEN
are required for a release. Don't build without them.
2. Default gracefully to an reasonable email address.
(It does not have to actually exist, but the api needs it to publish)
* template for testing
* Wrote a basic test.
* Simple test
* Slight fix to brackets
* Code review changes
* Fix for test. Setup environment properly
2020-04-06 10:22:53 -06:00
Dan Cech
2ecc7f22b9
delete old dashboard versions in multiple batches ( #23348 )
2020-04-06 11:44:14 -04:00
Erik Sundell
d94796a022
Auth: Remove trailing / in cookies' path ( #22265 ) ( #22265 )
...
According to the stackoverflow answer below, it is recommended to not
include a trailing / in cookies' path. By removing the trailing / for
our cookies path value, people's browsers visiting grafana will pass the
cookie not only to /grafana/ sub paths but also to /grafana sub paths.
This commit avoids the situation where a user would visit
http://localhost/grafana , get redirected to
http://localhost/grafana/login , and following login get redirected back
to http://localhost/grafana , but since the grafana_session cookie isn't
passed along get redirected back once more to
http://localhost/grafana/login .
ref: https://stackoverflow.com/questions/36131023/setting-a-slash-on-cookie-path/53784228#53784228
ref: https://tools.ietf.org/html/rfc6265#section-5.1.4
2020-04-06 17:56:19 +03:00
Peter Holmberg
2299e6bfef
TextArea: Combine style and classname ( #23367 )
2020-04-06 16:52:48 +02:00
Torkel Ödegaard
b10392733d
FieldConfig: Unify the custom and standard registry ( #23307 )
...
* FieldConfig: Unifying standard and custom registry
* Adding path to option items to make id be prefixed for custom options
* Code updates progress
* Add docs back
* Fix TS
* ld overrides tests from ui to data
* Refactor - rename
* Gauge and table cleanup
* F-I-X e2e
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2020-04-06 16:24:41 +02:00
Ryan McKinley
6347a1f1eb
VizPicker: show plugins that start with query text first ( #23355 )
...
* show plugins that start with queyr text first
* Memoize keyboard handler
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2020-04-06 15:06:41 +02:00
Vikky Omkar
97184c1750
Fix: Show organization popup in alphabetical order ( #22259 )
...
* Show organization popup in alphabetical order
* GetUserOrgList: Sort organizations by name in API
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-04-06 13:27:11 +02:00
Tobias Skarhed
f91c7a81ce
Forms migration: Move Input folders ( #23313 )
...
* Remove exports
* Move folders
* Fix errors
2020-04-06 11:20:22 +02:00
Agnès Toulet
56687a08f9
Core: use go-datemath in timerange utility ( #23120 )
...
* Core: use go-datemath in time_range
* Core: update timerange for negative epoch
* Core: update gtime component
* Core: clean up time_range tests
* Update pkg/components/gtime/gtime.go
Co-Authored-By: Arve Knudsen <arve.knudsen@gmail.com>
* Core: clean gtime tests
* components/gtime: Fix test
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-04-06 09:00:05 +02:00
Torkel Ödegaard
69bdcccd10
NewPanelEdit: Minor style tweaks & fix to transparent panels ( #23353 )
...
* NewPanelEdit: Minor style tweaks
* Fixed ts issue
* Tweaked breakpoint
2020-04-06 08:22:49 +02:00
Ryan McKinley
7ab11027b0
TemplateSrv: expose limited templateSrv in grafana/runtime ( #23339 )
2020-04-05 21:44:49 -07:00
Jesse Tan
c89ad9b038
TimeSrv: Try to parse 8 and 15 digit numbers as timestamps if parsing as date fails ( #21694 )
...
* Try to parse 8 and 15 digit numbers as timestamps if parsing as date fails
Fixes #19738
* Add tests
2020-04-06 06:19:14 +02:00
Torkel Ödegaard
2106f0afc6
Theme: Updates gf-form & form-field to better match new form styles ( #23345 )
...
* Theme: Updates old gf-form-styles
* Removed margin buttom
* updated
* updated
* This will take some time
* More style tweaks to both light and dark theme
* Minor change
* Tweaked table styles
2020-04-05 20:02:52 +02:00
Torkel Ödegaard
09bcdc1020
NewPanelEdit: Fixed missing react keys in list error
2020-04-05 15:21:53 +02:00
Ryan McKinley
3ec88a013f
NewPanelEdit: Move field defaults to own tab, and merge general and panel options to first options tab ( #23350 )
...
* use dropdown
* keep padding the same
* keep padding the same
* Refactoring and moving to components
* Updated
* Alt names
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2020-04-05 14:09:43 +02:00
Torkel Ödegaard
3fae28be52
FieldOverride: Fixed number override so that it return undefined for null/undefined values and not NaN ( #23344 )
...
* FieldOverride: Fixed number override so that it return undefined for null/undefined values and not NaN
* Made process function be able to return undefined an null
2020-04-05 06:52:33 +02:00
Marcus Andersson
dea91c1fd6
Panel: added possibility to group plugins in a panel according to a grid. ( #22028 )
...
* POC grid layout of gague.
* added a grid property that can be used to auto size the charts within a panel.
* fill the grid
* fix lint
* change default for stat panel
* avoid empty cells
* Moved to absolute positioning
* Fixed spacing
* Another fix
* Improve layout algorithm
* VizRepeater: Reverted back to so this is auto behavior for some panels
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2020-04-04 16:57:06 +02:00
Torkel Ödegaard
5ccefed7d7
NewPanelEditor: Tab rename and minor fix
2020-04-04 15:44:55 +02:00
Torkel Ödegaard
c4ba425d16
UX: Minor responsive improvement
2020-04-04 15:39:43 +02:00
Peter Holmberg
7e3b43eabb
Dashboard: Save json should preserve folderId ( #23314 )
2020-04-04 14:55:41 +02:00
Krzysztof Dąbrowski
44604cfa4f
Dashboad: Remove dashboard title check ( #23343 )
2020-04-04 14:49:59 +02:00
Torkel Ödegaard
ac0beb690b
NewPanelEditor: Update layout with a top bar, and panel bar ( #23336 )
...
* NewPanelEdit: Layout experiments
* Progress on new layout
* Fixed ts issue
2020-04-04 14:25:06 +02:00
Sebastian Brandt
6e56aeeaf5
Table: Fix Yoda-esque sentence in info popup ( #23324 )
...
I changed the semantics a bit so they fit into the "format first" thing
that seems to be going on there.
2020-04-04 11:15:20 +02:00
Volodymyr Sergeyev
9751a2a7ca
Fix 23056: fixed typo linewidth->lineWidth in Graph component ( #23341 )
2020-04-04 11:09:50 +02:00
Shavonn Brown
816b611eb9
Plugins docs ( #21826 )
...
* mostly minor edits while reading
* Update docs/sources/plugins/developing/development.md
* Update docs/sources/plugins/developing/apps.md
* Update docs/sources/plugins/developing/development.md
* Update docs/sources/plugins/developing/development.md
* Update docs/sources/plugins/developing/development.md
* Update docs/sources/plugins/developing/development.md
* Update docs/sources/plugins/developing/development.md
* notes updates
* Update docs/sources/plugins/developing/development.md
Co-Authored-By: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
* update to ref tutorials
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
2020-04-03 16:58:50 -04:00
Kirill Freiman
643735f590
tsconfig: set jsx
option to "react" ( #23335 )
...
Explicit setting of this option helps to vscode properly work with .tsx files (https://github.com/Microsoft/vscode/issues/15814 )
2020-04-03 13:48:41 -07:00
Ryan McKinley
a1157b1744
Inspector: remove feature flag and angular "Export CSV" menu option ( #23160 )
2020-04-03 11:24:50 -07:00
Ryan McKinley
6366e43a44
Chore: swap [value,time] order when converting to DataFrame ( #23206 )
2020-04-03 11:11:28 -07:00
Andrej Ocenas
e257536e88
Remove sidebar border ( #23325 )
2020-04-03 20:08:40 +02:00
Stephanie Closson
ad934a58d2
Handle unpublish by deprecating package ( #23310 )
...
* Handle unpublish by deprecating package
* Fixed tabs.
* fixed array iterate
* Fixed quoting problems
* various shellcheck fixes
2020-04-03 11:55:43 -06:00
Andrej Ocenas
7f6bb1c6e0
Tracing: Fix failing test ( #23332 )
2020-04-03 19:15:33 +02:00
Arve Knudsen
0fd6edab64
services/sqlstore: Order results in UserSearch by username/email ( #23328 )
...
* services/sqlstore: Order results in UserSearch by username/email
* Add index (login,email) on user table
2020-04-03 19:15:10 +02:00
Tobias Skarhed
b86789c66b
Docs: task template typo ( #23322 )
2020-04-03 17:19:01 +02:00
Dominik Prokop
b5af933183
Packages: make jaeger workspace package private ( #23329 )
2020-04-03 16:50:27 +02:00
Leonard Gram
a49d619874
Devenv: prom 1.7.6 ( #23321 )
2020-04-03 16:12:03 +02:00
Alex Khomenko
002ebc9cbb
Storybook: update docs for Layout ( #23288 )
...
* Storybook: expand layout docs
* Search: Ad align prop
* Search: Default align to normal
* Search: Expand docs
2020-04-03 14:13:54 +03:00
Arve Knudsen
5645d74cbc
Server: Exit with 0 if no error ( #23312 )
...
Make grafana-server exit with 0 if no error occurred.
2020-04-03 11:34:18 +02:00
Torkel Ödegaard
54ddaecea1
Table: Fixing scrolling draging the vertical handle ( #23311 )
...
* Table: Fixing scrolling draging the vertical handle
* updated snapshots
2020-04-03 10:21:15 +02:00