Commit Graph
406 Commits
Author SHA1 Message Date
Daniel Beck 37bd66a43a [SECURITY-2777] 2022-06-09 03:46:23 +00:00
Basil Crow e26d496c17 Work around JENKINS-68215 when running on Java 17 (#6600) 2022-05-25 22:38:21 -07:00
ikedamandTim 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 CrowandDaniel 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 BeckandDaniel 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 BeckandDaniel 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 BeckandDaniel 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 QueirugaandTim 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
StefanSpiekerandOleg 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
Tim JacombandDaniel Beck 634004a648 JENKINS-61206 System read / Extended read for agents (#4531)
* JENKINS-61206 System read / Extended read for agents

* Update core/src/main/java/hudson/Functions.java

* Set permission to false explicitly

* Add message when no configured clouds

Otherwise there was a white page and it looked weird

* Hide password for Computer.EXTENDED_READ

* Add test

* Access controlled simplification

* Fix typoes  / simplify code

* Simplify task.jelly

* Allow filtering system info extensions

* Show link that should be present

* Adjust MasterComputer access

* Adjust javadoc

* Adjust MasterComputer#configure

* Change links when read only access

* Use it instead of app

* Update core/src/main/resources/hudson/model/Computer/configure.jelly

Co-authored-by: Daniel Beck <1831569+daniel-beck@users.noreply.github.com>

* Code simplification

* Inline jelly text customisation

* Allow system read to see cloud move blurb

* Tooltip based on permission

Co-authored-by: Daniel Beck <1831569+daniel-beck@users.noreply.github.com>
2020-05-24 06:58:27 +01:00
Daniel BeckandDaniel Beck 8a9a1b2f7b [JENKINS-61808] Always transmit f:password values as Secret (#4630)
Co-authored-by: Daniel Beck <daniel-beck@users.noreply.github.com>
2020-05-10 11:17:51 +02:00
Daniel Beck d24b1df0d8 Fill in further 'since' TODO comments 2020-05-03 16:28:37 +02:00
James Nord 1f946961b9 s/javax.annotation.CheckForNull/edu.umd.cs.findbugs.annotations.CheckForNull/g 2020-03-26 16:12:35 +00:00
James Nord 819f80b12f s/javax.annotation.Nonnull/edu.umd.cs.findbugs.annotations.NonNull/g 2020-03-26 11:14:41 +00:00
James Nord a7fcc8e447 s/javax.annotation.Nullable/edu.umd.cs.findbugs.annotations.Nullable/g 2020-03-26 11:11:22 +00:00
Daniel Beck c4f90b7dbd Update at-since up to and including 2.226 2020-03-16 14:22:38 +01:00
Daniel Beck 7259d8698c [JENKINS-61465] Make checkAnyPermission work on non-AccessControlled 2020-03-13 12:31:45 +01:00
Oleg Nenashev 9537ee5154 Show plugin release date in plugin manager (#4535)
* Show plugin release date in plugin manager

* Add at-since

Co-Authored-By: Oleg Nenashev <o.v.nenashev@gmail.com>

* Make sorting work property

- Sort independently of sortable.js date parsing magic
- Hide categories when sorting by release date

* Show friendlier labels for the age of plugin releases

Co-authored-by: Oleg Nenashev <o.v.nenashev@gmail.com>
2020-03-05 10:09:14 +01:00