Commit Graph
11799 Commits
Author SHA1 Message Date
mindless 085c015b4c update to r14099 / HUDSON-117.
Rather than directly sendRedirect, send a 404 response (this is accurate for requested URL)
but include html with javascript/meta to redirect browsers up to build page.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14178 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-06 00:56:46 +00:00
mindless ea0de1dc5e [FIXED HUDSON-2786] Fix posting external job results.
Made Executor.currentExecutor() return null if current thread is not an executor,
and Computer.currentComputer() return Hudson.getInstance().toComputer() if
currentExecutor returns null (must be on master if not in an executor).
This avoids exception causing posting of external job results to fail.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14176 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-06 00:25:24 +00:00
mindless 01e9631a11 [FIXED HUDSON-1457] Update logic in Functions.decompose to be immune to mismatches
due to url-encoding or extra slashes in the request URL


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14174 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-05 23:15:36 +00:00
mindless fc3f18df10 use app.displayName instead of it.displayName for hudson.model.AllView,
so heading shows "Build History of Hudson" (as it used to) instead of
"Build History of All"


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14172 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-05 22:32:15 +00:00
mindless f106665e37 [FIXED HUDSON-2779] Fix top level api/xml.
(broken now that Hudson doesn't extend View)
Added @ExportedBean on Hudson and @Exported(inline=true) on getPrimaryView
to keep the same data that api/xml showed before, with small structural
difference that some data is now inside a <primaryView> element.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14171 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-05 22:30:50 +00:00
mindless af313b2087 Fix display of Hudson description(system message) on top level page
by returning Hudson's getDescription from AllView.getDescription.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14170 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-05 22:28:07 +00:00
kohsuke d1937db6b6 Windows service wrapper messes up environment variables to lower case.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14169 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-05 21:40:02 +00:00
kohsuke d2b865611b must be a typo.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14168 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-05 21:35:42 +00:00
mindless 9f6a768c5e Move hudson-version.properties to right location (since r14052 it looks here)
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14161 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-05 20:08:18 +00:00
kohsuke aec24acd74 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14160 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-05 19:58:51 +00:00
kohsuke a3e4d43c29 [maven-release-plugin] prepare release hudson-1_269
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14158 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-05 19:56:44 +00:00
kohsuke e9eaaa7d55 need to set the output explicitly to have it placed in the right directory
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14155 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-05 19:53:17 +00:00
kohsuke 0b417926dc bug fix in maven-stapler-plugin to get the release going
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14152 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-05 19:38:33 +00:00
jbq 0cf7979d87 Remove unwanted Override annotations
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14144 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-05 14:05:57 +00:00
mindless b22046e817 Minor fixes in help text
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14124 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-03 20:03:21 +00:00
kohsuke 9cddd54106 implemented removal.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14121 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-03 19:39:27 +00:00
kohsuke 1ec6235272 MyView only makes sense when the security is enabled.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14120 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-03 18:54:05 +00:00
kohsuke bf44eeebb5 Adding a few documentations to see how it works.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14119 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-03 17:42:18 +00:00
kohsuke f0a8b41a7d hooking up taglib doc generation.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14118 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-03 17:41:03 +00:00
sogabe 6b30e77f9b Updated outdated localization
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14116 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-03 10:23:46 +00:00
kohsuke ed30edc95d Callable is Serializable.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14115 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-03 01:34:44 +00:00
kohsuke cfbcf33b33 picking up the trace support in 1.93
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14114 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-02 23:15:01 +00:00
mindless 4bca0b5934 [FIXED HUDSON-910] Add permission check for newJob and newView pages.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14113 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-02 22:48:40 +00:00
mindless 69e1e93b8d Change some ' to '' in message properties so the ' are shown properly
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14112 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-02 22:45:24 +00:00
mindless c3611b0a8a Some fixes now that Hudson object is not a View:
- Fixed if condition for when to use "Dashboard" as page title instead of view name
- Moved "noJob" from Hudson/ to AllView/ and fixed jelly to work now that "it" is
  AllView instead of Hudson
Other fixes not related to Hudson/View change:
- Fixed permission check in noJob to use Item.CREATE instead of View.CREATE.
- Only show "sign-up" link if user is anonymous
- Change ' to '' in properties so "don't" is shown properly


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14111 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-02 22:33:33 +00:00
mindless 1c380d87d6 Add missing % in translated string reference (missing since r13971).
Also add a period at end of sentence.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14110 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-02 22:23:05 +00:00
mindless d83f81041b [FIXED HUDSON-2379] Fix artifact archiver and workspace browser to handle filenames
that need URL-encoding.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14106 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-02 19:14:05 +00:00
elefevre 3dbed4674e latest translations to French
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14105 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-02 11:18:57 +00:00
mindless 839c26d1c7 [FIXED HUDSON-117] If next/previousBuild link jumps to an action not present
in that build (like testReport) then redirect up to the build page.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14099 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-02 00:04:21 +00:00
kohsuke 75e2fbf4c6 use the latest.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14098 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-01 20:24:35 +00:00
kohsuke 3a4fde88aa during the release process, update the "Extension points" Wiki page.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14091 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-01 20:17:35 +00:00
kohsuke b197e721e8 doc improvement
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14090 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-01 20:17:06 +00:00
kohsuke 19f2300c28 [FIXED HUDSON-262] Subversion checkout/update now supports fixed revisions. In Hudson 1.269.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14076 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-01 04:41:16 +00:00
sogabe 4cfe396704 Removed debug? message
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14074 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-01 03:42:32 +00:00
kohsuke 6508275d66 [FIXED HUDSON-2778] Fixed and added a test case.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14073 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-01 01:12:57 +00:00
kohsuke 4bf68f1a98 Logger configuration wasn't working since 1.267.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14072 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-01 00:50:46 +00:00
kohsuke 245a1b6dba added name for simplified testing
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14071 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-01 00:38:34 +00:00
kohsuke 9bfbba92ea added a link check test
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14070 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-01 00:36:33 +00:00
kohsuke b8001174f3 added ID for easier testing
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14069 71c3de6d-444a-0410-be80-ed276b4c234a
2009-01-01 00:26:17 +00:00
kohsuke c5a4e8c463 Prohibit creating two views with the same name.
http://d.hatena.ne.jp/ssogabe/20090101/1230744150

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14067 71c3de6d-444a-0410-be80-ed276b4c234a
2008-12-31 23:58:43 +00:00
kohsuke 09f2dcd9ca error page should return 400 BAD REQUEST.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14064 71c3de6d-444a-0410-be80-ed276b4c234a
2008-12-31 23:34:56 +00:00
kohsuke 4d261b8a84 don't show [+] if the nested view doesn't support it.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14060 71c3de6d-444a-0410-be80-ed276b4c234a
2008-12-31 21:47:08 +00:00
kohsuke 1dd3a2ace4 doc improvement
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14059 71c3de6d-444a-0410-be80-ed276b4c234a
2008-12-31 21:25:40 +00:00
kohsuke bb97d31c69 added more prominent indentation
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14057 71c3de6d-444a-0410-be80-ed276b4c234a
2008-12-31 21:09:53 +00:00
kohsuke c36b22509c fixing up the nesting
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14056 71c3de6d-444a-0410-be80-ed276b4c234a
2008-12-31 20:08:32 +00:00
kohsuke 4a646752f3 added animation
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14054 71c3de6d-444a-0410-be80-ed276b4c234a
2008-12-31 19:58:09 +00:00
kohsuke 8abb2516d6 working on nested view inline expansion
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14053 71c3de6d-444a-0410-be80-ed276b4c234a
2008-12-31 19:50:46 +00:00
kohsuke a06e8a05c1 - introduced adjuncts from stapler
- fixed the feature envy problem in the version computation

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14052 71c3de6d-444a-0410-be80-ed276b4c234a
2008-12-31 19:46:02 +00:00
mindless f16c11f071 add admin check for manage page.. it's just a list of links, but still good to check.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14050 71c3de6d-444a-0410-be80-ed276b4c234a
2008-12-31 19:08:16 +00:00
mindless 92ccc8dff7 [FIXED HUDSON-2408] On a failed permission check for anonymous, it seems
rsp.getOutputStream() has already been called before reaching this class.
So use getOutputStream() instead of getWriter() to send html for login
redirect (and catch exception/use getWriter, just in case).


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14049 71c3de6d-444a-0410-be80-ed276b4c234a
2008-12-31 19:07:03 +00:00