1118 Commits

Author SHA1 Message Date
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