Commit Graph

481 Commits

Author SHA1 Message Date
Markus Frosch c73be6b976 QuickTable: Ignore _dev parameter for the filter 2016-07-07 08:57:45 +02:00
Thomas Gelf 5e2de81767 DirectorObjectForm: prefer sent over inherited 2016-06-27 23:04:02 +02:00
Thomas Gelf 4c70a61060 ListController: get rid of global import history 2016-06-26 15:48:39 +02:00
Thomas Gelf 3b4b85374d QuickForm: fully respect false submit label 2016-06-26 14:02:21 +02:00
Thomas Gelf 97e52b231d ImportsourceController: fix redirect after delete 2016-06-25 23:39:28 +02:00
Thomas Gelf 7438b07c91 DirectorObjectForm: remove superfluous outdated...
...imported objects refresh
2016-06-17 20:42:12 +02:00
Thomas Gelf 35d4a08632 DirectorObjectForm: add extra properties
fixes #11579
2016-06-17 09:38:48 +02:00
Thomas Gelf 271dc6add5 DirectorObjectForm: addd brackets to be on the...
...safe side for all PHP versions
2016-06-16 17:00:09 +02:00
Thomas Gelf 144b20afc8 DirectorObjectForm: getSentOrObjectValue should...
...not fail on missing elements
2016-06-16 14:17:40 +02:00
Thomas Gelf 6254a0de3a ActionController: remove render() call 2016-06-16 14:14:38 +02:00
Thomas Gelf 12764c8482 Web/Controller: replace this->render() 2016-06-13 20:06:58 +02:00
Thomas Gelf 04a9a12d84 ExtensibleSet: fix phpcs complaint 2016-06-12 11:14:12 +02:00
Thomas Gelf 78c984068a ObjectController: remove last traces of isDisabled 2016-06-12 11:05:16 +02:00
Thomas Gelf cc9f5037f4 IcingaNotificationForm: enforce & render apply to
fixes #11895
2016-06-09 23:49:02 +02:00
Thomas Gelf baf6d8f62f DirectorObjectForm: hardcode boolean handling 2016-05-25 15:25:21 +02:00
Thomas Gelf d1af897114 ObjectController: allow for graceful tabs 2016-05-25 08:12:42 +02:00
Thomas Gelf d01194a7b4 QuickForm: optimize runtime order 2016-05-24 20:25:16 +02:00
Thomas Gelf 0ce8a29b52 Boolean: form sends '' for null value 2016-05-24 19:59:02 +02:00
Thomas Gelf d435ca37f7 IcingaNotificationForm: fix timeperiod loading
fixes #11576
2016-05-23 13:00:32 +02:00
Thomas Gelf dca6cc8a01 ExtensibleSet: respect strings when filtering 2016-05-20 10:46:01 +02:00
Thomas Gelf eb52918711 ExtensibleSet: do not array-filter when null 2016-05-20 10:40:58 +02:00
Thomas Gelf 5952de5841 DirectorObjectForm: make use of element filters 2016-05-20 08:37:46 +02:00
Thomas Gelf 0a475e3bcb DirectorObjectForm: remove imports exception...
...this is already handled by the object itself
2016-05-20 08:37:02 +02:00
Thomas Gelf df2a5899f6 ExtensibleSet: remove empty strings at filter time 2016-05-20 08:13:13 +02:00
Thomas Gelf 88c28db54f ObjectController: fix typo avoiding rendering...
...of disabled objects
2016-05-19 22:11:09 +02:00
Thomas Gelf 7622200f2e Element/Boolean: ignore PHPCS violation as of ZF1 2016-05-19 20:54:18 +02:00
Thomas Gelf 5f1a21e1f0 ActivityLogTable: override render to get rid of...
...initial tbody. Ugly.
2016-05-19 15:23:49 +02:00
Thomas Gelf 8a6f7c0e38 ExtensibleSet: remove empty components
fixes #11360
2016-05-19 15:02:30 +02:00
Thomas Gelf 41731241c5 DataTypeBoolean: provide a new data type
fixes #11594
2016-05-19 14:59:25 +02:00
Thomas Gelf da5ee55abf ViewHelperRaw: add new form decorator showing...
...raw, unfiltered values
2016-05-19 14:53:41 +02:00
Thomas Gelf 728c0745ae DirectorObjectForm: provide setSentValue helper 2016-05-13 14:13:48 +02:00
Thomas Gelf 576d62da26 IcingaObject: use resolved zone for apply/tpl 2016-05-10 20:23:45 +02:00
Thomas Gelf 24b201db13 Object/CommandController: unify titles 2016-05-03 09:09:01 +02:00
Thomas Gelf 3d03baff38 Object/HostController: delegate preview rendering 2016-05-03 09:07:28 +02:00
Thomas Gelf 32009ce458 DirectorObjectForm: require imports for all...
...non-template objects
2016-04-03 21:32:49 +02:00
Thomas Gelf e4b609c647 DirectorObjectForm: allow missing elements...
...when defining display groups, but only specific ones. I still want
to see exceptions for all the others
2016-03-30 19:51:29 +02:00
Thomas Gelf d6be2e777c DirectorObjectForm: add max_check_attempts 2016-03-30 19:19:00 +02:00
Thomas Gelf 078e46df60 ServiceController: beforeHandlingAddRequest hook 2016-03-29 19:32:50 +02:00
Thomas Gelf c1185106fa ObjectController: failsafe api access 2016-03-29 19:27:54 +02:00
Thomas Gelf f25b47e1bc DirectorObjectForm: fix exception on no data 2016-03-29 18:50:52 +02:00
Thomas Gelf f2dc9c59e5 DirectorObjectForm: provide check_period element 2016-03-27 23:58:44 +02:00
Thomas Gelf fd1bc38609 DirectorObjectForm: blacklist ids not names...
...when fetching allowed templates
2016-03-27 12:55:05 +02:00
Thomas Gelf dc43a40b41 ObjectController: use setViewScript, not render 2016-03-26 16:45:06 +01:00
Thomas Gelf aee65a706a QuickSubForm: one more forgotten file 2016-03-26 16:21:23 +01:00
Thomas Gelf ec97306e66 DirectorObjectForm: handle data from/for assigns 2016-03-24 11:42:58 +01:00
Thomas Gelf e1acf37ac4 QuickTable: more access, give varname more sense 2016-03-24 10:50:06 +01:00
Thomas Gelf d7b765bd04 QuickTable: fix counting bugy 2016-03-24 02:55:23 +01:00
Thomas Gelf b09593ff75 DirectorObjectForm: move valueIsEmpty to QuickBase 2016-03-24 02:27:10 +01:00
Thomas Gelf 5fc16f393d QuickBaseForm: take over parts of QuickForm 2016-03-24 01:59:50 +01:00
Thomas Gelf 324e15e2b5 QuickForm: add helper for shorter display group...
...definitions
2016-03-22 23:43:47 +01:00
Thomas Gelf ca6a9677bc ServiceController: prefix "add service" with host 2016-03-22 19:09:21 +01:00
Thomas Gelf e753a741d9 ObjectContoller: allow to edit external ApiUser...
...and Endpoint objects

