Commit Graph
138 Commits
Author SHA1 Message Date
David Hoover 1709ed3a2e Add @Deprecated annotations to things documented as @deprecated. 2015-04-19 14:50:12 -07:00
Jesse Glick f60bde00ab Merge branch 'security' into security-rc
Conflicts:
	core/src/main/java/hudson/PluginManager.java
	core/src/test/java/hudson/PluginManagerTest.java
2015-02-27 13:50:21 -05:00
James Nord b8c9841c30 [SECURITY-167] Plugin manager was also vulnerable.
Although the plugiun manager was vulnerable getting information
out of Jenkins was harder - however it would still be possible to
do bad things such as reading from /dev/zero on Linux
2015-02-27 18:18:23 +00:00
Jesse Glick d00f7ab9b6 Removed DownloadSettings.checkSignature; back to using a plain system property for this.
(cherry picked from commit df9c92e461)
2015-01-09 15:16:44 -05:00
Jesse Glick 33d88c015c [FIXED JENKINS-19081] Offer the option of downloading metadata directly from the server.
(cherry picked from commit 1ac77750e9)

Conflicts:
	core/src/main/java/hudson/model/DownloadService.java
	core/src/main/java/hudson/model/UpdateSite.java
2015-01-09 15:15:02 -05:00
Kohsuke Kawaguchi f7389c5b6d report the version number as well 2014-12-16 15:46:51 -08:00
Jesse Glick c94c1716f3 Merge branch 'SECURITY-144' into SECURITY-144-rc
Conflicts:
	core/src/main/java/hudson/FilePath.java
	core/src/main/java/hudson/PluginManager.java
	core/src/main/java/hudson/PluginWrapper.java
2014-10-17 10:59:32 -04:00
Kohsuke Kawaguchi 19f9b63d74 [FIXED JENKINS-24046]
Warn users if the pinning is preventing Jenkins from overwriting older versions with bundled versions.
2014-10-16 18:18:25 -07:00
Jesse Glick cd33cdd8b7 [FIXED JENKINS-24309] Caching class loads and misses from UberClassLoader. 2014-08-18 15:36:56 -04:00
Jesse Glick 4a98beaf64 Using ExtensionList.lookup consistently. 2014-08-04 15:55:22 -04:00
Oleg Nenashev 19f4cbcce1 Merge pull request #1242 from daniel-beck/JENKINS-20031
[FIXED JENKINS-20031] Useful error message when UC not found
2014-06-01 01:27:58 -07:00
Jesse Glick 7f856b5608 [FIXED JENKINS-12753] Added PluginStrategy.getShortName to avoid actually trying to unpack a plugin before throwing RestartRequiredException. 2014-05-20 12:57:47 -04:00
Daniel Beck a4b63d2dc0 [FIXED JENKINS-20031] Useful error message when UC not found 2014-05-19 22:27:39 +02:00
Oliver Gondža f76eca4ee8 [FIXED JENKINS-22553] Do not expose plugin list that can be a subject of modification 2014-04-10 00:33:50 +02:00
Jesse Glick 56b360d6f3 [JENKINS-19976] Touch-ups to PR #1054. 2014-03-24 10:10:52 -04:00
Jesse Glick df8df45c27 [FIXED JENKINS-19976] Merged #1054: fix class loading from dynamically installed optional dependencies. 2014-03-24 09:52:32 -04:00
Jesse Glick df9c92e461 Removed DownloadSettings.checkSignature; back to using a plain system property for this. 2014-03-17 12:48:24 -04:00
Jesse Glick db8d6508aa Merge branch 'master' into DownloadSettings-JENKINS-19081 2014-03-17 12:33:48 -04:00
Stephen Connolly 483181c0a1 [FIXED JENKINS-22080] Braindead logic in author of original fix... corrected by same author 2014-03-07 15:29:21 +00:00
Stephen Connolly f9b0f348d0 [FIXED JENKINS-22080] NPE if trying to install a plugin from the update center and either the update source or the plugin contains a '.' in its name 2014-03-07 15:26:06 +00: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 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
ikedam 87e2a7e8d5 [FIXED JENKINS-19976] Enable plugins to load classes from optionally depending plugins even without restarting after depended ones installed. 2013-12-10 23:53:38 +09:00
Jesse Glick 15ac490af1 Now that we use Java 6, can finally deprecate IOException2. 2013-11-15 08:19:59 -05:00
Kohsuke Kawaguchi 47de54d070 [FIXED JENKINS-18677]
Integrated bytecode-compatibility-transformer that allows core to
do signature changes on properties that plugins might depend on.

