* [JENKINS-56934] fix the 'new view' link to correctly work with folders
* [JENKINS-56934] check permission on the correct item
* [JENKINS-56934] update and simplify the test
* [JENKINS-56934] check the owner is modifiable and refactor
* [JENKINS-56934] correct unit test, and add new test for non modifiable owner
* [JENKINS-63855] Support 'min' and 'max' values in the <f:number> tag
Add the validator for <f:number> whose clazz is 'number', 'number-required', 'non-negative-number-required', 'positive-number', 'positive-number-required'
* Document of min and max value of <f:input>
* Test for min / max support of <f:input>
In hudson-behaviour.js:
1. Convert the min and max to integer when they are comparing.
2. Since the HtmlUnit can't recognize the string literals, I changed it to string concat.
* Fix for "/minAndMaxValidation" 404 not found
Besides, remove unnecessary exception
Co-authored-by: Oleg Nenashev <o.v.nenashev@gmail.com>
* Add a couple of admin monitors.
Warn against leaving executors configured on the controller, under two different scenarios.
* Add line endings.
* Update extension name and doc targets.
Co-authored-by: Daniel Beck <1831569+daniel-beck@users.noreply.github.com>
* Make them security monitors.
* Improve UI / presentation.
* Remove permission checks.
Unnecessary.
* Make localizable.
* Add restricted annotations.
* Fix checkstyle error
* Use same message.
Co-authored-by: Daniel Beck <1831569+daniel-beck@users.noreply.github.com>
Co-authored-by: Raihaan Shouhell <raihaanhimself@gmail.com>
legacyDescriptors has no idea what type of Descriptor it has and is
using a raw Descrriptor.
legacyDescriptors.computeIfAbsent can then only return keys of the type
that are in the map - and this is a raw type - so no generic is possible
in the return of getLegacyDescriptors()
fixes the eclipse error ->
Type mismatch: cannot convert from
CopyOnWriteArrayList<ExtensionComponent<Descriptor>> to
CopyOnWriteArrayList<ExtensionComponent<Descriptor<T>>>
Introduces a standard `CI` env var that is always set to "true" in order
to allow pipelines and tools to know they're executing in a continuous
integration context. This has emerged as a best practice used by most
other popular CI solutions, and a number of tools look for this variable
in order to make CI-appropriate optimizations (cf. the ticket).
Closes JENKINS-36707.
* Ensure that plugins are sorted by name
* Remove incorrect comment
* Remove unused import
Co-authored-by: res0nance <res0nance@users.noreply.github.com>
* [JENKINS-64972] Help-buttons are not working when they are at the top of draggable div
The 'dd-handle' div will make all events in that div (e.g. click event of a button) not triggered, so I move the help-button out of the 'dd-handle' div.
In order to make the button still at the right of the same line, I use flex to realize.
* [JENKINS-64972] Move style to CSS file