Johannes Meyer
7f0ddd931c
Form: Create CSRFTokens in way that ensures id uniqueness
2022-02-04 17:20:48 +01:00
Johannes Meyer
7b488d7f93
swag: Fix violations of PSR-12
...
PSR-2 has been deprecated and phpcs v3.5.3
now checks for the successor PSR-12
2019-12-04 11:28:08 +01:00
Johannes Meyer
f98f988aff
Remove tristate form element
2019-09-23 08:36:24 +02:00
Johannes Meyer
05613c413d
Enhance toggle-switch, spinner and control-info placement
...
tested with Chromium, IE11 (Win7), Edge (Win10)
2019-07-29 10:17:59 +02:00
Johannes Meyer
bc2e7588d7
FormNotifications: Don't ignore warning and error notifications
2019-07-29 10:17:59 +02:00
Eric Lippmann
c49f5d6a0f
Don't override Zend's Checkbox for our toggle switch
2019-07-29 10:17:59 +02:00
Eric Lippmann
41ee36c7e6
Reduce default textarea rows
2019-07-29 10:17:59 +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
Alexander A. Klimov
880a0a254f
DateTimePicker: support *nix timestamps
...
refs #2749
2018-06-22 11:03:07 +02:00
Alexander A. Klimov
5cf51a70c8
Numeric input: validate inclusive ranges
2018-04-12 14:25:10 +02:00
Alexander A. Klimov
72ec132f25
Correct interfaces to conform to PHP 7.2+
2018-01-24 11:50:10 +01:00
Alexander A. Klimov
c2f74d49cb
InternalUrlValidator: prevent circumvention by URLs on the same VHost
2018-01-16 15:40:08 +01:00
Alexander A. Klimov
c22efa4519
UrlValidator: translate error message
2017-10-20 14:27:33 +02:00
Markus Frosch
1d06d4e3c4
Form/Element/Number: The field should be valid when empty
2017-08-17 13:20:51 +02:00
Eric Lippmann
c0d82fa2cc
Rephrase autosumbit tooltips
...
fixes #1507
2017-07-04 13:59:02 +02:00
Eric Lippmann
53091384cd
Remove unused attributes from the date time picker element
2017-07-04 10:32:30 +02:00
Eric Lippmann
a5990d4de8
Add date and time form elements
2017-07-03 15:03:26 +02:00
Johannes Meyer
181e2ef05c
Swag: Fix swag (aka a whole bunch of code style issues..)
2017-01-27 14:48:59 +01:00
Johannes Meyer
0716f87852
Update german translation
2016-12-13 13:57:27 +01:00
Eric Lippmann
ef7be98e0c
Simplify InternalUrlValidator::isValid()
...
refs #11920
2016-09-09 15:22:24 +02:00
Eric Lippmann
1f980f92f2
Optimize imports in InternalUrlValidator
...
refs #11920
2016-09-09 15:21:06 +02:00
Alexander A. Klimov
fa113e023b
dashboard/new-dashlet: don't allow external URLs
...
refs #11920
2016-08-31 15:11:55 +02:00
hailthemelody@rm-laptop04
188703cf95
fix various typos
...
Signed-off-by: Johannes Meyer <johannes.meyer@netways.de>
2016-06-02 08:24:05 +02:00
Alexander A. Klimov
242cdab754
DateTimePicker: implement getFormat()
...
refs #10847
2016-04-18 17:19:57 +02:00
Florian Strohmaier
0a9c0925cb
CSS: Add space before the autosubmit info in forms
2016-04-07 12:46:13 +02:00
Alexander A. Klimov
b7bdf2e8d4
Implement UrlValidator
2016-02-23 16:34:18 +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
7fd575080e
PHP7: Rename String to StringHelper
...
refs #10251
2016-01-27 16:46:55 +01:00
Bernd Erk
ecf929ec96
Fixes form decorator and uses sprintf
2015-11-12 23:11:07 +01:00
Bernd Erk
d8d917ef5a
Remove long required hint in forms
2015-11-12 16:01:20 +01:00
Eric Lippmann
c318454a45
CSS: Style form descriptions, hints, notifications and errors
...
refs #5543
2015-10-01 02:49:38 +02:00
Eric Lippmann
51d6c61bf7
CSS: Re-add spinner for autosubmit
...
refs #5543
2015-10-01 01:59:56 +02:00
Eric Lippmann
c36c0455d4
CSS: Use icon-info-circled for form control help
...
refs #5543
2015-09-30 09:52:53 +02:00
Eric Lippmann
79c9a8af9b
lib: Fix Number::isValid(), again :)
2015-09-17 12:52:09 +02:00
Eric Lippmann
e8c21868ff
lib: Fix Number::isValid()
...
- Calls $this->translate()
- Always performs is_numeric check, even if the element is not required
2015-09-07 16:57:09 +02:00
Johannes Meyer
b9d64b40a4
forms.less: Fix help icon layout
2015-08-21 10:36:08 +02:00
Johannes Meyer
20f144bd4b
Spinner: Accept option `id'
...
refs #8369
2015-08-20 16:13:30 +02:00
Johannes Meyer
690d60672c
Introduce form element decorator Spinner
...
refs #8369
2015-08-20 14:34:43 +02:00
Eric Lippmann
9060e8a034
lib: Only call Icinga::app()->getRequest() for getting the request outside of a controller
...
Saves a call to getFrontController().
refs #9660
2015-07-30 14:02:44 +02:00
Johannes Meyer
cecd94be50
Merge branch 'master' into feature/support-for-file-uploads-8758
2015-07-22 08:47:24 +02:00
Johannes Meyer
f3c8f2229f
ErrorLabeller: Provide localized output for the MimeType validator
...
refs #8758
2015-07-15 15:15:15 +02:00
Johannes Meyer
5b908d85bb
Form: Fix notifications
...
* Coding style issues
* Notifications were not grouped by type
* Notifications of sub-forms were overwriting existing ones
(cherry picked from commit 147f6be714
)
2015-07-01 14:26:03 +02:00
Johannes Meyer
d5ba40ac19
Form: Add hint support
...
Hints are short messages displayed at the bottom of a form
used to describe specific aspects on how to interact with
the form.
refs #8983
2015-06-30 15:02:58 +02:00
Johannes Meyer
ea6f707bdf
FormDescriptions: Do not render a description for required fields
...
refs #8983
2015-06-30 14:28:27 +02:00
Johannes Meyer
147f6be714
Form: Fix notifications
...
* Coding style issues
* Notifications were not grouped by type
* Notifications of sub-forms were overwriting existing ones
2015-06-30 14:25:33 +02:00
Johannes Meyer
ec556edc65
Merge branch 'master' into feature/user-and-group-management-8826
2015-05-26 09:28:35 +02:00
Johannes Meyer
4f0b4e55ef
ErrorLabeller: Use an element's name if no label is set
2015-05-22 14:01:26 +02:00
Eric Lippmann
54577d04bd
Merge branch 'master' into bugfix/time-formatting-6778
...
Conflicts:
modules/monitoring/application/views/scripts/list/comments.phtml
modules/monitoring/application/views/scripts/list/hostgroups.phtml
modules/monitoring/application/views/scripts/process/info.phtml
modules/monitoring/application/views/scripts/show/components/downtime.phtml
modules/monitoring/application/views/scripts/show/components/notifications.phtml
modules/monitoring/public/css/module.less
2015-05-21 14:57:01 +02:00
Eric Lippmann
ab7c529094
Show the expected input format if a date-and-time input is not valid
...
refs #6778
2015-05-19 11:22:23 +02:00
Alexander Fuhr
1eb11625ef
Add new FormNotification Decorator to render form notifications
...
refs #9203
2015-05-15 13:02:54 +02:00