Jolien Trog
56793c81e9
fix: resolve review comments
...
Co-authored-by: Ravi Kumar Kempapura Srinivasa <33730024+raviks789@users.noreply.github.com>
2025-08-08 13:39:11 +02:00
Jolien Trog
fe03c03cd9
Fix stacktrace for missing database connection
...
- Add error handling for database connection failures
- Suppress stacktrace and add error messages for user and admin
- Improve user experience with clear error messages
2025-08-08 12:25:24 +02:00
Sukhwinder Dhillon
4d3765b22f
PreferenceForm: Fix Variable '$disabled' is probably undefined
...
- Remove obsolete `value` attribute
2023-08-23 10:53:14 +02:00
raviks789
eff262cafd
PreferenceForm
: Use correct number of arguments for method Preferences::get()
2023-08-23 10:53:14 +02:00
Johannes Meyer
dcb83d9ab5
PreferenceForm: Always enable mode selection if user theme is compatible
...
fixes #4744
2022-04-11 13:28:36 +02:00
moreamazingnick
ba677de0c6
Fix missing global theme check refs #4723 ( #4724 )
2022-03-29 16:34:35 +02:00
Johannes Meyer
74971359a3
css: Change mode detection to look for @light-mode
2022-02-10 11:11:06 +01:00
Johannes Meyer
a9a3288e10
Merge pull request #4567 from Icinga/bugfix/mobile-issues-4562
...
Bugfix/mobile issues 4562
2021-11-04 08:55:18 +01:00
Johannes Meyer
aa101e18c8
PreferenceForm: Don't try to load missing themes
2021-11-02 15:09:26 +01:00
Florian Strohmaier
bdfb75023f
PreferenceForm: Add .theme-mode
class to theme mode control-group
...
refs #4562
2021-10-26 16:49:15 +02:00
Johannes Meyer
df49f0c241
PreferenceForm: Detect client changes based on current session
...
not based on the stored preferences. The session is more up2date.
refs #4417
2021-07-05 18:08:15 +02:00
Florian Strohmaier
4b75f94573
PreferenceForm: Style theme mode control
2021-06-23 17:34:27 +02:00
Sukhwinder Dhillon
4ba0fb102f
PreferencesForm : Reload CSS if theme mode changed
2021-06-23 17:34:27 +02:00
Johannes Meyer
ae7b2c47a6
PreferenceForm: Really only reload CSS or redirect if required
2021-06-23 17:34:27 +02:00
Sukhwinder Dhillon
9fbd82e17f
PreferenceForm: Add option to change the theme mode
2021-06-23 17:34:27 +02:00
Johannes Meyer
caef8dab6a
PreferenceForm: Fix that the default locale is not choosable
...
refs #4376
2021-06-02 12:03:50 +02:00
Johannes Meyer
573af6b2df
PreferenceForm: Detect locales using ipl-i18n
2021-05-28 14:03:36 +02:00
Johannes Meyer
9d6bef0a39
PreferenceForm: Reload the entire layout if the locale changes
2021-05-17 13:20:42 +02:00
Johannes Meyer
cc65164a67
Adjust global permissions
2021-02-18 11:11:39 +01:00
Johannes Meyer
0f400ea4ef
PreferenceForm: Properly process autosubmits
...
Otherwise the default value of element `auto_refresh_speed`
is not applied after enabling element `auto_refresh`.
2020-11-30 11:41:23 +01:00
Alexander Aleksandrovič Klimov
79ad7a4197
Name auto-refresh speeds more human readable
...
Co-authored-by: Johannes Meyer <johannes.meyer@icinga.com>
2020-11-26 11:38:02 +01:00
Alexander A. Klimov
81b19285a7
Make auto refresh interval configurable
...
refs #2819
2020-11-26 11:38:02 +01:00
Johannes Meyer
774ad831c0
PreferenceForm: Enforce page size limit being 25 or higher
2020-11-16 13:29:18 +01:00
Johannes Meyer
e01852f34b
Update required
attribute of all forms
...
Some were missing it, some were adding it unnecessarily.
Since it's now displayed what's required this needed to
be streamlined.
2020-04-09 14:39:52 +02:00
Jennifer Mourek
bf48b6d26b
WIP: New form styles
...
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2019-07-29 10:17:59 +02:00
Eric Lippmann
47405127d0
Add config to hide/show pplication state messages
...
refs #2835
2018-07-09 16:28:28 +02:00
Alexander A. Klimov
4b715e0176
Handle missing Accept-Language header
...
refs #2885
2018-01-16 13:37:34 +01:00
Alexander A. Klimov
bdcb6389d8
Add user preference for default number of items per page
...
refs #2859
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2017-11-15 16:56:43 +01:00
Johannes Meyer
181e2ef05c
Swag: Fix swag (aka a whole bunch of code style issues..)
2017-01-27 14:48:59 +01:00
Alexander A. Klimov
1450bc4022
Show a warning if the chosen locale by the user is not available on the system
...
refs #11820
2016-11-17 11:21:59 +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
9c7c2bd6b1
Show correct default theme in configuration dialogs
2015-12-22 14:10:47 +01:00
Eric Lippmann
9599b63a55
Fix that setting a default theme had not effect
2015-12-22 13:00:01 +01:00
Eric Lippmann
958f8e5baf
Allow to choose a theme via preferences when there are themes
...
refs #10705
2015-11-27 15:42:18 +01:00
Eric Lippmann
8d072bcb98
Remove title from preferences page
...
refs #5543
2015-11-10 14:05:01 +01:00
Johannes Meyer
93f7bfeeb9
Allow to dis-/enable stacktraces in a user's preferences
...
refs #9113
2015-08-24 14:47:37 +02:00
Johannes Meyer
b9252010b3
PreferenceForm: Add missing activity indicator
...
refs #8369
2015-08-24 12:47:34 +02:00
Eric Lippmann
07849e0fea
lib: Rename Authentication/Manager to Authentication/Auth
...
refs #9660
2015-07-28 17:08:55 +02:00
Johannes Meyer
44643a6c4b
PreferenceForm: Improve button placement
2015-07-23 16:49:50 +02:00
Alexander Klimov
967a2e82dc
Use (only) "@return $this" in fluent interfaces' documentation
2015-04-07 14:24:11 +02:00
Johannes Meyer
4ba281e7e8
Config: Use native form title and description support where appropriate
...
refs #7947
refs #7976
2015-03-02 18:40:47 +01:00
Alexander Fuhr
b9c9f564ec
Add editable auto_refresh parameter to the user preferences
...
refs #7945
2015-02-12 15:12:10 +01:00
Eric Lippmann
6bae2e0a53
Note that our license is GPL v2 or any later version in our license header instead of pointing to the license's URL
2015-02-04 10:52:27 +01:00
Eric Lippmann
5b4fab0750
Add license header
...
This time without syntax errors hopefully :)
2015-02-03 16:27:59 +01:00
Eric Lippmann
5fa2e3cfdc
Revert "Add license header"
...
This reverts commit 338d067aba41dd6e9178cebec5433eecd614196e.
2015-02-03 16:16:26 +01:00
Eric Lippmann
338d067aba
Add license header
...
fixes #7788
2015-02-03 15:51:04 +01:00
Johannes Meyer
55c20abddc
Only show the "save to session" button in case preferences store = none
...
refs #8234
2015-01-23 16:25:24 +01:00
Johannes Meyer
dbd69ba693
Replace t() and mt() with translate() in the application's forms
...
refs #7551
2015-01-19 11:26:23 +01:00
Alexander Fuhr
86cca8ff0b
Fix the `date_default_timezone_get()' error
2014-11-14 17:08:34 +01:00
Johannes Meyer
ddf2ef5cc9
Remove $request parameter from Form::onSuccess and Form::onRequest
...
fixes #7552
2014-11-14 14:59:29 +01:00