Commit Graph

231 Commits

Author SHA1 Message Date
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
Kohsuke Kawaguchi 30bb3fde5b adding the server side code to generate context menu 2012-02-20 18:54:53 +09:00
Kohsuke Kawaguchi dd0f362ef8 Follow-up fix to 968c19dfc9
removing static is a binary incompatible change.
2012-02-08 08:45:34 -08:00
Seiji Sogabe 968c19dfc9 should be static. 2012-02-07 00:18:31 +09:00
James Page 09d06a91df Use up-to-date animal-sniffer-annnotations 2012-01-06 13:59:12 +00:00
OHTAKE Tomohiro 47f70c0f59 [FIXED JENKINS-7725] mailto: links should be absolute URIs 2011-10-21 08:47:20 +09:00
OHTAKE Tomohiro cc1f75cdba [FIXED JENKINS-11151] HTTPS default port is 443 2011-09-28 17:27:24 +09:00
Erik Ramfelt 1147884f66 [JENKINS-7494] Adding UserAvatarResolver to make it possible for plugins to add avatar images to user pages 2011-09-27 09:26:10 +09:00
Stephen Connolly 5777744013 Support filtering of descriptors from the global configuration page 2011-07-29 15:42:05 +01:00
Kohsuke Kawaguchi e78e3485fb split off the cloud configuration into GlobalConfiguration 2011-07-26 21:16:33 -07:00
rseguy 3533442f1f Added a new WipeOut permission (enabled through the hudson.security.WipeOutPermission system property) to control the "Wipe Out Workspace" action 2011-06-20 18:18:17 +02:00
rseguy 352b06e588 Added a new hudson.footerURL system property to tweak the link displayed at the bottom of the UI 2011-06-20 15:49:05 +02:00
Jesse Farinacci 7689840966 [FIXED JENKINS-9915] Make captcha support optional; remove LGPL jcaptcha
This change is largely based on changes made by Winston Prakash for Hudson.
The main details about his changes can be found here:

http://issues.hudson-ci.org/browse/HUDSON-8844

I deviated a bit from his changes where it was appropriate (e.g. the
description for allow-signup.html was just plain wrong). Also, there
was a lot of collateral damage from formatting in his changeset, which
I have factored out.

I tested the basic functionality of this change and it seems to be OK.
2011-06-08 22:58:20 -04:00
Nigel Magnay 5679d019ec Move hudson.model.Jenkins to be jenkins.model.Jenkins - part II
Just import changes, from hudson.model.Jenkins -> jenkins.model.Jenkins,
and Javadoc comments.

Signed-off-by: Nigel Magnay <nigel.magnay@gmail.com>
2011-05-29 11:06:28 +01:00
Nigel Magnay 70c1065814 Stage 1 : Create hudson.model.Jenkins, make Hudson derive from Jenkins.
Signed-off-by: Nigel Magnay <nigel.magnay@gmail.com>
2011-05-29 11:00:58 +01:00