fixes #11429
2016-03-22 18:19:13 +01:00
Thomas Gelf 1ca627f66c DirectorObjectForm: use valueIsEmpty 2016-03-22 02:56:10 +01:00
Thomas Gelf a752100da4 ObjectsController: add quicksearch element 2016-03-22 02:13:35 +01:00
Thomas Gelf 16bc8bf6b3 QuickForm: add missing beforeSetup hook 2016-03-22 02:09:37 +01:00
Thomas Gelf 5faf7c8612 IcingaHostForm: just a lame form field 2016-03-22 02:02:25 +01:00
Thomas Gelf 712dc6c9b7 DirectorObjectForm: handle ordering before setup 2016-03-22 01:34:21 +01:00
Thomas Gelf afde1806f7 QuickForm: add beforeSetup hook 2016-03-22 01:26:44 +01:00
Thomas Gelf 747fd966d2 DirectorObjectForm: refactor getSentOrObjectValue 2016-03-22 00:22:54 +01:00
Thomas Gelf 5e540880e5 Revert "DirectorObjectForm: do not set null defaults"
This reverts commit ce7b6031ff.

Broke quite some forms
2016-03-21 22:51:03 +01:00
Thomas Gelf c36093d350 ObjectController: combine preview & external info 2016-03-21 21:24:22 +01:00
Thomas Gelf 75f8872962 QuickForm: allow for named hints
This is necessary as I want to refer to them in display groups
2016-03-21 19:08:21 +01:00
Thomas Gelf ce7b6031ff DirectorObjectForm: do not set null defaults 2016-03-21 13:20:16 +01:00
Thomas Gelf 98b7b7be3f ActionController: commit missing helper method 2016-03-21 12:12:33 +01:00
Thomas Gelf 3fcb0d9849 controllers/filter: shift modifyFilter 2016-03-21 12:11:33 +01:00
Thomas Gelf 33d323286e ObjectsController: introduce quick search 2016-03-20 15:09:58 +01:00
Thomas Gelf 4f219992d8 objects: add compact quicksearch element 2016-03-20 13:18:55 +01:00
Thomas Gelf 7cd77c75ba Controllers: unify titles 2016-03-20 13:14:49 +01:00
Thomas Gelf d2de1f2eab ObjectController: improve clone link, rendering 2016-03-20 12:14:48 +01:00
Thomas Gelf 99302d40f4 IcingaService: fix redirection for host services 2016-03-20 12:04:06 +01:00
Thomas Gelf 547b13d53f ObjectController: show object name, not 'Modify..' 2016-03-20 12:00:49 +01:00
Thomas Gelf 2dd694f3ec ActionController: add viewscript helper 2016-03-20 11:19:16 +01:00
Thomas Gelf 775363e281 Monitoring: add monitoring integration helper 2016-03-20 11:18:44 +01:00
Thomas Gelf 65a881ca80 DirectorObjectForm: fix lost pointer issue
This has been a scary one :p

