Skip to content

Commit 4473d67

Browse files
Merge 26.4 to develop
2 parents e7b83e8 + 6ac2f94 commit 4473d67

13 files changed

Lines changed: 30 additions & 45 deletions

File tree

api/src/org/labkey/api/module/DefaultModule.java

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,6 @@ public abstract class DefaultModule implements Module, ApplicationContextAware
137137
private String _vcsRevision = null;
138138
private String _vcsUrl = null;
139139
private String _vcsBranch = "Unknown";
140-
private String _vcsTag = "Unknown";
141140
private String _buildUser = null;
142141
private String _buildTime = null;
143142
private String _buildOS = null;
@@ -818,17 +817,10 @@ public void setVcsBranch(String vcsBranch)
818817
_vcsBranch = vcsBranch;
819818
}
820819

821-
@Nullable
822-
@Override
823-
public String getVcsTag()
824-
{
825-
return _vcsTag;
826-
}
827-
828820
@SuppressWarnings({"UnusedDeclaration"})
829821
public void setVcsTag(String vcsTag)
830822
{
831-
_vcsTag = vcsTag;
823+
// Ignored - present in module.xml but not used
832824
}
833825

834826
public final String getBuildUser()
@@ -974,7 +966,6 @@ public final Map<String, String> getProperties()
974966
props.put("VCS URL", getVcsUrl());
975967
props.put("VCS Revision", getVcsRevision());
976968
props.put("VCS Branch", getVcsBranch());
977-
props.put("VCS Tag", getVcsTag());
978969
props.put("Build OS", getBuildOS());
979970

980971
props.put("Build Time", getBuildTime());
@@ -1605,7 +1596,6 @@ public void copyPropertiesFrom(DefaultModule from)
16051596
this.setUrl(from.getUrl());
16061597
this.setVcsBranch(from.getVcsBranch());
16071598
this.setVcsRevision(from.getVcsRevision());
1608-
this.setVcsTag(from.getVcsTag());
16091599
this.setVcsUrl(from.getVcsUrl());
16101600
this.setZippedPath(from.getZippedPath());
16111601
}

api/src/org/labkey/api/module/MockModule.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -331,12 +331,6 @@ public String getVcsBranch()
331331
return null;
332332
}
333333

334-
@Override
335-
public String getVcsTag()
336-
{
337-
return null;
338-
}
339-
340334
@Override
341335
public boolean shouldManageVersion()
342336
{

api/src/org/labkey/api/module/Module.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,6 @@ default void startBackgroundThreads()
311311
String getVcsRevision();
312312
String getVcsUrl();
313313
String getVcsBranch();
314-
String getVcsTag();
315314
String getBuildNumber();
316315

317316
default String getBuildTime()

api/src/org/labkey/api/util/UsageReportingLevel.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -327,9 +327,11 @@ public static void putModulesBuildInfo(Map<String, Map<String, Object>> allModul
327327
moduleBuildInfo.put("vcsUrl", module.getVcsUrl());
328328
moduleBuildInfo.put("vcsBranch", module.getVcsBranch());
329329
moduleBuildInfo.put("vcsRevision", module.getVcsRevision());
330-
moduleBuildInfo.put("vcsTag", module.getVcsTag());
330+
// We stopped capturing the Git tag in module metadata. The release version property serves
331+
// the same purpose. Continue reporting as vcsTag for backwards compatibility with mothership reporting.
332+
moduleBuildInfo.put("vcsTag", module.getReleaseVersion());
331333
moduleBuildInfo.put("moduleClass", module.getClass().getName());
332-
moduleBuildInfo.put("version", module.getFormattedSchemaVersion()); // TODO: call this "schemaVersion"? Also send "releaseVersion"?
334+
moduleBuildInfo.put("version", module.getFormattedSchemaVersion()); // TODO: call this "schemaVersion"?
333335

334336
// Add to the module's info to be included in the submission
335337
moduleStats.put("buildInfo", moduleBuildInfo);

assay/package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assay/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"clean": "rimraf resources/web/assay/gen && rimraf resources/views/gen && rimraf resources/web/gen"
1313
},
1414
"dependencies": {
15-
"@labkey/components": "7.26.4"
15+
"@labkey/components": "7.26.6"
1616
},
1717
"devDependencies": {
1818
"@labkey/build": "9.1.0",

core/package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
}
5454
},
5555
"dependencies": {
56-
"@labkey/components": "7.26.4",
56+
"@labkey/components": "7.26.6",
5757
"@labkey/themes": "1.8.0"
5858
},
5959
"devDependencies": {

core/src/org/labkey/core/view/template/bootstrap/navigation.jsp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@
114114
if (show && null != tab.getText() && !tab.getText().isEmpty())
115115
{
116116
%>
117-
<li role="presentation" class="<%= unsafe(tab.isSelected() ? "active" : "") %>">
118-
<a href="<%=h(tab.getHref())%>" id="<%=h(tab.getText().replace(" ", ""))%>Tab">
117+
<li class="<%= unsafe(tab.isSelected() ? "active" : "") %>">
118+
<a href="<%=h(tab.getHref())%>" id="<%=h(tab.getText().replace(" ", ""))%>Tab"<%= unsafe(tab.isSelected() ? " aria-current=\"page\"" : "") %>>
119119
<% if (tab.isDisabled()) { %>
120120
<i class="fa fa-eye-slash"></i>
121121
<% } %>
@@ -141,7 +141,7 @@
141141
{
142142
HtmlString plus = HtmlString.unsafe("<i class=\"fa fa-plus\" style=\"font-size: 12px;\"></i>");
143143
%>
144-
<li role="presentation">
144+
<li>
145145
<%=simpleLink(plus).id("addTab").title("Add New Tab").onClick("LABKEY.Portal.addTab();")%>
146146
</li>
147147
<%
@@ -160,7 +160,7 @@
160160
if (tab.isSelected())
161161
{
162162
%>
163-
<li role="presentation" class="dropdown active">
163+
<li class="dropdown active">
164164
<a data-target="#" class="dropdown-toggle" data-toggle="dropdown">
165165
<%=h(tab.getText())%>&nbsp;
166166
<span class="fa fa-chevron-down" style="font-size: 12px;"></span>
@@ -181,7 +181,7 @@
181181
{
182182
%>
183183
<li>
184-
<a href="<%=h(tab.getHref())%>">
184+
<a href="<%=h(tab.getHref())%>"<%= unsafe(tab.isSelected() ? " aria-current=\"page\"" : "") %>>
185185
<% if (tab.isSelected())
186186
{
187187
%><b><%=h(tab.getText())%></b><%

experiment/package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)