Commit Graph

84 Commits

Author SHA1 Message Date
Thomas Gelf 0796635132 DbHelpers, Connection: improve escapeBinary logic
hex-style for MySQL too, support array values
2022-07-01 08:39:12 +02:00
Thomas Gelf 9a0279b111 UuidLookup: do not enforce service objects
fixes #2487
fixes #2554
2022-06-24 10:37:09 +02:00
Thomas Gelf 95730fb0aa BranchActivity: require connection when creating...
...new objects
2022-02-09 14:46:42 +01:00
Thomas Gelf 767329443b BranchMerger: make comment optional 2022-02-08 08:59:23 +01:00
Thomas Gelf bb567946d2 BranchMerger: no remark with empty comment 2022-02-08 08:58:34 +01:00
Thomas Gelf 8bcc20e004 ActivityLogTable: support remarks
fixes #2471
2022-02-08 08:58:34 +01:00
Thomas Gelf 9611381956 BranchMerger: trigger activity log entry when...
...deleting an object
2022-02-08 08:58:34 +01:00
Thomas Gelf 30f0d85158 UuidLookup: allow multi-key objects
Hint: we do not (yet) support templates in branches, but we need to deal
with related lookups
2022-02-06 13:19:17 +01:00
Thomas Gelf a05300dc24 DbObject: trigger 404 where we get no UUID 2022-02-06 13:18:58 +01:00
Thomas Gelf 1cbb033911 ServiceController: load Set and Host before...
...the service, which get's loaded in the parent class

fixes #2452
fixes #2449
2021-12-23 10:25:59 +01:00
Thomas Gelf a86c751c33 Cube, BranchedObject: formatting 2021-12-22 11:45:57 +01:00
Thomas Gelf 376344257c DbObjectStore: inject into DbObject for related...
...objects in a branch
2021-12-17 12:51:24 +01:00
Thomas Gelf 257537d022 DbUtil: helper for pgsql binary resource handling 2021-12-06 22:11:31 +01:00
Thomas Gelf 215988c3ca library: some hints for PHP 8.1 2021-12-01 23:50:04 +01:00
Thomas Gelf 30c6e50e33 BranchMerger: remove obsolete method call 2021-10-18 13:35:57 +02:00
Thomas Gelf 2b62742362 UuidLookup: initial import 2021-10-05 23:33:30 +02:00
Thomas Gelf 649a5dbe5e BranchedObject: initial import 2021-10-05 23:33:30 +02:00
Thomas Gelf 98a8050718 BranchStore: new column names, delete methods 2021-10-05 23:33:30 +02:00
Thomas Gelf e17535117e BranchModificationInspection: column names, uuid 2021-10-05 23:33:30 +02:00
Thomas Gelf dc52a54888 BranchMerger: use Activity instances 2021-10-05 23:33:30 +02:00
Thomas Gelf 7ad9cf6c6c BranchActivity: formatting 2021-10-05 23:33:30 +02:00
Thomas Gelf b22511e341 Branch: add assertBranch helper method 2021-10-05 23:33:30 +02:00
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