Commit Graph

978 Commits

Author SHA1 Message Date
Thomas Gelf 8cc7b0834e IcingaService: override setKey, allows for...
...different kind of links (host/service name VS id)
2016-03-06 19:13:58 +01:00
Thomas Gelf e09459625d DataTypeArray: allow to define custom arrays
refs #11317
2016-03-06 19:12:04 +01:00
Thomas Gelf cef7090666 IcingaServiceAssignment: new dedicated object type 2016-03-06 14:22:47 +01:00
Thomas Gelf 51916192a9 IcingaService: render assigned to host template 2016-03-06 14:21:18 +01:00
Thomas Gelf e5429ab1f3 ObjectController: improve object loading 2016-03-06 14:20:49 +01:00
Thomas Gelf fb43331379 IcingaObject: add getUrlParams helper 2016-03-06 14:20:05 +01:00
Thomas Gelf 24f1580c92 DirectorObjectForm: deletion check only when sent 2016-03-06 13:07:56 +01:00
Thomas Gelf cafd136232 DirectorObjectForm: get ids when resolving object
This formerly broke some forms
2016-03-06 10:27:37 +01:00
Thomas Gelf ad8dfeb31d DirectorObjectForm: add isObject helper 2016-03-06 09:47:42 +01:00
Thomas Gelf e0d00c3ae0 DirectorObjectForm: safety checks for non-imports 2016-03-06 09:11:29 +01:00
Thomas Gelf 70db23b8d1 FormSimpleNote: do not use "Note" from ZF
For compatibility reasons we'll not use 'note' anymore, it isn't part
of older Zend Framework versions

fixes #11297
2016-03-06 01:00:50 +01:00
Thomas Gelf ddba5c570c QuickForm: fix layout for html notes 2016-03-06 00:53:55 +01:00
Thomas Gelf 252093f794 PropertyModifier: clean them up, better descriptions 2016-03-06 00:37:03 +01:00
Thomas Gelf d8f721081e PropertyModifierHook: fix default name string 2016-03-06 00:16:44 +01:00
Thomas Gelf b07a3e724c Sync: quote binary checksums for PostgreSQL 2016-03-05 20:38:21 +01:00
Thomas Gelf 9ede46f839 Import: various fixes for PostgreSQL
refs #11315
2016-03-05 20:01:31 +01:00
Thomas Gelf 5268db6a61 ImportSourceCoreApi: fix host properties
refs #11315
2016-03-05 18:05:44 +01:00
Thomas Gelf 5520e311f1 ImportSourceCoreApi: replace legacy config lookup
fixes #11315
2016-03-05 17:55:03 +01:00
Thomas Gelf c4d69e1a88 ExtensibleSet: silently ignore null or empty strings 2016-03-05 17:25:23 +01:00
Thomas Gelf 3134630f86 ConfigHealthItemRenderer: use Migrations
fixes #11263
2016-03-05 17:23:40 +01:00
Thomas Gelf ca71bf5420 Migrations: add hasSchema helper method 2016-03-05 17:22:54 +01:00
Thomas Gelf f23c074143 DataTypeHook: also add getSetting helper method 2016-03-05 17:04:38 +01:00
Thomas Gelf d7da41b789 PropertyModifierSubstring: fix erraneous form fields 2016-03-05 17:04:13 +01:00
Thomas Gelf d0250dc312 PropertyModifierHook: add getSetting method 2016-03-05 17:03:31 +01:00
Thomas Gelf 0c579561ff PropertyModifierStripDomain: syntax 2016-03-05 17:03:08 +01:00
Thomas Gelf 8a733ee891 DirectorObjectForm: more descriptions 2016-03-05 16:22:07 +01:00
Thomas Gelf e8179318ab DirectorObjectForm: methods for extensible sets 2016-03-05 16:18:06 +01:00
Thomas Gelf da3d2a797f DirectorObjectForm: pass-through imports and groups 2016-03-05 16:15:37 +01:00
Thomas Gelf b5c09caff6 IcingaObject: support sets in hasBeenModified 2016-03-05 16:13:24 +01:00
Thomas Gelf f073b4d6a9 rectorObjectForm: catch errors when setting props 2016-03-05 15:58:24 +01:00
Thomas Gelf 6560864b4e DirectorObjectForm: wrap elements in dl's 2016-03-05 15:45:00 +01:00
Thomas Gelf f3e526f95f IcingaObjectImports: gracefully ignore empty members 2016-03-05 12:56:29 +01:00
Thomas Gelf 7498820700 QuickForm: add fake first submit button...
...and improve button handling. This is to make sure that form
submission will not erraneously use the wrong submit button.
2016-03-05 10:56:00 +01:00
Thomas Gelf 3460912fea IcingaObjectImports: fix behaviour, simplify usage 2016-03-05 10:49:37 +01:00
Thomas Gelf d2cd8c3939 KickstartHelper: fix import for nested zones
fixes #11301
2016-03-05 10:47:07 +01:00
Thomas Gelf 092bb8c3f6 IcingaObjectGroups: simplify setting groups 2016-03-05 10:46:12 +01:00
Thomas Gelf b6cb7389a1 QuickForm: add prefix path for local elements 2016-03-04 18:18:56 +01:00
Thomas Gelf 950745d4e9 Form/Element: introduce new element for sets 2016-03-04 18:08:37 +01:00
Thomas Gelf db9cc7d0f2 ObjectController: fix preview error for API user 2016-03-03 12:11:06 +01:00
Thomas Gelf 2fa9e7e998 ObjectController: fix clone link html/css 2016-03-03 09:45:33 +01:00
Thomas Gelf 9ae4553546 Db: indentation 2016-03-03 01:47:32 +01:00
Thomas Gelf 505d3434a2 Util: fix error for any resource type, like LDAP 2016-03-03 01:21:29 +01:00
Thomas Gelf 765ef97c80 IcingaConfig: fix related activity for PostgreSQL 2016-03-02 23:53:19 +01:00
Thomas Gelf 44b9142165 Db: add 'master' fallback for single-zone setups
This makes life easier for many users with simple setups as it would
silently use a single non-global zone as the preferred deployment
zone per default.

