53 Commits

Author SHA1 Message Date
Eric Lippmann
68acf12407
Remember me (#4112)
Co-authored-by: Sukhwinder Dhillon <sukhwinder.dhillon@icinga.com>
2021-05-21 15:43:06 +02:00
Johannes Meyer
cc65164a67 Adjust global permissions 2021-02-18 11:11:39 +01:00
Johannes Meyer
775f5cd3b5 Remove .icinga-form and .icinga-controls from all inline remove forms 2019-07-29 10:19:39 +02:00
Johannes Meyer
fb48731978 Set a proper title for all controller actions
refs #3851
2019-07-15 08:24:44 +02:00
Johannes Meyer
e81d2f9af0 Utilize Icinga\Web\Menu instead of Icinga\Application\Web::getMenu()
refs #2338
2018-04-30 10:26:00 +02:00
Eric Lippmann
a83a9cef03 Introduce dashboard for navigation items 2017-11-21 22:55:45 +01:00
Johannes Meyer
2fa854b0a8 ConfigForm: Introduce and utilize method transformEmptyValuesToNull()
This utility method serves as alternative for all previous custom solutions to prevent empty values from being persisted to INI files.

Since the IniWriter now handles NULL correctly, we're able to refrain from using array_filter for this purpose which was the actual cause for the referenced bug.

fixes #13357
2016-12-01 10:55:24 +01:00
Eric Lippmann
e6ec6e05b2 Rename Preferences to My Account
refs #10616
2016-07-21 12:31:10 +02:00
Alexander A. Klimov
07913238b3 Navigation items listing: don't rely on case sensitive usernames stored in INI files
refs #11051
2016-02-11 12:12:25 +01:00
Alexander A. Klimov
474803fee4 Change all license headers to only reflect a file's year of creation
refs #11000
2016-02-08 15:41:00 +01:00
Eric Lippmann
43ecd1fc90 Fix button for remove navigation item 2015-11-16 10:21:06 +01:00
Eric Lippmann
3d2521abf0 Merge branch 'master' into feature/dope-layout-5543 2015-10-01 17:42:24 +02:00
Johannes Meyer
b80cfe7cdc NavigationController: Pass through the default url without creating the form 2015-10-01 13:55:12 +02:00
Eric Lippmann
cb46af8e9c Rearrange menu entries
refs #5543
2015-10-01 09:01:03 +02:00
Eric Lippmann
8cff607b5d Add tab for new, update and remove navigation item
refs #5543
2015-10-01 00:40:54 +02:00
Johannes Meyer
415690134b Add tab extension to add the current container url as new menu entry 2015-09-30 14:47:42 +02:00
Johannes Meyer
ddeed579af NavigationController: Fix incorrect sort label
refs #10246
2015-09-30 12:28:40 +02:00
Johannes Meyer
6b31898566 NavigationController: Adjust how to load navigation items
refs #10246
2015-09-30 12:22:48 +02:00
Johannes Meyer
befbc6cd6a Config: Add static method navigation()
refs #10246
2015-09-30 11:30:38 +02:00
Johannes Meyer
95d1ce371c Navigation: Add static method getItemTypeConfiguration()
refs #10246
2015-09-30 11:18:15 +02:00
Johannes Meyer
7db05fa043 NavigationController: Consider module types more important in method getConfigPath()
refs #10246
2015-09-30 09:47:26 +02:00
Johannes Meyer
64ba37ad04 NavigationController: Fix add action
refs #10246
2015-09-29 17:23:27 +02:00
Johannes Meyer
1c44a3306b NavigationController: Add new parameters to all view script's links
refs #10246
2015-09-29 17:15:57 +02:00
Johannes Meyer
4b76115399 NavigationController: Require parameter type in action edit
refs #10246
2015-09-29 17:15:03 +02:00
Johannes Meyer
eb970b1467 NavigationController: Require paramter type in action remove
refs #10246
2015-09-29 17:14:17 +02:00
Johannes Meyer
8d0e57c95e NavigationController: Require parameter type and owner in action unshare
refs #10246
2015-09-29 17:13:45 +02:00
Johannes Meyer
b4bcfa4e08 NavigationController: Register navigation item types differently
refs #10246
2015-09-29 17:12:57 +02:00
Johannes Meyer
4921b1a62e NavigationController: Add method getItemLabel()
refs #10246
2015-09-29 17:09:32 +02:00
Johannes Meyer
565704141c NavigationController: Add method getConfigPath()
refs #10246
2015-09-29 17:08:53 +02:00
Johannes Meyer
086579b254 NavigationController: Rerender the layout when removing menu entries
refs #5600
2015-09-25 10:51:44 +02:00
Johannes Meyer
2952eaefcd NavigationController: Rerender the layout when unsharing menu entries
refs #5600
2015-09-25 10:51:16 +02:00
Johannes Meyer
b7ef951e57 NavigationController: Rerender the layout when editing a menu entry
refs #5600
2015-09-24 14:05:57 +02:00
Johannes Meyer
c4df7e05be NavigationController: Rerender the layout when adding a menu entry
refs #5600
2015-09-24 14:05:28 +02:00
Johannes Meyer
4d303e7121 NavigationController: Redirect to the shared overview if its the referrer..
..when editing a navigation item.

refs #5600
2015-09-23 14:21:04 +02:00
Johannes Meyer
5a494b3088 NavigationController: Show module item types only if accessible by the user
refs #5600
2015-09-21 08:59:36 +02:00
Johannes Meyer
84dfbf0b08 user navigation overview: Provide "owner" as sort column
This is rather a quick&dirty solution than anything proper.. But it basically
works and the only drawback is that ASC or DESC is dependent from the
owner's name...

refs #5600
2015-09-18 15:51:00 +02:00
Johannes Meyer
bef5eeda93 NavigationController: Fix action unshare()
refs #5600
2015-09-18 13:24:44 +02:00
Johannes Meyer
b39eddf69d navigation overviews: Use "type" as default sort column instead of "name"
As long as we're not splitting the items by type in different views, this
sort column is probably more commonly used..

refs #5600
2015-09-18 08:58:57 +02:00
Johannes Meyer
2cf52df0a8 user navigation overview: Add sort control
refs #5600
2015-09-18 08:53:05 +02:00
Johannes Meyer
6e2d7dca9b shared navigation overview: Add sort control
refs #5600
2015-09-17 15:17:46 +02:00
Johannes Meyer
99502a77e0 shared navigation overview: Display the type of a navigation item
refs #5600
2015-09-16 15:37:56 +02:00
Johannes Meyer
47257d74ff user navigation overview: Display the type of a navigation item
refs #5600
2015-09-16 15:09:56 +02:00
Johannes Meyer
4c1dd2ed36 NavigationController: Provide available item types externally
refs #5600
2015-09-16 15:05:43 +02:00
Johannes Meyer
ac3ef393b5 NavigationConfigForm: Write both configurations in a single "operation"
refs #5600
2015-09-16 10:58:57 +02:00
Johannes Meyer
d4c0f10b47 NavigationConfigForm: Let the form decide which configuration to manage
refs #5600
2015-09-15 15:57:03 +02:00
Johannes Meyer
9dbbc51721 NavigationController: Allow the owner to edit/remove a shared item
refs #5600
2015-09-07 16:27:27 +02:00
Johannes Meyer
3dc26e2dbe NavigationController: Implement removeAction()
refs #5600
2015-09-07 16:02:12 +02:00
Johannes Meyer
bd32f09407 NavigationController: Implement addAction()
refs #5600
2015-09-07 15:50:26 +02:00
Johannes Meyer
55a961b411 NavigationController: Implement editAction()
refs #5600
2015-09-07 15:43:06 +02:00
Johannes Meyer
6f7059ef9a NavigationController: Implement unshareAction()
refs #5600
2015-09-07 15:21:21 +02:00