Commit Graph
5182 Commits
Author SHA1 Message Date
kohsuke 2488995d83 Merged revisions 28303,28305-28306,28308,28315 via svnmerge from
https://www.dev.java.net/svn/hudson/branches/rc

........
  r28303 | kohsuke | 2010-03-05 18:05:22 -0800 (Fri, 05 Mar 2010) | 1 line
  
  version number isn't always parseable
........
  r28305 | kohsuke | 2010-03-05 18:55:21 -0800 (Fri, 05 Mar 2010) | 1 line
  
  fixed a test failure
........
  r28306 | kohsuke | 2010-03-05 19:21:37 -0800 (Fri, 05 Mar 2010) | 1 line
  
  [maven-release-plugin] prepare release hudson-1_349
........
  r28308 | kohsuke | 2010-03-05 19:21:58 -0800 (Fri, 05 Mar 2010) | 1 line
  
  [maven-release-plugin] prepare for next development iteration
........
  r28315 | kohsuke | 2010-03-05 20:04:32 -0800 (Fri, 05 Mar 2010) | 1 line
  
  updated changelog as a part of the release
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28403 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-08 19:33:00 +00:00
kohsuke 1d0c8d5ea8 [FIXED HUDSON-3796] implemented an extensible authentication scheme for CLI clients.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28296 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-05 23:13:27 +00:00
abayer 9ff393a368 [FIXED HUDSON-834] Added advanced option to delete artifacts without deleting the rest of the build
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28293 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-05 20:46:11 +00:00
kohsuke 6bd56e9a9c notification emails shouldn't contain embedded console notes
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28274 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-04 21:31:22 +00:00
kohsuke 9adb62aede typo
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28265 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-04 19:19:38 +00:00
abayer 1f00f6cea0 Changed FileSystemProvisioner.snapshot to take a glob argument
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28263 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-04 18:30:32 +00:00
kohsuke acb3272c8b Fixed a bug that can cause 404 in the form validation check. Contextual ancestor portion shouldn't be cached.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28217 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-03 23:57:44 +00:00
kohsuke f4d4639b00 bug fix
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28211 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-03 19:52:07 +00:00
kohsuke 6312340189 Remote build result submission shouldn't hang forever even if Hudson goes down.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28175 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-03 16:49:20 +00:00
kohsuke c6acb5b8d5 [FIXED HUDSON-2137]
Merged revisions 27137,27564,27566-27567,27578,27586,27599,27603,27606-27609,27611,27616,27626-27632,27640,27654-27656,27687,27701,27801,27816,27819,27843-27845,28087,28158-28161 via svnmerge from 
https://www.dev.java.net/svn/hudson/branches/HUDSON-2137

........
  r27137 | kohsuke | 2010-02-08 08:46:16 -0800 (Mon, 08 Feb 2010) | 1 line
  
  experimenting with abstractions
........
  r27564 | kohsuke | 2010-02-16 07:58:26 -0800 (Tue, 16 Feb 2010) | 1 line
  
  bundling makes it easier for caller to handle ConsoleAnnotator
........
  r27566 | kohsuke | 2010-02-16 08:49:48 -0800 (Tue, 16 Feb 2010) | 1 line
  
  this should work with Runs, not AbstractBuilds
........
  r27567 | kohsuke | 2010-02-16 08:54:06 -0800 (Tue, 16 Feb 2010) | 1 line
  
  simplified
........
  r27578 | kohsuke | 2010-02-16 12:26:11 -0800 (Tue, 16 Feb 2010) | 1 line
  
  still a work in progress, but committing once to pull in trunk changes
........
  r27586 | kohsuke | 2010-02-16 14:35:37 -0800 (Tue, 16 Feb 2010) | 1 line
  
  making more progress
........
  r27599 | kohsuke | 2010-02-16 19:22:01 -0800 (Tue, 16 Feb 2010) | 2 lines
  
  hooking up the side that writes annotations.
  still a work in progress.
........
  r27603 | kohsuke | 2010-02-16 23:43:35 -0800 (Tue, 16 Feb 2010) | 3 lines
  
  what appears to me as the first cut of hooking up the reader side of the annotations.
  
  I haven't even run it yet --- this just passed the compilation, and I'm calling it a day.
