Commit Graph
10757 Commits
Author SHA1 Message Date
Jesse Glick d695789904 Merge branch 'master' into DownloadSettings-JENKINS-19081
Conflicts:
	core/src/main/java/hudson/model/DownloadService.java
	core/src/main/java/hudson/model/UpdateSite.java
2014-02-28 09:50:00 -05:00
Jesse Glick a0d6e5286d Fixed outstanding uses in core of deprecations from #1135 & #1138. 2014-02-27 17:29:29 -05:00
Jesse Glick 54c85007f3 @kohsuke prefers that the option to disable signature checks not even be presented unless -Dhudson.model.DownloadService.noSignatureCheck is used. 2014-02-27 17:10:01 -05:00
Jesse Glick 1262d88289 Be a bit paranoid and ensure the admin has CONFIGURE_UPDATECENTER before turning off signature checks. 2014-02-27 16:54:16 -05:00
Jesse Glick 1ac77750e9 [FIXED JENKINS-19081] Offer the option of downloading metadata directly from the server. 2014-02-27 16:31:07 -05:00
Jesse Glick f9953add7b Attempting NetBeans automatic fixes for deprecations in #1135, #1138.
Not currently working: https://netbeans.org/bugzilla/show_bug.cgi?id=242428
2014-02-27 13:34:49 -05:00
Jesse Glick 94d81b0181 Missing deprecation from #1135. 2014-02-27 13:34:03 -05:00
Jesse Glick 6fe5d6c6ba [JENKINS-21780] Much more effective fix.
Introduce VirtualFile.run method to batch together commands.
This should restore pre-ArtifactManager performance for workspace browsing.
2014-02-26 18:01:07 -05:00
Jesse Glick e51fdbbc0e [FIXED JENKINS-21780] Revised fix to make cache work properly without introducing a new remote call to find hash codes. 2014-02-26 16:58:59 -05:00
Oliver Gondža d9b16017e4 Merge pull request #1133 from daniel-beck/JENKINS-21855
[FIXED JENKINS-21855] Add preview for parameter descriptions
2014-02-26 18:31:23 +01:00
Jesse Glick 7c568178f3 [FIXED JENKINS-21958] FilePath.copyRecursiveTo given a scanner including a symlink but not any regular file in the same directory would neglect to create the parent directory on the destination and thus not copy the link.
(Util.createSymlink is partly to blame for not throwing a descriptive IOException when it fails to create a link,
but this is its historical behavior needed for compatibility.
copyRecursiveTo also continues to suppress error text from this method because there is nowhere for it to go.
Perhaps need a new variant of createSymlink that is guaranteed to either have created the link or throw an exception.)
2014-02-26 10:13:39 -05:00
qxo 29948ade45 fixed i18n issue for Chinese(zh_CN): remove 查克·诺里斯说 ( "\u67E5\u514B\u00B7\u8BFA\u91CC\u65AF\u8BF4\uFF1A" ) from *.zh_CN.properties 2014-02-26 11:05:23 +08:00
Kohsuke Kawaguchi 56024205c1 Excluding this test on unsupported platform
... based on Tyler's discovery at https://gist.github.com/rtyler/9195510

testRemoting(hudson.util.ProcessTreeTest)  Time elapsed: 0.097 sec  <<< ERROR!
java.util.NoSuchElementException: null
        at java.util.HashMap$HashIterator.nextEntry(HashMap.java:897)
        at java.util.HashMap$ValueIterator.next(HashMap.java:922)
        at hudson.util.ProcessTreeTest$MyCallable.call(ProcessTreeTest.java:42)
        at hudson.util.ProcessTreeTest$MyCallable.call(ProcessTreeTest.java:38)
        at hudson.remoting.UserRequest.perform(UserRequest.java:118)
        at hudson.remoting.UserRequest.perform(UserRequest.java:48)
        at hudson.remoting.Request$2.run(Request.java:328)
        at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
        at java.util.concurrent.FutureTask.run(FutureTask.java:166)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:724)

