From: <udi...@us...> - 2023-02-11 13:18:16
|
Revision: 1468 http://sourceforge.net/p/j-trac/code/1468 Author: udittmer Date: 2023-02-11 13:18:09 +0000 (Sat, 11 Feb 2023) Log Message: ----------- dependency updates, documentation updates, small code improvements Modified Paths: -------------- trunk/jtrac/doc/src/index.xml trunk/jtrac/doc/styles/fopdf.xsl trunk/jtrac/doc/styles/html.xsl trunk/jtrac/doc/styles/html_chunk.xsl trunk/jtrac/pom.xml trunk/jtrac/src/main/java/info/jtrac/domain/StoredSearch.java trunk/jtrac/src/main/java/info/jtrac/wicket/ItemFormPage.html trunk/jtrac/src/main/java/info/jtrac/wicket/ItemListPanel.java trunk/jtrac/src/main/java/info/jtrac/wicket/StoredSearchFormPage.java trunk/jtrac/src/main/java/info/jtrac/wiki/ClassicToHTMLFilter.java trunk/jtrac/src/test/java/info/jtrac/domain/RoleTest.java Modified: trunk/jtrac/doc/src/index.xml =================================================================== --- trunk/jtrac/doc/src/index.xml 2023-01-04 14:25:59 UTC (rev 1467) +++ trunk/jtrac/doc/src/index.xml 2023-02-11 13:18:09 UTC (rev 1468) @@ -5,7 +5,7 @@ <bookinfo> <title>JTrac</title> <subtitle>User / Developer Guide</subtitle> - <releaseinfo>2.3</releaseinfo> + <releaseinfo>2.3.0</releaseinfo> <authorgroup> <author> <firstname>Peter</firstname> @@ -169,16 +169,18 @@ </sect1> <sect1 id="introduction-releasenotes-2_3"> - <title>Release Notes: Version 2.3</title> + <title>Release Notes: Version 2.3.0</title> <para> - There is a new database attribute in the User table in 2.3 (named prettyDates). + There are a couple of new database attributes in the User table in 2.3.0. Instructions on how to upgrade are available in the "<link linkend="upgrading">upgrading</link>" section of this document. </para> <para> - There where a number of new features, changes and bugfixes: + The release contains a number of new features, changes and bugfixes: <itemizedlist> <listitem> - <para>The main new feature is an integrated wiki.</para> + <para>The main new feature is an integrated wiki. Documentation for that can be found + <ulink url="https://sourceforge.net/p/j-trac/wiki/WikiDocumentation/">on this SourceForge page</ulink> + </para> </listitem> <listitem> <para>Pretty dates are now a user option instead of a system-wide option.</para> @@ -187,8 +189,13 @@ <para><ulink url="https://sourceforge.net/p/j-trac/feature-requests/179/">New option not to allow comments on closed tickets.</ulink></para> </listitem> <listitem> - <para>A few bugs were fixed, and a number of dependencies updated.</para> + <para><ulink url="https://sourceforge.net/p/j-trac/feature-requests/186/">New option to add and show additional information about a user</ulink> + in the "assign to" and "notify by email" menus. This is most useful when there are many users in an organization. + </para> </listitem> + <listitem> + <para>Various bugs were fixed, and a number of dependencies updated.</para> + </listitem> </itemizedlist> </para> <para> Modified: trunk/jtrac/doc/styles/fopdf.xsl =================================================================== --- trunk/jtrac/doc/styles/fopdf.xsl 2023-01-04 14:25:59 UTC (rev 1467) +++ trunk/jtrac/doc/styles/fopdf.xsl 2023-02-11 13:18:09 UTC (rev 1468) @@ -1,7 +1,6 @@ <?xml version="1.0"?> <!-- - This is the XSL FO (PDF) stylesheet for the JTrac reference documentation. It is adapted from the one used by the Spring Framework team. We thank and credit the Spring Framework development and documentation team. @@ -9,13 +8,11 @@ http://springframework.cvs.sourceforge.net/springframework/spring/docs/reference/styles/ The Spring team in turn credits Christian Bauer of the Hibernate project - team for writing the original stylesheet upon which this one - is based. - + team for writing the original stylesheet upon which this one is based. --> <!DOCTYPE xsl:stylesheet [ - <!ENTITY db_xsl_path "http://docbook.sourceforge.net/release/xsl/current/"> + <!ENTITY db_xsl_path "https://docbook.sourceforge.net/release/xsl/current/"> <!ENTITY admon_gfx_path "../images/admons/"> <!ENTITY copyright "©"> ]> Modified: trunk/jtrac/doc/styles/html.xsl =================================================================== --- trunk/jtrac/doc/styles/html.xsl 2023-01-04 14:25:59 UTC (rev 1467) +++ trunk/jtrac/doc/styles/html.xsl 2023-02-11 13:18:09 UTC (rev 1468) @@ -1,7 +1,5 @@ <?xml version="1.0"?> - <!-- - This is the XSL HTML configuration file for the JTrac documentation. It is adapted from the one used by the Spring Framework team. We thank and credit the Spring Framework development and documentation team. @@ -9,12 +7,11 @@ http://springframework.cvs.sourceforge.net/springframework/spring/docs/reference/styles/ The Spring team in turn credits Christian Bauer of the Hibernate project - team for writing the original stylesheet upon which this one - is based. - + team for writing the original stylesheet upon which this one is based. --> + <!DOCTYPE xsl:stylesheet [ - <!ENTITY db_xsl_path "http://docbook.sourceforge.net/release/xsl/current/"> + <!ENTITY db_xsl_path "https://docbook.sourceforge.net/release/xsl/current/"> <!ENTITY callout_gfx_path "../images/callouts/"> <!ENTITY admon_gfx_path "../images/admons/"> ]> Modified: trunk/jtrac/doc/styles/html_chunk.xsl =================================================================== --- trunk/jtrac/doc/styles/html_chunk.xsl 2023-01-04 14:25:59 UTC (rev 1467) +++ trunk/jtrac/doc/styles/html_chunk.xsl 2023-02-11 13:18:09 UTC (rev 1468) @@ -1,21 +1,17 @@ <?xml version="1.0" ?> - <!-- - This is the XSL HTML configuration file for the Spring documentation. It is adapted from the one used by the Spring Framework team. We thank and credit the Spring Framework development and documentation team. - + http://springframework.cvs.sourceforge.net/springframework/spring/docs/reference/styles/ - + The Spring team in turn credits Christian Bauer of the Hibernate project - team for writing the original stylesheet upon which this one - is based. - + team for writing the original stylesheet upon which this one is based. --> <!DOCTYPE xsl:stylesheet [ - <!ENTITY db_xsl_path "http://docbook.sourceforge.net/release/xsl/current/"> + <!ENTITY db_xsl_path "https://docbook.sourceforge.net/release/xsl/current/"> <!ENTITY callout_gfx_path "../images/callouts/"> <!ENTITY admon_gfx_path "../images/admons/"> ]> Modified: trunk/jtrac/pom.xml =================================================================== --- trunk/jtrac/pom.xml 2023-01-04 14:25:59 UTC (rev 1467) +++ trunk/jtrac/pom.xml 2023-02-11 13:18:09 UTC (rev 1468) @@ -67,7 +67,7 @@ <dependency> <groupId>net.sourceforge.htmlunit</groupId> <artifactId>htmlunit</artifactId> - <version>2.68.0</version> + <version>2.70.0</version> <scope>test</scope> </dependency> <dependency> @@ -142,7 +142,7 @@ <dependency> <groupId>org.jfree</groupId> <artifactId>jfreechart</artifactId> - <version>1.5.3</version> + <version>1.5.4</version> </dependency> <dependency> <groupId>org.hibernate</groupId> @@ -505,22 +505,9 @@ </executions> </plugin> <plugin> - <groupId>org.eclipse.jetty</groupId> - <artifactId>maven-jetty-plugin</artifactId> - <version>9.4.49.v20220914</version> - <configuration> - <systemProperties> - <systemProperty> - <name>jtrac.home</name> - <value>home</value> - </systemProperty> - </systemProperties> - </configuration> - </plugin> - <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> - <version>3.0.0-M7</version> + <version>3.0.0-M8</version> <configuration> <excludes> <exclude>info/jtrac/test/**</exclude> Modified: trunk/jtrac/src/main/java/info/jtrac/domain/StoredSearch.java =================================================================== --- trunk/jtrac/src/main/java/info/jtrac/domain/StoredSearch.java 2023-01-04 14:25:59 UTC (rev 1467) +++ trunk/jtrac/src/main/java/info/jtrac/domain/StoredSearch.java 2023-02-11 13:18:09 UTC (rev 1468) @@ -47,8 +47,8 @@ } public Long getId() { - if(id == null){ - return new Long(0); + if (id == null) { + return Long.valueOf(0); } return id; } Modified: trunk/jtrac/src/main/java/info/jtrac/wicket/ItemFormPage.html =================================================================== --- trunk/jtrac/src/main/java/info/jtrac/wicket/ItemFormPage.html 2023-01-04 14:25:59 UTC (rev 1467) +++ trunk/jtrac/src/main/java/info/jtrac/wicket/ItemFormPage.html 2023-02-11 13:18:09 UTC (rev 1468) @@ -13,7 +13,7 @@ <font color="red">*</font> </td> <td> - <input wicket:id="summary" style="width: 60em" maxlength="255"/> + <input wicket:id="summary" style="width: 90%" maxlength="255"/> <input type="submit" wicket:id="delete" wicket:message="value:delete"/> </td> </tr> Modified: trunk/jtrac/src/main/java/info/jtrac/wicket/ItemListPanel.java =================================================================== --- trunk/jtrac/src/main/java/info/jtrac/wicket/ItemListPanel.java 2023-01-04 14:25:59 UTC (rev 1467) +++ trunk/jtrac/src/main/java/info/jtrac/wicket/ItemListPanel.java 2023-02-11 13:18:09 UTC (rev 1468) @@ -126,7 +126,7 @@ List<Integer> pageNumbers = new ArrayList<Integer>(pageCount); for(int i = 0; i < pageCount; i++) { - pageNumbers.add(new Integer(i)); + pageNumbers.add(Integer.valueOf(i)); } ListView pages = new ListView("pages", pageNumbers) { Modified: trunk/jtrac/src/main/java/info/jtrac/wicket/StoredSearchFormPage.java =================================================================== --- trunk/jtrac/src/main/java/info/jtrac/wicket/StoredSearchFormPage.java 2023-01-04 14:25:59 UTC (rev 1467) +++ trunk/jtrac/src/main/java/info/jtrac/wicket/StoredSearchFormPage.java 2023-02-11 13:18:09 UTC (rev 1468) @@ -63,7 +63,7 @@ } public StoredSearchForm (String pageId) { - this(pageId, new String(), new String(), false, new Long(-1)); + this(pageId, new String(), new String(), false, Long.valueOf(-1)); } public StoredSearchForm (String pageId, final String name, final String query, final boolean newWindow, final Long idSearchLink) { @@ -130,7 +130,7 @@ @Override protected void onSubmit() { Long idLink = null; - if(!this.idSearchLink.equals(new Long(-1))){ + if(!this.idSearchLink.equals(Long.valueOf(-1))){ idLink = this.idSearchLink; } Modified: trunk/jtrac/src/main/java/info/jtrac/wiki/ClassicToHTMLFilter.java =================================================================== --- trunk/jtrac/src/main/java/info/jtrac/wiki/ClassicToHTMLFilter.java 2023-01-04 14:25:59 UTC (rev 1467) +++ trunk/jtrac/src/main/java/info/jtrac/wiki/ClassicToHTMLFilter.java 2023-02-11 13:18:09 UTC (rev 1468) @@ -17,6 +17,8 @@ import org.commonmark.ext.gfm.strikethrough.StrikethroughExtension; import org.commonmark.ext.gfm.tables.TablesExtension; import org.commonmark.ext.ins.InsExtension; +//import com.novocode.ornate.commonmark.SubscriptExtension; +//import com.novocode.ornate.commonmark.SuperscriptExtension; public class ClassicToHTMLFilter { @@ -39,6 +41,9 @@ extensions.add(StrikethroughExtension.create()); extensions.add(InsExtension.create()); extensions.add(TablesExtension.create()); +// extensions.add(SubscriptExtension.create()); +// extensions.add(SuperscriptExtension.create()); + parser = Parser.builder() .extensions(extensions) .build(); Modified: trunk/jtrac/src/test/java/info/jtrac/domain/RoleTest.java =================================================================== --- trunk/jtrac/src/test/java/info/jtrac/domain/RoleTest.java 2023-01-04 14:25:59 UTC (rev 1467) +++ trunk/jtrac/src/test/java/info/jtrac/domain/RoleTest.java 2023-02-11 13:18:09 UTC (rev 1468) @@ -30,8 +30,8 @@ Assert.assertTrue(s1.getTransitions().contains(2)); Assert.assertTrue(s1.getTransitions().contains(3)); Assert.assertEquals(2 , s1.getFields().size()); - Assert.assertEquals(new Integer(1), s1.getFields().get(Field.Name.CUS_INT_01)); - Assert.assertEquals(new Integer(2), s1.getFields().get(Field.Name.CUS_INT_02)); + Assert.assertEquals(Integer.valueOf(1), s1.getFields().get(Field.Name.CUS_INT_01)); + Assert.assertEquals(Integer.valueOf(2), s1.getFields().get(Field.Name.CUS_INT_02)); } @Test This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |