Commit Graph
1874 Commits
Author SHA1 Message Date
Kohsuke Kawaguchi 0e339d7a45 [JENKINS-20064]
Jenkins now remembers the authorities (read group memberships) that the user had carried when he/she last time interactively logged in.
This information is exposed via User.impersonate(), which is used when using Jenkins SSH, Jenkins CLI, or access via API tokens.

Previously this was impossible for a subset of SecurityRealms that does not allow us to read group membership information without
successful login (such as Active Directory, OpenID, etc.)

For security reasons, if the backend determines that the user does not exist (as opposed to the backend who cannot tell if the user
exists or not), then the impersonation will fail.

I need to check AD plugin is reporting a failure correctly in this case, before marking as JENKINS-20064 fixed.
2014-03-11 14:55:25 -07:00
Kohsuke Kawaguchi 2dbd6eca7f [JENKINS-11643]
An unexpected failure in processing remember me cookie should be handled
gracefully. In particular, possibly problematic cookie should be
removed, or else the browser will keep bombarding the server with the
same cookie, and will never be able to get through.

It's much better to just drop the cookie.
2014-03-11 12:17:11 -07:00
Daniel Beck 99e080f33a Fix link to 21773 2014-03-10 17:08:07 +01:00
Kohsuke Kawaguchi 4253e75c2c creating an RC branch 2014-03-10 07:46:43 -07:00
Kohsuke Kawaguchi c9ead7d868 merged back the RC branch 2014-03-10 07:42:20 -07:00
Kohsuke Kawaguchi 3e67bf48ce updated changelog for release 2014-03-09 23:01:15 -07:00
Daniel Beck 7a78a556a5 [JENKINS-21773] Noting merge of #1149 2014-03-07 22:12:44 +01:00
Kohsuke Kawaguchi 76fe7f3235 creating an RC branch 2014-03-03 07:01:00 -08:00
Kohsuke Kawaguchi bd4f6bcf4c merged back the RC branch 2014-03-03 06:58:15 -08:00
Kohsuke Kawaguchi 1ae37b74ee updated changelog for release 2014-03-02 23:13:43 -08: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
Jesse Glick f22cfbf31b [JENKINS-19446] Amending changelog; this actually went into 1.544, not 1.543. 2014-02-26 15:59:48 -05: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
Kohsuke Kawaguchi cd3851bc01 creating an RC branch 2014-02-25 07:18:36 -08:00
Kohsuke Kawaguchi 741ee0a829 merged back the RC branch 2014-02-24 21:42:13 -08:00
Kohsuke Kawaguchi b2652e1f25 updated changelog for release 2014-02-24 20:47:18 -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 0d77f1795c [JENKINS-20965] Noting merge of #1137. 2014-02-23 13:29:52 -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
Harald Albers 8482756860 typo in changelog 2014-02-21 12:40:08 +01:00
Kohsuke Kawaguchi 1b2ac716ba Slave started from JNLP can now install itself as systemd service. 2014-02-20 21:20:03 -08:00
Jesse Glick b09f828706 [JENKINS-21159] Noting #663 merge. 2014-02-18 18:25:16 -05: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
Kohsuke Kawaguchi f99d62cdb9 Record security fixes 2014-02-14 19:31:31 -08:00
Kohsuke Kawaguchi fa12eed9c4 creating an RC branch 2014-02-14 18:31:46 -08:00
Kohsuke Kawaguchi bdd8ca3fe4 merged back the RC branch 2014-02-14 16:34:44 -08:00
Kohsuke Kawaguchi bddaf85a57 updated changelog for release 2014-02-14 15:50:47 -08:00
Vojtech Juranek c528b95c51 Add changelog record for PR #1127 2014-02-12 09:22:15 +01:00
Vojtech Juranek 6e8278bb64 Add changelog recoed for PR #1128 2014-02-12 09:17:25 +01:00
Daniel Beck 08a96df6b6 [FIXED JENKINS-21777] Actions contributing to Labels' index page 2014-02-12 09:13:42 +01:00
Jesse Glick d577c0850d [FIXED JENKINS-21780] DirectoryBrowserSupport.FileComparator should cache isDirectory calls. 2014-02-11 19:07:28 -05:00
Jesse Glick 5c83c64e7a [FIXED JENKINS-20534] Noting merge of #1057. 2014-02-10 11:19:48 -05:00
Kohsuke Kawaguchi 80063cc8ae creating an RC branch 2014-02-09 10:03:25 -08:00
Kohsuke Kawaguchi 2bc435f6c3 merged back the RC branch 2014-02-09 08:59:37 -08:00
Kohsuke Kawaguchi c99dd8dd8e updated changelog for release 2014-02-09 08:02:57 -08:00
Kohsuke Kawaguchi b1b3343f0c The original fix was lost when Winstone became 2.0 2014-02-08 07:59:51 +00:00
Jesse Glick 6dc1500056 [JENKINS-21673] Noting merge of #1120. 2014-02-07 08:37:26 -05:00
Vojtech Juranek a9da921271 Add changelog record for PR #1121 2014-02-07 10:13:13 +01:00
Stefan Wolf be7a97ee32 [FIXED JENKINS-17606] Reuse existing fingerprint action if present.
Prevents multiple FingerprintActions.
2014-02-04 22:34:13 +01:00
Jesse Glick 931d2960e9 [JENKINS-21639] Noting merge of #1117. 2014-02-04 14:28:08 -05:00
Oliver Gondža 8660255c42 Noting #1118 2014-02-04 19:24:32 +01:00
Jesse Glick cd526e99e6 [FIXED JENKINS-21023] Rewrote WorkspaceCleanupThread to determine where workspaces for known items should be, rather than looking for directories that look like they might be workspaces.
One key advantage is that this correctly handles the new default workspace location on the master.
Another is that this allows folders to be correctly skipped, and jobs in folders to be correctly deleted.
A subtler advantage would be handling of configured nondefault workspace locations, and compatibility with WorkspaceLocator.
(Orphaned workspaces from deleted jobs are not removed, but these were not removed before either.)
2014-02-04 11:34:14 -05:00
Vojtech Juranek fdb49ccfc0 Add changelog for PR #1115 2014-02-03 18:47:18 +01:00
Vojtech Juranek 48a2c9c119 Add changelog recoed for PR #1112 2014-02-03 09:41:03 +01:00
Oliver Gondža e9f648a7bd Noting #1110 2014-02-02 11:25:19 +01:00
Daniel Beck 5cef1300b8 Noted windows-slaves-plugin split in 1.547
If it's significant enough to introduce regressions, it's significant enough for the changelog.
2014-02-02 01:03:56 +01:00
Oliver Gondža 7924bd92fb Noting #1109 2014-02-01 10:48:34 +01:00
Jesse Glick f9810b5131 [JENKINS-21373] Noting. 2014-01-31 10:46:21 -05:00
Daniel Beck a4e4271230 Moved JENKINS-21457 from 1.549 to 1.550 2014-01-28 23:59:26 +01:00
Jesse Glick c9d69d36bd [FIXED JENKINS-21525] Make command to run an external job work with folders. 2014-01-27 15:27:02 -05:00