He runs this on FreeBSD.
2014-02-24 11:57:25 -08:00
Jesse Glick 97cc96c925 Merge pull request #1140 from christ66/commons-io-up
Add alternative field calls for deprecated methods.
2014-02-24 13:32:14 -05:00
christ66 e88de958ca Add alternative field calls for deprecated methods. 2014-02-24 00:38:46 -08:00
Jesse Glick fdda9ca656 [FIXED JENKINS-16332] Ensure that User records are saved when the fullName is not recoverable from the id.
Otherwise User.get(id).getFullName() after restarting Jenkins will produce the wrong result.
2014-02-23 17:48:44 -05:00
Jesse Glick 5d91ed77f7 Merge branch 'JENKINS-20965' of github.com:christ66/jenkins 2014-02-23 13:28:47 -05:00
Olivier Lamy 761af2d2db Merge pull request #1138 from christ66/commons-io-up
Deprecate the static final variables used in IOUtils.
2014-02-22 14:14:39 +11:00
christ66 9beb9cd958 Deprecate the static final variables used in IOUtils. 2014-02-21 17:21:25 -08:00
christ66 82e94e5e73 [FIXED JENKINS-20965] Run.writeWholeLogTo causes high CPU usage.
Wait one second before writing to log files. Switched to while loop to
prevent extra one second delay.
2014-02-21 17:03:42 -08:00
Jesse Glick 898f1f76a3 [FIXED JENKINS-12124] Occasionally errors loading plugin classes since it is expected that findClass (and findLoadedClass) are called under synchronization.
The problem was masked by a blind assumption that an InvocationTargetException was in fact wrapping a ClassNotFoundException.
Many thanks to @gotwarlost for demonstrating how to reproduce the problem and diagnosing the cause.
2014-02-21 15:03:16 -05:00
Olivier Lamy 3b472e5b86 Merge pull request #1135 from christ66/commons-io-up
Upgrade to commons-io 2.4
2014-02-21 17:10:04 +11:00
christ66 4c32649db5 Upgrade to commons-io 2.4
In order to maintain backwards compatibility we need to keep IOUtils the
same as in commons-io 1.4. This code is backwards compatible, however
most of the methods have been deprecated and should instead use the
org.apache.commons.io.IOUtils version instead.
2014-02-20 21:50:14 -08:00
Jesse Glick f360ce3ee0 Javadoc for Queue.Task claimed they were compared using .equals(), but in critical cases this was not actually true.
Does not matter for the common case of Job, but when implementing custom tasks this could cause duplicate queue items (and executables).
2014-02-20 11:05:32 -05:00
Jesse Glick b09f828706 [JENKINS-21159] Noting #663 merge. 2014-02-18 18:25:16 -05:00
Jesse Glick 20c4b06f8c Merge branch 'master_g' of github.com:ialbors/jenkins
[FIXED JENKINS-21159] Merged #663.
2014-02-18 18:10:17 -05:00
Daniel Beck 672954baf4 [FIXED JENKINS-21855] Add preview for parameter descriptions 2014-02-18 17:28:12 +01:00
Harald Albers 3d5baf60c4 improved description of EscapedMarkupFormatter
also made its display name localizable
2014-02-18 11:37:56 +01:00
Jesse Glick cf3c157d74 Unused imports. 2014-02-17 15:12:05 -05:00
Jesse Glick 6a205a9495 Senseless for the state field to be protected when the enum used for its type is private: no subtype could use it anyway. 2014-02-17 14:34:57 -05:00
Jesse Glick a22d914a0e Javadoc improvements. 2014-02-17 14:33:42 -05:00
Jesse Glick f268d3ba3d Merge branch 'master' of git://github.com/jenkinsci/jenkins 2014-02-17 13:58:13 -05:00
Daniel Beck 1b17335645 Update Javadoc for PR #1124 2014-02-17 19:24:09 +01:00
Daniel Beck 9856477ffe Update Javadoc for PR #1124 2014-02-17 19:23:37 +01:00
Jesse Glick b2c69b4a35 Split RawHtmlMarkupFormatter into a bundled plugin (antisamy-markup-formatter).
https://trello.com/c/NvZt4WXu/15-rawhtmlmarkupformatter
2014-02-17 12:22:53 -05:00
Daniel Beck 389a3bcf6a Merge pull request #1124 from daniel-beck/fix-autocompletion-for-folders
Fix autocompletion for items in folders
2014-02-16 21:00:47 +01:00
Daniel Beck 9454f92989 Merge pull request #1123 from daniel-beck/fix-build-deletion
Revert 33db54459a
2014-02-16 20:58:52 +01:00
Kohsuke Kawaguchi 411c3cfecb [JENKINS-21261]
plugin might erranously put null into the collection, so filter them out
2014-02-14 18:29:21 -08:00
Kohsuke Kawaguchi b87b1f1799 made the content type customizable 2014-02-14 18:29:21 -08:00
Kohsuke Kawaguchi bc806ccc27 typo 2014-02-14 18:29:21 -08:00
Kohsuke Kawaguchi bdd8ca3fe4 merged back the RC branch 2014-02-14 16:34:44 -08:00
Jesse Glick 724f9e0dfc Strengthening the reverse proxy admin monitor to detect nontransparent slash encoding (/ vs. %2F).
Apache in its default configuration botches this: http://stackoverflow.com/a/9933890/12916
2014-02-13 15:04:32 -05:00
Jesse Glick 408e2acace Merge branch 'security' into security-rc 2014-02-12 09:59:34 -05:00
Jesse Glick d030fbbaee [FIXED SECURITY-105] Disabling DynamicProxyConverter. 2014-02-12 09:56:21 -05:00
Daniel Beck 237dda40e0 [FIXED JENKINS-21772] Only cache CLI credentials in ~/.hudson if it exists. 2014-02-12 09:18:19 +01:00
Daniel Beck 917ea81636 [FIXED JENKINS-21778] Fix sidepanel links so they don't break from Actions 2014-02-12 09:15:16 +01:00
Daniel Beck 08a96df6b6 [FIXED JENKINS-21777] Actions contributing to Labels' index page 2014-02-12 09:13:42 +01:00
Jesse Glick abc77438d2 Merge branch 'security' into security-rc
Conflicts:
	core/src/main/java/hudson/Functions.java
	core/src/main/java/hudson/markup/MyspacePolicy.java
	core/src/main/java/hudson/util/RobustReflectionConverter.java
	core/src/main/resources/lib/layout/layout.jelly
	war/pom.xml
2014-02-11 21:00:54 -05:00
Jesse Glick 3c2f5046c0 Revert "Warn user when plugin dependencies don't match"
This reverts commit 2d40b7e7e9.
2014-02-11 19:12:58 -05:00
Jesse Glick 58ff576f0a Revert "Use dedicated exceptions to track incompatible/missing plugin"
This reverts commit b32d0e4f74.
2014-02-11 19:12:57 -05:00