Commit Graph

44 Commits

Author SHA256 Message Date
Witek Bedyk
ec23dd53c4 Accepting request 926954 from home:witekbedyk:branches:server:monitoring
Revert patch file rename. Add patch as source to spec file.

OBS-URL: https://build.opensuse.org/request/show/926954
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/grafana?expand=0&rev=62
2021-10-22 14:27:20 +00:00
Witek Bedyk
507d1d28da Accepting request 926875 from home:witekbedyk:branches:server:monitoring
Autobuild scripts prevent block patches not mentioned in the spec file.
Trying to workaround this here.

OBS-URL: https://build.opensuse.org/request/show/926875
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/grafana?expand=0&rev=61
2021-10-22 10:57:36 +00:00
Witek Bedyk
a029c81581 Accepting request 922558 from home:witekbedyk:branches:server:monitoring
- Add patch 0001-Add-source-code-reference.patch
  * Add URL to package source code in the login page footer

OBS-URL: https://build.opensuse.org/request/show/922558
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/grafana?expand=0&rev=60
2021-10-08 10:18:59 +00:00
Stefano Torresi
3a6bc52d50 Accepting request 895357 from home:dmolkentin:infrarun
- Update to version 7.5.7:
  * Updated relref to "Configuring exemplars" section (#34240) (#34243)
  * Added exemplar topic (#34147) (#34226)
  * Quota: Do not count folders towards dashboard quota (#32519) (#34025)
  * Instructions to separate emails with semicolons (#32499) (#34138)
  * Docs: Remove documentation of v8 generic OAuth feature (#34018)
  * Annotations: Prevent orphaned annotation tags cleanup when no annotations were cleaned (#33957) (#33975)
  * [GH-33898] Add missing --no-cache to Dockerfile. (#33906) (#33935)
  * ReleaseNotes: Updated changelog and release notes for 7.5.6 (#33932) (#33936)
  * Stop hoisting @icons/material (#33922)
  * Chore: fix react-color version in yarn.lock (#33914)
  * "Release: Updated versions in package to 7.5.6" (#33909)
  * Loki: fix label browser crashing when + typed (#33900) (#33901)
  * Document `hide_version` flag (#33670) (#33881)
  * Add isolation level db configuration parameter (#33830) (#33878)
  * Sanitize PromLink button (#33874) (#33876)
  * Removed content as per MarcusE's suggestion in https://github.com/grafana/grafana/issues/33822. (#33870) (#33872)
  * Docs feedback: /administration/provisioning.md (#33804) (#33842)
  * Docs: delete from high availability docs references to removed configurations related to session storage (#33827) (#33851)
  * Docs: Update _index.md (#33797) (#33799)
  * Docs: Update installation.md (#33656) (#33703)
  * GraphNG: uPlot 1.6.9 (#33598) (#33612)
  * dont consider invalid email address a failed email (#33671) (#33681)
  * InfluxDB: Improve measurement-autocomplete behavior in query editor (#33494) (#33625)
  * add template for dashboard url parameters  (#33549) (#33588)
  * Add note to Snapshot API doc to specify that user has to provide the entire dashboard model  (#33572) (#33586)
  * Update team.md (#33454) (#33536)
  * Removed duplicate file "dashboard_folder_permissions.md (#33497)
  * Document customQueryParameters for prometheus datasource provisioning (#33440) (#33495)
  * ReleaseNotes: Updated changelog and release notes for 7.5.5 (#33473) (#33492)

OBS-URL: https://build.opensuse.org/request/show/895357
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/grafana?expand=0&rev=58
2021-05-28 07:40:20 +00:00
Lars Vogdt
1e5349b11c Accepting request 891162 from home:ecsos:monitoring
- Update to version 7.5.5:
  * "Release: Updated versions in package to 7.5.5" (#33469)
  * GraphNG: Fix exemplars window position (#33427) (#33462)
  * Remove field limitation from slack notification (#33113) (#33455)
  * Prometheus: Support POST in template variables (#33321) (#33441)
  * Instrumentation: Add success rate metrics for email notifications (#33359) (#33409)
  * Use either moment objects (for absolute times in the datepicker) or string (for relative time) (#33315) (#33406)
  * Docs: Removed type from find annotations example. (#33399) (#33403)
  * [v7.5.x]: FrontendMetrics: Adds new backend api that frontend can use to push frontend measurements and counters to prometheus (#33255)
  * Updated label for add panel. (#33285) (#33286)
  * Bug: Add git to Dockerfile.ubuntu (#33247) (#33248)
  * Docs: Sync latest master docs with 7.5.x (#33156)
  * Docs: Update getting-started-influxdb.md (#33234) (#33241)
  * Doc: Document the X-Grafana-Org-Id HTTP header (#32478) (#33239)
  * Minor Changes in Auditing.md (#31435) (#33238)
  * Docs: Add license check endpoint doc (#32987) (#33236)
  * Postgres: Fix time group macro when TimescaleDB is enabled and interval is less than a second (#33153) (#33219)
  * Docs: InfluxDB doc improvements (#32815) (#33185)
  * [v7.5.x] Loki: Pass Skip TLS Verify setting to alert queries (#33031)
  * update cla (#33181)
  * Fix inefficient regular expression (#33155) (#33159)
  * Auth: Don't clear auth token cookie when lookup token fails (#32999) (#33136)
  * Elasticsearch:  Add documentation for supported Elasticsearch query transformations (#33072) (#33128)
  * Update team.md (#33060) (#33084)
  * GE issue 1268 (#33049) (#33081)
  * Fixed some formatting issues for PRs from yesterday. (#33078) (#33079)
  * Explore: Load default data source in Explore when the provided source does not exist (#32992) (#33061)
  * Docs: Replace next with latest in aliases (#33054) (#33059)
  * Added missing link item. (#33052) (#33055)
  * Backport 33034 (#33038)
  * Docs: Backport 32916 to v7.5x  (#33008)
  * ReleaseNotes: Updated changelog and release notes for 7.5.4 (#32973) (#32998)
  * Elasticsearch: Force re-rendering of each editor row type change (#32993) (#32996)
  * Docs: Sync release branch with latest docs (#32986)

OBS-URL: https://build.opensuse.org/request/show/891162
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/grafana?expand=0&rev=56
2021-05-09 12:56:50 +00:00
Witek Bedyk
3dc0476040 Accepting request 885774 from home:ecsos:monitoring
- Update to version 7.5.4:

- Update to version 7.5.3:

- Update to version 7.4.5
  * Security: Fix API permissions issues related to team-sync CVE-2021-28146, CVE-2021-28147. (Enterprise)
  * Security: Usage insights requires signed in users CVE-2021-28148. (Enterprise)
  * Security: Do not allow editors to incorrectly bypass permissions on the default data source. CVE-2021-27962. (Enterprise)
- Drop patch add-gotest-module.patch
- Add patch drop-grafana-aws-sdk-0.3.0-module.patch

OBS-URL: https://build.opensuse.org/request/show/885774
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/grafana?expand=0&rev=54
2021-04-19 13:28:13 +00:00
Witek Bedyk
6b0443b68b Accepting request 874474 from home:tserong:branches:server:monitoring
Update to version 7.4.2

OBS-URL: https://build.opensuse.org/request/show/874474
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/grafana?expand=0&rev=52
2021-02-26 14:07:38 +00:00
Dirk Stoecker
1c85b61d33 Accepting request 860337 from home:dirkmueller:branches:server:monitoring
- Update to version 7.3.6:
  * fixes for saml vulnerability
  * [v7.3.x] Fix: Correct panel edit uistate migration (#29413) (#29711)
  * PanelEdit: Prevent the preview pane to be resized further than window height (#28370) (#29726)
  * Fix: Migrate Panel edit uiState percentage strings to number (#29412) (#29723)
  * "Release: Updated versions in package to 7.3.5" (#29710)
  * Chore: upgrading y18n to 4.0.1 for security reasons (#29523) (#29709)
  * Panel: making sure we support all versions of chrome when detecting position of click event. (#29544) (#29708)
  * PanelEdit: making sure the correct datasource query editor is being rendered. (#29500) (#29707)
  * [v7.3.x] Auth: Add SigV4 header allowlist to reduce chances of verification issues (#29705)
  * Alerting: Use correct time series name override from frame fields (#29693) (#29698)
  * CloudWatch: namespace in search expression should be quoted if match exact is enabled #29109 (#29563) (#29687)
  * Adds go dep used by an Enterprise feature.  (#29645) (#29690)
  * instrumentation: align label name with our other projects (#29514) (#29685)
  * Instrumentation: Add examplars for request histograms (#29357) (#29682)
  * Login: Fixes typo in tooltip (#29604) (#29606)
  * fixes bug with invalid handler name for metrics (#29529) (#29532)
  * AzureMonitor: Unit MilliSeconds naming (#29399) (#29526)
  * Alarting: fix alarm messages in dingding (Fixes #29470) (#29482) (#29527)
  * Bug: trace viewer doesn't show more than 300 spans (#29377) (#29504)
  * Prometheus: don't override displayName property (#29441) (#29488)
  * resolve conflicts (#29415)
  * Drone: Upgrade build pipeline tool (#29365) (#29368)
  * Drone: Upload artifacts for release branch builds (#29297) (#29364)
  * Drone: Execute artifact publishing for both editions in parallel during release (#29362) (#29363)
  * Drone: Publish NPM packages after Storybook to avoid race condition (#29340) (#29343)
  * Docs: Fix editor role and alert notification channel description (#29301) (#29337)
  * "Release: Updated versions in package to 7.3.4" (#29336)
  * Security: Fixes minor security issue with alert notification webhooks that allowed GET & DELETE requests #29330 (#29335)
  * Backport of InfluxDB: update flux library and support boolean label values #29333

OBS-URL: https://build.opensuse.org/request/show/860337
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/grafana?expand=0&rev=50
2021-01-21 15:08:15 +00:00
Witek Bedyk
39d918083a Accepting request 849448 from home:STorresi:containers
- Update packaging
  * avoid systemd and shadow hard requirements
  * Require the user from a new dedicated 'system-user-grafana' sibling package
  * avoid pinning to a specific Go version in the spec file

OBS-URL: https://build.opensuse.org/request/show/849448
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/grafana?expand=0&rev=48
2020-11-24 16:42:19 +00:00
Joao Cavalheiro
c2467c1e0d Accepting request 847517 from home:witekbedyk:branches:server:monitoring
Update to version 7.3.1

OBS-URL: https://build.opensuse.org/request/show/847517
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/grafana?expand=0&rev=47
2020-11-11 10:19:38 +00:00
Witek Bedyk
92199635ad Accepting request 835383 from home:jcavalheiro:branches:server:monitoring
Update to version 7.1.5

OBS-URL: https://build.opensuse.org/request/show/835383
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/grafana?expand=0&rev=45
2020-09-18 11:07:38 +00:00
Witek Bedyk
311cad74f8 Accepting request 811894 from home:jcavalheiro:monitoring
Update to 7.0.3 - Fix CVE-2020-13379

OBS-URL: https://build.opensuse.org/request/show/811894
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/grafana?expand=0&rev=43
2020-06-08 08:01:19 +00:00
Lars Vogdt
5843cd47b1 Accepting request 810636 from home:jcavalheiro:monitoring
Update to v7.0.1

OBS-URL: https://build.opensuse.org/request/show/810636
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/grafana?expand=0&rev=41
2020-06-03 23:19:01 +00:00
Witek Bedyk
f4cc777309 Accepting request 805824 from home:SchoolGuy:branches:server:monitoring
Docs about patching the JS frontend

OBS-URL: https://build.opensuse.org/request/show/805824
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/grafana?expand=0&rev=39
2020-05-19 07:37:55 +00:00
Witek Bedyk
d4995336ec Accepting request 800445 from home:jfkw:branches:server:monitoring
- BuildRequires golang(API) instead of go metapackage version range
  * BuildRequires:  golang(API) >= 1.14   from
    BuildRequires:  ( go >= 1.14 with go < 1.15 )

OBS-URL: https://build.opensuse.org/request/show/800445
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/grafana?expand=0&rev=37
2020-05-07 14:05:18 +00:00
Joao Cavalheiro
1226120e94 Fix changelog entry ordering
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/grafana?expand=0&rev=35
2020-04-30 16:17:59 +00:00
Joao Cavalheiro
9423e897a5 Accepting request 799304 from home:SchoolGuy:branches:server:monitoring
- This version fixes bsc#1170557 and its corresponding CVE-2020-12245
- Update to version 6.7.3
  - Admin: Fix Synced via LDAP message for non-LDAP external users. #23477, @alexanderzobnin
  - Alerting: Fixes notifications for alerts with empty message in Google Hangouts notifier. #23559, @hugohaggmark
  - AuthProxy: Fixes bug where long username could not be cached.. #22926, @jcmcken
  - Dashboard: Fix saving dashboard when editing raw dashboard JSON model. #23314, @peterholmberg
  - Dashboard: Try to parse 8 and 15 digit numbers as timestamps if parsing of time range as date fails. #21694, @jessetan
  - DashboardListPanel: Fixed problem with empty panel after going into edit mode (General folder filter being automatically added) . #23426, @torkelo
  - Data source: Handle datasource withCredentials option properly. #23380, @hvtuananh
  - Security: Fix annotation popup XSS vulnerability. #23813, @torkelo
  - Server: Exit Grafana with status code 0 if no error. #23312, @aknuds1
  - TablePanel: Fix XSS issue in header column rename (backport). #23814, @torkelo
  - Variables: Fixes error when setting adhoc variable values. #23580, @hugohaggmark
- Update to version 6.7.2:
  (see installed changelog for the full list of changes)
  -  BackendSrv: Adds config to response to fix issue for external plugins that used this property . #23032, @torkelo
  -  Dashboard: Fixed issue with saving new dashboard after changing title . #23104, @dprokop
  -  DataLinks: make sure we use the correct datapoint when dataset contains null value.. #22981, @mckn
  -  Plugins: Fixed issue for plugins that imported dateMath util . #23069, @mckn
  -  Security: Fix for dashboard snapshot original dashboard link could contain XSS vulnerability in url. #23254, @torkelo
  -  Variables: Fixes issue with too many queries being issued for nested template variables after value change. #23220, @torkelo
  -  Plugins: Expose promiseToDigest. #23249, @torkelo
  -  Reporting (Enterprise): Fixes issue updating a report created by someone else

OBS-URL: https://build.opensuse.org/request/show/799304
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/grafana?expand=0&rev=34
2020-04-30 16:15:02 +00:00
Witek Bedyk
ab49137a00 Accepting request 788215 from home:ojkastl_buildservice:Branch_grafana
update to 6.7.1 (now including changelog from 6.7.0-beta1

OBS-URL: https://build.opensuse.org/request/show/788215
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/grafana?expand=0&rev=32
2020-03-26 14:41:29 +00:00
Witek Bedyk
19ad1a3209 Accepting request 786027 from home:ojkastl_buildservice:Branch_grafana
update to 6.6.2; use go_modules service to provide dependencies in vendor.tar.gz; BuildRequires go1.14 to build successfully; adjust Makefile and README to current requirements for 6.6.2 (npm12, not npm10);adjust Makefile to fully work with new file names

OBS-URL: https://build.opensuse.org/request/show/786027
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/grafana?expand=0&rev=30
2020-03-19 08:58:44 +00:00
Joao Cavalheiro
89794e01f3 Accepting request 753312 from home:witekbedyk:branches:server:monitoring
- Revert the spec file and make script
- Remove PhantomJS dependency

OBS-URL: https://build.opensuse.org/request/show/753312
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/grafana?expand=0&rev=28
2019-12-05 15:43:17 +00:00
Lars Vogdt
a647090d27 Accepting request 740994 from home:ecsos:monitoring
Update to 6.4.3.
Rebase grafana.spec. See grafana.changes.

OBS-URL: https://build.opensuse.org/request/show/740994
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/grafana?expand=0&rev=27
2019-10-27 13:49:03 +00:00
Jan Fajerski
f2c60d0f61 Accepting request 729657 from home:simoncrute:branches:server:monitoring
Version bump to 6.3.5
Tweaks to the changelog.

OBS-URL: https://build.opensuse.org/request/show/729657
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/grafana?expand=0&rev=25
2019-09-10 07:49:45 +00:00
Jan Fajerski
9b9a76b8c3 Accepting request 724599 from home:jcavalheiro:monitoring
Fix changelog

OBS-URL: https://build.opensuse.org/request/show/724599
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/grafana?expand=0&rev=23
2019-08-19 14:49:21 +00:00
Joao Cavalheiro
0997149779 Accepting request 724543 from home:simoncrute:branches:server:monitoring
Version update to 6.3.3
grafana.changes taken from release notes now. (https://github.com/grafana/grafana/releases)

OBS-URL: https://build.opensuse.org/request/show/724543
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/grafana?expand=0&rev=22
2019-08-19 13:08:08 +00:00
Lars Vogdt
5e0f5eab11 Accepting request 719831 from home:oertel:branches:server:monitoring
- make phantomjs dependency configurable

OBS-URL: https://build.opensuse.org/request/show/719831
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/grafana?expand=0&rev=20
2019-08-08 14:15:00 +00:00
Dominique Leuenberger
11f336e1e7 Accepting request 714594 from server:monitoring
- spec file change:
  * alter permissions of /etc/grafana and /var/lib/grafana to 755
  * alter owner of /etc/grafana/provisioning/dashboards tree to root:root
  * this allows installing dashboards via rpms without these rpms depending on this rpm
- Update to version 6.2.5:
  * release 6.2.5
  * Panel: Fully escape html in drilldown links (was only sanitized before)  (#17731)
  * Grafana-CLI: Wrapper for `grafana-cli` within RPM/DEB packages and config/homepath are now global flags (#17695)
  * config: fix connstr for remote_cache (#17675)
  * TablePanel: fix annotations display (#17646)
  * middleware: fix Strict-Transport-Security header (#17644)
  * Elasticsearch: Fix empty query request to send properly (#17488)
  * release 6.2.4
  * grafana-cli: Fix receiving flags via command line (#17617)
  * HTTPServer: Fix X-XSS-Protection header formatting (#17620)
  * release 6.2.3
  * cli: grafana-cli should receive flags from the command line (#17606)
  * AuthProxy: Optimistic lock pattern for remote cache Set (#17485)
  * OAuth: Fix for wrong user token updated on OAuth refresh in DS proxy (#17541)
  *  middleware: add security related HTTP(S) response headers (#17522)
  * remote_cache: Fix redis (#17483)
  * auth_proxy: non-negative cache TTL (#17495)
- Update to version 6.2.2:
  * Security Fix: Prevent csv formula injection attack
  * PluginConfig: Fixed plugin config page navigation when using subpath
  * Explore: Update time range before running queries
  * Perf: Fix slow dashboards ACL query
  * Database: Initialize xorm with an empty schema for postgres
  * CloudWatch: Avoid exception while accessing results
- Remove phantomjs dependency
  * Modified: Makefile
- Update to version 6.2.1
  * Bug Fixes
    + Auth Proxy: Resolve database is locked errors.
    + Database: Retry transaction if sqlite returns database is locked error.
    + Explore: Fixes so clicking in a Prometheus Table the query is filtered by clicked value.
    + Singlestat: Fixes issue with value placement and line wraps.
    + Tech: Update jQuery to 3.4.1 to fix issue on iOS 10 based browers as well as Chrome 53.x.
  * Features / Enhancements
    + CLI: Add command to migrate all datasources to use encrypted password fields.
    + Gauge/BarGauge: Improvements to auto value font size.
  * Modified: README
- Update to version 6.2.0
  * Bug Fixes
    + BarGauge: Fix for negative min values.
    + Gauge/BarGauge: Fix for issues editing min & max options.
    + Search: Make only folder name only open search with current folder filter.
    + AzureMonitor: Revert to clearing chained dropdowns.
    + Dashboard: Fixes blank dashboard after window resize with panel without title.
    + Dashboard: Fixes lazy loading & expanding collapsed rows on mobile.
    + Dashboard: Fixes scrolling issues for Edge browser.
    + Dashboard: Show refresh button in first kiosk(tv) mode.
    + Explore: Fix empty result from datasource should render logs container.
    + Explore: Fixes so clicking in a Prometheus Table the query is filtered by clicked value.
    + Explore: Makes it possible to zoom in Explore/Loki/Graph without exception.
    + Gauge: Fixes orientation issue after switching from BarGauge to Gauge.
    + GettingStarted: Fixes layout issues in getting started panel.
    + InfluxDB: Fix HTTP method should default to GET.
    + Panels: Fixed alert icon position in panel header.
    + Panels: Fixes panel error tooltip not showing.
    + Plugins: Fix how datemath utils are exposed to plugins.
    + Singlestat: fixed centering issue for very small panels.
    + Search: Scroll issue in dashboard search in latest Chrome.
    + Docker: Prevent a permission denied error when writing files to the default provisioning directory.
    + Gauge: Adds background shade to gauge track and improves height usage.
    + RemoteCache: Avoid race condition in Set causing error on insert. .
    + Build: Fix bug where grafana didn't start after mysql on rpm packages.
    + CloudWatch: Fixes query order not affecting series ordering & color.
    + CloudWatch: Use default alias if there is no alias for metrics.
    + Config: Fixes bug where timeouts for alerting was not parsed correctly.
    + Elasticsearch: Fix view percentiles metric in table without date histogram.
    + Explore: Prevents histogram loading from killing Prometheus instance.
    + Graph: Allow override decimals to fully override.
    + Mixed Datasource: Fix error when one query is disabled.
    + Search: Fixes search limits and adds a page parameter.
    + Security: Responses from backend should not be cached.
  * Breaking Changes
    + Plugins: Data source plugins that process hidden queries need to add a "hiddenQueries: true" attribute in plugin.json.
    + Gauge Panel: The suffix / prefix options have been removed from the new Gauge Panel (introduced in v6.0). #16870.
  * Features / Enhancements
    + Plugins: Support templated urls in plugin routes.
    + Packaging: New MSI windows installer package**.
    + Admin: Add more stats about roles.
    + Alert list panel: Support variables in filters.
    + Alerting: Adjust label for send on all alerts to default .
    + Alerting: Makes timeouts and retries configurable.
    + Alerting: No notification when going from no data to pending.
    + Alerting: Pushover alert, support for different sound for OK.
    + Auth: Enable retries and transaction for some db calls for auth tokens .
    + AzureMonitor: Adds support for multiple subscriptions per datasource.
    + Bar Gauge: New multi series enabled gauge like panel with horizontal and vertical layouts and 3 display modes.
    + Build: Upgrades to golang 1.12.4.
    + CloudWatch: Update AWS/IoT metric and dimensions.
    + Config: Show user-friendly error message instead of stack trace.
    + Dashboard: Enable filtering dashboards in search by current folder.
    + Dashboard: Lazy load out of view panels .
    + DataProxy: Restore Set-Cookie header after proxy request.
    + Datasources: Add pattern validation for time input on datasource config pages.
    + Elasticsearch: Add 7.x version support.
    + Explore: Adds reconnect for failing datasource.
    + Explore: Support user timezone.
    + InfluxDB: Add support for POST HTTP verb.
    + Loki: Search is now case insensitive.
    + OAuth: Update jwt regexp to include =.
    + Panels: No title will no longer make panel header take up space.
    + Prometheus: Adds tracing headers for Prometheus datasource.
    + Provisioning: Add API endpoint to reload provisioning configs.
    + Provisioning: Do not allow deletion of provisioned dashboards.
    + Provisioning: Interpolate env vars in provisioning files.
    + Security: Add new setting allow_embedding.
    + Security: Store datasource passwords encrypted in secureJsonData.
    + UX: Improve Grafana usage for smaller screens.
    + Units: Add angle units, Arc Minutes and Seconds.
- Update to version 6.1.6
  * Security: Bump jQuery to 3.4.0
  * Playlist: Fix loading dashboards by tag.
- Update to version 6.0.2:
  * Fixed issue with alert links in alert list panel causing panel not found errors, fixes #15680
  * Improved error handling when rendering dashboard panels, fixes #15913
  * fix allow anonymous server bind for ldap search
  * add nil/length check when delete old login attempts
  * fix discord notifier so it doesn't crash when there are no image generated
  * fix only users that can edit a dashboard should be able to update panel json
  * move to new component to handle focus
  * added state to not set focus on search every render
  * Snapshots update
  * Use app config directly in ButtonRow instead of passing datasources page URL via prop
  * Update snapshots
  * Fixed url of back button in datasource edit page, when root_url configured
  * release: Bumped version
- Update to version 6.0.1:
  * Bug Fixes:
    + utils: show string errors
    + Viewers with viewers_can_edit should be able to access /explore
    +  log phantomjs output even if it timeout and include orgId when render alert
- Update to version 6.0.0:
  * Breaking Changes:
    + Text Panel: The text panel does no longer by default allow unsantizied
    HTML. This means that if you have text panels with scripts tags they will no
    longer work as before. To enable unsafe javascript execution in text panels
    enable the settings disable_sanitize_html under the section [panels] in your
    Grafana ini file, or set env variable GF_PANELS_DISABLE_SANITIZE_HTML=true.
    + Dashboard: Panel property minSpan replaced by maxPerRow. Dashboard
    migration will automatically migrate all dashboard panels using the minSpan
    property to the new maxPerRow property
    + Internal Metrics Edition has been added to the build_info metric. This will break any Graphite queries using this metric. Edition will be a new label for the Prometheus metric.
  * New Features:
    + Alerting: Adds support for Google Hangouts Chat notifications
    + Elasticsearch: Support bucket script pipeline aggregations
    + Influxdb: Add support for time zone (tz) clause
    + Snapshots: Enable deletion of public snapshot
    + Provisioning: Provisioning support for alert notifiers
    + Explore: A whole new way to do ad-hoc metric queries and exploration. Split view in half and compare metrics & logs and much much more. Read more here
    + Auth: Replace remember me cookie solution for Grafana's builtin, LDAP and OAuth authentication with a solution based on short-lived tokens
    + AzureMonitor: Enable alerting by converting Azure Monitor API to Go
    + Explore A new query focused workflow for ad-hoc data exploration and troubleshooting.
    + Grafana Loki Integration with the new open source log aggregation system from Grafana Labs.
    + Gauge Panel A new standalone panel for gauges.
    + New Panel Editor UX improves panel editing and enables easy switching between different visualizations.
    + Google Stackdriver Datasource is out of beta and is officially released.
    + React Plugin support enables an easier way to build plugins.
    + Named Colors in our new improved color picker.
    + Removal of user session storage makes Grafana easier to deploy & improves security.
  * Bug Fixes:
    + Metrics: Fixes broken usagestats metrics for /metrics
    + Dashboard: Fixes kiosk mode should have &kiosk appended to the url
    + Dashboard: Fixes kiosk=tv mode with autofitpanels should respect header
    + Image rendering: Fixed image rendering issue for dashboards with auto refresh,
    + Dashboard: Fix only users that can edit a dashboard should be able to update panel json.
    + LDAP: fix allow anonymous initial bind for ldap search.
    + UX: Fixed scrollbar not visible initially (only after manual scroll).
    + Datasource admin TestData
    + Dashboard: Fixed scrolling issue that caused scroll to be locked to bottom.
    + Explore: Viewers with viewers_can_edit should be able to access /explore.
    + Security fix: limit access to org admin and alerting pages.
    + Panel Edit minInterval changes did not persist
    + Teams: Fixed bug when getting teams for user.
    + Stackdriver: fix for float64 bounds for distribution metrics
    + Stackdriver: no reducers available for distribution type
    + Influxdb: Add support for alerting on InfluxDB queries that use the non_negative_difference function
    + Alerting: Fix percent_diff calculation when points are nulls
    + Alerting: Fixed handling of alert urls with true flags
    + Gauge: Fix issue with gauge requests being cancelled
    + Gauge: Accept decimal inputs for thresholds
    + UI: Fix error caused by named colors that are not part of named colors palette
    + Search: Bug pressing special regexp chars in input fields
    + Permissions: No need to have edit permissions to be able to "Save as"
    + Search: Fix for issue with scrolling the "tags filter" dropdown
    + Prometheus: Query for annotation always uses 60s step regardless of dashboard range
    + Annotations: Fix creating annotation when graph panel has no data points position the popup outside viewport
    + Piechart/Flot: Fixes multiple piechart instances with donut bug
    + plus many minor changes and fixes
- Update to version 5.4.3:
  * Fixes:
    + Alerting Invalid frequency causes division by zero in alert scheduler
    + Dashboard Dashboard links do not update when time range changes
    + Limits Support more than 1000 datasources per org
    + Backend fix signed in user for orgId=0 result should return active org id
    + Provisioning Adds orgId to user dto for provisioned dashboards
- Update to version 5.4.2:
  * Fixes:
    + Datasource admin: Fix for issue creating new data source when same name exists
    + OAuth: Fix for oauth auto login setting, can now be set using env variable
    + Dashboard search: Fix for searching tags in tags filter dropdown.
- Update to version 5.4.1:
  * Fixes:
    + Stackdriver: Fixes issue with data proxy and Authorization header
    + Units: fixedUnit for Flow:l/min and mL/min
    + Logging: Fix for issue where data proxy logged a secret when debug logging was enabled, now redacted.
    + InfluxDB: Add support for alerting on InfluxDB queries that use the cumulative_sum function.
    + Plugins: Panel plugins should no receive the panel-initialized event again as usual.
    + Embedded Graphs: Iframe graph panels should now work as usual.
    + Postgres: Improve PostgreSQL Query Editor if using different Schemas,
    + Quotas: Fixed for updating org & user quotas.
    + Cloudwatch: Add the AWS/SES Cloudwatch metrics of BounceRate and ComplaintRate to auto complete list.
    + Dashboard Search: Fixed filtering by tag issues.
    + Graph: Fixed time region issues,
    + Graph: Fixed issue with series color picker popover being placed outside window.
- Update to version 5.4.0:
  * Breaking Changes:
    + Postgres/MySQL/MSSQL datasources now per default uses max open connections = unlimited (earlier 10), max idle connections = 2 (earlier 10) and connection max lifetime = 4 hours (earlier unlimited).
  * Features:
    + Alerting: Introduce alert debouncing with the FOR setting.
    + Alerting: Option to disable OK alert notifications
    + Postgres/MySQL/MSSQL: Adds support for configuration of max open/idle connections and connection max lifetime. Also, panels with multiple SQL queries will now be executed concurrently
    + MySQL: Graphical query builder
    + MySQL: Support connecting thru Unix socket for MySQL datasource
    + MSSQL: Add encrypt setting to allow configuration of how data sent between client and server are encrypted
    + Stackdriver: Not possible to authenticate using GCE metadata server
    + Teams: Team preferences (theme, home dashboard, timezone) support
    + Graph: Time regions support enabling highlight of weekdays and/or certain timespans
    + OAuth: Automatic redirect to sign-in with OAuth
    + Stackdriver: Template query editor
  * Fixes:
    + Cloudwatch: Fix invalid time range causes segmentation fault
    + Cloudwatch: AWS/CodeBuild metrics and dimensions
    + MySQL: Fix $__timeFrom() and $__timeTo() should respect local time zone
    + Graph: Fix legend always visible even if configured to be hidden
    + Elasticsearch: Fix regression when using datasource version 6.0+ and alerting
- Update to version 5.3.4:
  * minor bug fixes
- Update to version 5.3.3 (CVE-2018-19039, bsc#1115960) :
  * File Exfiltration vulnerability Security fix
- Provide default dashboard provider from upstream
- Update to version 5.3.2
  * InfluxDB/Graphite/Postgres: Prevent cross site scripting (XSS) in query editor
  * Postgres: Fix template variables error
  * Cloudwatch: Fix service panic because of race conditions
  * Cloudwatch: Fix check for invalid percentile statistics
  * Stackdriver/Cloudwatch: Allow user to change unit in graph panel if cloudwatch/stackdriver datasource response doesn't include unit
  * Stackdriver: stackdriver user-metrics duplicated response when multiple resource types
  * Variables: Fix text box template variable doesn't work properly without a default value
  * Variables: Fix variable dependency check when using ${var} format
  * Dashboard: Fix kiosk=1 url parameter should put dashboard in kiosk mode
  * LDAP: Fix super admins can also be admins of orgs
  * Provisioning: Fix deleting provisioned dashboard folder should cleanup provisioning meta data
  * Docker: adds curl back into the docker image for utility
- Update to version 5.3.1
  * Render: Fix PhantomJS render of graph panel when legend displayed as table to the right
  * Stackdriver: Filter option disappears after removing initial filter
  * Elasticsearch: Fix no limit size in terms aggregation for alerting queries
  * InfluxDB: Fix for annotation issue that caused text to be shown twice
  * Variables: Fix nesting variables leads to exception and missing refresh
  * Variables: Prometheus: Single letter labels are not supported
  * Graph: Fix graph time formatting for Last 24h ranges
  * Playlist: Fix cannot add dashboards with long names to playlist
  * HTTP API: Fix /api/org/users so that query and limit querystrings works
- Update to version 5.3.0
  * Stackdriver: Filter wildcards and regex matching are not yet supported
  * Stackdriver: Support the distribution metric type for heatmaps
  * Cloudwatch: Automatically set graph yaxis unit
- Update to version 5.3.0-beta3
  * Stackdriver: Fix for missing ngInject
  * Permissions: Fix for broken permissions selector
  * Alerting: Alert reminders deduping not working as expected when running multiple Grafana instances
- Update to version 5.3.0-beta2
  + New Features
    * Annotations: Enable template variables in tagged annotations queries
    * Stackdriver: Support for Google Stackdriver Datasource
  + Minor
    * Provisioning: Dashboard Provisioning now support symlinks that changes target
    * OAuth: Allow oauth email attribute name to be configurable
    * Tags: Default sort order for GetDashboardTags
    * Prometheus: Label completion queries respect dashboard time range
    * Prometheus: Allow to display annotations based on Prometheus series value
    * Prometheus: Adhoc-filtering for Prometheus dashboards
    * Singlestat: Fix gauge display accuracy for percents
    * Dashboard: Prevent auto refresh from starting when loading dashboard with absolute time range
    * Templating: New templating variable type Text box that allows free text input
    * Alerting: Link to view full size image in Microsoft Teams alert notifier
    * Alerting: Fixes a bug where all alerts would send reminders after upgrade & restart
    * Alerting: Concurrent render limit for graphs used in notifications
    * Postgres/MySQL/MSSQL: Add support for replacing $__interval and  $__interval_ms in alert queries
- Update to version 5.3.0-beta1
  + New Major Features
    * Alerting: Notification reminders
    * Dashboard: TV & Kiosk mode changes, new cycle view mode button in dashboard toolbar
    * OAuth: Gitlab OAuth with support for filter by groups
    * Postgres: Graphical query builder
  + New Features
    * LDAP: Define Grafana Admin permission in ldap group mappings, PR
    * LDAP: Client certificates support
    * Profile: List teams that the user is member of in current/active organization
    * Configuration: Allow auto-assigning users to specific organization (other than Main. Org) and
    * Dataproxy: Pass configured/auth headers to a Datasource
    * CloudWatch: GetMetricData support
    * Postgres: TimescaleDB support, e.g. use time_bucket for grouping by time when option enabled
    * Cleanup: Make temp file time to live configurable
  + Minor
    * Alerting: Its now possible to configure the default value for how to handle errors and no data in alerting
    * Alerting: Fix diff and percent_diff reducers
    * Alerting: Fix rendering timeout which could cause notifications to not be sent due to rendering timing out
    * Docker: Make it possible to set a specific plugin url
    * GrafanaCli: Fixed issue with grafana-cli install plugin resulting in corrupt http response from source error
    * Provisioning: Should allow one default datasource per organisation
    * Github OAuth: Allow changes of user info at Github to be synched to Grafana when signing in
    * OAuth: Fix overriding tls_skip_verify_insecure using environment variable
    * Prometheus: Fix graph panel bar width issue in aligned prometheus queries
    * Prometheus: Heatmap - fix unhandled error when some points are missing
    * Prometheus: Add $__interval, $__interval_ms, $__range, $__range_s & $__range_ms support for dashboard and template queries
    * Elasticsearch: For alerting/backend, support having index name to the right of pattern in index pattern
    * Graphite: Fix for quoting of int function parameters (when using variables)
    * InfluxDB: Support timeFilter in query templating for InfluxDB
    * Postgres/MySQL/MSSQL: New $__unixEpochGroup and $__unixEpochGroupAlias macros
    * Postgres/MySQL/MSSQL: Add previous fill mode to $__timeGroup macro which will fill in previously seen value when point is missing
    * Postgres/MySQL/MSSQL: Use floor rounding in $__timeGroup macro function
    * Postgres/MySQL/MSSQL: Use metric column as prefix when returning multiple value columns
    * Postgres/MySQL/MSSQL: New $__timeGroupAlias macro. Postgres $__timeGroup no longer automatically adds time column alias
    * Postgres/MySQL/MSSQL: Escape single quotes in variables
    * Postgres/MySQL/MSSQL: Min time interval support
    * MySQL/MSSQL: Use datetime format instead of epoch for $__timeFilter, $__timeFrom and $__timeTo macros
    * Postgres: Escape ssl mode parameter in connectionstring
    * Cloudwatch: Improved error handling
    * Cloudwatch: AppSync metrics and dimensions
    * Cloudwatch: Direct Connect metrics and dimensions
    * Cloudwatch: Added BurstBalance metric to list of AWS RDS metrics
    * Cloudwatch: Add new Redshift metrics and dimensions
    * Dashboard: Fix selecting current dashboard from search should not reload dashboard
    * Dashboard: Use uid when linking to dashboards internally in a dashboard
    * Graph: Option to hide series from tooltip
    * Singlestat: Make colorization of prefix and postfix optional in singlestat
    * Table: Adjust header contrast for the light theme
    * Table: Fix link color when using light theme and thresholds in use
    * Table: Fix for useless horizontal scrollbar for table panel
    * Table: Make table sorting stable when null values exist
    * Heatmap: Fix broken tooltip and crosshair on Firefox
    * Datasource: Fix UI issue with secret fields after updating datasource
    * Variables: Skip unneeded extra query request when de-selecting variable values used for repeated panels
    * Variables: Limit amount of queries executed when updating variable that other variable(s) are dependent on
    * Variables: Support query variable refresh when another variable referenced in Regex field change its value
    * Variables: Support variables in query variable Custom all value field
    * Units: Change units to include characters for power of 2 and 3
    * Units: Polish złoty currency
    * Units: Adds bitcoin axes unit
    * Api: Delete nonexistent datasource should return 404
    * Logging: Reopen log files after receiving a SIGHUP signal
    * Login: Show loading animation while waiting for authentication response on login
    * UI: Fix iOS home screen "app" icon and Windows 10 app experience
    * Plugins: Convert URL-like text to links in plugins readme
    + Breaking changes
    * Postgres datasource no longer automatically adds time column alias when using the $__timeGroup alias. However, there's code in place which should make this change backward compatible and shouldn't create any issues
    * Kiosk mode now also hides submenu (variables)
    * ?inactive url parameter no longer supported, replaced with kiosk=tv url parameter
  + New experimental features
    * Dashboard: Auto fit dashboard panels to optimize space used for current TV / Monitor
  + Tech
    * Frontend: Convert all Frontend Karma tests to Jest tests
    * Backend: Upgrade to golang 1.11
- Update to version 5.2.4
  * GrafanaCli: Fixed issue with grafana-cli install plugin resulting in corrupt http response from source error
- Update to version 5.2.3
  * Important fix for LDAP & OAuth login vulnerability
- Update to version 5.2.2
  * Prometheus: Fix graph panel bar width issue in aligned prometheus queries
  * Dashboard: Dashboard links not updated when changing variables
  * Postgres/MySQL/MSSQL: Fix connection leak
  * Plugins: Fix loading of external plugins
  * Dashboard: Remove unwanted scrollbars in embedded panels
  * Prometheus: Prevent error using $__interval_ms in query
- Update to version 5.2.1
  * Auth Proxy: Important security fix for whitelist of IP address feature
  * UI: Fix - Grafana footer overlapping page
  * Logging: Errors should be reported before crashing
- Update to version 5.2.0-stable
  * Plugins: Handle errors correctly when loading datasource plugin thx
  * Render: Enhance error message if phantomjs executable is not found
  * Dashboard: Set correct text in drop down when variable is present in url
  * LDAP: Handle "dn" ldap attribute more gracefully
- Update to version 5.2.0-beta3
  * Build: All rpm packages should be signed
- Update to version 5.2.0-beta2
  + New Features
    * Dashboard: Import dashboard to folder
  + Minor
    * Permissions: Important security fix for API keys with viewer role
    * Dashboard: Fix so panel titles doesn't wrap
    * Dashboard: Prevent double-click when saving dashboard
    * Dashboard: AutoFocus the add-panel search filter thx
    * Units: W/m2 (energy), l/h (flow) and kPa (pressure)
    * Units: Litre/min (flow) and milliLitre/min (flow)
    * Alerting: Fix mobile notifications for Microsoft Teams alert notifier
    * Influxdb: Add support for mode function
    * Cloudwatch: Fixes panic caused by bad timerange settings
    * Auth Proxy: Whitelist proxy IP address instead of client IP address
    * User Management: Make sure that a user always has a current org assigned
    * Snapshots: Fix: annotations not properly extracted leading to incorrect rendering of annotations
    * LDAP: Allow use of DN in group_search_filter_user_attribute and member_of
    * Graph: Fix legend decimals precision calculation
    * Dashboard: Make sure to process panels in collapsed rows when exporting dashboard
    * Dashboard: Dashboard link doesn't work when "As dropdown" option is checked
    * Dashboard: Fix regressions after save modal changes, including adhoc template issues
    * Docker: Config keys ending with _FILE are not respected
- Update to version 5.2.0-beta1
  + New Features
    * Elasticsearch: Alerting support
    * Build: Crosscompile and packages Grafana on arm, windows, linux and darwin
    * Login: Change admin password after first login
    * Alert list panel: Updated to support filtering alerts by name, dashboard title, folder, tags
  + Minor
    * Dashboard: Modified time range and variables are now not saved by default
    * Graph: Show invisible highest value bucket in histogram
    * Dashboard: Enable "Save As..." if user has edit permission
    * Prometheus: Query dates are now step-aligned
    * Prometheus: Table columns order now changes when rearrange queries
    * Variables: Fix variable interpolation when using multiple formatting types
    * Dashboard: Fix date selector styling for dark/light theme in time picker control
    * Discord: Alert notification channel type for Discord
    * InfluxDB: Support SELECT queries in templating query
    * InfluxDB: Support count distinct aggregation
    * Dashboard: JSON Model under dashboard settings can now be updated & changes saved
    * Security: Fix XSS vulnerabilities in dashboard links
    * Singlestat: Fix "time of last point" shows local time when dashboard timezone set to UTC
    * Prometheus: Add support for passing timeout parameter to Prometheus
    * Login: Add optional option sign out url for generic oauth
    * Login: Use proxy server from environment variable if available
    * Invite users: Friendlier error message when smtp is not configured
    * Graphite: Don't send distributed tracing headers when using direct/browser access mode
    * Sidenav: Show create dashboard link for viewers if at least editor in one folder
    * SQL: Second epochs are now correctly converted to ms
    * Singlestat: Fix singlestat threshold tooltip
    * Dashboard: Hide grid controls in fullscreen/low-activity views
    * Dashboard: Validate uid when importing dashboards
    * Docker: Support for env variables ending with _FILE
    * Alert list panel: Show alerts for user with viewer role
    * Provisioning: Verify checksum of dashboards before updating to reduce load on database
    * Provisioning: Support symlinked files in dashboard provisioning config files
    * Dashboard list panel: Search dashboards by folder
    * Sidenav: Always show server admin link in sidenav if grafana admin
- Update to version 5.1.5
  * Docker: Config keys ending with _FILE are not respected
- Update to version 5.1.4
  * Permissions: Important security fix for API keys with viewer role
- Update to version 5.1.3:
  * Heatmap support for Prometheus
  * Align Zero-Line for Right and Left Y-axes
  * allow setting the database
  * MSSQL Data Source
  * support multiple histogram series
  * support cloudwatch high resolution query
  * Added radiation units
  * Modify Grafana Pagerduty notifier to use Pagerduty API V2
  * prometheus editor: variable autocomplete support
  * Use net.SplitHostPort to support IPv6
  * See /usr/share/doc/packages/grafana/CHANGELOG.md for more details
- remove unknown build flag -s
- fix build for older distributions
- Remove marketing wording from description.
- add user and group according to packaging guidelines
- add README and Makefile as Sources
- Update to version 5.0.0:
  + Github OAuth Fixed fetching github orgs from private github org
  + Provisioning Now handles deletes when dashboard json files removed from disk
  + Reset password Fixed problem with reset password form
  + Save dashboard Fixed issue with time range & variable reset after saving
  + Folders Make it easier/explicit to access/modify folders using the API
  + many more bugfixes
  + See /usr/share/doc/packages/grafana/CHANGELOG.md for more details
- Update to version 5.0.0beta1:
  + New Features:
    * Dashboard folders
    * Teams User groups (teams) implemented. Can be used in folder & dashboard permission list.
    * Dashboard grid: Panels are now layed out in a two dimensional grid (with x, y, w, h).
    * Templating: Vertical repeat direction for panel repeats.
    * UX: Major update to page header and navigation
    * Dashboard settings: Combine dashboard settings views into one with side menu
    * Alerting: Add support for internal image store
    * Data Source Proxy: Add support for whitelisting specified cookies that will be passed through to the data source when proxying data source requests
    * Text: Text panel are now edited in the ace editor
    * Teams: Add Microsoft Teams notifier
    * Datasources: Its now possible to configure datasources with config files
    * Graphite: Query editor updated to support new query by tag features
    * Dashboard history: New config file option versions_to_keep sets how many versions per dashboard to store
    * Dashboard as cfg: Load dashboards from file into Grafana on startup/change
    * Prometheus: Grafana can now send alerts to Prometheus Alertmanager while firing
    * Table: Support multiple table formated queries in table panel
    * Security: Protect against brute force (frequent) login attempts
  + Breaking Changes:
    * Persistent dashboard url's: New url's for dashboards that allows renaming dashboards without breaking links
    * GET /api/alerts property dashboardUri renamed to url and is now the full url (that is including app sub url).
  + Many Bugfixes
  + See /usr/share/doc/packages/grafana/CHANGELOG.md for more details
 
- Use %{_fillupdir} for sysconfig file
- Remove non-standard-gid from rpmlintrc
- Use GRAFANA_GROUP macro in spec file instead of GROUP (which otherwise
  collides with the package group, resulting in incorrect file/directory
  ownership)
- mark %{_datadir}/%{name}/conf/defaults.ini as %conf instead
  of %doc, grafana-server won't start without this file.
- Create /var/lib/grafana/dashboards/
- Create plugin directory and clean up (create in %install, 
  add to %files) handling of /var/lib/grafana/* and 
  /var/log/grafana.
- Update to version 4.5.1:
  + New Features:
    * Table panel: Render cell values as links
    * Elasticsearch: Add ad hoc filters directly by clicking values
    * MySQL: New rich query editor with syntax highlighting
    * Prometheus: New rich query editor with syntax highlighting
  + Enhancements:
    * GitHub OAuth: Support for GitHub organizations with 100+ teams
    * Graphite: Calls to Graphite api /metrics/find now include time range
    * Graphite: Added new graphite 1.0 functions
    * Elasticsearch: Ad-hoc filters now use query phrase match filters
  + Breaking change:
    * InfluxDB/Elasticsearch: The panel & data source option named "Group by
      time interval" is now named "Min time interval" and does now always
      define a lower limit for the auto group by time.
  + Other changes:
    * InfluxDB: Change time range filter for absolute time ranges to be
      inclusive instead of exclusive
    * InfluxDB: Added paranthesis around tag filters in queries
  + Bug Fixes:
    - Modals: Maintain scroll position after opening/leaving modal
    - Templating: You cannot select data source variables as data source
      for other template variables
    - MySQL/Postgres: Fix for max_idle_conn option default which was wrongly
      set to zero which does not mean unlimited but means zero.
  + See /usr/share/doc/packages/grafana/CHANGELOG.md for more details
- Fix spec file to create and own /var/{lib,log}/grafana (bsc#1044933)
- Require phantomjs package at runtime instead of shipping prebuilt
  x86_64 phantomjs binary (bsc#1044444)
- Make %fdupes create hardlinks, not symlinks (symlinks result in
  grafana not being able to load plugins, and the UI breaking)
- Moved build of frontend assets from RPM %pre and %posttrans to
  Makefile, so this piece of work can be done by the packager, rather
  than at installation time.
- Update to version 4.2.0
- Refactoring based on new packaging proposal
- Update to 3.1.1:
  * see: /usr/share/doc/packages/grafana/CHANGELOG.txt
- Update to 3.0.4:
  * see: /usr/share/doc/packages/grafana/CHANGELOG.txt
- Update to 3.0.3:
  * see: /usr/share/doc/packages/grafana/CHANGELOG.txt
- Update to 3.0.2
  * see: /usr/share/doc/packages/grafana/CHANGELOG.txt
- Enable dependency auto-generation
- Don't use npm install -g grunt-cli
- Spec file cleanup
- Add golang(github.com/tools/godep)
- Remove static libraries
- Add _service file to control the URL used by %% pre
- Use BuildRequires when a development branch becomes stable
- Fix buid error: don't use %%goinstall (golang-macros.rb is not
  stable)
- Fix build error: change GOPATH
- Copy the vendor folder after installation of package
- Update to 2.6.0:
  * see: /usr/share/doc/packages/grafana/CHANGELOG
- Create a new spec file for building RPM
- initial package

OBS-URL: https://build.opensuse.org/request/show/714594
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grafana?expand=0&rev=1
2019-07-22 10:19:18 +00:00
Joao Cavalheiro
b11b17052b Accepting request 714592 from home:jfajerski:branches:server:monitoring
- spec file change:
  * alter permissions of /etc/grafana and /var/lib/grafana to 755
  * alter owner of /etc/grafana/provisioning/dashboards tree to root:root
  * this allows installing dashboards via rpms without these rpms depending on this rpm

OBS-URL: https://build.opensuse.org/request/show/714592
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/grafana?expand=0&rev=18
2019-07-11 08:39:07 +00:00
Dirk Stoecker
d2eb4e1889 Accepting request 711929 from home:dirkmueller:branches:server:monitoring
- Update to version 6.2.5:
  * release 6.2.5
  * Panel: Fully escape html in drilldown links (was only sanitized before)  (#17731)
  * Grafana-CLI: Wrapper for `grafana-cli` within RPM/DEB packages and config/homepath are now global flags (#17695)
  * config: fix connstr for remote_cache (#17675)
  * TablePanel: fix annotations display (#17646)
  * middleware: fix Strict-Transport-Security header (#17644)
  * Elasticsearch: Fix empty query request to send properly (#17488)
  * release 6.2.4
  * grafana-cli: Fix receiving flags via command line (#17617)
  * HTTPServer: Fix X-XSS-Protection header formatting (#17620)
  * release 6.2.3
  * cli: grafana-cli should receive flags from the command line (#17606)
  * AuthProxy: Optimistic lock pattern for remote cache Set (#17485)
  * OAuth: Fix for wrong user token updated on OAuth refresh in DS proxy (#17541)
  *  middleware: add security related HTTP(S) response headers (#17522)
  * remote_cache: Fix redis (#17483)
  * auth_proxy: non-negative cache TTL (#17495)

OBS-URL: https://build.opensuse.org/request/show/711929
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/grafana?expand=0&rev=17
2019-06-26 06:06:01 +00:00
Lars Vogdt
8b36a637f8 Accepting request 710097 from home:dirkmueller:branches:server:monitoring
- Update to version 6.2.2:
  * Security Fix: Prevent csv formula injection attack
  * PluginConfig: Fixed plugin config page navigation when using subpath
  * Explore: Update time range before running queries
  * Perf: Fix slow dashboards ACL query
  * Database: Initialize xorm with an empty schema for postgres
  * CloudWatch: Avoid exception while accessing results

OBS-URL: https://build.opensuse.org/request/show/710097
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/grafana?expand=0&rev=16
2019-06-15 15:01:24 +00:00
Jan Fajerski
d302335b61 Accepting request 706491 from home:jcavalheiro:monitoring
- Remove phantomjs dependency

OBS-URL: https://build.opensuse.org/request/show/706491
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/grafana?expand=0&rev=15
2019-05-30 14:48:25 +00:00
Jan Fajerski
2cf3d5fe22 Accepting request 706256 from home:jcavalheiro:monitoring
- Update to version 6.2.1

OBS-URL: https://build.opensuse.org/request/show/706256
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/grafana?expand=0&rev=14
2019-05-29 09:41:29 +00:00
Joao Cavalheiro
42c630ce5d Accepting request 705890 from home:jcavalheiro:monitoring
Fix broken changelog and wrong license entry in spec

OBS-URL: https://build.opensuse.org/request/show/705890
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/grafana?expand=0&rev=13
2019-05-28 12:44:25 +00:00
Joao Cavalheiro
bcd376029b Accepting request 703969 from home:dirkmueller:branches:server:monitoring
- Update to version 6.1.6 (bsc#1115960, CVE-2018-19039):
  See https://community.grafana.com/t/release-notes-v6-1-x/15772
  Security: Bump jQuery to 3.4.0
  File Exfiltration vulnerability Security fix

- Update to version 6.0.2:
  * Fixed issue with alert links in alert list panel causing panel not found errors, fixes #15680
  * Improved error handling when rendering dashboard panels, fixes #15913
  * fix allow anonymous server bind for ldap search
  * add nil/length check when delete old login attempts
  * fix discord notifier so it doesn't crash when there are no image generated
  * fix only users that can edit a dashboard should be able to update panel json
  * move to new component to handle focus
  * added state to not set focus on search every render
  * Snapshots update
  * Use app config directly in ButtonRow instead of passing datasources page URL via prop
  * Update snapshots
  * Fixed url of back button in datasource edit page, when root_url configured
  * release: Bumped version

OBS-URL: https://build.opensuse.org/request/show/703969
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/grafana?expand=0&rev=12
2019-05-20 13:51:44 +00:00
Jan Fajerski
853b655cf9 OBS ate my changelog
* Bug Fixes:
    + utils: show string errors
    + Viewers with viewers_can_edit should be able to access /explore
    +  log phantomjs output even if it timeout and include orgId when render alert
- Update to version 6.0.0:
  * Breaking Changes:
    + Text Panel: The text panel does no longer by default allow unsantizied
    HTML. This means that if you have text panels with scripts tags they will no
    longer work as before. To enable unsafe javascript execution in text panels
    enable the settings disable_sanitize_html under the section [panels] in your
    Grafana ini file, or set env variable GF_PANELS_DISABLE_SANITIZE_HTML=true.
    + Dashboard: Panel property minSpan replaced by maxPerRow. Dashboard
    migration will automatically migrate all dashboard panels using the minSpan
    property to the new maxPerRow property
    + Internal Metrics Edition has been added to the build_info metric. This will break any Graphite queries using this metric. Edition will be a new label for the Prometheus metric.
  * New Features:
    + Alerting: Adds support for Google Hangouts Chat notifications
    + Elasticsearch: Support bucket script pipeline aggregations
    + Influxdb: Add support for time zone (tz) clause
    + Snapshots: Enable deletion of public snapshot
    + Provisioning: Provisioning support for alert notifiers
    + Explore: A whole new way to do ad-hoc metric queries and exploration. Split view in half and compare metrics & logs and much much more. Read more here
    + Auth: Replace remember me cookie solution for Grafana's builtin, LDAP and OAuth authentication with a solution based on short-lived tokens
    + AzureMonitor: Enable alerting by converting Azure Monitor API to Go
    + Explore A new query focused workflow for ad-hoc data exploration and troubleshooting.
    + Grafana Loki Integration with the new open source log aggregation system from Grafana Labs.
    + Gauge Panel A new standalone panel for gauges.
    + New Panel Editor UX improves panel editing and enables easy switching between different visualizations.
    + Google Stackdriver Datasource is out of beta and is officially released.
    + React Plugin support enables an easier way to build plugins.

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/grafana?expand=0&rev=11
2019-03-20 15:58:21 +00:00
Joao Cavalheiro
5e5dd725b4 Accepting request 683876 from home:jfajerski:branches:server:monitoring
- Update to version 6.0.1:
  * Bug Fixes:
    + utils: show string errors
    + Viewers with viewers_can_edit should be able to access /explore
    +  log phantomjs output even if it timeout and include orgId when render alert
- Update to version 6.0.0:
  * Breaking Changes:
    + Text Panel: The text panel does no longer by default allow unsantizied
    HTML. This means that if you have text panels with scripts tags they will no
    longer work as before. To enable unsafe javascript execution in text panels
    enable the settings disable_sanitize_html under the section [panels] in your
    Grafana ini file, or set env variable GF_PANELS_DISABLE_SANITIZE_HTML=true.
    + Dashboard: Panel property minSpan replaced by maxPerRow. Dashboard
    migration will automatically migrate all dashboard panels using the minSpan
    property to the new maxPerRow property
    + Internal Metrics Edition has been added to the build_info metric. This will break any Graphite queries using this metric. Edition will be a new label for the Prometheus metric.
  * New Features:
    + Alerting: Adds support for Google Hangouts Chat notifications
    + Elasticsearch: Support bucket script pipeline aggregations
    + Influxdb: Add support for time zone (tz) clause
    + Snapshots: Enable deletion of public snapshot
    + Provisioning: Provisioning support for alert notifiers
    + Explore: A whole new way to do ad-hoc metric queries and exploration. Split view in half and compare metrics & logs and much much more. Read more here
    + Auth: Replace remember me cookie solution for Grafana's builtin, LDAP and OAuth authentication with a solution based on short-lived tokens
    + AzureMonitor: Enable alerting by converting Azure Monitor API to Go
    + Explore A new query focused workflow for ad-hoc data exploration and troubleshooting.
    + Grafana Loki Integration with the new open source log aggregation system from Grafana Labs.
    + Gauge Panel A new standalone panel for gauges.
    + New Panel Editor UX improves panel editing and enables easy switching between different visualizations.
    + Google Stackdriver Datasource is out of beta and is officially released.
    + React Plugin support enables an easier way to build plugins.
    + Named Colors in our new improved color picker.
    + Removal of user session storage makes Grafana easier to deploy & improves security.
  * Bug Fixes:
    + Metrics: Fixes broken usagestats metrics for /metrics
    + Dashboard: Fixes kiosk mode should have &kiosk appended to the url
    + Dashboard: Fixes kiosk=tv mode with autofitpanels should respect header
    + Image rendering: Fixed image rendering issue for dashboards with auto refresh,
    + Dashboard: Fix only users that can edit a dashboard should be able to update panel json.
    + LDAP: fix allow anonymous initial bind for ldap search.
    + UX: Fixed scrollbar not visible initially (only after manual scroll).
    + Datasource admin TestData
    + Dashboard: Fixed scrolling issue that caused scroll to be locked to bottom.
    + Explore: Viewers with viewers_can_edit should be able to access /explore.
    + Security fix: limit access to org admin and alerting pages.
    + Panel Edit minInterval changes did not persist
    + Teams: Fixed bug when getting teams for user.
    + Stackdriver: fix for float64 bounds for distribution metrics
    + Stackdriver: no reducers available for distribution type
    + Influxdb: Add support for alerting on InfluxDB queries that use the non_negative_difference function
    + Alerting: Fix percent_diff calculation when points are nulls
    + Alerting: Fixed handling of alert urls with true flags
    + Gauge: Fix issue with gauge requests being cancelled
    + Gauge: Accept decimal inputs for thresholds
    + UI: Fix error caused by named colors that are not part of named colors palette
    + Search: Bug pressing special regexp chars in input fields
    + Permissions: No need to have edit permissions to be able to "Save as"
    + Search: Fix for issue with scrolling the "tags filter" dropdown
    + Prometheus: Query for annotation always uses 60s step regardless of dashboard range
    + Annotations: Fix creating annotation when graph panel has no data points position the popup outside viewport
    + Piechart/Flot: Fixes multiple piechart instances with donut bug
    + plus many minor changes and fixes
- Update to version 5.4.3:
  * Fixes:
    + Alerting Invalid frequency causes division by zero in alert scheduler
    + Dashboard Dashboard links do not update when time range changes
    + Limits Support more than 1000 datasources per org
    + Backend fix signed in user for orgId=0 result should return active org id
    + Provisioning Adds orgId to user dto for provisioned dashboards
- Update to version 5.4.2:
  * Fixes:
    + Datasource admin: Fix for issue creating new data source when same name exists
    + OAuth: Fix for oauth auto login setting, can now be set using env variable
    + Dashboard search: Fix for searching tags in tags filter dropdown.
- Update to version 5.4.1:
  * Fixes:
    + Stackdriver: Fixes issue with data proxy and Authorization header
    + Units: fixedUnit for Flow:l/min and mL/min
    + Logging: Fix for issue where data proxy logged a secret when debug logging was enabled, now redacted.
    + InfluxDB: Add support for alerting on InfluxDB queries that use the cumulative_sum function.
    + Plugins: Panel plugins should no receive the panel-initialized event again as usual.
    + Embedded Graphs: Iframe graph panels should now work as usual.
    + Postgres: Improve PostgreSQL Query Editor if using different Schemas,
    + Quotas: Fixed for updating org & user quotas.
    + Cloudwatch: Add the AWS/SES Cloudwatch metrics of BounceRate and ComplaintRate to auto complete list.
    + Dashboard Search: Fixed filtering by tag issues.
    + Graph: Fixed time region issues,
    + Graph: Fixed issue with series color picker popover being placed outside window.
- Update to version 5.4.0:
  * Breaking Changes:
    + Postgres/MySQL/MSSQL datasources now per default uses max open connections = unlimited (earlier 10), max idle connections = 2 (earlier 10) and connection max lifetime = 4 hours (earlier unlimited).
  * Features:
    + Alerting: Introduce alert debouncing with the FOR setting.
    + Alerting: Option to disable OK alert notifications
    + Postgres/MySQL/MSSQL: Adds support for configuration of max open/idle connections and connection max lifetime. Also, panels with multiple SQL queries will now be executed concurrently
    + MySQL: Graphical query builder
    + MySQL: Support connecting thru Unix socket for MySQL datasource
    + MSSQL: Add encrypt setting to allow configuration of how data sent between client and server are encrypted
    + Stackdriver: Not possible to authenticate using GCE metadata server
    + Teams: Team preferences (theme, home dashboard, timezone) support
    + Graph: Time regions support enabling highlight of weekdays and/or certain timespans
    + OAuth: Automatic redirect to sign-in with OAuth
    + Stackdriver: Template query editor
  * Fixes:
    + Cloudwatch: Fix invalid time range causes segmentation fault
    + Cloudwatch: AWS/CodeBuild metrics and dimensions
    + MySQL: Fix $__timeFrom() and $__timeTo() should respect local time zone
    + Graph: Fix legend always visible even if configured to be hidden
    + Elasticsearch: Fix regression when using datasource version 6.0+ and alerting
- Update to version 5.3.4:
  * minor bug fixes
- Update to version 5.3.3:
  * fix potential security issue https://community.grafana.com/t/grafana-5-3-3-and-4-6-5-security-update/11961

OBS-URL: https://build.opensuse.org/request/show/683876
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/grafana?expand=0&rev=10
2019-03-13 08:29:03 +00:00
Jan Fajerski
6b77062c6e Accepting request 664691 from home:witekbedyk:branches:Cloud:OpenStack:Rocky
- Provide default dashboard provider from upstream

OBS-URL: https://build.opensuse.org/request/show/664691
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/grafana?expand=0&rev=9
2019-01-11 15:50:03 +00:00
Lars Vogdt
07e312614f Accepting request 645662 from systemsmanagement:sumaform:tools
Update to version 5.3.2, including golang 1.11

OBS-URL: https://build.opensuse.org/request/show/645662
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/grafana?expand=0&rev=8
2018-10-31 09:18:34 +00:00
Lars Vogdt
578d56d11a Accepting request 617300 from home:mcalmer:branches:server:monitoring
- Update to version 5.1.3:
  * Heatmap support for Prometheus
  * Align Zero-Line for Right and Left Y-axes
  * allow setting the database
  * MSSQL Data Source
  * support multiple histogram series
  * support cloudwatch high resolution query
  * Added radiation units
  * Modify Grafana Pagerduty notifier to use Pagerduty API V2
  * prometheus editor: variable autocomplete support
  * Use net.SplitHostPort to support IPv6
  * See /usr/share/doc/packages/grafana/CHANGELOG.md for more details

- remove unknown build flag -s

need working phantomjs and new go

OBS-URL: https://build.opensuse.org/request/show/617300
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/grafana?expand=0&rev=7
2018-06-26 13:57:56 +00:00
Jan Fajerski
45e476ac34 Accepting request 604489 from Cloud:OpenStack:Master
- fix build for older distributions

OBS-URL: https://build.opensuse.org/request/show/604489
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/grafana?expand=0&rev=6
2018-05-07 06:18:24 +00:00
Jan Fajerski
975d33c658 Trim changes file to something more manageable
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/grafana?expand=0&rev=5
2018-03-09 14:40:15 +00:00
Jan Fajerski
76963233ce Accepting request 583995 from home:jengelh:branches:server:monitoring
- Remove marketing wording from description.

OBS-URL: https://build.opensuse.org/request/show/583995
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/grafana?expand=0&rev=4
2018-03-07 16:32:44 +00:00
Jan Fajerski
b9a11a7b68 - add user and group according to packaging guidelines
- add README and Makefile as Sources

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/grafana?expand=0&rev=3
2018-03-07 12:23:46 +00:00
Jan Fajerski
24e65ec0cb Accepting request 583872 from home:jfajerski:branches:server:monitoring
OBS-URL: https://build.opensuse.org/request/show/583872
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/grafana?expand=0&rev=2
2018-03-07 12:18:37 +00:00
f504c80fe4 Accepting request 583279 from security:logging
server:monitoring seems to be a better place for grafana then security:logging.

OBS-URL: https://build.opensuse.org/request/show/583279
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/grafana?expand=0&rev=1
2018-03-07 10:11:57 +00:00