Julian Brost
526679a5a9
Merge pull request #687 from Icinga/dependabot/go_modules/github.com/go-sql-driver/mysql-1.8.0
...
build(deps): bump github.com/go-sql-driver/mysql from 1.7.1 to 1.8.0
2024-03-12 16:42:08 +01:00
Eric Lippmann
081505587a
docs: Fix link to Icinga DB Web
2024-03-12 11:19:08 +01:00
Alvar Penning
3e5ca98beb
cmd/icingadb: Log Icinga DB version during startup
...
To better recognize the Icinga DB version used in case of errors, it is
now logged at startup.
If VCS is available during build, the current commit is included.
- Dirty VCS directory:
> 2024-03-11T14:36:29.317+0100 INFO icingadb Starting Icinga DB daemon (1.1.1-g0e9810c-dirty)
- Clean VCS directory:
> 2024-03-11T14:38:09.664+0100 INFO icingadb Starting Icinga DB daemon (1.1.1-geed8589)
- Build with `-buildvcs=false`:
> 2024-03-11T14:38:56.554+0100 INFO icingadb Starting Icinga DB daemon (1.1.1)
Closes #689 .
2024-03-11 14:46:45 +01:00
dependabot[bot]
542e476995
build(deps): bump github.com/go-sql-driver/mysql from 1.7.1 to 1.8.0
...
Bumps [github.com/go-sql-driver/mysql](https://github.com/go-sql-driver/mysql ) from 1.7.1 to 1.8.0.
- [Release notes](https://github.com/go-sql-driver/mysql/releases )
- [Changelog](https://github.com/go-sql-driver/mysql/blob/master/CHANGELOG.md )
- [Commits](https://github.com/go-sql-driver/mysql/compare/v1.7.1...v1.8.0 )
---
updated-dependencies:
- dependency-name: github.com/go-sql-driver/mysql
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-03-11 10:18:07 +00:00
dependabot[bot]
67ecf0055a
build(deps): bump github.com/google/uuid from 1.4.0 to 1.6.0
...
Bumps [github.com/google/uuid](https://github.com/google/uuid ) from 1.4.0 to 1.6.0.
- [Release notes](https://github.com/google/uuid/releases )
- [Changelog](https://github.com/google/uuid/blob/master/CHANGELOG.md )
- [Commits](https://github.com/google/uuid/compare/v1.4.0...v1.6.0 )
---
updated-dependencies:
- dependency-name: github.com/google/uuid
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-03-11 09:07:31 +00:00
dependabot[bot]
68fac46f55
build(deps): bump golang.org/x/sync from 0.5.0 to 0.6.0
...
Bumps [golang.org/x/sync](https://github.com/golang/sync ) from 0.5.0 to 0.6.0.
- [Commits](https://github.com/golang/sync/compare/v0.5.0...v0.6.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/sync
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-03-11 09:06:34 +00:00
Alexander Aleksandrovič Klimov
29d1a6bafc
Remove redundant closure
...
which just wraps a method with equal signature.
2024-03-08 16:41:31 +01:00
dependabot[bot]
b6deee71b7
build(deps): bump github.com/stretchr/testify from 1.8.4 to 1.9.0
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.8.4 to 1.9.0.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.8.4...v1.9.0 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-03-04 10:27:46 +00:00
dependabot[bot]
9635d925f4
build(deps): bump github.com/mattn/go-sqlite3 from 1.14.18 to 1.14.22
...
Bumps [github.com/mattn/go-sqlite3](https://github.com/mattn/go-sqlite3 ) from 1.14.18 to 1.14.22.
- [Release notes](https://github.com/mattn/go-sqlite3/releases )
- [Commits](https://github.com/mattn/go-sqlite3/compare/v1.14.18...v1.14.22 )
---
updated-dependencies:
- dependency-name: github.com/mattn/go-sqlite3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-02-05 10:18:00 +00:00
Eric Lippmann
0e9810c1e7
Merge pull request #664 from Icinga/dependabot/go_modules/golang.org/x/sync-0.5.0
...
build(deps): bump golang.org/x/sync from 0.3.0 to 0.5.0
2023-11-20 22:41:07 +01:00
Eric Lippmann
d4b1423297
Merge pull request #663 from Icinga/dependabot/go_modules/github.com/mattn/go-sqlite3-1.14.18
...
build(deps): bump github.com/mattn/go-sqlite3 from 1.14.17 to 1.14.18
2023-11-20 22:40:08 +01:00
Eric Lippmann
7e08e462b4
Merge pull request #661 from Icinga/dependabot/go_modules/github.com/google/uuid-1.4.0
...
build(deps): bump github.com/google/uuid from 1.3.0 to 1.4.0
2023-11-20 22:39:27 +01:00
dependabot[bot]
91615aa794
build(deps): bump golang.org/x/sync from 0.3.0 to 0.5.0
...
Bumps [golang.org/x/sync](https://github.com/golang/sync ) from 0.3.0 to 0.5.0.
- [Commits](https://github.com/golang/sync/compare/v0.3.0...v0.5.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/sync
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-11-06 10:52:26 +00:00
dependabot[bot]
cd15887746
build(deps): bump github.com/mattn/go-sqlite3 from 1.14.17 to 1.14.18
...
Bumps [github.com/mattn/go-sqlite3](https://github.com/mattn/go-sqlite3 ) from 1.14.17 to 1.14.18.
- [Release notes](https://github.com/mattn/go-sqlite3/releases )
- [Commits](https://github.com/mattn/go-sqlite3/compare/v1.14.17...v1.14.18 )
---
updated-dependencies:
- dependency-name: github.com/mattn/go-sqlite3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-11-06 10:52:23 +00:00
dependabot[bot]
b1833c0a47
build(deps): bump github.com/docker/docker in /tests
...
Bumps [github.com/docker/docker](https://github.com/docker/docker ) from 24.0.5-0.20230721180626-a61e2b4c9c5f+incompatible to 24.0.7+incompatible.
- [Release notes](https://github.com/docker/docker/releases )
- [Commits](https://github.com/docker/docker/commits/v24.0.7 )
---
updated-dependencies:
- dependency-name: github.com/docker/docker
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-10-30 15:46:06 +00:00
dependabot[bot]
7905a89d93
build(deps): bump github.com/google/uuid from 1.3.0 to 1.4.0
...
Bumps [github.com/google/uuid](https://github.com/google/uuid ) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/google/uuid/releases )
- [Changelog](https://github.com/google/uuid/blob/master/CHANGELOG.md )
- [Commits](https://github.com/google/uuid/compare/v1.3.0...v1.4.0 )
---
updated-dependencies:
- dependency-name: github.com/google/uuid
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-10-30 10:31:38 +00:00
dependabot[bot]
5beaa1be08
build(deps): bump golang.org/x/net from 0.7.0 to 0.17.0 in /tests
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.7.0 to 0.17.0.
- [Commits](https://github.com/golang/net/compare/v0.7.0...v0.17.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-10-11 23:27:45 +00:00
Julian Brost
85bde9ebfb
Merge pull request #649 from Icinga/dependabot/go_modules/github.com/goccy/go-yaml-1.11.2
...
build(deps): bump github.com/goccy/go-yaml from 1.11.0 to 1.11.2
2023-10-02 17:27:53 +02:00
Julian Brost
2ef3ebe49e
Merge pull request #650 from Icinga/dependabot/go_modules/go.uber.org/zap-1.26.0
...
build(deps): bump go.uber.org/zap from 1.25.0 to 1.26.0
2023-10-02 17:25:49 +02:00
dependabot[bot]
1b4629ba7f
build(deps): bump go.uber.org/zap from 1.25.0 to 1.26.0
...
Bumps [go.uber.org/zap](https://github.com/uber-go/zap ) from 1.25.0 to 1.26.0.
- [Release notes](https://github.com/uber-go/zap/releases )
- [Changelog](https://github.com/uber-go/zap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/uber-go/zap/compare/v1.25.0...v1.26.0 )
---
updated-dependencies:
- dependency-name: go.uber.org/zap
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-09-18 10:53:51 +00:00
dependabot[bot]
af7195d955
build(deps): bump github.com/goccy/go-yaml from 1.11.0 to 1.11.2
...
Bumps [github.com/goccy/go-yaml](https://github.com/goccy/go-yaml ) from 1.11.0 to 1.11.2.
- [Release notes](https://github.com/goccy/go-yaml/releases )
- [Changelog](https://github.com/goccy/go-yaml/blob/master/CHANGELOG.md )
- [Commits](https://github.com/goccy/go-yaml/compare/v1.11.0...v1.11.2 )
---
updated-dependencies:
- dependency-name: github.com/goccy/go-yaml
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-09-18 10:53:45 +00:00
Julian Brost
c20f066bd8
Merge pull request #639 from Icinga/gha-remove-version
...
GitHub Actions: remove version check
2023-08-08 15:36:31 +02:00
Julian Brost
cdec4f2e6d
Merge pull request #638 from Icinga/schema-upgrade-path
...
doc/04-Upgrading.md: Fix path for schema upgrades
2023-08-08 15:33:50 +02:00
Julian Brost
05c8b7d103
GitHub Actions: remove version check
...
This check turned out to be not very helpful. Typically, you will first
increase the version number in the source, make it a PR, review it, merge it
and only aftewards, tag the version. In this PR, the check is always
complaining if you did not forget to do something.
2023-08-08 15:06:27 +02:00
Julian Brost
16849d8c70
doc/04-Upgrading.md: Fix path for schema upgrades
...
Looks like these were never in /usr/share/doc and the documentation was just
wrong for 1.0.0.
2023-08-08 14:41:31 +02:00
Julian Brost
10235ed49c
Merge pull request #636 from Icinga/gha-support-branches
...
GitHub Actions: also run on support branches
2023-08-08 12:32:10 +02:00
Julian Brost
74686888f1
GitHub Actions: also run on support branches
2023-08-08 11:59:14 +02:00
Julian Brost
401d0868be
Merge pull request #629 from Icinga/release-1.1.1
...
Release 1.1.1
2023-08-08 11:18:02 +02:00
Julian Brost
a7800567c8
Upgrading docs for v1.1.1
2023-08-08 10:15:55 +02:00
Julian Brost
7ce981ac07
Add changelog for v1.1.1
2023-08-08 10:15:55 +02:00
Julian Brost
3f768dd1ea
Merge pull request #634 from Icinga/gha-main
...
GitHub Actions: change master to main
2023-08-08 10:08:33 +02:00
Julian Brost
62a01155c4
Update version number to 1.1.1
2023-08-07 15:53:20 +02:00
Julian Brost
5ae2ac5222
Update AUTHORS
2023-08-07 15:53:20 +02:00
Julian Brost
704111a262
GitHub Actions: change master to main
...
The branch was renamed, the same change has to be done in the GitHub Actions
config so that the workflow continue to run.
2023-08-07 15:32:15 +02:00
Julian Brost
57f4f78cc8
Merge pull request #630 from Icinga/schema-version
...
Merge schema files and increase schema version for v1.1.1
2023-08-07 14:49:32 +02:00
Julian Brost
653f356123
Increase database schema version
...
The removal of the `NOT NULL` constraint on `customvar_flat`.`flat_value` makes
the schema upgrade a hard requirement for 1.1.1.
2023-08-07 13:09:01 +02:00
Julian Brost
7a2ab2dff1
Schema: merge 1.2.0.sql upgrades into 1.1.1.sql
...
Initially, we planed a 1.2.0 release instead of 1.1.1 so over time, both schema
upgrade files appeared. Merge them to clean up in preparation for the 1.1.1
release.
Changes were generated using these commands:
{ echo; cat schema/mysql/upgrades/1.2.0.sql } >> schema/mysql/upgrades/1.1.1.sql
{ echo; cat schema/pgsql/upgrades/1.2.0.sql } >> schema/pgsql/upgrades/1.1.1.sql
git rm schema/mysql/upgrades/1.2.0.sql
git rm schema/pgsql/upgrades/1.2.0.sql
2023-08-07 13:09:01 +02:00
Julian Brost
1ecea7665c
Merge pull request #626 from Icinga/history-event-type-order
...
Schema: change sort order of history event type enum
2023-08-07 13:08:06 +02:00
Julian Brost
cc0d1dde30
Merge pull request #632 from Icinga/dependabot/go_modules/go.uber.org/zap-1.25.0
...
build(deps): bump go.uber.org/zap from 1.24.0 to 1.25.0
2023-08-04 16:28:58 +02:00
Julian Brost
6068ab78d0
Schema: change sort order of history event type enum
...
This improves the resulting sort order when `ORDER BY event_time, event_type`
is used. `state_change` comes first as it can cause many of the other events
like trigger downtimes, remove acknowledgements and send notifications.
Similarly, `notification` comes last as any other event can result in a
notification. This will result in history events for scenarios like state
changes, triggers downtime, sends downtime start notification being sorted in
that order.
Apart from that, end events sort before the corresponding start events as any
ack/comment/downtime/flapping period should last for more than a millisecond,
therefore if there should be two events within the same millisecond, the end
event corresponds to the older period and is sorted first.
2023-08-04 15:56:53 +02:00
dependabot[bot]
bf381d1a03
build(deps): bump go.uber.org/zap from 1.24.0 to 1.25.0
...
Bumps [go.uber.org/zap](https://github.com/uber-go/zap ) from 1.24.0 to 1.25.0.
- [Release notes](https://github.com/uber-go/zap/releases )
- [Changelog](https://github.com/uber-go/zap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/uber-go/zap/compare/v1.24.0...v1.25.0 )
---
updated-dependencies:
- dependency-name: go.uber.org/zap
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-08-04 13:24:49 +00:00
Julian Brost
d3691d353f
Merge pull request #633 from Icinga/gha-go-version
...
GitHub Actions: use actions/setup-go@v4 and go-version: 1.x
2023-08-04 15:23:59 +02:00
Julian Brost
9c2dcd2502
Run go fmt ./...
...
Looks like newer Go version have a different opinion on how indentation in
comments should look like. Adapt existing comments to make the GitHub Actions
happy.
2023-08-04 12:50:45 +02:00
Julian Brost
ab42fab540
GitHub Actions: use actions/setup-go@v4 and go-version: 1.x
...
There was a mix of diferent action and Go versions specified throughout the
GitHub Actions workflow configs. In general, we want to be compatible with the
latest Go 1.x version, so just specify that instead of bumping versions
everywhere when necessary.
At the same time, bump the actions/setup-go to v4, the latest currently
available version. This prefers versions already cached on the runner and
enables automatic caching for dependencies.
2023-08-04 12:50:31 +02:00
Julian Brost
7c7ba9f089
Merge pull request #616 from Icinga/fix/indexes-for-host-and-service-group-615
...
schema: Add missing indices to `hostgroup` and `servicegroup`
2023-08-02 11:20:50 +02:00
Julian Brost
de09001a0f
schema/pgsql: Add missing indices to hostgroup and servicegroup
2023-08-01 16:50:59 +02:00
Johannes Meyer
f46193a372
schema/mysql: Add missing indices to hostgroup and servicegroup
...
fixes #615
2023-08-01 16:36:31 +02:00
Julian Brost
73472f1911
Merge pull request #617 from Icinga/fix/customvarflat-name-index-523
...
schema: Add new index for `customvar_flat`
2023-08-01 16:36:09 +02:00
Julian Brost
d4b3dec82a
schema/pgsql: Add new index for customvar_flat
2023-08-01 15:57:25 +02:00
Johannes Meyer
c5272605c3
schema/mysql: Add new index for customvar_flat
2023-08-01 15:36:34 +02:00