This tries to address table overflow problems we have and is
only meant as a base for further discussion. It gets rid of
table overflow, e.g. in the dashboard on small mobile screens
by setting "table-layout: fixed;" for all tables. This breaks
the stacked-to-horizontal emulation, so the workaround there
is to switch it off, which requires a proper viewport detection.
While there, fiddle with the logs template, but for these non-
hooked stacked-to-horizontal tables the fix for table-layout
can't be undone, because that would break the original fix in
the first place.
Moral of the story: tables are deprecated. ;)
o Set tabindex to first for "tab -> type" action
o Translate "Search" string
o Redesign matcher to allow searching for multiple words at once
o Hide unwanted dashboard root submenu item
o Whitespace sweep
This way, every time we touch our Menu.xml the page's breadcrumbs
are automatically switched. :)
While there, clean the old $pgtitle setup so all of them translate
properly. They are still used for the menu bar title, that will
require more effort to unfold. Stay tuned.
@adschellevis if this is not the correct way to do it feel free
to refactor the MVC parts.
When a user needs to use the web configurator, import the the user from the remote ldap server using "import users" on system_usermanager.php
For backward compatibility purposes ldap_backed still can authenticate without a local user, although the web config isn't usable then.
(this always costs an extra query to determine the distinguished name of the user)
We may need to consider if "authenticate only" should be a bit more explicit to the user, or choose to always import users into OPNsense....
Next step in integrating our new MVC framework, the mainmenu in the left panel uses the same logic now for both legacy as new content.
- add feature, hide empty items
- configuration in /usr/local/opnsense/mvc/app/models/OPNsense/Base/Menu/Menu.xml