........
  r27606 | kohsuke | 2010-02-17 09:15:16 -0800 (Wed, 17 Feb 2010) | 1 line
  
  demo instance hook up
........
  r27607 | kohsuke | 2010-02-17 11:27:02 -0800 (Wed, 17 Feb 2010) | 3 lines
  
  one more utility method.
  
  I never understood what the point of letting the skip method skip less.
........
  r27608 | kohsuke | 2010-02-17 11:56:23 -0800 (Wed, 17 Feb 2010) | 3 lines
  
  - moved LargeText subtype to its own class
  - skipping log output was done incorrectly --- it had to skip N bytes where it was skipping N chars.
  - hooked up console annotations for completed builds.
........
  r27609 | kohsuke | 2010-02-17 12:01:46 -0800 (Wed, 17 Feb 2010) | 1 line
  
  copyright header
........
  r27611 | kohsuke | 2010-02-17 13:18:10 -0800 (Wed, 17 Feb 2010) | 1 line
  
  introduced a mechanism to register extension during an unit test.
........
  r27616 | kohsuke | 2010-02-17 13:38:12 -0800 (Wed, 17 Feb 2010) | 1 line
  
  test case for console annotations
........
  r27626 | kohsuke | 2010-02-17 15:23:06 -0800 (Wed, 17 Feb 2010) | 1 line
  
  removing test ConsoleAnnotator as I write tests as tests
........
  r27627 | kohsuke | 2010-02-17 16:06:13 -0800 (Wed, 17 Feb 2010) | 1 line
  
  added a multi-phase cooperative locking mechanism useful during the debugging
........
  r27628 | kohsuke | 2010-02-17 16:06:41 -0800 (Wed, 17 Feb 2010) | 1 line
  
  testing progressive log annotation
........
  r27629 | kohsuke | 2010-02-17 16:20:32 -0800 (Wed, 17 Feb 2010) | 1 line
  
  adding a test for ConsoleAnnotation that's explicitly placed.
........
  r27630 | kohsuke | 2010-02-17 16:23:02 -0800 (Wed, 17 Feb 2010) | 1 line
  
  removing test ConsoleAnnotation as I write tests as tests
........
  r27631 | kohsuke | 2010-02-17 16:28:50 -0800 (Wed, 17 Feb 2010) | 1 line
  
  tweaking the abstraction a bit.
........
  r27632 | kohsuke | 2010-02-17 16:44:21 -0800 (Wed, 17 Feb 2010) | 1 line
  
  parameterized the context type so that this can be used in places other than the build console output, such as polling logs, slave logs, and so on.
........
  r27640 | kohsuke | 2010-02-17 17:27:52 -0800 (Wed, 17 Feb 2010) | 1 line
  
  bug fix
........
  r27654 | kohsuke | 2010-02-17 22:53:04 -0800 (Wed, 17 Feb 2010) | 1 line
  
  doc improvement
........
  r27655 | kohsuke | 2010-02-17 22:53:59 -0800 (Wed, 17 Feb 2010) | 1 line
  
  doc improvement
........
  r27656 | kohsuke | 2010-02-17 23:10:42 -0800 (Wed, 17 Feb 2010) | 1 line
  
  test case for adjacent tags
........
  r27687 | kohsuke | 2010-02-19 14:39:21 -0800 (Fri, 19 Feb 2010) | 1 line
  
  introduced a facotry and descriptor. This allows them to define configuration pages, allow users to disable/enable them, plus define custom behaviors.
........
  r27701 | kohsuke | 2010-02-19 18:23:52 -0800 (Fri, 19 Feb 2010) | 1 line
  
  defining a mechanism for ConsoleAnnotatorFactory and ConsoleAnnotationDescriptor to define script.js and have them imported into the console output page
........
  r27801 | kohsuke | 2010-02-22 11:59:16 -0800 (Mon, 22 Feb 2010) | 1 line
  
  now embedding annotations inside the console output log file.
........
  r27816 | kohsuke | 2010-02-22 15:45:04 -0800 (Mon, 22 Feb 2010) | 1 line
  
  introduced a convenience method for unit tests
