Commit Graph
10778 Commits
Author SHA1 Message Date
kohsuke d471b98d30 a big part of memory leak seems to be caused by unnecessarily expanded ByteArrayOutputStream, so reallocating new instances instead of reusing.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11800 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-28 00:06:11 +00:00
kohsuke 067987b3da [FIXED HUDSON-2273] clarified what the name really meant
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11779 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-27 04:26:55 +00:00
kohsuke 91ec9f5dc0 typo
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11726 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-25 18:44:01 +00:00
xlv 92044bb090 [FIXED HUDSON-2220] SNAPSHOT in version numbers need to be handled accordingly.
- a previous call to toLowerCase() made the test useless.

- possible trailing info after "-SNAPSHOT" resulted in parsing exception.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11716 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-24 22:17:05 +00:00
kohsuke dc11078a8e initialize values to something so that the test harness that doesn't use WebAppMain still works correctly
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11713 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-24 19:37:04 +00:00
hwellmann 22bef0c426 additions for German localization
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11711 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-23 20:51:40 +00:00
hwellmann 111622e424 additions for German localization
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11710 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-23 20:48:23 +00:00
hwellmann d469b0fb08 Corrections and additions for German localization. Replaced cvspass.jelly by cvspass.html, as Jelly tags do not work in this context
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11709 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-23 20:44:31 +00:00
kohsuke 00e13bf45a Don't put space in between -D and name=value (even though it seems like this has been working fine)
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11704 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-23 01:42:46 +00:00
kohsuke 61075ea745 assigning a name to simplify testing
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11699 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-23 01:05:48 +00:00
kohsuke 02093d1d61 [FIXED HUDSON-2260]
Turns out the test failure I saw during a release was a real problem, not a timing issue.

I guess the good news is that the tests are now indeed catching this kind of problems, which is a big step forward.

The sad part is that I ignored it and went ahead with a release anyway.

