426 Commits

Author SHA1 Message Date
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 03ad5f7376a530715e728072b7489c05194a5bfa.
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
Thomas Gelf
b74e1dc1c0 mysql.sql: remove duplicate TODOs, move others...
...also to top
2015-06-10 17:26:49 +02:00
Alexander Fuhr
ff6ed55c4b renderCustomVars: Add todo about escaping of reserved words 2015-06-10 15:40:45 +02:00
Alexander Fuhr
84cb2c417e Schema: Add todo list points 2015-06-09 12:53:38 +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
bb63c9dbf5 object/form: temporarily render object config
To ease development, will be removed later on
2015-06-08 14:39:51 +02:00
Thomas Gelf
ad27ab206d IcingaCommandArgumentForm: detect custom variables 2015-06-08 14:39:12 +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
46b356f4b8 Fix mysql.sql schema in user_group 2015-06-08 11:15:36 +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
87f1015262 Endpoint: adjust table columns^:x 2015-06-02 17:36:47 +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
f5af3a7123 MySQL Schema: Add object_type to usergroup 2015-06-02 14:15:19 +02:00
Alexander Fuhr
8d25b84f20 Servicegroup: Add form, table, object and actions 2015-06-02 11:56:42 +02:00
Alexander Fuhr
b0e666ab61 MySQL Schema: Add object_type to servicegroup 2015-06-02 11:44:13 +02:00
Alexander Fuhr
0459ec95f9 Hostgroup: Add form, table, object and actions 2015-06-02 10:49:31 +02:00
Alexander Fuhr
f1c0e3cb2f MySQL Schema: Add object_type to hostgroup 2015-06-02 10:23:44 +02:00
Alexander Fuhr
f630917281 Endpoint: Fix column order in the table 2015-06-02 09:47:36 +02:00
Thomas Gelf
1fca8a3014 IcingaEndpointForm: require zone for endpoints 2015-06-01 17:35:27 +02:00
Thomas Gelf
92ba28294b ObjectController: fix commandargument redirect url 2015-06-01 17:28:03 +02:00
Thomas Gelf
e056d13bff IcingaCommandArgumentForm: add required format field 2015-06-01 17:27:44 +02:00
Alexander Fuhr
6072f5589d Merge branch 'master' of git.icinga.org:icingaweb2-module-director 2015-06-01 17:26:41 +02:00
Alexander Fuhr
b74d26808f Endpoint: add table, form and object 2015-06-01 17:26:09 +02:00
Thomas Gelf
3d23c46353 README.md: code styling, once again 2015-06-01 17:05:15 +02:00
Thomas Gelf
d3e9642710 README.md: play with code formatting 2015-06-01 17:03:17 +02:00