........
  r27819 | kohsuke | 2010-02-22 17:37:05 -0800 (Mon, 22 Feb 2010) | 5 lines
  
  As an example of using embedded console annotations, implementing Ant target invocation outlines.
  
  It might be better to make the concept of outline more generally reusable, so that different kinds of outlines can be placed into the same container element for a single hierarchical representation.
  
  Still a work in progress.
........
  r27843 | kohsuke | 2010-02-23 16:12:13 -0800 (Tue, 23 Feb 2010) | 1 line
  
  for now, disable this for production usage, until I work out a better UI.
........
  r27844 | kohsuke | 2010-02-23 19:08:00 -0800 (Tue, 23 Feb 2010) | 1 line
  
  started working on annotating exception.
........
  r27845 | kohsuke | 2010-02-23 19:08:33 -0800 (Tue, 23 Feb 2010) | 1 line
  
  more TODOs for myself
........
  r28087 | kohsuke | 2010-03-01 10:03:55 -0800 (Mon, 01 Mar 2010) | 1 line
  
  formatting changes
........
  r28158 | kohsuke | 2010-03-02 17:00:00 -0800 (Tue, 02 Mar 2010) | 1 line
  
  ConsoleAnnotation and ConsoleAnnotator are too confusing.
........
  r28159 | kohsuke | 2010-03-02 17:02:02 -0800 (Tue, 02 Mar 2010) | 1 line
  
  doc improvement
........
  r28160 | kohsuke | 2010-03-02 17:05:14 -0800 (Tue, 02 Mar 2010) | 1 line
  
  more doc improvements.
........
  r28161 | kohsuke | 2010-03-02 17:11:59 -0800 (Tue, 02 Mar 2010) | 1 line
  
  more doc improvement
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28173 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-03 15:37:55 +00:00
mindless e325bee550 Add OldDataMonitor reporting for deprecated fields in ToolInstallation subclasses.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28165 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-03 03:52:00 +00:00
mindless 8359f5d8be Add back readResolve() that I removed in r28147 (branch r27997)..
in the other removed cases readResolve was redundant with the XStream Converter,
but in this case it is needed when deserializing a Result sent from a slave node
(XStream is not used in remoting).


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28157 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-03 00:42:32 +00:00
mindless 9fb65a9910 fix: skip update from SaveableListener during doUpgrade/doDiscard
to avoid ConcurrentModificationException.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28155 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-02 23:20:13 +00:00
mindless 07f0405f2a Merge r27590:28071 and r28073 from branches/old-data-monitor into trunk.
--Merged-in:------------------------------------------------------------
r27601 | mindless | 2010-02-16 20:21:50 -0800 (Tue, 16 Feb 2010) | 8 lines

Add OldDataMonitor for tracking loaded data that contained old deprecated data,
the Saveable objects that can be save()'ed to persist the data in its new format,
and the Hudson releases where these structure changes took place.
A "Manage Old Data" form explains how Hudson deals with migrating old data
(keeping downgrades possible), lists the old data, and allows upgrade of the data
files with changes up through a selected Hudson release.
Added calls of OldDataMonitor.report() for six old deprecated fields/data changes.

--Merged-in:------------------------------------------------------------
r27683 | mindless | 2010-02-19 11:43:40 -0800 (Fri, 19 Feb 2010) | 5 lines

Expand OldDataMonitor to also track unreadable data found while loading.
These are reported from util.RobustReflectionConverter and RobustCollectionConverter.
"Manage Old Data" screen has additional text about unreadable data, and a form
to resave those files which will discard that data.

--Merged-in:------------------------------------------------------------
r27715 | mindless | 2010-02-20 08:56:51 -0800 (Sat, 20 Feb 2010) | 3 lines

Add Saveable/Item/Run listeners to remove entries tracked by OldDataMonitor
if they are resaved or deleted.

--Merged-in:------------------------------------------------------------
r27970 | mindless | 2010-02-26 09:02:43 -0800 (Fri, 26 Feb 2010) | 6 lines

Add OldDataMonitor reporting for deprecated fields in Mailer and HudsonPrivateSecurityRealm.
Includes fix in RobustReflectionConverter to report against outermost Saveable object
(User object can contain MyViewsProperty which is also Saveable).
Also added XStream2.PassthruConverter which is used to report old data during
unmarshalling when the containing Saveable is not known.

