Commit Graph

50 Commits

Author SHA1 Message Date
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 338d067aba.
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
Johannes Meyer 775c20d9ad Rename namespace Icinga\Form to Icinga\Forms
refs #7553
2014-11-14 10:57:14 +01:00
Eric Lippmann ac2ec83852 Merge branch 'master' into feature/localization-form-6073
Conflicts:
	library/Icinga/Application/ApplicationBootstrap.php
	test/php/library/Icinga/User/Store/DbStoreTest.php
2014-11-13 17:03:41 +01:00
Alexander Fuhr 2bae33d6ad Change PreferenceForm and add the ability to store preferences in the current session 2014-11-12 13:18:35 +01:00
Johannes Meyer 170ded6510 Merge branch 'master' into feature/setup-wizard-7163
Conflicts:
	library/Icinga/Authentication/Backend/LdapUserBackend.php
	library/Icinga/File/Ini/IniWriter.php
2014-11-04 14:22:53 +01:00
Eric Lippmann 16352fc10c Move Logger to the Application namespace
fixes #7148
2014-10-31 10:27:17 +01:00
Johannes Meyer c1bff9a26e Merge branch 'master' into feature/setup-wizard-7163 2014-10-30 10:38:21 +01:00
Eric Lippmann c4554ac692 Log exceptions when saving preferences 2014-10-30 09:48:25 +01:00
Johannes Meyer c00dbf9f46 Write session on response
There should not be any necessity to write the session once changes are
being made to it. We now track whether changes were made and write
the session when responding to the user's request if so.
2014-09-24 10:46:35 +02:00
Johannes Meyer 930e6e7d71 We shouldn't require Form::createElements() to return self
refs #5525
2014-09-08 09:24:53 +02:00
Johannes Meyer ae9e5a40cc Merge branch 'master' into bugfix/rebuild-form-builder-5525
Conflicts:
	application/forms/Preference/GeneralForm.php
2014-09-08 08:46:53 +02:00
Johannes Meyer fc72ddfbc8 Adjust Preferences/GeneralForm to use handleRequest() &. Co.
refs #5525
2014-09-05 10:21:24 +02:00