The library performs necessary bytecode transformation to achieve this.

The first use of this is to fix plugins that looks for List
AbstractProject.triggers, thereby resolving JENKINS-18677.

For the time being, I'm not loading such compatibility annotations from
plugins, but I did code that in PluginManager. Let's see how this
feature work out for a while in the core, and if it looks stable and
solid, we'll open it up to plugins at that point.
2013-08-02 22:29:21 -07:00
Jesse Glick b1c82f1e30 stephenc asks to use TODO rather than XXX 2013-06-10 11:53:13 -04:00
Jesse Glick 5ecbbefb6d [FIXED JENKINS-16652] Use UpdateSite.Plugin.deploy from PluginManager.doUploadPlugin. 2013-05-14 20:15:07 -04:00
Kohsuke Kawaguchi f1669601e4 [FIXED JENKINS-4543] Identify the short name of the plugin from the manifest. 2013-04-24 11:23:37 -07:00
Kohsuke Kawaguchi 2c97fe227a exposing this code to outside 2012-12-31 08:47:26 -08:00
Michael Koch bb77daf0cc Add list-plugins command 2012-12-09 22:36:26 -08:00
Kohsuke Kawaguchi 82c92332a4 this no longer means that the restart is required 2012-11-21 10:40:53 -08:00
imod 51619cc80a change @since to 1.491 2012-11-05 18:38:20 +01:00
imod edd6841644 minor changes from pull feedback 2012-11-05 18:34:02 +01:00
imod 32bb46bf33 add @since 1.490 2012-11-04 14:41:44 +01:00
imod 44f0065929 ease usage of PluginUpdateMonitor 2012-11-03 10:28:11 +01:00
imod 7291b2bc55 only one entry per plugin 2012-11-01 15:44:11 +01:00
imod 6b94377864 fix PluginUpdateMonitor rendering issue 2012-11-01 15:44:10 +01:00
imod 3280e83a88 add PluginUpdateMonitor to inform administrators about required updates 2012-11-01 15:44:10 +01:00
Jesse Glick eb18f080bb [FIXED JENKINS-15511] NPE from PluginManager. 2012-10-12 15:32:40 -04:00
Kohsuke Kawaguchi 424a602fa2 added a side-effect free validation call + a separate mutation call as per the original discussion 2012-09-14 14:55:43 -07:00
Kohsuke Kawaguchi 51caa2ed7c misc nit-picking
- massaging exception handling
 - leaving a TODO for a possible future enhancement
2012-09-14 14:26:22 -07:00
Jesse Glick f30c7b1d7d @since 2012-09-14 17:10:26 -04:00
Jesse Glick 1278f0319b Rearranging imports. 2012-09-14 17:08:16 -04:00
Jesse Glick fb6edb0405 Added a web method for prevalidateConfig. 2012-09-14 16:55:35 -04:00
Jesse Glick 2658f36994 Basic implementation of prevalidateConfig working. 2012-09-14 14:56:10 -04:00
Jesse Glick deb9195907 Basic test case written. 2012-09-11 16:49:11 -04:00
Jesse Glick b3f88effc0 Merge branch 'master' into track-plugins-15003 2012-09-11 16:22:48 -04:00
Jesse Glick f673c44556 Introduce constant: UpdateCenter.ID_DEFAULT 2012-09-11 11:17:40 -04:00
Jesse Glick 258579f259 API sketch. 2012-09-10 18:39:33 -04:00
Kohsuke Kawaguchi c0f7065668 added a marker interface to help plugin developers. 2012-07-23 14:10:15 -07:00