--Merged-in:------------------------------------------------------------
r27982 | mindless | 2010-02-26 11:35:41 -0800 (Fri, 26 Feb 2010) | 3 lines

Fix to show username for User objects instead of "fullDisplayName".
Also increased threshold for possible compatibility removal from 100 to 150 releases.

--Merged-in:------------------------------------------------------------
r27983 | mindless | 2010-02-26 11:43:06 -0800 (Fri, 26 Feb 2010) | 5 lines

Add OldDataMonitor reporting for ParametersAction.build, CauseAction.cause
and UpstreamCause.upstreamCause.
Note: these will make the list of objects on the OldData/manage screen very long
for Hudson installs with lots of builds run on Hudson 1.283 to 1.287.

--Merged-in:------------------------------------------------------------
r27987 | mindless | 2010-02-26 12:33:59 -0800 (Fri, 26 Feb 2010) | 4 lines

Refactored XStream2.PassthruConverter so uses do not need to be registered with
the XStream2 instance, but work for all XStream2 (using ConverterImpl subclass
found by AssociatedConverterImpl).

--Merged-in:------------------------------------------------------------
r27989 | mindless | 2010-02-26 13:38:35 -0800 (Fri, 26 Feb 2010) | 3 lines

Add a cache of ConverterImpl instances in AssociatedConverterImpl to avoid
repeated work in findConverter every time such an object is marshalled/unmarshalled.

--Merged-in:------------------------------------------------------------
r27996 | mindless | 2010-02-26 16:47:19 -0800 (Fri, 26 Feb 2010) | 2 lines

Add OldDataMonitor reporting for HealthReport.description

--Merged-in:------------------------------------------------------------
r27997 | mindless | 2010-02-26 16:49:28 -0800 (Fri, 26 Feb 2010) | 5 lines

Remove readResolve() in 3 classes where a Converter now does that work.
In GlobalMatrixAuthorizationStrategy and AuthorizationMatrixProperty also
add unreadable-data reporting when unable to parse a permission type,
and report when Item.READ permission is added for migration from < 1.301

--Merged-in:------------------------------------------------------------
r28073 | mindless | 2010-02-28 23:18:06 -0800 (Sun, 28 Feb 2010) | 5 lines

Report any old XStream 1.1.x serialized (files from Hudson before 1.106)
to OldDataMonitor, using a ThreadLocal since the unmarshal context is not
available in the mapper.  These use "-" to encode "$" in a class name
instead of "_-" used now.

+-End-of-merged-revisions----------------------------------------------+



