Thomas Gelf
ccd6f4266a
DbObject: exists() must check for UUID column
...
fixes #2475
2022-02-24 16:38:48 +01:00
Thomas Gelf
a05300dc24
DbObject: trigger 404 where we get no UUID
2022-02-06 13:18:58 +01:00
Thomas Gelf
87a16f11fa
DbObject: fix Command Argument creation
...
fixes #2453
2022-01-09 21:36:40 +01:00
Thomas Gelf
2e01e181aa
DbObject: exists should return false...
...
...in case there is no related uuid
refs #2434
2021-12-23 10:30:58 +01:00
Thomas Gelf
c7cba433ed
DbObject: indentation
2021-12-21 14:18:56 +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
75e414006d
DbObject: UUID on insert is required
...
fixes #2407
2021-10-08 15:23:17 +02:00
Thomas Gelf
8ec56ff16e
DbObject: allow to set loaded properties
2021-10-05 23:33:30 +02:00
Thomas Gelf
2994403aa8
DbObject: allow arrays in fromDbRow, handle errors
2021-10-05 23:33:30 +02:00
Thomas Gelf
f0d63ad23b
DbObject: add UUID support
2021-10-05 23:33:30 +02:00
Thomas Gelf
5de3a6a497
Db: clean up methods related to binary PG data
2021-08-16 06:14:34 +02:00
Thomas Gelf
62a31c7858
DbObject: some cleanup
2021-08-16 06:02:36 +02:00
Thomas Gelf
a0253250c1
DbObject: allow to setBeingLoadedFromDb
2021-08-16 06:02:15 +02:00
Thomas Gelf
2e29188020
DbObject: logId should show autoinc id in case...
...
...nothing else is present
2019-09-20 03:39:12 +02:00
Thomas Gelf
10be27c9a3
DbObject: provide methods checking for getters...
...
...and setters
2019-09-19 23:27:06 +02:00
Thomas Gelf
1e893e1bc7
DbObject: make key name obvious when setting...
...
...an invalid property
2019-09-16 10:45:14 +02:00
Thomas Gelf
6377ed61cc
DbObject: remove binary column magic
...
Binary columns must be configured explicitly, binary keys are now also
possible
fixes #1702
2018-11-14 12:24:31 +01:00
Thomas Gelf
75787911b5
DbObject: fix insert with unprotected autoinc...
...
...for PostgreSQL
2018-10-15 15:03:57 +02:00
Thomas Gelf
affcc54ba3
DbObject: allow specific objects to change their
...
...autoinc ID
2018-10-15 15:03:57 +02:00
Thomas Gelf
ad46ff9fb0
DbObject: cleanup, phpdoc
2018-10-04 06:49:19 +02:00
Markus Frosch
0911910856
DbObject: Don't allow empty id for multi-column objects
...
This avoids that the user can actually create duplicate objects in the
database. (E.g. for service templates)
2018-09-05 11:41:49 +02:00
Thomas Gelf
a005ac3228
IcingaCommand: pathes prefixed with Windows ENV
...
...variables are considered to be absolute
fixes #1469
2018-06-01 11:38:28 +02:00
Thomas Gelf
8c432285e7
Various: stick with default exceptions...
...
...IDE hints are annoying
2018-05-29 21:31:43 +02:00
Thomas Gelf
4f8c60bb46
various: cleanup, sop using deprecated methods
2018-05-05 00:24:49 +02:00
Thomas Gelf
45209b99c3
DbObject: remove useless property
2018-02-25 17:45:17 +01:00
Thomas Gelf
8f7e9e9ecd
Sync: do not touch 'disabled' on merge unless...
...
...it has been defined as a Sync Property
fixes #1223
2017-10-10 16:32:57 +02:00
Thomas Gelf
2109d138d5
IcingaTimeperiodRangeForm: delete through the...
...
IcingaTimePeriod and it's Ranges
fixes #1089
2017-08-21 22:41:37 +02:00
Thomas Gelf
4f38a39e14
DbObject: better IDE hint
2017-08-20 16:04:46 +02:00
Thomas Gelf
74a887f5af
DirectorObjectForm: fix redirectionUrl for...
...
...objects without id
fixes #1043
2017-07-28 22:40:16 +02:00
Peter Backes
bec8ef1ac2
DbObject: Don't confuse ids and object_names
...
fixes #992
2017-07-14 13:21:42 +02:00
Thomas Gelf
180fc2ccfa
Datafield: on rename ask whether to also rename vars
...
fixes #818
2017-07-14 13:21:42 +02:00
Thomas Gelf
e0589d3560
DbObject: allow to instantiate from Db row...
...
...even from outside. This breaks some legacy principles, but this class is
going to be separated into multiple components anyways. Also allow to directly
get a specific property
2017-07-14 13:21:42 +02:00
Thomas Gelf
b7a10d296c
phpcs: mostly new PSR-2 SpacingAfter/Before checks
2017-01-13 20:54:52 +01:00
Thomas Gelf
4a75804d86
various: change icinga.org to icinga.com
...
fixes #14001
2017-01-13 13:33:58 +01:00
Markus Frosch
ab169e4b78
DbObject: Add and use DuplicateKeyException
2016-11-28 15:32:41 +01:00
Thomas Gelf
87fe623d11
DbObject: help IDE, render newline after a...
...
...disabled v1 object
2016-11-04 19:52:21 +01:00
Thomas Gelf
ee0def7d2b
Lots of files: make IDE users happy
2016-11-01 18:28:36 +01:00
Thomas Gelf
5921f4773f
DbObject: one more protection when looking up...
...
...prefetched objects by name
2016-10-27 19:34:11 +00:00
Thomas Gelf
42aef0105d
DbObject: exists() should respect prefetch...
...
...also for negative lookups
refs #12876
2016-10-08 19:34:59 +00:00
Thomas Gelf
749f035971
Db/IcingaObject: formatting & style
2016-10-05 18:05:59 +00:00
Thomas Gelf
6178ca8320
DbObject: allow to clear all caches
2016-06-30 12:07:33 +02:00
Thomas Gelf
a17e0eeb23
DbObject: reset modified properties when loaded
2016-05-25 08:16:41 +02:00
Thomas Gelf
6708df8a61
DbObject: allow to statically clearPrefetchCache
2016-05-02 10:24:32 +02:00
Thomas Gelf
c879cd1e5e
DbObject: compare numbers as string
2016-04-18 15:20:41 +02:00
Thomas Gelf
3c95fd7ec8
DbObject: NOTE -> recheck this
2016-03-24 13:32:11 +01:00
Thomas Gelf
2939f82758
DbObject: just a newline
2016-03-21 19:10:43 +01:00
Thomas Gelf
e30bafc62e
various: code style
2016-03-20 16:38:00 +01:00
Thomas Gelf
fad7592eb9
DbObject: make sure we fetch unresolved relations
2016-03-20 14:47:50 +01:00
Thomas Gelf
9549df5833
DbObject: re-enable and extend prefetch support
2016-03-19 22:12:22 +01:00
Thomas Gelf
4af6b11f58
DbObject: provide friendler not-found errors
2016-03-16 21:41:00 +01:00