Thomas Gelf
5dcc9b35d9
Db: template tree should be generic
2015-07-30 08:54:03 +02:00
Thomas Gelf
2bc57d459b
QuickForm: translate() makes use of module name
2015-07-30 08:54:03 +02:00
Stefan Scheungrab
229902687a
PropertyModifierHook - corrected function transform in order to get the hooks working
2015-07-30 04:28:19 +02:00
Thomas Gelf
3f3fbacedd
Db: simplify enum methods
2015-07-29 18:07:21 +02:00
Thomas Gelf
2fbfc109d1
Db: tabs VS spaces in enumSyncRule
2015-07-29 17:31:27 +02:00
Thomas Gelf
b0e8dbc957
Db: fetchHostTemplateTree() experiments
2015-07-29 17:19:45 +02:00
Alexander Fuhr
34237b265e
QuickTable: Use the setColumns in EditorFilter
2015-07-29 17:16:38 +02:00
Alexander Fuhr
99027a343d
ListController|ObjectsController: setupFilterControl
...
refs #9729
2015-07-29 15:31:32 +02:00
Alexander Fuhr
b6b7518285
QuickTable: Implement the Filter usage
...
refs #9729
2015-07-29 15:31:32 +02:00
Thomas Gelf
6db336fc54
DataTypeSqlQuery: add a new crazy data type
2015-07-28 17:58:02 +02:00
Alexander Fuhr
e4bf3ee370
IcingaHost: Add first basic getFields() method
...
resolves #9760
2015-07-28 17:37:58 +02:00
Alexander Fuhr
f7a2425b97
DataTypeDatalist: Implement getEntries()
2015-07-28 17:37:58 +02:00
Alexander Fuhr
31e2b23d82
IcingaServiceField: Implement the field assignment
...
refs #9752
2015-07-28 15:25:44 +02:00
Alexander Fuhr
6005913bbd
IcingaHostField: Implement the field assignment
...
refs #9752
2015-07-28 15:25:44 +02:00
Alexander Fuhr
e89a568fc3
Db: Add enumHostTemplates and enumServiceTemplates
2015-07-28 15:25:44 +02:00
Thomas Gelf
51c7a258ce
IcingaConfig: start to work on zone magic...
...
...still incomplete
2015-07-28 15:24:05 +02:00
Thomas Gelf
d381fddfff
IcingaConfig: add zone name lookup helper and cache
2015-07-28 15:22:48 +02:00
Thomas Gelf
f57847cb32
IcingaConfig: add configFile helper method
2015-07-28 15:22:20 +02:00
Thomas Gelf
2e0c636574
object/delete: add new delete form
2015-07-28 15:15:08 +02:00
Thomas Gelf
9e80a5242b
QuickForm: support spaces and more on submit labels
2015-07-28 15:09:16 +02:00
Alexander Fuhr
45049e45da
DataTypeDatalist: rename datalist field to datalist_id
2015-07-28 12:03:47 +02:00
Alexander Fuhr
f5e8b5f8f8
DirectorDatafield: Imlement settings handling
...
refs #9715
2015-07-28 12:03:47 +02:00
Thomas Gelf
d52549acd7
Db: add enumDatalist helper method
2015-07-28 11:49:30 +02:00
Thomas Gelf
fa8dbaadfc
QuickForm: add getSentValue() helper method
2015-07-28 11:48:42 +02:00
Thomas Gelf
03ffbb1de6
DirectorObjectForm: allow access to our db
2015-07-28 11:40:45 +02:00
Thomas Gelf
d2d7565887
DirectorObjectForm: run setup() before object
2015-07-28 11:39:18 +02:00
Thomas Gelf
a8b2eeeaf7
DirectorObjectForm: pass db to object if no such
2015-07-28 11:38:21 +02:00
Thomas Gelf
38501e8e96
QuickForm: postpone setup() call
2015-07-28 11:37:08 +02:00
Thomas Gelf
570a0ac00a
QuickForm: do not validate unsubmitted but sent
...
There is no clean way to clear errors detected by isValidPartial
afterwards, so we shouldn't call it
2015-07-28 11:35:53 +02:00
Thomas Gelf
d522cb8d2b
DbObject: add hasConnection() helper method
2015-07-27 23:24:50 +02:00
Thomas Gelf
1b13d15070
Db: provide import statistics
2015-07-27 22:39:29 +02:00
Alexander Fuhr
1400d3df97
DataTypeHook: Implement addSettingsFields...
2015-07-27 17:23:48 +02:00
Alexander Fuhr
0380e51087
DataTypeHook: Add DataType Hook Datalist
2015-07-27 17:22:21 +02:00
Alexander Fuhr
9c938f1953
DataTypeTime: Add DataType Time Hook
2015-07-27 17:02:33 +02:00
Alexander Fuhr
03009502a9
DataTypeHooks: Add name param to getFormElement()
2015-07-27 15:49:59 +02:00
Thomas Gelf
68e359cbc0
Sync: start to work with multiple datasources...
...
...working, but still unfinished
2015-07-26 15:46:25 +02:00
Thomas Gelf
ce766df466
Db: allow access to dynamic imported rows query
2015-07-26 15:40:53 +02:00
Thomas Gelf
c9e5f16d3e
Import: exception for missing key column...
...
...but skip check for now
2015-07-26 15:38:29 +02:00
Thomas Gelf
666aafc842
QuickTable: lazy-load view everywhere
2015-07-26 15:37:01 +02:00
Thomas Gelf
22444f2792
Db: getImportrunRowsetChecksum helper method
2015-07-26 15:36:32 +02:00
Thomas Gelf
1ffc032e26
Sync: dummy return value to succeed in controller
...
Fixes redirect unless we store a sync run history
2015-07-24 15:31:57 +02:00
Thomas Gelf
f05fa90fee
Sync: fix purge mechanism
2015-07-24 15:31:57 +02:00
Thomas Gelf
f65e880aaa
Sync: forbid sync access to existing templates
2015-07-24 15:31:57 +02:00
Thomas Gelf
7edc5f37b3
Sync: use a single db transaction
2015-07-24 15:31:57 +02:00
Thomas Gelf
1c5f83a6cf
Sync: fail with missing key column
...
NB: might not work as expected, more fixes to come
2015-07-24 15:31:57 +02:00
Thomas Gelf
80b2974372
Import: ignore null properties for now
2015-07-24 15:26:09 +02:00
Alexander Fuhr
6777911a07
ImportRowModifierSettings: just spaces
2015-07-24 15:05:38 +02:00
Alexander Fuhr
4f5e0f5918
DataTypeString/Number-Hook: Add simple hooks
...
refs #9716
2015-07-24 15:00:50 +02:00
Alexander Fuhr
1e694f2d1b
DataTypeHook: Add a Hook for DataType
...
refs #9715
2015-07-24 15:00:50 +02:00
Thomas Gelf
753d9420c3
IcingaConfig: throw exception when missing
2015-07-24 10:58:02 +02:00
Thomas Gelf
747ea70a33
CustomVariables: use ->id, not ->getId
2015-07-24 10:57:05 +02:00
Thomas Gelf
826cafb476
SyncRule: add helper method fetching properties
2015-07-24 10:54:11 +02:00
Thomas Gelf
676e694078
SyncRule: just spaces
2015-07-24 10:53:55 +02:00
Thomas Gelf
bdda0fe717
Sync: initial test implementation
...
refs #9731
2015-07-24 10:51:55 +02:00
Stefan Scheungrab
250fbeabe2
SycPropertyForm: Prepared form for sync property. refs: #9709
2015-07-24 09:51:31 +02:00
Stefan Scheungrab
b9eac26193
SyncRule: sync rules should work now. refs. #9709
2015-07-23 20:00:31 +02:00
Stefan Scheungrab
3d3dc19d3b
SyncRule: Controller Object and fomr
2015-07-23 16:40:32 +02:00
Stefan Scheungrab
a410fa8f05
Merge branch 'master' of git.icinga.org:icingaweb2-module-director
2015-07-23 16:37:33 +02:00
Stefan Scheungrab
ad77d8b702
SyncRule: preparation for sync rule
2015-07-23 16:36:58 +02:00
Alexander Fuhr
ec6974b9c5
Pagination: Add pagination suppport for all tables
...
fixes #9691
2015-07-23 16:20:33 +02:00
Alexander Fuhr
08ec28345e
QuickTable: Implement Paginatable
...
refs #9691
2015-07-23 16:20:33 +02:00
Thomas Gelf
ecb3d71760
IcingaConfig: just spaces
2015-07-23 15:38:17 +02:00
Thomas Gelf
ec7ad0984b
IcingaConfigFile: support string casts
2015-07-23 15:37:35 +02:00
Thomas Gelf
b8d312d3fe
IcingaConfig: add getFileContents()
2015-07-23 15:37:12 +02:00
Stefan Scheungrab
396120a1ce
PropertyModifierRegexReplace: failed to adjust the input fields
2015-07-23 15:13:07 +02:00
Stefan Scheungrab
b43b8ee5e3
PropertyModifier: renamed function for adding new fields to a Form
2015-07-23 14:42:53 +02:00
Stefan Scheungrab
06fc7d82a0
Director/PropertyModifier: Create first basic property modifiers refs: #9707
2015-07-23 14:29:15 +02:00
Stefan Scheungrab
103623211b
Hook/PropertyModifier: added abstract function transform which actually transform the given value
2015-07-23 13:07:39 +02:00
Stefan Scheungrab
3a15cf8f28
Modifier: initial hook and preperation for generic modifier
2015-07-23 11:45:07 +02:00
Stefan Scheungrab
8621e3cfdd
SyncProperty: initial setup for synchronising the properties
2015-07-23 11:43:41 +02:00
Thomas Gelf
abab695708
Db: add fetch*RowsetRows methods
...
Magic query creators delivering our key/value table entries as "real" rows
2015-07-22 23:33:24 +02:00
Stefan Scheungrab
8ef61d4b3a
Import/ImportSourceSql: typo replaced Resouce with Resource
2015-07-22 19:18:42 +02:00
Alexander Fuhr
9af1b60dc9
DataListEntry: Implement the datalistentry management
2015-07-22 13:42:47 +02:00
Alexander Fuhr
9bc8d3882e
DbObject: Fix the array to string conversion
2015-07-22 13:42:47 +02:00
Thomas Gelf
3dfec6b8bd
Import: allow for differing imports w/o new rows
2015-07-22 13:13:00 +02:00
Thomas Gelf
af021b06ac
ImportSourceSql: query should be a textarea
2015-07-22 11:37:06 +02:00
Stefan Scheungrab
2076d6b9a7
Import: renamed column imported_rowset_checksum TO rowset_checksum resolves : #9700
2015-07-22 11:13:52 +02:00
Thomas Gelf
bc49af2685
Import: implement import runs
...
* Trigger import run and store data
* Add new table showing related information
2015-07-22 10:12:50 +02:00
Thomas Gelf
6ca8e8a7d6
ImportSourceSql: new import provider
...
fixes #9678
2015-07-21 15:18:16 +02:00
Thomas Gelf
cab2348a28
ImportSourceHook: initial import
...
fixes #9677
2015-07-21 15:17:20 +02:00
Thomas Gelf
1c38e4469e
Importsource: controller, object, list
...
fixes #9676
2015-07-21 15:16:18 +02:00
Thomas Gelf
1fd97c8606
QuickForm: add moveSubmitToBottom hack
2015-07-21 15:13:42 +02:00
Thomas Gelf
4881cd3860
DbObject: add missing call to onLoadFromDb
2015-07-21 15:12:23 +02:00
Alexander Fuhr
cfbe065b86
DirectorDataList: Add controller, object etc.
2015-07-03 14:00:40 +02:00
Thomas Gelf
644c6beeff
DirectorDatafield: introduce new object class...
...
...and adjust table, form and controller
2015-07-03 13:17:05 +02:00
Alexander Fuhr
83fdf0f67d
QuickForm: Fix null failure
2015-07-03 11:20:32 +02:00
Alexander Fuhr
ee44f461ab
DataField: Add an action and a tab to config tabs
2015-07-03 10:49:47 +02:00
Thomas Gelf
33892f3298
DbObject: get rid of setDb. Fix race condition
2015-07-03 10:00:16 +02:00
Thomas Gelf
55ed08412c
DirectorObjectForm: remove obsolete method
2015-07-03 09:31:20 +02:00
Alexander Fuhr
8c2939db60
ActionController: Fix code typo
2015-07-03 09:01:52 +02:00
Thomas Gelf
61795ccdcd
QuickForm/FormLoader: add helper for subforms
2015-07-02 15:30:02 +02:00
Thomas Gelf
6730ac7447
HostActions: add "edit" hook to monitoring module
2015-07-02 15:28:41 +02:00
Alexander Fuhr
25f29b3acc
DirectorObjectForm: Fix copy paste type ranges. to vars.
2015-07-02 14:54:41 +02:00
Thomas Gelf
edad30f0ac
IcingaObject: add initial resolve methods
2015-07-02 14:51:59 +02:00
Thomas Gelf
410d06dc63
IcingaObject: object_name is our key
2015-07-02 14:32:06 +02:00
Thomas Gelf
2b2ab87338
Datalists: halfway done
2015-07-02 14:13:42 +02:00
Thomas Gelf
02c7a5c62c
DbObject: don't ->getId() for ->id
2015-07-02 14:11:13 +02:00
Alexander Fuhr
84a3de8336
Merge branch 'master' of git.icinga.org:icingaweb2-module-director
2015-07-01 15:24:21 +02:00
Alexander Fuhr
e9d38103f0
TimePeriodRanges: Implement the TimePeriodRanges support
2015-07-01 15:15:49 +02:00
Alexander Fuhr
4d2cbdea44
DbObject: Fix mixed key collision
2015-07-01 15:13:28 +02:00
Thomas Gelf
d3f4625d7c
DirectorObjectForm: workaround to move submit button
2015-06-30 11:37:35 +02:00
Thomas Gelf
628d7c3221
ActionController: remove legacy tab helpers
2015-06-30 11:30:08 +02:00
Thomas Gelf
3ba98a2ffa
ActionController: move to Web\Controller namespace
2015-06-30 11:27:32 +02:00
Thomas Gelf
8f841d28ae
Reorganize action controllers
...
* Removed 'list' and 'object' from urls
* IcingaObject: added isGroup helper
* Adjusted and abstracted tabs and tables
* Show endpoints in zone list
* Remove obsolete code
* Allow to filter activity log for objects
* Improve general look and feel
2015-06-30 11:19:31 +02:00
Alexander Fuhr
decfcfd67b
IcingaObjectGroups: Set right return type for store()
2015-06-30 10:46:53 +02:00
Alexander Fuhr
fbbea8d486
IcingaObjectImports: Add check if modified and loaded from db
2015-06-30 10:46:15 +02:00
Thomas Gelf
816f8b8a72
Welcome: new controller showing initial help...
...
...especially in case your config is still missing.
2015-06-29 16:01:10 +02:00
Alexander Fuhr
321f9d9503
IcingaObjectImports: Fix bug with on delete
2015-06-29 12:50:59 +02:00
Thomas Gelf
114bac0d55
CustomVariable: no abstract for interface method
2015-06-29 12:04:45 +02:00
Thomas Gelf
815139bb21
List: add remaining tabs
...
Temporarily keeping endpoint and command args, will become subitems
later on
2015-06-29 11:31:35 +02:00
Thomas Gelf
fe7cb41bac
Services: ooops
2015-06-29 11:16:29 +02:00
Thomas Gelf
3d9fb846ed
Services: add tabs, remove menu item & legacy actions
2015-06-29 11:15:23 +02:00
Thomas Gelf
c95c689609
Hosts: add tabs, remove menu item & legacy actions
2015-06-29 11:12:20 +02:00
Alexander Fuhr
775bc67fec
Add imports support for Endpoint
2015-06-29 11:11:56 +02:00
Alexander Fuhr
f1c3f9025b
Add imports support for UserGroup
2015-06-29 11:02:30 +02:00
Alexander Fuhr
61812d6115
Add imports support for Zone
2015-06-29 10:46:32 +02:00
Alexander Fuhr
cdb66b648a
Add imports support for Command
2015-06-29 10:39:37 +02:00
Alexander Fuhr
c7f7d37523
Add imports support for Servicegroup
2015-06-29 10:28:57 +02:00
Alexander Fuhr
b8a35e068c
Merge branch 'master' of git.icinga.org:icingaweb2-module-director
2015-06-29 10:21:14 +02:00
Alexander Fuhr
878841e33e
Add imports support for Hostgroup
2015-06-29 10:20:15 +02:00
Thomas Gelf
854ba20451
config: add tabs, less menu items
2015-06-29 10:13:39 +02:00
Alexander Fuhr
0af3ed4452
Add imports support for Timeperiod
2015-06-26 16:45:44 +02:00
Alexander Fuhr
f7bd670d1b
Add imports support to User
2015-06-26 16:36:18 +02:00
Alexander Fuhr
fd74a8dfd5
Add imports support to Service
2015-06-26 16:20:16 +02:00
Alexander Fuhr
bc57937078
DirectorObjectForm: Add imports handling вот так
2015-06-26 15:56:55 +02:00
Alexander Fuhr
a663d571be
IcingaObject: Add storeImports как то так
2015-06-26 15:55:16 +02:00
Alexander Fuhr
864b9ea55c
Implement IcingaObjectImport to handle object imports
2015-06-26 15:54:00 +02:00
Alexander Fuhr
a2da7581b0
Merge branch 'master' of git.icinga.org:icingaweb2-module-director
2015-06-26 10:40:22 +02:00
Alexander Fuhr
b1a7922873
Imports: Start with implementing the imports
2015-06-26 10:39:30 +02:00
Thomas Gelf
2021dc3479
DbObject: fix legacy method call
2015-06-25 08:45:36 +02:00
Alexander Fuhr
330c7b825e
xMember: Delete the absolete Member classes
2015-06-24 15:34:24 +02:00
Alexander Fuhr
33ea3a9b34
IcingaObjectGroups: Fix typo in set() method
2015-06-24 14:57:04 +02:00
Thomas Gelf
fc2352fb1e
QuickForm: improve submission detection
...
Still not complete
2015-06-24 14:54:14 +02:00
Thomas Gelf
b26172e0e9
IcingaZone: add support for global zones
2015-06-24 13:41:45 +02:00
Thomas Gelf
f8bd943181
Group membership: more magic
2015-06-24 11:25:22 +02:00
Thomas Gelf
b75029c5aa
IcingaCommand,Service,User: support custom vars
2015-06-24 10:13:27 +02:00
Thomas Gelf
1bdeff3474
IcingaObject: add/fix customvar support
2015-06-24 10:13:06 +02:00
Thomas Gelf
9504f9a094
DirectorObjectForm: add basic customvar support
...
* Allow to add a single var each time
* Allow to modify existing vars
* Re-organize onSuccess code
* Add object helper method
2015-06-24 10:11:36 +02:00
Thomas Gelf
eb6fda1eb1
QuickForm: add onSetup helper
2015-06-24 10:07:30 +02:00
Thomas Gelf
8267e377ea
CustomVariable: new helper methods
2015-06-24 10:07:01 +02:00
Thomas Gelf
ac5bfd32f3
CustomVariables: fix method calls
2015-06-24 09:43:48 +02:00
Thomas Gelf
a2790652ec
CustomVariables: do not replace vars on modification
2015-06-24 09:42:50 +02:00
Alexander Fuhr
da7cc607e5
Db: Fix checksum escaping :)
2015-06-23 16:45:25 +02:00
Thomas Gelf
a412a9fec2
Db: pgsql
2015-06-23 16:12:26 +02:00
Thomas Gelf
e7dbeef21c
IcingaConfig: pgsql workaround :(
2015-06-23 16:10:57 +02:00
Thomas Gelf
ae6b7367dc
IcingaConfig: generation time is INT (ms)
2015-06-23 16:07:34 +02:00
Thomas Gelf
ae4f80444a
IcingaConfig: one more pgsql thingy
2015-06-23 16:05:34 +02:00
Thomas Gelf
0e4b781600
IcingaConfig: escape checksums for pgsql
2015-06-23 16:03:56 +02:00
Alexander Fuhr
040dbdbb99
DbObject: Fix wrong type comparison
2015-06-23 16:02:54 +02:00
Thomas Gelf
f1595738e3
Db: fix pgsql check
2015-06-23 15:24:05 +02:00
Thomas Gelf
9c5cd31357
IcingaConfig: escape binary checksums for pgsql
2015-06-23 15:13:34 +02:00
Thomas Gelf
29820e05ac
Util: fix pass-by-ref error
2015-06-23 14:38:37 +02:00
Thomas Gelf
676acf0740
Util: new helper class
2015-06-23 14:37:23 +02:00
Alexander Fuhr
2dcd1c2d78
DbObject: Add pg escape for checksum
2015-06-23 14:19:30 +02:00
Thomas Gelf
06935c442d
IcingaConfig: pgsql workaround :(
2015-06-23 14:12:39 +02:00
Thomas Gelf
3087776f6b
PosgreSQL: use ENCODE, not HEX
2015-06-23 13:28:14 +02:00
Thomas Gelf
6c8213f4db
DbObject: do not insert id=NULL, fails on pgsql
2015-06-23 13:05:02 +02:00
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