Alexander Fuhr
bea63149c6
Db: Fix the where clause for the object_type
2015-06-23 12:56:59 +02:00
Thomas Gelf
32cca9d2c6
IcingaConfig: fix activity links
2015-06-18 11:01:45 +02:00
Thomas Gelf
48d876556c
GeneratedConfig: add simple "show" support
2015-06-18 10:54:44 +02:00
Thomas Gelf
4ca3583fff
CustomVariable: forgot to implement ConfigRenderer
2015-06-18 09:42:05 +02:00
Alexander Fuhr
a80c295314
IcingaConfig: generate and store if modified
...
resolves #9434
2015-06-17 19:03:23 +02:00
Alexander Fuhr
ef537160f7
IcingaObjectGroups: Fix empty groups rendering
...
fixes #9432
2015-06-17 12:30:59 +02:00
Alexander Fuhr
6fcb16ced8
IcingaConfig: Rename fromDb() to generate()
2015-06-17 11:29:55 +02:00
Alexander Fuhr
bcbee81fa0
DirectorObjectForm: Fix typo
2015-06-17 11:21:44 +02:00
Alexander Fuhr
85b26041f9
DirectorObjectForm: Fix typo and so on
2015-06-17 11:18:44 +02:00
Thomas Gelf
b15e814151
Forms: centralize groups property loading
2015-06-17 11:11:25 +02:00
Thomas Gelf
a25bb80004
IcingaConfig: add more object types
2015-06-17 10:53:41 +02:00
Thomas Gelf
ed8e472cba
IcingaConfigFile: remove different implementations
...
One size fits all ;)
2015-06-17 10:03:31 +02:00
Thomas Gelf
774174052a
DirectorObjectForm: fix exception on groupless objects
2015-06-17 10:02:29 +02:00
Alexander Fuhr
616892984d
Groups: Add generic Groups support
...
resolves #9427
2015-06-16 17:58:47 +02:00
Alexander Fuhr
e9e9f91fee
IcingaConfigHelper: Use config renderer and escape strings
2015-06-16 17:54:38 +02:00
Alexander Fuhr
61414cbadc
IcingaConfig: Add an IcingaConfigRenderer Interface
2015-06-16 17:52:06 +02:00
Alexander Fuhr
193cb60604
Groups: Add groups support to User, Host and Service
2015-06-16 17:51:01 +02:00
Thomas Gelf
a9b9342092
DirectorObjectForm: add dummy element for db vars
2015-06-15 17:16:43 +02:00
Thomas Gelf
49abd08ec3
CustomVariables: implement iterator and countable
2015-06-15 17:16:09 +02:00
Thomas Gelf
828a4a709b
IcingaObject: die when there was no error handler
2015-06-15 16:36:51 +02:00
Thomas Gelf
91dde44441
CustomVariables: add load from db support
2015-06-15 16:35:18 +02:00
Thomas Gelf
fbc56df500
CustomVariableDictionary: rudimentary rendering
2015-06-15 14:51:06 +02:00
Thomas Gelf
212a36a858
CustomVariableArray: move renderArray to config helper
2015-06-15 14:32:35 +02:00
Thomas Gelf
774957cfe7
IcingaObject: allow to override renderCustomVars
2015-06-15 14:23:15 +02:00
Alexander Fuhr
0e785274bf
IcingaHostObject: Fix typo in renderVolatile method
2015-06-15 09:57:48 +02:00
Alexander Fuhr
f103434468
Merge branch 'master' of git.icinga.org:icingaweb2-module-director
2015-06-12 13:42:16 +02:00
Alexander Fuhr
ce51563356
Add Users to show/config file
2015-06-12 13:41:38 +02:00
Thomas Gelf
417c15677f
IcingaConfig: just a newline
2015-06-12 13:38:49 +02:00
Thomas Gelf
47c95be455
CustomVariableArray: temporary ugly array diff fix
2015-06-12 13:38:06 +02:00
Alexander Fuhr
8ae4ed6bfa
Add UserGroupMember management
2015-06-12 13:16:41 +02:00
Alexander Fuhr
49f7afc2ff
Add IcingaUserGroupMember Object
2015-06-12 13:15:55 +02:00
Alexander Fuhr
f02c5e6f1d
UserGroup: Conform the class and file naming
2015-06-12 12:07:53 +02:00
Alexander Fuhr
8b22a3ee81
ServiceGroup: Conform the class and file naming
2015-06-12 12:02:51 +02:00
Alexander Fuhr
9f7ff8276d
HostGroupMember: Conform the class and file naming
2015-06-12 11:55:15 +02:00
Alexander Fuhr
4febd5c635
HostGroup: Conform the class and file naming
2015-06-12 11:51:12 +02:00
Alexander Fuhr
750ed26ef6
Object/IcingaUser: Add boolean render methods to affected properties
2015-06-12 11:11:51 +02:00
Alexander Fuhr
db58cb8882
Object/IcingaService: Add boolean render methods to affected properties
2015-06-12 11:01:26 +02:00
Alexander Fuhr
7e815e70d7
Object/IcingaHost: Add boolean render methods to affected properties
2015-06-12 10:47:05 +02:00
Thomas Gelf
f354d3c034
IcingaConfig: improve prefix/intendation handling
2015-06-11 23:02:43 +02:00
Thomas Gelf
ccca0f85b0
IcingaObject: generate an empty line between objects
2015-06-11 22:49:06 +02:00
Thomas Gelf
a250d4730b
IcingaConfig: add a couple of config files
2015-06-11 22:48:41 +02:00
Thomas Gelf
e4e31268c2
DbObject: add loadAll method
2015-06-11 22:48:07 +02:00
Thomas Gelf
6475e0495a
IcingaConfigHelper: move to IcingaConfig namespace
2015-06-11 22:44:17 +02:00
Thomas Gelf
eaea917c1f
IcingaCommand: render methods_execute as execute
2015-06-11 22:01:12 +02:00
Thomas Gelf
24fff442e0
DbObject: separate setting db properties
2015-06-11 22:00:36 +02:00
Thomas Gelf
b4ffd5f02d
IcingaObject: control intendation here. Really?
2015-06-11 21:34:12 +02:00
Thomas Gelf
00162bccf8
CustomVariable: lots of rendering improvements
2015-06-11 21:33:47 +02:00
Thomas Gelf
29230ad7b5
IcingaConfigHelper: fix backslash encoding
2015-06-11 21:32:46 +02:00
Thomas Gelf
aaae6c02c6
IcingaConfigHelper: no predefined prefix
2015-06-11 21:32:29 +02:00
Thomas Gelf
b2f66b3995
CustomVariables: implement and use basic rendering
2015-06-11 19:46:36 +02:00
Thomas Gelf
93ead1f68e
CustomVariables: add render support
2015-06-11 19:23:18 +02:00
Thomas Gelf
57d443157f
IcingaObject: allow to access custom vars
2015-06-11 19:18:47 +02:00
Thomas Gelf
8184605c32
CustomVariables: fix typo
2015-06-11 19:12:20 +02:00
Alexander Fuhr
26e4d4ff0e
CustomVariable: Fix some mistakes
2015-06-11 10:39:12 +02:00
Thomas Gelf
8669d4be38
CustomVariable: added new playground and prototypes
2015-06-11 08:15:51 +02:00
Thomas Gelf
db29f4b6c6
IcingaConfigHelper: improved string escaping
2015-06-11 08:12:54 +02:00
Thomas Gelf
c8576ea2db
Revert "DbObject: do not treat an empty string as null"
...
This was needed as we get empty strings from form fields. Should be
fixed in our forms, restoring former behavior right now.
This reverts commit 03ad5f7376
.
2015-06-11 08:11:15 +02:00
Thomas Gelf
38221e0605
IcingaConfigHelper: add reserved words
2015-06-11 07:52:26 +02:00
Thomas Gelf
9e52629d6e
IcingaObject: move render helpers to helper class
...
Introduced IcingaConfigHelper, as not only IcingaObject classes will
need those helper methods. Calls are static right now.
2015-06-11 07:44:22 +02:00
Thomas Gelf
03ad5f7376
DbObject: do not treat an empty string as null
2015-06-10 19:12:07 +02:00
Alexander Fuhr
ff6ed55c4b
renderCustomVars: Add todo about escaping of reserved words
2015-06-10 15:40:45 +02:00
Alexander Fuhr
db8059c4b7
ServiceVars: Add form, table, object and actions
2015-06-09 11:55:48 +02:00
Alexander Fuhr
5412254d83
TimePeriod: Conform the naming
2015-06-09 10:35:02 +02:00
Thomas Gelf
12cbb83044
IcingaZone: fix erraneous parameter order
2015-06-08 20:40:51 +02:00
Alexander Fuhr
a9e879b72f
IcingaZone: Fix missing semicolon
2015-06-08 15:28:56 +02:00
Thomas Gelf
9b34ba6848
IcingaHost: render boolean property, sample
2015-06-08 14:42:28 +02:00
Thomas Gelf
37b5f5ddc7
IcingaHost: show how to state custom var support
2015-06-08 14:42:12 +02:00
Thomas Gelf
d2bb7fc9de
IcingaHost, IcingaService: render check_command name
2015-06-08 14:41:40 +02:00
Thomas Gelf
8306787383
IcingaZone: render parent zone names
2015-06-08 14:40:46 +02:00
Thomas Gelf
88d87b1e5c
QuickForm: add preValidation hook
...
Allows to modify form properties depending on submitted values before
validating them
2015-06-08 14:38:54 +02:00
Thomas Gelf
b4fdb6b64e
IcingaObject: add first rendering examples
2015-06-08 14:37:33 +02:00
Thomas Gelf
f848a170d5
Db: caching command/zone name lookup methods
2015-06-08 14:37:02 +02:00
Thomas Gelf
26621f5ab1
IcingaObject: add generic helper methods
2015-06-08 13:02:09 +02:00
Alexander Fuhr
4c1c4e7d2a
ServiceGroupMembers: Add form, table, object and actions
2015-06-03 14:59:29 +02:00
Alexander Fuhr
0c66f23430
Service: Add form, table, object and actions
2015-06-03 14:34:54 +02:00
Alexander Fuhr
7d99342274
Timeperiod: Add form, table, object and actions
2015-06-03 13:02:44 +02:00
Alexander Fuhr
c61656c46c
HostgroupVars: Add form, table, object and actions
2015-06-03 12:05:50 +02:00
Alexander Fuhr
a4a97db6c3
HostgroupMember: Add form, table, object and actions
2015-06-02 17:37:54 +02:00
Alexander Fuhr
7e84b564f6
QuickTable: render only columns with titles
2015-06-02 17:32:19 +02:00
Alexander Fuhr
4a5c425056
DirectorObjectForm: automagic ugly host/hostgroup handling
2015-06-02 17:31:02 +02:00
Alexander Fuhr
0793c1cc55
DirectorObjectForm: no automagic hidden id if no such
2015-06-02 17:29:58 +02:00
Alexander Fuhr
a130f92d37
Db: add enumHostgroups
2015-06-02 17:29:07 +02:00
Alexander Fuhr
43982b6c3a
DbObject: fix multicolumn primary keys
2015-06-02 17:27:36 +02:00
Alexander Fuhr
a991e6815d
Usergroup: Add form, table, object and actions
2015-06-02 14:19:05 +02:00
Alexander Fuhr
8d25b84f20
Servicegroup: Add form, table, object and actions
2015-06-02 11:56:42 +02:00
Alexander Fuhr
0459ec95f9
Hostgroup: Add form, table, object and actions
2015-06-02 10:49:31 +02:00
Alexander Fuhr
b74d26808f
Endpoint: add table, form and object
2015-06-01 17:26:09 +02:00
Alexander Fuhr
39c53813e7
User: add table, form, object
2015-06-01 17:00:02 +02:00
Thomas Gelf
01078199a6
DirectorObjectForm: another "magic" column
...
Still ugly
2015-06-01 16:36:07 +02:00
Thomas Gelf
f2b1df68c6
Db: add enumCommands to get ALL commands
2015-06-01 16:36:07 +02:00
Thomas Gelf
825602f509
IcingaCommandArgument: new object type
2015-06-01 16:36:06 +02:00
Thomas Gelf
8037f19e13
show/activitylog: first simple visualization
2015-06-01 14:33:07 +02:00
Thomas Gelf
6d3bdc10fc
QuickTable: introduce getActionUrl
...
* removed getActionUrls
* introduced optional exta actions
* no longer showing actions table per default
2015-06-01 12:42:40 +02:00
Thomas Gelf
ca3398247e
Activity log: initial basic implementation
...
fixes #9167
2015-04-24 15:57:01 +02:00
Thomas Gelf
0d0fcc973b
Initial tables and related base classes
...
Still VERY simple
fixes #9135
2015-04-24 14:27:22 +02:00
Thomas Gelf
332ec1da4b
Initial rough abstractions, basic forms
...
fixes #9134
2015-04-24 14:26:44 +02:00