This bug is fixed in 1.251.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11693 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-23 00:43:42 +00:00
petehayes a46f0a8fb3 Issue 1636 - Removed extra '/'s in generated urls
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11675 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-22 12:26:33 +00:00
kohsuke 12fa365b32 [FIXED HUDSON-2221] Fixed in 1.250. This is actually unrelated to the veto, but your manually invoking this made the bug more explicit.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11665 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-22 01:52:59 +00:00
kohsuke be7f3ab5f6 [FIXED HUDSON-1445] Supported the ldaps:// protocol.
Given that LDAPS is deprecated in favor of startTLS in LDAP v3, I felt it doesn't deserve the real estate of having a separate checkbox, so the approach is somewhat clumsy.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11664 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-22 01:36:16 +00:00
kohsuke 12dffdd024 and these, too.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11663 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-22 01:24:14 +00:00
kohsuke c12ade4fd3 simplified by using the newly introduced better syntax.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11662 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-22 01:23:32 +00:00
kohsuke 4f1f36f034 no longer need to have the explicit constructor.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11661 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-22 01:18:09 +00:00
kohsuke cd505e54f0 [HUDSON-2251] rolling back my change and reapplying the original patch.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11660 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-22 01:16:05 +00:00
kohsuke 81c48c604a [FIXED HUDSON-2238]
I think the essnce of the problem is that the similarity between MarkupText and SubText isn't appropriately captured in the design, so I fixed it such.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11657 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-22 00:50:36 +00:00
kohsuke e711a04509 [FIXED HUDSON-2251] Applied a slightly different change. In 1.250.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11656 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-22 00:28:01 +00:00
kohsuke 66528e43aa fixed a test failure caused by the lack of reloading configuration at the test case boundary.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11655 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-21 22:10:20 +00:00
hwellmann 05b46213ef additions for German l10n
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11641 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-20 22:16:13 +00:00
kohsuke 31c9fbf032 adding tunneling option for JNLP slave agents. This came from Ken Hofsass who needed the connection to the server be tunneled for security reasaons.
jnlp-agent needs to be updated to take this into account.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11638 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-20 18:08:36 +00:00
kohsuke bd4b5ca776 Convention of the configuration entries is to start with a capital letter
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11637 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-20 16:15:58 +00:00
kohsuke 496fcc7231 simplified.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11636 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-20 16:14:17 +00:00
swiest affff63e92 Reverted texts to English localization (might accidentally have been translated to French).
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11632 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-20 08:47:03 +00:00
kohsuke 02434ca1af avoid calling the deprecated method.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11629 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-20 01:00:46 +00:00
kohsuke 4153308074 added a hook to skip update center updates. This is primarily added for testing.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11625 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-20 00:32:20 +00:00
kohsuke b0f4b00ad5 naming the form to simplify testing
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11623 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-19 21:31:20 +00:00
hwellmann b4656b69be fixed typo
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11621 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-19 20:29:56 +00:00
sogabe 98c6fbb1a0 Fixed filename and updated Japanese Translation
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11613 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-19 14:41:00 +00:00
kohsuke 0d1ef71006 doc improvement.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11608 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-19 04:09:32 +00:00
kohsuke 9841dad522 doc improvement.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11607 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-19 04:00:09 +00:00
kohsuke a24fd49d6a not sure why, but otherwise a directory creation fails.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11605 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-18 21:52:06 +00:00
kohsuke 814cd5ba4b [FIXED HUDSON-2230] Fixed IllegalMonitorStateException. In 1.249.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11604 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-18 21:51:35 +00:00
kohsuke 4faa52d0ec JNLP slave agent fails to launch when the anonymous user doesn't have a read access.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11602 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-18 21:30:57 +00:00
kohsuke a9a6d17e55 unused imports
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11598 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-18 21:04:29 +00:00
kohsuke f9486afebc ContainerAuthentication needs "authenticated" built-in role.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11597 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-18 21:02:06 +00:00
kohsuke 3907140d1c adding @name to simplifying unit tests
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11580 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-18 19:12:46 +00:00
kohsuke 06df8bb626 making the add method public to improve testability, but as a side effect, this makes this class mutable.
The concurrency commitment of the class needs to be defined eventually, or perhaps this class should be made immutable again.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11571 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-18 02:15:46 +00:00
kohsuke 70b6e4fda4 Trying to access protected resources anonymously now results in 401 status code, to help programmatic access.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11568 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-18 01:56:05 +00:00
kohsuke 91156a3b4c test case for BulkChange
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11519 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-15 23:17:02 +00:00
kohsuke f1d3c50d61 Added the setSlaves() to enable programmatic slave configuration.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11516 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-15 23:05:35 +00:00
kohsuke 8339f02284 Added a mechanism to perform a bulk change without intermediate save().
This allows us to define more setter methods on configuration values, which in turn improves the ability to make programatic changes to the configuration, which in turn improves testability.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11515 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-15 23:01:06 +00:00
kohsuke bfaf4a427d added a switch to skip the "ln" invocation, even on Unix.
This is primarily added for the sake of Project Caroline, but I might remove this later.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11514 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-15 22:59:25 +00:00
kohsuke cbb13c1fc5 it already inherits this through ItemGroup
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11513 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-15 22:25:49 +00:00
kohsuke 283d6ea4ba Run is a PersistenceRoot, too.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11512 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-15 22:24:09 +00:00
kohsuke 9e448a1982 Hudson is a PersistenceRoot.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11511 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-15 22:23:48 +00:00
kohsuke 4f290961fc link is deprecated
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11487 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-15 01:44:17 +00:00
kohsuke b9f5d6a736 [FIXED HUDSON-2220] SNAPSHOT in version numbers need to be handled accordingly.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@11485 71c3de6d-444a-0410-be80-ed276b4c234a
2008-08-15 01:25:51 +00:00