git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28147 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-02 21:19:59 +00:00
kohsuke 773d107871 Added a mechanism to bundle <tt>init.groovy</tt> inside the war for OEM.
(<a href="http://n4.nabble.com/preconfigured-hudson-war-tp1575216p1575216.html">report</a>)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28144 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-02 19:55:04 +00:00
kohsuke 9d63c0223f normalization needs to avoid producing empty string.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28142 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-02 19:18:28 +00:00
mindless 48df625a44 [FIXED HUDSON-5769] Update to XStream 1.3.1-hudson-6 where I added
protected Converter createDefaultConverter().  This allows a subclass
to override the default converter (was hardcoded to ReflectionConverter)
which is also given to the constructor of a few other converters,
most notably ThrowableConverter.  Override this method in XStream2 to
provide a RobustReflectionConverter so missing fields in classes
extending Throwable are handled properly.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28141 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-02 18:55:42 +00:00
mindless c310b82692 use ImmutableTypesMapper that is already in the pipeline
instead of wrapping in a new one.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28102 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-02 01:12:30 +00:00
mindless f2a2b92a2f [FIXED HUDSON-5768] Avoid double decoding that broke deserialization of fields with
double underscore, by replacing XStream11XmlFriendlyMapper with a custom mapper that
only does "-" to "$" decoding that is needed for compatibility with old xml data
written by Hudson 1.105 or older.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28071 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-01 06:45:57 +00:00
sogabe 9615129098 i18n & l10n(ja) [LDAPSecurityRealm, PAMSecurityRealm]
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28051 71c3de6d-444a-0410-be80-ed276b4c234a
2010-02-28 14:15:28 +00:00
mindless b0fbd644c8 [FIXED HUDSON-5776] fix serialization problem with empty CopyOnWriteMap.Tree,
also add/update tests for CopyOnWriteMap and CopyOnWriteList.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28026 71c3de6d-444a-0410-be80-ed276b4c234a
2010-02-27 20:12:25 +00:00
wyukawa 33b63f8a06 Updated Japanese localization for slave
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28020 71c3de6d-444a-0410-be80-ed276b4c234a
2010-02-27 12:56:53 +00:00
kohsuke 0a6236c3f9 added a mechanism to fake a process execution.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@27995 71c3de6d-444a-0410-be80-ed276b4c234a
2010-02-27 00:28:56 +00:00
kohsuke 787d843d3d perform path normalization to get rid of "." and ".." in the path.
Without it, FilePath.getParent() and File.getParent() doesn't work correctly.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@27956 71c3de6d-444a-0410-be80-ed276b4c234a
2010-02-26 00:30:15 +00:00
mindless 439243f3ba Remove unused "labelSet" field (has always been private transient)
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@27955 71c3de6d-444a-0410-be80-ed276b4c234a
2010-02-26 00:21:31 +00:00
godin 0f98b4e4ce Minor comment
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@27711 71c3de6d-444a-0410-be80-ed276b4c234a
2010-02-20 14:26:25 +00:00
kohsuke 80ab0acc8b Improved /etc/shadow permission checks.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@27700 71c3de6d-444a-0410-be80-ed276b4c234a
2010-02-20 02:21:47 +00:00
kohsuke 54467adad8 Fixed a performance problem of the job/build top page when there are too many artifacts.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@27686 71c3de6d-444a-0410-be80-ed276b4c234a
2010-02-19 21:32:22 +00:00
kohsuke a09979d6dc report unexpected problem during the polling to the polling log
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@27665 71c3de6d-444a-0410-be80-ed276b4c234a
2010-02-18 23:45:40 +00:00
kohsuke d1382d5c1b Discussed a technique for better mail address resolution.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@27624 71c3de6d-444a-0410-be80-ed276b4c234a
2010-02-17 23:06:48 +00:00
kohsuke 947c413190 [HUDSON-5403] adding more logging in MailAddressResolver to help us figure out what's going on.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@27623 71c3de6d-444a-0410-be80-ed276b4c234a
2010-02-17 23:02:11 +00:00
mindless cb8fe5a683 For the first time, remove some old deprecated code.
All of these have been deprecated 2yr 4mo or more.
- Hudson.addListener(JobListener), Hudson.removeListener(JobListener)
- Entire listeners.JobListener class (replaced by ItemListener)
- One form of DirectoryBrowser constructor
- One form of Descriptor.configure() (with HttpServletRequest param)
- Descriptor.convert(Map) and 4 impls of this method,
  and code calling it in Descriptor.readResolve()
  (this code called save() whenever updating data, so there should be
   no remaining cases out there)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@27597 71c3de6d-444a-0410-be80-ed276b4c234a