fixes #11409
fixes #11410
2016-03-18 21:16:25 +01:00
Thomas Gelf 0a022644b4 DirectorObjectForm: require imports for objects 2016-03-18 15:04:23 +01:00
Thomas Gelf 7ca46b1ab5 ObjectController: show info, no form for externals 2016-03-18 14:58:46 +01:00
Thomas Gelf 4417d58349 DirectorObjectForm: do not allow external objects 2016-03-18 14:39:00 +01:00
Thomas Gelf 906644cb18 DirectorObjectForm: no object type change allowed 2016-03-18 14:36:57 +01:00
Thomas Gelf 944701c725 ObjectController: remove superfluous sprintf 2016-03-18 13:37:15 +01:00
Thomas Gelf 574cb91093 DirectorObjectForm: add form field ordering 2016-03-18 13:01:27 +01:00
Thomas Gelf 6bd8a492b6 ObjectController: add beforeTabs hook 2016-03-18 11:44:48 +01:00
Thomas Gelf 85b26822c0 DirectorObjectForm: failsafe check for object_type 2016-03-18 11:38:08 +01:00
Thomas Gelf 2c8b16893c DirectorObjectForm: fix strange notifications
...like "The operty has been modified"
2016-03-17 08:47:59 +01:00
Thomas Gelf 6ea94dd7a2 DirectorObjectForm: no elements for unknown vars 2016-03-17 02:27:06 +01:00
Thomas Gelf 0119e0f4a2 DirectorObjectForm: add and use isNew helper 2016-03-17 01:42:57 +01:00
Thomas Gelf 83b85a1868 ObjectController: autorefresh history 2016-03-16 23:22:43 +01:00
Thomas Gelf 6e5fa49e1a DirectorObjectForm: fix booleans 2016-03-16 23:20:36 +01:00
Thomas Gelf 782667e6b9 object/history: use activity log styling 2016-03-16 22:50:35 +01:00
Thomas Gelf 433cb887c0 IcingaNotificationForm: add related user(-groups) 2016-03-16 14:07:09 +01:00
Thomas Gelf 0febe231ab QuickTable: use plain object renderer 2016-03-15 16:25:15 +01:00
Thomas Gelf 7209f162b2 IcingaNotificationForm: add times to main group 2016-03-12 01:44:28 +01:00
Thomas Gelf 23b1b008a8 ObjectController: REST API 422 was too strict 2016-03-12 01:36:58 +01:00
Thomas Gelf f971839f82 Notification: form and rendering improvements 2016-03-12 01:35:24 +01:00
Thomas Gelf b6dc8e5faf Db, DirectorObjectForm: support notifications 2016-03-11 09:07:22 +01:00
Thomas Gelf 98ffe3628d DirectorObjectForm: commands -> templates, not obj 2016-03-10 21:14:20 +01:00
Thomas Gelf d3957c276c application/forms: more object form abstraction 2016-03-10 20:44:12 +01:00
Thomas Gelf e8a28a12da DirectorObjectForm: replace state filter helpers 2016-03-10 19:32:29 +01:00
Thomas Gelf 5a5587eaab DirectorObjectForm: style 2016-03-10 19:06:02 +01:00
Thomas Gelf be637551be application/forms: unify and clean up group forms 2016-03-09 20:55:26 +01:00
Thomas Gelf a3c7e57333 DirectorObjectForm: fix typo 2016-03-09 19:37:50 +01:00
Thomas Gelf 6105ae4386 FormExtensibleSet: fix add button 2016-03-09 09:45:06 +01:00
Thomas Gelf fda920d3ad DirectorObjectForm: inheritance error for arrays 2016-03-09 09:26:36 +01:00
Thomas Gelf 1d4b508ff3 different files: style 2016-03-08 22:30:12 +01:00
Thomas Gelf 7ef09b99dc ObjectController: remove obsolete sprintf 2016-03-07 18:37:49 +01:00
Thomas Gelf 572ac3ad4c DirectorObjectForm: lazy relations only for Icinga 2016-03-07 18:22:19 +01:00
Thomas Gelf 2826408c72 DirectorObjectForm: improve 'imports' element 2016-03-07 14:54:06 +01:00
Thomas Gelf da29da0065 forms/Icinga*: choose type first, then go on 2016-03-07 14:20:58 +01:00
Thomas Gelf aa53d57ec8 DirectorObjectForm: no default object_type 2016-03-07 14:14:52 +01:00
Thomas Gelf 8da2991e76 DirectorObjectForm: object knows redirect params 2016-03-07 13:41:30 +01:00
Thomas Gelf 4974d1a850 ObjectController: fix 'back' link style 2016-03-07 08:59:17 +01:00
Thomas Gelf fd757054e7 ObjectController: enforce object only for REST API
refs #11315
2016-03-06 20:25:06 +01:00
Thomas Gelf e5429ab1f3 ObjectController: improve object loading 2016-03-06 14:20:49 +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 3134630f86 ConfigHealthItemRenderer: use Migrations
fixes #11263
2016-03-05 17:23:40 +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 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 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 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 4e677dbc56 Forms: used templates should not be deleted 2016-03-02 19:29:35 +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 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 7f0673d18c QuickTable: strip sort when couting, fixes pgsql 2016-03-01 04:11:35 +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 6a44ed5616 DirectorObjectForm: fix typo
fixes #11252
2016-02-28 16:39:34 +01:00
Thomas Gelf 25a599cc53 DirectorObjectForm: object vars > command vars 2016-02-28 16:29:25 +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 466b32ba2e object/render: allow to render resolved object 2016-02-28 14:15:56 +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 a41f146679 object: show pending changes, offer deployment 2016-02-27 12:23:00 +01:00
Thomas Gelf 84a788f36c index: re-organize menu and overview link 2016-02-27 02:02:43 +01:00
Thomas Gelf da2ad842fa DirectorObjectForm: provide filter enums 2016-02-26 15:52:03 +01:00
Thomas Gelf 4bc5afb2f8 library/Director: fix PSR2 complaints 2016-02-26 11:58:37 +01:00
Thomas Gelf 39f789aa7b DirectorObjectForm: allow to choose apply rule type 2016-02-24 21:40:03 +01:00
Thomas Gelf c65d042ed4 ObjectController: re-order tabs, fields to the right 2016-02-24 21:38:42 +01:00