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
Thomas Gelf
bda927b446
css/tables: style apply rows
2016-02-24 21:34:31 +01:00
Thomas Gelf
2d826ba939
ObjectController: reasonable defaults for REST PUT
2016-02-23 09:09:10 +01:00
Thomas Gelf
0af71a82f0
menu: show health summary
2016-02-18 16:12:38 +01:00
Thomas Gelf
23325d96f4
ObjectsController: API should ship full objects
2016-02-18 14:41:05 +01:00
Thomas Gelf
9b8415cccd
QuickTable: remove obsolete classes
2016-02-18 11:31:55 +01:00
Thomas Gelf
eb8ea78d27
ObjectsController: remove add template link again
2016-02-18 02:14:28 +01:00
Thomas Gelf
2d29421521
ObjectController: simpler title logic
2016-02-17 22:27:44 +01:00
Thomas Gelf
7b1c17799d
DirectorObjectForm: get rid of object_type magic
2016-02-17 21:50:06 +01:00
Thomas Gelf
fc193b9844
Objects and overview: auto-refresh
2016-02-17 20:15:42 +01:00
Thomas Gelf
6d1b44f56e
DirectorObjectForm: new helper method for disabled
2016-02-17 20:00:18 +01:00
Thomas Gelf
520644a67a
ObjectsController: rudimentary API support
2016-02-17 19:35:29 +01:00
Thomas Gelf
a58978099b
ObjectController: remove legacy delete action
2016-02-17 19:25:40 +01:00
Thomas Gelf
fa85bf071c
ObjectController: improve response codes for REST
2016-02-17 19:22:36 +01:00
Thomas Gelf
e33d548d1b
ActionController: get api from endpoint object
2016-02-17 16:40:08 +01:00
Thomas Gelf
7b65efee23
Hooks: get rid of legacy pre 2.1 hook classes
...
In case you already implemented such you have to adjust your implementations.
Just replace Director/Web/Hook with Director/Hook. Sorry for the inconvenience.
Compat classes would have been possible, but as Director isn't stable yet I'd
like to avoid doing so.
2016-02-17 10:49:57 +01:00
Thomas Gelf
f0607c33be
DirectorObjectForm: fix refs to missing field
...
The related field has not been pushed to master yet.
2016-02-08 11:30:12 +01:00
Thomas Gelf
31b0e7a180
DirectorObjectForm: fix object type case on redirect
2016-02-04 16:59:38 +01:00
Thomas Gelf
ac6464c5e4
DirectorObjectForm: prepare object type access
...
Introduces addObjectTypeElement(), this will allow for context- and
permission-dependent forms. We will then finally get rid of the "Add
object / template" distinction.
2016-02-04 16:52:34 +01:00
Thomas Gelf
7a6bae9430
DirectorObjectForm: improve getSentOrObjectValue()
2016-02-04 16:51:53 +01:00
Thomas Gelf
12d6381e44
ObjectController: allow fields for any command
2016-02-04 10:26:16 +01:00
Thomas Gelf
e854522d22
ObjectController: fix inheritance for PUT-replace
2016-02-03 10:28:01 +01:00
Thomas Gelf
0ebf269ebd
ObjectController: allow all REST api methods
2016-02-03 00:54:00 +01:00
Thomas Gelf
4eb3b1936c
ActionController: better error handling
2016-02-03 00:53:05 +01:00
Thomas Gelf
5b893dc47e
QuickForm: remember success message for API requests
2016-02-03 00:51:04 +01:00
Thomas Gelf
e139f4349f
ObjectsController: temporarily re-add tpl link
2016-01-25 14:55:51 +01:00
Thomas Gelf
7f45883cba
DirectorObjectForm: allow templates in global zones
2015-12-23 15:13:21 +01:00
Thomas Gelf
3161cae4a8
ObjectsController: fix type case for tabs check
2015-12-21 12:44:19 +01:00
Thomas Gelf
42d2256aa8
welcome: move to index, icingaweb2/director
2015-12-17 21:57:27 +01:00
Thomas Gelf
1c36bb3f59
object(s): add some icons
2015-12-17 21:39:59 +01:00
Thomas Gelf
6466e3392e
object: add clone link
2015-12-17 19:52:10 +01:00
Thomas Gelf
91250cf0b9
ApiUser: add all tabs, tables, links
2015-12-17 14:58:43 +01:00
Thomas Gelf
b2cb3183c8
DirectorObjectForm: TODO for "has been modified"
2015-12-17 10:48:00 +01:00
Thomas Gelf
ff855703df
ObjectsController: get rid of templates action
2015-12-16 14:31:29 +01:00
Thomas Gelf
2f55884aa9
menu/overview/global: re-ordered, less menu entries
2015-12-16 11:45:00 +01:00
Thomas Gelf
19420b8c9f
IcingaObjectTable: new base class, common style
2015-12-15 17:16:07 +01:00
Thomas Gelf
20e0a6ca1f
ObjectController: introduce clone form
2015-12-10 13:19:16 +01:00
Thomas Gelf
f5e1bab424
ObjectsController: use parent::init
2015-12-10 13:15:06 +01:00
Thomas Gelf
364d4a5d68
ObjectController: allow API access
2015-12-10 13:11:21 +01:00
Thomas Gelf
21d51decb2
ActionController: start to offer JSON actions
2015-12-10 13:06:40 +01:00
Thomas Gelf
023e15d057
DirectorObjectForm: intervals for check execution
2015-12-10 12:54:34 +01:00
Thomas Gelf
59028ebeb4
DirectorObjectForm: add better status codes
2015-12-10 12:51:11 +01:00
Thomas Gelf
16c4bd4da8
QuickForm: add API helpers
2015-12-10 12:50:10 +01:00
Thomas Gelf
a7f11f7702
ImportSourceHook: add failsafe getSetting method
2015-12-03 00:39:46 +01:00
Thomas Gelf
5144b8bfed
DirectorObjectForm: add getSentOrObjectValue helper
2015-12-03 00:38:59 +01:00
Thomas Gelf
3fade17bf4
IcingaHostForm: allow to select non-global zones
2015-12-02 21:31:38 +01:00
Thomas Gelf
3c07cdcf66
ImportSourceHook: exception on missing class
...
Otherwise we were unable to catch such failures
2015-12-02 04:00:31 +01:00
Thomas Gelf
570f8d9440
ObjectsController: add sample permission check
2015-12-02 03:35:01 +01:00
Thomas Gelf
107b872b63
DirectorObjectForm: disable additional vars
...
We need something better here
2015-12-02 03:33:52 +01:00
Thomas Gelf
cd5ce8063a
ObjectController: rudimentary sample json support
2015-12-02 03:32:42 +01:00
Thomas Gelf
a2d1594eaf
DirectorObjectForm: re-arrange fields and commands
2015-12-02 03:07:28 +01:00
Thomas Gelf
4d28358e60
ImportSourceHook: allow default key column
2015-11-30 13:06:34 +01:00
Thomas Gelf
e5ebcc4bcc
DirectorObjectForm: failing field elements...
...
...should still make part of the fields group
2015-11-19 09:24:45 +01:00
Thomas Gelf
66f76ef8c5
DirectorObjectForm: hardcode ignored arguments
...
These would otherwise cause issues in redirections after deleting
object fields or arguments
2015-11-17 18:26:43 +01:00
Thomas Gelf
03ba27d159
HostActions: use new Web 2.1 hook style
2015-11-17 16:53:41 +01:00
Thomas Gelf
dff0e1a263
DirectorObjectForm: more logic separation
2015-11-15 15:17:29 +01:00
Thomas Gelf
9ea092c035
DirectorObjectForm: do not require inherited props
...
What worked fine for fields should now work for default properties
too.
2015-11-14 19:47:10 +01:00
Thomas Gelf
49f28b27ef
DirectorObjectForm: fix redirect for related objects
...
CommandArguments and similar are also IcingaObjects, but have no
object_name
2015-11-14 17:51:25 +01:00
Thomas Gelf
4853eba4da
DirectorObjectForm: make use of field format details
2015-11-14 14:47:01 +01:00
Thomas Gelf
d943195732
DirectorObjectForm: separate deletion logic
2015-11-14 14:45:48 +01:00
Thomas Gelf
621e561732
ImportSourceHook: look better for new web2 hooks
2015-11-14 00:22:50 +01:00
Thomas Gelf
de3c824fb2
QuickForm: allow public access to getSentValue
2015-11-06 09:40:49 +01:00
Thomas Gelf
67551e6285
QuickTable: use new web2 default table classes
2015-11-06 09:22:47 +01:00
Thomas Gelf
b7cd26b597
DirectorObjectForm: new helper method hasObject()
2015-11-02 09:24:58 +01:00
Thomas Gelf
a2e061cae3
QuickTable: allow for more flexibility with classes
2015-10-30 23:36:17 +01:00
Thomas Gelf
d25e28c137
Forms: no dtdd wrapper for fieldsets
2015-10-29 17:21:52 +01:00
Thomas Gelf
1d2cc2b12d
QuickTable: quick & dirty way to render objects
2015-10-28 22:29:25 +01:00
Thomas Gelf
29206188bf
ActionController: provide api to all controllers
2015-10-20 22:47:06 +02:00
Thomas Gelf
bbf7796b53
QuickTable: allow to provide pre-row classes
2015-10-16 18:04:12 +02:00
Thomas Gelf
071cf627d2
DirectorObjectForm: implement generic deletion
2015-10-15 23:56:25 +02:00
Thomas Gelf
4d72e315f2
DirectorObjectForm: add vars to fields group for now
2015-10-15 23:55:56 +02:00
Thomas Gelf
f122fc3eb1
ObjectController: remove legacy delete tab
2015-10-15 23:55:13 +02:00
Thomas Gelf
0a5addabd1
DirectorObjectForm: group exection options, style
2015-10-15 23:52:31 +02:00
Thomas Gelf
dc41842118
DirectorObjectForm: add store/delete button helper
2015-10-15 23:51:29 +02:00
Thomas Gelf
b376527c44
ObjectController: formatting
2015-10-15 23:49:34 +02:00
Thomas Gelf
988eb4bf77
DirectorObjectForm: redirect to newly created objects
2015-10-15 23:47:05 +02:00
Thomas Gelf
51ee2a1fa5
QuickForm: add buttons to group
...
TODO: create list of buttons, get rid of hardcoded delete
2015-10-15 23:44:37 +02:00
Thomas Gelf
81c6920b93
ShipConfigFilesHook: new hook
...
Allows other modules to ship additional files to/through Icinga 2.
2015-10-15 20:32:15 +02:00
Thomas Gelf
e7687d226a
DirectorObjectForm: provide delete button
2015-10-15 20:16:07 +02:00
Thomas Gelf
48a0389c80
QuickForm: remove most decorators from submit
2015-10-15 20:11:40 +02:00
Thomas Gelf
4693be3aa2
DirectorObjectForm: add fields to display group
2015-10-15 20:05:18 +02:00
Thomas Gelf
b7d4b3f1a2
QuickForm: set decorators for form errors
2015-10-15 17:53:29 +02:00
Thomas Gelf
7693192e66
QuickForm: catch Exceptions from success handlers
2015-10-15 17:52:56 +02:00
Thomas Gelf
0544be3aec
QuickForm: allow params for successUrl
2015-10-15 17:52:02 +02:00
Thomas Gelf
45e6cb9944
ObjectController: correctly load fields
2015-10-13 17:58:50 +02:00
Thomas Gelf
a39c8c3280
QuickForm: add getSuccessUrl()
2015-10-13 17:48:16 +02:00
Thomas Gelf
5a244e209a
QuickForm: fix ampersand for form actions
2015-10-13 17:29:20 +02:00
Thomas Gelf
be98cf5133
QuickForm: return sent value only when sent
2015-10-13 17:28:26 +02:00
Thomas Gelf
7c081c12ce
QuickTable: use one more class, thanks web 2.0.0
2015-10-13 17:21:39 +02:00
Thomas Gelf
346eb597ee
ActionController: add deployments to config tabs
2015-09-30 08:50:59 +02:00
Thomas Gelf
386a7ee90d
DirectorObjectForm: gracefully handle missing...
...
...data type implementations. Happens when fields have been configured
with data types provided by modules that have been disabled later on.
2015-09-29 18:47:49 +02:00
Thomas Gelf
7b6245dc0a
ActionController: remove legacy syncproperty tab
2015-09-14 16:55:19 +02:00
Thomas Gelf
1a553df185
ObjectController: allow to edit fields
2015-09-14 16:54:43 +02:00
Thomas Gelf
5cbe07e95b
ActionController: rename Import "run" to "history"
2015-09-14 16:53:15 +02:00
Thomas Gelf
bda3ab311d
DirectorObjectForm: extended hint for imports
2015-09-14 16:52:18 +02:00
Thomas Gelf
7bc59c010e
QuickTable: allow to enforce filters
2015-09-14 16:26:15 +02:00
Thomas Gelf
8b11c07c65
objects/tree: generic template for all object types
2015-08-28 23:36:07 +02:00
Thomas Gelf
3da616aa96
ObjectsController: directly set filterEditor
2015-08-28 18:00:34 +02:00
Thomas Gelf
b204e7e6a0
ActionController: remove obsolete code
2015-08-28 17:53:35 +02:00
Thomas Gelf
e8ae1235fd
QuickTable: show array values on multiple lines
...
NB: Should we better json_encode?
2015-08-28 17:31:31 +02:00
Thomas Gelf
6ff5dd323a
DirectorObjectForm: work even with no templates
2015-08-28 17:20:12 +02:00
Thomas Gelf
3d38a6fec9
DirectorObjectForm: do not show structured vars
2015-08-28 17:01:57 +02:00
Thomas Gelf
3ddd6291e4
ObjectController: add missing title
2015-08-28 16:51:41 +02:00
Thomas Gelf
5d643534ad
QuickTable: gracefully handle missing columns
2015-08-28 16:49:48 +02:00
Thomas Gelf
be99769fc6
DirectorObjectForm: fields not required if inherited
2015-08-03 13:51:55 +02:00
Thomas Gelf
73ed4d398f
DirectorObjectForm: never inherit object_name
2015-08-03 13:42:52 +02:00
Thomas Gelf
b90c93ebdc
Command templates and more
2015-08-03 13:42:19 +02:00
Thomas Gelf
9946bed438
ObjectController: do not load objects twice
2015-08-03 13:41:42 +02:00
Thomas Gelf
4133733664
ObjectController: add missing variable
2015-08-03 13:41:22 +02:00
Thomas Gelf
c26f2ed087
DirectorObjectForm: handle object_type only if such
2015-08-03 13:39:12 +02:00
Thomas Gelf
b6018c2d31
DirectorObjectForm: fix non-Icinga defaults
2015-08-03 13:13:28 +02:00
Thomas Gelf
2bab21c2d8
DirectorObjectForm: prefill object with defaults
2015-08-03 12:54:40 +02:00
Thomas Gelf
44154fe914
ObjectController: directly use this->object
2015-08-03 12:54:40 +02:00
Thomas Gelf
22aa1552a4
DirectorObjectForm: imports field should be larger
2015-08-03 12:54:40 +02:00
Thomas Gelf
b9bd71cc13
DirectorObjectForm: more restrictive auto-id field
2015-08-03 12:54:40 +02:00
Thomas Gelf
d931eee9b3
DirectorObjectForm: customvars work with post
2015-08-03 12:54:40 +02:00
Thomas Gelf
ea2add6dc0
DirectorObjectForm: postpone "dummy" object creation
2015-08-03 12:54:40 +02:00
Thomas Gelf
02daf8b97a
DirectorObjectForm: allow to set object externally
2015-08-03 12:54:40 +02:00
Thomas Gelf
44013eec42
DirectorObjectForm: remodel boolean helpers
2015-08-03 12:54:40 +02:00
Thomas Gelf
1e5deb2441
DirectorObjectForm: say "inherited from ..."
2015-08-03 12:54:40 +02:00
Thomas Gelf
213df7e34b
DirectorObjectForm: remove now useless hook
2015-08-03 12:54:40 +02:00
Thomas Gelf
237aaffc45
ObjectController: code cleanup, use fields
2015-08-03 12:54:40 +02:00
Thomas Gelf
94e777a390
ObjectController: add fields action
2015-08-03 12:54:40 +02:00
Thomas Gelf
591e816638
ObjectController: simplify object loading
2015-08-03 12:54:40 +02:00
Thomas Gelf
1d617c7bdd
DirectorObjectForm: relax private to protected
2015-08-03 12:54:40 +02:00
Thomas Gelf
de843b19ed
QuickForm: set csrf value through addHidden
2015-08-03 12:54:40 +02:00
Thomas Gelf
483ba3fbbd
QuickForm: setValue instead of setDefaultValue
2015-08-03 12:54:39 +02:00
Thomas Gelf
c38a9fcc12
CsrfToken: fix erraneous return value usage
2015-08-03 12:54:39 +02:00
Thomas Gelf
0203196ffd
QuickForm: more robust submit button handling
2015-08-03 12:54:39 +02:00
Thomas Gelf
caa3f97048
ObjectController: re-add object type hack
2015-07-31 17:33:05 +02:00
Thomas Gelf
80fe9ccc11
Object forms: group check execution elements
2015-07-31 16:59:56 +02:00
Thomas Gelf
e97f3c946a
DirectorObjectForm: fix overrideable object name
2015-07-31 15:51:07 +02:00
Thomas Gelf
cbdaf34339
DirectorDatafield, DirectorObjectForm: just lines
2015-07-31 15:48:40 +02:00
Thomas Gelf
7b07d07d02
QuickForm: prepare elements before onRequest
2015-07-31 15:46:46 +02:00
Thomas Gelf
591d933929
DirectorObjectForm: reorganize, simplify, improve
2015-07-31 14:51:41 +02:00
Thomas Gelf
299251276e
ObjectController: improve title settings, clean up
2015-07-31 14:50:05 +02:00
Thomas Gelf
51672e33bd
QuickForm: addHtml VS addHtmlNote (note is styled)
2015-07-31 14:48:17 +02:00
Thomas Gelf
bdb7d22e99
ObjectController: fix inverted titles
2015-07-30 16:51:20 +02:00
Thomas Gelf
f5ebb06d8a
QuickForm: be strict on setting request only once
2015-07-30 15:39:51 +02:00
Thomas Gelf
1fc7f6e2cb
QuickForm: dedicated method for special options
2015-07-30 15:39:09 +02:00
Thomas Gelf
10d2d513df
DirectorObjectForm: remove (probably) useless hook
2015-07-30 12:54:54 +02:00
Thomas Gelf
8b9a212bf7
DirectorObjectForm: experiments with inheritance
2015-07-30 12:53:37 +02:00
Thomas Gelf
49042393bf
DirectorObjectForm: use helper method for button
2015-07-30 12:52:38 +02:00
Thomas Gelf
9d4bd323a8
DirectorObjectForm: methods dealing with fields
2015-07-30 12:46:08 +02:00
Thomas Gelf
364904e8e7
DirectorObjectForm: less references
2015-07-30 12:44:40 +02:00
Thomas Gelf
63a5e3fb77
DirectorObjectForm: add missing use statement
2015-07-30 12:41:48 +02:00
Thomas Gelf
8c96af2348
DirectorObjectForm: postpone element creation
...
We must first load the object to have it available when creating
our form elements
2015-07-30 11:51:45 +02:00
Thomas Gelf
7ebb2dcdc9
QuickForm: add onRequest hook
2015-07-30 11:49:08 +02:00
Thomas Gelf
eb1d4c67b0
DirectorObjectForm: finally remove obsolete helpers
2015-07-30 11:48:42 +02:00
Thomas Gelf
db54a4f365
DirectorObjectForm: one more string to translate
2015-07-30 11:48:12 +02:00
Thomas Gelf
5ab69a4876
DirectorObjectForm: just spaces for obsolete tests
2015-07-30 11:47:46 +02:00
Thomas Gelf
2643b6ae8c
DirectorObjectForm: improve import handling
2015-07-30 11:43:33 +02:00
Thomas Gelf
44a9755cce
QuickForm: no label for hints
2015-07-30 10:09:44 +02:00
Thomas Gelf
d30d5c51c2
DirectorObjectForm: add a bunch of helper methods
2015-07-30 10:07:44 +02:00
Thomas Gelf
d93e498688
ObjectController: reorganize tabs
...
Edit is the new default action, config snippet is "preview"
2015-07-30 10:04:12 +02:00
Thomas Gelf
3253bf2c88
ObjectsController: reorganize tabs
2015-07-30 09:49:34 +02:00
Thomas Gelf
b97cb14e05
Objects: add template tree
2015-07-30 09:49:01 +02:00
Thomas Gelf
918660e3bf
ObjectsController: support template distinction
2015-07-30 09:45:32 +02:00
Thomas Gelf
03436efa29
ObjectController: distinct templates and objects
2015-07-30 09:26:02 +02:00
Thomas Gelf
5a3fead131
DirectorObjectForm: allow to enforce object type...
...
...when creating new objects
2015-07-30 09:22:55 +02:00
Thomas Gelf
18782b9ff5
QuickForm: add buttons before onSetup() hook
2015-07-30 09:10:57 +02:00
Thomas Gelf
e98401d291
DirectorObjectForm: add setElementValue() helper
2015-07-30 08:54:03 +02:00
Thomas Gelf
c9dd2e284c
QuickForm: addHtmlHint helper method
2015-07-30 08:54:03 +02:00
Thomas Gelf
a2cc9a612a
DirectorObjectForm: move optionalEnum to QuickForm
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
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
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
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
Alexander Fuhr
1400d3df97
DataTypeHook: Implement addSettingsFields...
2015-07-27 17:23:48 +02:00
Alexander Fuhr
03009502a9
DataTypeHooks: Add name param to getFormElement()
2015-07-27 15:49:59 +02:00
Thomas Gelf
666aafc842
QuickTable: lazy-load view everywhere
2015-07-26 15:37:01 +02:00
Alexander Fuhr
1e694f2d1b
DataTypeHook: Add a Hook for DataType
...
refs #9715
2015-07-24 15:00:50 +02:00
Stefan Scheungrab
250fbeabe2
SycPropertyForm: Prepared form for sync property. refs: #9709
2015-07-24 09:51:31 +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
Stefan Scheungrab
b43b8ee5e3
PropertyModifier: renamed function for adding new fields to a Form
2015-07-23 14:42:53 +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
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
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
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
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
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
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
bc57937078
DirectorObjectForm: Add imports handling вот так
2015-06-26 15:56:55 +02:00
Alexander Fuhr
b1a7922873
Imports: Start with implementing the imports
2015-06-26 10:39:30 +02:00
Thomas Gelf
fc2352fb1e
QuickForm: improve submission detection
...
Still not complete
2015-06-24 14:54:14 +02:00
Thomas Gelf
f8bd943181
Group membership: more magic
2015-06-24 11:25:22 +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
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
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
Thomas Gelf
a9b9342092
DirectorObjectForm: add dummy element for db vars
2015-06-15 17:16:43 +02:00
Alexander Fuhr
8ae4ed6bfa
Add UserGroupMember management
2015-06-12 13:16:41 +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
Alexander Fuhr
4c1c4e7d2a
ServiceGroupMembers: Add form, table, object and actions
2015-06-03 14:59:29 +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
Thomas Gelf
01078199a6
DirectorObjectForm: another "magic" column
...
Still ugly
2015-06-01 16:36: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
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