2010-02-17 02:19:08 +00:00
abayer 37183f4c86 [FIXED HUDSON-5651] Removing excess whitespace from MAVEN_OPTS
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@27559 71c3de6d-444a-0410-be80-ed276b4c234a
2010-02-16 15:40:20 +00:00
kohsuke 1f055074b7 [FIXED HUDSON-5642] Under some circumstances, Hudson can incorrectly delete the temporary directory itself.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@27539 71c3de6d-444a-0410-be80-ed276b4c234a
2010-02-16 01:53:10 +00:00
kohsuke 325d59e7cf doc wasn't complete
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@27519 71c3de6d-444a-0410-be80-ed276b4c234a
2010-02-15 18:06:58 +00:00
kohsuke 36e1bd2e2a avoid confusion by using equals
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@27518 71c3de6d-444a-0410-be80-ed276b4c234a
2010-02-15 18:06:05 +00:00
wyukawa 66b1d32dc1 i18n & l10n(ja) for Email Notification
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@27472 71c3de6d-444a-0410-be80-ed276b4c234a
2010-02-14 09:00:12 +00:00
abayer fe7708e1f7 [FIXED HUDSON-5630]
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@27457 71c3de6d-444a-0410-be80-ed276b4c234a
2010-02-13 15:00:30 +00:00
kohsuke 2676adca52 class initialization of Hudson is much more work than that of Util, so pushing these small utilities out to Util to reduce the overhead of remoting.
Plus it helps to keep Hudson.java smaller

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@27448 71c3de6d-444a-0410-be80-ed276b4c234a
2010-02-13 01:30:56 +00:00
kohsuke cc2081f4a2 [FIXED HUDSON-5610] Improved the form validation mechanism to support multiple controls.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@27436 71c3de6d-444a-0410-be80-ed276b4c234a
2010-02-12 22:05:44 +00:00
kohsuke 0f6dad0048 Use JSON to retrieve values to honor the scope
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@27379 71c3de6d-444a-0410-be80-ed276b4c234a
2010-02-12 00:29:51 +00:00
kohsuke 2aeda6cc11 integrated a newer Jelly and Stapler that runs faster with less memory
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@27308 71c3de6d-444a-0410-be80-ed276b4c234a
2010-02-11 02:35:09 +00:00
kohsuke f68ab9ca82 the poll method already handles necessary mutual exclusions
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@27301 71c3de6d-444a-0410-be80-ed276b4c234a
2010-02-11 01:36:52 +00:00
mindless e605d071f1 [FIXED HUDSON-1375] Maven modules should not be buildable when the parent project is disabled
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@27254 71c3de6d-444a-0410-be80-ed276b4c234a
2010-02-10 16:11:47 +00:00
mindless 4785ad36cb [FIXED HUDSON-2610] Escape username in URLs in case it contains special characters such as "#"
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@27237 71c3de6d-444a-0410-be80-ed276b4c234a
2010-02-09 23:35:44 +00:00
mindless faffa3ad9f filter out some jelly internals from ${attrs} so they are not rendered in output
(f:textbox input tags have included attrs like nameAttr, valueAttr, ownerTag since r25876)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@27233 71c3de6d-444a-0410-be80-ed276b4c234a
2010-02-09 22:43:14 +00:00
kohsuke 8bf35b2094 Merged revisions 27147,27149-27151,27153 via svnmerge from
https://svn.dev.java.net/svn/hudson/branches/rc

........
  r27147 | kohsuke | 2010-02-08 11:10:47 -0800 (Mon, 08 Feb 2010) | 1 line
  
  [FIXED HUDSON-5536] in 1.345 and added a test case.
........
  r27149 | kohsuke | 2010-02-08 12:01:18 -0800 (Mon, 08 Feb 2010) | 1 line
  
  added a backward compatibility measure to expose variables in both forms
........
  r27150 | kohsuke | 2010-02-08 12:02:19 -0800 (Mon, 08 Feb 2010) | 1 line
  
  forgot to commit this(?)
........
  r27151 | kohsuke | 2010-02-08 12:24:51 -0800 (Mon, 08 Feb 2010) | 1 line
  
  [maven-release-plugin] prepare release hudson-1_345
........
  r27153 | kohsuke | 2010-02-08 12:25:04 -0800 (Mon, 08 Feb 2010) | 1 line
  
  [maven-release-plugin] prepare for next development iteration
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@27154 71c3de6d-444a-0410-be80-ed276b4c234a
2010-02-08 20:28:39 +00:00
mindless 207f4c582e [HUDSON-5536] set text/plain content type in doPostBack response so browser won't
try to parse response (resulting in "no element found" in firefox error console).
Not the fix for 5536 itself, but nice to avoid js error after successful update.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@27145 71c3de6d-444a-0410-be80-ed276b4c234a
2010-02-08 18:35:32 +00:00
kohsuke 3af3cc8e9b allow subtype to define visible Action out of SCMRevisionState
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@27143 71c3de6d-444a-0410-be80-ed276b4c234a
2010-02-08 18:07:09 +00:00
mindless 043a67181a [FIXED HUDSON-5443] Fixes for sidepanel link for People.
Link to top level /people/ for AllView, otherwise to people for this view.
Hide link only for non-default, non-All view that would list no people.
Add heading on People page and a link to top level /people/ when appropriate.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@27129 71c3de6d-444a-0410-be80-ed276b4c234a
2010-02-07 23:08:47 +00:00