Commit Graph
13263 Commits
Author SHA1 Message Date
Tim Jacomb de866dffdf Merge pull request #4754 from Vlatombe/capture-slavecomputer-threadinfo
Capture stacktrace from the original thread when SlaveComputer#_connect fails
2020-05-31 07:25:32 +01:00
Raihaan Shouhell 3fd66ff220 [JENKINS-20052] Refactor ListView getItems (#4466)
* Refactor ListView getItems

Signed-off-by: Raihaan Shouhell <raihaan.shouhell@autodesk.com>

* Minor Refactor

* Optimization for specific case

* Migrate statusfilter to viewjobfilter

* Use unboxed boolean so we don't have to deal with null

* UI Changes

* Add tests and use pre-auth filters

* Add test with a simple filter

* Remove old tests as the new tests should cover this

* Change annotation

* Only iterate if there are names or a regex pattern
2020-05-29 22:38:38 +08:00
Vincent LatombeandJesse Glick 97e8d17ef3 Update core/src/main/java/hudson/slaves/SlaveComputer.java
Co-authored-by: Jesse Glick <jglick@cloudbees.com>
2020-05-28 15:27:01 +02:00
Vincent Latombe dab8a19d78 Capture stacktrace from the original thread when SlaveComputer#_connect fails 2020-05-28 15:02:36 +02:00
Antonio Muniz c8bd0f0949 [JENKINS-62264] User with MANAGE permissions can access node monitoring (#4724)
* [JENKINS-62264] User with MANAGE permissions can access node monitoring

And submit its configuration.

* [JENKINS-62264] Allow Overall/Manage to refresh nodes status
2020-05-28 09:34:07 +02: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
Vincent Latombe 4c16f2cd95 Make Computer#getLogDir thread-safe (#4730) 2020-05-23 13:16:05 +01:00
Emilio Escobar 9f48a332e5 [JENKINS-61458] Allow Jenkins.MANAGE user to access "Reload Configuration From Disk" (#4728)
* [JENKINS-61458] Jenkins.MANAGE requires for configuration reload

* [JENKINS-61458] Test fixed
2020-05-22 14:57:23 +08:00
Mark Waite c2bd4fa006 Merge pull request #4714 from jglick/deadlock-JENKINS-62181
[JENKINS-62181] Deadlock during log formatting
2020-05-19 16:36:47 -06:00
Tim Jacomb 86af885a41 Merge pull request #4718 from MRamonLeon/JENKINS-62231 2020-05-15 19:50:50 +01:00
Jesse Glick a01810e7d5 Keep a ThreadLocal for the SimpleFormatter 2020-05-15 11:44:15 -04:00
Jesse Glick 22f0692bec Merge branch 'master' of github.com:jenkinsci/jenkins into deadlock-JENKINS-62181 2020-05-15 11:38:45 -04:00
Oleg Nenashev 711a0c9f26 Merge pull request #4711 from oleg-nenashev/JENKINS-60118-2
[JENKINS-60118] - Ensure that UserLanguages telemetry initializer always runs after extensions are augmented
2020-05-15 17:37:47 +02:00
Ramon Leon f914170e32 [JENKINS-62231] Adjust level depending on the case 2020-05-15 08:57:43 +02:00
Tim Jacomb c091890537 Merge pull request #4684 from calvinpark/JENKINS-61956_createProject-checkGoodName 2020-05-14 18:36:36 +01:00
Tim Jacomb 0a4159068b Merge pull request #4712 from MRamonLeon/JENKINS-61920 2020-05-14 18:25:55 +01:00
Ramon Leon a69a9a24e9 [JENKINS-62231] Optimize catch code 2020-05-12 10:55:46 +02:00
Raihaan Shouhell bbcf1dbbb9 Merge pull request #4715 from jglick/Configuration
Deprecating jenkins.model.Configuration
2020-05-12 08:19:49 +08:00
Ramon Leon 5d40c424f0 [JENKINS-61920] Add more information 2020-05-11 17:33:33 +02:00
Ramon Leon 943fbcd40c [JENKINS-62231] Log a report problem with info 2020-05-11 12:43:02 +02:00
Ramon Leon f621e5b68b [JENKINS-62231] Avoid OldDataMonitor avoids Jenkins load a plugin 2020-05-10 17:06:57 +02:00
Tim Jacomb b907828653 Merge pull request #4708 from daniel-beck/fix-and-restrict-Protector 2020-05-10 11:11:24 +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
Jesse Glick 4066817e6f Deprecating jenkins.model.Configuration 2020-05-08 12:24:03 -04:00
Jesse Glick 44048365d7 [JENKINS-62181] Deadlock during log formatting 2020-05-07 11:00:33 -04:00
Ramon Leon 11cea45a62 [JENKINS-61920] Keep imports as it was 2020-05-07 09:51:46 +02:00
Ramon Leon 28480185f0 [JENKINS-61920] Minor changes, improve docs 2020-05-07 09:49:48 +02:00
Ramon Leon a4d59f03b5 [JENKINS-61920] Avoid MissingClassTelemetry populates the log 2020-05-05 18:09:13 +02:00
Oleg Nenashev ac24beb0e1 [JENKINS-60118] - Ensure that UserLanguages telemetry initializer always runs after extensions are augmented 2020-05-05 10:54:39 +02:00
Daniel Beck 0bfd14d9be Remove reference to Protector from Scrambler, entirely unrelated 2020-05-04 13:44:02 +02:00
Daniel Beck 7389f41373 Fix up Protector class 2020-05-04 13:00:33 +02:00
Oleg Nenashev 0b6e868119 Make the SystemProperties API available to plugins 2020-05-04 12:03:00 +02:00
Daniel Beck 78ea4b6b55 These at-since were improperly added 2020-05-04 01:34:15 +02:00
Tim Jacomb 40c672824d Merge pull request #4705 from daniel-beck/at-since-20200503
Update at-since up to May 3, 2020
2020-05-03 22:36:35 +01:00
Tim Jacomb f029255acb Merge pull request #4704 from daniel-beck/setup-wizard-title
Add proper title for setup wizard
2020-05-03 22:35:30 +01:00
Calvin Park f176292eb4 JENKINS-61956 ItemGroupMixing#createProject() does not call Jenkins#checkGoodName 2020-05-03 14:30:55 -07:00
Daniel Beck 055e98796b Further 'since' comments not picked up by tool 2020-05-03 16:33:28 +02:00
Daniel Beck d24b1df0d8 Fill in further 'since' TODO comments 2020-05-03 16:28:37 +02:00
Daniel Beck 1df08c9bd1 Update at-since up to May 3, 2020 2020-05-03 16:18:54 +02:00
Daniel Beck 8569ad06b3 Add proper title for setup wizard 2020-05-03 15:12:16 +02:00
Tim Jacomb 6fb8b93a15 Merge pull request #4701 from daniel-beck/JENKINS-62133 2020-05-03 12:47:24 +01:00
Tim Jacomb 8f978a960b Merge pull request #4681 from Vlatombe/JENKINS-62006 2020-05-01 20:40:39 +01:00
Tim Jacomb 1837293356 JENKINS-61208 Allow system read to view more admin monitors (#4685) 2020-05-01 12:01:30 +01:00
Raihaan Shouhell 05dd40953f Merge pull request #4694 from daniel-beck/better-signature-logging
Better logging for signature validation
2020-05-01 17:43:10 +08:00
Daniel Beck 5f83800963 [JENKINS-62133] Adapt resource root URL form validation to new Jetty 2020-05-01 05:43:11 +02:00
Wadeck Follonier b911b0466c [JENKINS-60866] Un-inline JavaScript from ReverseProxySetupMonitor (#4626)
* [JENKINS-60866] Un-inline JavaScript from ReverseProxySetupMonitor

* Also un-inlining CSS

* Arrow to function

* Differentiate css-class and js-class

* The forgotten one
2020-04-29 20:30:02 +08:00
Raihaan Shouhell c3e2f20d4c Merge pull request #4655 from dwnusbaum/JENKINS-61841-rebased
[JENKINS-61841] Limit the number of exceptions stored by CompositeIOException
2020-04-29 19:00:38 +08:00
Raihaan Shouhell 6b5930817b Merge pull request #4687 from daniel-beck/fix-ExtensionComponent-compareTo
[JENKINS-62056] Fix ExtensionComponent#compareTo
2020-04-29 19:00:04 +08:00
Daniel Beck 0e91195844 Better logging for signature validation 2020-04-29 02:55:39 +02:00
Raihaan Shouhell ab5616712a Merge pull request #4686 from daniel-beck/signup-warning
Add form validation warning when signup is enabled
2020-04-28 20:36:31 +08:00