Jesse Glick
7f033ec9fa
p:config-upstream-pseudo-trigger is actually applicable to AbstractProject, not only Project.
2014-04-09 18:31:38 -04:00
Jesse Glick
bcc8614856
[FIXED JENKINS-18364] Functions.getRelativeLinkTo is called many times during rendering, so skip checking View.getItems which is expensive.
2014-04-01 10:53:25 -04:00
Jesse Glick
abc77438d2
Merge branch 'security' into security-rc
...
Conflicts:
core/src/main/java/hudson/Functions.java
core/src/main/java/hudson/markup/MyspacePolicy.java
core/src/main/java/hudson/util/RobustReflectionConverter.java
core/src/main/resources/lib/layout/layout.jelly
war/pom.xml
2014-02-11 21:00:54 -05:00
Jesse Glick
bf53919856
[FIXED SECURITY-93] PasswordParameterDefinition should serve existing default value in encrypted form.
...
And strengthen functional tests (using configRoundTrip) to ensure that the same mistake is not made elsewhere.
2014-02-11 14:19:39 -05:00
Jesse Glick
a0b00508ee
[FIXED SECURITY-77] XSS in iconSize cookie.
2014-02-11 14:17:00 -05:00
Oliver Gondža
ca139a7c9f
Merge pull request #1058 from olivergondza/breakable-regex
...
[FIXED JENKINS-20928] l:breakable mishandles HTML metacharacters
2013-12-12 07:49:16 -08:00
Oliver Gondža
3f1f122ff4
[FIXED JENKINS-20928] l:breakable mishandles HTML metacharacters
2013-12-12 15:16:13 +01:00
Jesse Glick
c5e23739fa
[JENKINS-20892] Partial fix of poor scalability in /builds and related displays.
2013-12-06 18:21:57 -05:00
Jesse Glick
a900b488b5
[FIXED JENKINS-20800] HTML metacharacters not escaped in log messages.
2013-11-27 18:32:22 -08:00
Bruno Kühnen Meneguello
cdf45c6439
[FIXED JENKINS-5622] Allow build queue list to be collapsed
2013-11-22 14:38:38 -02:00
Jesse Glick
4825967fe3
Deleting code using @IgnoreJRERequirement for Java 5 compatibility.
2013-11-15 08:43:40 -05:00
Kohsuke Kawaguchi
dfc2f57d19
this can happen so early in the game that j might be null
...
"Jenkins is loading" page gets set up before Jenkins instance gets
initialized.
2013-11-05 12:29:51 -08:00
Jesse Glick
5b7543159d
It is Thread.getThreadGroup that can return null, not ThreadGroup.getName.
...
https://jenkins.ci.cloudbees.com/job/core/job/jenkins_main_trunk/1436/testReport/hudson.model/UpdateCenter2Test/install/
java.lang.NullPointerException: null
at hudson.Functions$ThreadSorterBase.<init>(Functions.java:1151)
at hudson.Functions$ThreadSorterBase.<init>(Functions.java:1142)
at hudson.Functions$ThreadGroupMap.<init>(Functions.java:1163)
at hudson.Functions.sortThreadsAndGetGroupMap(Functions.java:1136)
at org.jvnet.hudson.test.JenkinsRule$2.evaluate(JenkinsRule.java:482)
2013-10-31 13:43:55 -04:00
Jesse Glick
dceac8f0ac
[FIXED JENKINS-19173] Added ContextMenuVisibility marker interface for Action’s.
2013-10-23 10:44:01 -04:00
Jesse Glick
bac8b9795a
Clarified Javadoc: non-display names use '/' as a separator.
2013-10-21 15:34:17 -04:00
Jesse Glick
0e3afeb6c5
Sources are UTF-8 so might as well use the raw character when specifying something that will be a part of output.
2013-10-21 14:20:24 -04:00
Jesse Glick
587c6fe317
[FIXED JENKINS-20085] Overflow in Jenkins.globalIota. Simpler and safer to use an AtomicLong.
2013-10-16 13:40:34 -04:00
Jesse Glick
99f84bc8e0
7232798611
mistakenly made a new method deprecated.
2013-08-27 17:34:07 -04:00
evernat
3835b3fcc7
Optimize String appends in hudson.Functions
2013-08-26 21:15:35 +02:00
Kohsuke Kawaguchi
7232798611
[FIXED JENKINS-19124]
...
Added another attribute 'checkDependsOn' on <input> elements (akin to
'fillDependsOn', etc) to list up the other dependency controls, and
insert appropriate onchange events.
'checkUrl' is now just the stem portion of the URL to invoke, and
the client script builds up the query parameters.
2013-08-08 16:24:09 -07:00
Jesse Glick
535247e169
Clearer display of log messages: chronological order, and coloration of repeated vs. fresh metadata.
2013-07-22 13:55:08 -04:00
Mark Waite
7f521e729a
Fix javadoc warnings in method parameters
2013-07-19 14:36:02 -06:00
Kohsuke Kawaguchi
7bf67b6d0e
Avoid code duplication
2013-07-16 21:40:27 -07:00
Christoph Kutzinski
e9e9d3276f
removed the noAnime() conversions, so we can rely on the compiler to warn us, if we forget a case here
2013-07-14 11:44:35 +02:00
Christoph Kutzinski
852c2f1f69
suppress some pointless warnings
2013-07-14 11:38:58 +02:00
Christoph Kutzinski
db6e1d3a36
added @since
2013-07-14 11:35:42 +02:00
Vojtech Juranek
4f2626aaac
Add convenient method for checking if object is MatrixProject
...
This is useful for jelly pages where instanceof operator doesn't work.
2013-07-03 16:11:15 +02:00
Stephen Connolly
48e8010231
[JENKINS-18381] Provide a mechanism to differentiate between node
...
properties that are applicable to the master node only and node properties
that can be applied to all nodes
2013-06-18 10:54:12 +01:00
Jesse Glick
b5d96e27dd
[JENKINS-17030] Noting, fixing/adding @since, adding @Bug.
2013-05-21 14:07:10 -04:00
Oliver Gondža
2c240bdc87
[FIXED JENKINS-17030] Enable word breaking for job names
2013-05-01 18:32:13 +02:00
ssogabe
55a68acca9
[FIXED JENKINS-17715] Display Name is not shown
2013-04-30 20:49:58 +09:00
Kohsuke Kawaguchi
b2cd4120ec
Breadcrumb is reworked to show descendants to provide additional navigational shortcuts.
...
Object that implements ModelObjectWithChildren can expose its children in the breadcrumb.
2013-04-16 17:51:15 -07:00
Jesse Glick
299af75293
Touch-ups related to PR #757 .
2013-04-12 14:09:12 -04:00
Vincent Latombe
f6cc507217
Functions#getRelativeLinkTo now normalize the output url.
...
Added some unit tests
2013-04-10 11:27:10 +02:00
Vincent Latombe
6804299ae5
Fix following jglick review on PR
...
https://github.com/jenkinsci/jenkins/pull/757 .
2013-04-09 11:05:58 +02:00
Vincent Latombe
a210e48964
ListView can match now items belonging to nested ItemGroups
...
This changes introduces a 'recurse' option on ListView that allows to
match using regexp jobs contained inside folders.
The full name of the
job is matched so / can be used as separator.
This allows slice and dice of jobs contained in different folders.
2013-04-08 12:31:20 +02:00
Jesse Glick
ebd8ff1f0d
[FIXED JENKINS-17087] getSortedDescriptorsForGlobalConfigUnclassified needed to avoid clobbering GlobalCrumbIssuerConfiguration in Jenkins.doConfigSubmit.
2013-03-05 17:55:28 -05:00
Kohsuke Kawaguchi
9447289c87
[FIXED JENKINS-16368]
...
HyperlinkNote shouldn't emit the absolute URL.
2013-02-28 17:33:36 -08:00
Fred G
f19f772322
[FIXED JENKINS-16630] Human readable file size method returns ",00" for
...
files with byte length 0
2013-02-05 01:26:50 +01:00
Jesse Glick
f9da4a867e
Found a log file full of IAEs from ModelObjectWithContextMenu.MenuItem due to an (unknown) action with an illegal absolute URI.
2013-02-04 18:11:12 -05:00
Kohsuke Kawaguchi
5218b7618e
Introducing GlobalConfigurationCategory.
...
... instead of creating a copy of each GlobalConfiguration variant (like GlobalSecurityConfigurationPart) for the following reasons:
- This allows future UI to render tabs and other means to divide configurations into even smaller granularity, which is something that has been discussed before.
- Eliminates code duplication between GlobalConfiguration look-alikes.
2012-12-08 17:30:48 -08:00
imod
4ab6fe7cb4
add new EP GlobalSecurityConfigurationPart to enable contributions to the global security configuration page
2012-12-05 18:59:12 +01:00
Kohsuke Kawaguchi
18561d5f24
Revert "1.486 special for a week."
...
This reverts commit c8e5cb93ec
.
2012-10-25 03:02:23 +09:00
Kohsuke Kawaguchi
c8e5cb93ec
1.486 special for a week.
2012-10-12 18:31:14 -07:00
Kohsuke Kawaguchi
8891c86af6
share code between <l:ajax>
2012-09-12 14:04:19 -07:00
Kohsuke Kawaguchi
e094b90e4c
Prevent 404 in .../contextMenu link when there's no context menu
2012-07-23 14:10:16 -07:00
lvotypko
ef442a835d
Human readable size of files
2012-05-31 12:40:58 +02:00
Kohsuke Kawaguchi
8129412155
follow up fix to c51114a197
.
...
This still is slightly more robust than the original in the sense that it's not affected by the presence/absence of the trailing '/' in itUrl.
----------------------
Comment from @ohtake:
getContextPath() will return "" if Jenkins is served at ROOT.
Assume that getContextPath() => "", itUrl => "iturl" and urlName => "urlName",
value returned was "/iturl/urlName", but is "iturl/urlName" (no slash at 0).
2012-03-01 18:22:36 -08:00
Kohsuke Kawaguchi
c51114a197
made the path comuptation more robust
2012-02-28 17:21:43 -08:00
Kohsuke Kawaguchi
5276c2f88a
hooking up the whole thing for a demoable state
2012-02-20 22:23:06 +09:00