112 Commits

Author SHA1 Message Date
Thomas Gelf
59f6051623 Branch: use new ts_merge_request column 2021-10-05 23:33:30 +02:00
Thomas Gelf
f7d100ea24 Branch: remove outdated classes 2021-10-05 23:33:30 +02:00
Thomas Gelf
5483093959 MergeError: support BranchActivity 2021-10-05 23:33:30 +02:00
Thomas Gelf
2f1a47c34a PlainObjectPropertyDiff: diff calculation 2021-10-05 23:33:30 +02:00
Thomas Gelf
5494ab29bd BranchActivity: dedicated class 2021-10-05 23:33:30 +02:00
Thomas Gelf
a1fb42878c BranchSettings: some generic settings and helpers 2021-10-05 23:33:30 +02:00
Thomas Gelf
435b1f9b1d BranchModificationStore: centralize encoding rules 2021-08-26 10:18:06 +02:00
Thomas Gelf
dfdec95358 IcingaObjectModification: allow to pass db
fixes an issue with related objects on create
2021-08-25 00:54:30 +02:00
Thomas Gelf
44b749f2bf BranchModificationStore: cast eventual objects 2021-08-24 18:47:13 +02:00
Thomas Gelf
23f1fae784 BranchModificationStore: fix serialization 2021-08-24 18:46:55 +02:00
Thomas Gelf
5002f7a6bf IcingaObjectModification: loop with an array 2021-08-23 08:53:22 +02:00
Thomas Gelf
2897415a1f BranchStore: centralized repository 2021-08-23 08:52:12 +02:00
Thomas Gelf
c79045e9e2 Branch: add a bunch of properties and getters 2021-08-23 08:50:44 +02:00
Thomas Gelf
1470a134f4 Branch support: initial import 2021-08-16 11:43:09 +02:00
Thomas Gelf
44a90afea2 DbSelectParenthesis: allow to defer Db Expr...
...stringification when required to apply parenthesis (-> union)
2021-08-16 10:51:57 +02:00
Thomas Gelf
1b5ed9699d Db\Migrations: warn about downgrades
fixes #1992
2019-10-16 11:28:29 +02:00
Thomas Gelf
7a2a406edb Housekeeping: fix PostgreSQL queries
fixes #282
fixes #12
2019-09-20 02:04:41 +02:00
Markus Frosch
72d9d47a1b Migrations: Disable max_execution_time on apply 2019-04-24 15:04:08 +02:00
Markus Frosch
6d3702a893 PrefetchCache: Purge any object cache on forget or initialize 2019-04-17 10:47:16 +02:00
Thomas Gelf
cb3d13ba3b IcingaObjectFilterHelper: clean up exceptions 2019-04-11 02:53:10 +02:00
Thomas Gelf
6e25c05d89 Migrations: cleanup 2018-10-15 15:03:57 +02:00
Thomas Gelf
db72931c1e Migrations: cleanup 2018-10-06 16:58:13 +02:00
Markus Frosch
4675a241a8 Integrate MembershipHousekeeping into Housekeeping 2018-09-18 12:21:19 +02:00
Markus Frosch
7bfe1e03e6 Housekeeping: Add helper to refresh memberships in database
This is usually only done when either object or group changes.
2018-09-18 10:36:45 +02:00
Thomas Gelf
14a3039f65 controllers, libs: less noise from exceptions 2018-08-08 10:07:39 +02:00
Thomas Gelf
88f7dc0d0f controllers, library: small fixes 2018-06-23 09:05:10 +02:00
Thomas Gelf
8c432285e7 Various: stick with default exceptions...
...IDE hints are annoying
2018-05-29 21:31:43 +02:00
Thomas Gelf
193c575e3a HostServiceBlacklist: small fixes
refs #907
2018-05-25 19:57:52 +02:00
Thomas Gelf
8073128d0e IcingaServiceForm: add blacklist/delete button...
...and a lot of related boilerplate to get the "blacklist" feature working
2018-05-25 19:11:50 +02:00
Thomas Gelf
11bd7215f5 PrefetchCache: respect CustomVar rendering type
fixes #1257
2017-10-24 11:15:36 +02:00
Thomas Gelf
6c02d9c09a PrefetchCache: remove now obsolete code 2017-08-13 20:51:13 +02:00
Thomas Gelf
59d6291fcf PrefetchCache, IcingaObject: speed up import list
...greatly improves REST API performance
2017-08-01 12:48:29 +02:00
Thomas Gelf
118dddf93a Caches: add Benchmark, some IDE hints for CVar 2017-07-31 16:12:56 +02:00
Thomas Gelf
9f96b1d31b IcingaObjectFilterHelper: do not fail with no...
...involved parents (indirect inheritance with no child template)
2017-07-14 15:19:05 +02:00
Thomas Gelf
e4d35d74e3 Migrations: fail on PHP 5.3.x
fixes #1006
2017-07-14 13:21:42 +02:00
Thomas Gelf
61e8621716 IcingaObjectFilterHelper: external filter helpers 2017-07-14 13:21:42 +02:00
Thomas Gelf
4860082d4b host/services: show applied service sets
fixes #735
2017-02-17 08:44:08 +01:00
Thomas Gelf
2bc477daaa Migration: do not require a Director\Db 2017-02-14 09:13:42 +01:00
Thomas Gelf
6396fbc1ee Migrations: table name should depend on module
refs #746
2017-01-24 16:41:43 +01:00
Thomas Gelf
0e2a056f49 Migrations: make it ready for use by other modules
fixes #746
2017-01-24 15:17:59 +01:00
Thomas Gelf
b7a10d296c phpcs: mostly new PSR-2 SpacingAfter/Before checks 2017-01-13 20:54:52 +01:00
Thomas Gelf
2918ef555e schema: fix lost/diverged foreign keys
fixes #13591
2016-12-15 15:51:48 +01:00
Thomas Gelf
ee0def7d2b Lots of files: make IDE users happy 2016-11-01 18:28:36 +01:00
Corentin Ardeois
ddcfb09f58 Handle expressions only for apply objects
Expressions will be handled only if the object is an ApplyRule.
Only properties and custom variables are replaced.

refs #11976
2016-10-22 00:15:09 +00:00
Thomas Gelf
785746fb26 GroupMembershipCache: fix messed up properties
fixes #12887
2016-10-11 15:26:31 +00:00
Thomas Gelf
380fb0afe9 GroupMembershipCache: add missing property
fixes #12884
2016-10-10 19:15:34 +00:00
Thomas Gelf
1bc4a397a8 CustomVariableCache: optionally use digest()...
...for PostgreSQL in case pgcrypto is installed. Also add related hint to the
installation documentation
2016-10-09 12:43:04 +00:00
Thomas Gelf
6f12663756 PrefetchCache: lot's of improvements
This commit enables the prefetch cache per default when rendering configs
and adds the following features:

* prefetch all kinds of Icinga object inheritance (imports)
* prefetch group memberships
* prefetch custom variables
* render vars with the same checksum only once

Roughly measured performance boost with a large real-life config, renders three
times faster as it did before. Might be even more for those suffering from high
latencies when accessing their DB remotely and/or on a slow storage.

fixes #12876
2016-10-09 12:41:06 +00:00
Thomas Gelf
193e860beb Db\Migration: use query for OPTIMIZE, not exec
This is required as OPTIMIZE returns data
2016-07-26 13:43:18 +02:00
Thomas Gelf
b09c4f8ef0 Db/Cache: first step to externalize lookup caches 2016-06-30 10:34:34 +02:00