Commit Graph
3092 Commits
Author SHA1 Message Date
kohsuke e1e2408456 [HUDSON-2381]
Allowed the hashed password to live even if the security realm is temporarily made to something else.

Configurability of the hash function doesn't really buy you much because if you change it, all the stored hashed passwords become useless.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15173 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-10 01:34:11 +00:00
mindless 8f64a16964 [FIXED HUDSON-2381] Store SHA-256 encrypted passwords instead of reversible base-64 scrambling.
For compatibility, can still read old style user config.xml files, but whenever a user logs
in it will resave with the new style.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15172 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-10 00:18:47 +00:00
kohsuke 9cbeb0863f added one more convenience method
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15170 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-09 23:41:29 +00:00
kohsuke 481038189c [FIXED HUDSON-1454]
Handled the property-based activation correctly. Will be in 1.283.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15169 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-09 23:01:14 +00:00
kohsuke 262406c135 avoid using deprecated interface
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15166 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-09 20:07:17 +00:00
kohsuke fa2f77ec9c [HUDSON-1454] Improved the CLI option parsing to recognize "-Px,y,z" as profiles. This will be in 1.283.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15165 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-09 19:51:56 +00:00
kohsuke 8288bd5bba added a test case for http://www.nabble.com/unable-to-define-slave-in-%22use-for-tied-jobs-only%22-td21835058.html#a21835058
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15164 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-09 19:35:49 +00:00
kohsuke d980d5d4af UnsupportedOperationException leaves ugly stack trace on the server side when NOOP shows up in the configuration page.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15163 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-09 19:35:22 +00:00
kohsuke 19076873d9 turns out Java system property "user.name" is enough
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15157 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-09 18:11:51 +00:00
kohsuke 57d3cdea7d doc improvement
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15156 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-09 18:11:26 +00:00
kohsuke 28885d20e9 doc improvement.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15155 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-09 17:47:51 +00:00
mdonohue 1782e10dc4 Fix HUDSON-291
We now add a CauseAction to each job, and a summary.jelly file which renders
the cause on any job with an explanation.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15150 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-09 02:12:12 +00:00
mindless 81c16190bb [FIXED HUDSON-2599] Update validation check now that ldaps:// is accepted
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15148 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-09 00:02:04 +00:00
kohsuke e701da7cfa Added a discovery support by listening to UDP.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15122 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-08 06:28:27 +00:00
kohsuke 8cc9cea345 I can no longer claim my copyright on new code.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15109 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-07 16:56:35 +00:00
kohsuke 1a596913c8 Added UNIX PAM authentication support
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15108 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-07 16:51:23 +00:00
kohsuke 675e34686f Intercept an exception so that the stack trace shows how we end up marshalling the object in question.
See http://www.nabble.com/Trouble-configuring-Ldap-in-Hudson-running-on-JBoss-5.0.0.GA-td21849403.html

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15097 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-07 02:05:01 +00:00
kohsuke 1f11a93393 code simplification. Parameterized build is in the core, so we should make AbstractBuild aware of it.
See http://www.nabble.com/TFS-build-by-label--td21859630.html where Eric mentioned his confusion about how his plugin can get parameters.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15091 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-06 22:36:24 +00:00
kohsuke 6ee24ace94 [FIXED HUDSON-2990] JobProperties are now exposed to the remote API. In 1.282.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15086 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-06 21:59:39 +00:00
kohsuke 3db545859b Fixed a JavaScript bug in slave configuration page when locale is French.
(<a href="http://www.nabble.com/Javascript-problem-for-french-version-td21875477.html">report</a>)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15084 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-06 21:49:08 +00:00
kohsuke ee7fd53b52 added more validator type
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15083 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-06 21:39:38 +00:00
kohsuke 1a1d0d74d5 license header clean up
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15081 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-06 20:05:24 +00:00
mindless af409e35b3 Matrix security username/groupname validation required admin permission
even in project-specific permissions.. now require CONFIGURE permission on project
when validating in project settings.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15080 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-06 18:10:30 +00:00
mindless 9b19ec692d [HUDSON-2959] Fix double slash in image urls returned by doCheckName
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15079 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-06 17:56:51 +00:00
mindless 3931568f86 [HUDSON-2922] Rather than center first 2 columns ("S" and "W"),
use nbsp to indent based on current iconSize (1 nbsp per 10px of iconSize).
Sortable table alters th content, so was unable to use css to indent here.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15054 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-06 01:00:20 +00:00
jglick 978ddf3bd2 [FIXED HUDSON-2760] Rearranging /testReport/api/xml to be more like junitResult.xml.
Now groups results into suites, then cases.
A suite has a name, which is usually - but not always - identical to the class name of its cases.
(If you have static Test suite() methods, then it could be different.)
stdout/stderr is associated with a suite. (JUnit does not record which case produced stdio.)
Also exporting failedSince and skipped attrs.
junitResult.xml is similar, but does not represent FAILED vs. REGRESSION or age (does have failedSince).
Prior fixes failed to export stdout/stderr, and in fact made case details invisible.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15045 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-05 22:57:54 +00:00
kohsuke f03224148b having two logger makes no sense
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15025 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-04 15:25:59 +00:00
mindless f6e780339f [FIXED HUDSON-2959] Fix broken images by adding rootUrl in image links returned by
checkName; avoid NullPointerException in LDAP groupname lookup when groupSearchBase
is not set.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15006 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-02 19:36:23 +00:00
mindless 1396fd5541 [FIXED HUDSON-2958] Make LDAPSecurityRealm.ldapTemplate field transient
so ~279K lines are not written to config.xml


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15003 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-02 19:15:40 +00:00
kohsuke cbdbbf4619 attached the execution result from a 32bit system
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14982 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-01 19:10:09 +00:00
kohsuke d2e487b5bc test program used for determining offsets
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14981 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-01 19:08:04 +00:00
kohsuke 9b604944db Added Mac OS X support
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14980 71c3de6d-444a-0410-be80-ed276b4c234a
2009-02-01 19:05:52 +00:00
kohsuke 1c79e35c22 Added a hook to manipulate Launcher used during a build.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14938 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-31 00:23:10 +00:00
kohsuke cc12964e9f Matrix security configuration now validates whether the username/password are valid.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14887 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-29 23:52:11 +00:00
kohsuke 61e2a289b8 added a new convenience method
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14878 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-29 21:43:06 +00:00
kohsuke 848cda75e4 doc improvements. I needed to have a set of authoritative documentation for how some of the LDAP schemas look like.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14875 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-29 19:34:13 +00:00
kohsuke fd10f9cb40 this appears to be creating security components twice.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14874 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-29 19:19:51 +00:00
kohsuke d3948fade3 this is just a short cut and not intended to be overridden. It should always remain consistent with UserDetailsService.loadUserByUsername
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14873 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-29 17:30:41 +00:00
kohsuke 3beed588ad DeferredCreationLdapAuthoritiesPopulator is no longer necessary because filters are now created after SecurityRealm is prepared.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14872 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-29 17:29:26 +00:00
kohsuke 23bafefcf3 made it possible to distinguish "no such user" from "I don't know if there's such an user", so that the UI can use this to improve error diagnostics.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14871 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-29 17:02:28 +00:00
f_cavarretta 6d15fb33bf [FIXED HUDSON-2825] Polling should be performed using parameters related to last build.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14869 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-29 08:21:46 +00:00
kohsuke b710a9cb47 doc improvement
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14863 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-29 05:14:05 +00:00
kohsuke 113ea5007f bug fix on Solaris x86
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14862 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-29 05:10:52 +00:00
kohsuke 21219fc22e allow AuthorizationStrategy to programmatically set.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14849 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-28 17:36:10 +00:00
kohsuke f57b06cebf [FIXED HUDSON-2930] FULL_CONTROL right is no longer FULL_CONTROL at all.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14845 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-28 17:11:03 +00:00
stephenconnolly 0ab339322b Expose the partial icon URL via the xml and json APIs
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14837 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-28 11:15:19 +00:00
kohsuke e821515b2b we need to go through the initialization method as some JobProperty uses this to initialize other things (for example, the batch-task plugin does this.)
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14830 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-28 02:22:42 +00:00
kohsuke e334b330c2 [FIXED HUDSON-2925] show the status of executors on the computer page.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14829 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-28 02:04:44 +00:00
kohsuke b7d3308bbb updated the error diagnostics when this happens.
See http://www.nabble.com/Update-failed-due-to-local-files-td21691739.html

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14828 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-28 01:39:14 +00:00
mindless 131eefb10d design rejected, revert r14823,14824
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14826 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-27 23:57:27 +00:00