fixes #11228
2016-03-02 23:32:25 +01:00
Thomas Gelf 06452dc78e overview: highlight missing deployment endpoint 2016-03-02 22:51:50 +01:00
Thomas Gelf d24b2a9642 Db: add more information to no-endpoint error 2016-03-02 22:26:42 +01:00
Thomas Gelf eb957ad5e4 ShowController: move binary transformation to db 2016-03-02 21:54:38 +01:00
Thomas Gelf a8a1f5b310 Db: fetchActivityLogChecksumById non-binary fetch 2016-03-02 21:47:37 +01:00
Thomas Gelf dca0ea63af IcingaConfig: check for #655 only on MySQL
PostgreSQL binary checksums are always passed as hex
2016-03-02 21:40:35 +01:00
Thomas Gelf eecb3cddf0 Db: fetch less binary data 2016-03-02 21:40:12 +01:00
Thomas Gelf 3d4052fa0c Db: fix checksum collisions for Postgres tests 2016-03-02 20:46:36 +01:00
Thomas Gelf 4e677dbc56 Forms: used templates should not be deleted 2016-03-02 19:29:35 +01:00
Thomas Gelf 6f35e3cd11 IcingaConfig: protect against ZF #655 2016-03-02 17:12:09 +01:00
Thomas Gelf 2865efde3f Db: add idPgsql helper method 2016-03-02 13:42:37 +01:00
Thomas Gelf c6196ff450 ObjectController: beautify REST API response codes
It doesn't hurt when the code matches the documentation ;)
2016-03-01 11:24:24 +01:00
Thomas Gelf 4461f3c8aa IcingaUserField: add missing field class 2016-03-01 06:40:45 +01:00
Thomas Gelf a8768c7741 IcingaUser: users should provide fields 2016-03-01 04:26:28 +01:00
Thomas Gelf 1329d01280 ActionController: helper method for JSON errors 2016-03-01 04:26:02 +01:00
Thomas Gelf 8b3d72a04a library: code style 2016-03-01 04:23:31 +01:00
Thomas Gelf ed4f34272b Db: a few more PostgreSQL fixes 2016-03-01 04:20:39 +01:00
Thomas Gelf 1561ad376b DbObject: fix lastInsertId for PostgreSQL 2016-03-01 04:11:35 +01:00
Thomas Gelf 7f0673d18c QuickTable: strip sort when couting, fixes pgsql 2016-03-01 04:11:35 +01:00
Thomas Gelf c2347b6b97 IcingaNotification: use external sets 2016-02-29 23:46:58 +01:00
Thomas Gelf 29b1253bea IcingaObject: log former related set state 2016-02-29 22:54:46 +01:00
Thomas Gelf c9a7c9d085 IcingaObject/ExtensibleSet: support toPlainObject 2016-02-29 20:05:38 +01:00
Thomas Gelf 013cc1c67d ExtensibleSet: allow global "set" 2016-02-29 19:00:52 +01:00
Thomas Gelf f97e117994 IcingaObject: load and store related sets 2016-02-29 18:57:19 +01:00
Thomas Gelf 4b46330855 ExtensibleSet: do not quote values, adjust tests 2016-02-29 18:30:32 +01:00
Thomas Gelf dcd2823a73 ExtensibleSet: do not render empty arrays 2016-02-29 18:29:58 +01:00
Thomas Gelf 62c1aec917 IcingaUser: remove obsolete states stub 2016-02-29 18:29:18 +01:00
Thomas Gelf 47f20c93a3 IcingaObject: render related sets 2016-02-29 18:19:01 +01:00
Thomas Gelf 245e632f54 ExtensibleSet: fix tests 2016-02-29 17:37:01 +01:00
Thomas Gelf c25c7ee95b IcingaConfigHelper: allow to render key/op/value 2016-02-29 17:36:12 +01:00
Thomas Gelf 74c0fc2dc6 ExtensibleSet: finish db handling 2016-02-29 17:35:41 +01:00
Thomas Gelf f2233aeaff BaseTestCase: apply migrations to test db 2016-02-29 17:34:48 +01:00
Thomas Gelf 5427df52e8 State/TypeFilterSet: add new event filter sets 2016-02-29 15:40:18 +01:00
Thomas Gelf bbcac7a00d ExtensibleSet: allow to load stored data 2016-02-29 15:39:25 +01:00
Thomas Gelf cc70193a56 ExtensibleSet: add and test renderer 2016-02-29 12:38:31 +01:00
Thomas Gelf e70de0a4af ExtensibleSet: re-order public/protected methods 2016-02-29 12:25:35 +01:00
Thomas Gelf 23dd4721ec ExtensibleSet: basic implementation & tests 2016-02-29 12:23:08 +01:00
Thomas Gelf 526659f069 controllers: remove icon tags, use link classes 2016-02-29 12:20:57 +01:00
Thomas Gelf 489fb661d9 ObjectController: no "edit" tab, got to /<object> 2016-02-28 18:07:24 +01:00
Thomas Gelf f818cb3eb6 DirectorObjectForm: redirect figured out by form
refs #11251
2016-02-28 17:11:11 +01:00
Thomas Gelf 0f1e0c182f ActionController: provide data tabs 2016-02-28 17:03:32 +01:00
Thomas Gelf ea0f58f611 IcingaUserForm: state/filter prototype, dummy...
...and still subject to changes
2016-02-28 17:02:57 +01:00
Thomas Gelf 6a44ed5616 DirectorObjectForm: fix typo
fixes #11252
2016-02-28 16:39:34 +01:00
Thomas Gelf 93469b20a0 ImportSources: remove superfluous newlines 2016-02-28 16:32:24 +01:00
Thomas Gelf 25a599cc53 DirectorObjectForm: object vars > command vars 2016-02-28 16:29:25 +01:00
Thomas Gelf 11e5ef0362 IcingaConfigHelper: empty intervals are null 2016-02-28 16:27:06 +01:00
Thomas Gelf 57463e9cf6 DirectorObjectForm: getSentOrResolvedObjectValue
Introduce new helper method and fix former bahaviour
2016-02-28 14:47:23 +01:00
Thomas Gelf f9f1298bfd IcingaObject: allow default for getResolvedProperty 2016-02-28 14:37:13 +01:00
Thomas Gelf 7d9fefd61f IcingaObject: blacklist "disabled" when inheriting 2016-02-28 14:28:27 +01:00
Thomas Gelf 8bcbf0f45a IcingaObject/Host/Service: provide interval helpers 2016-02-28 14:21:00 +01:00
Thomas Gelf 466b32ba2e object/render: allow to render resolved object 2016-02-28 14:15:56 +01:00
Thomas Gelf 4dde0eaaf6 IcingaConfigHelper: Icinga2 doesn't support 2m 30s 2016-02-28 13:55:16 +01:00
Thomas Gelf a5013cd052 IcingaConfigHelper: output should fit defined tests 2016-02-28 13:26:32 +01:00
Thomas Gelf 3ee9841bc7 IcingaConfigHelper: provide helpers for intervals 2016-02-28 12:40:11 +01:00
Thomas Gelf 36cc3213f7 object/fields: allow to abort "edit" 2016-02-28 11:15:45 +01:00
Thomas Gelf bc95c25d96 ActionController: provide central table helpers 2016-02-28 01:16:13 +01:00
Thomas Gelf 8a2bc74e29 IcingaConfig: files checksum should be files-only 2016-02-27 22:14:47 +01:00