Thomas Gelf
a4ef711ef0
SyncProperty: simplify code and form
...
fixes #12700
2016-10-29 21:25:42 +00:00
Thomas Gelf
6642d8cf74
config/diff: allow to flip shown configs, even...
...
...undeployed ones
2016-10-27 20:40:57 +00:00
Thomas Gelf
66e5158ccc
Dashboard: replace it with a modular one
...
fixes #12997
2016-10-27 17:58:31 +00:00
Thomas Gelf
d59604bd93
ServiceSet: rework sets, allow for vars and...
...
...all other service properties when adding services to a set
2016-10-25 23:12:23 +00:00
Thomas Gelf
5de24c6ec4
IcingaServiceSetForm: restructure the form
2016-10-25 23:12:23 +00:00
Thomas Gelf
7f34e4bdf3
IcingaServiceSet: improve work with imports
2016-10-25 23:12:23 +00:00
Thomas Gelf
4929f6b228
Host: show a related service set list
2016-10-25 23:12:23 +00:00
Thomas Gelf
dedaea0319
IcingaServiceSetForm: prepare custom fields
2016-10-25 23:12:23 +00:00
Thomas Gelf
bed122d906
IcingaServiceSetForm: complete description
2016-10-25 23:12:23 +00:00
Thomas Gelf
696e63b4ec
Servicesset: add controller, form and table
2016-10-25 23:12:23 +00:00
Markus Frosch
8a5c111990
IcingaServiceTable: Remove no longer used code from appliedOnes
...
refs #12033
2016-10-25 10:48:31 +02:00
Thomas Gelf
72ce3cfb33
FormDataFilter: disable 'is true / set' for now
2016-10-25 02:38:45 +00:00
Thomas Gelf
ad7c5bc997
IcingaHost: fix tests
2016-10-25 00:30:12 +00:00
Markus Frosch
b3eb5ea102
IcingaServiceTable: Update apply rule rendering
...
For new storage format, and change to table.
refs #12033
2016-10-24 14:43:52 +02:00
Thomas Gelf
0d86c24cd8
Huge change, getting rid of legacy assignment...
...
...code. All objects should work with the new code base right now
2016-10-24 03:41:37 +00:00
Thomas Gelf
aeafec37d7
FormDataFilter: simplify HTML, Code and style
2016-10-23 04:23:38 +00:00
Thomas Gelf
24478ede12
DataFilter: json_en/decode when passing to form
2016-10-23 03:14:52 +00:00
Thomas Gelf
8519a287dc
FormDataFilter: flip button order
2016-10-22 07:02:09 +00:00
Thomas Gelf
3fbf3e9115
IcingaServiceForm: use new assign_filter property
2016-10-22 07:02:09 +00:00
Thomas Gelf
8ade496fdc
DataFilter: refactor the whole class(es)
2016-10-22 07:02:09 +00:00
Thomas Gelf
037c588d26
FormDataFilter: change icon for expression
2016-10-22 07:02:09 +00:00
Thomas Gelf
9349ba0f2a
FormDataFilter: new implementation for assignments
...
First prototype
2016-10-22 07:02:09 +00:00
Thomas Gelf
1f660b514a
IcingaServiceForm: allow empty name for apply rule
2016-10-22 06:09:10 +00:00
Thomas Gelf
7c31b37f27
IcingaServiceForm: remove duplicate code
...
Elements in this list are optional and may be used in various forms,
so keeping this in the base class is preferrable here
2016-10-22 06:09:00 +00:00
Thomas Gelf
5b4e7509f4
Just a couple of phpcs complaints fixed
2016-10-22 06:08:52 +00:00
Thomas Gelf
0791b900f3
QuickBaseForm: allow translation tools find 'None'
2016-10-22 06:08:44 +00:00
Corentin Ardeois
3e30d34098
Use `config` variable in apply for rules
...
* use `config` instead of `value` in apply for rules
* update documentation
refs #11976
2016-10-22 06:07:57 +00:00
Corentin Ardeois
e7bd4343b5
Add support for Apply for rules in services
...
Apply for rules are defined through `apply_for` property
Only Array custom variables will be eligible in apply_for dropdown.
API Example:
```bash
./director-curl POST director/service?name=my_service '{"apply_for": "for (checked_tcp_port in host.vars.checked_tcp_ports)" }'
```
Will render as:
```
apply Service "my_service" for (checked_tcp_port in host.vars.checked_tcp_ports) {
...
}
```
Feature: https://dev.icinga.org/issues/11976
Depends-On: https://github.com/Icinga/icingaweb2-module-director/pull/20
refs #11976
2016-10-22 06:00:54 +00:00
Thomas Gelf
9414068eee
IcingaMultiEditForm: remove superfluous dot
2016-10-20 02:13:19 +00:00
Thomas Gelf
32790dbedc
IcingaServiceForm: move hint to custom vars group
2016-10-20 01:35:36 +00:00
Thomas Gelf
d5234f723d
HostController: no loop check for 'fake' services
...
Inherited services do not exist in the db. As many services would
carry their template's name, the fallback to a name-based loop check
would trigger an erraneous error. So we trigger no preliminary loop
check for those now.
fixes #12938
2016-10-20 01:09:34 +00:00
Thomas Gelf
8679dc8a94
Import/SyncruleController: autorefresh
2016-10-18 17:34:18 +00:00
Thomas Gelf
927d59a3b3
Datafield: provide better explainations
2016-10-17 17:48:04 +00:00
Thomas Gelf
8c2d5ec7f9
Data: flip field/list order, as fields are...
...
...more important
2016-10-17 17:24:27 +00:00
Thomas Gelf
baf0d40ea6
IcingaCommandArgumentForm: fix typo
2016-10-17 09:33:07 +00:00
Thomas Gelf
a8c37695a9
IcingaMultiEditForm: translate '' to null
2016-10-14 20:13:35 +00:00
Thomas Gelf
64147e4206
objects/form: add missing view script for multiedit
2016-10-14 19:36:59 +00:00
Thomas Gelf
23ef9a707c
MultiEdit: make it independent of an object type
2016-10-14 18:32:34 +00:00
Thomas Gelf
6a54e00402
MultiEdit: code cleanup, add custom var support
...
fixes #12465
fixes #12906
fixes #11614
2016-10-14 17:17:07 +00:00
Thomas Gelf
69237b8ae9
MultiEditForm: first shot, provides imports
...
refs #12465
2016-10-14 13:46:06 +00:00
Thomas Gelf
6f46e6b496
YesNo: new boolean-like form fields
...
fixes #12927
2016-10-14 13:39:43 +00:00
Markus Frosch
f527e31b14
Merge branch 'bugfix/endpoint-remove-import-12920'
...
fixes #12920
2016-10-13 16:54:34 +02:00
Markus Frosch
255a02cf36
IcingaEndpointForm: Render imports input only when set
...
We don't need Endpoint templates in GUI.
refs #12920
2016-10-13 16:39:55 +02:00
Thomas Gelf
71b3459540
DirectorDatafieldForm: allow to wipe all related...
...
...custom variables when removing a field
fixes #12916
2016-10-13 14:02:51 +00:00
Markus Frosch
1a2cede13f
ServiceController|IcingaServiceForm: Catching NestingError for the form to load
...
fixes #11803
2016-10-13 12:25:30 +02:00
Thomas Gelf
628df65fd4
HostController: catch NestingError when...
...
...resolving agent property
refs #11803
2016-10-13 10:05:35 +00:00
Thomas Gelf
18882324ee
ShowController: let the object provide the config
2016-10-13 09:20:39 +00:00
Thomas Gelf
c044de89de
SyncPropertyForm: allow to sync m:n relations
2016-10-12 08:59:42 +00:00
Thomas Gelf
acbce05c08
SyncRuleForm: hardcode order, add new types
...
refs #11361
2016-10-12 08:52:48 +00:00
Thomas Gelf
f2f04c44e8
ServiceSet: add CLI command, fix key
2016-10-12 07:31:00 +00:00
Thomas Gelf
fe332897be
IcingaHostServiceTable: sort host services by name
...
fixes #12752
2016-10-11 14:41:25 +00:00
Thomas Gelf
0ac7c0f448
IcingaServiceForm: fix setting submit label
2016-10-11 14:36:07 +00:00
Thomas Gelf
960fb4a3d0
IcingaServiceForm: allow to delete Services...
...
...created in an automated way while still allowing one to override
vars.
2016-10-11 14:33:44 +00:00
Konstantin Kelemen
8b4c058c47
host/agent: corrected a misleading string
2016-10-11 12:40:34 +00:00
Thomas Gelf
3423ddf605
ShowController: try hard to render erraneous...
...
...activity log entries
2016-10-09 13:12:18 +00:00
Thomas Gelf
bd3ae6d181
PropertymodifierTable: show target column if any
...
refs #12856
2016-10-06 19:37:01 +00:00
Thomas Gelf
c0a8c49d4f
show/activitylog: fallback rendering for hosts...
...
...with obsolete parents, that have been removed in the meantime
2016-10-06 16:29:50 +00:00
Thomas Gelf
f71bfb1204
SyncPropertyForm: show sorted source columns
2016-10-06 16:16:06 +00:00
Marc DeTrano
348cb1aa63
IcingaCommandArgument: allow expressions in set_if
...
fixes #12153
2016-09-23 15:18:58 +00:00
Thomas Gelf
1a3467d6d1
FormExtensibleSet: render description if any
2016-09-16 21:54:55 +00:00
Thomas Gelf
ffe16b472c
IcingaServiceForm: no override check on new object
2016-09-09 13:25:57 +00:00
Thomas Gelf
82bd6be8bf
IcingaHostGroupForm: keep internal method protected
2016-09-09 10:01:02 +00:00
Thomas Gelf
217fb38517
IcingaObject: implement supportsAssignRules
2016-09-09 09:06:31 +00:00
Thomas Gelf
b6d97171e1
ConfigController: shift checkforchanges first...
...
...would fail otherwise
2016-09-09 08:40:14 +00:00
Markus Frosch
a90595a004
IcingaHostGroup: Add apply statements
2016-09-09 08:32:42 +00:00
Thomas Gelf
29231ef8c8
config/deployments: collect uncollected stages...
...
...if any when refreshing the history
refs #11979
2016-09-09 07:21:32 +00:00
Thomas Gelf
b2b189c425
IcingaServiceForm: support use_var_overrides...
...
...even for single host-assigned services
2016-09-08 18:43:25 +00:00
Thomas Gelf
274e787cb4
CLI/service: fix issues with multi-column key
...
fixes #12014
fixes #12673
2016-09-08 18:02:47 +00:00
Thomas Gelf
cc722578b6
IcingaServiceForm: fix null modification
2016-09-08 16:19:57 +00:00
Thomas Gelf
f8ed937ffa
IcingaServiceForm: adjust overrides for host-...
...
...generated services
2016-09-08 13:10:42 +00:00
Thomas Gelf
8dd7fcd13b
IcingaHost, IcingaServiceForm: fix parse error...
...
...on PHP < 5.5
2016-09-08 11:32:41 +00:00
Thomas Gelf
6cc1a90b0a
IcingaServiceForm: handle overrides
...
fixes #12546
2016-09-08 11:25:48 +00:00
Thomas Gelf
a57dd2f505
ServicegroupsController: remove obsolete tab
2016-09-08 08:25:35 +00:00
Thomas Gelf
061705f52d
ConfigController: add settings tab and form
2016-09-05 19:16:35 +00:00
Thomas Gelf
73eca56601
locale/de_DE: recompile translations
2016-09-05 14:48:45 +00:00
Lee Clemens
960fe14355
SyncRuleForm: fix typo of policy
2016-09-05 14:47:29 +00:00
Thomas Gelf
029907f01f
TimePeriodRange: ranges should be more generic...
...
...as they will not only be used in timeperiods
2016-08-31 16:23:23 +00:00
Thomas Gelf
a64e36b111
Settings: remove all legacy getSettings calls
2016-08-30 07:52:48 +00:00
Thomas Gelf
336257680c
Settings: remove settings logic from DB...
...
...and keep helper method for easy instantiation
2016-08-27 13:20:03 +00:00
Thomas Gelf
b6d59b9aca
IcingaCommand: fix skip_key handling
...
refs #11554
refs #11918
2016-08-26 07:00:45 +00:00
Thomas Gelf
7323f73327
IcingaCommandArgumentTable: show arguments sorted
2016-08-25 20:49:56 +00:00
Thomas Gelf
8c42e0f7d6
IcingaCloneObjectForm: get cloned id AFTER store
...
fixes #11856
2016-08-24 14:49:11 +00:00
Thomas Gelf
cb59c61d66
ServicesController: remove Services tab
...
fixes #12324
2016-08-23 16:06:05 +00:00
Thomas Gelf
84b035ec24
objects/tree: enable autorefresh...
...
...and some coding style fixes
fixes #12451
2016-08-23 15:11:42 +00:00
Thomas Gelf
b5d6139893
ImportsourceController: do not show status unless...
...
...we show them
2016-08-23 14:26:06 +00:00
Thomas Gelf
204972eb7e
ImportRowModifierForm: superfluous whitespace
2016-08-23 14:23:18 +00:00
Thomas Gelf
6f5feda5e0
config/file: quickfix for check command links
2016-08-23 14:22:06 +00:00
Thomas Gelf
56a7cb285d
host/services: show inherited services...
...
...and magically applied ones
2016-08-23 14:18:54 +00:00
Thomas Gelf
fbd1adba39
IcingaHostAppliedForServiceTable: new table
2016-08-23 14:04:48 +00:00
Thomas Gelf
9ccab4c9cf
ServiceController: show host if any
2016-08-23 13:48:44 +00:00
Thomas Gelf
d311b15399
IcingaCommandArgumentForm: trim argument name
...
fixes #11548
2016-08-02 11:13:43 +00:00
Thomas Gelf
54643fe5cd
IcingaArguments: fix argment removal for forms
...
fixes #11536
2016-08-01 11:06:52 +00:00
Thomas Gelf
52e412002f
IcingaCommandArgumentForm: store command, not args
...
refs #11536
2016-08-01 10:45:47 +00:00
Thomas Gelf
a4d6ed1b6e
show/activitylog: render and diff related files
...
fixes #12265
2016-08-01 07:05:21 +00:00
Thomas Gelf
2aa8a55c3b
deployment: link files with errors...
...
...and others, at least before 2.5.0
2016-07-28 07:13:07 +00:00
Thomas Gelf
c46f9d52e6
config/file: link to generated objects
2016-07-28 07:11:09 +00:00
Thomas Gelf
247ff40459
cli/config: add profiler
2016-07-22 17:20:57 +02:00
Thomas Gelf
0a33e4f1ed
CLI: support commands
...
refs #12202
2016-07-22 02:17:06 +02:00
Lee Clemens
b93f83eddc
fix typo
2016-07-21 22:39:00 +02:00
Lee Clemens
fe0da623a7
Fix it's and lot's contractions
...
"it's" means "it is", whereas "its" is possessive
2016-07-21 22:37:28 +02:00
Thomas Gelf
805a7c687c
JobsCommand: support standalone 'forever' as...
...
...shown in the documentation
2016-07-20 17:42:33 +02:00
Thomas Gelf
9a6320c2f4
ImportSource: use target_property for transforms
2016-07-20 15:21:07 +02:00
Thomas Gelf
f12e4b2033
ImportSource: provide applyModifiers helper method
2016-07-20 14:25:18 +02:00
Thomas Gelf
29564ab742
ImportSource: take over duplicated transform logic
2016-07-20 14:19:20 +02:00
Thomas Gelf
d90bb05ca2
ImportRowModifier: provide target_property...
...
...also adjust the related form
refs #11949
2016-07-20 13:41:16 +02:00
Thomas Gelf
38bf19eb92
ImportSource: take over modifier loading logic
2016-07-20 13:40:43 +02:00
Thomas Gelf
225e9beec6
ImportRowModifier: reduce instantiated objects
2016-07-20 12:59:02 +02:00
Thomas Gelf
70f8a8986e
ImportedrowsTable: benefit from new ImportRun
2016-07-13 21:36:45 +02:00
Thomas Gelf
fa155d4738
ImportrunTable: one more thing todo
2016-07-13 11:21:54 +02:00
Thomas Gelf
bcbe321063
Importrun: add dedicated view script, improve...
...
...controller
2016-07-13 10:19:51 +02:00
Thomas Widhalm
1759c080d1
locale/de_DE: refresh German translation
2016-06-28 14:45:32 +02:00
Thomas Gelf
a078efd032
JobsCommand: really run also single jobs
2016-06-28 14:35:03 +02:00
Thomas Gelf
e858539d2b
ConfigCommand: fix --force
2016-06-28 14:17:49 +02:00
Thomas Gelf
31e1b27628
importsource: fix another typo
2016-06-28 12:31:12 +02:00
Thomas Gelf
22c040e6c4
host/agent: no configs with no ticket
2016-06-28 12:08:20 +02:00
Thomas Gelf
050ed43035
SyncCheckForm: notify also on check
2016-06-28 10:59:26 +02:00
Thomas Gelf
3c8d82d25f
JobTable: show error in table if any
2016-06-28 10:28:53 +02:00
Thomas Gelf
0bac63cc41
job: remove property debug output
2016-06-28 09:23:10 +02:00
Thomas Gelf
79600c2626
IcingaHostForm: allow to set command_endpoint
...
fixes #11759
2016-06-28 03:21:39 +02:00
Thomas Gelf
4de8bfd88c
host/agent: provide Windows newlines
2016-06-28 02:01:05 +02:00
Thomas Gelf
f7ddbaf2d7
host/agent: provide download for Windows Agent
2016-06-28 01:55:43 +02:00
Thomas Gelf
c7c1bfe998
IcingaServiceForm: prepare support for...
...
...host-generated services
2016-06-26 16:38:34 +02:00
Thomas Gelf
4f7647c258
ShowController: remove legacy 'disabled' check
2016-06-26 16:34:36 +02:00
Thomas Gelf
8068fa4e03
ListController: add autorefresh for sync and import
2016-06-26 16:30:58 +02:00
Thomas Gelf
1915e4c42b
ImportrunController: cleanup
2016-06-26 16:30:12 +02:00
Thomas Gelf
6cf7c8739f
ImportsourceTable: link to preview, not edit
2016-06-26 16:07:26 +02:00
Thomas Gelf
6e4940d712
Importsource: drop run action
2016-06-26 15:56:35 +02:00
Thomas Gelf
c969d4c775
Importsource: add new preview and related forms
2016-06-26 15:51:05 +02:00
Thomas Gelf
4c70a61060
ListController: get rid of global import history
2016-06-26 15:48:39 +02:00
Thomas Gelf
4c9c72d057
JobsCommand: shift 'forever' before checking for...
...
...single job name
fixes #12043
2016-06-26 13:53:58 +02:00
Thomas Gelf
d0f7906f8b
SyncCheck/RunForm: use custom buttons
...
This allows to render them together
2016-06-26 13:52:25 +02:00
Thomas Gelf
97e52b231d
ImportsourceController: fix redirect after delete
2016-06-25 23:39:28 +02:00
Thomas Gelf
177982fba3
SyncruleTable: remove 'run' links
2016-06-25 23:04:17 +02:00
Thomas Gelf
6e560d2c0f
Syncrule: load and render preview and run forms
2016-06-25 23:03:21 +02:00
Thomas Gelf
e71dcea9d6
SyncRun/CheckForm: add new forms
2016-06-25 23:01:30 +02:00
Thomas Gelf
3d0a31127c
SyncruleController: distinct between failed and...
...
...no change
2016-06-24 16:59:36 +02:00
Thomas Gelf
3f883ed98b
syncrule/index: add missing index file
...
fixes #12031
2016-06-24 09:15:30 +02:00
Thomas Gelf
b77f71f22a
SyncruleController: add summary tab, reordered
2016-06-24 08:40:18 +02:00
Thomas Gelf
d4c2c7bc36
syncrule/history: split view script logic
2016-06-24 08:38:18 +02:00
Thomas Gelf
7bb55fadbd
SyncruleController: base logic on SyncRule
2016-06-23 22:59:33 +02:00
Thomas Gelf
4cdf549afb
JobsCommand: stop running after one day or...
...
...when more than 100MB of memory are still in use after the last job
execution.
2016-06-23 16:11:28 +02:00
Thomas Gelf
bde3830369
SyncruleTable: show eventual error message
...
refs #11992
2016-06-20 18:24:50 +02:00
Thomas Gelf
046aa0fb76
IcingaCommandArgumentTable: allow to click...
...
...argments without key
2016-06-20 16:49:20 +02:00
Thomas Gelf
c5811fe055
JobsCommand: switch default, do not run forever
...
This reflects former behaviour, as this has already been documented
for cronjob usage
2016-06-17 16:18:02 +02:00
Thomas Gelf
b5fddd60fe
DirectorJobForm: allow to choose time period
2016-06-17 14:23:34 +02:00
Thomas Gelf
35d4a08632
DirectorObjectForm: add extra properties
...
fixes #11579
2016-06-17 09:38:48 +02:00
Thomas Gelf
057ea83aa5
IcingaCommandArgumentForm: fix redirect on store
...
fixes #11523
2016-06-16 22:42:56 +02:00
Thomas Gelf
7038987966
IcingaObjectAssignmentTable: remove obsolete table
2016-06-16 14:51:07 +02:00
Thomas Gelf
c521f1439a
IcingaHostServiceTable: allow to override title
2016-06-16 14:50:24 +02:00
Thomas Gelf
a79883af3e
Importsource: add single source history
2016-06-16 14:47:12 +02:00