Michal Čihař
3b6a994dcd
Move collation connection setting to user preferences
...
It is now handled same way as other user settings.
Issue #11688
Issue #13466
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-11-29 14:16:31 +01:00
Michal Čihař
216f403c28
Store navigation width in user preferences
...
There is no need to have this separetely.
Issue #13466
Issue #11688
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-11-28 15:36:08 +01:00
Michal Čihař
f9c73c7b10
Remove special casing for font size
...
It is now stored in configuration in same way as any other setting.
Issue #13466
Issue #11688
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-11-28 15:16:01 +01:00
Michal Čihař
b30ab4af58
Generalize code for console preferences
...
We can reuse and better cache locally the operations to avoid additional
roundtrip to server when changing settings.
Issue #13466
Issue #11688
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-11-28 13:45:14 +01:00
Michal Čihař
a2fd98d9f1
Add console preferences
...
This will allow to use console preferences using normal userconfig
framework.
Issue #13466
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-11-28 13:08:49 +01:00
Michal Čihař
35fca8e2d5
Remove not used BaseFormList::getDefault
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-09-06 12:00:17 +02:00
Michal Čihař
3559f7a8a5
Remove special casing for UserprefsDeveloperTab
...
- include it in user form only if allowed
- always include it in setup form
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-09-06 11:06:51 +02:00
Michal Čihař
953ef05b92
Use forms to define menu and titles on setup
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-09-06 11:05:10 +02:00
Michal Čihař
8490161073
Share code for testing FormLists
...
The tests were same anyway, so avoid duplicating code.
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-09-06 11:05:10 +02:00
Michal Čihař
09642df6fc
Avoid using abstract static functions
...
This does not work in PHP 5, only in PHP 7.
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-09-06 11:05:09 +02:00
Michal Čihař
8490d3a571
Rewrite Setup settings forms as classes
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-09-06 11:05:09 +02:00
Michal Čihař
1fb2887a2a
Bring User settings in sync with Setup
...
- add server navigation configuration, it makes no sense to hide this
from user as it configures just UI
- reorganize Features form a bit to be in sync with Setup
- add DisableShortcutKeys settings to User
- remove LoginCookieValidity from User settings (there are more cookie
related settings and all should be handled same)
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-09-06 11:05:09 +02:00
Michal Čihař
73d1599a1a
Rewrite Page settings forms as classes
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-09-06 11:02:07 +02:00
Michal Čihař
df7f328f79
Rewrite User preferences forms as clases
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-09-06 11:02:07 +02:00