19896b3034
Updating the descriptions for the escape/encode functions ( #7606 )
...
* Updating the descriptions for the escape/encode functions
Adding explanations and examples to the encode and escape functions
* Updated description for encode
I have edited some of the descriptions to bring them in line with the documentation over on husdon.Util
* Changed leading and trailing spaces on encode
I left one space at the end and added a note to say how a blank space is rendered
* Removed trailing whitespace to satisfy checkstyle
* Preserve formatting and escape HTML tags
* Update core/src/main/java/hudson/Functions.java
Co-authored-by: Daniel Beck <1831569+daniel-beck@users.noreply.github.com >
* Changed escaping on examples so they rendered properly in the javadoc
I was tempted to use {@literal &} notation but this added blank spaces, making the examples look strange. Instead I have used the &amp; notation.
* Update core/src/main/java/hudson/Functions.java
Co-authored-by: Daniel Beck <1831569+daniel-beck@users.noreply.github.com >
* Update core/src/main/java/hudson/Functions.java
Co-authored-by: Daniel Beck <1831569+daniel-beck@users.noreply.github.com >
* Update core/src/main/java/hudson/Functions.java
Co-authored-by: Daniel Beck <1831569+daniel-beck@users.noreply.github.com >
* Update core/src/main/java/hudson/Functions.java
Co-authored-by: Daniel Beck <1831569+daniel-beck@users.noreply.github.com >
* Update core/src/main/java/hudson/Functions.java
Co-authored-by: Daniel Beck <1831569+daniel-beck@users.noreply.github.com >
* Update core/src/main/java/hudson/Functions.java
Co-authored-by: Daniel Beck <1831569+daniel-beck@users.noreply.github.com >
---------
Co-authored-by: Alexander Brandes <mc.cache@web.de >
Co-authored-by: Daniel Beck <1831569+daniel-beck@users.noreply.github.com >
2023-02-09 11:35:55 +01:00
83bf69758c
[JENKINS-68801] Fix for Functions#extractPluginNameFromIconSrc ( #6902 )
...
Co-authored-by: Temirlan Dyussyumbayev <bzzitsme@users.noreply.github.com >
Co-authored-by: Alexander Brandes <mc.cache@web.de >
2022-08-01 19:45:35 -07:00
Jesse Glick
adda175d36
Deprecating Functions.singletonList ( #6740 )
2022-07-06 07:42:18 +01:00
Basil Crow
082634cf1e
Update Javadoc links ( #6767 )
2022-07-04 10:32:53 -07:00
Basil Crow
6d179998e1
Use Java 11 methods where possible ( #6700 )
2022-06-30 09:31:36 -07:00
Tim Jacomb
a7950b8cf1
Merge branch 'master' into icon_url
2022-06-22 23:15:43 +01:00
Vincent Latombe
3191a1baaa
Add support for more edge cases
2022-06-09 18:12:14 +02:00
Daniel Beck
37bd66a43a
[SECURITY-2777]
2022-06-09 03:46:23 +00:00
Vincent Latombe
78dd3193a4
Refactor parts of Functions#tryGetIconPath for testability
...
Add testing for Functions#guessIcon cases.
Refactor icons translation to a static block as it should happen only once.
2022-06-01 15:33:38 +02:00
Riliane
ee76f917e8
JENKINS-68639
...
Check whether an icon path already contains the context path before appending the context path to it
2022-05-31 12:12:05 +03:00
Basil Crow
e26d496c17
Work around JENKINS-68215 when running on Java 17 ( #6600 )
2022-05-25 22:38:21 -07:00
ikedam and Tim Jacomb
0f90eba886
[JENKINS-68286] Allow extra classes with <layout:icon> ( #6510 )
...
Co-authored-by: Tim Jacomb <21194782+timja@users.noreply.github.com >
2022-05-09 07:47:33 +01:00
Basil Crow
aaa6f730f6
Deprecate Functions#getServerName ( #6545 )
2022-05-07 15:28:30 -07:00
Tim Jacomb
387104fd86
[JENKINS-67849] Correct icon resolution for remote icons ( #6476 )
2022-04-15 06:22:40 -07:00
Jan Faracik
51e7142d57
Remove ui-refresh-overrides.less and UI refresh toggle
2022-04-14 05:50:30 -07:00
04887f08ce
[JENKINS-68137] Enable custom icon symbols for plugins ( #6395 )
...
Co-authored-by: Ullrich Hafner <ullrich.hafner@gmail.com >
Co-authored-by: Tim Jacomb <timjacomb1+github@gmail.com >
2022-03-28 21:52:43 -07:00
5144035e55
Replace Tango icons with Jenkins Symbols ( #6307 )
...
Co-authored-by: Daniel Beck <1831569+daniel-beck@users.noreply.github.com >
Co-authored-by: Adrien Lecharpentier <adrien.lecharpentier@gmail.com >
Co-authored-by: Tim Jacomb <timjacomb1+github@gmail.com >
Co-authored-by: Tim Jacomb <21194782+timja@users.noreply.github.com >
2022-03-22 07:46:49 +00:00
Zbynek Konecny
9472f1c960
Allow missing logger name in log viewer ( #6310 )
2022-03-01 09:04:59 -08:00
NotMyFault
45cb976292
Plugins may read icons from an URL
2022-02-18 23:11:51 +01:00
NotMyFault
74874f5380
fix: Don't append leading slash to foreign icons
2022-02-18 16:59:54 +01:00
Jan Faracik
81072df4f7
Add support for Ionicons (symbols) to <l:Icon> and <l:task> components ( #6186 )
2022-02-12 15:41:57 +00:00
280e38eb3a
Modernise form components ( #5923 )
...
Co-authored-by: Tim Jacomb <21194782+timja@users.noreply.github.com >
Co-authored-by: Tim Jacomb <timjacomb1+github@gmail.com >
2022-02-07 08:03:13 +00:00
Basil Crow
e27b310065
Enable whitespace-related Checkstyle checks ( #6149 )
2022-01-03 08:55:03 -08:00
Basil Crow
d5cea69751
Prevent new SpotBugs violations from being introduced ( #6015 )
2021-12-06 13:52:38 -08:00
Basil Crow
023620625f
Enable ArrayTrailingComma Checkstyle check ( #5961 )
2021-11-30 12:50:10 +00:00
Basil Crow
632033d6ad
Sort imports ( #5732 )
2021-09-18 09:39:42 +01:00
offa
aa1f5ccbf3
Code clean up.
2021-07-01 17:26:42 +02:00
Basil Crow and Daniel Beck
b8c20c6428
Fix violations of a handful of Error Prone checks ( #5519 )
...
Co-authored-by: Daniel Beck <1831569+daniel-beck@users.noreply.github.com >
2021-06-14 16:45:34 +01:00
Daniel Beck and Daniel Beck
ca646b3742
Add www to jenkins.io URLs ( #5517 )
...
Co-authored-by: Daniel Beck <daniel-beck@users.noreply.github.com >
2021-05-25 20:56:16 +01:00
Daniel Beck and Daniel Beck
68711c1fc9
Remove HTTP response headers for the remoting-based CLI ( #5452 )
...
* Remove HTTP response headers for the remoting-based CLI
* Remove reference to obsolete header as requested in review
Co-authored-by: Daniel Beck <daniel-beck@users.noreply.github.com >
2021-05-04 00:02:42 +02:00
Basil Crow
95e85495ca
Enable AvoidStarImport Checkstyle check ( #5420 )
2021-04-28 17:28:39 +08:00
Basil Crow
f6378676b1
Add missing @Override annotations ( #5430 )
2021-04-28 17:28:25 +08:00
Oleg Nenashev
0fd55bd6b5
Merge pull request #5419 from basil/subtypes
...
Use declaring class as qualifier
2021-04-19 22:54:17 +02:00
Daniel Beck
5479432ee7
Update Jira references from HUDSON to JENKINS
2021-04-17 23:27:58 +02:00
Basil Crow
583ba94524
Change indirect accesses to static members to direct accesses (accesses through subtypes)
2021-04-14 17:36:23 -07:00
Basil Crow
881365d30b
Enable RedundantModifier Checkstyle check
2021-03-08 07:56:42 -08:00
StefanSpieker
58499905f8
replaced MS_SHOULD_BE_FINAL general spotbugs exclude with individual excludes ( #5235 )
2021-03-08 07:58:49 +00:00
eeac80127b
Clean up some Deprecation warnings ( #4407 )
...
Co-authored-by: Jesse Glick <jglick@cloudbees.com >
Co-authored-by: Oleg Nenashev <o.v.nenashev@gmail.com >
2021-02-06 09:04:27 +00:00
Oleg Nenashev
d69a9dd75f
Merge pull request #5146 from StefanSpieker/deprecated_line_separator
...
Replaced deprecated IOUtils.LINE_SEPARATOR with System.lineSeparator()
2021-01-05 07:53:30 +01:00
Stefan Spieker
e75345a85e
replaced deprecated IOUtils.LINE_SEPARATOR with System.lineSeparator()
2020-12-31 15:40:38 +01:00
Basil Crow
f31107fac2
Consolidate duplicate branches in switch statement
2020-12-19 13:08:45 -08:00
Oleg Nenashev
152682c157
Merge pull request #5109 from basil/improvements
...
Code cleanup
2020-12-19 20:51:40 +01:00
Esther Álvarez Feijoo
bdb5dce566
JENKINS-64403 Declare the page variable "divBasedFormLayout" globally, not only inside forms ( #5075 )
2020-12-13 12:58:53 +00:00
Basil Crow
39c22138d7
Remove redundant type arguments
2020-12-11 21:34:22 -08:00
a9ca5ef3d4
[JEP-227] Replace Acegi Security with Spring Security & upgrade Spring Framework ( #4848 )
...
Replacing Acegi Security with Spring Security
Co-authored-by: Tim Jacomb <timjacomb1+github@gmail.com >
Co-authored-by: James Nord <jtnord@users.noreply.github.com >
2020-11-06 11:30:25 -07:00
Jeff Thompson
27a71f981b
A step towards removing more 'slave' terminology.
...
Overload the mechanisms for obtaining the jenkins-agent.jnlp (formerly slave-agent.jnlp) file for launching inbound TCP agents.
Serve the file at either of the two locations.
Change the UI (etc.) documentation to reference the correct term / file.
2020-10-16 15:48:17 -06:00
93428a432d
Fix deprecation warnings + Update ArtifactArchiver to no longer consult with environment variables injected by EnvironmentContributingActions during the build ( #4933 )
...
* fixed deprecation warnings
* reverted changes
* fixed typeo in javadoc
* Update core/src/main/java/hudson/tasks/ArtifactArchiver.java
Co-authored-by: Daniel Beck <1831569+daniel-beck@users.noreply.github.com >
* Update core/src/main/java/hudson/cli/BuildCommand.java
Co-authored-by: Jesse Glick <jglick@cloudbees.com >
* fixed imports
Co-authored-by: Daniel Beck <1831569+daniel-beck@users.noreply.github.com >
Co-authored-by: Jesse Glick <jglick@cloudbees.com >
2020-10-14 17:05:42 +02:00
Daniel Beck and Daniel Beck
c632f42f07
Update at-since Javadoc ( #4877 )
...
Co-authored-by: Daniel Beck <daniel-beck@users.noreply.github.com >
2020-08-01 08:33:48 +01:00
Félix Queiruga and Tim Jacomb
fb7f8903c3
[JENKINS-63002] Revamp tabs and bigtables ( #4835 )
...
Co-authored-by: Tim Jacomb <timjacomb1+github@gmail.com >
2020-07-19 09:23:25 +01:00
StefanSpieker and Oleg Nenashev
463cd113ba
Minor refactorings either for performance or readability ( #4845 )
...
Co-authored-by: Oleg Nenashev <o.v.nenashev@gmail.com >
2020-07-17 15:14:46 +01:00